DOC PREVIEW
Berkeley ELENG 122 - Network Performance

This preview shows page 1-2-15-16-31-32 out of 32 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EE 122: Network Performance, EvaluationOverviewMotivationsOutlineTiming DiagramsDefinitionsSending One PacketSending one Packet: ExamplesQueueingQueueing ExampleSwitching: Store and ForwardStore and Forward: Multiple Packet ExampleSwitching: Cut-ThroughSlide 14ThroughputExample: Windows Based Flow ControlThroughput: FluctuationsDelayDelay: Illustration 1Delay: Illustration 2Little’s TheoremSlide 22Slide 23Slide 24Slide 25Slide 26Slide 27Evaluation TechniquesAnalysisSimulationFluid Flow SystemEvaluation: Putting Everything TogetherEE 122: Network Performance, EvaluationSeptember 7, 20042OverviewMotivationsTiming diagramsMetricsEvaluation techniques3MotivationsUnderstanding network behaviorImproving protocolsVerifying correctness of implementationDetecting faultsMonitor service level agreementsChoosing providersBilling4OutlineMotivationsTiming diagramsMetricsEvaluation techniques5Timing DiagramsSending one packetQueueingSwitching-Store and forward-Cut-throughFluid view6DefinitionsLink bandwidth (capacity): maximum rate (in bps) at which the sender can send data along the link Propagation delay: time it takes the signal to travel from source to destinationPacket transmission time: time it takes the sender to transmit all bits of the packetQueuing delay: time the packet need to wait before being transmitted because the queue was not empty when it arrivedProcessing Time: time it takes a router/switch to process the packet header, manage memory, etc7Sending One PacketR bits per second (bps)T secondsP bitsBandwidth: R bpsPropagation delay: T sectimeTransmission time = P/RTPropagation delay =T = Length/speed_of_light1/speed = 3.3 usec in free space 4 usec in copper 5 usec in fiber8Sending one Packet: ExamplesP = 1 KbyteR = 1 Gbps100 Km, fiber => T = 500 usec P/R = 8 usecTP/RtimetimeTP/RP = 1 KbyteR = 100 Mbps1 Km, fiber => T = 5 usec P/R = 80 usecT >> P/RT << P/R9QueueingThe queue has Q bits when packet arrives  packet has to wait for the queue to drain before being transmittedP bitstimeP/RTQ bitsQueueing delay = Q/RCapacity = R bpsPropagation delay = T sec10Queueing ExampleP = 1 Kbit; R = 1 Mbps  P/R = 1 msPacket arrivalTime (ms)TimeDelay for packet that arrives at time t, d(t) = Q(t)/R + P/RDelay for packet that arrives at time t, d(t) = Q(t)/R + P/R# bits in queue: Q(t)1 KbP bits Q bits00.517 7.50.5 Kb1.5 Kb2 Kbpacket 1, d(0) = 1mspacket 2, d(0.5) = 1.5mspacket 3, d(1) = 2ms11Switching: Store and ForwardA packet is stored (enqueued) before being forwarded (sent)SenderReceiver10 Mbps5 Mbps 100 Mbps 10 Mbpstime12Store and Forward: Multiple Packet ExampleSenderReceiver10 Mbps5 Mbps 100 Mbps 10 Mbpstime13Switching: Cut-ThroughA packet starts being forwarded (sent) as soon as its header is receivedSenderReceiverR1 = 10 MbpsR2 = 10 MbpstimeHeaderWhat happens if R2 > R1 ?14OutlineMotivationsTiming diagramsMetrics•Throughput•Delay Evaluation techniques15ThroughputThroughput of a connection or link = total number of bits successfully transmitted during some period [t, t + T) divided by TLink utilization = throughput of the link / link rateBit rate units: 1Kbps = 103bps, 1Mbps = 106bps, 1 Gbps = 109bps [For memory: 1 Kbyte = 210 bytes = 1024 bytes]-Some rates are expressed in packets per second (pps)  relevant for routers/switches where the bottleneck is the header processing16Example: Windows Based Flow ControlConnection: -Send W bits (window size)-Wait for ACKs-RepeatAssume the round-trip-time is RTT secondsThroughput = W/RTT bpsNumerical example:-W = 64 Kbytes-RTT = 200 ms-Throughput = W/T = 2.6 MbpstimeSourceDestinationRTTRTTRTT17Throughput: FluctuationsThroughput may vary over timemaxminmeanThroughputTime18DelayDelay (Latency) of bit (packet, file) from A to B-The time required for bit (packet, file) to go from A to BJitter-Variability in delayRound-Trip Time (RTT)-Two-way delay from sender to receiver and backBandwidth-Delay product-Product of bandwidth and delay  “storage” capacity of network19Delay: Illustration 1at point 2at point 1Latest bit seenby time tDelaySender Receiver1 2time20Delay: Illustration 2Sender Receiver1 221Packet arrival times at 1Packet arrival times at 2Delaytime21Little’s TheoremAssume a system (e.g., a queue) at which packets arrive at rate a(t)Let d(i) be the delay of packet i , i.e., time packet i spends in the systemWhat is the average number of packets in the system? systema(t) – arrival rated(i) = delay of packet iIntuition:-Assume arrival rate is a = 1 packet per second and the delay of each packet is s = 5 seconds-What is the average number of packets in the system?22Little’s TheoremLatest bit seenby time tSender Receiver1 2timex(t)d(i) = delay of packet ix(t) = number of packets in transit (in the system) at time t TWhat is the system occupancy, i.e., average number of packets in transit between 1 and 2 ?23Little’s TheoremLatest bit seenby time tSender Receiver1 2timex(t)TAverage occupancy = S/Td(i) = delay of packet ix(t) = number of packets in transit (in the system) at time t S= area24Little’s TheoremLatest bit seenby time tSender Receiver1 2timex(t)S(N)Pd(N-1)S(N-1)TS = S(1) + S(2) + … + S(N) = P*(d(1) + d(2) + … + d(N))d(i) = delay of packet ix(t) = number of packets in transit (in the system) at time t S= area25Average occupancyAverage arrival timeAverage delayLittle’s TheoremLatest bit seenby time tSender Receiver1 2timex(t)S(N)Pd(N-1)S(N-1)TS/T = (P*(d(1) + d(2) + … + d(N)))/T = ((P*N)/T) * ((d(1) + d(2) + … + d(N))/N)d(i) = delay of packet ix(t) = number of packets in transit (in the system) at time t S= area26Little’s TheoremLatest bit seenby time tSender Receiver1 2timex(t)S(N)Average occupancy = (average arrival rate) x (average delay)S= areaa(i)d(N-1)S(N-1)Td(i) = delay of packet ix(t) = number of packets in transit (in the system) at time t27OutlineMotivationsTiming diagramsMetricsEvaluation techniques28Evaluation TechniquesMeasurements-gather data from a real network-e.g., ping www.berkeley.edu-realistic, specificSimulations: run a program that pretends to be a real network-e.g., NS network simulator, Nachos OS simulatorModels, analysis-write some equations from which we can derive conclusions-general, may not be realisticUsually


View Full Document

Berkeley ELENG 122 - Network Performance

Documents in this Course
Lecture 6

Lecture 6

22 pages

Wireless

Wireless

16 pages

Links

Links

21 pages

Ethernet

Ethernet

10 pages

routing

routing

11 pages

Links

Links

7 pages

Switches

Switches

30 pages

Multicast

Multicast

36 pages

Switches

Switches

18 pages

Security

Security

16 pages

Switches

Switches

18 pages

Lecture 1

Lecture 1

56 pages

OPNET

OPNET

5 pages

Lecture 4

Lecture 4

16 pages

Ethernet

Ethernet

65 pages

Models

Models

30 pages

TCP

TCP

16 pages

Wireless

Wireless

48 pages

Load more
Download Network Performance
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Network Performance and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Network Performance 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?