The addition of caches reduces the frequency or duration of stalls due to waiting for data to be fetched from the main memory hierarchy , but does not get rid of these stalls entirely . The addition of caches reduces the frequency or duration of stalls due to waiting for data to be fetched from the memory hierarchy , but does not get rid of these stalls entirely .