summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-06-28 21:32:27 +0200
committerJens Axboe <axboe@kernel.dk>2013-06-28 21:32:27 +0200
commita6b3f7614ca690e49e934c291f707b0c19312194 (patch)
tree1b22a33b78bafcfca8eb7509b7104eaff3b0ab99 /Documentation
parenta5faeaf9109578e65e1a32e2a3e76c8b47e7dcb6 (diff)
downloadlinux-a6b3f7614ca690e49e934c291f707b0c19312194.tar.bz2
block: Reserve only one queue tag for sync IO if only 3 tags are available
In case a device has three tags available we still reserve two of them for sync IO. That leaves only a single tag for async IO such as writeback from flusher thread which results in poor performance. Allow async IO to consume two tags in case queue has three tag availabe to get a decent async write performance. This patch improves streaming write performance on a machine with such disk from ~21 MB/s to ~52 MB/s. Also postmark throughput in presence of streaming writer improves from 8 to 12 transactions per second so sync IO doesn't seem to be harmed in presence of heavy async writer. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions