Double Revolving field theory-how the rotor develops torque
OS.pptx
1. School of Basic and Applied Sciences(CAT-3 B Tech Sem-IV, Fall2021-22)
Course Code : BCSE2400 Course Name: Operating System
Program Name:B.Tech Faculty : Aleem Sir
Topic: Buffering and
Caching in Disk
Management
Section-1
Aditya Kumar Singh - 20SCSE1050007
Aditya Raj - 21SCSE1050001
Harsh Kulshrestha - 20SCSE1050008
2. Buffering in Operating System
Program Name: B.Tech (CSE)
•The Buffer is an area in the main memory used
to store or hold the data temporarily.
•Buffer temporarily stores data transmitted from
one place to another, either between two
devices or an application.
3. Purpose of Buffering
Program Name: B.Tech (CSE)
• A Buffer may be used when moving data between
processes within a computer.
• A Buffer often adjusts timing by implementing a
queue or FIFO algorithm in memory.
• A Buffer is needed to act as a temporary placeholder
for everything interacting.
6. Caching in Operating System
Program Name: B.Tech (CSE)
•A Caching is a high-speed data storage layer
which stores a subset of data.
•It is a mechanism to improve the performance
of any type of application.
•Caching are used to store temporary files,
using hardware and software components.
7. Purpose of Caching
Program Name: B.Tech (CSE)
•It is to increase data retrieval performance
•It helps speed up application performance and
increase efficiency.
•Caching are useful when two or more
components need to exchange data.
8. Purpose of Caching
Program Name: B.Tech (CSE)
Site
cache
Browser
cache
Server
cache
Micro
cache
Caching
Types of Caching
Program Name: B.Tech (CSE)
Site
cache
Browser
cache
Server
cache
Micro
cache
9. Types of Caching
Program Name: B.Tech (CSE)
•To choose the right type of web cache, there are
four options you might want to know about:
1.Site cache: Ideal for static content.
2.Browser cache: A popular and effective client-side
cache option.
3.Server cache: Best for high-traffic websites that
need to reduce server strain.
4.Micro cache: A targeted option for highly dynamic
sites.
10. Purpose of Caching
Program Name: B.Tech (CSE)
Advantages & Disadvantages
Program Name: B.Tech (CSE)
Caching
Advantage
• Reduce Database Cost.
• Reduce the Load on the Backend.
• The use of buffers allows uniform
disk access.
• The buffer algorithms help insure
file system integrity.
•
Disadvantage
• Its storage capacity is quite handy.
• It stores the data temporarily.
• Since the kernel does not
immediately write data to the disk
for a delayed write, the system is
vulnerable to crashes that leave
disk data in an incorrect state.