wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

I/O Buffering

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

CoWIN

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

TAILS OS

Blog banner

What is Network Security?

Blog banner

Operating Systems Overview

Blog banner

Save Environment

Blog banner

SPAM

Blog banner

Deadlock

Blog banner

E-security systems | CCTV

Blog banner

RAID

Blog banner

Memory Management

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

Memory Management

Blog banner

THREADS (assignment 1)

Blog banner

Why Social Search Is Becoming the New Discovery Channel for Brands?

Blog banner

ZOHO

Blog banner

Remote Work in 2026

Blog banner

Man In The Middle Attack

Blog banner

Memory management

Blog banner

The Memory Hierarchy

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

15 Interesting Facts about India

Blog banner

Importance of Morning Routines for Students During the Festive Season

Blog banner

The Importance of Data Quality Management in Data Science

Blog banner

Deadlock

Blog banner

Memory Management

Blog banner

What is metaverse?

Blog banner

Evolution of Operating Sytems

Blog banner

Understanding Gen Z: A Generation Facing Crisis and Potential

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

Paddle Through Paradise: The Best Kayak Launch Points Near Arcadia

Blog banner

Modern Operating System

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Man VS Nature

Blog banner

Open Source Project By Google

Blog banner

SECURITY VULNERABILITIES COUNTERMEASURES IN A SMART SHIP SYSTEM

Blog banner

E-Governance

Blog banner

differentiate thinking humanly and rationally

Blog banner