Re: Out of VM idea

David Woodhouse (Dave@imladris.demon.co.uk)
Tue, 28 Apr 1998 13:52:45 +0200


H.H.vanRiel@phys.uu.nl said:
> Following some observations from Michael Remski (sent to me by
> private e-mail), I've come to the conlusion that we really should do
> something about out-of-VM situations.

I've had my machine descend into the aptly named "lala-thrash-land" well
before it's out of swap. With 64Mb RAM, 64Mb of swap space in slram, and 128Mb
of real swap, I find that the system loses its marbles when the disk swap gets
about half full.

I was running "make -j" on a 2.1.98 kernel at the time, and collected some
data, given below. I also had s screenful of output from "vmstat 1", but I've
lost it. I can do it again if it will help.

Am I simply expecting too much of the poor thing when it's paging 128-odd Mb?
Will I have to wait for real swapping before it gets better?

--------------- /proc/sys/vm/bdflush ----------------
40 500 64 256 15 3000 500 1884 2

--------------- /proc/sys/vm/buffermem ----------------
3 10 30

--------------- /proc/sys/vm/freepages ----------------
256 384 512

--------------- /proc/sys/vm/overcommit_memory ----------------
0

--------------- /proc/sys/vm/pagecache ----------------
10 30 75

--------------- /proc/sys/vm/swapctl ----------------
20 3 1 3 32 4 8192 8192

--------------- /proc/sys/vm/swapout_interval ----------------
25

--------------- /proc/swaps ----------------
Filename Type Size Used Priority
/dev/sda3 partition 130748 71192 -1
/dev/slram partition 65532 65532 10

--------------- /proc/meminfo ----------------
total: used: free: shared: buffers: cached:
Mem: 63750144 55287808 8462336 39931904 4026368 34271232
Swap: 200990720 139997184 60993536
MemTotal: 62256 kB
MemFree: 8264 kB
MemShared: 38996 kB
Buffers: 3932 kB
Cached: 33468 kB
SwapTotal: 196280 kB
SwapFree: 59564 kB

---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://www.imladris.demon.co.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu