diff options
author | smh <smh@FreeBSD.org> | 2013-03-29 22:58:15 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2013-03-29 22:58:15 +0000 |
commit | fc36a232b91d6ddc6b7d1429049d052764181391 (patch) | |
tree | bb7d2f8108f86f3417b00d4bf9c025cf6f66ae71 /sys/mips | |
parent | 35fe5219abd995454f3d1279b840072f555159c3 (diff) | |
download | FreeBSD-src-fc36a232b91d6ddc6b7d1429049d052764181391.zip FreeBSD-src-fc36a232b91d6ddc6b7d1429049d052764181391.tar.gz |
Adds the ability to enable / disable sorting of BIO requests queued within
CAM. This can significantly improve performance particularly for SSDs
which don't suffer from seek latencies.
The sysctl / tunable kern.cam.sort_io_queues provides the systems default
setting where:-
0 = queued BIOs are NOT sorted
1 = queued BIOs are sorted (default)
Each device gets its own sysctl kern.cam.<type>.<id>.sort_io_queue
Valid values are:-
-1 = use system default (default)
0 = queued BIOs are NOT sorted
1 = queued BIOs are sorted
Note: Additional patch will look to add automatic use of none sorted queues
for none rotating media e.g. SSD's
Reviewed by: scottl
Approved by: pjd (mentor)
MFC after: 2 weeks
Diffstat (limited to 'sys/mips')
0 files changed, 0 insertions, 0 deletions