|
|

08-14-2008, 01:33 PM
|
|
|
small blocks
I am trying to understand what the purpose of having small blocks per
inode. I know you can cram more inodes per filesystem, but what is the
downside?
TIA
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
|
|

08-14-2008, 02:49 PM
|
|
|
small blocks
Mag Gam wrote:
> I am trying to understand what the purpose of having small blocks per
> inode. I know you can cram more inodes per filesystem,
the main result is that you waste less space per file, since for
randomly-sized files you waste half a block(size) per file.
> but what is the
> downside?
More overhead for management, and more importantly, I still think there
is a bug lurking somewhere with block size < page size (rpm tends to hit
it for some people).
-Eric
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
|
|

08-15-2008, 12:21 PM
|
|
|
small blocks
Hmm, I am wasting less space when I lower the ratio from 4096 to 1024
(the minimum). Why don't more people do this, since its frugal.
I guess your point of more overhead, but what causes more overhead?
Also, do you have the buzilla number I can investigate for this?
Sorry for such a newbie question.
TIA
On Thu, Aug 14, 2008 at 9:49 AM, Eric Sandeen <sandeen@redhat.com> wrote:
> Mag Gam wrote:
>> I am trying to understand what the purpose of having small blocks per
>> inode. I know you can cram more inodes per filesystem,
>
> the main result is that you waste less space per file, since for
> randomly-sized files you waste half a block(size) per file.
>
>> but what is the
>> downside?
>
> More overhead for management, and more importantly, I still think there
> is a bug lurking somewhere with block size < page size (rpm tends to hit
> it for some people).
>
> -Eric
>
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
|
|

08-15-2008, 02:53 PM
|
|
|
small blocks
Mag Gam wrote:
> Hmm, I am wasting less space when I lower the ratio from 4096 to 1024
> (the minimum). Why don't more people do this, since its frugal.
> I guess your point of more overhead, but what causes more overhead?
> Also, do you have the buzilla number I can investigate for this?
>
> Sorry for such a newbie question.
Now that I reread, perhaps I gave you the wrong answer anyway.
Are you talking about the -i or the -b option?
-Eric
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
|
|

08-16-2008, 12:07 AM
|
|
|
small blocks
Asking about the -i options.
-i bytes-per-inode
The man page states, "This value generally shouldn't be smaller than
the blocksize of the filesystem, since then too many inodes will be
made."
So, whats the problem of having too many inodes
On Fri, Aug 15, 2008 at 9:53 AM, Eric Sandeen <sandeen@redhat.com> wrote:
> Mag Gam wrote:
>> Hmm, I am wasting less space when I lower the ratio from 4096 to 1024
>> (the minimum). Why don't more people do this, since its frugal.
>> I guess your point of more overhead, but what causes more overhead?
>> Also, do you have the buzilla number I can investigate for this?
>>
>> Sorry for such a newbie question.
>
> Now that I reread, perhaps I gave you the wrong answer anyway.
>
> Are you talking about the -i or the -b option?
>
> -Eric
>
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
|
|

08-16-2008, 12:11 AM
|
|
|
small blocks
Mag Gam wrote:
> Asking about the -i options.
>
> -i bytes-per-inode
>
> The man page states, "This value generally shouldn't be smaller than
> the blocksize of the filesystem, since then too many inodes will be
> made."
>
> So, whats the problem of having too many inodes
You waste space on unused inodes.
And the problem of not having _enough_ is, you can't make new files even
when you have lots of blocks free, and you can't change that after the
fact. It's one of the drawbacks of not dynamically allocating inodes.
-Eric
_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
|
|
|
All times are GMT. The time now is 01:56 AM.
VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org
|