New Prefetcher

Prefetching is done in many areas of the system and by many different components. When NVIDIA introduced its nForce2 chipset, it stressed the ability of its intelligent prefetcher to make use of a very wide, at the time, 128-bit memory bus. More recently, when Intel introduced its Core 2 processor family it stressed the importance of its three prefetchers per core in drastically reducing perceived memory latency.

AMD's K8 core had two prefetchers per core - one instruction and one data. The Barcelona core still retains the same number of prefetchers, but improves on them. The biggest change is that the data prefetcher now brings data directly into the L1 data cache, as opposed to the L2 cache in the K8. AMD looked at the accuracy of its core prefetchers and realized that they were doing quite well, so it only made sense to prefetch into a low latency L1 and avoid polluting the L2 cache. AMD has also increased the flexibility of its L1 instruction cache prefetcher to handle two outstanding requests to any address.

At first glance it looks like Intel's prefetchers in Core 2 are greater, at least in quantity, than what AMD has planned even for Barcelona. Remember that Intel's Core 2 processor features two data and one instruction prefetcher per core, plus an additional two L2 cache prefetchers, all of which are well managed as to not eat into "demand" bandwidth. At the same time, we must keep in mind that Intel needs these prefetchers to help mask its longer trip to main memory. From a CPU perspective, the advantage here is for Intel, but as a platform the true winner is tough to determine.

Each Barcelona core gets its own set of data and instruction prefetchers, but the major improvement is that there's a new prefetcher in town - a DRAM prefetcher. Residing within the memory controller where AMD previously never had any such logic, the new DRAM prefetcher takes a look at overall memory requests and attempts to pull data it thinks will be used in the future. As this prefetcher has to contend with the needs of four separate cores, it really helps the entire chip improve performance and can do a good job of spotting trends that would positively impact all cores. The DRAM prefetcher doesn't pull data into the CPU's L2 or L3 caches either; instead it features its own buffer to avoid polluting the caches. The buffer is approximately 20 - 30 cache lines in size and happens to be the same buffer that is used for Barcelona's write bursting we mentioned on the previous page.

A Faster Memory Controller Getting Spendy with Transistors - L3 cache
Comments Locked

83 Comments

View All Comments

  • johnsonx - Saturday, March 3, 2007 - link

    Actually that's the new Double-Dog-Dare RAM-3.
  • JarredWalton - Thursday, March 1, 2007 - link

    Crazy D's... they're like rabbits!
  • AkumaX - Thursday, March 1, 2007 - link

    Great read. I love Anand's articles. We'll see what the future holds, for both AMD and Intel
  • MAME - Thursday, March 1, 2007 - link

    I wonder how much market share AMD will lose until this chip become readily available.
  • tuteja1986 - Thursday, March 1, 2007 - link

    None... AMD will loose no marketshare. They are in bloody price war... Intel hasn't really regained any lost territory. But Intel have the advantage of performance is trying to find a breakthrough in AMD market share to retake back the lost territory. AMD is still selling everything they make but at huge looses caused by the price war.
  • Griswold - Thursday, March 1, 2007 - link

    Huge loses? Do you mistake the loss of Q406 due to the ATI purchase as a loss due to selling under production costs?
  • Phynaz - Thursday, March 1, 2007 - link

    Seen that AMD cach flow recently?
  • TwistyKat - Thursday, March 1, 2007 - link

    ...you have people like me who won't buy anything from Intel. If we didn't have AMD to make Intel competitive we would never have the range of choices we have today. We'd all be running monster Itanics with massive electricity bills.

    Intel has the resources to effectively put AMD out of business over time if it so chooses, and today I suspect they are focused on something close to that.


  • fitten - Thursday, March 1, 2007 - link

    quote:

    Intel has the resources to effectively put AMD out of business over time if it so chooses, and today I suspect they are focused on something close to that.


    Won't happen. In order to avoid anti-trust lawsuits, Intel will give AMD money to keep them afloat before they'll allow AMD to fail.
  • GoatMonkey - Friday, March 2, 2007 - link

    If AMD were to be purchased by a larger corporation, like IBM, it would leave Intel free to beat AMD down with all of their resources. Of course, at that point AMD would have the resources of IBM behind it and could potentially fight back better.

Log in

Don't have an account? Sign up now