SAN Problems: Application IOPS and RAID Configurations
SAN Problems: Application IOPS and RAID Configurations
PTO
Application Require ments and Disk Performance
Little’s Law is a fundamental law describing the relationship between the number of requests
in a queue and the response time. The law states the following relation
N=a×R
where
“N” is the total number of requests in the queuing system (requests in the queue + requests in
the I/O controller)
“a” is the arrival rate, or the number of I/O requests that arrive to the system per unit of time
“R” is the average response time or the turnaround time for an I/O request — the total time
from arrival to departure from the system
Utilization law is another important law that defines the I/O controller utilization. This law
states the relation:
U = a × RS
where
“U” is the I/O controller utilization
“Rs ” is the service time, or the average time spent by a request on the controller. 1/Rs is the
service rate.
From the arrival rate “a”, the average inter-arrival time, Ra, can be computed as:
Ra = 1/a
Consequently, utilization can be defined as the ratio of the service time to the average inter-
arrival time, and is expressed as:
U = R s /Ra
Example Problem 03
Consider a disk I/O system in which an I/O request arrives at the rate of 80 IOPS. The disk
service time is 6 ms. Compute the following:
i. Utilization of I/O controller ii. Total response time
iii. Average queue size iv. Total time spent by a request in a queue
Solution:
i. Arrival rate a = 80 IOPS (Input / Output Pe r Second).
Service time (Rs) = 6ms
Utilization of I/O controller U =?
U = a × Rs
Rs service time is given in milliseconds and arrival rate ‘a’ is given in seconds so convert a to
milliseconds.
a = 80 IOPS => 0.08 I/O per millisecond
U = 6 * 0.08
=0.48 or 48% utilization of I/O Controller.
ii. Total response time
Total Response Time (R) is given by:
R = Rs / (1-U)
= 6 / (1-0.48)
= 11.5 ms.
iii. Average queue size
Average Queue Size = (U*U) / (1-U)
=> (.48*.48) / (1-0.48)
=> (.2304) / (.52)
=> 0.44
iv. Total time spent by a request in a queue
Total Time Spent by a request in a Queue = U * R
=> 0.48 * 11.5
=> 5.52 milliseconds.