3 traffic engineering capacity planning

Upload: alexandru-ionut-apostu

Post on 03-Jun-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    1/16

    EE5302 Network Design and Management 1

    Traffic Engineering and apacityPlanning

    EE5302 Network Design and Management 2Dr. W Yao, Brunel University

    Requirements DefinitionOutline

    1. Introduction

    2. Throughput Calculation

    3. Traffic Engineering Basics Traffic Characteristics andSource models

    4. Traditional Traffic Engineering Voice Traffic Modelling

    5. Queued Data and Packet-Switched Traffic Modelling

    6. Designing for Peaks

    7. Delay

    8. Availability and Reliability9. Reaction to Extreme Situations

    10. Network Performance Modelling

    11. Creating Traffic Matrix

    12. Capacity Planning and Network Vision

    EE5302 Network Design and Management 3Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning1. Introduction

    Capacity planning is primarily concerned with understanding &quantifying

    Application behaviour

    User behaviour for tackling the worst case scenario Traffic characteristics Network performance characteristics, such as network utilization

    It lays the foundation of network design!

    Advanced protocols, dynamic traffic patterns and characteristics,and peer-to-peer internetworking has changed capacity planninginto more of a heuristic guesswork approachthan one based oncalculation.

    The traffic matrix is no longer a two-dimensional spreadsheet,but a multidimensional matrix including variables such asprotocol types, multiple protocols, multiple traffic-flow patterns,multiple technologies, circuit options, and more.

    EE5302 Network Design and Management 4Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning1. Introduction

    Capacity planning procedures:

    Step 1: Forming a discussion group, including

    User Group

    Application Group

    Network Manger and designer

    Step 2: Quantifying user behaviour, including

    User population by site, building, floor etc

    Major user groups

    Applications used by user group

    Site location date

    Expansion or change of plans

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    2/16

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    3/16

    EE5302 Network Design and Management 9Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Effects of Overhead

    Example: now change the frame size to 56 bytes. The overhead isstill 13 bytes per frame. So we have

    Throughput degrades dramatically!

    The larger frame sizes are more efficient and provide higher linethroughput than the smaller ones, but up to a certain point.

    In packet switching, the larger the packet size, the higher theprobability of error, causing data to require retransmission.

    For noise lines, throughput can be increased by decreasing packetsize. The added overhead is offset by reduced retrxs.

    FPSBytes

    frame

    bits

    Bytekbps 928

    69

    1

    8

    1512

    %25.11037

    131 =Overhead %84.18

    69

    132 =Overhead

    EE5302 Network Design and Management 10Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningTheoretical Delay Curves for Packet/Frame Transmissions

    EE5302 Network Design and Management 11Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning3. Traffic Engineering Basics Traffic Characteristics

    and Sources Models Source Model Traffic Parameter Characteristics

    Deterministic parameters are based upon a specific traffic contract,with conformance verifiable on a unit-by-unit basis.

    The agreement as to the traffic throughput that achieves a

    given performance is unambiguously stated. The probabilistic (also called stochastic) model is typically

    measurable only over a very long-term average.

    Since the method and interval for computing the average candiffer, conformance testing defines the details of themeasurement method.

    Specification of the statistical model is also required.

    EE5302 Network Design and Management 12Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning General Source Model Parameters

    Burstinessis a measure of how infrequently a source sends traffic. Asource that infrequently sends traffic is very bursty.

    Source activity probabilityis a measure of how frequently thesource sends, defined by the probability that a source is bursting.

    Utilizationis a measure of the fraction of a transmission linkscapacity that is used by a source during a time interval.

    All protocol and switching overheads should be accounted for inthe calculation of utilization.

    RateAverage

    RatePeakBurstiness

    =

    urstinessyProbabilitActivitySource 1 =

    RateLink

    RatePeaknUtilizatioPeak

    =

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    4/16

    EE5302 Network Design and Management 13Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning4. Traditional Traffic Engineering

    Statistical Behavior of User Traffic

    User information arrives at the network node based on statisticalarrival rates. Therefore, statistical approximations can be used tomodel these traffic patterns.

    Voice Traffic Modeling (Erlang Analysis)

    Erlang is the measure used in analog voice communication systemsfor estimating user demand. It is defined as

    where is the call arrival rate in calls/hour, and is the averagecall holding time in hours.

    Example: if 100 calls of 150 second duration, 200 calls of 100second duration, and 300 calls of 50 second duration within onehour, the number of erlangs would be 13.89.

    =

    ==k

    n

    nn Erlang E1

    EE5302 Network Design and Management 14Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningVoice Network

    EE5302 Network Design and Management 15Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning5. Queued Data and Packet-Switched Traffic Modeling

    While Erlangs work well predicting voice network and circuit-switched traffic rates, they do not work well with packet-switched networks.

    In packet-switched networks, some level of queueing is employedso that packets are queued in buffers and transmitted whencongestion ceases, rather than being immediately blocked.

    Packet-switched networks provide a mix of protocol and traffictypes, whereas voice and circuit-switched networks provide point-to-point, transparent homogeneous transport of information.

    Therefore, packet switching demands a different analysis oftraffic handling.

    EE5302 Network Design and Management 16Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Queueing System Models Notation

    A/B/s/w/pA: arrival process of new calls/packets (A=M, G or D)

    B: departure process of served calls/packets (B=M, G or D)

    M: Markovian; G: General; D: Deterministic.

    s: number of queue servers (s>0)

    w: size of waiting room (or number of buffer positions, w>0)

    p: source population (or number of users, p>0)

    Queued Data and Packet-Switched Traffic Modeling Erlang-B: M/G/s/s voice blocked calls cleared and FDM/TDM.

    Erlang-C: M/G/s/k voice blocked calls held or operator services(this model is used when k>s).

    Packet: M/G/1 packet, frame, and cell networks (assume infinitewaiting room and population).

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    5/16

    EE5302 Network Design and Management 17Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Markovian Queueing Systems Models

    M/D/1 model

    Constant length bursts not accurate

    Buffer unit is packet, frame, or cell accurate

    Difficult to analyze

    M/M/1 model

    Random length bursts with a negative exponential distribution(memoryless, Markov) accurate

    Buffer unit is burst not accurate

    Simple to analyze

    EE5302 Network Design and Management 18Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningApplication of M/D/1 and M/M/1 Queueing System with Cells

    EE5302 Network Design and Management 19Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Utilization and Capacity Calculations

    Utilization (or offered load) is a unitless measure to represent theaverage fraction of the resource capacity that is in use.

    The probability that there are n bursts in the M/M/1 system

    is given by

    The average queue size is

    The average queueing delay (waiting time) is

    The average delay is equal to the sum of the waiting time (in thequeue) and the service time (at the server), specifically

    er burst.n second pice time ierage servis the av

    r second;bursts pef arrivinge number othe averag is-1

    ,

    =

    { } ( ).1systemM/M/1inburstsPr =n

    n

    .11

    2

    =

    =N

    ( ).

    1

    =w

    ( ).

    1

    11

    Nwwdavg =

    =+=+=

    EE5302 Network Design and Management 20Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningRelationship Between Utilization and Queue Size

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    6/16

    EE5302 Network Design and Management 21Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Markovian Queueing Packet Switching System Example

    If a packet switch has 5 users, each transmitting 10 messages persecond at 1024 bits per message, with the packet switch operatingover a 56 kbps trunk, the following applies

    elayaverage dsecondswd

    timewaitingaveragesecondsN

    w

    queueinmessagesN

    systeminmessagesNnUtilizatio

    mpsbpm

    bpsmps

    avg =+=+=

    ==

    =

    =

    ===

    ====

    212.00183.0194.01

    194.0

    716.9

    63.101

    ;914.0

    6875.541024

    56000;50105

    EE5302 Network Design and Management 22Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningRelationship Between Utilization and Response Time

    EE5302 Network Design and Management 23Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Traffic Engineering Complexities

    Realistic source and switch traffic models are not currently amenableto direct analysis, only approximations can be derived under certaincircumstances.

    Simulations are time consuming and, in the case of modeling complexhigh-speed technologies like ATM, cannot effectively model low cell-loss rates since an inordinate number of cells must be simulated.

    Constantly changing source, switch and network characteristics createa moving target for such traffic engineering models.

    Buffer Overflow and Performance The probability that there are npackets in the M/M/1 system is

    The probability of overflowing a buffer of size B packets is

    { } ( ).1systemM/M/1inpacketsPr == nn nP

    { } 11

    Pr +

    += ==> BBn nPBn

    EE5302 Network Design and Management 24Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Cell Buffer Overflow Analysis

    The overflow probabilityfor a buffer of size B cells (M/M/1/B) isapproximately the probability that there are more than B/P bursts inthe infinite queue system (M/M/1), so we have

    where CLR stands for Cell Loss Ratioand P represents theaverage number of cells in contained a PDU burst.

    Buffer overflow probability in frame and cell networks increases asthe higher layer PDU sizes (P value) increase.

    Therefore, the required buffer size for achieving an objective

    CLR is approximated by

    The shared output buffer scheme has a marked improvement onbuffer overflow performance because of sharing a single, largerbuffer among many ports, and it is unlikely that all ports arecongested at the same time.

    { }1

    Pr+

    = PB

    lowfer OverfCell BufCLR

    .log CLRPB

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    7/16

    EE5302 Network Design and Management 25Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningSwitch Buffering Performance

    EE5302 Network Design and Management 26Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningOverflow Probability versus PDU Burst Size

    EE5302 Network Design and Management 27Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningShared versus Dedicated Buffer Performance

    EE5302 Network Design and Management 28Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Statistical Multiplexing Gain

    Statistical multiplexing attempts to exploit the on/off, bursty natureof many source types.

    As more and more sources are multiplexed, the statistics of thiscomposite sum become increasingly more predictable.

    Statistical

    MultiplexGain

    N: the number of sources; Q(): the objective cell loss ratio(CLR); b: the burstiness (peak/average rate); : the peaksource-rate-to-link-rate ratio.

    The rate of any individual source should be low with respect to thelink rate , and the burstiness of the sources bmust be high in orderto achieve a high statistical multiplex gain G.

    ( )[ ]4

    14122 +

    =

    bbbN

    hannelsumber of CRequired N

    pportedSources SuNumber ofG

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    8/16

    EE5302 Network Design and Management 29Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningIllustration of Statistical Multiplex Gain

    EE5302 Network Design and Management 30Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningAchievable Statistical Multiplex Gain

    EE5302 Network Design and Management 31Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningStatistical Multiplex Gain Example

    EE5302 Network Design and Management 32Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning LAN Traffic Modeling

    LAN traffic modeling is a difficult process and is subject to furtherstudy. Many LAN traffic characteristics, such as performance andthroughput based on number of users, have been thoroughly studiedand provided by equipment vendors.

    The Token Ring throughput increases when the number of usersincreases because less time is spent token passing, whereas on theEthernet (CSMA/CD) LAN the throughput decreases as the numberof users increases due to the increased likelihood (and number) ofcollisions.

    LAN bridge designs are concerned primarily with frames forwardedper second and frames filtered per second. Packet and frameforwarding and filtering buffers, as well as the depth of LAN addresstable memory, should also be considered in the designs.

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    9/16

    EE5302 Network Design and Management 33Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningLAN Throughput Comparison

    EE5302 Network Design and Management 34Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning DQDB (Distribute Queue Double Bus) MAN Traffic

    Modeling

    The DQDB bus operates as a LAN, but handles calls similarly to theErlang method, where messages contending for the bus have to waituntil they can reserve a space on the bus.

    The required capacity of a DQDB MAN to handle all user traffic iscalculated with the sum of the s (packets/sec) of the local, remotetraffic from and to the MAN, and the pass-through traffic, i.e.

    ,

    where all s are the sum of the users in that category and represents the minimum required capacity of the local MAN.

    Since MANs often provide high-bandwidth connectivity to a smallnumber of users, the traffic approximations just discussed becomevalid (where aggregations tend to have Poisson distributions). Hugebursts on the MAN can dwarf the normal large packet transmissionsnormally seen on the LAN.

    =++ ' RTRFL

    EE5302 Network Design and Management 35Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningCharacteristics of LANs Attached to MANs

    EE5302 Network Design and Management 36Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning The probability that a LAN time slot will be busy is given by

    The probability that a LAN will transmit onto a particular MAN slot

    is ( : the fraction of inter-LAN bursts).

    The average utilization (or throughput) of the DQDB MAN can be

    approximated by (assume there are NLANsconnected to MAN and the MAN is y times faster than each LAN).

    The average M/M/1 delay is proportional to .

    Queueing poweris defined as the ratio of throughput to delay, i.e.

    The optimum number of LANs that can be connected to the MAN can besolved as

    ntB

    D8

    nt

    t

    n

    urstsumed by bslots connumber ofAvg

    s

    b

    s

    bB =

    =

    ==

    .

    InterLANBM =

    ( )2

    1

    ===

    y

    N

    y

    N

    Delay

    ThroughputP MMMM

    yNMM

    =

    ( )M11

    InterLAN

    M

    opt

    yN

    N

    P

    ==

    20

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    10/16

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    11/16

    EE5302 Network Design and Management 41Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningAssume the user has the entire bandwidth of each link, the total

    delay is given by

    In packet-switching, the total message delay is calculated as

    where p: packet size; c: transmission rate of the medium;n: number of intermediate nodes; m: message size.

    Example: if the 2 Mbit file is transmitted over the four-node (notcounting the origination and destination nodes) network with 56 kbpstrunks, using packet sizes of 1024 bits, the total delay in

    transmitting the entire file is

    Cell-switching delay best resembles packet-switching delay. Dataexceeding the available throughput is discarded, with no retransmission.

    c

    pmn

    c

    p ++ )1(

    .sec79.3556000

    1998976)14(

    56000

    1024=++

    .sec125.78)124(128

    2=+

    kbps

    Mbit

    EE5302 Network Design and Management 42Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Impact of Delay on Application

    A bandwidth-limited application occurs when the receiver beginsreceiving data before the transmitter has completed transmission ofthe burst. The lack of bandwidth to hold the transmission limits thetransmitter from releasing the entire message immediately.

    A latency-limited application occurs when the transmitter finishessending the burst of data before the receiver begins receiving anydata. The latency of the response from the receiver limits additionaltransmission of information.

    By applying the basic M/M/1 queueing theory, the average M/M/1queueing-plus-transmission delayin the network is

    b: burst length; R: peak transmission rate

    of the network; : average trunk utilization. The point where the average queueing-plus-transmission delay

    exactly equals the propagation delay is called the latency/bandwidth crossover point.

    )1( R

    b

    EE5302 Network Design and Management 43Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningPropagation Delay, Burst Length, and Peak Rate

    EE5302 Network Design and Management 44Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningLatency/Bandwidth Crossover Point

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    12/16

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    13/16

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    14/16

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    15/16

  • 8/12/2019 3 Traffic Engineering Capacity Planning

    16/16

    EE5302 Network Design and Management 61Dr. W Yao, Brunel University

    Traffic Engineering and apacity PlanningTraffic Matrix

    EE5302 Network Design and Management 62Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning Interpreting the Matrix

    In its simplest use, the matrix shows the connectivity requiredbetween each site.

    All traffic identified as remaining local to a given node would beplaced into the same access node.

    Group nodal traffic distributions in a local geographical area togetherto form larger access nodes.

    The small amount of traffic originating at some nodes isbackhauled to the regional concentrator.

    This process continues until the number of access nodes required tobegin the design is established.

    Network designs for multimedia and multiprotocol networks aremuch more complicated. These designs often require many trafficmatrices combined into a multidimensional matrix (e.g. a z-axis torepresent priority or protocol), or in large networks, design tools toperform these calculations.

    EE5302 Network Design and Management 63Dr. W Yao, Brunel University

    Traffic Engineering and apacity Planning12. Capacity Planning and Network Vision

    A short-term objective and task-oriented plan is usually revised eachyear, and the long-term 3- to 5-year plan should also take intoaccount the strategic vision of corporate communications for the next 5to 10 years. Both plans must take into account the business needs,customer needs, and the technologies.

    As the cost of computing hardware decreases, the entropy of capacityrequirements increases. This makes capacity planning for

    communications networks a challenging task.

    Short- and long-range capacity planning can provide the corporationwith a competitive advantage, assuming that the plans fit in with thelong-range strategic business plan.

    Each design must provide the flexibility to change technology asbusiness needs change without major network restructuring.

    One of the best architecture is that which is built in a hierarchicalnature that caters to flexible peer-to-peer communications and can bereplaced in layers over time.