1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.
-
Upload
sherman-white -
Category
Documents
-
view
215 -
download
1
Transcript of 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.
![Page 1: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/1.jpg)
1
CNPA B
Nasser S. Abouzakhar
Resource Allocation 2
Week 6 – Lecture 22nd November, 2009
![Page 2: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/2.jpg)
Content
Evaluation Criteria
2
![Page 3: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/3.jpg)
Evaluation Criteria Effective Resource Allocation.
– Throughput allowing as many packets into the network as possible. drive the utilisation of all the links up to 100%. however, increasing the throughput increases the length of the
queues at each router. This means that packets are delayed longer.
Power = Throughput/Delay
a function of how much load that can be placed on the network.
3Source: Peterson & Davie, 2007 p 465
![Page 4: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/4.jpg)
Evaluation Criteria, cont.
The power metric limitations.– The power is based on an M/M/1 queuing network that
assumes infinite queues. However, real networks have to drop packets.
– Assumes a single connection (flow).
In an M/M/1 queue, 1 refers to a single server and both Ms mean that both the packet arrival and service time have an exponential “Markovian” distribution.
4Source: Peterson & Davie, 2007 p 465
![Page 5: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/5.jpg)
Evaluation Criteria, cont.
The load is set by the resources allocation mechanism.
5
Many packets are allowed to traverse the network. This leads to increasing the delay due to long queues.
Not many packets being allowed into the network to keep the links busy.
Source: Peterson & Davie, 2007 p 465
Ratio of throughput to delay as a function of load
![Page 6: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/6.jpg)
Evaluation Criteria, cont.
Fair Resource Allocation.– an equal share of BW does not mean a fair share of BW.
– Given a set of flow throughputs (x1, x2,....., xn) in bps, the fairness index to the flows is
1 is representing greatest fairness.6
1) index fairness (0 ,.....,,
1
2
2
111
n
ii
n
ii
n
xn
x
xxxf
Source: Peterson & Davie, 2007 p 467
![Page 7: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/7.jpg)
Evaluation Criteria, cont.
Consider the case where all n flows get a throughput of 1 unit of data per second. In this case the fairness index is
Suppose one flow gets a throughput of . The fairness index is
Whether the odd flow out was more or less than all other flows, the fairness index would be < 1.
7Source: Peterson & Davie, 2007 p 467
12
nn
n
1
1
2
2
11
1122
22
2
2
nnn
nn
nn
n
![Page 8: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/8.jpg)
Example
Suppose a congestion-control scheme results in a collection of competing flows that achieve the following throughput rates: 100 KBps, 60 KBps, 110 KBps, 95 KBps, and 150 KBps.
(a)Calculate the fairness index for this scheme.
(b)Now add a flow with a throughput rate of 1,000 KBps to the above, and recalculate the fairness index.
8Source: Peterson & Davie, 2007 p 528
![Page 9: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/9.jpg)
Solution
(a) The fairness index is 0.926.
x1+· · ·+x5 = 515 and
(b) The index falls to 0.361.
9
57225... 25
21 xx
1) index fairness (0 ,.....,,
1
2
2
111
n
ii
n
ii
n
xn
x
xxxf
![Page 10: 1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.](https://reader035.fdocuments.net/reader035/viewer/2022081816/56649d1f5503460f949f30bc/html5/thumbnails/10.jpg)
Reference
Computer Networks: A systems approach by Larry Peterson and Bruce Davie, published by Morgan Kaufmann (Fourth edition ISBN: 0 12 370548 7).
10