• No results found

lec-10 (Bandwidth,datarare latency)

N/A
N/A
Protected

Academic year: 2020

Share "lec-10 (Bandwidth,datarare latency)"

Copied!
16
0
0

Loading.... (view fulltext now)

Full text

(1)

Computer Communication &

Networks

Muhammad Waseem Iqbal

(2)

Bandwidth

Ϟ Band Width means the width of the band (channel) Ϟ It is the maximum capacity of a link

Ϟ That means how much of data a link or medium can support

Ϟ It also refers to the maximum amount of data that can be pass from a medium

Think of bandwidth as

Ϟ how wide the highway or pipe is

Ϟ The wider it is (10Mbps, 100Mbps or 1Gbps) the more bps can move through at a time

(3)

Bandwidth

1 sec

1 sec

1Mbps, 1µs/bit

2Mbps, 0.5µs/bit

Ϟ In analog circuits it is the difference between the maximum and minimum frequency signal component that it supports and is measured in hertz

Ϟ The digital bandwidth is related to “bit width” and measured in

(4)

Data Rate

Ϟ The data rate is the amount of data that is moved from one place to another in a given time

Ϟ It can be viewed as the speed of travel of a given amount of data from one place to another

Ϟ So it is the transmission speed in a network

(5)

Throughput

Ϟ Throughput is the average rate of successful message delivery over a communication channel

Ϟ Throughput is used to determine the maximum rate at which a computer user can expect data to transfer

Ϟ It is the actual data transfer rate

Ϟ It is used to measure the performance of a network

(6)

An Example

Lets see an example; consider an expressway

Ϟ Bandwidth refers to the total number of lanes on the expressway Ϟ Data Rate is the number of vehicles that can possibly travel from

one place to another in a given time

Ϟ Throughput refers to the actual number of vehicles that

completed the journey

Ϟ A bigger expressway with many lanes will allow more vehicles to

pass in lesser time, similarly a high capacity data link will allow a

higher bandwidth and higher data rate

Ϟ Also, if there are greater number of vehicles on the road, the

speed reduces overall, similarly, if a lot of data transfer is taking

(7)

Latency

Ϟ Latency means delay

Ϟ It refers to how long it takes to send data from one host to

another

Ϟ In networking, it is the amount of time it takes a packet to travel

from source to destination

Ϟ Latency is the same thing as seek time; the minimum time

between asking for a piece of data and getting it

Ϟ Once you have bad latency you're stuck with it

Ϟ Together, latency and bandwidth define the speed and capacity of

(8)

Latency

Ϟ If you wanted to send ten characters (at eight bits per character)

over your 33 Kbps modem link you might think it would take:

80 bits / 33000 bits per second = 2.4 ms

Unfortunately, it doesn't. It takes 102.4 ms because of the 100 ms latency introduced by the modems at each end of the link

Ϟ If you want to send a large amount of data, say 100KB, then that

takes 25 seconds, and the 100 ms latency isn't very noticeable,

but for smaller amounts of data, say 100 bytes, the latency

(9)

Latency

Ϟ If you want to transfer a large file over your modem it might take

several minutes

Ϟ The less data you send, the less time it takes, but there's a limit Ϟ No matter how small the amount of data, for any particular

network device there's always a minimum time that you can

never beat

Ϟ That's called the latency

Ϟ For a typical Ethernet connection the latency is usually about 0.3

ms

Ϟ For a typical modem link its about 100 ms, about 300 times worse

(10)

LATENCY

1)-

In a network

1-

latency, a synonym for

delay

2-It is an expression of how much time it takes for a

packet

of data to get from one designated point to another.

(11)

2)- Latency In a computer system

1-latency is often used to mean any delay or waiting

that increases real or perceived

response time

beyond the response time desired.

2-Specific contributors to computer latency include

mismatches

in

data

speed

between

the

microprocessor and input/output devices and

inadequate data

buffer

s.

3-Within a computer, latency can be removed or

"hidden" by such techniques as

prefetching

(anticipating the need for data input requests) and

(12)

4-Latency In 3D simulation, in describing a helmet

that provides stereoscopic vision and head

tracking.

(13)

3)-Latency of Satellite Internet Service

1-

Satellite Internet connections possess both high bandwidth

and high latency.

2-When loading a Web page, for example, most satellite users

can observe a noticeable delay from the time they enter a Web

address to the time the page begins loading.

3-This high latency is due primarily to propagation delay as the

request message travels at the speed of light to the distant

satellite station and back to the home network.

4-Once the messages arrive on Earth, however, the page loads

quickly like on other high-bandwidth Internet connections (DSL

or cable).

(14)

Latency vs. Bandwidth

Although the theoretical peak bandwidth of a

network connection is fixed according to the

technology used, the actual bandwidth you will

obtain varies over time and is affected by high

latencies.

Excessive latency creates bottlenecks that prevent

data from filling the network pipe, thus decreasing

effective bandwidth.

(15)

Round Trip Time

Ϟ RTT is the time required for a signal pulse or packet to travel from

a source to a destination and back again

Ϟ RTT is the time it takes for a signal to be sent plus the length of

time it takes for an acknowledgment of that signal to be received

Ϟ RTT is double the latency

(16)

Latency Factors

The contributors to network latency include:

Propagation Delay: This is simply the time it takes for a packet to travel between one place and another

Transmission Delay: The medium itself introduces some delay The size of the packet introduces delay in a round trip since a larger packet will take longer to receive and return than a short one.

Processing Delay: Each intermediate node takes time to examine and possibly change the header in a packet

packet response time buffer

References

Related documents

In the case of variable that proxies the quality of the human capital and research activities conducted in the region and the diffusion of knowledge through cooperation, measured

This means that as long as the number of single member constituencies is lower than 43 (if we restrict our attention to the elections of 1998, 2002 and 2003), only the list vote

14 InEnTec also boasted that their technology (Integrated Environmental Technologies LLC’s “plasma enhanced melter”) was being successfully used at commercial facilities

Our model showed that social trust can only survive in the presence of free riders (defectors) if there is sufficient willingness to use costly punishment in a punishment, that

4.2 We extracted relevant data from the database into a spreadsheet and analysed the claims experience separately for Death and TPD insurance, and Income Protection, for each of the

Six mechanical properties, namely bending strength, stiffness, compression parallel and perpendicular to the grain, shear parallel to the grain, and hardness, have been evaluated for

1) Bachelor’s degree in computer sciences, mathematics or physics or diploma evidencing bachelor’s degree for completion of at least 3 years of bachelor’s

The structures with nk/ 2 edges that we simulate are the k -regular bipartite graph, the k -lattice with maximum and minimum correlation, as well as a random graph generated with