Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1642614 > unrolled thread

Change PAGE_SIZE from minimum 4k to 12k

Started byKevin McKinney <klmckinney1@gmail.com>
First post2017-05-16 17:30 +0200
Last post2017-05-16 19:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  Change PAGE_SIZE from minimum 4k to 12k Kevin McKinney <klmckinney1@gmail.com> - 2017-05-16 17:30 +0200
    Re: Change PAGE_SIZE from minimum 4k to 12k lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2017-05-16 19:00 +0200

#1642614 — Change PAGE_SIZE from minimum 4k to 12k

FromKevin McKinney <klmckinney1@gmail.com>
Date2017-05-16 17:30 +0200
SubjectChange PAGE_SIZE from minimum 4k to 12k
Message-ID<tHMA9-7kQ-7@gated-at.bofh.it>
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.

-- 
Thanks,
Kevin

[toc] | [next] | [standalone]


#1642680

Fromlsorense@csclub.uwaterloo.ca (Lennart Sorensen)
Date2017-05-16 19:00 +0200
Message-ID<tHNZg-84e-19@gated-at.bofh.it>
In reply to#1642614
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web