Questions tagged [congestion-control]

Congestion control concerns controlling traffic entry into a telecommunications network, so as to avoid congestive collapse by attempting to avoid oversubscription of any of the processing or link capabilities of the intermediate nodes and networks and taking resource reducing steps, such as reducing the rate of sending packets.

105 questions
1
vote
0 answers

Why does FACK decides a segment is lost when snd.fack beyond snd.nxt?

In FACK paper(MM' 96), I don't understand this statement: if the sender receives an ACK which advances snd.fack beyond the value of snd.nxt at the time a segment was retransmitted (and that retransmitted segment is otherwise unaccounted for), the…
Jan
  • 11
  • 1
1
vote
1 answer

TCP congestion window equations on slow-start

Taking a state driven code from here: # Initialization cwnd = MSS # congestion window in bytes ssthresh= swin # in bytes # Ack arrival if tcp.ack > snd.una : # new ack, no congestion if cwnd < ssthresh : # slow-start : increase quickly…
Yannick
  • 830
  • 7
  • 27
1
vote
1 answer

TCP Congestion algorithm - Tcp Westwood or Tcp westwood plus?

I have executed this "ls /lib/modules/uname -r/kernel/net/ipv4/" in my linux 2.16.36 . There i can see a list of algorithms.tcp_westwood is listed in that list . is that tcp_westwood or tcp_westwood+ ?
RAJKUMAR NAGARETHINAM
  • 1,408
  • 1
  • 15
  • 26
1
vote
1 answer

Numericals on Token Bucket

Question For a host machine that uses the token bucket algorithm for congestion control, the token bucket has a capacity of 1 mega byte and the maximum output rate is 20 mega bytes per second. Tokens arrive at a rate to sustain output at a rate of…
user5863049
1
vote
0 answers

TCP Congestion window graph (ns-3)

I am trying to plot the graph of the congestion window size of a TCP sender. I am working with the following example and using ns-3's development branch. http://intronetworks.cs.luc.edu/current/html/ns3.html This example implements a simple…
JC1
  • 657
  • 6
  • 21
1
vote
1 answer

Throughput of TCP

I am studying about TCP and multipath TCP. There are some points that make me confuse. I was wondering if TCP is an aggressive or non-aggressive protocol? if there is just one link and there is not any other traffic, the sender can use all…
Samira Afzal
  • 49
  • 1
  • 8
1
vote
1 answer

BitTorrent uTP uTorrent Transport Protocol ACK policy (BEP29)

I'm writing a Boost version of the BitTorrent uTorrent Transport Protocol (a buffer-sensitive reliable stream protocol built on UDP datagrams). My goal is to have a UDP-socket manager that sends & receives datagrams and manages all the congestion &…
Dave M.
  • 1,496
  • 1
  • 12
  • 30
1
vote
1 answer

How can I find the "congestion window size" in TCP protocol?

I know that TCP protocol has a congestion window size to control the network congestion. However, in the TCP header, I can only find the receive window size, and can't find the congestion window size Does anyone have ideas about how to find the…
Hanfei Sun
  • 45,281
  • 39
  • 129
  • 237
1
vote
1 answer

Set TCP ECN on a socket (C Linux)

Is it there a way to set TCP ECN on an unprivileged TCP socket in a C linux program? Does any congestion algorythm that can be set through setsockopt() involve ECN? Thank you!
the structure
  • 89
  • 1
  • 10
1
vote
1 answer

Do congestion controls of both MPTCP and TCP work together?

I know MPTCP has its own congestion control, such as "Coupled". However, MPTCP lies on the TCP layer. TCP already has original ones. Do these work duplicatedly together, or only MPTCP does independently? In the case of together, it seems that…
mpyw
  • 5,526
  • 4
  • 30
  • 36
1
vote
0 answers

Why do iperf3 and tcp_probe report different congestion windows?

I am running a simple experiment with multiple iperf3 senders on different servers, sending TCP traffic to a single receiver on another server. iperf3 reports the congestion window (Cwnd) every 0.1 seconds during this experiment (in KBytes). I also…
aousterh
  • 118
  • 2
  • 8
1
vote
1 answer

Many QUdpSockets are dropped when they are sent in a short time

I'm writing a program that will send a small UDP packet (about 100 bytes) to very many destinations (include some real destinations and all others are faked destinations). If I send to small number of destinations, the real destinations can…
Vi Do
  • 81
  • 1
  • 6
1
vote
1 answer

Does changing TCP congestion control algorithm system wide in linux affect already established connections?

If I change system wide TCP congestion control algorithm as shown below, does it affect already established connections also ? Is there any adverse impact on them or it occurs seamlessly ? # echo reno > /proc/sys/net/ipv4/tcp_congestion_control
1
vote
2 answers

How to prove the fairness of AIMD in TCP?

I am currently studying the Additive Increase Multiplicative Decrease method, used in TCP as congestion avoidance technique. If we have K TCP sessions sharing a common link of bandwidth R, it is said that this technique guarantees fairness for all…
Nawel
  • 19
  • 2
1
vote
1 answer

what is the current popular TCP congestion control algorithm in Linux

TCP Reno, HSTCP, STCP or Fast TCP? Or we can change the algorithm with current popular kernel?
billtian
  • 6,589
  • 4
  • 18
  • 28