170 likes | 301 Views
Performance Analysis of Peer-to-Peer File Transfer Network. Sayantan Mitra Vibhor Goyal. Napster Architecture. Update. I want file X. I want file X. Here it is. Directory of Files. Y has it!. Your Computer. Assumptions. No Concurrent upload and download of files.
E N D
Performance AnalysisofPeer-to-Peer File Transfer Network SayantanMitra VibhorGoyal
Napster Architecture Sayantan Mitra & Vibhor Goyal
Update I want file X Iwant file X Here it is Directory of Files Y has it! Your Computer Sayantan Mitra & Vibhor Goyal
Assumptions • No Concurrent upload and download of files. • No peer leaves the system before completing the file transfer. • No physical transfer of files; instead a stream of bytes is transferred. Sayantan Mitra & Vibhor Goyal
Scalability Analysis • File transfer time. • Dropped Packets. • Handling of File Requests with simultaneous access demand (Load Balancing). • SHA-1 Mismatch. • Bandwidth Usage. • Latency. Sayantan Mitra & Vibhor Goyal
Scalability Analysis • File transfer time. • Dropped Packets. • Handling of File Requests with simultaneous access demand (Load Balancing). • SHA-1 Mismatch. • Bandwidth Usage. • Latency. Sayantan Mitra & Vibhor Goyal
Models used in Experiments Sayantan Mitra & Vibhor Goyal
Peer 1 Peer 2 Peer 3 Server Sayantan Mitra & Vibhor Goyal
Peer 1 Peer 3 Peer 2 Server Sayantan Mitra & Vibhor Goyal
Peer 2 Peer 1 Peer 3 Server Sayantan Mitra & Vibhor Goyal
Peer 3 Peer 2 Peer 1 Peer 6 Peer 5 Peer 4 Peer 9 Peer 8 Peer 7 Peer 12 Peer 11 Peer 10 Server Sayantan Mitra & Vibhor Goyal
File transfer time Analysis Sayantan Mitra & Vibhor Goyal
Setup • File divided in specified sized chunks. • Sliding window protocol. • Variations • File Size. • Sliding Window size. • Packet size. • Observations • The variation in transfer time at the sender and receiver end, with change in above said parameters. • Regression • Try to find out an equation of regression between the time of transfer with respect to the above mentioned parameters. Sayantan Mitra & Vibhor Goyal
Dropped Packets Analysis Sayantan Mitra & Vibhor Goyal
Simulating Network behavior. • Random ACK drop. • Network delay in ACK. • Parameters • File Size • Packet Size • Window size • Observations • Number of packets resent due to lost ACKs and their variations due to change in above said parameters. • Regression • Try to find an equation of regression between the number of packets to be resent with that of the mentioned parameters. Sayantan Mitra & Vibhor Goyal
To-Do • Handling of File Requests with simultaneous access demand (Load Balancing). • SHA-1 Mismatch. • Bandwidth Usage. • Latency. • EMULAB. Sayantan Mitra & Vibhor Goyal
Questions ??? Sayantan Mitra & Vibhor Goyal