<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/xnu-doc-scheduler-sched-clutch-edge-md-at-main-apple-oss-distributions-xnu-0bpeobqli" -->

---
title: xnu/doc/scheduler/sched_clutch_edge.md at main ·...
description: The XNU kernel&#x27;s Edge scheduler implements a hierarchical thread scheduling design for multi-cluster platforms. It operates at three levels: scheduling bucket...
canonical: https://daily.dev/posts/xnu-doc-scheduler-sched-clutch-edge-md-at-main-apple-oss-distributions-xnu-0bpeobqli
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: xnu/doc/scheduler/sched_clutch_edge.md at main · apple-oss-distributions/xnu | daily.dev
og:description: The XNU kernel&#x27;s Edge scheduler implements a hierarchical thread scheduling design for multi-cluster platforms. It operates at three levels: scheduling bucket...
og:url: https://daily.dev/posts/xnu-doc-scheduler-sched-clutch-edge-md-at-main-apple-oss-distributions-xnu-0bpeobqli
og:image: https://api.daily.dev/og/posts/0BPeOBqli.png
og:image:alt: xnu/doc/scheduler/sched_clutch_edge.md at main · apple-oss-distributions/xnu
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# xnu/doc/scheduler/sched_clutch_edge.md at main · apple-oss-distributions/xnu

**[Hacker News](https://daily.dev/sources/hn)** · 24 min read · 0 upvotes · 0 comments

## Summary

The XNU kernel's Edge scheduler implements a hierarchical thread scheduling design for multi-cluster platforms. It operates at three levels: scheduling bucket (using Earliest Deadline First with WCEL values), thread group (using interactivity scoring based on CPU/blocking ratios), and individual thread (using Mach timesharing with priority decay). The Edge scheduler extends clutch scheduling to handle asymmetric multi-cluster systems through per-thread-group cluster recommendations, a migration graph with weighted edges, and per-cluster scheduling latency metrics. Key features include foreign thread rebalancing, shared resource load balancing, and "stir-the-pot" round-robining to prevent stragglers in parallel workloads.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/apple-oss-distributions/xnu/blob/main/doc/scheduler/sched_clutch_edge.md>

## Similar posts on daily.dev

- [Optimized NUMA Distances For Intel GNR & CWF, Other Scheduler Improvements In Linux 6.19](https://daily.dev/posts/optimized-numa-distances-for-intel-gnr-cwf-other-scheduler-improvements-in-linux-6-19-d3qv9ehl7) · Phoronix · 0 upvotes · 0 comments
- [Linux's sched\_ext Will Prioritize Idle SMT Siblings For Better Performance](https://daily.dev/posts/linux-s-sched-ext-will-prioritize-idle-smt-siblings-for-better-performance-tiery1ycf) · Phoronix · 0 upvotes · 0 comments
- [Kubernetes Could Use a Different Linux Scheduler](https://daily.dev/posts/kubernetes-could-use-a-different-linux-scheduler-cc5mbxuoz) · Container Journal · 0 upvotes · 0 comments
- [Intel's Cache Aware Scheduling Inches Closer To Being Merged For Linux](https://daily.dev/posts/intel-s-cache-aware-scheduling-inches-closer-to-being-merged-for-linux-otzzt47dg) · Phoronix · 1 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance)

[View this post on daily.dev](https://daily.dev/posts/xnu-doc-scheduler-sched-clutch-edge-md-at-main-apple-oss-distributions-xnu-0bpeobqli)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"xnu/doc/scheduler/sched_clutch_edge.md at main · apple-oss-distributions/xnu","url":"https://daily.dev/posts/xnu-doc-scheduler-sched-clutch-edge-md-at-main-apple-oss-distributions-xnu-0bpeobqli","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/xnu-doc-scheduler-sched-clutch-edge-md-at-main-apple-oss-distributions-xnu-0bpeobqli"},"datePublished":"2026-02-09T01:27:26.223Z","dateModified":"2026-02-09T01:27:51.280Z","description":"The XNU kernel's Edge scheduler implements a hierarchical thread scheduling design for multi-cluster platforms. It operates at three levels: scheduling bucket...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/05b3b1e9ef9a404a40f2a026a854e104?_a=AQAEunF","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/05b3b1e9ef9a404a40f2a026a854e104?_a=AQAEunF","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/xnu-doc-scheduler-sched-clutch-edge-md-at-main-apple-oss-distributions-xnu-0bpeobqli","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance","timeRequired":"PT24M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"xnu/doc/scheduler/sched_clutch_edge.md at main · apple-oss-distributions/xnu"}]}
```

