The compiler optimization technique is used to reduce
Official theoretical question paper for Computer Architecture (PCC-CS402) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.
The compiler optimization technique is used to reduce
The CPI value for RISC processors is
The vector stride value is required
The task of a vectorizing compiler is
Utilization pattern of successive stages of a synchronous pipeline can be specified by
The UMA multiprocessor system is best suited
The cache coherence is a potential problem especially
A direct mapped cache memory with n blocks is nothing but which of the following set associative cache memory organization?
Array processors perform computations to exploit
The time to access shared memory is same in which of the following shared-memory multiprocessor model?
What are the different parameters used to measure the CPU performance? Briefly discuss each.
"Instruction execution throughput increases in proportion with the number of pipeline stages". Is it true? Justify your statement.
Use Bernstein's conditions for determining the maximum parallelism in the following sequence of instructions: A = B × C B = D + E C = A + B E = F - D
Discuss data hazards briefly.
Briefly describe cache coherence problem with an example. Suggest one software protocol for this.
(a) What is SPEC rating? Explain. (b) A 50 MHz processor was used to execute a program with the following instruction mix and clock cycle counts: | Instruction type | Instruction count | Clock cycle count | |---|---|---| | Integer arithmetic | 50000 | 1 | | Data transfer | 35000 | 2 | | Floating point arithmetic | 20000 | 2 | | Branch | 6000 | 3 | Calculate the effective CPI, MIPS rate and execution time for this program. (c) Why do we need parallel processing? What are different levels of parallel processing? Explain.
(a) What is meant by pipeline hazard? Briefly discuss different pipeline hazards. (b) What do you mean by job collision in pipeline processor? Show how collisions occur in the following static pipeline. | S₀ | 0 | 1 | 2 | 3 | X | | S₁ | X | X | X | X | | | S₂ | | | X | | | (c) Consider the execution of a program of 20,000 instructions by a linear pipeline processor with a clock rate 40 MHz. Assume that the instruction pipeline has five stages and that one instruction is issued per clock cycle. The penalties due to branch instructions and out-of-order executions are ignored. Calculate the speed-up of the pipeline over its equivalent non-pipeline processor, the efficiency and throughput.
(a) Why do we need masking mechanism in SIMD array processors? In an SIMD array processor of 8 PEs, the sum S(k) of the first k components in a vector A is desired for each k from 0 to 7. Let A = (A₀, A₁, ..., A₇). We need to compute the following 8 summations: $$ S(k) = \sum_{i=0}^{k} A_i \text{ for } k = 0, 1, ..., 7. $$ Discuss how data-routing and masking are performed in the processor. (b) How do vector processors improve the speed of instruction execution over scalar processors? Illustrate with an example. (c) What is vectorizing compiler? Why do we need it in a vector processor?
(a) What is the basic objective of data flow architecture? Compare it with control flow architecture. (b) What is meant by the cache miss penalty? Briefly discuss "early restart" technique to reduce miss penalty. (c) Let us consider a memory system consisting of main memory and cache memory. In case of a cache miss, assume the performance of the basic memory organization as: - 4 clock cycles to send the address. - 24 clock cycles for the access time per word. - 4 clock cycles to send a word of data. (i) What will be the miss penalty, given a cache block of four words? (ii) What will be the memory bandwidth?
(a) Compare and contrast RISC and CISC computers. Give one example for each. (b) What is multi-processor system? Classify it with examples. (c) Design 2² × 3² Delta network.