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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -