2008-06-03 17:00:53

by Thomas King

[permalink] [raw]
Subject: Block size limited to Linux page size?

To fill in one piece of information, I'm reading the maximum block size can be
limited by the Linux page size, 4K on x86. Is this true in ext4?

I know this is a basic question, so thanks for humoring me.
Tom King


2008-06-03 17:10:31

by Eric Sandeen

[permalink] [raw]
Subject: Re: Block size limited to Linux page size?

Thomas King wrote:
> To fill in one piece of information, I'm reading the maximum block size can be
> limited by the Linux page size, 4K on x86. Is this true in ext4?
>
> I know this is a basic question, so thanks for humoring me.
> Tom King

Generally, yes.

There are patches:

ftp://ftp.kernel.org/pub/linux/kernel/people/christoph/largeblocksize/4/patches/

but I'm not sure what the current state of all that is, honestly...

Before it's discussed as a limitation though it'd be interesting to see
some recent benchmarks on how much it might actually matter.

>From some reports:
http://kerneltrap.org/Linux/Large_Blocksize_Performance

it may indeed help.

-Eric