Hey Antoine, First of all, multi-core TimingSimple with classic caches will not work, you have to use Ruby or run a single-core simulation.
I think we have something in development which can help you out. You can run a full-system X86 Ubuntu simulation with the Ruby MESI Two Level protocol with the following: ``` git clone https://gem5.googlesource.com/public/gem5 cd gem5 git checkout develop scons build/X86_MESI_Two_Level/gem5.opt -j`nproc` ./build/X86_MESI_Two_Level/gem5.opt configs/example/gem5_library/x86-ubuntu-run.py ``` If you have KVM on your system this will boot Ubuntu with KVM then run a very simple script using the Timing Simple CPU. If you don't have KVM then you can alter the simulation at line 94 in the `configs/example/gem5_library/x86-ubuntu-run.py` file, and just run the whole boot with the Timing Simple CPU. The `x86-ubuntu-run.py` script builds upon our gem5 Python Library, which is still under development, but you can look into it (under `src/python/gem5`) to see how it all fits together and works. The `x86-ubuntu-run.py` script itself should be relatively self-explanatory, but please do not hesitate to get back to me if there's something you don't understand. Getting a full-system setup working is _tough_ if building a simulation from scratch which is part of the reason we're moving more towards providing a library for such things. Kind regards, Bobby -- Dr. Bobby R. Bruce Room 3050, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net On Thu, Oct 28, 2021 at 10:55 AM Antoine Kaufmann via gem5-users < gem5-users@gem5.org> wrote: > Hi Everyone, > > Do we have any known-working configurations for x86 multi-core full system > simulations with caches? > > We have successfully been using single core configs for more than a year > now, > but our attempts at anything multi-core have so far not been successful, > with > problems ranging from gem5 crashing to Linux getting stuck at boot. > > We have been using the TimingSimple CPU and tried both classic and ruby > with > various protocols. > > Does anyone have pointers to working configurations? Or is this something > that > is known to be fundamentally broken? > > Thanks in advance, > Antoine > > -- > Antoine Kaufmann > <antoi...@mpi-sws.org> > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s