2005-01-25, k keltezéssel 20:39-kor Christian Wicke ezt írta:
> > More or less... you don't describe your environment, from the host config I
> > guess it's SKAS however... Do you set TMPDIR to a tmpfs or ramfs mount
> > point? Without those tricks, any test is pointless.
> I use SKAS. But I don't set TMPDIR. Do they speed ip UML? I probably need
> extra host memory for it, right?
You don't need extra memory to use tmpfs.
Yes, it speeds up. I have load 4-5-10 (P4, 2.8, 2G RAM, scsi raid5,
kernel 2.4, skas patch) without it. With tmpfs I've load 0.6-1-2. (in
> > You should check for the guest too, but I have no reason to think the guest
> > is swapping.
> No the guest doesn't have any swap at all.
I have this problems too. The uml's waiting to IO (i think) some times,
there is 80%idle, and load 4. And the uml-s eating the memory. I think
it is because the double caching. Check this:
That is the host system: (running 11 uml-s i'll show the biggest)
Mem: 2070148k total, 2020104k used, 50044k free, 9748k buffers
Swap: 2321384k total, 2009148k used, 312236k free, 1888940k cached
In the apache uml: (apache, ssh)
Mem: 474236k total, 464556k used, 9680k free, 9924k buffers
Swap: 1048568k total, 0k used, 1048568k free, 212784k cached
the postfix uml: (postfix + mysql, ssh)
Mem: 474236k total, 469476k used, 4760k free, 11384k buffers
Swap: 524280k total, 708k used, 523572k free, 274500k cached
the mysql uml: (mysql, ssh)
Mem: 474236k total, 471120k used, 3116k free, 5516k buffers
Swap: 524280k total, 888k used, 523392k free, 386556k cached
external uml1: (apache, mysql, postfix, ssh)
Mem: 474236k total, 471404k used, 2832k free, 34336k buffers
Swap: 524280k total, 25548k used, 498732k free, 312008k cached