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%2BtpaK3WUrP3ryuHfw61RvLft0-NUEbQFrkF22g6sT%2BfbJLrCA@mail.gmail.com>
References:  <CA%2BtpaK3WUrP3ryuHfw61RvLft0-NUEbQFrkF22g6sT%2BfbJLrCA@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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A06FB65D-B42E-4A51-94BE-4BB1CB213EBE>