MCP Catalogs
首页schedcp screenshot

schedcp

by eunomia-bpf·105·综合分 46

SchedCP 通过 MCP 服务器实现 Linux 内核调度器的 AI 优化与自动管理性能调优。

developer-toolsmonitoringops-infra
16
Forks
1
活跃 Issue
3 个月前
最近提交
2 天前
收录于

概述

SchedCP 是一个实验性项目,通过 sched-ext 框架提供端到端的自动调度器选择、工作负载分析和性能优化。它包含 AI 驱动的 autotune 工具和专用 MCP 服务器,提供调度器列表、运行、停止、状态监控、创建验证、系统监控和工作负载管理等工具。该项目基于学术论文,旨在创建无需人工干预即可优化系统组件的'代理操作系统'。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:自动优化 Linux 系统在各种工作负载下的性能
:启用 AI 代理管理并调优内核调度器
:使用 AI 助手创建自定义的 BPF 调度器
:什么是 sched-ext,为什么需要它?
:如何使用 autotune 工具?

什么时候选它

当你需要AI驱动的Linux调度器性能优化,且能够使用实验性内核时,选择SchedCP。

什么时候不要选它

如果你需要生产级解决方案或无法使用6.12+并支持sched-ext的Linux内核,请不要使用此工具。

此 server 暴露的工具

从 README 抽取出 8 个工具
  • 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

可对比工具

scxlinux-bpf-scheduler-mcp

安装

安装要求

  • Linux 6.12+ 内核,支持 sched-ext
  • Rust 工具链

构建步骤

# 使用子模块克隆
git clone https://github.com/eunomia-bpf/schedcp
cd schedcp
git submodule update --init --recursive scheduler/scx

# 构建调度器
cd scheduler && make && make install && cd..
# 构建 autotune
cd autotune && cargo build --release && cd..
# 构建 MCP 服务器
cd mcp && cargo build --release && cd..

Claude Desktop 配置

添加到您的 Claude Desktop 配置文件:

{
  "mcpServers": {
    "schedcp": {
      "command": "path/to/schedcp/target/release/schedcp",
      "args": []
    }
  }
}

FAQ

什么是 sched-ext,为什么需要它?
sched-ext 是一个 Linux 内核 BPF 调度器框架。SchedCP 需要它来创建和运行自定义调度器。您需要 6.12+ 版本的内核并支持 sched-ext。
如何使用 autotune 工具?
只需运行:`./autotune/target/release/autotune cc "<您的工作负载命令>"`。AI 代理将自动为您的选择并配置最佳调度器。

schedcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。