summary refs log tree commit diff stats
path: root/scripts/qemugdb/timers.py
diff options
context:
space:
mode:
authorTim Smith <tim.smith@citrix.com>2018-12-12 11:16:24 +0000
committerAnthony PERARD <anthony.perard@citrix.com>2019-01-14 13:45:40 +0000
commit6de45f91096da4d5e91f72a21bdfc86e7b506b67 (patch)
treefea0ecb0771a13851c064a6132cf829737a1c8fa /scripts/qemugdb/timers.py
parent1077bcaccd6596ce6ccc67eee8b2c1bab112fa68 (diff)
downloadfocaccia-qemu-6de45f91096da4d5e91f72a21bdfc86e7b506b67.tar.gz
focaccia-qemu-6de45f91096da4d5e91f72a21bdfc86e7b506b67.zip
xen-block: improve batching behaviour
When I/O consists of many small requests, performance is improved by
batching them together in a single io_submit() call. When there are
relatively few requests, the extra overhead is not worth it. This
introduces a check to start batching I/O requests via blk_io_plug()/
blk_io_unplug() in an amount proportional to the number which were
already in flight at the time we started reading the ring.

Signed-off-by: Tim Smith <tim.smith@citrix.com>

Re-based and commit comment adjusted.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'scripts/qemugdb/timers.py')
0 files changed, 0 insertions, 0 deletions