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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user