by grandinj · 7y ago · 0 comments
Compared to this Windows is looking more and more impressive and their api is decades old.
I’m sure this is higher performing in some benchmark setup, but very little cpu time is spent on kernel overhead for any heavy io application.
It would be nicer just to have a clean set of flexible asynchronous apis that all shared a relatively simpler model.
I would really like to see some backing for that claim. In I/O heavy applications that I've seen (Think performance enhancing proxies), syscalls easily account for over half the CPU cycles.
That was directly from userspace->kernel getting slowed down, to send on the network.
EDIT: that is not to say that it is as horrible to use as epoll (at least in multithreaded programs), but my favorite has to be kqueue.