HomeFreeBSD

Disable LBA weighting on files and SSDs

Description

Disable LBA weighting on files and SSDs

The LBA weighting makes sense on rotational media where the outer tracks
have twice the bandwidth of the inner tracks. However, it is detrimental
on nonrotational media such as solid state disks, where the only effect
is to ensure that metaslabs enter the best-fit allocation behavior
sooner, which is detrimental to performance. It also makes no sense on
files where the underlying filesystem can arrange things however it
wants.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3712

Details

Provenance
Richard Yao <ryao@gentoo.org>Authored on Aug 29 2015, 4:01 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 1 2015, 10:22 PM
Parents
rGcafbd2aca3fd: Check for RW_WRITE_HELD in zfs_inactive
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGfb40095f5f08: Disable LBA weighting on files and SSDs (authored by Richard Yao <ryao@gentoo.org>).Sep 1 2015, 10:22 PM