Abstract: A disk array structure based on PCI-SCSI adapter and some SCSI disk drives is given and a multi-threaded I/O algorithm is presented in the paper. The time sequence of the multi-threaded I/O scheduling is analyzed. Compared with the sequential I/O, the response time for the multi-threaded I/O is reduced greatly, especially for that the disk service time is large and/or the I/O data size is large. The multi-threaded I/O is one of ways to get high performance in disk array.
Introduction
In the mid-1990s, computer architecture faced a critical bottleneck known as the "I/O gap." While CPU performance (driven by the Intel 486 and early Pentium chips) and memory speeds were advancing rapidly, mechanical hard drives remained slow due to physical limitations like seek time and rotational latency. This research addresses the inefficiency of sequential I/O processing in disk arrays, where a controller often sits idle while waiting for a mechanical disk to retrieve data.
System Architecture
The researchers developed a hardware environment centered around a disk array controller powered by an Intel 486 motherboard. This controller manages multiple SCSI disk drives through a SYM53C825 PCI-SCSI adapter. The architecture is designed to offload low-level bus management to the adapter, allowing the main CPU to focus on high-level I/O scheduling and data management tasks like striping and XOR parity calculations.
The Multi-Threaded I/O Algorithm
The core innovation of this paper is a multi-threaded algorithm that exploits the "Disconnect and Reselect" mechanism of the SCSI-II protocol. Traditional sequential I/O handles one request at a time, leaving the bus idle during the disk's mechanical seek phase. The proposed multi-threaded approach parallelizes these operations:
- Decomposition: A host I/O request is broken down into sub-requests for different physical disks.
- Overlapping Execution: The controller sends a command to a disk, which then disconnects from the bus to perform its seek. While that disk is "offline," the controller immediately utilizes the free bus to send commands to other disks.
- Reselection: When a disk completes its seek and has data ready in its buffer, it reselects the controller to perform the high-speed data transfer.
As shown in the time sequence analysis, this method ensures that the SCSI bus is used primarily for data transfer rather than waiting on mechanical movements. The system reaches peak efficiency when there are enough concurrent tasks to keep the bus saturated with data transfers while other disks are seeking in the background.
Performance Evaluation
The algorithm was evaluated using standard disk parameters for a 540MB SCSI drive, including an 11ms average seek time and a 3MB/s disk transfer rate. The results demonstrated that multi-threaded I/O significantly outperforms sequential methods:
- High-Efficiency Scenarios: For large data blocks (32K) and long seek times, the multi-threaded approach reduced response time to just 20% of the sequential baseline.
- Baseline Improvements: Even with small 4K blocks and short 3ms seeks, the system achieved a 70% response time ratio compared to sequential I/O.
Conclusion
The research concludes that multi-threaded I/O scheduling is essential for bridging the performance gap in disk arrays. By turning mechanical "dead time" into productive parallel processing, the system dramatically increases throughput. This approach is particularly vital for data-intensive applications of the era, such as large-scale image storage and high-performance server environments.
Summary updated