Tag: runtime
All the articles with the tag "runtime".
Go scheduler: how a million goroutines fit on five threads
One Go 1.27 program keeps 1,000,001 goroutines alive on a 4-vCPU Linux VM with five OS threads. The G, M and P model, run queues and work stealing in a live schedtrace, async preemption, and the one case where Go starts a thousand threads, with the programs to repeat each step.