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-17 15:30:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news1.optus.net.au!optus!news.uwa.edu.au!nntp.waia.asn.au!nnrp.waia.asn.au!!nobody From: Paul Repacholi Newsgroups: comp.unix.tru64,comp.sys.hp.hpux,comp.os.vms Subject: Re: Capellas: Linux, Windows Will 'Eviscerate' Unix Date: 18 May 2002 03:47:19 +0800 Organization: iQnet Sender: prep@k9.prep.synonet.com Message-ID: <877km2sgjc.fsf@k9.prep.synonet.com> 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> NNTP-Posting-Host: news-01.core.usertools.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: nnrp.waia.asn.au 1021674395 4398 202.154.80.9 (17 May 2002 22:26:35 GMT) X-Complaints-To: usenet@nnrp.waia.asn.au NNTP-Posting-Date: Fri, 17 May 2002 22:26:35 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Cache-Post-Path: angelina!unknown@p202.qv1-02.dial.usertools.net X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Xref: archiver1.google.com comp.unix.tru64:7737 comp.sys.hp.hpux:20971 comp.os.vms:78401 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... 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. RMS Global buffers are the common exception here. ... > It's a question of how the DLM keeps track, and when nodes > effectively need to check with the DLM. Second point, the DLM does not *enforce* anything. It is a totally co-operative system. For any 'thing', devise, file, record, range of byte addresses, queue, directory, user do-hickey, there is a `resource name' that can be used to mediate access to the resource. (note, you do not even need anything real for this to be usefull. So you can create a resource and lock it on a node. If that node fails, the other nodes can now obtain the lock and take over from the failed node, as an example.) > > > If you do it on a per file basis, it's much easier. At open time > > > you check whether you are the only node accessing the file, or > > > that all nodes accessing are only open for reading, in this case > > > there is no problem with caching at both ends. However once a > > > node opens a shared file for writes then the caching needs to be > > > done in just one place, or as above checking for conflicts needs > > > to be performed on a per IO basis, or write only basis with a > > > local cache directory. > > Yes, but it is in reality worse than you describe, as there are > > all sorts of 'details' in extending, truncating etc that must be > > totally right always. > > > In the DUX model, once concurrent access, with at least one writer, > starts (it used the idea of opened with write enabled) then caching > was only performed on the system that physically had the disk. In > the shared disk access model of the HSC... etc, of XPs with FC, or > multi initiator SCSI... what ever then I guess it's upto the DLM to > decide where best to cache, the server local, client remote model of > DUX ( or I guess LAVC, is that still around?) then I guess it's > easier to decide on who caches. > Anyway, who's caching doesn't much matter. The point was only one > system cached, that way there can be no coherency trouble, but > clients see long access latencies. That is shared access in my book. VMS does not do this at all. At the most, a system will serve blocks for another systems class driver. > 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. 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. 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. -- Paul Repacholi 1 Crescent Rd., +61 (08) 9257-1001 Kalamunda. West Australia 6076 Raw, Cooked or Well-done, it's all half baked. EPIC, The Architecture of the future, always has been, always will be.