Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2023 21:42:14 -0700
From:      Yuri <yuri@FreeBSD.org>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Network starvation question
Message-ID:  <d17ef5f2-8098-47b7-a9be-10cd8e531f91@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi,


I've encountered the situation when the application A was using 100% of 
the outbound bandwidth which is approximately 3.5 MBps of UDP traffic.

Then the application B (the RDP TCP connection) attempted to use a much 
lower outbound speed, probably < 0.5 MBps, and it got starved.

Application B (RDP) was super slow as long as the application A kept 
running. It was almost impossible to use the RDP connection.


My question is: shouldn't the system allow less intense streams to also 
run at a decent speed?


Let's say that the outbound bandwidth threshold of the connection is 3.5 
MBps.

The application A can send 3.5 MBps (or more).

The application B can send up to 0.5 MBps.

Obviously, they can't send 4.0 MBps in total, and their speeds should be 
tuned down.

If both of the applications would be tuned down proportionately, this 
could be done using the 3.5/4.0 ratio, which would be 0.875.

So why then does the slower connection get slowed down so much?

It was obviously slowed down many times, not just by 13%.


FreeBSD 13.2


Thanks,

Yuri





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d17ef5f2-8098-47b7-a9be-10cd8e531f91>