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
Willowbrook School Willowbrook School is a small private school that has retained you to assist in...
Willowbrook School Willowbrook School is a small private school that has retained you to assist in the development of a new information system for the school’s administrative needs. Background Willowbrook School has decided to proceed to the systems analysis phase, based on the findings and proposal you presented after the preliminary investigation. A summary of your fact-finding is as follows: Fact-Finding Summary Billing and payments for Willowbrook School have two components, tuition, and after care. Tuition is a fixed fee,...
Heinz Children’s Health is a small pediatric practice serving the health- care needs of children in...
Heinz Children’s Health is a small pediatric practice serving the health- care needs of children in a small, rural community. Twenty-five years ago, Dr. Helen Heinz founded the practice, which now includes two physician assistants, two registered nurses, a home health nurse, an office manager, and a receptionist. The practice has always used paper records, but when Dr. Heinz learns that, under the American Recovery and Reinvestment Act (ARRA) of 2009, the Centers for Medicare & Medicaid Services is offeringsignificant...
SERVICE MARKETING Case Study Vick’s Pizza Corporation Speed had always been a key strategic thrust for...
SERVICE MARKETING Case Study Vick’s Pizza Corporation Speed had always been a key strategic thrust for Vick’s Pizza, which was used the slogan, “It’s quick at Vick’s.” The company restaurants not only prepared pizza rapidly but also delivered it quickly. The company’s promise to home deliver a pizza within 30 minutes of a phone order or to cut $3 off the price had boosted it from a single pizzeria 20 years earlier to the status of a national chain with...
SERVICE MARKETING Case Study Vick’s Pizza Corporation Speed had always been a key strategic thrust for...
SERVICE MARKETING Case Study Vick’s Pizza Corporation Speed had always been a key strategic thrust for Vick’s Pizza, which was used the slogan, “It’s quick at Vick’s.” The company restaurants not only prepared pizza rapidly but also delivered it quickly. The company’s promise to home deliver a pizza within 30 minutes of a phone order or to cut $3 off the price had boosted it from a single pizzeria 20 years earlier to the status of a national chain with...
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,...
1.Ford initially tried to use vertical integration to control all aspects of the production and sale...
1.Ford initially tried to use vertical integration to control all aspects of the production and sale of its automobiles. Later, Ford abandoned vertical integration and adopted a strategy of partnerships with key suppliers. The partnership arrangements were expected to cut costs for Ford but still permit the suppliers to enjoy profits at the level of the industry standard. How would it be possible for a supplier’s profits to be preserved while Ford’s costs decreased? Select one: a. Ford would agree...
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...
UPS COMPETES GLOBALLY WITH INFORMATION TECHNOLOGY United Parcel Service (UPS) started out in 1907 in a...
UPS COMPETES GLOBALLY WITH INFORMATION TECHNOLOGY United Parcel Service (UPS) started out in 1907 in a closet-sized basement office. Jim Casey and Claude Ryan—two teenagers from Seattle with two bicycles and one phone—promised the “best service and lowest rates.” UPS has used this formula successfully for more than a century to become the world’s largest ground and air package-delivery company. It’s a global enterprise with nearly 400,000 employees, 96,000 vehicles, and the world’s ninth largest airline. Today UPS delivers 16.3...
1.Establishing the virtual Management: As known, managing virtual staff requires a different method or approach than...
1.Establishing the virtual Management: As known, managing virtual staff requires a different method or approach than managing local staff. Due to that reason, Golden Scent has developed a strategic plan to successfully manage its virtual staff in the USA. Identify the suitable manager. to make sure our work will proceed as we planned, Golden Scent willrecruit a virtual manager with the essential skills and knowledge required to manage virtual employees. Find the skilled people to work with. Since not everyone...