![Page 1: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/1.jpg)
1
Exercício em Tamanho de Janelas na Internet
Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão, você concorda que o TCP utiliza o algoritmo de inicialização lenta (slow start) com um terceiro parâmetro, o limitante (threshold):– Tamanho do segmento inicial: 2K.– Parâmetro limitante inicial: 16K.
Destino tem 24K de buffer (janela do receptor).– Usuário destino somente pega os dados quando o buffer
receptor estiver cheio. – Para um buffer parcialmente cheio, a janela de controle de
fluxo é reduzida para o espaço atual restante no buffer.
O tempo expira na 14a mensagem, mas esta é reenviada com sucesso antes de enviar a 15a mensagem.
![Page 2: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/2.jpg)
2
Você pode preencher essa tabela?
Depois dessas mensagens…
A janela de congestiona-mento é …
A janela de controle de fluxo é …
O número de bytes dessa mensagem
0 (valor inicial) (valor inicial) (não aplicável) 1 ? ? ? 2 ? ? ? … … … … n ? ? ?
![Page 3: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/3.jpg)
3
2K4K
Mensagem 1
2KQuantidade deixada para enviar:
217K
Janela de Controle de Congestionamento :
Janela Limitante de Congestionamento:
16K
Janela de Controle de Fluxo:
24K
2K215K
22K
![Page 4: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/4.jpg)
4
22K18K
4K8K
215K211K
Mensagem 2
2KAmount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
4K2K
2K
![Page 5: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/5.jpg)
5
211K203K
18K10K
8K16K
Message 3
2KAmount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
8K
2K
2K
2K
2K
2K
2K
![Page 6: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/6.jpg)
6
16K
10K0K
203K193K
Message 4
2KAmount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
10K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 7: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/7.jpg)
7
0K24K
193K
16K
Receiver picks up data
2KAmount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 8: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/8.jpg)
8
24K8K
16K18K
193K177K
Message 5
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
16K2K2K
2K 2K
2K 2K
2K 2K
![Page 9: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/9.jpg)
9
8K0K
18K
177K169K
Message 6
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
8K
2K2K
2K 2K
2K 2K
2K 2K
2K 2K
2K 2K
![Page 10: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/10.jpg)
10
0K24K
169K
18K
Receiver picks up data
2KAmount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 11: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/11.jpg)
11
169K151K
18K20K
24K6K
Message 7
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
18K2K2K
2K 2K
2K 2K
2K 2K
2K
![Page 12: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/12.jpg)
12
151K145K
20K
6K0K
Message 8
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
6K
2K2K
2K
2K 2K
2K 2K
2K 2K
2K 2K
2K
![Page 13: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/13.jpg)
13
0K24K
145K
20K
Receiver picks up data
2KAmount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 14: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/14.jpg)
14
145K125K
24K
20K22K
4K
Message 9
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
20K2K2K
2K 2K
2K 2K
2K 2K
2K 2K
![Page 15: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/15.jpg)
15
125K121K
4K0K
22K
Message 10
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
4K
2K2K
2K 2K
2K 2K
2K 2K
2K 2K
2K 2K
![Page 16: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/16.jpg)
16
0K24K
121K
22K
Receiver picks up data
2KAmount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 17: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/17.jpg)
17
121K99K
22K24K
24K2K
Message 11
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
22K2K2K
2K 2K
2K 2K
2K 2K
2K 2K
2K
![Page 18: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/18.jpg)
18
99K97K
2K0K
24K
Message 12
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
2K
2K
2K 2K
2K 2K
2K 2K
2K 2K
2K 2K
2K
![Page 19: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/19.jpg)
19
0K24K
97K
24K
Receiver picks up data
2KAmount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 20: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/20.jpg)
20
97K73K
24K26K
24K0K
Message 13
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
24K2K2K
2K 2K
2K 2K
2K 2K
2K 2K
2K 2K
![Page 21: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/21.jpg)
21
0K24K
73K
26K
Receiver picks up data
2KAmount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 22: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/22.jpg)
22
26K
73K
24K
Message 14
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
24K
![Page 23: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/23.jpg)
23
73K49K
24K0K
26K2K
Re-send message 14
Amount left to send:
Congestion control window:
Congestion threshold:
16K
Flow control window:
24K2K2K
2K 2K
2K 2K
2K 2K
2K 2K
2K 2K
13K
![Page 24: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/24.jpg)
24
0K24K
49K
2K
Receiver picks up data
2KAmount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 25: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/25.jpg)
25
49K47K
2K4K
Message 15
2KAmount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
24K
2K
22K
![Page 26: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/26.jpg)
26
47K43K
22K18K
4K8K
Message 16
2KAmount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
4K2K
2K
![Page 27: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/27.jpg)
27
43K35K
18K10K
8K13K
Message 17
2KAmount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
8K
2K
2K
2K
2K
2K
2K
![Page 28: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/28.jpg)
28
35K25K
13K
10K0K
Message 18
2KAmount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
10K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 29: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/29.jpg)
29
0K24K
25K
13K
Receiver picks up data
2KAmount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
![Page 30: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/30.jpg)
30
24K11K
25K12K
13K15K
Message 19
2KAmount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
13K
1K
2K
2K
2K
2K
2K
![Page 31: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/31.jpg)
31
12K1K
15K
11K0K
Message 20
2K
Amount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
11K
1K
2K
2K 2K
2K2K
1K
2K
2K2K
2K2K
![Page 32: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/32.jpg)
32
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
2K
1K 1K
0K24K
1K
15K
Receiver picks up data
Amount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
![Page 33: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/33.jpg)
33
1K0K
15K
24K23K
Message 21
Amount left to send:
Congestion control window:
Congestion threshold:
13K
Flow control window:
1K
1K
![Page 34: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/34.jpg)
34
After thismanymessages…
Congestionwindow is…
Flow controlwindow is…
Number ofbytes in thismessage
0 2K 24K (not applicable)1 4K 22K 2K2 8K 18K 4K3 16K 10K 8K4 16K 24K 10K5 18K 8K 16K6 18K 24K 8K7 20K 6K 18K8 20K 24K 6K9 22K 4K 20K
10 22K 24K 4K11 24K 2K 22K
12
![Page 35: 1 Exercício em Tamanho de Janelas na Internet l Você está agindo como um emissor em uma conexão TCP, e você tem 217k bytes de dados para enviar. Na conexão,](https://reader036.vdocuments.net/reader036/viewer/2022062522/5706384b1a28abb8238f5b59/html5/thumbnails/35.jpg)
35
After thismanymessages…
Congestionwindow is…
Flow controlwindow is…
Number ofbytes in thismessage
11 24K 2K 22K12 24K 24K 2K13 26K 24K 24K14 2K 24K 24K15 4K 22K 2K16 8K 18K 4K17 13K 10K 8K18 13K 24K 10K19 15K 11K 13K20 15K 24K 11K21 15K 23K 1K
12