wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

I/O Buffering

profile
Diya Singh
Sep 09, 2024
0 Likes
0 Discussions
156 Reads

A buffer is a memory area that stores data being transferred between two devices or between a device and an application.


What is I/O Buffering?

I/O buffering is a technique used in computer systems to improve the efficiency of input and output (I/O) operations. It involves the temporary storage of data in a buffer, which is a reserved area of memory, to reduce the number of I/O operations and manage the flow of data between fast and slow devices or processes.


Uses of I/O buffer

  • Buffering is done to deal effectively with a speed mismatch between the
  • producer and consumer
  • of the data stream.
  • After receiving the data in the buffer, the data gets transferred to disk from the buffer in a single operation.
  • Buffering also provides variations for devices that have different data transfer sizes

A block-oriented device stores information in blocks that are usually of

fixed size, and transfers are made one block at a time. Generally, it is possible to

reference data by its block number. Disks and USB keys are examples of block-

oriented devices.

A stream-oriented device transfers data in and out as a stream of

bytes, with no block structure. Terminals, printers, communications ports, mouse

and other pointing devices, and most other devices that are not secondary storage

are stream oriented.


Types of I/O Buffering Techniques

1. Single Buffer

Using one buffer to store data temporarily. A buffer is provided by the operating system to the system portion of the main memory.


2. Double Buffer

In this technique the operating system Uses two buffers to allow continuous data transfer between two process.


3. Circular Buffer

In this technique the operating system Uses a circular buffer to manage continuous data streams efficiently.


Comments ()


Sign in

Read Next

Dove’s Real Beauty Campaign- Case Study

Blog banner

FIREWALL

Blog banner

Malicious softwares

Blog banner

The Future of Web Development in 2026: Trends Every Business Must Know

Blog banner

Virtual Machine

Blog banner

THE ACTORS LIFE

Blog banner

Financial Fraud Detection

Blog banner

MAHAKAL LOK UJJAIN

Blog banner

Cloud Computing

Blog banner

Why Data Security Is Important

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

Threat from Inside: Educating the Employees Against Cyber Threats

Blog banner

IOT- Internet Of Things

Blog banner

Information of meesho company

Blog banner

Can a Water Flosser Replace Manual Flossing? Here’s What Dentists Say

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Developments in Modern Operating Systems

Blog banner

What your Favorite colour says about You?

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

How to use GIT & GITHUB

Blog banner

Emerging threats in cyber Forensics

Blog banner

Deadlock

Blog banner

How Men and Women Process Pain Differently

Blog banner

Dekkers Algorithm

Blog banner

Cyber Forensics

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

K-means use cases

Blog banner

Points to consider if you're planning to visit Florida in 2026

Blog banner

Jio .....A Revolution ?? ??

Blog banner

E-Governance

Blog banner

Data Mapping

Blog banner

Layers Of Blockchain

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

Know your Processors!

Blog banner

Deadlock

Blog banner

RAID

Blog banner

SPAM

Blog banner

GOOGLE

Blog banner

Session Vulnerabilities

Blog banner

What are Tenders its various types

Blog banner

Cache Memory

Blog banner

Fashion design

Blog banner