Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 18:22:21 -0800
From:      Charles Swiger <cswiger@mac.com>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        FreeBSD - <freebsd-questions@freebsd.org>
Subject:   Re: 4k sectors
Message-ID:  <A06FB65D-B42E-4A51-94BE-4BB1CB213EBE@mac.com>
In-Reply-To: <CA+tpaK3WUrP3ryuHfw61RvLft0-NUEbQFrkF22g6sT+fbJLrCA@mail.gmail.com>
References:  <CA+tpaK3WUrP3ryuHfw61RvLft0-NUEbQFrkF22g6sT+fbJLrCA@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi--

On Nov 28, 2013, at 1:51 PM, Adam Vande More <amvandemore@gmail.com> =
wrote:
> Is there an easy method to find out the space wasted by using 4k vs =
512?

Internal fragmentation wastes half of the smallest logical sector size =
(ie, 512 bytes in 8 fragments per 4K block is or was typical for UFS) =
times the number of files on the filesystem.  The hardware sector size =
isn't directly relevant, unless you've changed the filesystem tuning to =
match up logical sector size with the physical sector size...although =
doing such is usually beneficial.

Regards,
--=20
-Chuck




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?A06FB65D-B42E-4A51-94BE-4BB1CB213EBE>