Go's Scheduler Evolution: From Global Lock to GMP

Before Go 1.1, the scheduler used a G-M model with a single global run queue protected by a global mutex, leading to scalability bottlenecks and contention on multi-core systems. The GMP model, introduced to address these issues, decentralized scheduling with per-P local queues, drastically reducing lock contention.

Sources

Open the full topic