Hello,

      I am working on a dual core personal laptop(ubuntu linux ).I
need to decide when to migrate a task from one processor to other....
      My idea is to migrate a task when its not been too long on a
particular processor....So i need to check for the time that a
particular task is on a particular processor and migrate it if the
time is less than a certain time (some reference)....My prof also
asked me to check for cache perforamnce to decide upon migrating....I
need to make these changes and compare the performance of my script
with the unchanged one....My prof asked me check for all the processes
shown by /proc...Later i need to work on quad core...

My questions are

1. How to check for the time spent by a particular process and cache
performance..?
2.Whether i am right with my idea of migrating it by considering the
time spent by a particular process?
3. What difference i would find with quad core from dual core?
4.How to implement all these?

Reply via email to