Skip to content

Commit c5a41dc

Browse files
committed
Reword calibrate_threshold doc to not leak internals
1 parent 9116dd2 commit c5a41dc

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

scripts/calibrate_threshold.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Usage: calibrate_threshold.sh elf1.elf [elf2.elf ...]
55
#
66
# Builds CLI with jemalloc-stats, runs each ELF under `/usr/bin/time -v`,
7-
# and prints predicted vs measured peak. The max of rss/pred is r_max;
8-
# set the threshold in select_storage_mode to ~1/r_max minus a small margin.
7+
# and prints predicted vs measured peak. Use the rss/pred ratio to adjust
8+
# the safety margin in `auto_storage.rs`.
99

1010
set -euo pipefail
1111

@@ -50,5 +50,4 @@ for elf in "$@"; do
5050
done
5151

5252
echo ""
53-
echo "Take the max rss/pred across runs as r_max."
54-
echo "Set threshold in select_storage_mode to ~1/r_max minus margin (e.g. 0.05)."
53+
echo "Use the rss/pred ratio to adjust the safety margin in auto_storage.rs."

0 commit comments

Comments
 (0)