- May 11, 2008
- 22,175
- 1,402
- 126
I was reading about thread migration being more energy efficient.
Is this true, and how is that ?
Any os of the last decade has lots of threads, more than a modern 8 core/ 16 thread cpu can handle.
When i think about it, i assume the scheduler of any kernel would just select a core where the currently running threads (SMT) both cannot continue because of waiting for a semaphore or because the scheduler schedules another thread to be run because of multitasking.
I get the impression that on any given time on a device that is not in sleep, there are so many threads to be run that thread migration happens automatically.
Why would an OS migrate threads for energy efficiency or just do extra shuffling of thread for a reason i do not know ?
Is this true, and how is that ?
Any os of the last decade has lots of threads, more than a modern 8 core/ 16 thread cpu can handle.
When i think about it, i assume the scheduler of any kernel would just select a core where the currently running threads (SMT) both cannot continue because of waiting for a semaphore or because the scheduler schedules another thread to be run because of multitasking.
I get the impression that on any given time on a device that is not in sleep, there are so many threads to be run that thread migration happens automatically.
Why would an OS migrate threads for energy efficiency or just do extra shuffling of thread for a reason i do not know ?