Topic - the indexing algorithm design for processor cache

Assignment Help Computer Engineering
Reference no: EM131321193

Project - (Programming Project)

Topic - The indexing algorithm design for processor cache.

Goal:

i. Study and implement least recently used replacement policy (LRU).

ii. Design a cache indexing scheme to minimize cache conflict miss.

Introduction

In hierarchy memory system, the small memory, cache, is used to keep data temporarily for increasing the system performance. If the data is in cache, processor can get the data with high accessing speed. If the data is not in the cache, called cache miss, processor will read data from main memory. Accessing data form main memory is slower than from cache.

In set-associative or direct mapping scheme, when multiple frequently used data blocks compete for a same cache location, those data blocks will keep kick others out from cache, and results in lots of cache miss, this kind of cache misses is called the conflict misses.

Problem Definition

Give a cache with E entries and A-way set associativity. And, the addressing bus is M-bit. We need to select K = log2E  bits among all address bits for indexing the cache.

There are totally 1733_Figure.pngpossible valid solutions. Your job is to find a valid solution with minimal cache misses under LRU replacement policy. To facilitate this problem, we assume that the offset is 0-bit, i.e. the block size is 1 byte.

Attachment:- Assignment.zip

Reference no: EM131321193

Questions Cloud

What is the purpose of means comparisons : What is the purpose of means comparisons, and what different types of means comparisons are there? What do they tell the researcher that the significance test for F cannot?
Explain the effect that this has had on your perception : During outbreak of Ebola in West Africa in 2014, many U.S. healthcare workers and military members were exposed to the contagious disease (see the New York Times' article, "Ebola-Infected Health Care Worker in Dallas Took a Flight on Monday".
Indicate the format of the research design : Identify the number of factors and the number of levels within each of the factors. Identify whether each of the factors is between participants or repeated measures.
Write and test the java program readstoreshow-java : Design, write and test the Java program ReadStoreShow.java with the following requirements: Invite the user to enter an input file name and a number N (10
Topic - the indexing algorithm design for processor cache : Topic - The indexing algorithm design for processor cache. Goal: Study and implement least recently used replacement policy (LRU). Design a cache indexing scheme to minimize cache conflict miss
Charge of the electron : You are welcome to approximate g as 10 m/s2, 0 as 9 × 10-12 C2/(N m2), the mass of the electron as 9 × 10-31 kg, and the charge of the electron as -2 × 10-19 C to obtain numbers. See how close you come toreaching a number without the use of a calc..
What are extraneous and confounding variables : What are extraneous and confounding variables? Which type of variable is most dangerous to the statistical conclusion validity and the internal validity of experimental research, and why?
Discuss any sociological aspects that may be causing : Select a country and go to the CIA's World Factbook Website, and research its economic wealth or poverty. Note: Please review the other student's responses so that you do not repeat another student's selection of a country. Then, describe the econ..
What are placebo effects and how can they be avoided : In what ways may experimenters unwittingly communicate their expectations to research participants, and what techniques can they use to avoid doing so?

Reviews

len1321193

12/21/2016 2:23:28 AM

I need help for my computer architecture project, it is about memory access. Using C/C++ language, your program will be recompiled by g++ to check the correctness, so please make sure your program is compliable to g++. Final cache indexing and cache miss count (index.rpt). Report; including algorithm description, flow-chart of algorithm, summary of result, and discussion. Your program should finish in one minute.

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd