From owner-cvs-all Mon Dec 10 10:46:48 2001 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 7F71E37B417; Mon, 10 Dec 2001 10:46:40 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id fBAIkee47815; Mon, 10 Dec 2001 10:46:40 -0800 (PST) (envelope-from dillon) Date: Mon, 10 Dec 2001 10:46:40 -0800 (PST) From: Matthew Dillon Message-Id: <200112101846.fBAIkee47815@apollo.backplane.com> To: Maxim Sobolev Cc: Sheldon Hearn , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/newfs newfs.8 References: <200111271953.fARJrFc88452@freefall.freebsd.org> <3C10F171.FEE996EB@FreeBSD.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :This is very questionable topic, at least from the space efficience :POV. For example, I found that on my development system using 16:2 :(5-CURRENT, /usr/ports + /usr/src) some 300MB are wasted in fragments :compared with the same partition formatted with 8:1. I would suggest :to extend this para explaining that 16:2 could result in a huge space :wastage when there are large number of small files on the fs (such as :/usr/ports or /usr/src) and 8:1 is better suited for such cases. : : :-Maxim Interesting. I just ran a test using VN for /usr/ports: Filesystem 1K-blocks Used Avail Capacity Mounted on (512/4K) /dev/vn0c 3943361 114700 3513193 3% /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on (1K/8K) /dev/vn0c 4065694 154837 3585602 4% /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on (2K/16K) /dev/vn0c 4129310 251300 3547666 7% /mnt So /usr/ports alone will eat 100MB of additional disk space on a 2K/16K filesystem, which is quite significant. /usr/src has these characteristics: Filesystem 1K-blocks Used Avail Capacity Mounted on (1K/8K) /dev/vn0c 4065694 1002597 2737842 27% /mnt Filesystem 1K-blocks Used Avail Capacity Mounted on (2K/16K) /dev/vn0c 4129310 1046374 2752592 28% /mnt /usr/src isn't so bad in my test, only 44 MBytes larger, which makes sense because the average file size is larger then 1K anyway (so 2K/16K wins over 1K/8K for files > 1K and < 2K in size). I didn't think /usr/ports would lose so badly. It is definitely food for thought. But I also think that /usr/src validates our prior discussion for 'general purpose' filesystems. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message