wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

I/O Buffering

profile
Diya Singh
Sep 09, 2024
0 Likes
0 Discussions
148 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

Craziness of dream 11 and how it impacts on our life

Blog banner

Understanding Regression Analysis

Blog banner

Security issues

Blog banner

Fault Tolerance

Blog banner

Solving Problems with AI: The Power of Search Algorithms

Blog banner

Online Games

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

Web Site

Blog banner

Evolution of operating system

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

Direct Memory Access

Blog banner

Short note on Microsoft office

Blog banner

The Impact of Cyber Forensics on Corporate Governance and Compliance

Blog banner

Note Taker App

Blog banner

Uniprocessor Scheduling

Blog banner

Artificial Intelligence (AI)

Blog banner

What your Favorite colour says about You?

Blog banner

Cache Memory

Blog banner

Deadlock and Starvation

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner

What is 'Multi-core and Multi-threading' ?

Blog banner

Regression Analysis

Blog banner

Race Condition in Operating Theatre

Blog banner

MEMORY MANAGEMENT REQUIREMENT

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

Brain wash of social media

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

Evolution of Operating Systems

Blog banner

Scheduling

Blog banner

Linux Memory Management

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

Cyber Laws In India and Around the World

Blog banner

Challenges and risks in service operations

Blog banner

Buffering

Blog banner

Privacy in Social Media and Online Services

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

MUTUAL EXCLUSION

Blog banner

What if COVID does not exist!

Blog banner

EVOLUTION OF THE MIRCOPROCESSOR

Blog banner