mem : tester for new HMC configuration
Review Request #3374 - Created March 11, 2016 and submitted
| Information | |
|---|---|
| Abdul Mutaal Ahmad | |
| gem5 | |
| Reviewers | |
| Default | |
This patch provides the example test script to configure different HMC architecture and run traffic through traffic generator.
To run, it requires the main HMC config patch
http://reviews.gem5.org/r/3373/
===============
How to run it
===============
from you gem5 home directory run the following commandsbuild/ARM/gem5.opt configs/example/hmctest.py --mem-type=HMC_2500_x32 --mode=RANDOM --arch=same
build/ARM/gem5.opt configs/example/hmctest.py --mem-type=HMC_2500_x32 --mode=RANDOM --arch=distributed
build/ARM/gem5.opt configs/example/hmctest.py --mem-type=HMC_2500_x32 --mode=RANDOM --arch=mixed
Testing Done: |
|
|---|
Change Summary:
Tester is updated for new revision of patch. It considers a 4GB HMC device with 16 vault controller.
Diff: |
Revision 2 (+183) |
|---|
-
configs/example/hmctest.py (Diff revision 2) -
Update the comment.
-
configs/example/hmctest.py (Diff revision 2) -
there should be a space aroudn the "=", also in similar locations furhter down
-
configs/example/hmctest.py (Diff revision 2) -
what is the difference between DRAM and RANDOM?
-
configs/example/hmctest.py (Diff revision 2) -
I think this can be turned into a look indexing into an array.
-
configs/example/hmctest.py (Diff revision 2) -
Which range was that? Add this to the comment. Distributed range accross links.
-
configs/example/hmctest.py (Diff revision 2) -
"Mixed" address distribution over links.
-
configs/example/hmctest.py (Diff revision 2) -
what happens if arch==0?
-
configs/example/hmctest.py (Diff revision 2) -
why are you only wiring up half the testers in this case?
-
configs/example/hmctest.py (Diff revision 2) -
what happens if arch==0?
Thanks for getting this out. There are still a few small things that need adressing.
-
configs/example/hmctest.py (Diff revision 4) -
How about making the arch also more readable: type = string, choices = 'same', 'distributed', 'mix-same-dist'? Will be much better for readability, debugging, hackability..
-
configs/example/hmctest.py (Diff revision 4) -
Can you make the mem ranges more readable and in a loop (e.g. 256 * 1024 * 1024)?
-
configs/example/hmctest.py (Diff revision 4) -
Same here, can you make the mem ranges more readable?
Change Summary:
Improved readability of code
Testing Done: |
|
|||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 5 (+177) |
