Performance Issues Supplement

Performance Issues Supplement Performance Issues Supplement - Start

Added : 2018-03-18 Views :24K

Download Presentation

Performance Issues Supplement




Download Presentation - The PPT/PDF document "Performance Issues Supplement" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.



Presentations text content in Performance Issues Supplement

Slide1

Performance Issues

Supplement

CECS 474 Computer Network Interoperability

Notes for Douglas E. Comer, Computer Networks and Internets (5th Edition)

Tracy Bradley Maples, Ph.D.

Computer Engineering & Computer Science

Cal

ifornia

State University, Long Beach

Slide2

Performance

 Networks need high performance (or high performance per unit cost). The old computer adage, “Get it right and then make it fast,” may not apply.

Networks must be designed at the outset for speed.

Bandwidth Definition 

Bandwidth

is

the measure of the capacity of a transmission system.

It is the

range

(or

band) of frequencies used on the transmission medium. Bandwidth

is typically measured in Hertz.

Bandwidth

is the maximum number of bits that can be transmitted in a certain amount of time over a particular medium. This is the data transfer rate or transmission rate of the system.

 

We use definition 2 in computer networks.

Slide3

Bandwidth (Cont’d

)Question: If the transmission rate is 10 million bits/sec

(Mbps), how long does it take to transfer 1 bit?

 Answer

:

0.1

μsec to transmit each bitYou can also think of each bit on a network as being a pulse of some width.  The more sophisticated the transmission/receiving technology, the narrower each bit can become. Other factors (e.g., software) affect the throughput as well.

How is this calculated

?

How long to transfer 5 bits?

What if the transmission rate is 4

Gbps

?

Slide4

Bandwidth vs. Throughput vs. Effective

ThroughputRecall…

Defn:

Bandwidth is the maximum number of bits that can be transmitted in a given

amount of

time over a particular medium.

This is the data transfer rate or transmission rate of the system. Usually, described in bits/sec (or bps).Consider…Defn: Network throughput (or effective throughput) is the measured number of bits that can be transmitted over a particular medium in a given amount of time. Usually, described in bits/sec (or bps

). The throughput is the maximum number of bits/sec an application can expect to receive.Bandwidth >= Effective Throughput

 For applications, we

can describe throughput as the

“bandwidth requirements of an

application.”

Slide5

Latency

 Defn: Latency (or

delay or end-to-end delay

) is the amount of time is takes for a single bit to propagate from one end of a network to another. Latency is measured in terms of

time.

 

Defn: Round Trip Time (RTT) is the time it takes for a bit to travel from sender to receiver and back again.  There are three components that form the latency:Propagation delayTransmission Time

Queueing & Processing Delays

Slide6

Latency (cont’d)

Propagation delayWe calculate this using the

speed-of-light propagation delay:

in a vacuum, 3.0 * 108 meters/sec

in a cable, 2.3 *10

8

meters/secin fiber, 2.0 * 108 meters/secThis value is a function of the distances

and the

speed-of

-light

delay

.

Transmission

Time

This is the amount

of time it takes to transmit

the data onto the transmission media.

This value is a function of the

bandwidth

and

the packet

size

.

Queueing

& Processing Delay

 

This is the time the data spends in being processed and waiting for its turn (

queueing

) to be transmitted. This value is almost impossible to calculate.

Slide7

Latency (cont’d)

  Latency = Propagation Delay + Transmit Time + Queueing

& Processing Delay=

Tp+ Tx

+

T

q Tp (Propagation Delay) = (Distance across link)/(Speed-of-light delay) Tx (Transmit Time) = (Size of date )/(Throughput)

Tq

(Queueing & Processing Delay)

=

This is hard to measure so a statistically generated value or a constant is used.

 

where

 

Distance

= length of the wire over which the data will

travel (usually meters/sec)

 

Speed-of-light

= effective speed of light over the channel

 

Size

= size of the

packet (usually bits)

 

Throughput

= #bits/(unit time) at which the packet is

transmitted (usually bits/sec

Slide8

Latency (cont’d

)

Latency is limited by

physics. In particular, it is limited by the speed of light.

 

Example

: How long does it take for a bit to propagate across the continental US?3000 mile propagation delay in fiber (approximate width of the United States) = 24 ms latency  “You cannae change the laws of physics.” -- Mr. Scott, Star Trek

How is this calculated

?

Slide9

1. Circuit

-switched networks provide service by setting up a

total path of connected links from the origin to the destination host. 

A control message is first sent to setup a path from the origin to the destination. (A return signal informs the origin that data transmission may proceed.) 

Once data transmission starts, all channels in the path are

used simultaneously

, and the entire path remains allocated to the transmission (whether or not it is in use).2. Packet-switchednetworks decompose messages into small pieces called packets. These packets are each numbered and make their way through the net in a store-and-forward fashion.

Links are considered busy only when they are currently transmitting packets Recall

: Two types of Switched Networks

Slide10

Circuit & Packet Switching Performance Issues

Header overhead (i.e., the amount of "extra" information that must be sent along with the data to ensure proper transmission)

For large amounts of data:

circuit switching <= packet switching

Transmission delay

(i.e., the amount of time it takes data from the time it enters the network until it arrives at its' destination)

  For short and bursty messages: packet switching has the lowest delay. For long, continuous streams of data: circuit switching has the lowest delay.

Slide11

Time

1 2 3 4

Time

1 2 3 4

Circuit Switching Network Time Diagram

Slide12

Time

1 2 3 4

Time

1 2 3 4

Packet Switching Network Time Diagram


About DocSlides
DocSlides allows users to easily upload and share presentations, PDF documents, and images.Share your documents with the world , watch,share and upload any time you want. How can you benefit from using DocSlides? DocSlides consists documents from individuals and organizations on topics ranging from technology and business to travel, health, and education. Find and search for what interests you, and learn from people and more. You can also download DocSlides to read or reference later.
Youtube