Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mark@cita.toronto.edu (Mark Bartelt)
Subject: advfs vs ufs performance
Date: 1997/09/30	[thread overview]
Message-ID: <EHC9Iw.J9p@utcc.utoronto.ca> (raw)


The other day, I installed a Seagate 23 GByte drive on one of our
DUnix boxes.  I have it partitioned into two 11 GByte chunks, so
that I can be guaranteed of being able to backup a filesystem on
our 15 GByte DLT drive and have it fit on a single tape.

Just for fun, I decided to see how well AdvFS would perform, in
comparison to UFS.  In the past, I'd heard anecdotal reports of
somewhat poorer performance with AdvFS.

Well, it turns out that, at least for the trivial tests I tried,
AdvFS is a big win.  When copying a full 1.5 GByte filesystem to
an empty filesystem on the new disk by ...

 ( cd /old/disk; tar cf - . ) | ( cd /new/disk; time tar xf - )

... AdvFS finished in less than half the time (closer to 2.5 times
UFS's speed, actually).  And, for doing ...

 cd /new/disk
 rm -rf *

... AdvFS was more than six times as fast!

This brings up some obvious questions:

(1)  Has Digital done a lot of work in making AdvFS faster?  (The
reports of the alleged poor performance were back in the 3.2 days.)

(2)  Or does the relative performance of the two filesystems depend
a lot on filesystem size?  (I.e. does AdvFS perform better than UFS
on big filesystems by a larger factor than it does on small ones?)

The other thing that occurred to me is the fact that I initialized
the UFS filesystem with "newfs -m 1 ...", since it seemed silly to
waste the default 10% of a disk that large.  Presumably if I'd used
a larger "-m" value, the UFS filesystem would have performed better.
But by how much?

If anyone knows of any studies which look at filesystem performance
(of UFS, AdvFS, or both) as a function of filesystem size, and (in
the case of UFS) parameter settings such as "-m", I'd be interested
to get a pointer to where they live.  Many thanks.

Mark Bartelt                                           416/978-5619
Canadian Institute for                        mark@cita.utoronto.ca
Theoretical Astrophysics          http://www.cita.utoronto.ca/~mark

"Nur eine Waffel taugt!"     --     Parsifal, in an Eggo commercial



             reply	other threads:[~1997-09-30  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-30  4:00 Mark Bartelt [this message]
1997-10-01  4:00 ` advfs vs ufs performance Jack Patteeuw
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