Академический Документы
Профессиональный Документы
Культура Документы
Project Costing
David Tipper
Associate Professor
Department of Information Science and
Telecommunications
University of Pittsburgh
Slides 3
http://www.sis.pitt.edu/~dtipper/2110.html
• Technical Goals
– Scalability
– Availability/reliability
– Network Performance
• Utilization, Throughput, Delay, Delay Jitter, packet loss rate,
call/connection blocking rate
– Security
– Manageability/Interoperability
– Affordability $$
• Need to determine reasonable goal for each
category and the relative importance of each
• For Availability and Performance simple models
are useful to set goals and evaluate designs
1
Availability
• Availability is the amount of time a network is available
to users
• Can be expressed as percent uptime
– 165 hours in 168 hours/week = 98.21%
• Availability Goals depend on application and user
requirements – may vary with location
– Highly available voice service at customer support call center
– Lower available voice over IP service in engineering dept.
– 99.999% => downtime = .00001 x 60 x 24 x 365 = 5.25 minutes per year!
Availability
• Availability (A)
– Ability of an item to perform stated function at over time
– Fraction of the time that an item can be used when needed
– Value in the 0.0 to 1.0 range
MTTF
A = lim ⎨
⎧ Uptime ⎫
MTTR MTTF MTTR
A=
Tobs →∞
⎩ Tobs ⎭
⎬ MTBF MTTF + MTTR
2
MTBF – Physical Cable
• Physical cables
– MTBF can be specified using the Cable Cut (CC)
metric
• Average cable length that results in a single cable cut per
year
• CC = 450 km means that per 450 km cable, there will be on
average on cable cut each year
(CC × 365 × 24)
MTBF ( hours ) =
length of the cable (km)
– Example, given CC = 450km and cable length = 260
km,
450km × 365 × 24h
MTBFcable = = 15161.5h
260km
Unavailability
• Unavailability (U)
– The fraction of the time that an item cannot be
used when needed
• U=1–A
• Other expressions for unavailability
– Downtime per year
• Downtime in units of minutes per year
• Obtained by multiplying U by minutes in a year
– 0.99999 availability,
– 0.00001 unavailability,
– 5.256 downtime per year (in minutes), and
TELCOM 2110 Spring 06 6
3
System Availability
• System availability calculated from
component availability Ai
• If devices in series n
Aseries = ∏ Ai
i =1
… n
1 2 n Us ≈ ∑ U i
i =1
• If devices in parallel n
1 U parallel = ∏ U i
i =1
2 n
Aparallel = 1 − ∏ (1 − Ai )
…
n i =1
TELCOM 2110 Spring 06 7
WDM
WDM
OA OA
80km 100km 80km
4
System Availability - Example
• Devices in series
• Availability of a bidirectional line (Aline)
Series-Parallel Reduction
For complex systems need to apply series parallel
reduction to determine overall availablity
+ series
|| parallel
5
Availability Analysis
• General Methodology:
1) Get unavailability values of all components and sub-systems.
2) Draw parallel and series availability relationships
3) Reduce the system availability model by repeated applications of
the parallel/series availability simplifications.
4) If not completely reduced, do quick unavailability lower bound
estimation
– Contributions of parallel elements to the unavailability are not
taken into account
B D F
A
C G H
E
Network Performance
• Several Performance measures
– Utilization
– Throughput
– Accuracy (BER, Packet Loss)
– Efficiency
– Delay and Delay Jitter
– Call Blocking for circuit switched networks
• Typically look at measures during the busy period of the
day set threshold values
• Need to know how to estimate values
• Approaches when designing network limited to
– Queueing Analysis – analytical models
– Simulation – measurements on computer model of the network
design
6
Queueing Theory
Model of Router
7
Nomenclature of a Queueing System
8
Characteristics of the Input Process
• Probability distribution that are commonly used
to describe the arrival process are:
– M : Markovian (or memoryless), implies the Poisson
process for arrivals – means the number of arrivals
over a time interval has a Poisson distribution – this is
equivalent to the time between customers arriving
being exponentially distributed.
– D : Deterministic, fixed interarrival times
– Ek: Erlang distribution of order k
– G : General probability distribution
– GI: General and independent (inter-arrival time)
distribution.
TELCOM 2110 Spring 06 17
9
Characteristics of the System Structure
10
Basic Queues
∑πi =1
∀i
11
M/M/1 Queue
• Single server system with infinite capacity.
λ μ λ
λ λ λ λ
μ μ μ μ
λπ 0 = μπ 1 j=0
( λ + μ )π j = λπ j −1 + μπ j +1 j>0
M/M/1 Continued
π n = ρ n (1 − ρ )
where ⎛ λ ⎞
⎜⎜ ρ = ⎟⎟ < 1
⎝ μ ⎠
12
M/M/1 Example
• Consider a concentrator that receives messages
from a group of terminals and transmits them
over a single transmission line.
• The packets arrive according to a Poisson
process with one packet every 2.5 ms and the
packet transmission times are exponentially
distributed with a mean of 2 ms. That is the
arrival rate = 1 packet/2.5 ms = 400 packets/sec
• Service rate = 1packet/2ms = 500 packets/sec
– Find the average delay through the system
• Utilization = ρ = 400/500 = .8
– Delay W = 1/(500 – 400) = .01 secs = 10 msecs
M/M/1/K
• The system has a finite capacity of size K.
λe = λ (1 − Pb )
λ μ λ
λ Pb
13
M/M/1/K
λ λ λ λ λ λ λ
μ μ μ μ μ μ μ
λπ 0 = μπ 1 j=0
(λ + μ )π j = λπ j −1 + μπ j +1 1≤ j < K
μπ j = λπ j −1 j=K
M/M/1/K
π n = ρ nπ 0 n≤K
where
λ
ρ= Normalized offered load
μ
0< ρ <∞
Solving steady flow equations results in
(1 − ρ ) ρ n
πn = ρ ≠1
1 − ρ K +1
1
πn = ρ =1
K +1
14
M/M/1/K
Probability of blocking (Pb) = Loss Rate
(1 − ρ ) ρ K ρ ≠1
Pb = π k =
1 − ρ K +1
1
Pb = π k = ρ =1
K +1
Example M/M/1/10
Notice how it is nonlinear
TELCOM 2110 Spring 06 29
M/M/1/K
Effective server utilization : (actual utilization of the system)
λ (1 − Pb ) λe
ρe = =
μ μ
Average number in the system
K
ρ ( K + 1) ρ K +1
ρ ≠1 L= ∑ iπ i = 1− ρ
−
1 − ρ K +1
i=0
K k
⎛ 1 ⎞
ρ =1
L= ∑ iπ i = ∑ i ⎜⎝ K + 1 ⎟⎠
i=0 i=0
k
⎛ 1 ⎞
=⎜ ⎟∑ i
⎝ K + 1 ⎠i = 0
K
=
2
TELCOM 2110 Spring 06 30
15
M/M/1/K
L
Mean Delay W=
λe
1
Mean Queueing Delay Wq =W −
μ
Mean Number in Queue Lq = L− ρe
M/M/1/K Example
(1 − ρ ) ρ K (1 − .875).87516
Pb = = = 0.0165
1 − ρ K +1 1 − .87517
16
M/M/C
λ λ
M/M/C
λ λ λ λ λ λ
μ 2μ 3μ (C − 1) μ Cμ Cμ
λπ 0 = μπ 1 j=0
(λ + jμ )π j = λπ j −1 + ( j + 1) μπ j +1 1≤ j < C
(λ + Cμ )π j = λπ j −1 + Cμπ j +1 j≥C
17
M/M/C
The server utilization (ρ)
λ
ρ=
Cμ
The traffic intensity (a) ⇐ offered load (Erlangs)
λ
a=
μ
The stability requirement
a
ρ= <1 ⇒ a<C
C
With traffic intensity a Erlangs, C is the minimum number of servers requirement.
M/M/C
Solving for the state probabilities yields
1
π0 = C −1 n
a ac
∑ n! (c − 1)! (c − a )
+
n=0
ai
πi = π0 ; 1≤ i < C
i!
ai
πi = π0 ; i≥C
c! c i − c
18
M/M/C
Probability of a customer being delayed C(c,a)
ac
∞
( c − 1)! ( c − a )
C (c , a ) = ∑π j = c −1 n
a ac
j=c
∑ n! (c − 1)! (c − a )
+
n=0
M/M/C
Other performance measures
⎛ a ⎞
Lq = ⎜ ⎟ ⋅ C (c, a )
⎝c−a⎠
L = Lq + a
1
C (c, a )
Lq μ
Wq = =
λ c−a
1
W = Wq +
μ
19
M/M/C
{ }
P wq ≤ t = 1 − C ( c , a ) ⋅ e − cμ (1− ρ ) t
M/M/C Example
20
M/M/C/C
λe = λ (1 − Pb )
λ λe
λ Pb
M/M/C/C
λ λ λ λ λ
μ 2μ 3μ (C − 1) μ Cμ
λπ 0 = μπ 1 j=0
(λ + jμ )π j = λπ j −1 + ( j + 1) μπ j +1 1≤ j < C
(Cμ )π c = λπ c −1 j=C
21
M/M/C/C
1
π0 = c
an
∑ n!
n=0
ai
ai
π i = π 0 = c i! ∀i = 1,2,...c
i! an
∑ n!
n=0
M/M/C/C
22
M/M/C/C
c ⋅ B (c, a )
C (c, a ) =
c − a ⋅ (1 − B ( c , a ))
M/M/C/C
a
Mean server utilization ρe = ⋅ (1 − B ( c , a ))
c
a
Mean number in the system L= ⋅ (1 − B ( c , a ))
μ
1
Average delay in the system W =
μ
23
Traffic Engineering Erlang B table
M/M/C/C/ Example
• Consider a corporate PBX connecting 250 phones to the local
phone network. During the busy hour the company sees on average
1 outside call per phone with a average duration of 4 minutes per
call. How many DS0s are need to connect the PBX to the local
phone company and have a call blocking rate of 1%?
• The load is per phone is aphone =1/60 calls per minute x 4
minutes/call = 0.0667 Erlangs
• The load on the PBX is aPBX= 205 x 0.0667 = 16.667 Erlangs
24
Traffic Engineering Example
Project Costing
• Review of Economics
• Value of money changes with time
– Inflation causes future dollars to be worth less than
today’s dollars
– Investment risk devalues future dollars
proportionately to the risk
• Elements
– Future value (F)
– Present value (P)
– Rate (i)
– Annuity (A) - A sequence of uniform payments
– Net Present Value NPV sum of all cash flows moved
to the present
25
Formulation
• If an amount of money (P) were invested such
that it grew at precisely the rate of inflation (i) for
one time period, then
F = P + Pi = P(1 + i)
– That is, F is the equivalent future value of P
• For 2 time periods,
F = P(1+i) + P(1+i)i = P(1+i)(1+i)
• Generalizing, for n time periods
F = P(1+i)n
– This is referred to as the future worth of a present
amount
P dollars F = P (i %, N )
deposited
Example : $1000 today if invested in CD with 3% annual compound
interest is worth ? in 5 years
F= 1000(1+.03)5 = $1159
26
Cash Flow Series
• Annuity - payments of A made at regular intervals
• Compute future value i = %
A A A A A A A
1 2 3 N-1 N
[
F = A 1 + (1 + i ) + (1 + i ) 2 + K + (1 + i ) N ]
⎡ (1 + i ) N − 1 ⎤ Example: A company leases a PBX for $1000 a
= A⎢ ⎥ quarter for 3 years. What is the value of the
⎣ i ⎦ contract at the end if inflation is 2% quarterly
⎡ (1 + i ) − 1⎤⎛ 1 ⎞ ⎡ (1 + i ) N − 1 ⎤
N N
∴ P = A⎢ ⎥⎜ ⎟ = A⎢ ⎥
⎦⎝ 1 + i ⎠ ⎣ i (1 + i )
N
⎣ i ⎦
i = %
A A A A A A
1 2 3 N-1 N
F dollars
P dollars Example Present value of PBX lease
in future
deposited P = 1000 [( (1+.02)12 -1)/(0.02(1+.02)12)]
P = $10,575
TELCOM 2110 Spring 06 55
27
Cost Example
• Move project cost either to net present value NPV or to Future
Present Value to compare alternatives
• Example buying PBX vs. leasing PBX for 10 year project (i = 5%)
Depreciation
• Definitions of Depreciation
– A System of Accounting which Aims to Distribute
Cost or Other Basic Value of Tangible Capital Assets,
Less Salvage Value, Over the Estimated Useful Life
of a Unit in a Systematic and Rational Manner for the
Purpose of Allocation (Paraphrased from ACPA)
– Loss in Service Value Not Restored by Maintenance
– Due to Normal Wear and Tear, Exposure and Decay,
Technological Obsolescence, etc.
• Depreciation Does Not Involve Actual Cash
Outlays
28
Computing Depreciation Expense
• Original Cost of Equipment
• Estimated Service Life of Equipment
– Data equipment 3-5 years lifetime
– Telecom equipment 5-20 years lifetime
• Estimated Net Salvage Value of the Equipment
– Remaining Value at the End of the Service Life
– Can Include the Cost of Removal
• Depreciation Method
– Retirement/Replacement
• Not widely used because carry cost until retirement
– Age-Life
Age-Life Methods
29
Deprecation Concepts
Cost ($)
Original
Cost
Accrued Depreciation
Annual Depreciation
Charge
Current Value
Service
Salvage Life
Value
5 10 15 Time (Years)
TELCOM 2110 Spring 06 61
Age-Life Methods
• Accelerated depreciation allows higher
depreciation early in the equipment life than
straight line method
• Sum-of-the-Year’s-digits
# Years Remaining at Beginning of Year
Depreciation Expense = x (Original Cost - Salvage Value)
Total of the Digits of the Year’s Life
30
Comparison of Depreciation Approaches
Cost ($)
Service
Life
Salvage
Value =
$500,000
5 10 15 Time
(Years)
TELCOM 2110 Spring 06 63
Comments
• Size of depreciation charge depends on
– Service Life
– Salvage value
• Estimating both parameters in advance is
difficult
– Service life must take technological and usage factors
into account
– Actual salvage value depends on costs and prices at
the time of decommissioning
• Summarizing
– Using GAAP the value of an asset is
• Current Value = Purchase Value – Depreciation
• Can be factored in to network design cost
depends on organization
TELCOM 2110 Spring 06 64
31
Network Design Cost
• Network Cost
•Project cost usually determined as Net Present Value
(NPV) of all cash flows in the project
• In WANs and metro access networks in addition to
equipment cost link BANDWIDTH is a significant cost
• Bandwidth is a reoccurring cost (treat like an annuity)
Bandwidth Cost
•Tariffs
• Tariff is a published rate for
telecommunications services and
facilities (in U.S. carriers file tariffs
with FCC)
• Types of Links
• Usage-sensitive
(fixed cost + variable cost
charged per minute or per X
bytes )
• Usage insensitive (leased line)
(fixed cost + monthly fee)
TELCOM 2110 Spring 06 66
32
Usage Sensitive Tariffs
33
Usage Sensitive Tariffs
34
Leased Line Rates
35
Leased Line Tariffs
36
Distance Coordinate Systems
Need to determine distance between sites to estimate
cost – two coordinate system approaches
Vertical and Horizontal (V&H)
- a grid of lines defined by AT&T in 50’s for North
America
- allows for a simplified computation of distances
- Widely used in Telco industry
Latitude and Longitude (L&L)
- defined for all locations on the surface of the earth.
- The distance calculation is essentially an exercise in
spherical geometry.
C code and formula in book
Given two cities coordinates (v1, h1), (v2,h2) find distance d apart
d = ceil ( (( v 1 − v 2 ) 2 + 9 ) / 10 + (( h 1 − h 2 ) 2 + 9 ) / 10 )
Can approximate by City name V H coordinate
( )
coordinate
37
Latitude and Longitude Coordinate
38
Applications Map
• From Applications Map – get
rough idea of traffic flows
between network nodes
• Get the beginnings of a traffic
demand matrix across the Wide
Area Network
• If use Applications Monitoring
Approach –gather data on each
application
• A: Mean rate = .1 Mbps, Peak = .15 Mbps
• C: Mean rate = .5 Mbps, Peak = .75 Mbps
• D: Mean rate = 2 Mbps, Peak = 2.5 Mbps
Mean data Dallas Denver Vienna Peak data Dallas Denver Vienna
rate demands rate demands
39
Example Network Design
• Consider simple network design based on mean data rates
• Objective: average link utilization 50% or less at each link
• Link capacity is purchased in T1 or multiple T1 sizes.
• A logical layer network design solution is a
minimum spanning tree (discussed later)
1.6 Mb
• The demands for each direction per link are 3T1
given next to the directional arrow Denver
Vienna
• In order to size link 2.8Mb
– pick max demand in either direction 1.1Mb
– double max demand to meet 50% utilization
objective
– Modularize into T1 multiples 4T1
• For example Dallas –Vienna Link 2.2Mb
– Max = 2.8 Mb, double to 5.6 Mb => 4 T1 lines
each 1.54 Mbps Dallas
– Similarly Denver –Vienna link is 3 T1 lines
– Need 7 Total T1 lines
– Check shows peak demands can be
carried
TELCOM 2110 Spring 06 81
40
Example Network Design
• If spanning tree is rooted at Dallas
• The demands for each direction
per link are given next to the
directional arrow
• Again to size link
– pick max demand in either direction
– double max demand to meet 50% Denver
Vienna
utilization objective
4 Mb
– Modularize into T1 multiples 1.1Mb
• For example Dallas –Vienna Link 1.6 Mb
6T1
– Max = 4Mb, double to 8 Mb => 6T1
lines each 1.54 Mbps 3T1
2.9 Mb
– Similarly Dallas - Denver link is 3 T1
Dallas
lines
– Need 9 T1 lines Total
– Note peak demands can be carried
T1 lines 2.8Mb
1.1Mb
– Cost = 3*(2406 +.49 x1489) = $9407
• Total Bandwidth Cost = $21,344
per month 4T1
2.2Mb
• Similarly Cost of Other Designs Dallas
• Denver Root Cost = $29,731
• Dallas Root Cost = $26,093
41