wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

I/O Buffering

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

10 Alien Encounters and Abduction Stories

Blog banner

Disk scheduling

Blog banner

Elegant fashion style

Blog banner

objectives and functions of operating system

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

File and File System Structure

Blog banner

Having passion in life

Blog banner

Evolution of Operating system

Blog banner

Different Types of Data

Blog banner

Interrupts in operating system.

Blog banner

INTRODUCTION

Blog banner

What is semaphore in operating system?

Blog banner

All you need to know about “Off-page SEO”

Blog banner

Blog on health and fitness

Blog banner

Virtual memory

Blog banner

Big Data Architecture

Blog banner

How India made the GIS its Own, and its Use in Infrastructural Developments

Blog banner

PROCESS STATE:

Blog banner

IoT Architecture Based Security

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Cache Memory

Blog banner

Mumbai Metro 3

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Student Grade Calculator in LISP

Blog banner

Multiprocessor

Blog banner

Rock, Paper, Scissors Game in Common Lisp

Blog banner

Objectives and Functions of Operating System

Blog banner

File management

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

Apache Kafka

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

Python as a tool for data analysis

Blog banner

Memory Management in an Operating System

Blog banner

Social engineering in cyber security

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

Data Mapping

Blog banner

What is thread and multithreading ?

Blog banner

Sessions In OS.

Blog banner

Operating system evolution

Blog banner