Question

To speed up memory access, caching is typically used. A memory cache is a small but...

To speed up memory access, caching is typically used. A memory cache is a small but fast memory where data recently accessed is kept in anticipation of future references. When an access is made, if the data is in the cache, then it is returned quickly. This is called a cache hit. otherwise main memory is accessed and the access is said to be a cache miss. For the purposes of this problem, assume that the latency of the main memory is ten times the latency of the cache (i.e.. if an access to the cache takes one unit of time, then access to main memory would take 5 units of time). Now, consider two possible optimizations for a memory system. The first will cut the latency of the main memory by 50%, whereas the second would cut the latency of the cache by 20%. [Use Amdahl law]

a) If the cache hit rate is 95% what speedup is achieved under each one of the two optimizations under consideration (separately)
b) Under what condition on the cache hit rate would you select each one of the two optimization under consideration (separately)
c) What speedup is achieved if both optimizations are adopted. Your answer should be a function of the hit rate, which you should take as a variable h.

Homework Answers

Answer #1

a.) The following snapshot gives you the required solution:

b.) If there is more cache hit rate then we should go for optimization 2 as its cache latency time is faster than that of optimization 2. And if cache miss is higher then we should go for optimization 1 as main memory latency time is faster than that of optimization 2.

c.) This part is somewhat unclear to me but I am assuming it requires to calculate speedup for each optimization and providing the below snapshot. If requirement is something differ then let me know.

Hope it helps, do give your response.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The Average Memory Access Time equation (AMAT) has three components: hit time, miss rate, and miss...
The Average Memory Access Time equation (AMAT) has three components: hit time, miss rate, and miss penalty. For each of the following cache optimizations, indicate which component of the AMAT equation is improved (best answer) A: using 8-way associative cache Hit time Miss rate Miss penalty B: using smaller blocks. Hit time Miss rate Miss penalty C: using second level cache Hit time Miss rate Miss penalty D: using direct- mapped cache Hit time Miss rate Miss penalty
52. BMR stands for basic memory retention basal metabolic rate bregmatic myofascial release none of these...
52. BMR stands for basic memory retention basal metabolic rate bregmatic myofascial release none of these 53. The primary (not initial) fuel during endurance exercise is liver glycogen muscle glycogen fatty acids none of these 54. The human body consists of chemicals cells tissues none of these all of these 55. The main purpose of the digestive system is the breakdown of foods and waste elimination to supply oxygen and eliminate carbon dioxide reproduction and maintenance of sexual characteristics none...
For months, Daniel Zhang huddled with a small team in an underground garage in Shanghai. The...
For months, Daniel Zhang huddled with a small team in an underground garage in Shanghai. The chief executive of Alibaba Group Holdings Ltd. was working on a secret plan that would sound crazy even to many of his own colleagues 100 miles away in Hangzhou. Zhang wanted to launch a startup inside the e-commerce giant that would combine a grocery store, a restaurant, and a delivery app, using robotics and facial recognition to speed up logistics and payment. That project,...
What tools could AA leaders have used to increase their awareness of internal and external issues?...
What tools could AA leaders have used to increase their awareness of internal and external issues? ???ALASKA AIRLINES: NAVIGATING CHANGE In the autumn of 2007, Alaska Airlines executives adjourned at the end of a long and stressful day in the midst of a multi-day strategic planning session. Most headed outside to relax, unwind and enjoy a bonfire on the shore of Semiahmoo Spit, outside the meeting venue in Blaine, a seaport town in northwest Washington state. Meanwhile, several members of...
DIRECTIONS: This is an open book, take home examination. You may look up the answers and...
DIRECTIONS: This is an open book, take home examination. You may look up the answers and discuss them, if you wish. The Multiple Choice questions will be worth 1 point each and the essay questions will be worth 25 points each. This examination is over Chapters 6 through 9. MULTIPLE CHOICE: 1. During Piaget's concrete operational stage, children a. are more egocentric than they were during the preoperational period. b. often confuse appearances with reality. c. are unable to reverse...
Whatever It Takes: How the Fed Aims to Rescue the Economy The central bank is using...
Whatever It Takes: How the Fed Aims to Rescue the Economy The central bank is using tactics from the last financial crisis and deploying new ones to keep money flowing. Here are the basics. The Federal Reserve, under Jerome H. Powell, is moving to shore up the American economy during the coronavirus pandemic. Credit...Yuri Gripas/Reuters By Ben Casselman March 23, 2020 The Federal Reserve on Monday pledged to do, in essence, whatever it takes to keep the economy from collapsing...
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation....
Using the model proposed by Lafley and Charan, analyze how Apigee was able to drive innovation. case:    W17400 APIGEE: PEOPLE MANAGEMENT PRACTICES AND THE CHALLENGE OF GROWTH Ranjeet Nambudiri, S. Ramnarayan, and Catherine Xavier wrote this case solely to provide material for class discussion. The authors do not intend to illustrate either effective or ineffective handling of a managerial situation. The authors may have disguised certain names and other identifying information to protect confidentiality. This publication may not be...
After reading the following article, how would you summarize it? What conclusions can be made about...
After reading the following article, how would you summarize it? What conclusions can be made about Amazon? Case 12: Amazon.com Inc.: Retailing Giant to High-Tech Player? (Internet Companies) Overview Founded by Jeff Bezos, online giant Amazon.com, Inc. (Amazon), was incorporated in the state of Washington in July 1994, and sold its first book in July 1995. In May 1997, Amazon (AMZN) completed its initial public offering and its common stock was listed on the NASDAQ Global Select Market. Amazon quickly...
In February 2012, the Pepsi Next product was launched into the US market. This case study...
In February 2012, the Pepsi Next product was launched into the US market. This case study provides students with an interesting insight into PepsiCo’s new product process and some of the challenging decisions that they faced along the way. Pepsi Next Case Study Introduction Pepsi Next was launched by PepsiCo into the US market in February 2012, and has since been rolled out to various international markets (for instance, it was launched in Australia in September 2012). The new product...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT