Skip to content

eunomia-bpf/schedCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SchedCP

SchedCP is an AI-driven control-plane for the Linux kernel: a lightweight management daemon plus an eBPF-/MCP-based server that watches live workload signals (perf, DAMON, energy, sched_ext events) and allow your AI Agents like claude-code to learns how to tweak schedulers, sysctls and other kernel knobs in real time.

Quick Start

# Build all components
make

# Run a scheduler with SchedCP
./scheduler/sche_bin/scx_rusty --slice-us 20000

# Monitor performance
./scheduler/tools/scxtop

Architecture

SchedCP combines multiple technologies to create an intelligent kernel control system:

  • eBPF/sched_ext: Runtime kernel programmability for schedulers and monitoring
  • MCP (Model Context Protocol): AI-driven policy decisions based on system state
  • Real-time telemetry: Performance counters, DAMON memory stats, energy monitoring
  • Adaptive control loops: Observe � Decide � Apply � Verify

Key Features

  • Auto-tuning schedulers: Dynamically adjust scheduler parameters based on workload
  • Sysctl optimization: Automatic kernel parameter tuning without manual configuration
  • Energy awareness: Balance performance with power consumption goals
  • Multi-workload support: From interactive desktops to batch processing clusters
  • Safety mechanisms: A/B testing, rollback, and verification for all changes

Documentation

Requirements

  • Linux kernel 6.12+ with sched_ext support
  • Clang/LLVM >= 16 (17 recommended)
  • Rust toolchain >= 1.82
  • libbpf >= 1.2.2

License

SchedCP is open source software. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •