[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    Re: [uml-user] Problems setting guest instance memory limits
From:       robl <robl () monkeyhelper ! com>
Date:       2008-04-28 17:15:17
Message-ID: 48160625.7020003 () monkeyhelper ! com
[Download RAW message or body]

Jeff Dike wrote:
> On Mon, Apr 28, 2008 at 04:21:41PM +0100, robl wrote:
>> I've recently upgraded my UML setup from a 2.6.8+skas3 host kernel to a 
>> 2.6.18+skas on debian etch. I've also upgraded to using the nagafix 
>> kernel32-2.6.24.3 kernel to run my guest instances in.
>>
>> I uses to be able to specify mem=3072M to the guest instance, but when I 
>> try this now I see :
> 
> When did it work before?

I *think* I was using the linux2.6.16.18-bs2 kernel as my guest kernel 
previously (I've just updated from Debian sarge to etch, so I've had to 
recompile the host kernel to include skas support again).  I performed 
the upgrade last night.


> 
> I fixed a related bug recently - the patch is below.  Note that UML
> isn't completely robust against its memory bumping into its shared
> libraries and stack.  The patch below plus linking UML statically
> should give you close to 3G of memory.

Thanks, I'll give this a go.

> 
>> Anybody have any ideas what might be setting this limit, as I'd expect 
>> to be able to specify up to mem=4096M
> 
> Nope, on 32-bit you only have 3G of address space.

Sorry, you're right I was using mem=3096M previously (although this is 
more than 3G though - I must have been lucky as it never went down).

> 
>       	 	    Jeff
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic