On 11/4/2014 2:28 PM, Chris H wrote:
On Tue, 04 Nov 2014 13:21:31 -0800 "Chris H" <bsd-li...@bsdforge.com> wrote
gpart(8) -a gives you what you need. If it's truly as bad as all that,
mounting the ports tree on a 512k aligned slice will reduce the "slack"
ahem...
that was s/512k/512b/g

The issue of 512b sector storage media going underlies this discussion. 4k drives are the new typical. Flash uses even larger block sizes. Using an alignment of less than one sector yields significant performance penalties when doing small reads or writes.

The on-disk size of the ports tree more than doubles when using 4k blocks because all those files use 4k to store what often fits in 512b. Cutting down the number of files has wide-reaching performance gains with subversion as well.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to