diff options
author | Kirill Tkhai <[email protected]> | 2018-09-11 13:12:14 +0300 |
---|---|---|
committer | Miklos Szeredi <[email protected]> | 2018-09-28 16:43:23 +0200 |
commit | be2ff42c5d6ebc8552c82a7d1697afae30510ed9 (patch) | |
tree | 34d256dcf2c28957a3a1deefe42cd6658f0ff4a3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3a5358d1a1b70bb3360578f09894d6856629ecdf (diff) |
fuse: Use hash table to link processing request
We noticed the performance bottleneck in FUSE running our Virtuozzo storage
over rdma. On some types of workload we observe 20% of times spent in
request_find() in profiler. This function is iterating over long requests
list, and it scales bad.
The patch introduces hash table to reduce the number of iterations, we do
in this function. Hash generating algorithm is taken from hash_add()
function, while 256 lines table is used to store pending requests. This
fixes problem and improves the performance.
Reported-by: Alexey Kuznetsov <[email protected]>
Signed-off-by: Kirill Tkhai <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions