• Subscribe by RSS
  • Raid Recovery
  • Flash Data Recovery
  • Hitachi Data Recovery
  • Seagate data recovery
  • Samsung Data Recovery
  • WD Data Recovery
 
Data Recovery Salon
 
  • Recovery News & Tips
  • D.R Asia & Oceania
    • Data Recovery Afghanistan
    • Data Recovery Armenia
    • Data Recovery Australia
    • Data Recovery Azerbaijan
    • Data Recovery Bahrain
    • Data Recovery Bangladesh
    • Data Recovery Bhutan
    • Data Recovery Brunei
    • Data Recovery Burma
    • Data Recovery Cambodia
    • Data Recovery China
    • Data Recovery Fiji
    • Data Recovery French Polynesia
    • Data Recovery Georgia
    • Data Recovery Hong Kong
    • Data Recovery India
    • Data Recovery Indonesia
    • Data Recovery Iran
    • Data Recovery Iraq
    • Data Recovery Israel
    • Data Recovery Japan
    • Data Recovery Jordan
    • Data Recovery Kazakhstan
    • Data Recovery Kiribati
    • Data Recovery Kuwait
    • Data Recovery Kyrgyzstan
    • Data Recovery Laos
    • Data Recovery Lebanon
    • Data Recovery Malaysia
    • Data Recovery Maldives
    • Data Recovery Marshall Islands
    • Data Recovery Micronesia
    • Data Recovery Nauru
    • Data Recovery Nepal
    • Data Recovery New Zealand
    • Data Recovery North Korea
    • Data Recovery Oman
    • Data Recovery Pakistan
    • Data Recovery Philippines
    • Data Recovery Saudi Arabia
    • Data recovery Thailand
  • D.R Africa
    • Data Recovery Algeria
    • Data Recovery Angola
    • Data Recovery Benin
    • Data Recovery Botswana
    • Data Recovery Burundi
    • Data Recovery Cameroon
    • Data Recovery Burkina Faso
    • Data Recovery Cape Verde
    • Data Recovery Central African Republic
    • Data Recovery Chad
    • Data Recovery Comoros
    • Data Recovery Democratic Republic of the Congo
    • Data Recovery Djibouti
    • Data Recovery Egypt
    • Data Recovery Ethiopia
    • Data Recovery Gabon
    • Data Recovery Gambia
    • Data Recovery Ghana
    • Data Recovery Guinea
    • Data Recovery Ivory Coast
    • Data Recovery Kenya
    • Data Recovery Lesotho
    • Data Recovery Liberia
    • Data Recovery Malawi
    • Data Recovery Mali
    • Data Recovery Mauritania
    • Data Recovery Mauritius
    • Data Recovery Mayotte
    • Data Recovery Morocco
    • Data Recovery Mozambique
    • Data Recovery Namibia
    • Data Recovery Niger
    • Data Recovery Nigeria
    • Data Recovery South Africa
    • Data recovery Uganda
  • Data Recovery America
    • Data Recovery American Samoa
    • Data Recovery Anguilla
    • Data Recovery Antigua and Barbuda
    • Data Recovery Argentina
    • Data Recovery Aruba
    • Data Recovery Bahamas
    • Data Recovery Barbados
    • Data Recovery Belize
    • Data Recovery Bermuda
    • Data Recovery Bolivia
  • Data Recovery Europe
    • Data Recovery Germany
    • Data recovery France
    • Data Recovery Croatia
    • Data Recovery Denmark
    • Data Recovery Estonia
    • Data Recovery Czech Republic
    • Data Recovery Greece
    • Data Recovery Finland
    • Data Recovery Greenland
    • Data Recovery Falkland Islands
    • Data Recovery Hungary
    • Data Recovery Iceland
  • Donor Firmware
    • Seagate HDD Donor FW
    • WD HDD Donor FW
  • Links
    • How to advertise with Data Recovery Salon?

Run Length Limited (RLL)

An improvement on the MFM encoding technique used in earlier hard disks and used on all floppies is run length limited or RLL. This is a more sophisticated coding technique, or more correctly stated, “family” of techniques. I say that RLL is a family of techniques because there are two primary parameters that define how RLL works, and therefore, there are several different variations. (Of course, you don’t really need to know which one your disk is using, since this is all internal to the drive anyway).

FM encoding has a simple one-to-one correspondence between the bit to be encoded and the flux reversal pattern. You only need to know the value of the current bit. MFM improves encoding efficiency over FM by more intelligently controlling where clock transitions are added into the data stream; this is enabled by considering not just the current bit but also the one before it. That’s why there are is a different flux reversal pattern for a 0 preceded by another 0, and for a 0 preceded by a 1. This “looking backwards” allows improved efficiency by letting the controller consider more data in deciding when to add clock reversals.

RLL takes this technique one step further. It considers groups of several bits instead of encoding one bit at a time. The idea is to mix clock and data flux reversals to allow for even denser packing of encoded data, to improve efficiency. The two parameters that define RLL are the run length and the run limit (and hence the name). The word “run” here refers to a sequence of spaces in the output data stream without flux reversals. The run length is the minimum spacing between flux reversals, and the run limit is the maximum spacing between them. As mentioned before, the amount of time between reversals cannot be too large or the read head can get out of sync and lose track of which bit is where.

The particular variety of RLL used on a drive is expressed as “RLL (X,Y)” or “X,Y RLL” where X is the run length and Y is the run limit. The most commonly used types of RLL in hard drives are “RLL (1,7)”, also seen as “1,7 RLL”; and “RLL (2,7)” (“2,7 RLL”). Alright, now consider the spacing of potential flux reversals in the encoded magnetic stream. In the case of “2,7”, this means that the the smallest number of “spaces” between flux reversals is 2, and the largest number is 7. To create this encoding, a set of patterns is used to represent various bit sequences, as shown in the table below (“R” is a reversal, “N” no reversal, just as with the other data encoding examples):

set-of-patterns-is-used-to-represent-various-bit-sequences

The controller these patterns by parsing the bit stream to be encoded, and matching the stream based on the bit patterns it encounters. If we were writing the byte “10001111” (8Fh), this would be matched as “10-0011-11” and encoded as “NRNN-NNNNRNNN-RNNN”. Note that the since every pattern above ends in “NN”, the minimum distance between reversals is indeed two. The maximum distance would be achieved with consecutive “0011” patterns, resulting in “NNNNRNNN-NNNNRNNN” or seven non-reversals between reversals. Thus, RLL (2,7).

Comparing the table above to the ones for FM and MFM, a few things become apparent. The most obvious is the increased complexity: seven different patterns are used, and up to four bits are considered a time for encoding. The average number of flux reversals per bit on a random bit stream pattern is 0.4635, or about 0.50. This is about a third of the requirement for FM (and about two thirds that of MFM). So relative to FM, data can be packed into one third the space. (For the example byte “10001111”  we have been using, RLL requires 3 “R”s; MFM would require 7, and FM would need 13.)

27-rll-fm-and-mfm-encoding-write-waveform-for-the-byte-10001111

2,7 RLL, FM and MFM encoding write waveform for the byte “10001111”.
RLL improves further on MFM by reducing the amount of space required
for the same data bits to one third that required for regular FM encoding.

Due to its greater efficiency, RLL encoding has replaced MFM everywhere but on floppy disks, where MFM continues to be used for historical compatibility reasons.

Data recovery Salon welcomes your comments and share with us your ideas, suggestions and experience. Data recovery salon is dedicated in sharing the most useful data recovery information with our users and only if you are good at data recovery or related knowledge, please kindly drop us an email and we will publish your article here. We need to make data recovery Salon to be the most professional and free data recovery E-book online.

 
 

World’s Top Data Recovery Hardware Tools


Easy to use at good price
Recover SATA, IDE, External HDDs, NVME SSDs, etc  Order Now here

POTABLE DEVICE & NVME SSD RECOVERY TOOL

Recover USB Device and NVME SSDs at high speed! Read Details here.

DFL-PCIE DATA RECOVERY RECHARGE

Best data recovery hardware tool to start a data recovery business, read details here

RECOVER SCRATCHED HDDS


Recover lost data from scratched hard drives, read details here.

SURFACE PRO. RECOVERY


Recover Dead Surface Pro. Laptops here

BEST HEAD REPLACEMENT TOOLS


The most cost-effective head replacement tools for Seagate, WD, Samsung, Hitachi, Toshiba, Fujitsu

 
 

Recents Posts

Apple SSD Data Recovery Adapter Pro.

April 30, 2025 3:03 AM / no comments

 

Strongly Recommended HDD ROM Read and Writing Tools

March 22, 2025 7:47 AM / no comments

 

Become a Reseller of Top-rated Data Recovery Tools in 2025

February 9, 2025 4:00 AM / no comments

 
 

Tags

Add new tag advanced data recovery training bad sectors Clean room Computer Forensics data backup data loss Data recoveries from flash and SSD Data recovery Data recovery engineer Data recovery equipment data recovery hardware Data Recovery Jobs Data Recovery Salon Data Recovery Services Data recovery software data recovery tips Data recovery tool Data Recovery Tools Data recovery training Data Security FAT Firmware free data recovery software hdd repair hdd repair tool hdd repair tools Hitachi Data Recovery how to fix logical data recovery NAND NTFS physical data recovery RAID Recovery SalvationDATA salvationdata review Samsung Data Recovery Seagate Seagate data recovery seagate hdd repair SSD SSD data recovery wd hdd repair WD SMR HDD Recovery Western Digital

Data Recovery Links

  • Head and Platter Swap Tools Factory
  • Top Data Recovery Tools
  • Data Recovery Australia
  • Data Recovery South Korea
  • Data Recovery France
  • HDD Repair Tools
  • Hitachi Global
  • Maxtor Hard Drives
  • PC Guide
  • Samsung Hard Drives
  • Seagate Technology
  • Storagere View
  • Toshiba Storage Device
  • Western Digital

Author

Sebean Hsiung
 
  • Raid Recovery
  • Flash Data Recovery
  • Hitachi Data Recovery
  • Seagate data recovery
  • Samsung Data Recovery
  • WD Data Recovery

Copyright © 2025 Data Recovery Salon. All rights reserved.