TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What programmers need to know about hardware prefetching?

49 pointsby tech_junkieover 13 years ago

3 comments

squeedover 13 years ago
The article really only touches on the absolute basics. It would have left me hurting for more specifics. However, I've read Ulrich Drepper's epic paper on modern memory architectures. (<a href="http://lwn.net/Articles/259710/" rel="nofollow">http://lwn.net/Articles/259710/</a>)<p>You should do yourself a favor and read it.
评论 #2938486 未加载
rcfoxover 13 years ago
Is this different from caches? If so, the advice also applies to properly using the cache. I've read that cache misses are the biggest source of slow-downs on modern processors. (Sorry, no citation)
评论 #2938237 未加载
评论 #2938212 未加载
zwiebackover 13 years ago
Nice introduction to data prefetching. I don't fully agree with this statement, though:<p><i>Second, programmers have very little control over instruction placement in memory.</i><p>Depending on your platform and type of application you may have full control over instruction placement and it might be extremely important to know how to sequence instructions to get maximum performance.
评论 #2939711 未加载
评论 #2939470 未加载