<div dir="ltr"><br><div class="gmail_extra">This is amazing!<br><br>Here is result of simple UDP echo server. It spans 1000 processes for client and servers [1]. I ran it on Xeon E5-2620 with eight physical cores.<br><br><div><div>On baseline 20:<br><br>16:22:34.977
 [notice] 1505303554: recv_pkts: 1793113 recv_size: 8965565 sent_pkts: 
1793113 sent_size: 2639462336 recv: 7.172452 Mbit/s send: 2111.569869 
Mbit/s<br>16:22:44.978 [notice] 1505303564: recv_pkts: 1801476 
recv_size: 9007380 sent_pkts: 1801476 sent_size: 2651772672 recv: 
7.205904 Mbit/s send: 2121.418138 Mbit/s<br>16:22:54.979 [notice] 
1505303574: recv_pkts: 1799551 recv_size: 8997755 sent_pkts: 1799551 
sent_size: 2648939072 recv: 7.198204 Mbit/s send: 2119.151258 Mbit/s<br><br>On poll-threads branch I get best results by two polling threads:<br><br>16:58:14.696 [notice] 1505305694: recv_pkts: 2835781 recv_size: 14178905 sent_pkts: 2835781 sent_size: <a href="tel:%28417%29%20426-9632" value="+14174269632" target="_blank">4174269632</a> recv: 11.343124 Mbit/s send: 3339.415706 Mbit/s<br>16:58:24.698 [notice] 1505305704: recv_pkts: 2836201 recv_size: 14181005 sent_pkts: 2836201 sent_size: <a href="tel:%28417%29%20488-7872" value="+14174887872" target="_blank">4174887872</a> recv: 11.344804 Mbit/s send: 3339.910298 Mbit/s<br>16:58:34.699
 [notice] 1505305714: recv_pkts: 2833905 recv_size: 14169525 sent_pkts: 
2833905 sent_size: 4171508160 recv: 11.335620 Mbit/s send: 3337.206528 
Mbit/s<br><br></div>A %50 throughput increase for this small system! I expect more enhancements in bigger systems; those involving more message passings or using encryption.<br></div><div><br></div>1: <a href="https://github.com/reith/udpstress">https://github.com/reith/udpstress</a><br></div></div>