LWN.net Logo

Prefetching considered harmful

Prefetching considered harmful

Posted Sep 10, 2010 21:04 UTC (Fri) by rilder (subscriber, #59804)
Parent article: Prefetching considered harmful

Not sure what counts as modern CPU here. Either this should be a kernel config or it should have runtime detection of h/w prefetching. Otherwise perf may actually suffer.


(Log in to post comments)

Prefetching considered harmful

Posted Sep 18, 2010 6:45 UTC (Sat) by efexis (guest, #26355) [Link]

I don't know whether it matters much, I think the "modern cpu's" definition would be cpu's that are so fast that memory's not even pretending to keep up and so cache sizes are shooting up to try compensate. This is more of a problem now because the disparity between cpu and memory speeds is higher than ever before so you have more speed available to waste on cache stalls, so with less modern cpu's it's not so much of a problem to begin with.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds