Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 1998 12:24:46 +0930
From:      Greg Lehey <grog@lemis.com>
To:        francisco@natserv.com
Cc:        freebsd-fs@FreeBSD.ORG
Subject:   Re: Optimizing space utilization
Message-ID:  <19981011122446.P3369@freebie.lemis.com>
In-Reply-To: <199810110250.WAA20883@federation.addy.com>; from Francisco Reyes on Sat, Oct 10, 1998 at 10:50:47PM -0000
References:  <19981010153725.T3369@freebie.lemis.com> <199810110250.WAA20883@federation.addy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 10 October 1998 at 22:50:47 -0000, Francisco Reyes wrote:
>
> On 10-Oct-98 Greg Lehey wrote:
>>> If I know how many files I have for a fs I am trying to see if space
>>> could be saved by using less inodes.
>>
>> None.  You need exactly one inode per file.
>
> I didn't phrase that question properly.
> What I meant was: if I do a newfs and create less inodes, will I save any
> space.

Yes.

> Today I was able to check.
> On a 1 Gig partition by using 1/4 the number of inodes (sent -i 16384 to
> newfs) I was able to save a little over 30MB. A 3% saving. :-)
> I was still left with over 64K inodes, which I doubt I will use.

Interesting.  At 262 bytes per inode, I'd only expect a saving of
about 12 MB.

> Thanks for the reference to the paper in /usr/share/doc/...fastfs
> Also found another paper in the "papers" directory which relates to
> performance.

You're welcome

> Those should make good subway reading. :-)

It would be interesting what people looking over your shoulder would
think :-)

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981011122446.P3369>