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

kcp能用writv和readv这种多缓冲区形式来通信吗 #367

Open
RoadsUntravelled opened this issue Aug 1, 2022 · 2 comments
Open

Comments

@RoadsUntravelled
Copy link

公司的设备是千兆万兆的,用read和write这种io不满足性能要求,必须要用writev和readv,但是发现很难适配,因为调用回调函数的时候是发送整个buffer,没办法用iovec来存数据

@skywind3000
Copy link
Owner

你自己按需改一下嘛。

@shiyi23
Copy link

shiyi23 commented Aug 21, 2022

公司的设备是千兆万兆的,用read和write这种io不满足性能要求,必须要用writev和readv,但是发现很难适配,因为调用回调函数的时候是发送整个buffer,没办法用iovec来存数据

请问是类似solarflare这样的急速网卡么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants