mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
df30f56639
Some disks with internal sectors larger than 512 bytes (e.g., 4k) can suffer from bad write performance when ashift is not configured correctly. This is caused by the disk not reporting its actual sector size, but a sector size of 512 bytes. The drive may behave this way for compatibility reasons. For example, the WDC WD20EARS disks are known to exhibit this behavior. When creating a zpool, ZFS takes that wrong sector size and sets the "ashift" property accordingly (to 9: 1<<9=512), whereas it should be set to 12 for 4k sectors (1<<12=4096). This patch allows an adminstrator to manual specify the known correct ashift size at 'zpool create' time. This can significantly improve performance in certain cases. However, it will have an impact on your total pool capacity. See the updated ashift property description in the zpool.8 man page for additional details. Valid values for the ashift property range from 9 to 17 (512B-128KB). Additionally, you may set the ashift to 0 if you wish to auto-detect the sector size based on what the disk reports, this is the default behavior. The most common ashift values are 9 and 12. Example: zpool create -o ashift=12 tank raidz2 sda sdb sdc sdd Closes #280 Original-patch-by: Richard Laager <rlaager@wiktel.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
Brian Behlendorf is the principle developer of the ZFS on Linux port.
|
|
He works full time as a computer scientist at Lawrence Livermore
|
|
National Laboratory on the ZFS and Lustre filesystems. However,
|
|
this port would not have been possible without the help of many
|
|
others who have contributed their time, effort, and insight.
|
|
|
|
Brian Behlendorf <behlendorf1@llnl.gov>
|
|
|
|
First and foremost the hard working ZFS developers at Sun/Oracle.
|
|
They are responsible for the bulk of the code in this project and
|
|
without their efforts there never would have been a ZFS filesystem.
|
|
|
|
The ZFS Development Team at Sun/Oracle
|
|
|
|
Next all the developers at KQ Infotech who implemented a working
|
|
ZFS Posix Layer (ZPL) for this port. Their implementation provided
|
|
an excellent reference for adding the missing ZPL functionality.
|
|
|
|
Anand Mitra <mitra@kqinfotech.com>
|
|
Anurag Agarwal <anurag@kqinfotech.com>
|
|
Neependra Khare <neependra@kqinfotech.com>
|
|
Prasad Joshi <prasad@kqinfotech.com>
|
|
Rohan Puri <rohan@kqinfotech.com>
|
|
Sandip Divekar <sandipd@kqinfotech.com>
|
|
Shoaib <shoaib@kqinfotech.com>
|
|
Shrirang <shrirang@kqinfotech.com>
|
|
|
|
Additionally the following individuals have all made contributions
|
|
to the project and deserve to be acknowledged.
|
|
|
|
Ricardo M. Correia <Ricardo.M.Correia@sun.com>
|
|
Ned Bass <bass6@llnl.gov>
|
|
Herb Wartens <wartens2@llnl.gov>
|
|
Jim Garlick <garlick@llnl.gov>
|
|
Manuel Amador (Rudd-O) <rudd-o@rudd-o.com>
|
|
Gunnar Beutner <gunnar@beutner.name>
|
|
Darik Horn <dajhorn@vanadac.com>
|
|
Richard Laager <rlaager@wiktel.com>
|
|
Christian Kohlschütter <christian@kohlschutter.com>
|