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

List:       user-mode-linux-user
Subject:    Re: [uml-user] UML fails when logging in due to /dev/shm?
From:       Jeff Dike <jdike () addtoit ! com>
Date:       2007-09-24 20:06:35
Message-ID: 20070924200635.GC25202 () c2 ! user-mode-linux ! org
[Download RAW message or body]

On Wed, Sep 19, 2007 at 10:46:16AM +0200, Benedict Verheyen wrote:
> I just found that i could a line to /etc/fstab to increase the size:
> 
> tmpfs       /dev/shm    tmpfs   defaults,size=550M  0   0
> 
> Isn't it better to just increase the initial memory for the UML's on 
> startup or do i need to monitor /dev/shm anyway?

Probably the best thing is to have /dev/shm be big enough to hold the
physical memories of all the UMLs on the system.

If you're being dynamic enough to make that difficult, there are a
couple of other approaches:
	remount /dev/shm to resize it whenever you start a new UML
	create a private tmpfs mount for each new UML and point TMPDIR
at it

				Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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