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-16 13:14:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newspeer.clara.net!news.clara.net!eos Message-ID: <3CE412FB.1C3D18E0@kgcc.co.uk> Date: Thu, 16 May 2002 21:13:47 +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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 117a6084928001388042804a4c328088b38c000049e1a35cd51068603ce412fe NNTP-Posting-Date: Thu, 16 May 2002 21:13:50 BST Xref: archiver1.google.com comp.unix.tru64:7699 comp.sys.hp.hpux:20916 comp.os.vms:78183 Paul Repacholi wrote: > Ken Green writes: > > > The problem comes when someone else is caching the data. How do you > > cope. Do you manage cache coherency on a per IO basis or on a per file > > basis. > > Neither. Although VMS clusters are described as a shared storage > system, really they are a shared nothing system. They do not share, > they co-ordinate. So, all the drives on a HSC or HSJ on the CI are > *local* disks for ALL the hosts. 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. Sorry I haven't had time to give Bill's highly informative posting due thought. I think he's largely answered my question. Although I'd like to carry some of the discussion on. > > > In your caching example, the access is co-ordinated by the Distributed > Lock Manager (DLM) on an 'as needed' basis. This could range from none, > to several per IO depending on the exact state and timing. > > > If you try to do it on a per IO basis, then every read or write > > needs to check, so you loose the advantage of local caching. You > > could minimise this to only impacting writes I guess but that would > > require all systems to maintain a cache directory for the whole > > cluster. > > No, only if you no longer 'own' the required access to the > resource. So a burst of IO will often complete with only a single trip > to the disk. > It's a question of how the DLM keeps track, and when nodes effectively need to check with the DLM. > > > 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. 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. > > > Sorry I don't know how VMS tackles these issues, it has been more > > years than I care to remember since I used a VMS cluster, and back > > then had no idea how an OS worked. I'm sure VMS clusters have moved > > on a long way since then anyway. > > They are very much as they where then, but with LOTS of detail > changes. IE, there is no longer a master directory. Now all the nodes > build their own copy of the 'directory vector' so they can determine > locally which node is the default master of a resource. As each node > executes the identical code, all the vectors are identical. If not, > the Fat Owl will dump on your console ;) > > -- > Paul Repacholi 1 Crescent Rd., > +61 (08) 9257-1001 Kalamunda. > West Australia 6076 > Raw, Cooked or Well-done, it's all half baked. > Cheers Ken > EPIC, The Architecture of the future, always has been, always will be. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Well I guess we've got about 3 weeks to wait to find out. If McKinley flies there might be a future for HP-UX (now incorporating True64) and VMS. If it doesn't I guess we have a choice of learning Solaris, AIX or Windows. (I love Linux but like most people, I still haven't worked out how to make it pay for my food).