DOC PREVIEW
Berkeley ELENG 122 - Network Performance, Queueing Theory, Evaluation

This preview shows page 1-2-3-20-21-40-41-42 out of 42 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 42 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 42 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 42 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 42 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 42 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 42 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 42 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 42 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 42 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EE 122: Network Performance, Queueing Theory, EvaluationOverviewMotivationsOutlineDefinitionsSending One PacketSending one Packet: ExamplesQueueingQueueing ExampleRouter: Store and ForwardStore and Forward: Multiple Packet ExampleCut-ThroughThroughputDelayBandwidth-Delay ProductDelay: Illustration 1Delay: Illustration 2Slide 18Little’s TheoremAnswerSlide 21Slide 22Slide 23Slide 24Slide 25Slide 26ProblemWhat do You Know?What I Assume?Queueing SystemM / M / 1 QueuePoisson Arrival Process and Exponential DistributionPASTA Principle 1/2PASTA Principle 2/2M/M/1 QueueSlide 36Slide 37Slide 38Slide 39Slide 40Evaluation TechniquesEvaluation: Putting Everything TogetherKatz. Stoica F04EE 122: Network Performance, Queueing Theory, EvaluationComputer Science DivisionDepartment of Electrical Engineering and Computer ScienceUniversity of California, Berkeley,Berkeley, CA 94720-1776 September 7, 20042Katz. Stoica F04OverviewMotivationsTiming diagramsQueueing TheoryEvaluation Techniques3Katz. Stoica F04MotivationsUnderstanding network behaviorImproving protocolsVerifying correctness of implementationDetecting faultsMonitor service level agreementsChoosing providersBilling4Katz. Stoica F04OutlineMotivationsTiming diagramsQueueing TheoryEvaluation techniques5Katz. Stoica F04Definitions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, etc6Katz. Stoica F04Sending 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 nsec in free space 4 nsec in copper 5 nsec in fiber7Katz. Stoica F04Sending 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/R8Katz. Stoica F04Queueing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 sec9Katz. Stoica F04Queueing ExampleP = 1 Kbit; R = 1 Mbps  P/R = 1 msPacket arrivalTime (ms)Delay 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/RP bits Q bits00.517 7.5Time# bits in queue: Q(t)1 Kb0.5 Kb1.5 Kb2 Kbpacket 1, d(0) = 1mspacket 2, d(0.5) = 1.5mspacket 3, d(1) = 2ms10Katz. Stoica F04Router: Store and ForwardA packet is stored (enqueued) before being forwarded (sent)SenderReceiver10 Mbps5 Mbps 100 Mbps 10 Mbpstime11Katz. Stoica F04Store and Forward: Multiple Packet ExampleSenderReceiver10 Mbps5 Mbps 100 Mbps 10 Mbpstime12Katz. Stoica F04Cut-ThroughA packet starts being forwarded (sent) as soon as its header is receivedSenderReceiverR1 = 10 MbpsR2 = 10 MbpstimeHeaderWhat happens if R2 > R1 ?13Katz. Stoica F04Throughput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, 1Gbps = 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 processing14Katz. Stoica F04Delay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 network15Katz. Stoica F04Bandwidth-Delay Product Window-based flow control: -Send W bits (window size)-Wait for ACKs (i.e., make sure packets reached destination) -RepeatThroughput = W/RTT  W = Throughput x RTTNumerical example:-W = 64 Kbytes-RTT = 200 ms-Throughput = W/T = 2.6 MbpstimeSourceDestinationRTTRTTRTTW16Katz. Stoica F04Delay: Illustration 1at point 2at point 1Latest bit seenby time tDelaySender Receiver1 2time17Katz. Stoica F04Delay: Illustration 2Sender Receiver1 221Packet arrival times at 1Packet arrival times at 2Delaytime18Katz. Stoica F04OverviewMotivationsTiming diagramsQueueing TheoryLittle Theorem-M/M/1 QueueEvaluation Techniques19Katz. Stoica F04Little’s TheoremAssume a system at which packets arrive at rate λ(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? systemλ(t) – arrival rated(i) = delay of packet iIntuition:-Assume arrival rate is λ = 1 packet per second and the delay of each packet is d = 5 seconds-What is the average number of packets N in the system?20Katz. Stoica F04AnswerAnswer: N = λ x d = 5 01 2 3 4 5 6 7 8 169 10 11 12 13 14 15timepackets21Katz. Stoica F04Little’s TheoremLatest bit seenby time tSender Receiver1 2timeB(t)d(i) = delay of packet iB(t) = number of bits 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 ?d(i)22Katz. Stoica F04Little’s TheoremLatest bit seenby time tSender Receiver1 2timeB(t)TAverage occupancy = A/Td(i) = delay of packet iB(t) = number of bits in transit (in the system) at time t A= aread(i)23Katz. Stoica F04Little’s TheoremLatest bit seenby time tSender Receiver1 2timeB(t)A(m)Pd(m-1)A(m-1)TA = A(1) + A(2) + … + A(m) = P*(d(1) + d(2) + … + d(m))d(i) = delay of packet ix(t) = number of packets in transit (in the system) at time t A= area24Katz. Stoica F04Average occupancyArrival rateAverage delayLittle’s TheoremLatest bit seenby time tSender Receiver1 2timeB(t)A(m)Pd(m-1)A(m-1)TA/T = (P*(d(1) + d(2) + … + d(m)))/T = ((P*m)/T) * ((d(1) + d(2) + … + d(m))/m)d(i) = delay of packet iB(t) = number of bits in transit (in the system) at time t A= area25Katz. Stoica F04Little’s TheoremLatest bit seenby time tSender Receiver1


View Full Document

Berkeley ELENG 122 - Network Performance, Queueing Theory, Evaluation

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, Queueing Theory, Evaluation
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, Queueing Theory, Evaluation 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, Queueing Theory, Evaluation 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?