Xin Ouyang has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/22863 )
Change subject: arch-riscv: fix asmtest concurrent issues.
......................................................................
arch-riscv: fix asmtest concurrent issues.
riscv asmtest uses multiprocessing.Pool to run multiple gem5
processes concurrently.
By using gem5 default options, processes will fail because:
- accessing to the same m5out directory
- listening too many remote gdb ports at the same time
This will set independent m5out directories and disable remote gdb
ports for asmtest gem5 processes.
Change-Id: Ie4c81232210568cd1945adc2b99eebc019d705b6
Signed-off-by: Xin Ouyang <xin.ouy...@streamcomputing.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22863
Reviewed-by: Jason Lowe-Power <ja...@lowepower.com>
Reviewed-by: Alec Roelke <alec.roe...@gmail.com>
Maintainer: Jason Lowe-Power <ja...@lowepower.com>
Tested-by: kokoro <noreply+kok...@google.com>
---
M tests/test-progs/asmtest/src/riscv/run-tests.py
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Jason Lowe-Power: Looks good to me, approved; Looks good to me, approved
Alec Roelke: Looks good to me, approved
kokoro: Regressions pass
diff --git a/tests/test-progs/asmtest/src/riscv/run-tests.py
b/tests/test-progs/asmtest/src/riscv/run-tests.py
index 53a8476..f5b847f 100755
--- a/tests/test-progs/asmtest/src/riscv/run-tests.py
+++ b/tests/test-progs/asmtest/src/riscv/run-tests.py
@@ -109,6 +109,8 @@
test_name = test + '-' + model
job_names.append(test_name)
job_cmds.append([gem5_bin,
+ '-d', 'm5out/' + test_name,
+ '--listener-mode', 'off',
config,
'-m', str(args.max_tick),
'--cpu-type', model,
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/22863
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Ie4c81232210568cd1945adc2b99eebc019d705b6
Gerrit-Change-Number: 22863
Gerrit-PatchSet: 3
Gerrit-Owner: Xin Ouyang <xin.ouy...@streamcomputing.com>
Gerrit-Reviewer: Alec Roelke <alec.roe...@gmail.com>
Gerrit-Reviewer: Jason Lowe-Power <ja...@lowepower.com>
Gerrit-Reviewer: Xin Ouyang <xin.ouy...@streamcomputing.com>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-CC: Bobby R. Bruce <bbr...@ucdavis.edu>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev