From: Linda Walsh <lkml@tlinx.org>
To: Dave Chinner <david@fromorbit.com>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Howto tell kernel to use 4096 as granularity & minimum size?
Date: Mon, 21 Jul 2014 13:45:22 -0700 [thread overview]
Message-ID: <53CD7BE2.3040909@tlinx.org> (raw)
In-Reply-To: <20140720222818.GM4453@dastard>
Dave Chinner wrote:
>
>> I can partition the disk and setup the allocation size
>> to 4096, but I'd like to tell the kernel to use a
>> virtual-size of 4096 for the sector as an additional
>> performance 'hint', so nothing will even try to use
>> smaller i/o's than that.
>>
>
> Just format the filesystem with 4k sector size.
---
Good idea, though.. I wanted to set it for the whole "disk"(array)
as it (multiple 4T drives) will be subdivided into multiple filesystems
and have lvm and a partition table under the file system(s),
so telling the kernel to only do 4K alloc+io's to the whole thing
would cover the most with the least.
next prev parent reply other threads:[~2014-07-21 20:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-20 18:47 Howto tell kernel to use 4096 as granularity & minimum size? Linda A. Walsh
2014-07-20 22:28 ` Dave Chinner
2014-07-21 20:45 ` Linda Walsh [this message]
2014-07-23 13:17 ` One Thousand Gnomes
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=53CD7BE2.3040909@tlinx.org \
--to=lkml@tlinx.org \
--cc=david@fromorbit.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