Hello All,

Really many great thanks for your time and support.
As i wrote before,i need to implement scheduling algorithm for tasks among
multicore to decrease miss rate for the shared cache.
Is modifying in the linux kernel difficult and taking large time ?
or
Is it easy ?

I am asking this question because i used SESC simulator and it took large
time to understand and modify ,then after that i found that SESC simulator
has NO multiprogramming,so i am searching for another simulator and i have
limited time to finish my research.

Second question about the mapping of the benchmarks to the threads:
Are the threads sharing the same benchmark ?
or
There is no sharing ,for example :
We have 5 threads and 5 benchmarks,so we can assign thread 0 to the first
benchmark,then we can assign thread 1 to the second one and so on.

I would appreciate if you could reply at your earliest convenience.
Thank you in advance for your help.
Best Regards
Wael Amr


On Mon, Apr 23, 2012 at 3:47 PM, Hamid Reza Khaleghzadeh <
[email protected]> wrote:

> Hello,
>
> You can bind thread to cores by ether  pthread_setaffinity_np() or
> <http://linux.die.net/man/2/sched%5Fsetaffinity>sched_setaffinity() Linux
> system call. You can learn more about them in PThread manual and linux
> journals.
>
> Best regards
>
> 2012/4/23 Mohamed hédi Ghaddab <[email protected]>
>
>> Hi Hamid,
>> can you please explain more how i can determine a thread runs on which
>> core?
>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
> Hamid Reza Khaleghzadeh
> http://hkhaleghzadeh.webs.com
>
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to