topology capacity and flow assignment
play

Topology, Capacity and Flow Assignment Computer Communication - PowerPoint PPT Presentation

Topology, Capacity and Flow Assignment Computer Communication Networks: Analysis and Design (Klei. Vol. 2, Chap. 5) Original Material Prepared by: Professor James S. Meditch Lecturer:Prof. Massimo Tornatore Typesetter: Dr. Anpeng Huang 1 A.


  1. Topology, Capacity and Flow Assignment Computer Communication Networks: Analysis and Design (Klei. Vol. 2, Chap. 5) Original Material Prepared by: Professor James S. Meditch Lecturer:Prof. Massimo Tornatore Typesetter: Dr. Anpeng Huang 1

  2. A. Evolution of network structures A.a. Private/most expensive (star network) 2

  3. A.b. Least cost/slowest (minimal spanning tree) Multidrop lines – polling or contention 3

  4. A.c. Compromise/multiplexing or concentrating (statistical multiplexer) 4

  5. A.d. Large network – combinations of (c) 5

  6. B. Network modeling M channels, N nodes Message or packet switching Assumptions: (i) Links and nodes perfectly reliable (combinatorial in nature) (ii) Nodal processing time negligible (for reading, error checking) (iii) Nodal storage infinite (iv) Fixed (or random) routing 6

  7. B.1. Arriving traffic • Poisson with avg. rate [msg/sec] N N      • = jk jk   total average flow entering j 1 k 1 j  in the system k B.2. Messages • Message lengths exponentially distributed with 1 mean bits  7

  8. B.3. Channel model M/M/1 queue Channel I  C i , i C • = channel capacity in bits/sec (bps) i  • = avg. channel flow in msg/sec i M     • Note(1): Total average flow inside i the network ( ≠  !)  i 1 • Note(2): propagation time P i 8

  9. B.4. Channel cost (in $) M   ( ) D d i C i  i 1 • d is a generic cost function 9

  10. B.5. Average message delay • T = E [message delay]  • E [message delay for message from j to k ] Z jk  N N N N 1      jk T Z Z   jk jk jk     j 1 k 1 j 1 k 1 fraction of traffic over j – k node pair 10

  11. C. Network design problems 1 C.1. Given: node locations, , traffic matrix {  jk }  C.2. Objective function T C.3. Parameters: C i ,  i , topology τ C.4 Constraint M   d ( C ) D i i  1 i 4 optimization problems can be defined that differ only in the set of permissible design variables -> 11

  12. C.3. The 4 problems are: Problem Given Minimize w.r.t. s.t.  i , τ CA T C i D C i , τ      i 0 C FA T Increasing i i complexity τ C i,  I CFA T D C i,  I, τ TCFA - T D C.4. Dual problems Swap D with T No dual for FA 12

  13. D. Delay analysis D.1. Model for T Little’s result applied: M      N T i T i  i 1 M 1    T i T  i  i 1  : one-way or two-way message flow i First take-away: global T can be expressed as sum of local T i 13

  14. D.2. Independence assumption (a) and channel model (b) D.2.a. Message lengths at nodes are independent at each node, and have exponentially distributed length b with p.d.f.      b p ( b ) e b 0 1 avg. message length = bits  • In fact, message lengths are not independent at each node since a message enters the network with a given length and retains that length from source to destination. This independence assumption is based on (i) large numbers of messages passing through each node and (ii) the moderate connectivity of the network, which support the assumption that packet lengths can be approximated as independent, exponentially-distributed message lengths. 14

  15. D.2.b. M/M/1 channel model and T C i T i  Poisson arrivals: messages/sec. i 1 Exponential service: sec/message  x  i C   message i  i  nb : C sec 1  x x C 1     i i i T         i 1 1 x C  i 1 i i i i i  C 15 i

  16. Cont’d:  M 1   It follows that i T     C  i 1 i i Other results (easily obtainable):        i N T i    i i i  i C C i i i  i   2 C  1  i N i W   q i    i C i i i 16

  17. D.2.c. Other effects Note: so far we neglected: 1. control traffic, 2.propagation and nodal processing delay D.2.c.1. Average data message delay when control traffic is present  = avg. flow of data messages i 1 = avg. length of data message   = avg. flow of all traffic ' i 1 = avg. length of all messages  ' = avg. data message delay T i = avg. service time for data messages x i = avg. waiting time for all messages W i 17 nb: all traffic = data + control

  18. The avg. system time (with control traffic) can be now easily calculated as  ' 1 i     ' x T W x C   i i W C i i i    i ' ' C i i i  ' i  ' 1 C   i T     i ' ' C C i i i    ' i       ' M C 1    i i T      ' '   C C  i 1 i i i     18

  19. D.2.c.2. Propagation delay and nodal processing delay P i = propagation delay [sec/msg] Depends upon the medium and the length of the link, e.g., ground station to geosynchronous satellite is on the order of 120 to 135 msec. K = avg. nodal processing time [sec/msg]    ' i     ' M C 1         i i T K P K      i ' '   C C  i 1 i i i     19

  20. A simple example 20

  21.  Question: How should be split in 13 order to minimize T?  C Routing: all of via 12  1 C C 1 of via and 13  1 2 5 of via C 13  3 all of via C 23 3  1   2   3  msg/sec 4 2 5         msg/sec 10 12 13 23      3 1 1 4 2 5    i T            C 10 12 4 6 2 9 5  1 i i i  T 225 msec 21

  22. D.2.d. Delay-throughput characteristics  M 1 Fixed or random routing   i T     C  i 1 i i     D.2.d.1. Decrease such that for all i C i i  M 1   i T   C  i 1 i So, no queuing in the network, all delay is due to service time (i.e., transmission delay)  M 1   i T   0 C 22  i 1 i

  23.  D.2.d.2. Increase until some    channel saturates, i.e., . C i i   For that channel , T i and, therefore so  * does . Let be the T corresponding value  of . 23

  24. D.2.e. Avg. path length n = avg. path length no. of links through which a message passes in proceeding from its source to its destination averaged over all source-destination node pairs 24

  25.        12 13 14                 . 1 . 2 . 3 ( ) ( )   12 13 14 12 13 14 13 14 14 n                  But 1 12 13 14 3 14 2 13 14      3 1     Hence, 1 2 3 n   i  i 1 3       n where  i  25 i 1

  26. In general,   “path” from j to k  jk  n no. of links in jk jk  jk n N N   jk n    j 1 k 1 j  k 26

  27. M N N        But, n i jk jk    i 1 j 1 k 1  n Since msg/sec will traverse links in passing jk jk through the network Hence,  M      n where  i  i 1  See formula Using this result, we get i at pp. 22 M    T n  0 C  1 i i for the delay throughput characteristic. 27

  28. Example: Same network as in delay analysis example above    1   3   2  10 4 5 2 ; , , 11   So, n 1 . 1 10 Also, using either expression for , we have T 0 0  msec T 122 . 2 This is the avg. msg. delay when the network is very lightly loaded. 28

  29. E. Capacity Assignment (CA) Problem 1      Given: node locations, , , , ; jk  i   M     T C d C D min w.r.t. s.t. i i i  1 i Note: the actual problem requires selection of C i from a finite set, e.g., C i  {300, 900, 1.2k, 1.8k, 3.6k, 4.8k, 9.6k, 19.2kbit/s}, but, to find closed form solution, we consider relax this requirement 29

  30. E.1. Linear costs   Let us assume: d ( C ) d C i 1,2,...... , M i i i i Then the opt. problem can be written as  M M 1     i min T s.t. d C D     i i C   i 1 i 1 i i and it can solve using the Lagrangian:      M M M 1            i J T  d C D   d C D  i i     i i     C    i 1 i 1 i 1 i i  J   0 j 1,2,... M  C j    J      j d 0      j 2 C ( C ) 30 j j j

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend