Docsity

Total Delay - Networking Embedded Systems - Exam, Exams of Computer Networks

Toggle sidebar
bg1
Page 1 of 8
CORK INSTITUTE OF TECHNOLOGY
INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ
Semester 1 Examinations 2010/11
Module Title: Networking Embedded Systems
Module Code: CTEC9012
School: Electronic and Electrical Engineering
Programme Title: M.Eng. in Embedded Systems Engineering
Programme Code: CR_EMBED_9
External Examiner(s): Mr. P. French, Dr. P. Quinlan, Mr. D. Heffernan
Internal Examiner(s): Dr. Oliver Gough
Instructions: Answer four questions
Duration: 2 Hours
Sitting: Winter 2010
Requirements for this examination:
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the
correct examination paper.
If in doubt please contact an Invigilator.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Total Delay - Networking Embedded Systems - Exam and more Exams Computer Networks in PDF only on Docsity!

CORK INSTITUTE OF TECHNOLOGY

INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ

Semester 1 Examinations 2010/

Module Title: Networking Embedded Systems

Module Code: CTEC

School: Electronic and Electrical Engineering

Programme Title: M.Eng. in Embedded Systems Engineering

Programme Code: CR_EMBED_

External Examiner(s): Mr. P. French, Dr. P. Quinlan, Mr. D. Heffernan Internal Examiner(s): Dr. Oliver Gough

Instructions: Answer four questions

Duration: 2 Hours

Sitting: Winter 2010

Requirements for this examination:

Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.

Q1.

(a) Consider a single hop wireless sensor network with a large number of nodes each running a reporting application and a single aggregation server. The server receives 1200 packets per hour during normal operation according to a Poisson process. The server requires 200 milliseconds on average to process and forward a report. The processing time is exponentially distributed. (i) Calculate the total delay each report experiences (ii) If sleeping schedules are introduced to save energy, how much will the mean service time (including sleep) be permitted to increase if a doubling of delay is tolerable (assume the service times remain exponentially distributed)? [10 marks]

(b) A transmission system, is shared among 16 nodes. Data packets of a fixed size of 180 bytes are generated by each computer system according to a Poisson process with rate  = 0.7/sec. Due to variability in the communications environment the effective data rate has the following distribution. R 1 = 9.6kbit/s,is available 15% of the time, R 2 = 19.2kbit/s, 25% of the time, R 3 = 28.8kbit/s, 30% of the time, R 4 = 56kbit/s, 30% of the time. (i) Calculate the throughput of the system. (ii) Calculate the average waiting time and number of packets waiting for transmission. [15 marks] [Total: 25 marks]

Q3.

(a) Briefly outline how gossiping or rumour routing solves the problem of efficiently routing data to “interested” sinks. Use diagrams to illustrate the propagation of interests and messages. [10 marks] (b) Consider the situation in Figure Q3. The transmission links are labelled with the energy cost of transmitting a standard packet. Nodes are labelled with the current battery energy reserve. Node F is sending a message to node B. Consider the route selected by the Min Battery Cost Routing algorithm and the route selected using the Min Residual Power Sum algorithm. Explain the differences in these approaches.

2

A

H

G

2

I D

F E

2

2

(^3 )

1 1

3 1 1 2

2

2

B

C

2

14

20

7

4

9 20

6

15

12

Figure Q3: Energy constrained routing

[Total: 25 marks]

Q4.

(a) Using the Bellman-Ford algorithm, develop the least-cost routing table for source node s = 8 for the network of 9 nodes shown in Figure Q4(a). The link costs are assumed bidirectional with equal costs in both directions. In your answer tabulate the least cost associated with each route. [10 marks]

2

2

5 7

2

6

3 3

1 1

3 3 3 2

2

1

Figure Q4 (a)

(b) Using the Ford-Fulkerson algorithm, calculate the maximum flow f between source node s = 1, and destination node d = 7 for the network of 7 nodes shown in Figure Q4(b). Link capacities and flow direction are shown with each link.

20

10 5

7

5

(^3 )

(^15 )

20

7

Figure Q4(b)

[15 marks]

The following formulae may be of use

Little’s theorem: A   T and AQ   W

M/M/1/ Queuing System: state probability of Markov chain pi   1   i

A ,

M/M/m/ Queuing system:

Q Q 1

A P and

Q 1

A m P

Probability of queuing in M/M/m: ^ 

(^0) m! 1 P p m^ m (^) Q , where

 

1 (^0 0)!! 1

m i

i m m

m i p m

  and

m

Pollazcek-Khinchine formula for an M/G/1 queuing system:

 X 

W X

 

2 and TXW , X is service time random variable

with   

 

k 0 k^ k

X X PX and  k

k 0

2 k

X 2 ^  XPX

 , for discrete probability distributions

  

X x p(x)dx , 



X 2  x^2 p(x)dx; for continuous probability distributions

Engset blocking probability  

^ 

 (^) m

k

k

m

k

s

m

s Ems

0

 with

k s k

s k

s

Jackson’s Theorem:

r p j K

K

i

j j i ij ;^1 ,^2 ,

1

j

j

j 

P   n P  n  P  n  PK  nK 

 1 1 2 2 with n  n 1 , n 2 ,, nK 

and Pj  n^ j ^   njj  1   j ^ ; nj  0

The solutions to the quadratic equation ax^2  bxc  0 are a

x b b ac 2

1 , 2

 ^ 

Table 1. Erlang-C queuing probabilities