Solutions to project assignments are to be developed individually, without collaboration. However, as the projects in this class require the use of software tools and frameworks that students may have uneven prior familiarity with, discussion and assistance among students in gaining expertise with these software tools constitutes acceptable behavior. Note that this assistance and discussion cannot include the sharing of access to any code produced in solution to the project assignments. In order to avoid potential ambiguity in what constitutes ”code produced in solution to the project assignment,” students wishing to aid their peers with auxiliary supporting scripts, mechanisms, or examples are directed to pass any such artifacts to the course staff for vetting and possible inclusion on project-specific FAQs rather than share it with their peers directly
This project has two sections. In the first section, you will be introduced to the perf
command in Linux which uses hardware-provided performance counters to collect different performance characteristics in systems. In the second part, you will implement some
simple functions in a cache simulator that calculates cache performance in different cache
configurations.
For both of these sections, you may use CSE Linux Lab machines (i.e. csep204instXX.cse.psu.edu which XX is a 2-digit number from 01 to 40). We will test your
results on those machines.B
1. Perf
Intel processors provide different performance counters that programmers can use to collect different characteristics of any program in hardware. Some of the important performance counters that Intel processors provide are IPC (Instruction per Cycle), number of
instructions, branches, cache hit/miss rate, memory references, etc. You can see different
performance counters that are provided with the following command.
Get Free Quote!
348 Experts Online