On 29/07/16 16:53, Neeraj Sharma wrote:
Is there a hard setting somewhere regarding the system RAM? I assumed
that rumprun would automatically detect the RAM configuration from
qemu correctly but I notice that the amount of RAM reported is
considerably less than the one configured in qemu command-line
options.
Notice below that 256 MB is configured in qemu, while just 123 MB is
reported in console log. Is there something which I am missing here?
It's not an inconsistency so much as a slightly misleading print.
That's the amount of memory available to the rump kernel. It gets half
of the guest memory. The application (plus bmk) gets the other half.
Last year during spargelzeit while sitting outside Schloss Grunwald I
scribbled a design into my notebook for the memory division to be
dynamic. However, I never had a use case for fully implementing that
scheme, and apparently nobody else was inclined to improved that area
either, so here we are now.