lecture6PSI Flashcards

1
Q

What is WS?

A

WS - window size in sliding window algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the data delivery problems?

A

Packet loss, Acknowledgment loss (Duplicate packet), Late acknowledgement(Duplicate packet)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Waht is CWL?

A

CWL - congestion window length, the maximum number of packets that the transmitter can send at one time to
avoid congesting the link

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What do you know about Sliding window algorithm?

A

It is more complex, but more effective than Stop&Wait, it has more possible implementations, it allows flow control by adjusting window size, the adjustment of the window size is optimized by various mechanisms based on the
transmission parameters (delay, RTT, packet loss)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Two armie’s problem

A

The red army (A) wins only when A1 and A2 attack the
blue army (B) at the same time. The problem is to
agree while communicating by sending a messenger over
an enemy territory (unreliable link)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

TCP connection is always duplex Y/N?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What do you know about unreliable transfer layer protocols?

A
  1. It is connectionless - connections are not established
  2. Simplier, easier to implement, comparing to reliable transport protosols
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 2 types of transport division protocols?

A

Reliable, unreliable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a port?

A

16-bit identifier that is used as the next level of addressing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Name the most known reliable transport layer protocol

A

TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

WHat is the best known and most used unreliable transport layer protocol?

A

UDP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What data transfer parameters do you know?

A

Packet loss[%], delay[ms], Round Trip Time(RTT)[ms], Instability, variable delay(jitter)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Receiver congestion vs link congestion

A

Receiver congestion: By setting the size of the window, the receiver controls the amount of data sent (transmission control) by the
transmitter according to its capabilities (easy). All TCP variants have the same algorithm.
Link congestion: The transmitter has to regulate the amount of data sent due to the possible congestion of the link on the way (more
complicated). The algorithm used differs depending on the specific version of the TCP protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What do you know about Stop&Wait algorithm?

A

It is simple, but very little effective, it delivers data exactly in the order in which they are sent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What do you know about reliable data transfer?

A

1.Connection-oriented, a virtual connection is established and maintained.
2.Design and implementation is more complex than unreliable protocols.
3.It must include error detection and correction mechanisms.
4.They can control the flow, prevent congestion

17
Q

Is the TCP encrypted?

A

No

18
Q

UDP

A

User Datagram protocol, it is transmitted in the data item of the IP protocol packet, used for simple data exchange, it has better throughput than TCP, is commonly used in voice or video transmission, it is unsecured

19
Q

How is TCP flow controlled?

A

Trough the flags in the packet header

20
Q

What is the difference between TCP Reno and TCP Tahoe?

A

TCP Reno and TCP Tahoe have the same way of setting CWL until an acknowledgment dropout occurs (8). Tahoe sets
CWL to 1. Reno, which is more optimistic, sets CWL to half the value before the blackout. Reno reduces ssthresh by
25%, Tahoe cuts it in half.

21
Q

Algorithms of flow control

A

Stop & Wait, Sliding Window