Skip to content
WebsiteHosting.com

concept Hosting

Shared hosting storage I/O throttling and queue contention

Free disk space tells you how much data will fit, not how fast reads can finish. Compare arrival rates, request sizes and service limits to see when a burst clears and when a storage queue keeps growing.

Latest recorded source check · P0119

What it means

A site can have plenty of free disk space and still wait for reads to finish. Free space tells you how much more data you can store. It does not tell you how many requests the storage device can complete each second or how much data your hosting account is allowed to transfer each second. When requests arrive faster than they can finish, unfinished requests accumulate in a queue.

Try it

Simulation: Start with an empty queue and reads of 4 KiB each. In the interactive version, change only New requests from 9 to 4 operations per second (ops/s). Keep the four extra first-second arrivals. Compare the queue at the end of the first second and at the end of the third, then use Reset to return to the starting example. The simulation uses synthetic inputs; it does not check your host.

Shared hosting storage I/O throttling and queue contention

Explain storage queue contention apart from application storage size

Simulation
Modeled outcome: Backlog

A service limit leaves pending operations in the modeled queue.

Shared hosting storage I/O throttling and queue contention: synthetic scenario inputs
Replaces all inputs with the documented starting example and the indicated change. Reset restores the starting example.
Queue carried between intervals

Service ceiling

  1. Device ceiling10 ops/s
  2. Operation cap8 ops/s
  3. Byte cap / request size8 ops/s
  4. Effective capacity8 ops/s
  5. Total completed24
  6. Transferred96 KiB
  7. Final queue7
  8. Drain without arrivals1 s
IntervalArrivedrequestsCompletedrequestsQueue at endrequests
11385
2986
3987

Arrivals and completions are counts in each one-second interval; backlog is a count at interval end. Drain time assumes no more arrivals.

Evaluated inputs

Required scenario evidence
provided
Available device service
10 ops/s
Policy IOPS cap
8 ops/s
Policy throughput cap
32 KiB/s
Request size
4 KiB
Observation length
3 s
New requests
9 ops/s
Extra first-second arrivals
4 ops

Equal-size read requests, one-second slots, floor(byte budget/request size), no carryover of fractional service credit. A real device may complete a request across intervals; real io.max allows bursts. Drain estimate assumes no new arrivals, not per-request latency. Disk allocation, actual service variability and read/write differences excluded.

About this model

The controls set only a local, bounded scenario. The computed branch is not a verdict about a live system. Inputs listed as not evaluated did not participate in this branch after validation.

Reset restores the original inputs. It does not change the open or closed state of help or FAQ answers.

Here is the starting example. The device can serve 10 ops/s, but the policy allows only 8 ops/s and 32 KiB/s. At 4 KiB per read, the byte budget fits eight reads per second. Both policy limits therefore set the same ceiling: eight completions in each one-second interval.

SecondReads arrivingReads completedReads left in queue
11385
2986
3987

Of the first 13 reads, nine are regular arrivals and four are extra. The burst helps explain the initial queue, but not why it keeps growing: even after the burst ends, nine more reads arrive for every eight that finish. Across three seconds, 31 arrive and 24 finish, transferring 96 KiB and leaving seven reads pending.

At the lower rate of 4 ops/s, the first eight reads, including the same burst, fit exactly. Only four arrive in each subsequent second. All 16 finish, transferring 64 KiB, and the queue is empty at the end of every interval. Neither the device nor the policy got faster; the arrival pattern changed.

Which limit matters?

IOPS counts operations per second. Throughput counts data transferred per second, here in kibibytes (KiB) per second. Request size connects the two. To find the simulation's service ceiling, divide the byte budget for one second by the size of one read and round down to whole reads. Take the lowest of that count, the device's service capacity for the second, and the policy's operation limit.

The ceiling is the minimum of three comparable operation counts. At the starting 4 KiB request size, the device ceiling is 10, the operation policy ceiling is 8, and the converted byte ceiling is also 8 ops/s. If you lower the size to 2 KiB, the converted byte ceiling becomes 16 ops/s, but the operation policy still limits service to 8. The graph therefore keeps the same backlog with the same arrivals.

This distinction matters when considering a higher limit. In the starting example, raising just the IOPS cap from 8 to 10 would leave service unchanged: the 32 KiB budget would still fit only eight reads. Conversely, the ceiling is not a promise that eight reads will finish every second. If only four are available and the queue was empty, only four can finish.

Queue depth is a count at a particular moment; latency is the elapsed time for an individual request. The seven pending reads in the table would fit in one more modeled second if arrivals stopped and service stayed at eight reads per second. That is a drain estimate, not a measurement of how long any of the seven waited. If required scenario evidence is missing, the simulation gives no queue or drain result; unknown does not mean zero.

In practice

For a slow period on a host, compare arrivals and completions over the same interval, and look at both operation counts and bytes. Check the read sizes and the applicable limits before comparing the rates. On Linux with cgroup v2, io.max can delay I/O at a byte-rate or operation-rate limit, but it permits temporary bursts. A single second above the nominal rate does not, by itself, rule out throttling.

Where Linux Pressure Stall Information (PSI) is available, I/O pressure tells you about time tasks spent stalled, not how many bytes moved. Read it alongside operation and byte rates. Stall time alone does not identify a policy cap as the cause, and free-space figures do not resolve that uncertainty.

The simulation uses equal-size reads, fixed device service, and whole completions in one-second intervals. It does not carry unused fractions of a read into the next second. For example, a 3 KiB budget cannot complete a 4 KiB read in any modeled interval, so there is no finite drain estimate for a backlog. A real device can complete a request across intervals; this result is not a prediction that a real read will never finish. The example does not model variable service or differences between reads and writes.

When the question is whether more disk space would help, first separate room for data from service for pending work. For a queueing problem, the useful next observation is whether a burst clears or whether arrivals continue to outpace completions at the applicable operation or byte limit. A space allocation alone cannot tell you which is happening.

Frequently asked questions

Editorial questions based on the listed sources and explicitly labeled local examples.

Are IOPS and throughput interchangeable?

Not without request size. Eight operations of 4 KiB each consume 32 KiB of payload transfer in this model; variable request sizes break that simple conversion.

Can limits cause delay despite spare disk space?

Yes. The cgroup v2 I/O controller can delay I/O after a throughput or operation-rate limit is reached. Free space is a different resource.

What if the byte budget fits no whole request?

In this fixed one-second-slot model, a positive backlog then has no finite drain estimate because no operation can complete in a slot. Real I/O can finish across interval boundaries; this is a limit of the arithmetic, not a prediction of permanent blockage.

Can real I/O exceed the nominal one-second cap?

The documented io.max mechanism permits temporary bursts. The lab intentionally uses a fixed slot budget so its arithmetic is transparent.

Sources & model boundaries

Primary references used for this explanation. The interactive example is an educational model, not a live check.

  1. Linux Control Group v2

    io.max. io.max limits byte rates and operation rates independently. I/O can be delayed at a limit; temporary bursts are permitted.

    Checked .

  2. Linux Pressure Stall Information

    Pressure interface. Linux PSI I/O pressure measures stall time rather than raw throughput; inspect it alongside operation and byte rates before attributing delay to a cap.

    Checked .

Report an issue. Include the article URL and ID, not passwords or access keys.