wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

I/O Buffering

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

The Power of Forensic Watermarking in the Fight Against Content Piracy

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

Simple STEM Activities for Toddlers That Spark Curiosity

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

Visualization in Data Science

Blog banner

Deadlock

Blog banner

Telegram and it's features

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Virtual memory

Blog banner

A BLOG ON MYSQL

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

The Benefits of Practical Life Activities in Preschool

Blog banner

Consumer to consumer business mode

Blog banner

Why do you need a personalised bag tag for your kids' school bags?

Blog banner

?Why Does My Breath Still Smell After Brushing?

Blog banner

Why we fail after giving 100% ?

Blog banner

Uniprocessor and Types

Blog banner

Memory Management in an Operating System

Blog banner

File management

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

Uber

Blog banner

The Right way of cooking

Blog banner

Direct Memory Access

Blog banner

INTERNET SECURITY

Blog banner

Operating Systems Overview

Blog banner

How Cyber Forensics use in AI

Blog banner

Process states

Blog banner

Key to success in Sports

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

Smitten Kitchen Keepers

Blog banner

Service Operation

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Zero-Day Attack

Blog banner

Process Description

Blog banner

Data Security must be your Priority!

Blog banner

Virtual Memory

Blog banner

Chicken Dum Biryani

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

Biometric Authentication Vulnerabilities

Blog banner

Why Users Leave Your Website in 5 Seconds (And How UI/UX Fixes It)

Blog banner

american greatines

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner