lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53CD7BE2.3040909@tlinx.org>
Date:	Mon, 21 Jul 2014 13:45:22 -0700
From:	Linda Walsh <lkml@...nx.org>
To:	Dave Chinner <david@...morbit.com>
CC:	Linux-Kernel <linux-kernel@...r.kernel.org>
Subject: Re: Howto tell kernel to use 4096 as granularity & minimum size?

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.




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ