4.1 Computing Normalized I/O Size

The following formula can be used to convert the size of an I/O request in bytes (IoSizeInBytes) to an I/O size expressed in normalized units (NormalizedIoSize):

NormalizedIoSize = (IoSizeInBytes + BaseIoSize - 1) / BaseIoSize where NormalizedIoSize, IoSizeInBytes, and BaseIoSize are unsigned integers.

The following table shows some sample conversions when BaseIoSize is 8192.

I/O request size in bytes

Normalized I/O request size

512

1

4096 (4 KB)

1

8192 (8 KB)

1

12288 (12 KB)

2

16384 (16 KB)

2

65536 (64 KB)

8

1048576 (1 MB)

128