first pass cache control and memory hierarchy