Home / Definitions / Interleave

Interleave

Webopedia Staff
Last Updated May 24, 2021 7:46 am
interleaving

)To arrange data in a noncontiguous way to increase performance. When used to describe disk drives, it refers to the way sectors on a disk are organized. In one-to-one interleaving, the sectors are placed sequentially around each track. In two-to-one interleaving, sectors are staggered so that consecutively numbered sectors are separated by an intervening sector.

The purpose of interleaving is to make the disk drive more efficient. The disk drive can access only one sector at a time, and the disk is constantly spinning beneath the read/write head. This means that by the time the drive is ready to access the next sector, the disk may have already spun beyond it. If a data file spans more than one sector and if the sectors are arranged sequentially, the drive will need to wait a full rotation to access the next chunk of the file. If instead the sectors are staggered, the disk will be perfectly positioned to access sequential sectors.

The optimum interleaving factor depends on the speed of the disk drive, the operating system, and the application. The only way to find the best interleaving factor is to experiment with various factors and various applications.

Memory can also be interleaved. See interleaved memory for more information.