Skip to content

How to run a gem5 arm aarch64 full system simulation with ruby_fs.py with more than 8 cores? #821

Closed Answered by giactra
duqi-hnu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, this is due to the inherent limitations of GICv2 which supports 8 CPUs only. You have two solutions in front of you:

  1. Use the gem5-GIC extension which allows to use GICv2 with up to 255 CPUs. To enable it you need to:
    • Set the GicV2 gem5_extensions param to True
    • Make sure the Linux GIC driver contains the gem5 specific patch removing the 8CPUs limitations 1
  1. Use a GICv3 powered platform (recommended solution). For example you could use the VExpress_GEM5_Foundation. At the moment you cannot change the machine type from command line for ruby_fs.py. I will open a PR to add this capability. You can however set the platform explicitly by tweaking the python config and pass the platform …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@duqi-hnu
Comment options

@duqi-hnu
Comment options

@duqi-hnu
Comment options

Answer selected by duqi-hnu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants