Subject: Re: 160GB IDE Drives under NetBSD?
To: NetBSD/i386 Discussion List <port-i386@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: port-i386
Date: 03/23/2002 18:47:40
[ On Saturday, March 23, 2002 at 22:24:42 (+0100), Wojciech Puchar wrote: ]
> Subject: Re: 160GB IDE Drives under NetBSD?
>
> i mean average use like that:
> /dev/wd0a    19407477  6423251 12013852    34%  232755  400203    36%   /
> 
> making 2048 frags will waste about 512B*232755=about 115MB. but for 19GB
> FS i could live with that waste if it will speed things up much.

Just over 1/2 a percentage.  not a lot, but in a squeeze it's still a
lot of elbow room!  ;-)

On the other hand 160MB of unused sectors on a 160GB FS is a very tiny
fraction of the available space -- hardly what I'd call "wastage" under
any circumstances!  :-)

> > > (and waste more space)
> >
> > Which also depends on what you put on it too!  :-)
> >
> > I've been quite happy using "-b 16384  -f 2048" for squid filesystems,
> 
> squid has generally lots of small files.

a decent sized (eg. >20GB && <100GB) "public" access cache still has
files with ~15KB average size.

Some day I need to look at the distribution of sizes though....

> > but for source code, build products, etc., I'm happier with the default,
> > but I'd go up to 16k if I had to support a really large FS.
> 
> what is "large" for you?

The largest filesystems I regularly use and maintain are about 15-35GB
right now, but in most circumstances I would still consider anything
over about 10GB to be "large".  I don't do any multi-media work with
"very large" (i.e. >1GB) files though....  :-)

-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>