Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Issue 1915303002: [tools] Specify affinity and raise priority when benchmarking (Closed)

Created:
4 years, 8 months ago by Mircea Trofin
Modified:
4 years, 7 months ago
Reviewers:
Michael Achenbach
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[tools] Specify affinity and raise priority when benchmarking I plan to drive these options from the infra recipe. Raising the priority of the benchmarked process, and fixing its affinity to some other CPU than 0 improves stability of measurements. BUG= Committed: https://crrev.com/5b519033f0332efc8f2031cd4a3388fd12c5bad9 Cr-Commit-Position: refs/heads/master@{#35912}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 20

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -38 lines) Patch
M tools/run_perf.py View 1 2 3 4 5 chunks +182 lines, -38 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
Mircea Trofin
4 years, 8 months ago (2016-04-25 21:30:22 UTC) #3
Michael Achenbach
Changed to chromium.org reviewer address...
4 years, 8 months ago (2016-04-26 15:26:06 UTC) #5
Michael Achenbach
got some questions https://codereview.chromium.org/1915303002/diff/1/tools/run_perf.py File tools/run_perf.py (right): https://codereview.chromium.org/1915303002/diff/1/tools/run_perf.py#newcode619 tools/run_perf.py:619: self.command_prefix += ["-p", "-20"] My documentation ...
4 years, 7 months ago (2016-04-27 14:55:00 UTC) #6
Mircea Trofin
One more question: should we rather require the whole run_tools.py be run as sudo, rather ...
4 years, 7 months ago (2016-04-27 15:56:35 UTC) #7
Michael Achenbach
https://codereview.chromium.org/1915303002/diff/1/tools/run_perf.py File tools/run_perf.py (right): https://codereview.chromium.org/1915303002/diff/1/tools/run_perf.py#newcode626 tools/run_perf.py:626: self.command_prefix += ["-a", str(core)] On 2016/04/27 15:56:35, Mircea Trofin ...
4 years, 7 months ago (2016-04-27 17:23:29 UTC) #8
Mircea Trofin
Fixed the core issue, after re-reading the schedtool docs. Also added the options for noaslr ...
4 years, 7 months ago (2016-04-28 02:07:24 UTC) #12
Michael Achenbach
https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py File tools/run_perf.py (right): https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py#newcode628 tools/run_perf.py:628: self.command_prefix += ["-a", ("0x%x" % core)] Another question to ...
4 years, 7 months ago (2016-04-28 13:03:07 UTC) #13
Mircea Trofin
https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py File tools/run_perf.py (right): https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py#newcode628 tools/run_perf.py:628: self.command_prefix += ["-a", ("0x%x" % core)] On 2016/04/28 13:03:07, ...
4 years, 7 months ago (2016-04-28 14:21:57 UTC) #14
Michael Achenbach
https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py File tools/run_perf.py (right): https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py#newcode812 tools/run_perf.py:812: f = os.open("/proc/sys/kernel/randomize_va_space", os.O_RDONLY) Could you use with clauses? ...
4 years, 7 months ago (2016-04-28 14:47:44 UTC) #15
Mircea Trofin
https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py File tools/run_perf.py (right): https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py#newcode812 tools/run_perf.py:812: f = os.open("/proc/sys/kernel/randomize_va_space", os.O_RDONLY) On 2016/04/28 14:47:44, Michael Achenbach ...
4 years, 7 months ago (2016-04-28 16:02:47 UTC) #16
Michael Achenbach
lgtm with optional suggestions https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py File tools/run_perf.py (right): https://codereview.chromium.org/1915303002/diff/80001/tools/run_perf.py#newcode852 tools/run_perf.py:852: for cpu_index in cpu_indices: On ...
4 years, 7 months ago (2016-04-29 07:40:32 UTC) #17
Michael Achenbach
FYI: please check that the unittests still work (this code doesn't need any as it's ...
4 years, 7 months ago (2016-04-29 07:42:17 UTC) #18
Michael Achenbach
On 2016/04/29 07:42:17, Michael Achenbach wrote: > FYI: please check that the unittests still work ...
4 years, 7 months ago (2016-04-29 07:43:39 UTC) #19
Mircea Trofin
On 2016/04/29 07:43:39, Michael Achenbach wrote: > On 2016/04/29 07:42:17, Michael Achenbach wrote: > > ...
4 years, 7 months ago (2016-04-29 15:23:33 UTC) #20
Mircea Trofin
https://codereview.chromium.org/1915303002/diff/100001/tools/run_perf.py File tools/run_perf.py (right): https://codereview.chromium.org/1915303002/diff/100001/tools/run_perf.py#newcode831 tools/run_perf.py:831: def BackupASLR(self): On 2016/04/29 07:40:32, Michael Achenbach wrote: > ...
4 years, 7 months ago (2016-04-29 15:25:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915303002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915303002/140001
4 years, 7 months ago (2016-04-29 15:27:02 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 7 months ago (2016-04-29 15:51:19 UTC) #26
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:04:02 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5b519033f0332efc8f2031cd4a3388fd12c5bad9
Cr-Commit-Position: refs/heads/master@{#35912}

Powered by Google App Engine
This is Rietveld 408576698