Share to: share facebook share twitter share wa share telegram print page

Interleaving (disk storage)

In block storage devices such as hard disk drives, interleaving is a technique used to improve slow system performance by putting data accessed sequentially into non-sequential blocks, typically sectors. The number of physical sectors between consecutive logical sectors is called the interleave skip factor or skip factor.[1][2][3]

Low-level format utility performing interleave speed tests on a 10-megabyte IBM PC XT hard drive

Historically, interleaving was used in

  • Minimizing missed rotations between instructions on computers storing instructions on a drum memory
  • Ordering block storage on storage devices such as drums, floppy disk drives and hard disk drives. The purpose of interleaving was to adjust the time difference between when the program was ready to transfer data, and when those data were actually arriving at the drive head to be read. Interleaving was common prior to the 1990s, but faded from use as processing speeds increased. Modern disk storage is not interleaved.[3] Modern operating systems do not use interleaving for, e.g., paging files.

Interleaving was used to arrange the sectors most efficiently, so that after reading a sector, time is allowed for processing, and then the next sector in sequence is ready to be read just as the computer is ready to do so. Matching the sector interleave to the processing speed therefore accelerates the data transfer, but an incorrect interleave can make the system perform markedly slower.

Information is typically stored on disks in small pieces referred to as sectors or blocks. These are arranged in concentric rings called tracks, across the surface of each disk. While it may be simplest to order the blocks directly on each track as 1 2 3 4 5 6 7 8 9, for early computing devices serial ordering was not practical.

Data to be written or read is saved to a special region of reusable memory referred to as a buffer. When data needed to be written, it was moved into the buffer, and then written from the buffer to the disk. When data was read, the reverse process transferred data first into the buffer and then to system RAM. Most early computers were not fast enough to read a sector, move the data from the buffer to system RAM, and be ready to read the next sector by the time that next sector was appearing under the read head.

If sectors were arranged in direct order, after the first sector was read, the computer might, for example, have sectors 2, 3 and 4 pass under the read head before it was ready to receive data again. The computer doesn't need sectors 5, 6, 7, 8, 9, or 1, and must wait for them to pass by, before reading sector 2. This wait for the disk to spin around to the next sector slows the data transfer rate.

To correct for the processing delays, the ideal interleave for this system would be 1:4, ordering the sectors like this: 1 8 6 4 2 9 7 5 3. It reads sector 1, then processes it while the three sectors 8 6 and 4 pass by, and when the microprocessor becomes ready again, sector two is arriving just as it is needed.

A 1:1 interleave (skip factor of 0) places the sectors sequentially—1 2 3 4 5 6 ... .

Modern block storage devices do not require interleaving. Data is now commonly stored as clusters (groups of sectors), and the data buffer is sufficiently large to allow all sectors in a block to be read at once without any delay between sectors.

References

  1. ^ "Function Requests Specification".
  2. ^ "Disk 'skip factor' explained". Archived from the original on May 27, 2016.
  3. ^ a b Hawthorne, Mel (August 16, 2019). "Interleave Factor". Technipages. Retrieved February 24, 2022. Modern computers are faster than hard disks – when this was not the case, larger interleave factors were common, but now a 1:1 interleave is standard.

Read other articles:

село Село Брічевамолд./рум. Briceva Основні дані 48°06′53″ пн. ш. 27°38′55″ сх. д. / 48.11472° пн. ш. 27.64861° сх. д. / 48.11472; 27.64861Координати: 48°06′53″ пн. ш. 27°38′55″ сх. д. / 48.11472° пн. ш. 27.64861° сх. д. / 48.11472; 27.64861Країна  МолдоваРай

Cuisine of Ancient Greece Ancient Greek cuisine was characterized by its frugality for most, reflecting agricultural hardship, but a great diversity of ingredients was known, and wealthy Greeks were known to celebrate with elaborate meals and feasts.[1]: 95(129c)  The cuisine was founded on the Mediterranean triad of cereals, olives, and grapes,[2] which had many uses and great commercial value, but other ingredients were as important, if not more so, to the av...

Приклад блоку маніфольда у складі цементувального агрегата ЦА-320: 1 – шасі автомобіля КрАЗ-250; 2 – нагнітальний насос; 3 – маніфольд; 4 – мірний бак. Блок маніфо́льда (англ. manifold block; нім. Manifold-Block) — комплект напірного і приймально-роздавального колекторів, змонтований на ...

Spandau-West–Hennigsdorfer Kleinbahn Straßenbahnlinie 120 Benzoltriebwagen 8001 am Bahnhof Spandau West, 1929Benzoltriebwagen 8001 am Bahnhof Spandau West, 1929Strecke der Spandau-West–Hennigsdorfer KleinbahnLinienverlaufStreckenlänge:13,2 kmSpurweite:1435 mm (Normalspur)Stromsystem:600 Volt =Höchstgeschwindigkeit:40 km/h Legende Wendeschleife 13,2 Bahnhof Hennigsdorf (ab 1931) Gymnasium (ab 1931) von der Triebwagenhalle 12,3 Lokfabrik (Streckenende bis 23...

Canadian psychiatrist (1910–1970) Eric BerneBornEric Lennard Bernstein(1910-05-10)May 10, 1910Montreal, Quebec, CanadaDiedJuly 15, 1970(1970-07-15) (aged 60)Carmel-by-the-Sea, California, U.S.NationalityCanadianKnown forDeveloped the theory of Transactional analysisSpouses Ruth Harvey ​ ​(m. 1942; div. 1945)​ Dorothy DeMass Way ​ ​(m. 1949; div. 1964)​ Torre Peterson ​ ​...

Former multipurpose arena in Buffalo, New York Broadway AuditoriumExterior of the venue, circa 1914Former namesBroadway Arsenal(1858–1883, 1908–1912)Sixty-Fifth Regiment Armory(1884–1907)Broadway Auditorium (1913–1940)Address201 BroadwayLocationBuffalo, New YorkCoordinates42°53′12.6″N 78°51′57.9″W / 42.886833°N 78.866083°W / 42.886833; -78.866083Public transit Lafayette SquareOwnerCity of BuffaloCapacity12,000[1]Field size47,000 sq ...

У Вікіпедії є статті про інших людей із прізвищем Дочев. Богдан Дочев Особисті дані Повне ім'я болг. Богдан Ганев Дочев Народження 26 червня 1936(1936-06-26)   Варна, Болгарія Смерть 29 травня 2017(2017-05-29) (80 років)   Софія, Болгарія Громадянство  Болгарія Позиція нападник Про...

Betender Votant. Diese Holztafel in der Ölbergkapelle um 1830 bildet vermutlich den Müllner-Peter ab. Der Müllner-Peter von Sachrang, bürgerlich Peter Hueber oder Peter Huber[1] (* 29. Juni 1766 in Aschach bei Sachrang; † 19. August 1843 ebenda) war neben seiner Tätigkeit als Müller Musiker und Universalgelehrter. Inhaltsverzeichnis 1 Leben 2 Nachwirken 3 Literatur 4 Tonträger 5 Weblinks 6 Einzelnachweise Leben Der musikalisch talentierte Sohn der Müllersleute Georg und Marg...

Timeline of the 2019–2020 Hong Kong protests 2019 March–June July August September October November December 2020 January February March April May June July August September October November December 2021 January February March April May June July August September–November December 2019–2020 Hong Kong protests BackgroundExtradition bill (Murder of Poon Hiu-wing)Hong Kong–Mainland China conflictUmbrella Revolution Timeline2019March–JuneJulyAugustSeptemberOctoberNovemberDecember2020...

2013 film by Aleksei Yuryevich German See also: Hard to Be a God (1989 film) You can help expand this article with text translated from the corresponding article in Russian. (June 2015) Click [show] for important translation instructions. View a machine-translated version of the Russian article. Machine translation, like DeepL or Google Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rat...

Rafael Pérez y Pérez Lápida del escritor Rafael Pérez y Pérez en el cementerio de Cuatretondeta.Información personalNacimiento 18 de septiembre de 1891Cuatretondeta, Alicante, EspañaFallecimiento 24 de abril de 1984 (92 años)Cuatretondeta, Alicante, EspañaSepultura Cuatretondeta Nacionalidad EspañaReligión Catolicismo Lengua materna Español Información profesionalOcupación NovelistaAños activo 1909-1971Seudónimo R. Pérez y Pérez,Rafael Pérez y PérezLengua literaria EspañolG

اضغط هنا للاطلاع على كيفية قراءة التصنيف عصفور إسباني   حالة الحفظ   أنواع غير مهددة أو خطر انقراض ضعيف جدا[1] المرتبة التصنيفية نوع[2][3]  التصنيف العلمي  فوق النطاق  حيويات مملكة عليا  حقيقيات النوى مملكة  حيوان عويلم  ثنائيات التناظر مملكة ف...

  الجمعية الجغرافية الروسية الجمعية الجغرافية الروسية‌   البلد الإمبراطورية الروسية الاتحاد السوفيتي روسيا  المقر الرئيسي سانت بطرسبرغ  تاريخ التأسيس 6 أغسطس 1845  العضوية الاتحاد الجغرافي الدولي  الرئيس سيرغي شويغو (2009–)  الموقع الرسمي الموقع الرسمي  ...

العلاقات البرتغالية الجامايكية البرتغال جامايكا   البرتغال   جامايكا تعديل مصدري - تعديل   العلاقات البرتغالية الجامايكية هي العلاقات الثنائية التي تجمع بين البرتغال وجامايكا.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين...

Turkish footballer and manager Engin İpekoğlu Engin İpekoğlu (born 7 June 1961 in İzmir, Turkey) is a Turkish football manager and former goalkeeper who most recently served as manager of Adanaspor. He began his football career with Prater SV, an Austrian team, in 1978. He transferred to Sakaryaspor in 1982, became professional in Sakaryaspor in 1985, and won the Turkish Cup with the team in 1988. He transferred to Beşiktaş in 1989. With Beşiktaş, he won two Turkish First League titl...

In Greek mythology, Nauplius /ˈnɔːpliəs/ (Ancient Greek: Ναύπλιος, Seafarer)[1] is the name of one (or more) mariner heroes. Whether these should be considered to be the same person, or two or possibly three distinct persons, is not entirely clear.[2] The most famous Nauplius, was the father of Palamedes, called Nauplius the Wrecker, because he caused the Greek fleet, sailing home from the Trojan War, to shipwreck, in revenge for the unjust killing of Palamedes. ...

American basketball player DiJonai CarringtonCarrington with the Connecticut Sun in 2023No. 21 – Connecticut SunPositionShooting guardLeagueWNBAPersonal informationBorn (1998-01-08) January 8, 1998 (age 25)San Diego, California, U.S.Listed height5 ft 11 in (1.80 m)Listed weight175 lb (79 kg)Career informationHigh schoolHorizon Christian(San Diego, California)College Stanford (2016–2020) Baylor (2020–2021) WNBA draft2021: 2nd round, 20th overall pick...

坐标:23°29′2.93″N 120°28′12.6″E / 23.4841472°N 120.470167°E / 23.4841472; 120.470167 水源地水錶室量水器室2022年的嘉義水源地水錶室 位置 臺灣嘉義市東區王田里民權路旁建成时间 日本大正三年(1914年)[1] 中華民國文化資產類型登錄等級:歷史建築登錄種類:產業 詳細登錄資料開放全天開放中 水源地水錶室,位於臺灣嘉義市東區民權路旁,是日治時期大...

Hubungan Vanuatu-Tiongkok Tiongkok Vanuatu Republik Vanuatu dan Republik Rakyat Tiongkok (RRT) menjalin hubungan diplomatik resmi pada 26 Maret 1982. Tiongkok mendirikan sebuah kedubes di Vanuatu pada 1989, sementara Vanuatu mendirikan sebuah konsulat kehormatan di Tiongkok pada 1999. Konsulat kehormatan tersebut resmi diubah menjadi kedubes pada 2005.[1] Referensi ^ China-Vanuatu Relations, PRC embassy in Vanuatu, June 20, 2008 Pranala luar Official website of the embassy of the Peop...

Egyptian actress, producer, and screenwriter Aziza Amirعزيزة أميرBornMofeeda Mahmoud Ghoneimمفيدة محمود غنيمي(1901-12-19)19 December 1901Damietta, EgyptDied28 February 1952(1952-02-28) (aged 50)Cairo, EgyptOccupation(s)Actress, screenwriter, producerSpouse Mahmoud Zulfikar ​(m. 1939)​ChildrenAmira Amir Aziza Amir (Arabic: عزيزة أمير; 17 December 1901 – 28 February 1952) was an Egyptian actress, producer, and screenwriter. Sh...

Kembali kehalaman sebelumnya