MCP Catalogs
Homeschedcp screenshot

schedcp

by eunomia-bpf·105·Score 46

SchedCP enables AI optimization of Linux kernel schedulers using MCP Server for automatic management and performance tuning.

developer-toolsmonitoringops-infra
16
Forks
1
Open issues
3 mo ago
Last commit
2d ago
Indexed

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:

you:Automatically optimize Linux system performance for various workloads
you:Enable AI agents to manage and tune kernel schedulers
you:Create custom BPF schedulers using AI agent assistance
you:What is sched-ext and why is it required?
you:How do I use the autotune tool?

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 README
  • list_schedulers

    Get detailed information about all available schedulers

  • run_scheduler

    Start schedulers with custom configurations

  • stop_scheduler

    Stop running scheduler instances

  • get_execution_status

    Monitor scheduler performance and output

  • create_and_verify_scheduler

    Create custom BPF schedulers from source code

  • system_monitor

    Collect real-time CPU, memory, and scheduler metrics

  • workload

    Manage workload profiles and execution history

  • autotune

    AI Agent-powered automatic OS optimization

Comparable tools

scxlinux-bpf-scheduler-mcp

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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.