From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753366AbdEPQxM (ORCPT ); Tue, 16 May 2017 12:53:12 -0400 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:54142 "EHLO caffeine.csclub.uwaterloo.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751845AbdEPQxK (ORCPT ); Tue, 16 May 2017 12:53:10 -0400 X-Greylist: delayed 403 seconds by postgrey-1.27 at vger.kernel.org; Tue, 16 May 2017 12:53:10 EDT Date: Tue, 16 May 2017 12:46:26 -0400 To: Kevin McKinney Cc: linux-kernel@vger.kernel.org Subject: Re: Change PAGE_SIZE from minimum 4k to 12k Message-ID: <20170516164626.GA9217@csclub.uwaterloo.ca> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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