Joe McDonnell has uploaded this change for review. ( http://gerrit.cloudera.org:8080/25177
Change subject: IMPALA-15556 (part 2): Add OS cache/memory reset options to single_node_perf_run.py ...................................................................... IMPALA-15556 (part 2): Add OS cache/memory reset options to single_node_perf_run.py A/B performance comparisons can be sensitive to the state of the OS buffer cache and memory fragmentation. To reduce noise, this introduces two new options for single_node_perf_run.py 1. --drop_caches_level uses sudo to drop the OS page cache via the /proc/sys/vm interface using the provided level (can be 1-3). If not set or set to 0, don't drop the caches. 2. --compact_memory uses sudo to trigger memory compaction by writing to /proc/sys/vm/compact_memory. Both of these actions happen before starting the impalad to run the workload (while the impalads are stopped). To enforce this, it stops and restarts the impalads after dataload completes. It also explicitly stops the impalads before doing the build for B. Testing: - Ran a perf-AB-test with these options specified and verified that they were performed Change-Id: Ic850186fa690e5ee96304bbc94c39899d375ad49 Assisted-by: Claude Sonnet 5.5 (Claude Code) --- M bin/single_node_perf_run.py 1 file changed, 50 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/25177/1 -- To view, visit http://gerrit.cloudera.org:8080/25177 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ic850186fa690e5ee96304bbc94c39899d375ad49 Gerrit-Change-Number: 25177 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell <[email protected]>
