By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Bytedance Proposes Faster Linux Inter-Process Communication With “Run Process As Library”
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Bytedance Proposes Faster Linux Inter-Process Communication With “Run Process As Library”
Computing

Bytedance Proposes Faster Linux Inter-Process Communication With “Run Process As Library”

News Room
Last updated: 2025/04/30 at 5:59 PM
News Room Published 30 April 2025
Share
SHARE

Bytedance engineers are exploring faster inter-process communication (IPC) on Linux via a new approach they call Run Process As Library (RPAL). Their initial benchmarks of RPAL are very promising for faster Linux IPC performance.

Bytedance has been exploring faster Linux IPC while needing minimal modifications at the application level. Run Process As Library “RPAL” comes down to a framework to allow one process to invoke another as if making a local function call and able to bypass going through the Linux kernel.

Run Process As Library

The core RPAL objectives come down to:

“1. Data-plane efficiency: Reduce the number of data copies from two (in the shared memory solution) to one.

2. Control-plane optimization: Eliminate the overhead of system calls and kernel’s thread switches.

3. Application compatibility: Minimize the modifications to existing applications that utilize Unix domain sockets and the epoll() family.”

For most readers just caring about the net benefit, RPAL is looking pretty wild:

“During testing, the client transmitted 1 million 32-byte messages, and we computed the per-message average latency. The results are as follows:

*****************
Without RPAL: Message length: 32 bytes, Total TSC cycles: 19616222534,
Message count: 1000000, Average latency: 19616 cycles
With RPAL: Message length: 32 bytes, Total TSC cycles: 1703459326,
Message count: 1000000, Average latency: 1703 cycles
*****************

These results confirm that RPAL delivers substantial latency improvements over the current epoll implementation—achieving a 17,913-cycle reduction (an ~91.3% improvement) for 32-byte messages.

We have applied RPAL to an RPC framework that is widely used in our data center. With RPAL, we have successfully achieved up to 15.5% reduction in the CPU utilization of processes in real-world microservice scenario. The gains primarily stem from minimizing control plane overhead through the utilization of userspace context switches. Additionally, by leveraging address space sharing, the number of memory copies is significantly reduced.”

RPAL does depend upon Intel Memory Protection Key (MPK) hardware support with newer processors or on the AMD side MPK support is found just with Zen 4 processors and newer. patches from Bytedance may allow RPAL use without MPK processor support.

Those interested in this promising work for faster Linux IPC performance can see this RFC patch series with the initial public patches around this Run Process As Library feature.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Gemini is getting its very own Android widget
Next Article EA is killing an iconic racing game franchise from the original PlayStation
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Sat, 07/05/2025 – 19:00 – Editors Summary
News
AI drives record share of UK venture capital investment – UKTN
News
The Best Gaming PCs We’ve Tested (July 2025)
News
Jury says Google must pay for using cellular data from Android users to collect their personal info
News

You Might also Like

Computing

Critical Cisco Vulnerability in Unified CM Grants Root Access via Static Credentials

3 Min Read
Computing

Debian 13 Installer RC2 Fixes An Annoying Issue, Improves Btrfs Rescue Handling

2 Min Read
Computing

Steam On Linux Usage Dips Slightly For June, AMD Linux CPU Usage Hits 69%

2 Min Read
Computing

New Research Shows Classic Selfish Mining Is Outdated | HackerNoon

10 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?