aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPankaj Raghav <[email protected]>2023-05-11 14:15:44 +0200
committerJens Axboe <[email protected]>2023-05-16 09:03:23 -0600
commit786bb02458819df7a833361c6c7448a4925a89ce (patch)
tree815d4b9c319a48c81f00d74a02514c16fa6119a2 /tools/perf/scripts/python
parentf1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6 (diff)
brd: use XArray instead of radix-tree to index backing pages
XArray was introduced to hold large array of pointers with a simple API. XArray API also provides array semantics which simplifies the way we store and access the backing pages, and the code becomes significantly easier to understand. No performance difference was noticed between the two implementation using fio with direct=1 [1]. [1] Performance in KIOPS: | radix-tree | XArray | Diff | | | write | 315 | 313 | -0.6% randwrite | 286 | 290 | +1.3% read | 330 | 335 | +1.5% randread | 309 | 312 | +0.9% Signed-off-by: Pankaj Raghav <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions