From: "Bill Todd" <billtodd@foo.mv.com>
Subject: Re: Win for Sun at SmithKline Beecham
Date: 2000/05/17 [thread overview]
Message-ID: <8fun0u$jml$1@pyrite.mv.net> (raw)
In-Reply-To: DTiotGxQ0bj6-pn2-4d7gjJgpctDZ@localhost
Dave Weatherall <djweath@attglobal.net> wrote in message
news:DTiotGxQ0bj6-pn2-4d7gjJgpctDZ@localhost...
> On Sun, 16 May 3900 12:02:34, "Bill Todd" <billtodd@foo.mv.com> wrote:
>
> > Since VMS already supports write-back caching at the process level, it's
> > already 'as unreliable as Unix', just less approachable (especially for
> > those used to Unix mechanisms).
>
> Bill
> I'm not a wizard at this at all but I was under the impression
> that a large part of the write-back cache performance gains that could
> _still_ be made, would come from the W/B cache on the drive itself.
That's true, but turning on write-back caching at the drive changes the
semantics for *everyone*, rather than just for the applications that want
it.
I think SCSI allows one to specify on a per-request basis whether a write
request should be 'written through' to the drive even if write-back caching
is enabled, but there's no current mechanism for getting this information
from the application down through the file system to the driver (nor do I
know whether this option is available on other - e.g., IDE - drives, and
their price/performance makes them a popular alternative in many
situations). The file system could preserve the integrity of its own
internal structures by using this SCSI option and allowing SCSI drive-level
write-back cache to be enabled, but this would not address the overhead
incurred by writing-through such structural changes rather than writing them
back in a controlled manner nor would it allow applications a choice for
their own user data writes (unless a new option were added to the QIO
mechanism indicating that write-back was acceptable, which would preserve
current behavior as the default). But there are still a few ordering issues
between user data and structural changes (e.g., ensuring that user data has
been written before advancing EOF) that must be handled at the file system
rather than the disk level.
With a reasonably full-featured file system, drive-level write-back caching
is generally useful only for drives dedicated to specific applications that
are prepared to deal with that situation - and even then there's usually not
that much to be gained over maintaining the write-back cache in system
memory. With a file system that provides more limited options over how
writes are handled, the disk-level feature may be more useful.
>
> I seem to remember that whenever the subject comes up :-
>
> 'Why does VMS need SCSI disks without W/B cache?' or
> 'Why does VMS always turn disk level W/B cache off?'
>
> the answer is Integrity. As you suggest, VMS itself handles the cache
> and organisation of I/O relatively well and speedily. That, I presume,
> is why READS on VMS have been shown to be as quick as READS on Unix on
> comparable, and even different, hardware (IIRC).
>
> At the application level, we've always had the opportunity to do
> asynchronous I/O on VMS so perhaps we've had less need to worry about
> absolute performance.
The issue here involves application - and system - throughput as well as
simple operation latency. In situations where up-to-the-second guaranteed
data persistence is not required by an application, ODS-x often performs
considerably more disk accesses than would occur if it gathered multiple
updates to the same data (including file headers as well as
frequently-updated user blocks) and wrote them out in single write requests.
- bill
Then again, I've never a written a Unix-Specific
> program in my life yet, though I have helped a few times and was not
> always impressed, which might have had more to do with the individuals
> concerned than the OS itself.
>
> Cheers - Dave.
>
next prev parent reply other threads:[~2000-05-17 4:00 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-12 4:00 Win for Sun at SmithKiline Beecham drobertsjr
2000-05-12 4:00 ` Dave Gudewicz
2000-05-13 4:00 ` Larry Kilgallen
2000-05-13 4:00 ` Terry C. Shannon
2000-05-13 4:00 ` Brian Schenkenberger, VAXman-
2000-05-13 4:00 ` Chris Hedley
2000-05-15 4:00 ` Tim Llewellyn
2000-05-14 4:00 ` Chris Quayle
2000-05-14 4:00 ` Bill Todd
2000-05-14 4:00 ` Roger Barnett
2000-05-14 4:00 ` Malcolm Dunnett
2000-05-15 4:00 ` Larry Kilgallen
2000-05-14 4:00 ` Terry C. Shannon
2000-05-14 4:00 ` Bill Todd
2000-05-15 4:00 ` Bruce Vinson
2000-05-17 4:00 ` Andrew (Was: Re: Win for Sun at SKB) Robert Young
[not found] ` <2000May15.122132@ebi.ac.uk>
2000-05-15 4:00 ` Win for Sun at SmithKline Beecham Bill Todd
2000-05-16 4:00 ` Tim Llewellyn
2000-05-16 4:00 ` David Mathog
2000-05-16 4:00 ` Bill Todd
2000-05-16 4:00 ` Terry Kennedy
2000-05-16 4:00 ` Bill Todd
2000-05-17 4:00 ` Dave Weatherall
2000-05-17 4:00 ` Bill Todd [this message]
2000-05-17 4:00 ` Stephen E. Halpin
2000-05-17 4:00 ` Bill Todd
2000-05-17 4:00 ` Bill Todd
[not found] ` <8g72ff$97l$1@panix3.panix.com>
2000-05-23 4:00 ` Rick Murphy
2000-05-23 4:00 ` David Schmitt
2000-05-24 4:00 ` Rick Murphy
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