Martin Chapman
Martin Chapman

Reputation: 59

Spec '06 benchmarks on Gem5: Increasing stack size by one page

I am trying to run the Spec '06 benchmarks on Gem5. All of the benchmarks I've tried seem to start up normally and then output the following and stall indefinitely:

src/sim/mem_state.cc:448: info: Increasing stack size by one page.

Some tests output this multiple times before stalling and others only once. By stall I mean that the process doesn't output anything, even after several days, yet doesn't crash. I expect the process to produce output regularly.

I see online that others have had the same issue but I've never found a fix. Following suggestions I have seen online I have tried:

I managed to get in contact with someone I found online who faced the same error in the past and he said "iirc it is coming because your dram size in gem5 simulation is greater than the size of main memory i.e. dram of the host machine (your pc or laptop). It is crudely similar to the case when you try to install a software bigger than your ssd and your os says not enough space.Try reducing the dram size in the simulation config or running it on a different machine"

I don't understand how this can be the case, though, given that the server I am running the test on seems to have ample space. I also tried running the tests with a Gem5 config file that created as small a process as possible with only 512 MB of memory.

Has anyone run into this error before? I would appreciate any help. I am happy to send my config file but I don't want to overwhelm the question with code.

Upvotes: 0

Views: 62

Answers (0)

Related Questions