diff options
author | Shaohua Li <shaohua.li@intel.com> | 2011-12-16 14:00:31 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2011-12-16 14:00:31 +0100 |
commit | 274193224cdabd687d804a26e0150bb20f2dd52c (patch) | |
tree | f07a788183f2ac91b9b16295f8f146bd5b88fb96 /firmware | |
parent | 4a0b75c7d02c2bd46ed227d4ba5941ba8a0aba5d (diff) | |
download | op-kernel-dev-274193224cdabd687d804a26e0150bb20f2dd52c.zip op-kernel-dev-274193224cdabd687d804a26e0150bb20f2dd52c.tar.gz |
block: recursive merge requests
In my workload, thread 1 accesses a, a+2, ..., thread 2 accesses a+1,
a+3,.... When the requests are flushed to queue, a and a+1 are merged
to (a, a+1), a+2 and a+3 too to (a+2, a+3), but (a, a+1) and (a+2, a+3)
aren't merged.
With recursive merge below, the workload throughput gets improved 20%
and context switch drops 60%.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions