Re: [gem5-users] bind application to cores

2013-04-14 Thread Ali Saidi
I think you'll need to change the OS as it can move the threads around at any time. Now if it's just the cores you want to move (because they're asymmetrical in some way) you could make cpuN be some other CPU in the eyes of the kernel by exchanging ThreadContexts between the CPU, but I'm not sur

Re: [gem5-users] bind application to cores

2013-04-11 Thread Hui Zhao
Ali, thanks for the reply. I have a related question, hope you can give some advice. Instead of using setaffinity call, is it possible to hack the gem5 interface with the linux OS, so that I can assign any thread (with its instruction workloads) to any cpu I want to? The reason to do this is becaus

Re: [gem5-users] bind application to cores

2013-04-10 Thread Ali Saidi
Where the instruction counts on the cores the same? If the application was small enough the instruction and ilc might be dominated by the system booting. Ali On Apr 9, 2013, at 9:54 PM, Hui Zhao wrote: > I am running a parsec benchmark with 4 threads on 4 core Alpha FS machine, I > used "m5 p

[gem5-users] bind application to cores

2013-04-09 Thread Hui Zhao
I am running a parsec benchmark with 4 threads on 4 core Alpha FS machine, I used "m5 pin" to bind all 4 threads to the first 2 cores. However, when I checked the ipc in the stats, I saw all 4 cores have similar ipc. I am expecting that only first 2 cores have reasonable ipc, and other cores should