News for hackers. Stuff that matters.
Re:Lord of the io_uring: io_uring tutorial, examples and ref... by frevib on Wednesday May 13, 2020 @01:54AM (#23163891)
Could elaborate on “re-register”? It does not do short writes, if that’s what you mean.
Re:Lord of the io_uring: io_uring tutorial, examples and ref... by tele_ski on Thursday May 14, 2020 @01:16AM (#23175592)
Normally I'd expect an epoll implementation to epoll_ctl to make sure the socket can be written to without blocking. In this benchmark it probably makes no difference but I would think it would make the results a little more inline with a real applications usage of epoll.
Re:Lord of the io_uring: io_uring tutorial, examples and ref... by frevib on Friday May 15, 2020 @04:22PM (#23196967)
This a bare minimal echo server for educational purposes. It is not inline with a real world event loop.
Re:Lord of the io_uring: io_uring tutorial, examples and ref... by tele_ski on Sunday May 17, 2020 @04:43PM (#23215281)
Yeah I understand that, but if you are going for identical performance characteristics of how epoll would normally be used then I would expect it to re-register. Thats all I was getting at.