mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: Kevin McKinney <klmckinney1@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Change PAGE_SIZE from minimum 4k to 12k
Date: Tue, 16 May 2017 12:46:26 -0400	[thread overview]
Message-ID: <20170516164626.GA9217@csclub.uwaterloo.ca> (raw)
In-Reply-To: <CAKPrQY9Sz739wS5UO42oFh5zSL6VQbxEY6qxgnB74wPE7a4-ig@mail.gmail.com>

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

  reply	other threads:[~2017-05-16 16:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16 15:27 Kevin McKinney
2017-05-16 16:46 ` Lennart Sorensen [this message]
2017-05-25 17:05 ` Pavel Machek
2017-05-25 20:08   ` Alan Cox
2017-05-25 21:02     ` Kevin McKinney
2017-05-25 21:55       ` Pavel Machek
2017-05-26 13:14         ` Kevin McKinney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170516164626.GA9217@csclub.uwaterloo.ca \
    --to=lsorense@csclub.uwaterloo.ca \
    --cc=klmckinney1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®