CSE551 -- Programming Assignment #1

Out: Tuesday January 18th
Due: Thursday January 27th, before class

For this "warmup" assignment, you will write and run a few microbenchmarks on the operating system of your choice. Here's what you should measure; precisely how you design and implement your measurement code is up to you.

  1. System call overhead. (Note: your answer will be in the microsecond time scale.)

  2. The latency to perform a disk seek, or if you're using an SSD or other device that doesn't do mechanical seeks, a random I/O. (Note: your answer will be in the millisecond time scale for conventional disks, and smaller for SSDs.)

  3. The sequential read bandwidth of one disk. (Note: your answer will be in the tens or hundreds of megabytes per second range.)

  4. BONUS: Context switch overhead.
A few things to keep in mind:

What to turn in

Please email Steve and Dane a single .tar.gz archive containing the following: