2 ms·
So... Does the active/total file descriptor ratio ever go above .6? It looks like from Zed's tests that below that ratio epoll is invariably faster, and above t
by losvedir 16y ago
So... Does the active/total file descriptor ratio ever go above .6? It looks like from Zed's tests that below that ratio epoll is invariably faster, and above that ratio poll is. Pretty straightforward, and Zed did a terrific job of elucidating the key distinction.
The natural question at this point is whether that ratio ever does go above .6, and honestly... I have no idea because I don't even really know what active or total file descriptors are! But it seems like it should be easy to find out, if people just ran a few tests, yeah?
I only bring this question up because the last section of the article asks why everyone just assumed epoll was always faster. A potential answer is that if the ratio never goes above .6 then epoll IS always faster.
In any case, I have no vested interest - as I said I don't even really know what these things are. I'm just trying to understand the human side about why people believe what they do.