Pseudo-LRU based Cache Partitioning Algorithms
#1

Pseudo-LRU based Cache Partitioning Algorithms
B.Tech Seminar report
by
Vipin V Johney
Department of Computer Science And Engineering
Government Engineering College, Thrissur
December 2010

report:
[attachment=8395]

Contents
1 Introduction 1
1.1 Organization Of the Report . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Cache Partitioning Algorithm 3
2.1 Pro ling Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Partitioning Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3 Replacement Algorithms 5
3.1 Least Recently Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2 Not Recently Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.3 Binary Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4 Complexity Evaluation 11
4.1 LRU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.2 NRU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.3 BT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5 Conclusions 13
References 14

Abstract
Cache Partitioning was always an ecient technique to improve throughput, fairness
and Quality of Service (QoS) in CMP processors. So far the Cache Partitioning
Algorithms were using Least Recently Used (LRU) as the underlying replacement
policy. Studies have found out that LRU imposes extraordinary complexity and area
overheads when implemented on high associative caches, such as last level caches.
Because of these problems processors vendors developed pseudo-LRU replacement
policies, which has less hardware complexity and consumes less space on disk. Some
of the vendors which use this technique in their processors are the Sun Microsystem
and IBM and the replacement policies are Not Recently Used(NRU) and Binary Tree
(BT). These are of high accuracy pro ling logic and less hard ware complexity. We
also discuss the space complexity of both LRU and pseudo-LRU policies.

Chapter 1
Introduction

Cache is used for improving the speed of processing in a processor. Cache is fast but
very small compared to lower level memories in the hierarchy. When the technology
increased various processors started using di erent levels of cache, namely Level 1,
Level 2 etc. In case of multiprocessors systems the Last Level Cache is shared among
the processor cores, where as other level cache is private for each core. Some of the
examples are, the IBM POWER6, in which both core share the L3 cache and simi-
larly the cores share the L2 in Sun UltraSPARC T2 and L3 in the Intel i7 architecture.
There is always a contention between threads in CMP architectures when it comes
to sharing. We have to control the allocation of LLC else always some threads
can severely a ect the performance of the other running threads, degrading the -
nal throughput and QoS. This has motivated many researchers to propose several
Cache Partitioning Algorithm(CPA's). Cache Partitioning is the method used to
divide Last Level Cache eciently among all the Chip Multiprocessors sharing the
cache. Through this technique throughput, fairness and Quality of Service(QoS) are
improved. With the increasing number of processor cores being integrated onto a sin-
gle chip, chip multiprocessors (CMP's) require ecient organization and management
of the on-chip cache resources to provide fast data accesses for concurrently running
threads.
To eciently use the aggregate cache capacity, most CMP proposals share cache
resources between threads using a logically shared cache or private caches augmented
with capacity sharing policies. Usual CPAs use Least Recently Used replacement
policy as the basic scheme. But here we discuss about two other policies named as
pseudo-LRU policies which are Not Recently Used and Binary tree. These two are
similar to the LRU replacement scheme, but are less complex and uses less resources.

Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: pseudo code for leave management system, pseudo code student management system, ppts on set partitioning in hierarchical trees, matlab code for image partitioning, pseudo code for electricity billing system, hospital management system algorithms pseudo codes and the flow charts, verlog pseudo noise sequences,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Adaptive Replacement Cache Full Download Seminar Report and Paper Presentation computer science crazy 1 2,991 19-04-2014, 07:01 PM
Last Post: Guest
  Distributed Cache Updating for the Dynamic Source Routing Protocol seminar class 3 2,286 17-11-2012, 01:26 PM
Last Post: seminar details
  Algorithms and Issues In Client Software Design computer girl 0 1,141 06-06-2012, 03:23 PM
Last Post: computer girl
  Digital watermarking: algorithms and applications computer science topics 1 3,660 02-03-2012, 10:20 AM
Last Post: seminar paper
  Dynamic Cache Management Technique computer science crazy 8 4,553 31-03-2011, 11:56 AM
Last Post: seminar class
  Dynamic Cache Management Technique computer science crazy 1 3,130 03-03-2011, 11:27 PM
Last Post: seminar project explorer
  Data Mining with Neural Networks and Genetic Algorithms seminar class 0 2,041 01-03-2011, 10:20 AM
Last Post: seminar class
  EMBEDDED REAL-TIME DAMAGE DETECTION AND IDENTIFICATION ALGORITHMS IN WIRELESS HEALTH seminar class 0 1,196 21-02-2011, 09:28 AM
Last Post: seminar class
  A Stronger Model of Dynamic Programming Algorithms seminar class 0 996 14-02-2011, 11:48 AM
Last Post: seminar class
  Bank-aware Dynamic Cache Partitioning for Multicore Architectures summer project pal 0 949 29-01-2011, 07:35 PM
Last Post: summer project pal

Forum Jump: