Concurrency – can a single process run in multiple cores?
Can a single process run different threads on different cores?
(I think they can) @ h_ 301_ 3@
In this case, different kernels share the same address space but have different caches? Does this mean that the cache will be redundant@ H_ 301_ 3@
Thank you@ H_ 301_ 3@
Solution
Yes, a single process can run multiple threads on different cores
Caching is hardware specific Many modern Intel processors have three levels of cache, in which the last level of cache is shared between kernels@ H_ 301_ 3@
This does not mean that unshared cache is redundant, but it does affect multi-core performance In particular, if one core updates the value in the address space currently in the private cache of another core, the cache consistency protocol must be run to ensure that the other core can no longer read the obsolete value@ H_ 301_ 3@