I am a college student using gem5 for research.The performance of gem5's FS
mode is bad, and I don't know whether it can make use of multiple CPU cores
to improve the performance(I guess no). Anyway, running multiple instances
of gem5 in FS mode on a single host operating system can also help, but
I've tried to do this and didn't make it. So I'd like to is it feasible and
how can I run multiple instances?
Hi Lucas,
You should be able to launch multiple instances of gem5 at the same time. What’s the issue that you are facing?
-Ayaz
On May 31, 2023, at 9:33 AM, Lucas Zhang via gem5-users gem5-users@gem5.org wrote:
I am a college student using gem5 for research.The performance of gem5's FS mode is bad, and I don't know whether it can make use of multiple CPU cores to improve the performance(I guess no). Anyway, running multiple instances of gem5 in FS mode on a single host operating system can also help, but I've tried to do this and didn't make it. So I'd like to is it feasible and how can I run multiple instances?
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org
Hi Lucas,
As Ayaz mentioned, it is possible to run many instances of gem5. Aside from system resources like available memory, the main caveat is that you will need to keep any writable resources separate per simulation. In practice this is most likely to be the gem5 output directory.
You can use the --outdir / -d
option on the gem5 command line to specify a different output directory for each concurrent simulation.
The main method of achieving parallelism using gem5 is to run multiple instances. Unfortunately there are technical reasons why making a single gem5 simulation use multiple cores would be challenging, which Eliot Moss explains well here: https://www.mail-archive.com/gem5-users@gem5.org/msg21487.html
I hope this helps you with your work.
Best regards,
Richard.
From: Lucas Zhang via gem5-users gem5-users@gem5.org
Sent: Wednesday, May 31, 2023 5:32 PM
To: gem5-users@gem5.org
Cc: Lucas Zhang lucaskomorebi@gmail.com
Subject: [gem5-users] Run multiple instances of gem5 in FS mode on a single host operating system
I am a college student using gem5 for research.The performance of gem5's FS mode is bad, and I don't know whether it can make use of multiple CPU cores to improve the performance(I guess no). Anyway, running multiple instances of gem5 in FS mode on a single host operating system can also help, but I've tried to do this and didn't make it. So I'd like to is it feasible and how can I run multiple instances?
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.