On Mon, Mar 27, 2006 at 03:42:52PM -0800, David Lang wrote:
> well, I reduced the count to 19 instances, and upped the ram on each one 
> to 400M (they were hitting oom with only 256m each)

The UMLs were OOMing, not the host?  And if you run one, it doesn't
OOM?

Make sure you have enough space in the tmpfs that they are using for
their memory files.

> top - 16:42:18 up 4 days, 23:11, 25 users,  load average: 16.79, 16.65, 
> 16.23
> Tasks: 44193 total,  14 running, 139 sleeping, 44040 stopped,   0 zombie
>  Cpu0 :  2.3% us, 97.7% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
>  Cpu1 :  3.2% us, 96.7% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.1% si

Can you oprofile the system to see what's happening in that 97% system
time?

I did some oprofiling on x86_64 and a lot of time is spent in the
scheduler - much more so than on i386.  This looks like you've managed
to confuse some part of the host into thrashing.

> Mem:   8186088k total,  8145620k used,    40468k free,    11436k buffers
> Swap:  2048276k total,        0k used,  2048276k free,  4959636k cached
> 
> 
> so far it looks to me like ram is Ok, but the high system percentage looks 
> strange to me. the system closest to finishing it's boot has used a little 
> over 10 min of cpu time (>5x the normal wall clock time for the boot) so 
> I am running into contention at some point here.
> 
> I upped the pid_max value to 128000 to give me some headroom there (each 
> of the first 18 uml instances will end up running ~3600 processes when 
> they finish booting)

You mean they each have 3600 processes running in them after they've
booted?  Or they've run 3600 processes in the course of booting (and a
smaller number will be running after they have booted)?

The first is crazy, the second less so - my FC5 filesystem runs ~2000
processes during boot.

FWIW, I've booted ~50 UMLs simultaneously on my laptop without any
problem.

                                Jeff


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to