wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

I/O Buffering

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

Disk Management

Blog banner

Consumer to consumer business mode

Blog banner

Session Hijacking Techniques

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

Process and Threading

Blog banner

Vulnerability Assessment

Blog banner

It's all about our Brain.- The Brain Metaphor

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

Love is in air.....

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

Virtual Memory

Blog banner

Importance Of Yoga.

Blog banner

Memory Management

Blog banner

Global versus Indian Mental Health Differences

Blog banner

How to kiss

Blog banner

Introduction to Virtual Memory - 080

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Trends that began during the pandemic

Blog banner

Practical Implementation of Client Server model using TCP/IP.

Blog banner

Tools to support CSI activities

Blog banner

What is OS Fingerprinting?

Blog banner

CRISP-DM Methodology

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Virtual Machine's

Blog banner

Starvation

Blog banner

History of Money

Blog banner

Binary Search Tree (BST) in Data Structure

Blog banner

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

Blog banner

Microsoft Windows Overview

Blog banner

Cache Memory in Operating Systems

Blog banner

Mental Health

Blog banner

Social media

Blog banner

Threat management

Blog banner

Steganography and Steganalysis

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

IT security management

Blog banner

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

Blog banner

Balance

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

Segmentation and paging concept

Blog banner