KernelTrap: HyperThreading-Aware Scheduler
Aug 30, 2002, 20:30 (9 Talkback[s])
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
"Ingo Molnar, author of the O(1) scheduler and the original
preemptive kernel patch, has provided a patch to make the O(1)
scheduler fully aware of symmetric multithreading. Ingo
'Symmetric multithreading (hyperthreading) is an
interesting new concept that IMO deserves full scheduler support.
Physical CPUs can have multiple (typically 2) logical CPUs
embedded, and can run multiple tasks 'in parallel' by utilizing
fast hardware-based context-switching between the two register sets
upon things like cache-misses or special instructions. To the OSs
the logical CPUs are almost undistinguishable from physical CPUs.
In fact the current scheduler treats each logical CPU as a separate
physical CPU - which works but does not maximize multiprocessing
performance on SMT/HT boxes...'