microsoft / microsoft/demikernel
[catpowder] Support memory-mapped rx and tx queues
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
Context
Linux packet capture for raw sockets is very inefficient. It only sends or receives a single packet at a time and requires a system call for every packet. This inefficiency is particularly bad for workloads that use small packets.
Proposed Solution
Implement support for memory mapped queues
We should support user-level send and receive queues. This lets us get benefits similar to io_uring but with our own faster TCP stack.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Linux packet_mmap documentation and then locate the catpowder raw-socket packet-capture path; the issue names no files or tests. Done means supporting user-level memory-mapped receive and transmit queues for the TCP stack, with coverage for the intended packet-capture behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- networking, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100