wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

I/O Buffering

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

Memory Management - operating system

Blog banner

security controls

Blog banner

A-B-C of Networking: Part-3 (Topology [Ring, Tree, Mesh])

Blog banner

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

Blog banner

Why Businesses Are Investing More in Automation than Advertising?

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

Importance of internet

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

Service stratergy principles

Blog banner

Concurrency management in operating systems

Blog banner

Deadlock and starvation

Blog banner

Save Girl Child

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

What Makes Patola the Queen of Silk?

Blog banner

Why Mumbai Professionals Are Switching Back to Home-Style Tiffin Meals

Blog banner

AI and Cyber Security

Blog banner

Service Catalogue Management

Blog banner

Types of Malware in Cyber Security

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

Why we fail after giving 100% ?

Blog banner

How can denial-of-service(Dos) attacks be prevented?

Blog banner

Mental Health

Blog banner

LINUX

Blog banner

Cache memory

Blog banner

Article on Fresh Book

Blog banner

Mumbai

Blog banner

Penetration Testing

Blog banner

Breaking the Cycle of Loneliness : Protecting your Mental Health Through meaningful Connection ( Part — 2)

Blog banner

Man In The Middle Attack

Blog banner

SPAM

Blog banner

Spotify

Blog banner

Memory input output management

Blog banner

Spitting Pink in the Sink: Why Your Gums Randomly Bleed

Blog banner

Natural Language Processing(NLP)

Blog banner

Importance of self defence for girls

Blog banner

What is process

Blog banner

Explain DBMS in Brief

Blog banner

Water Resources are about to exhaust...

Blog banner

No Compromise on Health: How Meal Maharaj Brings “Freshly cooked meals” to Your Office Desk

Blog banner

Body Image and Low Self Esteem: Understanding the Emotional Impact Beyond Appearance

Blog banner

Cache Memory in Operating Systems

Blog banner