SHARE
Facebook X Pinterest WhatsApp

I/O Optimization

Written By
thumbnail
Web Webster
Web Webster
May 5, 2009

“To get data on or off a disk, a drive head has to swing into
the correct position and wait for the right part of the disk to
come around. This can take hundredths of a second — many times
longer than it takes to access data stored in RAM, for example. As
a result, a disk I/O subsystem can be a huge data bottleneck, and
significant improvements in the overall performance of the server
can be achieved if the effects of this bottleneck can be
minimized.

“To understand how this might be done, let’s take a look at how
data is moved to and from a disk.

“Put simply, the I/O subsystem accepts a stream of requests to
read or write data to and from a disk which it holds in a queue. To
help speed things up, it usually merges read or write requests
together if they are close to each other in the queue, and if they
involve the same area of the disk.

“Read requests are generally given higher priority than write
requests because a given process will have to wait for the read
data it has requested before it can continue, while it won’t have
to wait for the result of a write.

“The subsystem will also usually detect when data is being read
sequentially from the disk and use a technique called “read-ahead”
to read and cache the disk block following the one it has been
asked to read. This can reduce seek time during sequential reads,
although it does nothing to speed up reads to other random parts of
the disk, and it is switched off when the subsystem detects random
(i.e., non-sequential) reads.”

Complete
Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

Red Hat reveals major enhancements to Red Hat Enterprise Linux AI
sjvn
Oct 22, 2024
How to Find AWS EC2 Instance Type Over SSH (6 Methods)
Benny Lanco
Sep 23, 2024
Crond: Daemon to Execute Scheduled Commands
Rose Hosting Blog
Sep 20, 2024
A Detailed Introduction to Oracle VirtualBox
Senthil Kumar
Sep 19, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.