shadowsocks / shadowsocks/shadowsocks-rust

[Feature Request] Add io-uring support

Open
#580 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
10.9k
Forks
1.5k
Avg merge
4d 15h
Merged PRs (30d)
5

Description

Tokio recently added tokio-uring, io-uring support for tokio.
io-uring is a new Linux API for asynchronous I/O operations.

io-uring makes filesystem operations truly asynchronous, and avoids epolls for events notification.
Some early tests claimed that by switching to io-uring, the performance of a simple TCP echo server improved by up to 60%.

Although io-uring is only supported on Linux kernel >= 5.6,
adding its support should improve shadowsocks-rust's performance with multiple clients.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points to begin with. Review the tokio-uring reference and the Linux kernel >= 5.6 requirement first; done would mean defining and implementing io-uring support in shadowsocks-rust and verifying whether it improves multi-client performance.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
networking, operating-systems, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.