Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

17
Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1

Transcript of Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Page 1: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Performance Analysisof

Peer-to-Peer File Transfer Network

Sayantan MitraVibhor Goyal

1

Page 2: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Napster Architecture

2Sayantan Mitra & Vibhor Goyal

Page 3: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Your ComputerYour Computer

Directory of FilesDirectory of Files

I want file X

Y has it!

I want fi

le X

Here it is

Update

3Sayantan Mitra & Vibhor Goyal

Page 4: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

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.

4Sayantan Mitra & Vibhor Goyal

Page 5: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Scalability Analysis

• File transfer time.• Dropped Packets.• Handling of File Requests with simultaneous

access demand (Load Balancing).• SHA-1 Mismatch.• Bandwidth Usage.• Latency.

5Sayantan Mitra & Vibhor Goyal

Page 6: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Scalability Analysis

• File transfer time.• Dropped Packets.• Handling of File Requests with simultaneous

access demand (Load Balancing).• SHA-1 Mismatch.• Bandwidth Usage.• Latency.

6Sayantan Mitra & Vibhor Goyal

Page 7: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Models used in Experiments

7Sayantan Mitra & Vibhor Goyal

Page 8: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Server

Peer 1

Peer 2

Peer 3

8Sayantan Mitra & Vibhor Goyal

Page 9: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Server

Peer 1

Peer 3

Peer 2

9Sayantan Mitra & Vibhor Goyal

Page 10: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Server

Peer 2

Peer 1

Peer 3

10Sayantan Mitra & Vibhor Goyal

Page 11: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Server

Peer 3

Peer 2

Peer 1

Peer 6

Peer 5

Peer 4

Peer 9

Peer 8

Peer 7

Peer 12

Peer 11

Peer 10

11Sayantan Mitra & Vibhor Goyal

Page 12: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

File transfer time Analysis

12Sayantan Mitra & Vibhor Goyal

Page 13: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

• 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.

13Sayantan Mitra & Vibhor Goyal

Page 14: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Dropped Packets Analysis

14Sayantan Mitra & Vibhor Goyal

Page 15: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

• 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.

15Sayantan Mitra & Vibhor Goyal

Page 16: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

To-Do

• Handling of File Requests with simultaneous access demand (Load Balancing).

• SHA-1 Mismatch.• Bandwidth Usage.• Latency.• EMULAB.

16Sayantan Mitra & Vibhor Goyal

Page 17: Performance Analysis of Peer-to-Peer File Transfer Network Sayantan Mitra Vibhor Goyal 1.

Questions ???

17Sayantan Mitra & Vibhor Goyal