From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ae6b97a940d19885,start X-Google-Attributes: gidfee84,public From: mark@cita.toronto.edu (Mark Bartelt) Subject: advfs vs ufs performance Date: 1997/09/30 Message-ID: #1/1 X-Deja-AN: 276847597 Sender: nntp@utcc.utoronto.ca (News) Reply-To: mark@cita.utoronto.ca X-Nntp-Posting-Host: rorqual.cita.utoronto.ca Organization: Canadian Institute for Theoretical Astrophysics Newsgroups: comp.unix.osf.osf1 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