Ask Your Question

How can I estimate the congestion window with the information shown in wireshark?

asked 2019-06-04 02:56:52 +0000

1091378351 gravatar image

It seems that only receive window is analyzed and shown. And how can I use the data shown to estimate the congestion window? I'll be gratitude if someone could offer an algorithm in detail!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-06-05 10:44:27 +0000

The task is quite complex and usually you can't do this.

As current congestion window value is never transferred in packets, all you can do is to spot Bytes in Flight value (apply a filter to see only packets from sender you're interested in).

But in order to make any sense from Bytes in Flight value certain conditions are to be met:

  • Capture must be taken on the sender side

  • cwnd must be the limiting factor (not sending application)

  • The path has to have certain parameters (be able to keep cwnd size on the flight; you wouldn't be able to correlate BIF and cwnd in local 1Gb segment)
  • You have to keep in mind modern congestion control algorithms tend to move away from "cwnd-bound" way to "pacing-way" which means cwnd is not used so much to govern data transmission rate (BBR as an example).

So taking into consideration all these limitations, more optimal way is to spot cwnd by issuing commands on a sender OS.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-06-04 02:56:52 +0000

Seen: 3,261 times

Last updated: Jun 05 '19