[PATCH v2 4/6] x86: Add clear_page_nocache

Andi Kleen ak at linux.intel.com
Tue Aug 14 02:27:53 EST 2012


> Moving 64 bytes per cycle is faster on Sandy Bridge, but slower on
> Westmere. Any preference? ;)

You have to be careful with these benchmarks.

- You need to make sure the data is cache cold, cache hot is misleading.
- The numbers can change if you have multiple CPUs doing this in parallel.

-Andi


More information about the Linuxppc-dev mailing list