Re: [ck] 2.6.22-rc3-ck1

From: Antonino Ingargiola
Date: Tue May 29 2007 - 15:53:46 EST


Hi,

2007/5/27, Con Kolivas <kernel@xxxxxxxxxxx>:
New test release:

http://ck.kolivas.org/patches/pre-releases/2.6.22-rc3/2.6.22-rc3-ck1/

This is a resync with newer -rc and contains the updated swap prefetch code.

With this patch there is a stunning difference with the no swap
prefetch case on my system. With previous SP the difference was
around 2 seconds, now is more than 7 seconds.

Swap Prefetch OFF
# ./sp_tester
Ram 776388000 Swap 514040000
Total ram to be malloced: 1033408000 bytes
Starting first malloc of 516704000 bytes
Starting 1st read of first malloc
Touching this much ram takes 1642 milliseconds
Starting second malloc of 516704000 bytes
Completed second malloc and free
Sleeping for 60 seconds
Important part - starting reread of first malloc
Completed read of first malloc
Timed portion 9089 milliseconds


Swap Prefetch OFF
# ./sp_tester
Ram 776388000 Swap 514040000
Total ram to be malloced: 1033408000 bytes
Starting first malloc of 516704000 bytes
Starting 1st read of first malloc
Touching this much ram takes 1635 milliseconds
Starting second malloc of 516704000 bytes
Completed second malloc and free
Sleeping for 60 seconds
Important part - starting reread of first malloc
Completed read of first malloc
Timed portion 1783 milliseconds


Regards,

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