diff --git a/utils/casadm.8 b/utils/casadm.8 index 5cc65b3..d7a6f54 100644 --- a/utils/casadm.8 +++ b/utils/casadm.8 @@ -236,6 +236,8 @@ Available namespaces are: \fBcleaning\fR - Cleaning policy parameters. \fBcleaning-alru\fR - Cleaning policy ALRU parameters. \fBcleaning-acp\fR - Cleaning policy ACP parameters. +\fBpromotion\fR - Promotion policy parameters. +\fBpromotion-nhit\fR - Promotion policy NHIT parameters. .SH Options that are valid with --set-param (-X) --name (-n) seq-cutoff are: @@ -310,6 +312,36 @@ Period of time between awakenings of flushing thread [ms] (default: 10 ms). .B -b, --flush-max-buffers Number of dirty cache blocks to be flushed in one cleaning cycle (default: 128). +.SH Options that are valid with --set-param (-X) --name (-n) promotion are: + +.TP +.B -i, --cache-id +Identifier of cache instance <1-16384>. + +.TP +.B -p, --policy {always|nhit} +Promotion policy type to be used with a given cache instance. + +Available policies: +.br +1. \fBalways\fR. Core lines are attempted to be promoted each time they're accessed. +.br +2. \fBnhit\fR. Core lines are attempted to be promoted after n accesses. + +.SH Options that are valid with --set-param (-X) --name (-n) promotion-nhit are: + +.TP +.B -i, --cache-id +Identifier of cache instance <1-16384>. + +.TP +.B -o, --trigger +Percent of cache to be occupied before cache inserts will be filtered by the policy. + +.TP +.B -t, --threshold +Number of core line accesses required for it to be inserted into cache. + .SH Options that are valid with --get-param (-G) are: .TP @@ -322,6 +354,8 @@ Available namespaces are: \fBcleaning\fR - Cleaning policy parameters. \fBcleaning-alru\fR - Cleaning policy ALRU parameters. \fBcleaning-acp\fR - Cleaning policy ACP parameters. +\fBpromotion\fR - Promotion policy parameters. +\fBpromotion-nhit\fR - Promotion policy NHIT parameters. .SH Options that are valid with --get-param (-G) --name (-n) seq-cutoff are: @@ -367,6 +401,26 @@ Identifier of cache instance <1-16384>. .B -o, --output-format {table|csv} Defines output format for parameter list. It can be either \fBtable\fR (default) or \fBcsv\fR. +.SH Options that are valid with --get-param (-G) --name (-n) promotion are: + +.TP +.B -i, --cache-id +Identifier of cache instance <1-16384>. + +.TP +.B -o, --output-format {table|csv} +Defines output format for parameter list. It can be either \fBtable\fR (default) or \fBcsv\fR. + +.SH Options that are valid with --get-param (-G) --name (-n) promotion-nhit are: + +.TP +.B -i, --cache-id +Identifier of cache instance <1-16384>. + +.TP +.B -o, --output-format {table|csv} +Defines output format for parameter list. It can be either \fBtable\fR (default) or \fBcsv\fR. + .SH Options that are valid with --set-cache-mode (-Q) are: .TP .B -c, --cache-mode {wt|wb|wa|pt}