CS 425 Homework 1, Fall 2015


Due Wednesday, September 16 at 10:45 AM. No late submissions accepted.

Instructions

Complete the following problems. In order to receive credit, you must show enough work to make it clear how you arrived at your answer. Where applicable, you may write programs to solve these problems; in that case, include your source code and program output in your writeup.

You may work in groups of up to three students and turn in one solution for the group. Make sure that all group members' names are on the submitted documents.

You may submit your assignment either via hard copy (in class or office hours) or as a PDF or .doc/.docx/.txt via Moodle. Your source code for Problem 2 MUST be submitted via Moodle, even if the rest of your assignment is submitted in hard copy. It is your responsibility to verify that your submitted files are readable. Corrupted or unreadable files will not receive any credit.

Problem 1: Hardware [10 points]

Barlas, Ch. 1, Exercise 1 (p. 26), but skip the last question. You can find the current list of the most powerful supercomputers in the world at Top500.org. Please cite any sources you use to answer these questions.

Problem 2: Scalability analysis: mergesort [35 points]

This problem is based on Barlas, Ch. 1, Exercise 7 (p. 26), with the following changes:

Please submit your mergesort.cpp as a separate file from your main writeup on Moodle.

Problem 3: Task decomposition analysis: quicksort [25 points]

This problem is based on Barlas, Ch. 1, Exercise 5 (p. 54), with the following changes:

Problem 4: Performance metrics [30 points]

For all parts of this problem, show your work, and use one of the Amdahl's or Gustafson's Law formulations in Section 1.5.

  1. [10 points] Barlas Chapter 1, Exercise 4 (p. 26).
  2. [10 points] Barlas Chapter 1, Exercise 6.
  3. [10 points] Barlas Chapter 1, Exercise 8.