[Analytical Question] P2P. We are distributing a file of size F=20Gbits to N peers. The server has an upload rate of us=20Mbps, and each peer has a download rate of di=1Mbps and an upload rate of u. For N=100 and ui=2Mbps, What is the chart providing minimum distribution time for both client-server and P2P distributions.
Group of answer choices
1.
Dcs = Max
{NF/us,
F/dmin} = Max
{100x20x109/20x106 ,
20x109/106} = 100000s
DP2P =
Max{F/us,
F/dmin,
NF/(us+ ∑ u)
DP2P= Max{20x109/20x106 ,
20x109/106,
100x20x109/(20x106+100x2x106)} =
20000s
2.
Dcs = Max
{NF/us,
F/dmin} = Max
{20x100x109/20x106 ,
20x109/106} = 100000s
DP2P =
Max{NF/us,
F/dmin,
NF/(us+ ∑ u)
DP2P= Max{100x20x109/20x106 ,
20x109/106,
100x109/20x106+100x106} =
909s
3.
Dcs = Max
{F/us,
F/dmin} = Max
{20x100x109/20x106 ,
20x109/106} = 1000s
DP2P =
Max{F/us,
NF/dmin,
NF/(us+ N∑ u)
DP2P= Max{20x109/20x106 ,
20x109/106,
100x20x109/20x106+100x106} =
1000s
4.
Dcs = Max
{F/us,
F/dmin} = Max
{20x100x109/20x106 ,
20x109/106} = 1000s
DP2P =
Max{NF/us,
F/dmin,
NF/(us+ ∑ u)
DP2P= Max{20x109/20x106 ,
20x109/106,
100x20x109/20x106+100x106} =
10000s
Option 1 is Correct
Explanation:
Given :
F=20Gbits = 20 * bits
us=20Mbps = 20 * bps
di=1Mbps = 1 * bps
ui=2Mbps = 20 * bps
N=100
Formula to calculate minimum distribution time for client-server distribution is:
Dcs = Max {NF/us, F/dmin}
Substituting the values in the formula we get:
Dcs = Max {100x20x109/20x106 , 20x109/106}
Dcs = Max { , 2 * }
Dcs = Max(100000 , 20000}
Dcs = 100000s
Formula to calculate Peer to Peer distribution:
DP2P = Max{F/us, F/dmin, NF/(us + ∑ u)
DP2P = Max{20x109/20x106 , 20x109/106, 100x20x109/(20x106+100x2x106)}
DP2P = 20000s
Get Answers For Free
Most questions answered within 1 hours.