ex Use performance impact to reveal cache dimensions.

1. Paper Cache

You may bring this to class, drop it at Ben’s office (under the door if no one is home), or send a PDF copy by email if you are leaving earlier for break.

Prepare and submit your own individual paper solutions to the following problems from the CSAPP (3rd edition) textbook, either typed or neatly handwritten. A copy of the text (large dark paperback) is available in the microfocus.

When labeling bits with offset, index, and tag, you may use alternative notations for indicating which bits are associated with each piece (e.g., offset = bits 0-19, index = bits 20-21, tag = bits 22-31 or ttttttttttiioooooooooooooooooooo) instead of drawing a picture.

Practice Problems 6.13 - 6.21 are great practice. (Do not submit solutions to the practice problems. You can find their solutions at the end of the chapter.)

Submit solutions for these problems:

  1. Homework Problem 6.26.
  2. Homework Problem 6.29. (Note the book may show bits 0-12, which is mistake – there are only 0-11.)
  3. Homework Problem 6.34.
  4. Homework Problem 6.36.

2. Automatic Cache Sleuth

Complete the Cache Sleuth from lab this week with your lab partner. Commit and push your work to your partner-shared repository.