wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

I/O Buffering

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

How to Add Super Seeds to Your Everyday Meals: Easy & Healthy Ideas

Blog banner

MailChimp

Blog banner

Hubspot

Blog banner

Memory management

Blog banner

MPL and how its effects?

Blog banner

Concurrency and Deadlocks

Blog banner

THE LEGAL ISSUES OF COMPUTER FORENSICS IN INDIA

Blog banner

What is Virtual Memory

Blog banner

What is Minting & Mining

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

Introduction to GIS

Blog banner

Digital Marketing Ethics Transparency Trust And Brand Reputation digital

Blog banner

A little bit of salt is all the hash needs!

Blog banner

Virtual memory in os

Blog banner

Big Data

Blog banner

Uniprocessor and Types

Blog banner

Types of Threads

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

Not anti-social, but pro-solitude

Blog banner

Autonomy Vehicles: Future Ki Gadiya

Blog banner

What is Amazon?

Blog banner

GIS REMOTE SENSING

Blog banner

How I use google in my daily life

Blog banner

Asana

Blog banner

Measuring IT Risk

Blog banner

A Short History of GIS

Blog banner

Memory heirachy (Operating system)

Blog banner

Benefits of Yoga

Blog banner

SECURITY VULNERABILITIES COUNTERMEASURES IN A SMART SHIP SYSTEM

Blog banner

OLA

Blog banner

A BLOG ON MYSQL

Blog banner

Cyber Security in Data Breaching

Blog banner

Deadlock in Operating systems

Blog banner

The Benefits of Practical Life Activities in Preschool

Blog banner

Threads

Blog banner

Why Data Security Is Important

Blog banner

Evolution of Operating system

Blog banner

Components of GIS

Blog banner

Study of Backdoor and Trojan tools

Blog banner

Diwali

Blog banner

26/11 The Black Day Of Mumbai

Blog banner

THE ACTORS LIFE

Blog banner