Increasing guest memory in Vancouver

Julian Stecklina js at ...14...
Wed Jul 18 22:40:54 CEST 2012


Hello,

Vancouver on NUL has a IMHO non obvious way of managing virtual memory. How does Vancouver on Genode allocate VM memory?

Julian

Markus Partheymueller <mail at ...119...> wrote:

>Hi Norman,
>
>what's life without adventures? ;)
>
>I used run/vancouver as starting script, yes. And I noticed that
>increasing to something around 90 MiB works without problems. Going
>beyond that (e.g., 100MiB) strange things happen like page faults
>where there should not be ones, or for example an INT 3 debug
>instruction which seems to "forget" about the parameter it was passed.
>
>But with my current configuration I am able to proceed, although it
>would be interesting to know what happens with more memory.
>
>I did not run into that other issue you mentioned, not that I remember.
>
>Cheers
>
>Markus
>
>On 18 July 2012 21:02, Norman Feske <norman.feske at ...1...>
>wrote:
>> Hi Markus,
>>
>> great that you are brave enough to dive right into the most
>> adventuresome chambers of Genode. :-)
>>
>> Are you using the run script at 'ports/run/vancouver.run' as starting
>> point? I have just conducted the little experiment of increasing the
>> memory to 64M (in vancouver.cc at line 841). In addition to this
>change,
>> you have to slighly adjust the configuration of the Vancouver process
>in
>> the run script:
>>
>> * Increase the RAM quota of the vancouver process (look for the
>>   '<resource>' node). In my case, 70M are fine,
>> * Adjust the 'end' value of the memory model from 0x2000000 to
>>   0x4000000.
>>
>> Btw, while doing this little experiment, I noticed a problem with a
>> recent commit at genodelabs/master. I hope, this has not caused you
>any
>> trouble so far:
>>
>>   https://github.com/genodelabs/genode/issues/283
>>
>> Cheers
>> Norman
>>
>> --
>> Dr.-Ing. Norman Feske
>> Genode Labs
>>
>> http://www.genode-labs.com · http://genode.org
>>
>> Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
>> Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
>>
>>
>------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>Discussions
>> will include endpoint security, mobile security and the latest in
>malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Genode-main mailing list
>> Genode-main at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/genode-main
>
>------------------------------------------------------------------------------
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and 
>threat landscape has changed and how IT managers can respond.
>Discussions 
>will include endpoint security, mobile security and the latest in
>malware 
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>Genode-main mailing list
>Genode-main at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/genode-main

-- 
Sent from my phone. Please excuse my brevity.




More information about the users mailing list