Related News

The problem with prefetch in linux

Print
Last Updated on Monday, 18 March 2013

A few days ago has been published in LWN (Linux Weekly News) an article explaining how old prefetch micro-optimization can slightly slow down the kernel in modern CPUs as it interferes with the logic of the hardware prefetching and branch prediction mechanisms.

This shows how the growing complexity of current processors and the divergent strategies used for increasing the IPC (Instructions Per Cycle) make it necessary to adapt the code to the real system in which it is going to run. Nobody can guarantee that software optimizations for one CPU have a negative effect on a different one.

To the complete article.

 

"Premature optimization is the root of all evil."

- Donald E. Knuth -

 

Thursday the 17th. Sponsored under FP7-ICT-2009.8.1, Grant Agreement No. 248465. This website is monitored by Google Analytics. IP addresses are anonymized.
Copyright 2012

©