Joe McDonnell 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)

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 su
Good point, done

On some OSes, the passwordless sudo prints a message as well, but I noticed 
that Ubuntu doesn't do that.


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
Good point, fixed the doc string


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
Yeah, either one works. I have a slight preference for the /proc filesystem 
one, to match compact_memory(), but I'm happy to change it if it matters.


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


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.
Good point


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 c
I think it is useful for consistency even when we don't load data. I'm going to 
move the start_impala() above (before dataload) into the options.load 
condition. That means this chunk is either running after dataload (and a 
restart is good) or it is the first time we are starting up impala for this run.



--
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-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Comment-Date: Thu, 22 Oct 2026 17:10:25 +0000
Gerrit-HasComments: Yes

Reply via email to