Re:Let's Do Some Science: Zed's Test Stack for poll vs. epoll
by axod on Wednesday August 04, 2010 @05:16AM
(#1574047)
It may sound inefficient, but I've never seen it being a bottleneck. It needs to be separated out at some point, and the kernel is the best place to do that.
maybe if you're trying to serve 50,000 video streams from a single machine or something, but then you'll probably hit the limitations of your connection before you see any CPU usage from the networking code.
This whole discussion, as I've said before, seems like a classic case of premature optimization.
Networking code doesn't eat CPU. It's negligible.
Concentrate on all the BS dynamic functional language database crap people seem to insist on using at the higher levels. That's where all the wastage is.
maybe if you're trying to serve 50,000 video streams from a single machine or something, but then you'll probably hit the limitations of your connection before you see any CPU usage from the networking code.
This whole discussion, as I've said before, seems like a classic case of premature optimization.
Networking code doesn't eat CPU. It's negligible.
Concentrate on all the BS dynamic functional language database crap people seem to insist on using at the higher levels. That's where all the wastage is.