Re: [gem5-users] CPU scheduler

2020-02-21 Thread Ciro Santilli
A bit more precisely, every fork syscall starts on a new free CPU. If there are no new free CPUs, the call fails in the guest. Once the thread ends, the CPU is freed and becomes available for new threads. Also mentioned at: https://cirosantilli.com/linux-kernel-module-cheat/#gem5-syscall-emulation-

Re: [gem5-users] CPU scheduler

2020-02-21 Thread Gabe Black
Hi Yuan. In SE mode, there is no scheduler. If you need a scheduler, you should use FS mode which uses the simulated OS's scheduler. Gabe On Thu, Feb 20, 2020 at 8:13 PM Shougang Yuan wrote: > Dear All, > > I am trying to find the code about cpu scheduler in SE mode about > multi-core simulatio

[gem5-users] CPU scheduler

2020-02-20 Thread Shougang Yuan
Dear All, I am trying to find the code about cpu scheduler in SE mode about multi-core simulation setup. I mean, when we configured several O3 cpus and assigned a program to each core, how are these cpus been scheduled? Can anyone provide some details about this? Thanks. Best regards. Yuan _