Restrict the usage of cores?

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Restrict the usage of cores?

Postby baseballguy » Fri Jul 18, 2014 1:35 pm

Hello,

Is there a way to "turn off" or restrict the number of cores that a program is using. I was able to do that for some of Parallella's programs like Mandelbrot and aobench by changing the source code. However, I want to limit the number of cores before running PARSEC benchmarks. However, I don't think that these benchmarks would have code that would allow to change the number of cores.

Is there like a single program that is able to turn the cores on and off?

Thanks
baseballguy
 
Posts: 40
Joined: Tue Jul 08, 2014 1:36 pm

Re: Restrict the usage of cores?

Postby notzed » Sat Jul 19, 2014 3:55 am

The code itself has to be written to handle different number of cores.

It may be written in a way that it is flexible and can be determined at runtime or compile time, or it may be hard-coded for a specific core layout.

If you disabled certain cores (you could copy and edit the .hdf file it is using and hide some cores from the sdk) it will just crash any programs not written with that in mind (or they will refuse to run).
notzed
 
Posts: 331
Joined: Mon Dec 17, 2012 12:28 am
Location: Australia


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 10 guests

cron