# Modernizing the Meta Ads Service With an Open-Source Kernel Scheduler

DevFeed: [Modernizing the Meta Ads Service With an Open-Source Kernel Scheduler](<https://devfeed.tech/articles/modernizing-the-meta-ads-service-with-an-open-source-kernel-scheduler-125.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2026/07/13/ml-applications/modernizing-the-meta-ads-service-with-an-open-source-kernel-scheduler/>)

Author: Blaise Sanouillet; Sunyi Shao; Jeff Song; Gosh Arzumanyan; Shawn Wu; Tejun Heo; Praveen Sampath; GP Musumeci

Published: 2026-07-13T16:00:50Z

Content type: article

Language: en

Sources: [Engineering at Meta](<https://devfeed.tech/sources/engineering-at-meta.md>), [Meta ML Applications](<https://devfeed.tech/sources/meta-ml-applications.md>)

Topics: [Latency](<https://devfeed.tech/topics/latency.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [engineering](<https://devfeed.tech/tags/engineering.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [latency](<https://devfeed.tech/tags/latency.md>), [linux](<https://devfeed.tech/tags/linux.md>), [meta](<https://devfeed.tech/tags/meta.md>), [ml-applications](<https://devfeed.tech/tags/ml-applications.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>)

## AI overview

Meta describes using the open-source, BPF-based sched_ext framework to create a Linux kernel scheduling policy tailored to its ads delivery workload. The approach addressed latency regressions associated with a kernel upgrade and produced lower tail latency, reduced power consumption, and a modest increase in ads ranked.

## Source excerpt

TL; DR At Meta's scale, a few milliseconds of latency degradation can have a significant negative impact on ads performance. When a Linux kernel upgrade risked regressing latency across Meta's ad serving fleet, we turned to sched_ext -- the upstream, BPF-based extensible scheduling framework -- to build a scheduling policy customized to the Ads delivery [...] Read More... The post Modernizing the Meta Ads Service With an Open-Source Kernel Scheduler appeared first on Engineering at Meta.