1

1 から 50 程度の範囲の記述子のベンチマークはありますか? 私が目にするほとんどのベンチマークは、多数の記述子 100s..1000s... 用です。

私は現在、16 個の記述子でポーリングを使用しており、アプリの速度が向上する場合は epoll を使用することを考えています。

Please advise in 3 scenarios with 16 socket descriptors in the set for poll/epoll:
1. most of the sockets are active...>both should be same performance?
2. half active half idle....what is better here?
3. mostly idle...> clearly epoll is better ?
4

1 に答える 1