Skip to content

Report actual send window as well? #249

@he32

Description

@he32

Hi,

I wonder ... would it be interesting to report the actual send window in use, i.e. the
one the receiver announces to the sender? The problem is that the default display
on platforms doing TCP_INFO is quite wide, so there's no room for an additional coloumn,
within 80 characters, ref.

[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  6]   0.00-1.00   sec  3.46 MBytes  29.0 Mbits/sec    0    512 KBytes       
[  6]   1.00-2.01   sec  3.38 MBytes  28.2 Mbits/sec    0    512 KBytes       
[  6]   2.01-3.00   sec  3.44 MBytes  29.0 Mbits/sec    0    512 KBytes       
[  6]   3.00-4.00   sec  3.46 MBytes  29.0 Mbits/sec    0    512 KBytes       

I have some possibly hackish changes which changes this into

[ ID] Interval        Transfer  Bandwidth   Retr  Cwnd      Swnd
[  6]   0.00-1.00   s  3.45 MB  28.9 Mb/s    0    512 KB   32.5 KB   
[  6]   1.00-2.00   s  3.44 MB  28.8 Mb/s    0    512 KB   31.1 KB   
[  6]   2.00-3.00   s  3.46 MB  29.1 Mb/s    0    512 KB   32.5 KB   
[  6]   3.00-4.00   s  3.45 MB  28.9 Mb/s    0    512 KB   31.1 KB   

(and here we can see that it's the receiver's window which is limiting the performance.)

If someone wants take a peek, I can create a branch in my forked repository and commit
the change there for inspection.

Regards,

Håvard

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions