aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorTimofey Titovets <nefelim4ag@gmail.com>2017-09-28 10:33:40 -0400
committerDavid Sterba <dsterba@suse.com>2017-11-01 15:45:36 -0400
commita288e92cacdc4729ad8f83d018fb0f3f5ded6c37 (patch)
treed305a7ac88dfe4507782d0b7f92f244087c36fb5 /tools/perf/scripts/python/mem-phys-addr.py
parent1fe4f6fa5ae7dd1e63145e1ced7b9b38854da9f4 (diff)
Btrfs: heuristic: add byte set calculation
Calculate byte set size for data sample: - calculate how many unique bytes have been in the sample - for all bytes count > 0, check if we're still in the low count range (~25%), such data are easily compressible, otherwise furhter analysis is needed Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> [ update comments ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions