2007/5/29, Antonino Ingargiola <[email protected]>:
[cut]
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
The second case is clearly with swap prefetch *ON*, sorry.
~ Antonio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]