aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2021-04-13 13:09:32 +0100
committerMike Snitzer <snitzer@redhat.com>2021-06-04 12:07:23 -0400
commit6b06dd5a972288d011a49d63eb9f6a5003d2e932 (patch)
tree0d4e5f7db3b0b68f9995ef689ee1172f66661179 /tools/perf/scripts/python/export-to-postgresql.py
parentdm space maps: improve performance with inc/dec on ranges of blocks (diff)
downloadlinux-dev-6b06dd5a972288d011a49d63eb9f6a5003d2e932.tar.xz
linux-dev-6b06dd5a972288d011a49d63eb9f6a5003d2e932.zip
dm space map disk: cache a small number of index entries
The disk space map stores it's index entries in a btree, these are accessed very frequently, so having a few cached makes a big difference to performance. With this change provisioning a new block takes roughly 20% less cpu. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions