linux - Is "epoll" faster than "select" even when there is only one connection? -


i have tried in way:create server , client in same pc , , send packet client server.once server side receive packet , sends same packet client . looped 1000,000 times , total consumed time , take average . surprise, avg latency 'select' 33 micro secs while latency 'epoll' 10 micro secs. since set 1 connection , did not expect 'epoll' latency shorter . reasonable ? thanks.


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -