---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# 字节跳动提出“以库方式运行进程”以大幅提升Linux IPC效率

Source: https://www.zaihua.news/article/32515/

[返回新闻流](https://www.zaihua.news/)
2025年5月1日 · 19:49 · [在花新闻](https://www.zaihua.news/about/)

# 字节跳动提出“以库方式运行进程”以大幅提升Linux IPC效率

字节跳动工程师提出一种名为“Run Process As Library”（RPAL，以库方式运行进程）的新方法，用以加速Linux中的进程间通信（IPC），目标是在最小修改应用的前提下，绕过内核实现用户态高效通信。

RPAL通过共享地址空间、减少数据拷贝和系统调用开销，使一个进程能像调用本地函数一样调用另一个进程。实测中，传输100万条32字节消息时，RPAL将平均延迟从19616个CPU周期降至1703个，降低约91.3%。在数据中心微服务场景中，该技术还带来了最多15.5%的CPU使用率下降。

目前RPAL依赖于Intel MPK或AMD Zen 4以上处理器，后续补丁可能放宽硬件要求。相关补丁已以RFC形式公开发布。

[lore.kernel.org](https://lore.kernel.org/lkml/CAP2HCOmAkRVTci0ObtyW=3v6GFOrt9zCn2NwLUbZ+Di49xkBiw@mail.gmail.com/)

📮[投稿](http://t.me/ZaiHuabot) ☘️[频道](http://t.me/zaihuanews) 🌸[聊天](http://t.me/zaihuachat)

[上一条黄仁勋：中美AI差距微小，世界上50%的AI研究人员是中国人](https://www.zaihua.news/article/32513/)[下一条董某外公为外籍院士米耀荣系谣言](https://www.zaihua.news/article/32516/)
