
schedcp
by eunomia-bpf·★ 105·Score 46
SchedCP enables AI optimization of Linux kernel schedulers using MCP Server for automatic management and performance tuning.
Overview
SchedCP is an experimental project that provides e2e automatic scheduler selection, workload profiling, and performance optimization using the sched-ext framework. It includes an AI agent-powered autotune tool and a dedicated MCP server with tools for list_schedulers, run_scheduler, stop_scheduler, get_execution_status, create_and_verify_scheduler, system_monitor, and workload management. The project is based on academic research with a published paper and aims to create an 'Agentic OS' that can optimize system components without human intervention.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose SchedCP if you need AI-powered optimization for Linux scheduler performance and have experimental kernel access.
When NOT to choose this
Avoid this if you need a production-ready solution or cannot use Linux kernels 6.12+ with sched-ext support.
Tools this server exposes
8 tools extracted from the READMElist_schedulersGet detailed information about all available schedulers
run_schedulerStart schedulers with custom configurations
stop_schedulerStop running scheduler instances
get_execution_statusMonitor scheduler performance and output
create_and_verify_schedulerCreate custom BPF schedulers from source code
system_monitorCollect real-time CPU, memory, and scheduler metrics
workloadManage workload profiles and execution history
autotuneAI Agent-powered automatic OS optimization
Comparable tools
Installation
Installation Requirements
- Linux kernel 6.12+ with sched-ext support
- Rust toolchain
Build Steps
# Clone with submodules
git clone https://github.com/eunomia-bpf/schedcp
cd schedcp
git submodule update --init --recursive scheduler/scx
# Build schedulers
cd scheduler && make && make install && cd..
# Build autotune
cd autotune && cargo build --release && cd..
# Build MCP server
cd mcp && cargo build --release && cd..Claude Desktop Configuration
Add to your Claude Desktop config:
{
"mcpServers": {
"schedcp": {
"command": "path/to/schedcp/target/release/schedcp",
"args": []
}
}
}FAQ
- What is sched-ext and why is it required?
- sched-ext is a Linux kernel BPF scheduler framework. SchedCP requires it to create and run custom schedulers. You need kernel 6.12+ with sched-ext support.
- How do I use the autotune tool?
- Simply run: `./autotune/target/release/autotune cc "<your workload command>"`. The AI agent will automatically select and configure the best scheduler for your workload.
Compare schedcp with
Last updated · Auto-generated from public README + GitHub signals.