From: Paul Repacholi <prep@prep.synonet.com>
Subject: Re: Capellas: Linux, Windows Will 'Eviscerate' Unix
Date: 19 May 2002 00:50:35 +0800 [thread overview]
Message-ID: <87bsbdpfhg.fsf@k9.prep.synonet.com> (raw)
In-Reply-To: xwiF8.59529$fU2.5419924@bin8.nnrp.aus1.giganews.com
"Bill Todd" <billtodd@metrocast.net> writes:
> "Paul Repacholi" <prep@prep.synonet.com> wrote in message
> news:877km2sgjc.fsf@k9.prep.synonet.com...
> > Ken Green <Ken.Green@kgcc.co.uk> writes:
> > > 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...
Oh yes, with VMS, it is normal for a file to be open for write by
multiple processes, and on multiple nodes. SYSUAF.DAT, the passwd
`equivalent' is updated on every login, and is help open on all nodes
all the time by the job-controller. Mail can be delivered while you
are reading it. All `just works'. (Thank Bill for a good bit of that!
He was one of the original RMS developers.)
> 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.
> 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).
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.
> > 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...
> ...
> > > 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.
Remember, we are allowed to lose blocks to n-space on crash etc, but
we must be able to recover totally normally. Even if we have multiple
extents, and cross bit-map blocks, and volumes, and another node does
a BIG extend of another file and runs out of space and all the XQPs
have to dump their free space cache etc... Plus some interesting
corner cases in timing and the like.
> > 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.
--
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.
next prev parent reply other threads:[~2002-05-18 16:50 UTC|newest]
Thread overview: 192+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-03 10:28 CRN: Capellas: Linux, Windows Will 'Eviscerate' Unix Kenneth Farmer
2002-05-03 11:00 ` system
2002-05-03 14:45 ` Michael Kraemer
2002-05-03 15:48 ` John Vottero
2002-05-03 16:27 ` Dave Gudewicz
2002-05-03 17:01 ` Bill Todd
2002-05-04 2:17 ` Mike Coleman
2002-05-04 13:50 ` Michael Kraemer
2002-05-04 13:55 ` Ken Green
2002-05-05 0:16 ` Mike Coleman
2002-05-07 15:45 ` Simon Waters
2002-05-07 16:27 ` Robert Gilster
2002-05-07 20:10 ` Stefaan A Eeckels
2002-05-04 7:45 ` Volker Birk
2002-05-04 10:50 ` "Alan Winston - SSRL Admin Cmptg Mgr"
2002-05-04 11:57 ` Volker Birk
2002-05-04 14:24 ` Bill Todd
2002-05-06 11:02 ` Volker Birk
2002-05-06 12:03 ` Bill Todd
2002-05-04 14:38 ` Bill Todd
2002-05-06 11:06 ` Volker Birk
2002-05-06 11:51 ` david20
2002-05-06 21:09 ` Chris Adams
2002-05-06 22:29 ` david20
2002-05-06 22:40 ` Michael Heiming
2002-05-07 14:10 ` Peter da Silva
2002-05-08 6:31 ` mnahkola
2002-05-06 21:21 ` Peter da Silva
2002-05-06 22:37 ` david20
2002-05-06 12:51 ` Bob Koehler
2002-05-06 21:25 ` Peter da Silva
2002-05-07 13:00 ` Bob Koehler
2002-05-07 13:51 ` Simon Waters
2002-05-07 14:03 ` Stefaan A Eeckels
2002-05-08 12:40 ` Bob Koehler
2002-05-08 14:04 ` Stefaan A Eeckels
2002-05-08 14:25 ` Dan Mercer
2002-05-08 22:16 ` Stefaan A Eeckels
2002-05-09 14:39 ` Dan Mercer
2002-05-09 21:41 ` Stefaan A Eeckels
2002-05-10 12:10 ` Volker Birk
2002-05-08 20:20 ` Bob Koehler
2002-05-08 21:07 ` Ken Green
2002-05-08 22:24 ` Stefaan A Eeckels
2002-05-09 14:42 ` Dan Mercer
2002-05-09 0:19 ` Peter da Silva
2002-05-09 12:55 ` Bob Koehler
2002-05-10 15:21 ` Peter da Silva
2002-05-13 13:17 ` Bob Koehler
2002-05-15 12:17 ` Peter da Silva
2002-05-10 12:07 ` Volker Birk
2002-05-07 15:30 ` Volker Birk
2002-05-07 16:54 ` Bill Todd
2002-05-07 23:12 ` Peter da Silva
2002-05-08 2:27 ` David J. Dachtera
2002-05-08 6:45 ` mnahkola
2002-05-08 13:04 ` Peter da Silva
2002-05-08 18:41 ` Bob Ceculski
2002-05-08 19:07 ` Ken Green
2002-05-09 2:54 ` Bill Todd
2002-05-09 7:53 ` Ken Green
2002-05-09 14:24 ` Bob Ceculski
2002-05-09 13:35 ` Bob Ceculski
2002-05-09 13:43 ` Ken Green
2002-05-10 11:31 ` Bob Ceculski
2002-05-10 11:49 ` Doc.Cypher
2002-05-10 13:20 ` Ken Green
2002-05-09 15:30 ` Bill Gunshannon
2002-05-08 19:27 ` Robert Gilster
2002-05-09 14:27 ` Bob Ceculski
2002-05-09 0:15 ` Peter da Silva
2002-05-09 14:28 ` Bob Ceculski
2002-05-09 0:42 ` Bill Gunshannon
2002-05-09 14:29 ` Bob Ceculski
2002-05-09 18:51 ` Bill Gunshannon
2002-05-09 2:05 ` Mike Coleman
2002-05-09 7:33 ` Paul Repacholi
2002-05-09 12:57 ` Peter da Silva
2002-05-10 13:47 ` Bob Koehler
2002-05-09 14:34 ` Bob Ceculski
2002-05-10 13:49 ` Bob Koehler
2002-05-10 15:04 ` Peter da Silva
2002-05-10 16:30 ` Rob Young
2002-05-11 1:26 ` Peter da Silva
2002-05-11 13:22 ` Bob Ceculski
2002-05-11 13:39 ` Doc.Cypher
2002-05-11 18:21 ` Bob Ceculski
2002-05-12 11:27 ` Doc.Cypher
2002-05-12 22:01 ` Bob Ceculski
2002-05-13 6:25 ` Doc.Cypher
2002-05-13 10:21 ` Andrew Harrison SUNUK Consultancy
2002-05-13 16:04 ` Bob Ceculski
2002-05-12 22:10 ` Bob Ceculski
2002-05-12 22:15 ` Bob Ceculski
2002-05-12 2:22 ` Peter da Silva
2002-05-10 12:13 ` Volker Birk
2002-05-10 17:18 ` Bob Ceculski
2002-05-03 22:56 ` Peter da Silva
2002-05-05 0:42 ` Glenn Everhart
2002-05-05 2:12 ` Bill Todd
2002-05-05 21:23 ` Peter da Silva
2002-05-17 11:41 ` Erikson Fsck
2002-05-05 4:22 ` John E. Malmberg
2002-05-03 19:00 ` Ken Green
2002-05-03 20:35 ` JF Mezei
2002-05-03 20:37 ` Ken Green
2002-05-04 1:41 ` JF Mezei
2002-05-04 13:28 ` John Smith
2002-05-04 15:45 ` phn
2002-05-06 12:27 ` Bob Koehler
2002-05-06 14:40 ` phn
2002-05-05 0:25 ` Rob Young
2002-05-10 11:19 ` Bob Ceculski
2002-05-10 11:26 ` Bob Ceculski
2002-05-10 12:21 ` Simon Waters
2002-05-10 12:35 ` Ken Green
2002-05-10 16:18 ` Andrew Harrison SUNUK Consultancy
2002-05-10 18:09 ` MPE "clusters" (Was: Re: Capellas: Linux, Windows Will 'Eviscerate' Unix) Jan-Erik Söderholm
2002-05-10 18:19 ` MPE "clusters" phn
2002-05-10 18:31 ` Jan-Erik Söderholm
2002-05-10 18:54 ` phn
2002-05-10 23:46 ` MPE "clusters" (Was: Re: Capellas: Linux, Windows Will 'Eviscerate' Unix) Bob Ceculski
2002-05-13 13:40 ` MPE "clusters" (Was: Re: Capellas: Linux, Windows Will 'Eviscerate' Bob Koehler
2002-05-23 8:36 ` Bob Marcan
2002-05-10 23:40 ` Capellas: Linux, Windows Will 'Eviscerate' Unix Bob Ceculski
2002-05-13 13:39 ` Bob Koehler
2002-05-14 17:03 ` Andrew Harrison SUNUK Consultancy
2002-05-14 19:37 ` Rob Young
2002-05-14 18:54 ` Bill Todd
2002-05-17 10:10 ` Andrew Harrison SUNUK Consultancy
2002-05-17 16:18 ` Bill Todd
2002-05-17 17:40 ` Rob Young
2002-05-17 17:53 ` Andrew Harrison SUNUK Consultancy
2002-05-14 19:10 ` Ken Green
2002-05-14 19:26 ` Bill Todd
2002-05-14 21:57 ` Ken Green
2002-05-14 23:02 ` Bill Todd
2002-05-15 9:30 ` Ken Green
2002-05-15 17:19 ` Bill Todd
2002-05-17 11:01 ` Ken Green
2002-05-17 16:31 ` Bill Todd
2002-05-17 19:22 ` Ken Green
2002-05-17 20:31 ` Bill Todd
2002-05-16 17:01 ` Paul Repacholi
2002-05-16 19:01 ` Bill Todd
2002-05-17 11:28 ` Andrew Harrison SUNUK Consultancy
2002-05-17 16:09 ` Bill Todd
2002-05-17 20:50 ` JF Mezei
2002-05-17 21:10 ` Bill Todd
2002-05-16 20:13 ` Ken Green
2002-05-17 8:40 ` Jan C. Vorbrüggen
2002-05-17 9:24 ` Ken Green
2002-05-17 19:47 ` Paul Repacholi
2002-05-18 1:55 ` Bill Todd
2002-05-18 16:50 ` Paul Repacholi [this message]
2002-05-18 20:20 ` Bill Todd
2002-05-21 10:37 ` Ken Green
2002-05-21 9:43 ` Ken Green
2002-05-21 21:04 ` Bill Todd
2002-05-22 8:17 ` Ken Green
2002-05-22 12:35 ` Bill Todd
2002-05-22 13:10 ` Ken Green
2002-05-18 0:35 ` Marty Kuhrt
2002-05-14 21:36 ` Rob Young
2002-05-15 8:43 ` Ken Green
2002-05-15 15:32 ` Rob Young
2002-05-15 15:27 ` Ken Green
2002-05-15 1:38 ` Bob Ceculski
2002-05-15 1:47 ` Bob Ceculski
2002-05-15 8:06 ` Ken Green
2002-05-15 16:29 ` Bill Todd
2002-05-17 11:32 ` Ken Green
2002-05-17 16:13 ` Bill Todd
2002-05-17 17:36 ` Adam Price
2002-05-17 17:43 ` Bill Todd
2002-05-17 19:03 ` Ken Green
2002-05-17 20:02 ` Bill Todd
2002-05-17 20:36 ` Ken Green
2002-05-15 14:46 ` Bob Koehler
2002-05-10 18:24 ` JF Mezei
2002-05-10 23:27 ` Paul Repacholi
2002-05-15 23:14 ` Bob Ceculski
2002-05-16 13:58 ` Andrew Harrison SUNUK Consultancy
2002-05-16 19:37 ` Bob Ceculski
2002-05-17 10:32 ` Andrew Harrison SUNUK Consultancy
2002-05-03 22:53 ` Peter da Silva
2002-05-05 6:56 ` Michael Heiming
2002-05-03 17:29 ` Bill Todd
2002-05-03 19:05 ` Dan Mercer
2002-05-04 1:36 ` JF Mezei
2002-05-03 23:07 ` Bob Ceculski
2002-05-04 7:47 ` Volker Birk
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox