Core scheduling lands in 5.14
Core scheduling lands in 5.14
Posted Jul 5, 2021 18:53 UTC (Mon) by fratti (guest, #105722)In reply to: Core scheduling lands in 5.14 by Sesse
Parent article: Core scheduling lands in 5.14
I believe the "extreme" version of this is what modern GPUs do: fine-grained multithreading. Instead of doing things like branch prediction to keep the pipeline saturated, they simply execute a different thread's instruction with each clock cycle, such that each thread only ever has one instruction at most in the pipeline. Naturally this trades off single-threaded performance and requires keeping as many register files as one has pipeline stages, but it's a pretty elegant solution for maximising throughput if one really does have that many independent threads.
