[gem5-users] How to suspend FS simulation after certain number of ticks

2024-01-16 Thread elio.vinciguerra--- via gem5-users
Hi all, I would need to suspend the FS simulation after a certain number of ticks, and then have it resume normally. I know that for SE mode this is feasible by inserting `m5.simulate()` in a loop and passing as an argument to the same function the number of ticks it should simulate. Is there

[gem5-users] Re: How Can I Save the output file-Full System Simulation

2024-01-16 Thread Eliot Moss via gem5-users
On 1/16/2024 1:15 AM, sun2k23 via gem5-users wrote: I think maybe you can try /sbin/m5  utility, using the writefile option. Then you can redirect the virtual OS environment files to local Hosts. The command format is like below: S2K At 2024-01-16 11:41:57, "hu miao via gem5-users"

[gem5-users] Re: How to suspend FS simulation after certain number of ticks

2024-01-16 Thread elio.vinciguerra--- via gem5-users
Or, at least, I would need to do it in such a way as to have the historical progression of the "stats.txt" file during the simulation. So I need to suspend the simulation at a certain tick, get the "stats.txt" file, resume the simulation, or I need a solution that allows me to dump at a certain

[gem5-users] Re: Spec2017 GCC benchmark crashes in SE mode

2024-01-16 Thread muke101 via gem5-users
I see, thanks for the explanation. Could you elaborate for me how I should change the stack base address to increase available size? I had thought setting a higher address would but GCC immediately crashes if I do this. If I set a lower address it works but does this provide more space? Also,

[gem5-users] Re: How to suspend FS simulation after certain number of ticks

2024-01-16 Thread Jason Lowe-Power via gem5-users
Hello, Unfortunately, we don't have enough time to answer all questions in depth. You may be able to find more help on either the gem5 slack or the gem5 youtube channel . If you have access to ChatGPT Plus, you can also use the gem5

[gem5-users] Re: How Can I Save the output file-Full System Simulation

2024-01-16 Thread hu miao via gem5-users
Thank you very much, as you said, the redirected files appeared in the output folder that I specified. On Tue, Jan 16, 2024 at 10:16 PM Eliot Moss via gem5-users < gem5-users@gem5.org> wrote: > On 1/16/2024 1:15 AM, sun2k23 via gem5-users wrote: > > > > I think maybe you can try /sbin/m5

[gem5-users] Re: Spec2017 GCC benchmark crashes in SE mode

2024-01-16 Thread sun2k23 via gem5-users
you may have below python coding in your *.py configuration file: process = Process(...) process.executable = ... If you want to update the stack base, just add configuration like below: process.stackBase = 0x // new stack base value process.maxStackSize = 0x // stack size You can