Good documentation on structure tcp_info [closed]

会有一股神秘感。 提交于 2019-11-30 05:19:28

Here is a fairly comprehensive write-up of the structure and use of the linux tcp_info by René Pfeiffer but there are a couple of things worth noting:

  • The author needed to look at these data repeated over time because there are no aggregate stats in that structure.
  • The author directs you to the tcp.c source as the final authority on the meaning of any of those data.
  • I'm not sure what you were hoping to get from the Maximum Segment Size, but expect you thought it meant something else.

If you are truly interested in exact measurements of bandwidth you need to use a measurement device which is outside the system being tested as even pulling the ioctls will affect the phenomenon you are interested in knowing about. A passive wire sniffer is the only way to get truly accurate results. Finally, depending on your application, "bandwidth" is a really broad umbrella which flattens many measurements (e.g. latency, round-trip-time, variability, jitter, etc.) into one category.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!