Whamcloud - gitweb
EX-7717 lipe: Add simple compression ratio statistics
This patch adds a new table to display data
compression ratio in overall statistics.
The new table to display compression ratio (for regular files)
will have the following column values:
0. Compression ratio range;
1. Count of files in range;
2. Number of files in range as a percent of total
number of files;
3. Number of files in this range or smaller as
a % of total # of files;
4. Total compression size of files in range;
5. Total compression size of files in range as a % of
total compression size of files;
6. Total compression size of files in this range or
smaller as a % of total compression size of files;
7. Minimum value in range (ratio);
8. Maximum value in range (ratio).
The columns in the table are numbered from 0 to 8 for a better
understanding of the table without the need to name the
columns with long text.
This PR also changes some variable types to the "double" type
for correct calculation of values and to avoid duplication of
variables with the same semantic value.
The output of information in reports with the .out
extension has also been improved.
Test-Parameters: trivial testlist=sanity-lipe-scan3
Signed-off-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Change-Id: I242ddb9c4132a7fce81508dadacf8e2b01e3cead
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52372
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Colin Faber <cfaber@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>