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: f7344,f7269c227c80b5ac X-Google-Attributes: gidf7344,public X-Google-Thread: fa528,f7269c227c80b5ac X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-17 18:56:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!novia!novia!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin8.nnrp.aus1.giganews.com.POSTED!not-for-mail From: "Bill Todd" Newsgroups: comp.unix.tru64,comp.sys.hp.hpux,comp.os.vms 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> Subject: Re: Capellas: Linux, Windows Will 'Eviscerate' Unix Organization: maybe 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: NNTP-Posting-Date: Fri, 17 May 2002 20:55:41 CDT X-Trace: sv3-rMzg/pcJSXXVMjhXsX00BbwO9Ay53EVMrlp8p0fF+i7eJLN2/31x2CdwUbci43q/W4uEoqKiL5vmZZo!KVSjaiGGncWczsaMICRKSL58xY26+tZ84W+oWWo7UoYJVOqKvZCZXruIdLBvs5mgh85OFV2q6u3k!cKHJRoPncj70KGY13ZGJ3A== X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Sat, 18 May 2002 01:55:41 GMT Xref: archiver1.google.com comp.unix.tru64:7740 comp.sys.hp.hpux:20976 comp.os.vms:78417 "Paul Repacholi" wrote in message news:877km2sgjc.fsf@k9.prep.synonet.com... > Ken Green writes: > > > The problem with coherence isn't affected by whether the disks are > > local to one system or to all, the problem is that if multiple > > copies exist in the memory of the members of the cluster how do you > > ensure if one member modifies all the other members invalidate their > > copies atomically. > > Step one, take the unix buffer cache out and destroy that part of the > brain... Sorry, Paul, but the lack of a Unix-style buffer cache is more a detriment than an asset to VMS. VIOC is a step toward a VMS system-level cache, and XFC another bigger one, but for most typical use the Unix approach is likely better still - and really doesn't introduce any more sharing problems than current VMS distributed caching/buffering mechanisms. VMS uses direct to the process IO, not IO to the kernel with > a copy to the process, so there can well be NO cache at all. Depends on how you look at it. Only application-specified block I/O (or 'locate-mode' access, if that still exists) avoids a buffering layer - just because it happens to be in P1 space rather than Sx space doesn't really make much difference (except that other local processes can't share it). 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). ... > > Truncating doesn't affect this, it can be considered as just like > > any other write. On Unix, files can be sparse, I seem to remember > > that VMS' view of files is somewhat different, so I have no idea > > whether it supports sparse files, if not Then I guess truncates are > > a different problem. Considered commenting on this before, but got lazy. I'm not familiar with the details of Unix-style byte-range locks, so it's possible that a truncate can just take out a write-style range lock on the section truncated and have it 'just work' (though since it would have to wait for *every* conflicting read or write lock to be released, it could take a while). VMS locks are slightly different in that they operate on names and hence don't accommodate amorphous (and potentially overlapping) entities like byte (or truncate) ranges easily. I don't know exactly how VMS handles byte-range locks themselves let alone truncate ranges, but I suspect it is indeed (as Paul suggests) a bit messy. > > ODS files are extent based. Any file is a ordered list of extents of > blocks. (A block btw, is *defined* to be 512 bytes. It is up to the > driver to do the various fudging to make this so.) So the file system > is VERY different to any of the unix systems. It does not have to > provide anything other than block access to the process. Although > truncation is simple in principle, doing it so it is safe and > completable is a far trickier matter! It is also why you get a big > performance hit cf unix file systms for some things. Not sure that the use of extents makes any real difference here: after all, several Unix file systems are extent-based (XFS, VxFS, I think JFS). > > The nice thing about VMS, is that the tools are good enough for you > to pick up a lot of the stuff on a running system. With the VMS FAQ > in one hand, and SDA in the other you are set. To begin anyway :) > > Getting a copy of the ODS-2 specs from the SIG tapes from years > ago is a very good start. Once you have a handle on the file system, > then you can move out from there. As I said, I'm not sure that the actual on-disk structure makes too much difference. Inodes correspond at least moderately closely to index-file entries, etc. The use of careful-update sequences in ODS-2 in contrast to many Unix file systems (which range from using prayer plus fsck to using transaction logs to protect integrity) *is* a significant difference, however, especially in how the clustered file system works. - bill