DEV Community

Aleksei Aleinikov
Aleksei Aleinikov

Posted on

🧡 How Many Threads Does Go Really Use? (2025 Test Report)

πŸ’‘ Even with GOMAXPROCS=1, Go runs ~3 OS threads
πŸ” sysmon, main, and spare M keep the runtime alive
βš™οΈ GC helpers exist but stay parked when GOGC=off
πŸ›  Tested with GODEBUG=schedtrace and scheddetail flags
πŸ‘‰ Check the full investigation and understand Go’s thread behavior today!
https://levelup.gitconnected.com/how-many-threads-go-creates-in-reality-a-practical-investigation-2025-eff963f3e435

Top comments (0)