2. A peer-to-peer system consists of a server (containing a copy of a file), and 20 peers. The file size is 10,000 bits, the upload rate of the server is 5,000 bits/sec., and the upload rate of each peer is 2,500 bits/sec. The download rate of each peer is 4,000 bits/sec. What is the minimum time required to distribute the file to all the peers under the peer-to-peer model ?
At time= 0 sec:
Let transfer file from server to two clients at equal speed of 2500bit/sec (5000/2).
So file will download by clients after 4sec
At time=4 sec
Now file is on server and two peers
So server can again send file two of new peers at equal speed of 2500bit/sec (5000/2).
And each peer can send the file to other peer at a speed of 2500.
So at 8sec, all files will be downloaded
At time =8sec:
Now file is on server and six peers
So server can again send file two of new peers at equal speed of 2500bit/sec (5000/2).
And each peer can send the file to other peer at a speed of 2500.
So at 12 sec, all files will be downloaded
At time =12sec:
Now file is on server and 14 peers
So server can again send file two of new peers at equal speed of 2500bit/sec (5000/2).
And each peer can send the file to other peer at a speed of 2500.
So at 16 sec, all files will be downloaded
Hence minimum time is 16sec.
2. A peer-to-peer system consists of a server (containing a copy of a file), and 20...
Answer all please
Client-server vs. P2P (20 pts) Consider distribution of a file to N peers on a network. The network parameters are as below. 100 Number of peers, N Time limit, T Upload rate of the server, u, Download rate of each peer, di Upload rate of each peer, ti 100 secs 10 Mbps 5 Mbps 1 Mbps 1. Calculate the maximum size of a file that a client-server network can distribute. (10 pts) 2. Calculate the maximum size...
2 File distribution time: Server-Client vs. P2P (10 pts) Consider distribution of a file to N peers on a network. The network parameters are as below File size, F 1 Gbits Upload rate of the server, u10 Mbps Download rate of each peer, d Mbps Upload rate of each peer, Mbps 1. Calculate the file distribution time in a client-server network for each of N = 100, 1000, and 10000, 5 pts) 2. Calculate the file distribution time in a...
For this problem we are distributing a file of size F = 2 Gbits to each of 6 peers on a peer to peer network. Suppose the server has an upload rate of u = 56 Mbps, and that the 6 peers have upload rates of: Un = 27 Mbps, uz = 21 Mbps, uz = 24 Mbps, 44 = 29 Mbps, u5 = 29 Mbps, 46 = 21 Mbps, and download rates of: dy = 23 Mbps, d2 =...
Questions: i. (1Spt.) Consider distributing a file of F 10 bytes to N peers. The server has an upload rate of H, 100Mbps, and each peer has a download rate of d, 2Mbps and an upload rate of u. For N 10, 100, 1000 and "-250Kbps, 500Kbps, 1Mbps, pre pare a chart g the combinations of N and u for both client/server distribution and iving the minimum distributio n time for each of P2P distribution.
Questions: i. (1Spt.) Consider distributing...
Questions: i. (1Spt.) Consider distributing a file of F 10 bytes to N peers. The server has an upload rate of H, 100Mbps, and each peer has a download rate of d, 2Mbps and an upload rate of u. For N 10, 100, 1000 and "-250Kbps, 500Kbps, 1Mbps, pre pare a chart g the combinations of N and u for both client/server distribution and iving the minimum distributio n time for each of P2P distribution.
Questions: i. (1Spt.) Consider distributing...
2. (15pts) In a Peer-to-Peer system, "peers" are computers/devices which are connected to each other via the Internet. Files can be shared directly between peers without the need of a central server. Consider the scenario where every peer exchanges with its neighbors to obtain n distinct segments, i.e., segment 1, n, to reconstruct a file. Suppose that time is chopped into slots of uniform interval. Under certain strategy, in each slot, peer v receives one segment out of the n...
Please Answer all Questions on Networks, They all involve calculation ( 1-9 Questions) "A single router is transmitting packets, each of length L bits, over a single link with transmission rate R Mbps to another router at the other end of the link. Suppose that the packet length is L= 12000 bits, and that the link transmission rate along the link to router on the right is R = 1000 Mbps. What is the maximum number of packets per second...
Really don't know what its about...
Course in operating system, file system
Question 2. File Systems (10 marks) (a) Consider a 32GB hard disk and a FAT file system with 24 bits cluster (block) address. What is the minimum block (cluster) size in order to fully utilize all space in the hard disk? (3 marks) (b) Consider an index-based file system with the inode containing 64 direct pointers, 1 indirect pointer, and 1 double-indirect pointer. Suppose the size of a...
Each Triam Deluxe gamer computer system consists of two speakers, a monitor, a system unit, a keyboard, and an installation kit. These pieces are packed together and shipped as a complete kit. In MRP terms, all of these items are level 1 items that make the level O kits. Complete the MRP records, using the following information: • Production plans for complete kits are as follows: Start assembling 8,000 kits in week 2 Start assembling 2,500 kits in weeks 3,...
on calculations can i see how did the expect come to the solution ,all the workout should be included QUESTION 1 A file of size F = 8 Gbits needs to be distributed to10 peers. Suppose the server has an upload rate of u = 68 Mbps, and that the 10 peers have upload rates of: u1 = 20 Mbps, u2 = 22 Mbps, u3 = 12 Mbps, u4 = 19 Mbps, u5 = 25 Mbps, u6 = 24 Mbps,...