[gem5-users] Switch CPU clock speed

2022-12-06 Thread FILIPPO LANDI via gem5-users
Hi, I'm using gem5 in gem5-aladdin software. Using the fast forward option the switch cpu uses the system clock instead of the cpu clock. I just want to know if it was a bug in an old gem5 version or it is a limitation of the simulator etc. Maybe someone have tested it in a new build so can tell m

[gem5-users] Re: Switch CPU clock speed

2022-12-06 Thread Giacomo Travaglini via gem5-users
Hi, I would say it depends on the config script you are using. For example se.py is a correctly assigning different clock domains between the system and the CPUs: system.clk_domain = SrcClockDomain( clock=args.sys_clock, voltage_domain=system.voltage_domain ) […] system.cpu_clk_domain = S

[gem5-users] KVM error while trying to build disk-image for GPU-FS

2022-12-06 Thread Rajesh Shashi Kumar via gem5-users
Hi, I am following the instructions here to get GPU full-system simulations running but I run into the following error while trying to build the disk-image. Has anyone run into this before? Thanks, Rajesh ==> qemu: Overriding default Qemu arguments with qemuargs template option... 2022/12/06 11:

[gem5-users] Re: KVM error while trying to build disk-image for GPU-FS

2022-12-06 Thread Rajesh Shashi Kumar via gem5-users
*Update*: I was earlier running this on a shared server that I did not have sudo access on (not that I actually used sudo in the build process). But the build seems to work fine on my local machine with the following dependencies satisfied. I read on other forums that the *KVM: Permission denied* i

[gem5-users] Re: KVM error while trying to build disk-image for GPU-FS

2022-12-06 Thread Poremba, Matthew via gem5-users
[AMD Official Use Only - General] Hi Rajesh, Thanks for the update. I'm glad you were able to get it worked out. Ideally we wouldn't *require* sudo access but for KVM in general I think it is going to highly depend on how the system was setup and there are some things that packer won't be a

[gem5-users] GPU-FS simulation progress

2022-12-06 Thread Rajesh Shashi Kumar via gem5-users
Hi, I followed the instructions on running gpu-fs square using the gem5-resources repository. My simulation has been stuck here for a while ... build/VEGA_X86/arch/x86/kvm/x86_cpu.cc:1561: warn: kvm-x86: MSR (0xc0010015) unsupported by gem5. Skipping. build/VEGA_X86/arch/x86/kvm/x86_cpu.cc:1561:

[gem5-users] Re: GPU-FS simulation progress

2022-12-06 Thread Poremba, Matthew via gem5-users
[AMD Official Use Only - General] Hi Rajesh, I looks like no progress has been made since a very early tick number (the timestamp print by Linux is equal to the current simulation tick / 1 trillion). For reference it should take no more than 1-3 wall clock minutes to full boot Linux and begin

[gem5-users] Re: Enquiry: change CPU type from TIMING to O3CPU in the FS simulation script of x86-npb-benchmarks.py

2022-12-06 Thread Bobby Bruce via gem5-users
Doing this should work just fine. What error were you getting? -- Dr. Bobby R. Bruce Room 3050, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net On Sun, Dec 4, 2022 at 11:06 AM minhui via gem5-users wrote: > Dear BBruce,Ayaz, Hoa and others: > > > With your previous supp

[gem5-users] Re: GPU-FS simulation progress

2022-12-06 Thread Rajesh Shashi Kumar via gem5-users
Thank you for your response. I double checked my image and kernel, I don't think KVM is hanging but the progress seems to be a character printed on the term every once in a while. I assume this is even before it could finish booting. Not sure if fastfoward could help here My term output: m5

[gem5-users] Re: GPU-FS simulation progress

2022-12-06 Thread Poremba, Matthew via gem5-users
[AMD Official Use Only - General] At this point I would check if the other KVM scripts are working for you (there are some simple tests somewhere like boot Ubuntu and exit). KVM works on some CPUs better than others, I believe, or at least this was true in the past. I have a few other ideas t

[gem5-users] Re: GPU-FS simulation progress

2022-12-06 Thread Rajesh Shashi Kumar via gem5-users
Thank you for your time. I tried using the provided example for booting Ubuntu from a disk-image. *./build/X86/gem5.opt configs/example/gem5_library/x86-ubuntu-run.py* With this, I see that the boot did complete with this example and *kvm-ok* returns as expected on my machine. Also, I should ment

[gem5-users] Re: GPU-FS simulation progress

2022-12-06 Thread Rajesh Shashi Kumar via gem5-users
Okay turns out the issue was indeed using a slow local machine somehow (AMD Ryzen 7 5800H) I ran the same thing on a "AMD EPYC 7451 24-Core Processor x2" and I am able to run square now within 10minutes or so. I guess the last two lines could be because of using an older rocm version. Running ../