architecture Computer

download architecture Computer

of 3

description

something about computers

Transcript of architecture Computer

  • Assignment 1

    ECE 311Computer Architecture and Organization

    Fall 2014

    Due date: Sept. 25, 2014 3:30 pm

    MarksQuestion Mark

    Q1 4Q2 3Q3 7Q4 6Q5 9Q6 8Q7 4Q8 4

    TOTAL 45

    Note

    You should justify your answers.

    1 of 3

  • Assignment 1

    Q1 One challenge for architects is that the design created today will require several years of implementation,verification, and testing before appearing on the market. This means that the architect must project whattechnology will be like several years in advance. Sometimes, this is difficult to do.

    (a) {2 mark} In recent years, capacity per Flash chip has increased by about 60% per year. At this rate, howmuch increase in capacity per Flash chip we will see in a decade?

    (b) {2 mark} Based on the above rate, in roughly how many years the capacity per Flash chip increases bya factor of four?

    Q2 Suppose we developed a new, simpler processor A that has 80% of the capacitive load of the more complexolder processor B. Further, assume that it has adjustable voltage so that it can reduce voltage 15% comparedto processor B, which results in a 15% shrink in frequency. What is the impact on dynamic power?

    Q3 The reciprocal of MTTF is a rate of failures, generally reported as failures per billion hours of operation, orFIT (for failures in time). For example, an MTTF of 1, 000, 000 hours equals 10

    9

    106= 1000 FIT.

    Availability is the most important consideration for designing servers, followed closely by scalability andthroughput.

    (a) {1 mark} We have a single processor with a failures in time (FIT) of 100. What is the mean time tofailure (MTTF) for this system?

    (b) {2 mark} If it takes 1 day to get the system running again, what is the availability of the system?(c) {4 mark} Imagine that the government, to cut costs, is going to build a supercomputer out of inexpen-

    sive computers rather than expensive, reliable computers. What is the MTTF for a system with 1000processors? Assume that if one fails, they all fail. Also, use the simplifying assumptions that lifetimesare exponentially distributed and that failures are independent.

    Q4 Assume that we make an enhancement to a computer that improves some mode of execution by a factor of 10.Enhanced mode is used 50% of the time, measured as a percentage of the execution time when the enhancedmode is in use. Recall that Amdahs law depends on the fraction of the original, unenhanced execution timethat could make use of enhanced mode. Thus, we cannot directly use this 50% measurement to computespeedup with Amdahls law.

    (a) {3 mark}What is the speedup we have obtained from fast mode?(b) {3 mark}What percentage of the original execution time has been converted to fast mode?

    Q5 When making changes to optimize part of a processor, it is often the case that speeding up on type of instructioncomes at the cost of slowing down something else. For example, if we put in a complicated fast floating pointunit, that takes space, and something might have to be moved farther away from the middle to accommodate it,adding an extra cycle in delay to reach that unit. The basic Amdahls law question does not take into accountthis trade-off.

    (a) {2 mark} If the new fast floating-point unit speeds up floating-point operations by, on average, 2, andfloating-point operations take 20% of the original programs execution time, what is the overall speedup(ignoring the penalty to any other instructions)?

    (b) {4 mark} Now assume that speeding up the floating-point unit slowed down data cache accesses, result-ing in a 1.5 slowdown (or 23speedup). Data cache accesses consume 10% of the execution time. Whatis the overall speedup now?

    (c) {3 mark} After implementing the new floating-point operations, what percentage of execution time isspent on floating-point operations? What percentage is spent on data cache accesses?

    2 of 3

  • Assignment 1

    Q6 Consider a 16-bit floating-point representation based on the IEEE floating-point format (the format we dis-cussed in the class), with one sign bit, seven exponent bits (k = 7), and eight fraction bits (n = 8). Theexponent bias is then 271 1 = 63.

    (a) {2 mark}What is the largest denormalized number that can be encoded in this format?(b) {3 mark}What is the smallest value > 7 that can be encoded in this format?(c) {3 mark}What is the number with hex representation 80C0? (i.e., decode 80C0, where 80C0 represents

    a floating point)

    Your answers to the above questions should be of the form x 2y, where x and y are integers.Q7 Sort the following numbers from lowest to highest. The numbers are represented as 8-bit floating-point repre-

    sentation based on the IEEE floating-point format. Note that for sorting you do not need to know the size ofthe exponent or the size of the significand!a) 10110000, b) 01011111, c) 01101101, d) 10101111, and e) 01101011

    Q8 Show how the following binary fractional values would be rounded to the nearest half (1 bit to the right of thebinary point), according to the round-to-even rule.

    (a) (10.010)2(b) (10.011)2(c) (10.110)2(d) (11.001)2

    3 of 3