performance analysis of peer-to-peer file transfer network sayantan mitra vibhor goyal 1

Post on 28-Mar-2015

216 Views

Category:

Documents

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Performance Analysisof

Peer-to-Peer File Transfer Network

Sayantan MitraVibhor Goyal

1

Napster Architecture

2Sayantan Mitra & Vibhor Goyal

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

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

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

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

Models used in Experiments

7Sayantan Mitra & Vibhor Goyal

Server

Peer 1

Peer 2

Peer 3

8Sayantan Mitra & Vibhor Goyal

Server

Peer 1

Peer 3

Peer 2

9Sayantan Mitra & Vibhor Goyal

Server

Peer 2

Peer 1

Peer 3

10Sayantan Mitra & Vibhor Goyal

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

File transfer time Analysis

12Sayantan 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.

13Sayantan Mitra & Vibhor Goyal

Dropped Packets Analysis

14Sayantan 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.

15Sayantan Mitra & Vibhor Goyal

To-Do

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

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

16Sayantan Mitra & Vibhor Goyal

Questions ???

17Sayantan Mitra & Vibhor Goyal

top related