If you implement any of these policies then use another argument on the command line to specify which policy to run. For example, the following line should be used to use run the lru policy. If a policy is not specified, then the default is the clock policy. For all policies you implement, plot all hit rates results for various cache sizes on the same graph to compare the relative performance of each policy. Again turn in to the instructor a hard copy graph of your results.
Advice Follow the suggested order of tasks in working on the project.
The output of your program should be similar, but likely not the same as the output shown in this handout for the given log as the contents of the WPI Web site change. The number of files in the not found, cache hit and cache miss categories should sum to be equal to the total number of entries in the log. The small logs each have 1000 requests and the medium logs each have 10000 requests. For an infinite size cache, the number of cache misses should be equal to the number of cached files at the end of the run. The number of cache byte misses should be equal to the number of cached bytes.