Re: Change PAGE_SIZE from minimum 4k to 12k

From: Lennart Sorensen
Date: Tue May 16 2017 - 12:53:16 EST


On Tue, May 16, 2017 at 11:27:08AM -0400, Kevin McKinney wrote:
> Hi Everyone,
>
> Would it be possible to have a custom block device driver read/write
> in increments of 12k instead of reading/writing data in 4k increments?
> In other words, I would like to change the default page size on a
> x86_64 platform (4.4.0 kernel) from 4k to 12k as the minimum page
> size? I understand I may have negative performance due to
> fragmentation. Any help would be appreciated.
>
> If this is the wrong mailing list, please let me know the right one to use.

I believe the answer is no.

x86 supports page sizes of 4K, 2M and 1G. I don't believe anything else
is possible with the hardware.

The page size is not a software invention.

--
Len Sorensen