Re: VM tests on 2.4.15-pre6 and 2.4.15pre6aa1

rwhron@earthlink.net
Sun, 18 Nov 2001 22:29:22 -0500


On Mon, Nov 19, 2001 at 01:23:12AM +0100, Andrea Arcangeli wrote:
>
> echo 9 >/proc/sys/vm/vm_mapped_ratio
>
> and also after backing out those two patches in order:
>
> ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.15pre6aa1/10_vm-14-no-anonlru-1-simple-cache-1
> ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.15pre6aa1/10_vm-14-no-anonlru-1
>
> and again using "echo 9 >/proc/sys/vm/vm_mapped_ratio" after backing out
> the two patches.
>
> thanks for the feedback,

Andrea,

Changing vm_mapped_ratio from 50 to 9 improved the time on the mmap001
test by 11%.

Backing out the 2 patches and changing vm_mapped_ratio to 9 improved the
time on the memfill tests by 28% and improved mp3 playtime as well. :)

2.4.15-pre6-vm_scan_rate=9
--------------------------

played 360 seconds of mp3 in 453 second test (79%)

Averages for 10 mtest01 runs
bytes allocated: 1665138688
User time (seconds): 7.605
System time (seconds): 3.139
Elapsed (wall clock) time: 45.214
Percent of CPU this job got: 23.30
Major (requiring I/O) page faults: 144.6
Minor (reclaiming a frame) faults: 407313.4

played 808 seconds of mp3 in 813 second test (99%)

Average for 5 mmap001 runs
bytes allocated: 2048000000
User time (seconds): 3.530
System time (seconds): 23.138
Elapsed (wall clock seconds) time: 162.60
Percent of CPU this job got: 15.80
Major (requiring I/O) page faults: 500191.8
Minor (reclaiming a frame) faults: 30.2

2.4.15-pre6-vm_scan_rate=9
without: 10_vm-14-no-anonlru-1-simple-cache-1 10_vm-14-no-anonlru-1
--------------------------

played 318 seconds of mp3 in 356 second test (89%)

Averages for 10 mtest01 runs
bytes allocated: 1668179558
User time (seconds): 7.672
System time (seconds): 3.322
Elapsed (wall clock) time: 35.637
Percent of CPU this job got: 30.50
Major (requiring I/O) page faults: 154.4
Minor (reclaiming a frame) faults: 408058.2

played 796 seconds of mp3 in 806 second test (99%)

Average for 5 mmap001 runs
bytes allocated: 2048000000
User time (seconds): 3.402
System time (seconds): 23.298
Elapsed (wall clock seconds) time: 161.46
Percent of CPU this job got: 15.80
Major (requiring I/O) page faults: 500190.4
Minor (reclaiming a frame) faults: 31.6

-- 
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/