gem5-users@gem5.org

The gem5 Users mailing list

View all threads

How to use more CPU for running FS model?

XL
Xiang Li
Mon, May 8, 2023 1:15 AM

Hi,

I'm running X86 FS model, it would take me a long time for starting a FS model. I find it just using one CPU, can gem5 use more CPU when running FS model?

Best wish,
Xiang

Hi, I'm running X86 FS model, it would take me a long time for starting a FS model. I find it just using one CPU, can gem5 use more CPU when running FS model? Best wish, Xiang
EM
Eliot Moss
Mon, May 8, 2023 1:50 AM

On 5/7/2023 9:15 PM, Xiang Li via gem5-users wrote:

Hi,

I'm running X86 FS model, it would take me a long time for starting a FS model. I find it just using
one CPU, can gem5 use more CPU when running FS model?

No.  It's modeling a whole complex system at the level of individual small
steps of each component in the system, done using a single event queue.
Given that each event could in principle affect the any other units,
things pretty much have to be done in order.

One might be able to build a concurrent simulator for multiprocessors,
but gem5 is not that simulator - and it would not be an easy task to
get much speed up.  Imagine, for example, when each cpu gets access to
a bus, or its possible need to react to cache misses coming from other
cpus, etc.

Best wishes - EM

On 5/7/2023 9:15 PM, Xiang Li via gem5-users wrote: > Hi, > > I'm running X86 FS model, it would take me a long time for starting a FS model. I find it just using > one CPU, can gem5 use more CPU when running FS model? No. It's modeling a whole complex system at the level of individual small steps of each component in the system, done using a single event queue. Given that each event could in principle affect the any other units, things pretty much have to be done in order. One might be able to build a concurrent simulator for multiprocessors, but gem5 is not that simulator - and it would not be an easy task to get much speed up. Imagine, for example, when each cpu gets access to a bus, or its possible need to react to cache misses coming from other cpus, etc. Best wishes - EM