CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

In UNIX, cached disk blocks are managed by the kernel and referred to as -

A
Cache
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Super cache
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Buffer cache
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
None of these
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C Buffer cache

In UNIX, cached disk blocks are managed by the kernel and referred to as buffer cache.

The kernel could read and write the file directly from the hard disk and put it in memory but the response time and throughput will be very low in this case because of disks sow data transfer speed.

To minimize the frequency of disk usage/access the kernel keeps a buffer to store the recently accessed files and/or frequently accessed files. This buffer is called the buffer cache.

When the process want to read a file the kernel attempts to read this file in the buffer cache, if the data is found in the buffer cache the data/file is sent to the process. If the file is not found in the buffer cache then the file is read from the disk and then kept in the buffer cache so that it can be made available to the process.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Computers in Accounting
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon