[gem5-users] Re: Running parallel version of a CPU benchmark on multiple cores

2021-04-16 Thread Jason Lowe-Power via gem5-users
I *think* it's possible... At one point, I got c++ std::thread to work. I've never tried something as complex as parsec, though. Jason On Fri, Apr 16, 2021 at 11:17 AM John Smith wrote: > Does that mean I don't have to use m5threads and just use the regular > pthread library ? > > On Fri, Apr 1

[gem5-users] Re: Running parallel version of a CPU benchmark on multiple cores

2021-04-16 Thread John Smith via gem5-users
Does that mean I don't have to use m5threads and just use the regular pthread library ? On Fri, Apr 16, 2021 at 2:13 PM Jason Lowe-Power wrote: > Hi John, > > Yeah, it's something like that. We usually suggest using N + 1 cores where > N is the number of threads. You can always use more ;). > >

[gem5-users] Re: Running parallel version of a CPU benchmark on multiple cores

2021-04-16 Thread Jason Lowe-Power via gem5-users
Hi John, Yeah, it's something like that. We usually suggest using N + 1 cores where N is the number of threads. You can always use more ;). As a side note, if you configure things correctly (whatever that means...) I believe you can get pthreads to work. You can link to the pthreads on the host a

[gem5-users] Re: Running parallel version of a CPU benchmark on multiple cores

2021-04-16 Thread John Smith via gem5-users
That sounds great. In the meantime I will work a bit more on the SE mode. Also do you have any inputs on the following ? m5threads: If there are 9 CPU, and the host CPU launches 9 threads, then are 8 threads launched on the remaining 8 CPUs and the 9th thread has to wait for a thread to complete t

[gem5-users] Re: Simulating modern Smartphone System on Chip with Android 11 image

2021-04-16 Thread Pavel Golikov via gem5-users
I see. Thank you. Another few questions if I may: 1. Docs say that gem5 has NIC devices and two simulated instances can simulate Ethernet connection. Would it be possible to set up a simulation of web browser? I read that there is no internet connection inside gem5, that's why I am asking. What

[gem5-users] Re: Running parallel version of a CPU benchmark on multiple cores

2021-04-16 Thread Jason Lowe-Power via gem5-users
Soon! https://gem5.atlassian.net/browse/GEM5-195 We're hopeful that in the next month or so all of this code will be public. Cheers, Jason On Fri, Apr 16, 2021 at 9:55 AM John Smith wrote: > Will I also be able to run the GPU model in the FS mode ? > > On Fri, Apr 16, 2021 at 11:39 AM Jason Lo

[gem5-users] Re: Running parallel version of a CPU benchmark on multiple cores

2021-04-16 Thread John Smith via gem5-users
Will I also be able to run the GPU model in the FS mode ? On Fri, Apr 16, 2021 at 11:39 AM Jason Lowe-Power wrote: > Hi John, > > I suggest using full system mode instead of SE mode if you're running a > multithreaded workload. In FS mode, there's a full OS so it can handle > thread switching, e

[gem5-users] Re: Running parallel version of a CPU benchmark on multiple cores

2021-04-16 Thread Jason Lowe-Power via gem5-users
Hi John, I suggest using full system mode instead of SE mode if you're running a multithreaded workload. In FS mode, there's a full OS so it can handle thread switching, etc. For Parsec on x86 we've created a set of resources for you to get started. See https://gem5.googlesource.com/public/gem5-re

[gem5-users] Re: Running parallel version of a CPU benchmark on multiple cores

2021-04-16 Thread John Smith via gem5-users
Hi All, I am sorry for the confusion. I am looking to run a multithreaded application on a mesh of 3x3 CPUs, where the benchmark spawns 9 threads and each thread runs on a single CPU (1:1). I went through the past discussions on this mailing list and saw that m5threads was needed to do this. I ha

[gem5-users] Re: Speeding up the Edit, Compile, Debug cycle

2021-04-16 Thread gabriel.busnot--- via gem5-users
Hi Gabe, Such configuration tool would be great, indeed! I buy the performance argument for using static linking in release builds. But for debug builds, it is slightly less convincing to me ;) In the mean time, if you have any tip you are using to speed up the Edit, Compile, Debug cycle, I woul