Wednesday, February 3, 2016

Multi-core computing platforms task assignment policy issue?




            


I would like to know, in the multi-core platform, that is, when there is more than one CPU on a single chip, when a software program to calculate the specific tasks which tasks performed by the CPU which this decision is the compilation of the underlying layer is determined by the hardware or can determined by the software ah?
Reply:
Which thread or process which is assigned to the core operating system execute the decision, but can also interfere with the programmer through some API or system calls.

And which of the thread or process to complete the work in order to achieve load balancing of what is decided by the programmer.
Reply:
Upstairs right to say that the operating system is responsible for assigning threads or processes to core work. By default, when the operating system scheduler will try to thread / process scheduling to the core of it on the last run to run, in order to improve performance. Developers can through API or system calls to change this preference

No comments:

Post a Comment