Popis: |
Through taking advantage of locality in memory accesses, caching can be defined as a fundamental approach frequently used for hiding the latency gap between central processing unit (CPU) and main memory (M.M). In order to decide which blocks to remove from the cache memory in the event of the cache miss, various cache replacement methods are used, each of which has significantly distinctive influence on system performance. Through making the best use of cache's entire size, reducing miss ratio as much as it is feasible, and obtaining maximum system performance possible, such replacement approaches strive to move closer to the ideal scenario. A modified approach called (M-CAR) will be introduced in this study using the clock with adaptive replacement algorithm (CAR), which delivers a greater hit ratio compared to conventional method. |