c++ - Benefits of assigning cores to the process -


in reference whole core process, wondering real benefits. example, have multi-process qt c++ app, 7 processes, including heavily scientific computations , visualizations. app runs on newest ubuntu , 8 cores cpu (4 real , 4 virtual). hint: processes single threaded. assigning single process dedicated core bring performance benefits in case? ideally assign processes dedicated core have 1 process multi-threaded , drives device.

there benefit, yes, if keep other processes away dedicated cores. question need it, or put otherwise, feel in case?
kernel not bad @ assigning processes cores it's trying load balance , it's not aware of priorities, have force hand.
benefits processes suffer less cache misses , context switches. if many system calls, io, you'd have context switches , i'm not sure you'd feel of difference.
dedicated cores typically used time-critical threads not want interrupted else. , communicate on shm and/or non-kernel io.


Comments