in Computer Networks retagged by
5,209 views
3 votes
3 votes
TCP operates over a 40 Gbps link. If TCP uses the full bandwidth continuously, how long (in msec) would it take the sequence number to wrap around completely?
in Computer Networks retagged by
5.2k views

3 Comments

edited by

 40 Gbps link.
1 sec = 4Gb = 5GByte
so 1 byte = 1/5G
sequence number field in TCP = 32 bits 
so number of segment can numbers  = 232

So 232 bits to take exhaust = 232 /5G = 0.858sec  = 858.99 msec approx 

2
2
@Prashant  every "Byte" consumes a sequence but not a "bit".
1
1
sry for that.
2
2

1 Answer

7 votes
7 votes
Best answer

sequence number is made of 32 bits, so there are total $2^{32}$ sequences possible.
BW = 40Gbps = 5GBps

Each byte consumes 1 sequence number. Therefore

$\frac{2^{32}}{5*2^{30}}$ = $\frac{4}{5}$ = 0.8 Second will be the wrap around time.

selected by

4 Comments

Thanks for the solution. @manu00x
0
0
Is Bandwidth in powers of 10 or powers of 2 ?
0
0
10
0
0

Related questions

1 vote
1 vote
1 answer
3
arch asked in Computer Networks Dec 11, 2017
1,292 views
arch asked in Computer Networks Dec 11, 2017
by arch
1.3k views