Hi Ayaz, Thanks for the help. I guess if we don't share anything between the cores then it will be the multi-processor platform, right? Btw, how to enable SMT? I looked through the se.py then look like you only need to use DerivO3CPU and just pass an array of the process in. However, I got this error `gem5.opt: build/X86/base/stats/group.cc:115: void Stats::Group::addStatGroup(const char*, Stats::Group*): Assertion `statGroups.find(name) == statGroups.end()' failed.` What is the correct way to do this?
Best regards, Duc Anh Vào Th 3, 10 thg 11, 2020 vào lúc 00:01 Ayaz Akram <yazak...@ucdavis.edu> đã viết: > Hi Duc, > > By passing a list of CPUs to the system.cpu (as in the attached Python > script), you are creating a multicore CPU (CPU here refers to a core). > Secondly, if your CPU has SMT enabled, you should be able to pass multiple > processes to the workload option. > > Btw, there is already a JIRA issue created for the problem you are running > into: https://gem5.atlassian.net/browse/GEM5-803 > > -Ayaz > > On Mon, Nov 9, 2020 at 2:18 AM Đức Anh via gem5-users <gem5-users@gem5.org> > wrote: > >> Hello all, >> >> I am trying to create a system having multiple CPUs by passing a list of >> CPU to the system.cpu. So far it works with TimingSimpleCPU, but for the >> DerivO3CPU it crashes. I include the crash log, the python config file, and >> the C workload file. I am using gem5 20.1, pulled from the stable >> branch, gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04), python 2.7.17. The >> command line I use is: >> ./build/X86/gem5.opt configs/tutorial/two_core.py >> The 2 binary files for 2 workloads are almost the same, I just change the >> text in printf, and the number of loops. >> >> I also wonder that by passing a list of CPU to the system.cpu, am I >> creating a system is 1 multicore CPU or a system with multiple separate >> CPU? And how to pass multiple workloads on 1 CPU? I saw it accept a list, >> but it throws an error if I pass a list with more than 1 workload. >> >> Best regards, >> Duc Anh >> _______________________________________________ >> 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