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 11:45:06 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: 17 May 2002 01:01:02 +0800 Organization: iQnet Sender: prep@k9.prep.synonet.com Message-ID: <87offgrprl.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> 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 1021574351 30788 202.154.80.9 (16 May 2002 18:39:11 GMT) X-Complaints-To: usenet@nnrp.waia.asn.au NNTP-Posting-Date: Thu, 16 May 2002 18:39:11 +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:7696 comp.sys.hp.hpux:20913 comp.os.vms:78171 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. 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. > 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. > 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. EPIC, The Architecture of the future, always has been, always will be.