From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,f7269c227c80b5ac X-Google-Attributes: gidfcda7,public X-Google-Thread: fa528,f7269c227c80b5ac X-Google-Attributes: gidfa528,public X-Google-Thread: f7344,f7269c227c80b5ac X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2002-05-21 03:37:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newspeer.clara.net!news.clara.net!eos Message-ID: <3CEA2358.44561ECD@kgcc.co.uk> Date: Tue, 21 May 2002 11:37:12 +0100 From: Ken Green Organization: KGCC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.10 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64,comp.sys.hp.hpux,comp.os.vms Subject: Re: Capellas: Linux, Windows Will 'Eviscerate' Unix References: <3CD2DE32.D354B6B0@kgcc.co.uk> <3CE16112.EC41AF98@kgcc.co.uk> <3CE18838.45DC9379@kgcc.co.uk> <3CE22A9C.D4CC9952@kgcc.co.uk> <87offgrprl.fsf@k9.prep.synonet.com> <3CE412FB.1C3D18E0@kgcc.co.uk> <877km2sgjc.fsf@k9.prep.synonet.com> <87bsbdpfhg.fsf@k9.prep.synonet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 67900160d8b4a00308016880a9210a501809810093806362454086853cea2359 NNTP-Posting-Date: Tue, 21 May 2002 11:37:13 BST Xref: archiver1.google.com comp.unix.tru64:7756 comp.sys.hp.hpux:21038 comp.os.vms:78776 Bill Todd wrote: > "Paul Repacholi" wrote in message > news:87bsbdpfhg.fsf@k9.prep.synonet.com... > > ... > > > All `just works'. (Thank Bill for a good bit of that! > > He was one of the original RMS developers.) > > But only on the 11, not in the clustered VMS environment. > > > > > > Sorry, Paul, but the lack of a Unix-style buffer cache is more a > > > detriment than an asset to VMS. > > > > Yes, but until recently, on unix systems all disk IO was to the > > kernel, never to userland. (for a large enought value of recently, and > > a small value of all :) The key factor is the buffer *may* exist, > > rather than *must*. So you can not use it as a sync point, as it may > > not be there at all. or it may be there in SOME nodes, but not others. > > I'm not sure that's a significant distinction (any more, now that Unixes can > perform direct I/O). After all, the local system cache isn't a distributed > synchronization point in clustered Unix environments either, OK, this is what I had been trying to discuss. > and even local > Unix environments may (I don't know, but they could) coordinate cached data > with directly-accessed data HP-UX with VxFS does. A direct write causes the buffer cache entry to be invalidated, so the next read has to go all the way to the disk to get it's data. > (just as VMS could - and again I don't know if > it does) using lock-manager mechanisms. > > Using global buffers you can make local RMS access work similarly to Unix > cached access in this regard. Using Unix direct I/O mechanisms you could > make local Unix access work similarly to RMS access in this regard. The > *big* differences between the two systems are the default behaviors (sharing > via caching using RMS global buffers is a bit of a pain, and duplicating the > caching instead using lower-level VIOC or XFC caches is wasteful) and the > flexible use of system memory that Unix caching allows. > > ... > > > One thing VMS has done, is that buffer update go via the disk, never > > memory to memory although the SCS ports could do it no problem. I was > > told that failure modes where too horrid to handle with out a stable > > copy in the middle, so onto and off the disk... This may have been > > improved. > > I think XFC was doing something in that area (but not in 7.3). It is hard > to get right in many of the cases (e.g., distributed write after write: > what happens when the original owner issues a Flush in the middle of > things?). There is, however, no need for the new owner to go to disk for > the data after it has been written: it can just be forwarded from the > original owner. > > > > > > > RMS Global buffers are the common exception here. > > > > > Another not-so-great excuse for Unix-style system caching. RMS > > > *could* have chosen to create a Unix-like system cache instead of > > > implementing 'global buffers' way back when, but that didn't fit as > > > well with RMS's layering model (and real-time advocates may have > > > preferred to have somewhat tighter control over system memory use, > > > though it's not clear that equivalent controls couldn't be obtained > > > by establishing quotas and/or priorities on system cache use). > > > > I was always amused that RMS lived in system space, and the XQP was in > > user space... > > Evolution doesn't always proceed in straight lines. One of the reasons it > sometimes makes sense to start over using what you've learned. > > - bill Cheers Ken