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

alternatives to readv() and writev() when the file descriptor is a TUN device #11071

Open
Lanius-collaris opened this issue Oct 22, 2024 · 2 comments
Labels
type: enhancement New feature or request

Comments

@Lanius-collaris
Copy link

Description

I want to find a faster PacketDispatchMode supported by TUN device.

Is this feature related to a specific bug?

No response

Do you have a specific solution in mind?

io_uring or Linux AIO

@Lanius-collaris Lanius-collaris added the type: enhancement New feature or request label Oct 22, 2024
@kevinGC
Copy link
Collaborator

kevinGC commented Oct 22, 2024

There's sendmmsg/recvmmsg and PACKET_MMAP. io_uring would be interesting -- we haven't explored that and I'm not sure how it would perform.

@Lanius-collaris
Copy link
Author

But TUN device doesn't support sendmmsg/recvmmsg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants