wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

I/O Buffering

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

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

Starvation

Blog banner

The New Role of Social Media Managers: Beyond Posting Content

Blog banner

PODIO

Blog banner

Why Eating a Variety of Foods Is Important for Complete Nutrition?

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

5 Stages of Digital Marketing

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

TRELLO

Blog banner

Explaining Buffer Overflow with Example

Blog banner

Things You Should Leave Behind In 2025, Whilst In 2026

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

SPEM

Blog banner

Information Technology In E- Commerce

Blog banner

A BLOG ON MYSQL

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

Importance of self defence for girls

Blog banner

Advantage of freedom

Blog banner

Modern Operating Systems

Blog banner

Threads

Blog banner

Session Vulnerabilities

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

Exploring Florida Beyond the Obvious Tourist Trails

Blog banner

Principles of Concurrency

Blog banner

INTERNET SECURITY

Blog banner

Paging

Blog banner

Creating Digitally Signed Document

Blog banner

Stop Racism

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

Proton mail

Blog banner

Internet of Things

Blog banner

semaphores

Blog banner

Use case of K-means clustering

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Types of Malware in Cyber Security

Blog banner

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

Concept and definition of m-commerce

Blog banner

Sagar Parikrama

Blog banner

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

Blog banner

Mumbaicha Dabbawalla

Blog banner

A Tourist’s Guide To Florida’s Rodeo Culture: What To Expect At The Arcadia Championship Rodeo

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner