Re: [gem5-users] running fs.py with X86KvmCPU failed

2018-02-18 Thread Jason Lowe-Power
Hi Da, You can look at some of the other scripts in my github for examples of how to fast forward with KVM. I suggest that you *not* use fs.py since you know what you want to do. You should write a script like my runkvm.py that runs gem5 exactly how you need. fs/se.py were originally created as

Re: [gem5-users] running fs.py with X86KvmCPU failed

2018-02-15 Thread Da Zhang
Hi Jason, Thanks a lot! Your scripts work! I am able to scale up to 40 cores on a compute node with 20 physical cores / 40 logical cores with your scripts. So I think the fs.py doesn't do multithreaded mode correctly for running with kvm cpu. Some of your code are commented as "required" for

Re: [gem5-users] running fs.py with X86KvmCPU failed

2018-02-15 Thread Jason Lowe-Power
Hi Da, You likely need to enable gem5's multithreaded mode to get many CPUs to boot correctly. I've had success with up to 32 cores on a 4-core 8-thread system. I'm not sure if fs.py automatically does this correctly or not. See my scripts here:

Re: [gem5-users] running fs.py with X86KvmCPU failed

2018-02-13 Thread Da Zhang
Hey Jason, The package works. However, I encountered performance issues with increased CPU number. The performance was very great with up to 4 CPUs ("-n", I am assuming "number of CPUs" equal to "number of cores" for testing multithreading workload later). However, the system fails to boot (or

Re: [gem5-users] running fs.py with X86KvmCPU failed

2018-02-08 Thread Da Zhang
Hi Jason The package works (I used the second one)! And it also works with the package you provided ( https://gem5-review.googlesource.com/c/public/gem5/+/7301) in my another email to fix the keyboard and mouse issue for running later linux kernel and ubuntu. (However, there are some conflicts in

Re: [gem5-users] running fs.py with X86KvmCPU failed

2018-02-08 Thread Jason Lowe-Power
These patches "fix" the problem. However, they may not apply cleanly to HEAD and they definitely are not cleanly implemented. https://gem5-review.googlesource.com/c/public/gem5/+/7362 https://gem5-review.googlesource.com/c/public/gem5/+/7361 Cheers, Jason On Wed, Feb 7, 2018 at 8:49 PM Da Zhang