



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This document consists of exam questions from a computer engineering module of a bachelor of engineering (honours) in electronic engineering degree. The questions cover topics such as structural, control and data hazards, process states and interconnection networks for multiprocessor systems. Students are required to answer questions from sections a and b, with each section worth 50 marks. The maximum available marks is 100.
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Answer any two questions from Section A [50 marks] and any two questions from Section B [50 marks] Maximum available marks is 100.
Examiners: Mr. F. O’Reilly Dr. D. Pesch Prof. G. Hurley Dr. S. Foley
Q1 (a) Where do Structural, Control and Data hazards occur? Describe what they are and describe solutions/workarounds for each of them. [6 marks] .
(b) Explain briefly what a process/task is. Draw a process state diagram, explain briefly the states in it, how one process follows it and the performance costs of managing/transferring between multiple processes. [6 marks]
(c) You have been asked to devise an algorithm to compute the following two stage calculation across floating point vectors A, B and C each with 200,000 elements. You have available a Private Memory system with 50 processor nodes.
=
200 , 000
1
2 2
x
Develop an algorithm using pseudo code or pseudo C code which could execute on one of these processor nodes. Describe the partitioning of the problem, the data distribution over the system and provide the code to achieve the communication between the nodes to return the final vector C and the result y. [13 marks]
[Total: 25 marks]
Q2 (a) Explain using diagrams, the UMA and NUMA architectures, justify which architecture is more common and give the term commonly used to describe it. [ 6 marks ]
(b) Describe and justify suitable interconnection networks to connect together commodity type processors(e.g. Power PC, Pentium Xeon) and memory for each of the following multiprocessor systems. Note the interconnection networks are likely to connect together 32 or 64 bit buses. (i) 4 CPU Video/Graphics Editing Station (ii) 8 CPU Shared Memory Trading System Server (ii) 64-128 CPU Scientific Simulation System [9 marks]
(c) Describe using a real/worked example, how the performance or size of array processors can be improved through a mapping from location displacement to time displacement. [10 marks] [ Total: 25 marks]
Q3 (a) In a paged memory management system, explain briefly the design process in deciding the size of pages, the numbers of pages, the number of page frames and page faults/replacements. [8 marks ]
(b) A paging based virtual memory system has the following utilisations.
Paging Disk 85% Other I/O 5%
Explain what is happening and what causes it. What steps if any do you think could be taken to improve CPU utilisation? [5 marks]
(c) Describe briefly, using diagrams/examples where appropriate, the following.
Q5. (a) Consider a point-to-point wireless communication link between two computers. A go-back-N ARQ technique with a window length of N = 31 is used to provide a reliable data communication. The data rate is R = 512kbit/s, frames are L = 1024bits, the speed of the signal is c = 3 x 10^8 m/s, and the distance between subscriber device and base station is d = 2km. The Bit Error Probability (not frame error probability P) is Pb = 10 -3^. Calculate the utilisation of the communication link and compare this with the utilisation achievable if simpler stop-and-wait ARQ was used instead of Go-back-N ARQ. What do you observe? NOTE: In your calculation assume that acknowledgement frames are never in error and that their transmission delay can be neglected. You may find the formulae given at the end of the paper useful. [8 marks] (b) Consider a LAN with a large number of PCs and a single database server. The server receives 100 requests per minute during normal operation according to a Poisson process. The server requires 0.4 seconds on average to process a request. The processing time is exponentially distributed. (i) Calculate the total time each user has to wait until she receives a reply to her query using a suitable queuing model. (ii) By what factor can the request rate be increased if during peak times users are willing to wait twice as long for a reply compared to the normal case of part i) of the question? Assume that communication delay on the LAN is negligible. [7 marks] (c) A transmission system, comprising of a single wireless transmission link and a multiplexer, is shared among 10 computer systems. Each computer generates fixed size data packets of size 1024bits according to a Poisson process with rate λ = 50/sec. Transmissions are protected by an ARQ scheme which results in 4 effective data rates Ri , i = 1, …, 4, depending on the error rate on the link. The rates are R 1 = 256kbit/s for 10% of the time, R 2 = 512kbit/s, 20% of the time, R 3 = 1024kbit/s, 40% of the time, and R 4 = 2048kbit/s, 30% of the time. (i) Calculate the throughput of the system. (ii) Calculate the average delay data packets experience in the multiplexer before transmission. (iii) What single data rate would be required for the wireless link in order to maintain the same average delay if the packet size was exponentially distributed with mean 1024bits? [10 marks]
Q6. (a) The input to a router is a data packet stream modelled by a Poisson process with arrival rate λ = 50 packets/sec. The length of the data packets is exponentially distributed with mean L = 512bytes. (i) Assume that the router has m = 4 output lines of data rate R = 64kbit/s which transmit packets from the head of the queue. Calculate the probability that arriving packets have to queue before transmission. (ii) Assume that the 4 output lines are aggregated into a single output line of data rate R = 256kb/s. Calculate the probability that an arriving packet has to queue for this case. What do you observe? [10 marks] (b) Explain the problems the Internet’s Routing Information Protocol (RIP) has with frequent changes in network topology. Briefly mention what remedy has been introduced for this over the past few years? [6 marks] (c) Using Dijkstra’s algorithm, develop the least-cost routing table for source node 3 for the network of 8 nodes shown in Figure 1. The link costs are valid in both directions. In your answer also provide the least cost with each route between the source node and any other node. [9 marks]
3
4
1
5
3
1 4
2
2 2
Figure 1