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

recvfrom_zcopy in epoll_wait loop #19

Open
GoogleCodeExporter opened this issue Apr 30, 2015 · 0 comments
Open

recvfrom_zcopy in epoll_wait loop #19

GoogleCodeExporter opened this issue Apr 30, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

In epoll_wait loop with multiple FDs registered should I call recvfrom_zcopy 
once only?

Otherwise if there is a continuous stream of UDP packets incoming it always 
returns recvfrom_zcopy > 0 and I never get any chance to get to the other FD.

See attached file stest.c - line #91. Is it correct (provides optimal 
performance) to attempt to receive only once?

Thanks

Original issue reported on code.google.com by [email protected] on 13 Jul 2014 at 10:07

Attachments:

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