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.