[gem5-users] Re: Running the PARSEC benchmark with RAM > 3GB

2023-06-14 Thread Vincent Abraham via gem5-users
Also, I'm getting the following error on running the command: build/X86/gem5.opt configs/example/gem5_library/x86-parsec-benchmarks.py --benchmark vips --size simsmall Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,0) CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.83

[gem5-users] Re: Question about checkpoints

2023-06-14 Thread Ayaz Akram via gem5-users
Hi, I've realised though I'm not sure this may work as intended. Do the > checkpoints gem5 generates include a memory dump of instructions loaded > from a binary as well as stack/heap working data too? I'm intending for all > instructions to be loaded out of the binary I pass on checkpoint

[gem5-users] Re: Writing a script to run multiple simulations at once

2023-06-14 Thread Derek Christ via gem5-users
Hi Jason, it seems like this is exactly what I was looking for. Awesome to hear that things will get more user friendly in next versions. Best Derek Am 14.06.23 um 20:05 schrieb Jason Lowe-Power via gem5-users: Hi all, You can use python multiprocessing with gem5. See

[gem5-users] Re: Writing a script to run multiple simulations at once

2023-06-14 Thread Jason Lowe-Power via gem5-users
Hi all, You can use python multiprocessing with gem5. See https://github.com/gem5/gem5/tree/develop/src/python/gem5/utils/multiprocessing for details. So, in theory, you can create scripts such that you can run `./gem5 run.py` which will run a set of different experiments. You could potentially

[gem5-users] Re: Writing a script to run multiple simulations at once

2023-06-14 Thread Eliot Moss via gem5-users
On 6/14/2023 11:30 AM, Derek Christ wrote: Hello Eliot Moss, [one ell please] a shared Python file with parameter settings sounds useful. What I meant with running gem5 without the gem5 executable was to use the compiled library directly from the Python configuration script. From

[gem5-users] Running the PARSEC benchmark with RAM > 3GB

2023-06-14 Thread Vincent Abraham via gem5-users
Hi everyone, Is it possible in any way to run the provided x86-parsec-benchmarks.py script for a system with >3GB of memory? Is there any other way around this like running the fs.py script for parsec benchmarks? Thanks, Vincent ___ gem5-users mailing

[gem5-users] Re: Writing a script to run multiple simulations at once

2023-06-14 Thread Derek Christ via gem5-users
Hello Elliot Moss, a shared Python file with parameter settings sounds useful. What I meant with running gem5 without the gem5 executable was to use the compiled library directly from the Python configuration script. From what I have seen, the gem5 executable sets up some internal state and

[gem5-users] Re: Writing a script to run multiple simulations at once

2023-06-14 Thread Eliot Moss via gem5-users
On 6/14/2023 2:32 AM, Derek Christ via gem5-users wrote: Hello, maybe I have missed something in the official docs, but I'm not sure how to run multiple simulations with different parameters concurrently to speed up the process. What I have done is I created a Python script that sets

[gem5-users] Re: Writing a script to run multiple simulations at once

2023-06-14 Thread Derek Christ via gem5-users
Hi Ayaz, thanks for your quick response. Yeah, argparse is one possibility. But it is cumbersome and bugprone to implement a new option for every single configuration parameter I want to vary. Also, I would need a way not only to parse the options, but also to generate the gem5 command with

[gem5-users] Question about checkpoints

2023-06-14 Thread muke101 via gem5-users
I'm generating checkpoints from spec for a research project. I have a use case where I'm introducing novel instructions but they only have OoO core semantics rather than program semantics, and any binary I modify to include them has the exact same addresses for functions, basic blocks etc as an

[gem5-users] Re: Writing a script to run multiple simulations at once

2023-06-14 Thread Ayaz Akram via gem5-users
Hi Derek, I am not sure if I have understood your question correctly, but the gem5 interface is basically a Python run script in which you can add parameters as well (that can be set from the command line or in shell scripts). For example, you can look at the following link to see how `argparse`

[gem5-users] Writing a script to run multiple simulations at once

2023-06-14 Thread Derek Christ via gem5-users
Hello, maybe I have missed something in the official docs, but I'm not sure how to run multiple simulations with different parameters concurrently to speed up the process. What I have done is I created a Python script that sets environment variables and then kicks-off gem5 which in turn