From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-12 09:01:57 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!news.cc.utah.edu!cc.usu.edu!ivie From: ivie@cc.usu.edu (Roger Ivie) Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) Message-ID: Date: 12 Jul 01 09:51:19 MDT References: <994616870.688233@haldjas.folklore.ee> <9ik7eb$1s3$1@bob.news.rcn.net> Organization: Utah State University Xref: archiver1.google.com comp.sys.dec:5667 comp.arch:13769 In article <9ik7eb$1s3$1@bob.news.rcn.net>, jmfbahciv@aol.com writes: > In article <9ii2dg$jcr$1@pyrite.mv.net>, >> ... The >>cache hardware in each processor snoops the memory bus (or uses other >>mechanisms) such that it knows if some other processor is requesting data >>that's dirty in its own local cache and makes sure >>that the other processor gets the most up-to-date version >>of that data. > > Is this checking really more efficient than just simply > doing a write-through? It really depends. The snooping itself doesn't take a lot of bus bandwidth, but a lot depends on what happens when a cache decides it has newer data than memory. On Firefox everything was built around the CVAX pin-bus. If one of the bus interfaces discovered that it had newer data than memory, it had to perform a DMA request to kick the CPU off the bus so it could fetch the modified data. This, combined with the CQBIC's lack of on-board scatter/ gather map (it has a scatter/gather map cache and fetches entries from main memory if the required entry isn't in the cache) is what killed FTAM. If all the planets lined up correctly, FTAM could require up to 12 microseconds just to get ready for the QBus transaction it was trying to handle, which isn't a good thing for a bus with a transaction timeout of 8 microseconds. FQAM dealt with this by having an on-board scatter/gather map and keeping the bus 100% busy with known, short transactions while the QBus was granted to a DMA device. This meant the system did _nothing_ else while QBus DMA was active, because FQAM couldn't afford to let the system do anything else. It also gave FQAM it's reputation of being a pig. In addition to all this, Firefox didn't have an invalid state; you couldn't invalidate a cache entry. This meant that once something got into a cache (where it was really slow to fetch the data), it was very difficult to get it back out. If, on the other hand, the cache controller has a private datapath to the cache memory, it can be quite speedy and efficient. > Doing it the way you described above > sounds like there's a potential of a lot of CPU contention > between CPUs. If not carefully handled, this could make > some very interest CATCH-22s. Absolutely. -- -------------------------+---------------------------------------------------- Roger Ivie | Ben Stein for president! ivie@cc.usu.edu | http://cc.usu.edu/~ivie/ | -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GP dpu s:+++ a C++ UB- P--- L- E--- W- N++ o-- K-- w--- O M+ V+++ PS+++ PE++ Y+ PGP+ t++ 5++ X-- R tv++ b+++ DI+++ D- G-- e++ h--- r+++ y+++ ------END GEEK CODE BLOCK------