Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[catpowder] Support memory-mapped rx and tx queues #1327

Open
iyzhang opened this issue Jul 3, 2024 · 0 comments
Open

[catpowder] Support memory-mapped rx and tx queues #1327

iyzhang opened this issue Jul 3, 2024 · 0 comments
Labels
feature New Feature Request

Comments

@iyzhang
Copy link
Contributor

iyzhang commented Jul 3, 2024

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.

@iyzhang iyzhang added the feature New Feature Request label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant