100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

HAIDER SHAHZAIB The Principles of Operating System

Rating
-
Sold
-
Pages
15
Grade
A+
Uploaded on
25-10-2023
Written in
2023/2024

Q # 2 ==> Give two reasons why caches are useful. What problems do they solve? What problems do they cause? If a cache can be made as large as the device for which it is caching (for instance, a cache as large as a disk), why not make it that large and eliminate the device?Two reasons why they are useful are as follows:-  Cache is a relatively fast memory, so getting some data from cache is faster than getting it from main memory or secondary memory.  Cache are particularly useful when two or more components needs to exchange data - transfer speeds are much faster when using cache, and the transfer can be done without using the main memory. Therefore, we see that cache solve the transfer problem - transfer speeds are much faster when using cache, so the component receiving data from some other component does not have to wait as long as it would have to if we didn’t use cache. Notice that this means that ache improves the efficiency of the whole system. The main problem caused by cache are inconsistency (When data is changed in the main memory or in the memory of some component, the data in cache must also be updated) and the cache misses ( if the data is not in the cache we lost the time for checking if the data is located in the cache, and we lose some additional time to transfer the data to the cache). The main problem with the use of bigger caches is that faster memories are more expensive. Therefore, such enormous cache wouldn’t be affordable.

Show more Read less
Institution
HAIDER SHAHZAIB The Principles Of Operating System
Course
HAIDER SHAHZAIB The Principles of Operating System









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
HAIDER SHAHZAIB The Principles of Operating System
Course
HAIDER SHAHZAIB The Principles of Operating System

Document information

Uploaded on
October 25, 2023
Number of pages
15
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
paulfreeman

Get to know the seller

Seller avatar
paulfreeman Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
6
Member since
2 year
Number of followers
3
Documents
49
Last sold
10 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions