From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-10 11:51:52 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-was.dfn.de!znr.news.ans.net!news.chips.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!hack From: hack@watson.ibm.com (hack) Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) Date: 10 Jul 2001 18:51:51 GMT Organization: IBM_Research Message-ID: <9ifis7$v3c$1@news.btv.ibm.com> References: <9hsnb2$jd7$1@bob.news.rcn.net> <994693157.444120@haldjas.folklore.ee> <9ieom7$7hi$5@bob.news.rcn.net> <3B4B24A5.5E40E2F3@mchpDOTsiemens.de> NNTP-Posting-Host: starcraft.watson.ibm.com X-Trace: news.btv.ibm.com 994791111 31852 9.2.8.37 (10 Jul 2001 18:51:51 GMT) X-Complaints-To: news@btv.ibm.com NNTP-Posting-Date: 10 Jul 2001 18:51:51 GMT Xref: archiver1.google.com comp.sys.dec:5522 comp.arch:13510 In article <3B4B24A5.5E40E2F3@mchpDOTsiemens.de>, Konrad Schwarz wrote: >[snip] >2. Cache coherency on SMP is achieved using snooping: [...] How about "can be achieved"! There are other mechanisms: directory-based (often used in NUMA systems), or point-to-point signalling (S/370 and its descendants). >3. Nobody (except Intel) has atomic read/modify/write instructions. Ever heard of Test-and-Set (S/360)? Compare-and-Swap (S/370 etc.) PLO (Perform Locked Operation, S/390)? VAX also has atomic list-update operations that are in the spirit of PLO (synchronisation using microcode locks invisible to the programmer); TS and CS use hardware synchronisation. I'm sure there are others -- the concept is nearly 40 years old. (Anybody here from what used to be Burroughs?) >(Some embedded processors also have swap, but this is insufficient for >efficient scheduling, to my knowlege.) Single-word Compare-and-Swap is indeed insufficient, which is why S/370 also has Compare-Double-and-Swap (allowing both address and key to be handled in one atomic update). >Instead, they have load-locked/store conditional instruction sequences >which can emulate r/m/w using a loop. [...] The nice thing about this newer way of doing things is that it is more general as well as more primitive, and can be used to synthesize many different higher- level synchronisation mechanisms. Michel.