Page 2 of 3 FirstFirst 123 LastLast
Results 17 to 32 of 44

Thread: HEXUS mistake w/ AMD's Quad-Core cache.

  1. #17
    deleted
    Guest
    You're talking about something different now. The L1 and L2 are exclusive on AMD processors, since the K6. That means that nothing in L1 will be replicated in L2. This has no relevance to the argument over whether the L2 on each core is accessible to other cores. To restate yet again - each AMD core has its own L2, unlike the Core 2 Duo. But in a dual-processor or dual-core AMD system, each core can ask other cores if they have the required data in their L2 caches. They can then send that data to the other core's L2. This is quicker than having to place a call to main memory, but not as quick as having it stored locally in a shared L2 cache as with the Core 2 Duo. One processor can also access another processor's memory controller using a related process.

  2. #18
    deleted
    Guest
    Quote Originally Posted by DELETED View Post
    But right now, I told people in other forums what you said, and they think I do not know what I am talking about ???

    Take Care,
    While slightly unrelated to the topic of discussion, you may find life easier if you don't just report other peoples views on different forums when you don't understand/believe them yourself. All that happens is that both forums think you are wrong! Instead, take the time to investigate things yourself (asking for links to sources from other people if needed) - saying that joe blogs 'said so on x forum' is as good as making something up yourself unless there is a reason to trust the evidence from joe blogs more than your average joe blog.

    When you understand it yourself, and have the sources to back up your arguement, then is a good time to put accross your view where it can be challenged or not with sufficient evidence from other forum users. When someone challenges your view, take the time to look at their sources and re-evaluate your position in light of the new information. But in all cases only ever say what *you* understand/believe, and don't be afriad to change your understanding based on information that someone has shown/explained to you.


  3. #19
    deleted
    Guest
    I was googling for cache coherency on A64 and bumped into this thread. I think I have something to contribute here.

    Super XP is right.

    L2 on K8 are not shared in any way. Different cores can not directly access the L2 of another core in the same CPU package.

    AMD datasheet:
    The major Northbridge blocks are: System Request Interface (SRI), Memory controller (MCT), and Cross Bar. SRI interfaces with the CPU core and connects coherent HyperTransport links and noncoherent HyperTransport links. MCT maintains cache coherency and interfaces with the DRAM. XBAR is a five port switch which routes the command packets between SRI, MCT and the three HyperTransport links. Not all HyperTransport links have to be active.

    BIOS and Kernel Developer's Guide for AMD AthlonTM 64 and AMD OpteronTM Processors: Chapter 13, page 113
    amd .com/us-en/assets/content_type/DownloadableAssets/dwamd_26049.pdf

    Also, see this quote from an article on Xbitlabs
    Quote Originally Posted by DELETED
    I have to state that I can’t find any indication of direct data transfers from one execution core to another in the Athlon 64 X2 processor. According to my tests, the most recent copy of data is always read from system RAM. This must be a limitation of the MOESI protocol implementation.

    X-bit's Investigation: Data Transfer Rate between the Cores in Dual-Core Processors
    xbitlabs .com/articles/cpu/display/dualcore-dtr-analysis.html

    Quote Originally Posted by DELETED View Post
    Well, I've been told this numerous times by employees of AMD - technically savvy people like Dave Everett. But here's a quote from The Tech Report which echoes what I've been told:
    AMD sought to address this problem by making use of a cache coherency protocol called MOESI, which adds a fifth possible state to its quiver: Owner. (MOESI is used by all Opterons and was even used by the Athlon MP and 760MP chipset back in the day.) A CPU that "owns" certain data has that data in its cache, has modified it, and yet makes it available to other CPUs. Data flagged as Owner in an Opteron cache can be delivered directly from the cache of CPU 0 into the cache of CPU 1 via a CPU-to-CPU HyperTransport link, without having to be written to main memory.
    You can find the rest of the article here:

    *url removed*

    So I'm really not alone in my understanding. It's pretty much common knowledge.
    It's quite obvious that the quoted paragraph from the Techreport article talks about intersocket cache coherency on DP/MP Opteron systems, not intercore cache coherency on A64 X2.
    The consecutive paragraph is a pure BS.
    That alone is a nice enhancement over MESI, but the dual-core Opterons take things a step further. In the dual-core chip, cache coherency for the two local CPU cores is still managed via MOESI, but updates and data transfers happen through the system request interface (SRI) rather than via HyperTransport. This interface runs at the speed of the CPU, so transfers from the cache on core 0 into the cache on core 1 should happen very, very quickly. Externally, MOESI updates from a pair of cores in a socket are grouped in order to keep HyperTransport utilization low.

  4. #20
    deleted
    Guest
    Quote Originally Posted by DELETED View Post
    The consecutive paragraph is a pure BS.
    No, it's really not. Every AMD tech person I have ever asked about it has confirmed that AMD dual-core processors share L2 data across the System Request Queue, and they can share it with other processors in a dual-socket environment over the coherent HT link. Your AMD quote doesn't contradict that at all.

    The Xbit article is more interesting, though. Those tests do seem to back up your argument. I will have to ask an AMD engineer about it. MOESI is supposed to share L2 over the System Request Queue and Crossbar, but Xbit's analysis would imply that this doesn't actually work. It will definitely be interesting to put this to AMD, although they are probably feeling a bit browbeaten already after the 4x4 fiasco. Poor AMD.

  5. #21
    deleted
    Guest
    Quote Originally Posted by DELETED View Post
    No, it's really not. Every AMD tech person I have ever asked about it has confirmed that AMD dual-core processors share L2 data across the System Request Queue, and they can share it with other processors in a dual-socket environment over the coherent HT link. Your AMD quote doesn't contradict that at all.

    The Xbit article is more interesting, though. Those tests do seem to back up your argument. I will have to ask an AMD engineer about it. MOESI is supposed to share L2 over the System Request Queue and Crossbar, but Xbit's analysis would imply that this doesn't actually work. It will definitely be interesting to put this to AMD, although they are probably feeling a bit browbeaten already after the 4x4 fiasco. Poor AMD.
    Hey I got my info from the AMD website & the Athlon 64 X2 white papers. Go check it out, they do not in any way "Share the L2". Regardless of what anybody says. I got this from AMD themselves.

    And once again, and already stated many times, the only shared cache will be a L3 cache for the Native Quad-cores. That is it.

    Also, what is wrong with the 4x4 ? It is performing amazing and is doing "exactly" what AMD said it will do.

  6. #22
    deleted
    Guest
    I think we may have to conclude that AMD doesn't really know how its own technology actually works. Which really doesn't surprise me after our experiences with Quad FX. Of which more soon...

  7. #23
    deleted
    Guest
    Quote Originally Posted by DELETED View Post
    I think we may have to conclude that AMD doesn't really know how its own technology actually works. Which really doesn't surprise me after our experiences with Quad FX. Of which more soon...
    Haha, funny. I've noticed that several of you are a little confused with how AMD's cache architecture works. I wouldn’t peruse it any further.

    QuadFX is doing great. And it will only get better & better.

  8. #24
    deleted
    Guest

    AMD? Each Core = Dedicated L1 and L2 caches for each core.

    For people which still refuse to accept that AMD's Athlon 64's X2's do not share cache period.

    AMD's current Athlon 64 X2 dual core features two processing core with dedicated L1 and L2 caches for each core, on a single die. A cross-switch takes care of inter-core communication and access to the dual channel DDR2-800 memory controller, as well as the HyperTransport channel, which is used to interface with the rest of the system. HyperTransport is a serial, high-speed point-to-point protocol, as opposed to Intel's Front Side Bus. The other significant difference - aside from the integration of the memory controller - is the L2 cache memory: Intel has one shared cache that is used by both caches, while AMD still relies on exclusive caches.
    http://www.tomshardware.com/2007/01/...ack/page2.html

  9. #25
    deleted
    Guest
    Super XP, you and James Morris are both half right, from what i've read.

    Super is arguing that the processors have exclusive cache, which James Morris agrees with. The point that james is trying to get across, which isn't quite being grasped, is that even though the cache is exclusive, i.e. not shared, one core can directly access the cache and memory controller of the other core.

    would this be true?

  10. #26
    deleted
    Guest
    That's true for me - and that's what I've said all along. My understanding, corroborated by AMD itself, is that the L2 cache on one core can be accessed by the other when required. This is what MOESI is supposed to allow. As for Super XP's opinion that Quad FX is "doing well", I can only conclude that he has seen a different Quad FX from what we've seen, as nothing I've learned about it would make me recommend anyone buying a PC right now should part with money for it. They should buy Core 2 Quad instead if they run stuff which can take advantage of four cores. Quad FX may pick up either a) when they fix the bugs and bring out 65nm parts for it or b) when they bring out true quad-core and it becomes an eight-core platform.

  11. #27
    deleted
    Guest
    This is from my 2nd Year computer science, the architecture bit. (It was over 10 years ago but the principles are still valid.)

    Processor cache:
    Exclusive L1 and L2 caches: the data in L1 and L2 is a subset of the main memory but L1 does not contain any of the data in L2.

    Non Exclusive L1 and L2 caches: the data in L1 is a subset of the data in L2 (and L2 is a subset of the main memory)

    If you have 256k L1 and 1024k of L2 using the exclusive method you can effectively cache 1280k of data, non exclusive method 1024k of data is cached. There is a trade off due to the extra logic required, access time may be slower.

    Cache coherency:
    Cache coherency over multiple CPU/cores does not imply exclusivity of data across all the caches. It is possible to have multiple copies of the same address locations in difference CPU/core caches and still have exclusive L1 and L2 cache on any single CPU/core of a multiple CPU/core system. Cache coherency is supplying data to a CPU/cores which is valid.

    The S in MOESI stands for Shared and cache coherency methods would suggest that when core0 make a read of address A1 and address A1 is in the cache of core1 it should be possible for core1 to supply the data. I was under the impression that the MOESI protocol was devised to do this, but the link largon posted http://www.xbitlabs.com/articles/cpu...-analysis.html suggests that AMD64 architecture does not do this.

  12. #28
    deleted
    Guest

    Athlon 64 X2 design. Just look at the link bellow.

    O.K. thanks for the definitions. That is exactly what I’ve read & thought.

    My point is that the Athlon 64 X2’s do not share L1 nor L2 cache period. If you look at the basic Athlon 64 X2 architectural design, both CPU’s on the single die only share a 144-bit (72-bit x 2) Integrated Memory Controller.

    Each CPU communicates with each other via HTT link running at the CPU core Frequency. The Integrated Memory Controller also runs at the CPU core Frequency.

    The L1 & L2 cache are in no way in communication with the other processor.
    Just look at this AMD link. This should explain all, and look at the design too.

    http://www.amd.com/us-en/Processors/...E13043,00.html

    Take Care,

  13. #29
    deleted
    Guest

    Each core doesn't share anything with other cores besides the die.

    Here is a quote from a friend on another Forum.

    In AM2 X2s, each core has access to 128 KB L1 Data, 128 KB L1 Instructions, and 512 KB or 1 MB L2. They have no access to any other core's caches. It has no way of knowing what the data is in the L2. As far as I know, it's impossible to share an L1 cache because the communication just to reach it would cause the core to wait at least one extra cycle. As far as I know, each core doesn't share anything with other cores besides the die.

    Take Care,

  14. #30
    deleted
    Guest
    Neither of those convince me. The AMD diagram is too simplistic - it doesn't even include the Crossbar or System Request Queue, which are definitely part of the architecture. These are key, as this is where I have been led to believe the L2 cache information is transmitted on a dual-core Athlon 64.

    Let's just agree to differ on this one. Nothing you've posted has proven to me that what AMD has told me in the past is wrong. I suspect we will have to get an AMD engineer to clear it all up. I'm going to be talking to AMD again soon anyway, so I'll ask again!

  15. #31
    deleted
    Guest
    Interview one on hexus.tv settle it once and for all

  16. #32
    deleted
    Guest
    Funny you should say that...


Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •