From owner-freebsd-questions@FreeBSD.ORG Fri Nov 29 03:22:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 611BC40C for ; Fri, 29 Nov 2013 03:22:38 +0000 (UTC) Received: from st11p05mm-asmtp002.mac.com (st11p05mm-asmtpout005.mac.com [17.172.108.250]) by mx1.freebsd.org (Postfix) with ESMTP id 36DEA1907 for ; Fri, 29 Nov 2013 03:22:37 +0000 (UTC) Received: from [17.149.227.8] (unknown [17.149.227.8]) by st11p05mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0MX00099V6L99DB0@st11p05mm-asmtp002.mac.com> for freebsd-questions@freebsd.org; Fri, 29 Nov 2013 02:22:22 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.72,1.0.14,0.0.0000 definitions=2013-11-28_08:2013-11-28,2013-11-28,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1311280240 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: 4k sectors From: Charles Swiger In-reply-to: Date: Thu, 28 Nov 2013 18:22:21 -0800 Content-transfer-encoding: quoted-printable Message-id: References: To: Adam Vande More X-Mailer: Apple Mail (2.1822) Cc: FreeBSD - X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 03:22:38 -0000 Hi-- On Nov 28, 2013, at 1:51 PM, Adam Vande More = 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