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-10 16:27:19 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn4feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail From: "Hank Oredson" Newsgroups: comp.sys.dec,comp.arch References: <9hsnb2$jd7$1@bob.news.rcn.net> <994693157.444120@haldjas.folklore.ee> <9ieom7$7hi$5@bob.news.rcn.net> <3B4B24A5.5E40E2F3@mchpDOTsiemens.de> <9ifis7$v3c$1@news.btv.ibm.com> Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Tue, 10 Jul 2001 23:27:19 GMT NNTP-Posting-Host: 12.81.193.32 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 994807639 12.81.193.32 (Tue, 10 Jul 2001 23:27:19 GMT) NNTP-Posting-Date: Tue, 10 Jul 2001 23:27:19 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.sys.dec:5546 comp.arch:13545 "hack" wrote in message news:9ifis7$v3c$1@news.btv.ibm.com... > 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?) Univac 1100 series had test and set, from the 1105 for certain, probably from the 1103A (circa 1957). > >(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. -- ... Hank http://horedson.home.att.net