Date: Tue, 22 Oct 2002 10:48:14 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: BigBrother <bigbrother@bonbon.net> Cc: questions@FreeBSD.ORG Subject: Re: What do you do about your FFS fragmention? Message-ID: <20021022094814.GA8138@happy-idiot-talk.infracaninophi> In-Reply-To: <20021022120108.Q212-100000@bigb3server.bbcluster.gr> References: <20021022120108.Q212-100000@bigb3server.bbcluster.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 22, 2002 at 12:06:33PM +0300, BigBrother wrote: > > > I know how the FFS (filesystem) works, and that it really does an excelent > job in allocating clusters as local as possible. But it is also true that after > some period of extensive use of it, the filesystem get fragmented, and > results in severe degration of speed. > > One way is to dump/restore everything which is very painfull thing. > > ------- > So, what do you do [except dump/restore] to defrag the FFS after some time > of extensive use? Or you dont care for the degration in speed? Nope. You're thinking of Windows filesystems. So long as you don't fill a filesystem to 100% or more, it will have sufficient space reserved to be able to automatically defragment itself. No user intervention required. If you're seeing a gradual performance degradation over time on FreeBSD it's more likely some other factor. You can check the degree of fragmentation on a filesystem by rebooting to single user and running fsck(8) on the unmounted filesystems. For a typical filesystem you should see something less that the 1% mark. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021022094814.GA8138>