Re: [2.4.17/18pre] VM and swap - it's really unusable

rwhron@earthlink.net
Thu, 10 Jan 2002 00:31:48 -0500


I'm a fan of the fans of low latency. :)
A version of Andrew Morton's patch is in 2.4.18pre2aa2.

A test on 2.4.18pre2aa2 that lasted 57 minutes:

Simultaneously:

Loop that allocates and writes to 85% of VM with mtest01.
Create and copy 10 330 MB files.
Start nice -19 setiathome half way through.
Listen to 9 mp3s.

This is similar to something I did on 2.4.17rc2aa2, but
I added mp3blaster and setiathome this time.

Results:
Allocated 125.5 GB of VM.
All mtest01 allocations passed. (no OOM)
6.6 GB of file copying took place.
For the first 10-15 seconds of each mp3, there was some skipping
from mp3blaster. After 15 seconds, the mp3 played smoothly.
Adding setiathome to the load did not make mp3blaster skip more.

There is 880MB of RAM in machine and 1027 MB swap, so I
calculate each mtest01 iteration wrote about 680MB to swap.

6600 MB copy + (680 * 84) MB swapping = 63,720MB disk activity.
Divide by 57 minutes = 18.6 MB / second to the disk.

Comments:
and running an 80% VM allocation loop. There was a lot of
improvement during that time. Adding I/O and CPU bound jobs
to the load makes the results above quite amazing to me.

There's a lot of magic in 2.4.18pre2aa2 that hasn't made it
into the other mainline kernels yet.

BTW: Some more changelog details on 2.4.18pre2aa2 are at
http://home.earthlink.net/~rwhron/kernel/2.4.18pre2aa2.html

System is Athlon 1333 with 1 40GB 7200 rpm IDE disk.

-- 
Randy Hron

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/