Linux Loopback performance with TCP_NODELAY enabled

前端 未结 3 1552
孤独总比滥情好
孤独总比滥情好 2021-01-31 21:04

I recently stumbled on an interesting TCP performance issue while running some performance tests that compared network performance versus loopback performance. In my case the n

3条回答
  •  [愿得一人]
    2021-01-31 21:25

    The is the same issue I faced,also. When transferring 2 MB of data between two components running in the same RHEL6 machine, it took 7 seconds to complete. When the data size is large, the time is not acceptable. It took 1 min to transfer 10 MB of data.

    Then I have tried with TCP_NODELAY disabled. It solved the problem

    This does not happen when the two components are in two different machines.

提交回复
热议问题