[gem5-users] Gem5 segfaults in build/X86/cpu/o3/fetch.cc

2022-06-12 Thread Gagan Panwar
Hi everyone, I'm trying to run the latest version of Gem5 under X86 and it segfaults at the following line: build/X86/cpu/o3/fetch.cc:139 > decoder[tid] = params.decoder[tid]; gdb says params.decoder is a "vector of length 0". Looks like it has not been initialized. Any idea how to correctly in

[gem5-users] Re: Gem5 segfaults in build/X86/cpu/o3/fetch.cc

2022-06-13 Thread Gagan Panwar
he other cpu that does not have the decoder: > > Repeat_switch_cpus[0].decoder = testsys.cpu[0].decoder > > > > This seems to solve the issue. But I did not look more into detail what is > the underlying problem. > > > > Tom > > > > *From:* Gagan Panwar

[gem5-users] Re: Gem5 segfaults in build/X86/cpu/o3/fetch.cc

2022-06-13 Thread Gagan Panwar
ll. I suggest looking into the new gem5 > standard library and working to create a board which suits your needs. See > https://www.gem5.org/documentation/gem5-stdlib/overview > > Cheers, > Jason > > On Sun, Jun 12, 2022 at 11:11 PM Gagan Panwar > wrote: > >> Hi ever

[gem5-users] Re: Why does a decoder-related segmentation fault accur when restoring checkpoints make of simpoints?

2022-06-14 Thread Gagan Panwar
Hello Bong Haseung, I also faced a similar error. I think the discussion here might help you out: https://harmonylists.io/empathy/thread/DEWQNROAXTLSSEBQ742SJKJV3DZUSQCT Best, Gagan On Tue, Jun 14, 2022 at 2:59 AM 봉하승 wrote: > Hello. everyone! > > I made simpoints on workload and checkpoints u

[gem5-users] Re: Error while compiling gem5 in opt mode

2022-06-15 Thread Gagan Panwar
Hi Preet, I faced this error when I was trying to compile an old version of Gem5 (from 2018) on a relatively recent system with the latest glibc/gcc. SIGSTKSZ used to be a macro in older glibc/gcc. You can simply set the size of fatalSigStack to 8192. Best, Gagan On Tue, Jun 14, 2022 at 6:09 PM

[gem5-users] dcache and icache occupancy doesn't reach 1, with gem5-19 and gem5-20 (x86, standard cache model)

2020-06-21 Thread Gagan Panwar via gem5-users
Hi everyone, It seems like with the latest versions of gem5 (19 and 20.0.0.2), dcache and icache occupancy never reaches 1 (100%) no matter what the warm up time is. My gem5 command: build/X86/gem5.fast -r -d /home/gagan/outputs/characterization/8selected/cg_D configs/example/fs.py --mem-type=Ra