---
title: "Discussion on \"How Go's Scheduler Actually Works: A Deep Dive into the GMP Model\" | Hashnode"
description: "Discussion on \"How Go's Scheduler Actually Works: A Deep Dive into the GMP Model\". How does Go run millions of goroutines on a few OS threads? A deep dive into the GMP model — G, M, P, work stealing, syscalls, and scheduling flow."
url: "https://hashnode.com/posts/how-go-s-scheduler-actually-works-a-deep-dive-into-the-gmp-model/69ee71873d6a492cdd47d7de"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How Go's Scheduler Actually Works: A Deep Dive into the GMP Model](https://go-stack-trace.hashnode.dev/how-go-s-scheduler-actually-works-a-deep-dive-into-the-gmp-model?utm_source=hashnode&utm_medium=feed)

How does Go run millions of goroutines on a few OS threads? A deep dive into the GMP model — G, M, P, work stealing, syscalls, and scheduling flow.

Apr 26 · 11 min read · go-stack-trace.hashnode.dev  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#goroutines](https://hashnode.com/tag/goroutines)
-   [#behind-the-scenes](https://hashnode.com/tag/behind-the-scenes)
-   [#concurrency](https://hashnode.com/tag/concurrency)
-   [#go-internals](https://hashnode.com/tag/go-internals)

## Written by

[Sagar Das](https://hashnode.com/@sagarmikeylevi)

@sagarmikeylevi · Bangalore, India

  
[View profile](https://hashnode.com/@sagarmikeylevi)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
