AMD Virtualization Improvements

The performance-related improvement to Barcelona comes in the way of speeding up virtualized address translation. In a virtualized software stack where you have multiple guest OSes running on a hypervisor there's a new form of memory address translation that must be dealt with: guest OS to hypervisor address translation, as each guest OS has its own independent memory management. According to AMD, currently this new layer of address translation is handled in software through a technique called shadow paging. What Barcelona offers is a hardware accelerated alternative to shadow paging, which AMD is calling Nested Paging.

Supposedly up to 75% of the hypervisor's time can be spent dealing with shadow pages, which AMD eliminates by teaching the hardware about both guest and host page tables. The translated addresses are cached in Barcelona's new larger TLBs to further improve performance. AMD indicates that Barcelona's support for Nested Paging requires very little to implement; simply setting a mode bit should suffice, making the change easy for software vendors to implement.

Power Management

The most recent aspect of Barcelona's design that AMD revealed is how it handles power management. Although all four cores still operate on the same power plane (same voltage), Barcelona's Northbridge now runs on a separate power plane. Barcelona's core and Northbridge voltages can vary between 0.8V - 1.4V independently of one another.

In a conventional platform architecture, the Northbridge and the CPU are already on separate power planes given that the Northbridge is external to the CPU. The benefit of this arrangement is that the two chips can power down independently of one another, so when the memory controller has little to do, it can power down until needed. With AMD's K8, this wasn't true as the Northbridge and CPU core(s) were on the same power plane. In Barcelona, they are separated to improve power efficiency.

The individual cores still share the same reference voltage, but each core has its own PLL so that they can run at different clock speeds depending on load. While voltages of all four cores have to be equal, clock speed and thus current draw can be reduced depending on load - which will amount to power savings under normal usage conditions. The implications on the desktop are particularly interesting since it's rare that most desktop workloads will keep all cores pegged at 100% utilization.

Barcelona supports up to 5 independent p-states for each core, varying only in clock speed. The p-states are completely hardware controlled, so you will not need a driver to enable support for the power management features. AMD also increased the amount of clock gating done on Barcelona compared to K8 at both the block level and logic level. AMD wouldn't give us any more detail than this, but given how long it's been since the K8's introduction we'd expect that there's a lot that can be done.

The performance efficiency enhancements to Barcelona, coupled with updated power management, further clock gating and 65nm process allow AMD's first quad core part to operate within the same thermal envelope as current Opterons.

Getting Spendy with Transistors - L3 cache Final Words
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