From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 23:29:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71FC816A402 for ; Thu, 1 Mar 2007 23:29:35 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 41E8713C474 for ; Thu, 1 Mar 2007 23:29:34 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HMuJX-0002yH-75 for freebsd-questions@freebsd.org; Fri, 02 Mar 2007 00:03:56 +0100 Received: from 83-131-168-30.adsl.net.t-com.hr ([83.131.168.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Mar 2007 00:03:55 +0100 Received: from ivoras by 83-131-168-30.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Mar 2007 00:03:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 01 Mar 2007 23:56:30 +0100 Lines: 53 Message-ID: References: <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com> <20070301165055.638b0a06.wmoran@collaborativefusion.com> <44r6s8y4o5.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8915B63AE6E6CAA5EB45A56A" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-168-30.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <44r6s8y4o5.fsf@be-well.ilk.org> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: defrag X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 23:29:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8915B63AE6E6CAA5EB45A56A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Lowell Gilbert wrote: > If you know the standard computer science terminology, it can be > described quite tersely. UFS fragmentation is a way of avoiding > internal fragmentation from wasting too much space. MS-DOS-FS > fragmentation is an example of external fragmentation in the storage > space. They don't really have anything to do with each other. It looks like I actually AM arguing about semantics here: "UFS fragmentation" refers to dividing blocks (e.g. 16KB in size) into block fragments (e.g. 2KB in size) that can be allocated separately in special circumstances (which all boil down to: at the end of files). This is done to lessen the effect of internal fragmentation. "Fragmentation" without "UFS" prefix, as mostly used today (and which I believe it's how the original poster understands it) refers to dividing files into non-continuous regions, i.e. external fragmentation. Correct so far? "% fragmentation" message from fsck cannot refer to internal fragmentation as the numbers don't add up, so it almost certainly refers to external fragmentation. As I understand it from technical documentation, it is correct that UFS deliberately does external fragmentation of large files in order to make file allocation faster and more managable, except in "optimized for space" mode, correct? (the default being "optimized for time"). --------------enig8915B63AE6E6CAA5EB45A56A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF51oeldnAQVacBcgRAhTAAKDIAL//DkUy2ANBwJ9mwQ5VD79NKQCgka2Z qHYw5/qfE+JiM62u69MI/qs= =UzmN -----END PGP SIGNATURE----- --------------enig8915B63AE6E6CAA5EB45A56A--