Home Work 1

Homework Assignment
from
Hennessy & Patterson (5th ed)
Chapter 1

Q1 Book 1.2 a,b,c

Q2 Book 1.14

Q3 Book 1.16

Q4 Book 1.17

Q5 Field Assignment:

You will find a number of benchmarking programs in ~vcsg720/pub/benchmarks. Copy them into your account, then compile and run each of them in at least four different ways. To come up with different things to try, consider varying the following:

Machine
Sun Ultra 20, SunFire V490 (queeg), Intel PC (P4, Core 2 due/quad ...), AMD PC (AMD64, X2, Phenom X3/X4, Phenom II X3/X4 ...), Mac PowerPC (G4, G5 ...), Mac x86 (Core 2 due/quad , ...), ...
If you can, report the clock speed of the machine, and whether or not it has multiple CPUs (not the these benchmarks use multiple cores).
Operating System
UNIX (version?), VMS, MS-DOS, Windows 2K/XP/Vista, MacOS (9.? 10.?), ...
Compiler used
cc, gcc, MS Visual Studios, ...
Optimization options on compiler
none, -O, -xO[12345] for cc; none, -O, -O2, -f* for gcc (see the manual pages for details)


Last updated: March 11, 2009