From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,935052fb58fd63da X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-03-26 10:45:34 PST Newsgroups: comp.sys.dec Path: sparky!uunet!world!geoff From: geoff@world.std.com (Geoff Collyer) Subject: Re: Looking for faster fsck Message-ID: Organization: The World @ Software Tool & Die References: <1992Mar26.142221.26014@ee.gatech.edu> <1992Mar26.144806.10258@decuac.dec.com> Date: Thu, 26 Mar 1992 18:45:34 GMT mjr@hussar.dco.dec.com (Marcus J. Ranum) writes: >Fsck does its thing at its own good pace, and there's not much >you can do about it. If you've got multiple disks/controllers, you can >interleave the fscks by being careful about the pass numbers in fstab, >or use the "preen" program, which is a little smarter about interleaving >the fsck passes. Generally, though, fsck is necessary, and it's slow >by necessity, since it has to look all over your disk. Sorry, fsck need not be slow (or even as slow as it usually is). Even without a radical redesign, one can roughly double its speed by (a) reading in larger units and (b) not throwing away directory blocks casually. For more information, see %T A Faster fsck for BSD UNIX(TM) %A Eric J. Bina %A Perry A. Emrath %J Proc. Winter Usenix Conf. San Diego 1989 %D January 1989 %P 173-185 %K fsck file system check repair performance It's a nice piece of work and it's unfortunate that their code never seems to have been fed back to UCB nor AT&T. -- Geoff Collyer world.std.com!geoff, uunet.uu.net!geoff