Re: [PATCH] MM fix & improvement

David Weinehall (tao@acc.umu.se)
Sun, 10 Jan 1999 15:45:38 +0100 (MET)


On 9 Jan 1999, Zlatko Calusic wrote:

> OK, here it goes. Patch is unbelievably small, and improvement is
> BIG.

[Snip]

> pre6 + MM cleanup (needed for swap cache hit rate)
>
> hogmem 100 3 - 10.75 MB/sec
> 2 x hogmem 50 3 - 2.01 + 1.97 MB/sec (disk thrashing)
> swap cache - add 194431 find 13315/194300 (6.9% hit rate)
>
> pre6 + MM cleanup + patch below
>
> hogmem 100 3 - 13.27 MB/sec
> 2 x hogmem 50 3 - 6.15 + 5.77 MB/sec (perfect)
> swap cache - add 175887 find 76003/237711 (32% hit rate)
>
> Notice how swap cache done it's job much better with changes applied!!!

Looks REALLY nice...

> Both tests were run in single user mode, after reboot, on 64MB
> machine. Don't be disappointed if you get smaller numbers, I have two
> swap partitions on different disks and transports (IDE + SCSI). :)

Have you tried your patch on a low-memory machine and/or a low-capacity
processor, ie a 386 with say 4 MB's of memory?!

/David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </

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