On 3/15/2023 11:11 PM, yuxuan-z via gem5-users wrote:
To: Whom it may concern

I have been using this simulator for some processor related educational projects. I noticed a drastically slower performance in simulation as compared to the real thing. To my knowledge, there are no parallelization features included in the simulator as mentioned in this issue https://github.com/cirosantilli2/gem5-issues/issues/15 <https://github.com/cirosantilli2/gem5-issues/issues/15>  . I am writing to enquire are there any such features that I am not aware of or are there any plans to include parallelization features into future versions. Hope to hear from you soon.

Dear Harry -

It's extremely difficult to parallelize code of this kind.  I
believe one would essentially have to undertake a total rewrite
based on a somewhat different approach.  It would also introduce
(more) non-determinism.

I am reminded of failed efforts to replace the global lock in the
most widely used version of python (the one written in C).  And
that code base is much smaller than gem5.

The useful parallelism I *have* achieved is doing different runs
(varying parameters, workloads, etc.) concurrently in different
Linux processes.

Regards - Eliot Moss
_______________________________________________
gem5-users mailing list -- gem5-us...@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to