Arnab Karmakar has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/25177 )

Change subject: IMPALA-15556 (part 2): Add OS cache/memory reset options to 
single_node_perf_run.py
......................................................................


Patch Set 1:

(6 comments)

Thanks for working on this!

http://gerrit.cloudera.org:8080/#/c/25177/1/bin/single_node_perf_run.py
File bin/single_node_perf_run.py:

http://gerrit.cloudera.org:8080/#/c/25177/1/bin/single_node_perf_run.py@182
PS1, Line 182:   subprocess.check_call(["sudo", "sh", "-c",
Can we add a user visible log using print()? It'd help operators confirm sudo 
steps ran. Same on line 188.


http://gerrit.cloudera.org:8080/#/c/25177/1/bin/single_node_perf_run.py@183
PS1, Line 183: echo
nit: just for consistency but we have used sysctl in clear_buffer_cache.py


http://gerrit.cloudera.org:8080/#/c/25177/1/bin/single_node_perf_run.py@183
PS1, Line 183: level
This can also accept values 2 and 3 right? which would drop the inodes and 
dentries too. This contradicts the docstring.


http://gerrit.cloudera.org:8080/#/c/25177/1/bin/single_node_perf_run.py@195
PS1, Line 195: availabe
nit: typo


http://gerrit.cloudera.org:8080/#/c/25177/1/bin/single_node_perf_run.py@362
PS1, Line 362:   reset_os_state(options)
I think maybe this reset before load is not useful.


http://gerrit.cloudera.org:8080/#/c/25177/1/bin/single_node_perf_run.py@382
PS1, Line 382:   # Restart Impalads after dataload (and optionally drop caches, 
etc)
Should this restart be unconditional? The commit msg says "after dataload 
completes" but it also runs when --load is absent.



--
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: comment
Gerrit-Change-Id: Ic850186fa690e5ee96304bbc94c39899d375ad49
Gerrit-Change-Number: 25177
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Comment-Date: Thu, 22 Oct 2026 07:33:45 +0000
Gerrit-HasComments: Yes

Reply via email to