diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2020-06-18 17:30:23 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-08 16:16:18 +0200 |
commit | 86f0348ace1510d7ac25124b096fb88a6ab45270 (patch) | |
tree | 852edd5979aea8494b0f68d065fde21d66471986 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 15ec928a65e0528ef4999e2947b4802b772f0891 (diff) |
nvme-tcp: leverage request plugging
blk-mq request plugging can improve the execution of our pipeline.
When we queue a request we actually trigger our I/O worker thread
yielding a context switch by definition. However if we know that
there are more requests in the pipe that are coming, we are better
off not trigger our I/O worker and only do that for the last request
in the batch (bd->last). By having it, we improve efficiency by
amortizing context switches over a batch of requests.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions