# Hesela storage glossary (full text) > Full glossary records (2206 terms) and metadata for 68 derived datasets on hesela.dev. Dataset page bodies and rows are linked, not embedded. Short index: https://hesela.dev/llms.txt. Machine-readable JSON: https://hesela.dev/data/index.json. ## Datasets ### Backblaze hard drive AFR by capacity group, 2022 to 2025 URL: https://hesela.dev/datasets/backblaze-2022-2025-afr-by-capacity/ Download (CSV): https://hesela.dev/data/datasets/backblaze-2022-2025-afr-by-capacity.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-2022-2025-afr-by-capacity.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-2022-2025-afr-by-capacity.svg Rows: 25 License: Derivative table computed from the Backblaze Drive Stats daily files for 2022 to 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 25-row aggregate, not the daily SMART archive, and that archive is not for sale. Yearly annualized failure rate of Backblaze's hard drives by nominal capacity group, computed from the raw daily Drive Stats files for 2022 to 2025 (sixteen quarterly zips) with the drive-day exposure of each group and exact 95% Poisson intervals. Sample: drives of 3 TB or more, 388,670,883 drive days and 16,051 failures over the four years. In 2025 the 20 to 22 TB group was at 0.51% on 16.0% of drive days, 16 to 18 TB at 1.03%, 12 to 14 TB at 1.84% and 8 to 10 TB at 2.19%. One fleet, and capacity groups mix models and ages, so the file does not show an effect of size. Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - year (integer): Calendar year, 2022 to 2025 (all four quarterly files of the year). - capacity_group (string): All hard drives of 3 TB or more, or a nominal capacity group from round(capacity_bytes / 1e12): 3 to 6 TB, 8 to 10 TB, 12 to 14 TB, 16 to 18 TB, 20 to 22 TB, 24 TB and above. A group with no drive days in a year has no row. - drive_days (integer): Daily rows (drive days) of the group in the year. This is the exposure. - share_of_year_drive_days_percent (number): The group share of the All drive days in that year, one decimal. - failures (integer): Rows with failure = 1 in the year. - afr_percent (number): failures / drive_days * 365 * 100, two decimals. Computed here, with 365 days in every year. - afr_low95 (number): Lower bound of the exact two-sided 95% Poisson (Garwood) interval, in percent. - afr_high95 (number): Upper bound of the same interval, in percent. Citations: - [bb-data-Q12022] Backblaze Hard Drive Test Data, data_Q1_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2022.zip (accessed 2026-10-11) - [bb-data-Q22022] Backblaze Hard Drive Test Data, data_Q2_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2022.zip (accessed 2026-10-11) - [bb-data-Q32022] Backblaze Hard Drive Test Data, data_Q3_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2022.zip (accessed 2026-10-11) - [bb-data-Q42022] Backblaze Hard Drive Test Data, data_Q4_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2022.zip (accessed 2026-10-11) - [bb-data-Q12023] Backblaze Hard Drive Test Data, data_Q1_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2023.zip (accessed 2026-10-11) - [bb-data-Q22023] Backblaze Hard Drive Test Data, data_Q2_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2023.zip (accessed 2026-10-11) - [bb-data-Q32023] Backblaze Hard Drive Test Data, data_Q3_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2023.zip (accessed 2026-10-11) - [bb-data-Q42023] Backblaze Hard Drive Test Data, data_Q4_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2023.zip (accessed 2026-10-11) - [bb-data-Q12024] Backblaze Hard Drive Test Data, data_Q1_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2024.zip (accessed 2026-10-11) - [bb-data-Q22024] Backblaze Hard Drive Test Data, data_Q2_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2024.zip (accessed 2026-10-11) - [bb-data-Q32024] Backblaze Hard Drive Test Data, data_Q3_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2024.zip (accessed 2026-10-11) - [bb-data-Q42024] Backblaze Hard Drive Test Data, data_Q4_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2024.zip (accessed 2026-10-11) - [bb-data-Q12025] Backblaze Hard Drive Test Data, data_Q1_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2025.zip (accessed 2026-10-11) - [bb-data-Q22025] Backblaze Hard Drive Test Data, data_Q2_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2025.zip (accessed 2026-10-11) - [bb-data-Q32025] Backblaze Hard Drive Test Data, data_Q3_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2025.zip (accessed 2026-10-11) - [bb-data-Q42025] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-11) - [bb-terms] Backblaze Hard Drive Test Data page and use terms. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-11) - [bb-2025] Backblaze Drive Stats for 2025 (published annual table: 115,638,676 drive days, 4,317 failures, 1.36%). https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/ (accessed 2026-10-11) - [garwood] Garwood, F. (1936). Fiducial limits for the Poisson distribution. Biometrika 28(3-4), 437-442. https://doi.org/10.1093/biomet/28.3-4.437 (accessed 2026-10-11) ### Backblaze hard drive AFR by manufacturer, 2022 to 2025 URL: https://hesela.dev/datasets/backblaze-2022-2025-afr-by-manufacturer/ Download (CSV): https://hesela.dev/data/datasets/backblaze-2022-2025-afr-by-manufacturer.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-2022-2025-afr-by-manufacturer.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-2022-2025-afr-by-manufacturer.svg Rows: 23 License: Derivative table computed from the Backblaze Drive Stats daily files for 2022 to 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 23-row aggregate, not the daily SMART archive, and that archive is not for sale. Yearly annualized failure rate of Backblaze's hard drives for Seagate, HGST, Toshiba and WDC, computed from the raw daily Drive Stats files for 2022 to 2025 (sixteen quarterly zips) with exact 95% Poisson intervals. Sample: drives of 3 TB or more, 388,670,883 drive days and 16,051 failures over the four years. Pooled AFR was 1.39% in 2022, 1.70% in 2023, 1.59% in 2024 and 1.36% in 2025. HGST went from 0.63% in 2022 to 3.01% in 2024 and 2.89% in 2025. One fleet, and the file does not say why rates moved. Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - year (integer): Calendar year, 2022 to 2025 (all four quarterly files of the year). - manufacturer (string): Seagate, HGST, Toshiba, WDC or Other, from the model-name prefix (ST; HGST, HUH, HMS; TOSHIBA; WDC, WUH, WD). Other is the legacy model Hitachi HDS5C4040ALE630 and holds a few thousand drive days. All is every hard drive of 3 TB or more. - drive_days (integer): Daily rows (drive days) of the group in the year. This is the exposure. - share_of_year_drive_days_percent (number): The group share of the All drive days in that year, one decimal. - failures (integer): Rows with failure = 1 in the year. - afr_percent (number): failures / drive_days * 365 * 100, two decimals. Computed here, with 365 days in every year. - afr_low95 (number): Lower bound of the exact two-sided 95% Poisson (Garwood) interval, in percent. - afr_high95 (number): Upper bound of the same interval, in percent. Citations: - [bb-data-Q12022] Backblaze Hard Drive Test Data, data_Q1_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2022.zip (accessed 2026-10-11) - [bb-data-Q22022] Backblaze Hard Drive Test Data, data_Q2_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2022.zip (accessed 2026-10-11) - [bb-data-Q32022] Backblaze Hard Drive Test Data, data_Q3_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2022.zip (accessed 2026-10-11) - [bb-data-Q42022] Backblaze Hard Drive Test Data, data_Q4_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2022.zip (accessed 2026-10-11) - [bb-data-Q12023] Backblaze Hard Drive Test Data, data_Q1_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2023.zip (accessed 2026-10-11) - [bb-data-Q22023] Backblaze Hard Drive Test Data, data_Q2_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2023.zip (accessed 2026-10-11) - [bb-data-Q32023] Backblaze Hard Drive Test Data, data_Q3_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2023.zip (accessed 2026-10-11) - [bb-data-Q42023] Backblaze Hard Drive Test Data, data_Q4_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2023.zip (accessed 2026-10-11) - [bb-data-Q12024] Backblaze Hard Drive Test Data, data_Q1_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2024.zip (accessed 2026-10-11) - [bb-data-Q22024] Backblaze Hard Drive Test Data, data_Q2_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2024.zip (accessed 2026-10-11) - [bb-data-Q32024] Backblaze Hard Drive Test Data, data_Q3_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2024.zip (accessed 2026-10-11) - [bb-data-Q42024] Backblaze Hard Drive Test Data, data_Q4_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2024.zip (accessed 2026-10-11) - [bb-data-Q12025] Backblaze Hard Drive Test Data, data_Q1_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2025.zip (accessed 2026-10-11) - [bb-data-Q22025] Backblaze Hard Drive Test Data, data_Q2_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2025.zip (accessed 2026-10-11) - [bb-data-Q32025] Backblaze Hard Drive Test Data, data_Q3_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2025.zip (accessed 2026-10-11) - [bb-data-Q42025] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-11) - [bb-terms] Backblaze Hard Drive Test Data page and use terms. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-11) - [bb-2025] Backblaze Drive Stats for 2025 (published annual table: 115,638,676 drive days, 4,317 failures, 1.36%). https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/ (accessed 2026-10-11) - [garwood] Garwood, F. (1936). Fiducial limits for the Poisson distribution. Biometrika 28(3-4), 437-442. https://doi.org/10.1093/biomet/28.3-4.437 (accessed 2026-10-11) ### Backblaze hard drive models, yearly AFR and exposure, 2022 to 2025 URL: https://hesela.dev/datasets/backblaze-2022-2025-model-history/ Download (CSV): https://hesela.dev/data/datasets/backblaze-2022-2025-model-history.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-2022-2025-model-history.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-2022-2025-model-history.svg Rows: 88 License: Derivative table computed from the Backblaze Drive Stats daily files for 2022 to 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 88-row aggregate, not the daily SMART archive, and that archive is not for sale. Yearly drive days, failures and annualized failure rate with exact 95% Poisson intervals for the 22 Backblaze hard-drive models that had at least 100,000 drive days in every year from 2022 to 2025, computed from the raw daily Drive Stats files (sixteen quarterly zips). Sample: 88 model-years. Some models stay flat, such as the Toshiba MG07ACA14TA at 1.01% to 1.15%, while others move a lot: HGST HUH721212ALN604 went from 0.74% in 2022 to 5.64% in 2024, and Toshiba MG08ACA16TEY from 1.58% in 2024 to 6.30% in 2025. One fleet, and the file does not show why a rate moved. Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - model (string): Model string exactly as in the Backblaze daily files. - capacity_tb (integer): Nominal capacity in terabytes, round(capacity_bytes / 1e12). - year (integer): Calendar year, 2022 to 2025 (all four quarterly files of the year). - drive_days (integer): Daily rows (drive days) of the model in the year. This is the exposure. - drives_dec31 (integer): Rows of the model in the last daily file of Q4 of that year (drives present on December 31). - failures (integer): Rows with failure = 1 in the year. - afr_percent (number): failures / drive_days * 365 * 100, two decimals. Computed here, with 365 days in every year. - afr_low95 (number): Lower bound of the exact two-sided 95% Poisson (Garwood) interval, in percent. - afr_high95 (number): Upper bound of the same interval, in percent. Citations: - [bb-data-Q12022] Backblaze Hard Drive Test Data, data_Q1_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2022.zip (accessed 2026-10-11) - [bb-data-Q22022] Backblaze Hard Drive Test Data, data_Q2_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2022.zip (accessed 2026-10-11) - [bb-data-Q32022] Backblaze Hard Drive Test Data, data_Q3_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2022.zip (accessed 2026-10-11) - [bb-data-Q42022] Backblaze Hard Drive Test Data, data_Q4_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2022.zip (accessed 2026-10-11) - [bb-data-Q12023] Backblaze Hard Drive Test Data, data_Q1_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2023.zip (accessed 2026-10-11) - [bb-data-Q22023] Backblaze Hard Drive Test Data, data_Q2_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2023.zip (accessed 2026-10-11) - [bb-data-Q32023] Backblaze Hard Drive Test Data, data_Q3_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2023.zip (accessed 2026-10-11) - [bb-data-Q42023] Backblaze Hard Drive Test Data, data_Q4_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2023.zip (accessed 2026-10-11) - [bb-data-Q12024] Backblaze Hard Drive Test Data, data_Q1_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2024.zip (accessed 2026-10-11) - [bb-data-Q22024] Backblaze Hard Drive Test Data, data_Q2_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2024.zip (accessed 2026-10-11) - [bb-data-Q32024] Backblaze Hard Drive Test Data, data_Q3_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2024.zip (accessed 2026-10-11) - [bb-data-Q42024] Backblaze Hard Drive Test Data, data_Q4_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2024.zip (accessed 2026-10-11) - [bb-data-Q12025] Backblaze Hard Drive Test Data, data_Q1_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2025.zip (accessed 2026-10-11) - [bb-data-Q22025] Backblaze Hard Drive Test Data, data_Q2_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2025.zip (accessed 2026-10-11) - [bb-data-Q32025] Backblaze Hard Drive Test Data, data_Q3_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2025.zip (accessed 2026-10-11) - [bb-data-Q42025] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-11) - [bb-terms] Backblaze Hard Drive Test Data page and use terms. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-11) - [bb-2025] Backblaze Drive Stats for 2025 (published annual table: 115,638,676 drive days, 4,317 failures, 1.36%). https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/ (accessed 2026-10-11) - [garwood] Garwood, F. (1936). Fiducial limits for the Poisson distribution. Biometrika 28(3-4), 437-442. https://doi.org/10.1093/biomet/28.3-4.437 (accessed 2026-10-11) ### Backblaze hard drive models added and retired, 2022 to 2025 URL: https://hesela.dev/datasets/backblaze-2022-2025-model-turnover/ Download (CSV): https://hesela.dev/data/datasets/backblaze-2022-2025-model-turnover.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-2022-2025-model-turnover.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-2022-2025-model-turnover.svg Rows: 66 License: Derivative table computed from the Backblaze Drive Stats daily files for 2022 to 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 66-row aggregate, not the daily SMART archive, and that archive is not for sale. Which hard-drive models Backblaze added or retired between January 1, 2022 and December 31, 2025, from the raw daily Drive Stats files (sixteen quarterly zips). Sample: all 66 model strings of drives of 3 TB or more, 388,670,883 drive days and 16,051 failures, with drives on December 31 of each year, exposure, failures and the 2022 to 2025 AFR with exact 95% Poisson intervals per model. Models added after 2022 Q1 held 79,349 of the 334,844 drives on December 31, 2025. One fleet, and model strings are used as they appear in the files. Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - model (string): Model string exactly as in the Backblaze daily files. Strings that differ only in spacing, such as "WDC WUH721414ALE6L4" with two spaces, are separate rows. - capacity_tb (integer): Nominal capacity in terabytes, round(capacity_bytes / 1e12). - status (string): continuous: seen in 2022 Q1 and in 2025 Q4. added: first seen after 2022 Q1 and still there in 2025 Q4. retired: seen in 2022 Q1 and not in 2025 Q4. added and retired: neither. - first_quarter (string): First of the 16 quarters (2022 Q1 to 2025 Q4) in which the model has any drive day. - last_quarter (string): Last of the 16 quarters in which the model has any drive day. - quarters_present (integer): Number of the 16 quarters with any drive day. - drives_end_2022 (integer): Rows of the model in the last daily file of Q4 2022, that is drives present on December 31, 2022. - drives_end_2023 (integer): Same for December 31, 2023. - drives_end_2024 (integer): Same for December 31, 2024. - drives_end_2025 (integer): Same for December 31, 2025. - drive_days (integer): Daily rows of the model from 2022-01-01 to 2025-12-31. This is the exposure. - failures (integer): Rows with failure = 1 in the window. - afr_percent (number): failures / drive_days * 365 * 100, two decimals, over the whole window. Computed here. - afr_low95 (number): Lower bound of the exact two-sided 95% Poisson (Garwood) interval, in percent. - afr_high95 (number): Upper bound of the same interval, in percent. Citations: - [bb-data-Q12022] Backblaze Hard Drive Test Data, data_Q1_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2022.zip (accessed 2026-10-11) - [bb-data-Q22022] Backblaze Hard Drive Test Data, data_Q2_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2022.zip (accessed 2026-10-11) - [bb-data-Q32022] Backblaze Hard Drive Test Data, data_Q3_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2022.zip (accessed 2026-10-11) - [bb-data-Q42022] Backblaze Hard Drive Test Data, data_Q4_2022.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2022.zip (accessed 2026-10-11) - [bb-data-Q12023] Backblaze Hard Drive Test Data, data_Q1_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2023.zip (accessed 2026-10-11) - [bb-data-Q22023] Backblaze Hard Drive Test Data, data_Q2_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2023.zip (accessed 2026-10-11) - [bb-data-Q32023] Backblaze Hard Drive Test Data, data_Q3_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2023.zip (accessed 2026-10-11) - [bb-data-Q42023] Backblaze Hard Drive Test Data, data_Q4_2023.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2023.zip (accessed 2026-10-11) - [bb-data-Q12024] Backblaze Hard Drive Test Data, data_Q1_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2024.zip (accessed 2026-10-11) - [bb-data-Q22024] Backblaze Hard Drive Test Data, data_Q2_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2024.zip (accessed 2026-10-11) - [bb-data-Q32024] Backblaze Hard Drive Test Data, data_Q3_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2024.zip (accessed 2026-10-11) - [bb-data-Q42024] Backblaze Hard Drive Test Data, data_Q4_2024.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2024.zip (accessed 2026-10-11) - [bb-data-Q12025] Backblaze Hard Drive Test Data, data_Q1_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2025.zip (accessed 2026-10-11) - [bb-data-Q22025] Backblaze Hard Drive Test Data, data_Q2_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2025.zip (accessed 2026-10-11) - [bb-data-Q32025] Backblaze Hard Drive Test Data, data_Q3_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2025.zip (accessed 2026-10-11) - [bb-data-Q42025] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-11) - [bb-terms] Backblaze Hard Drive Test Data page and use terms. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-11) - [bb-2025] Backblaze Drive Stats for 2025 (published annual table: 115,638,676 drive days, 4,317 failures, 1.36%). https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/ (accessed 2026-10-11) - [garwood] Garwood, F. (1936). Fiducial limits for the Poisson distribution. Biometrika 28(3-4), 437-442. https://doi.org/10.1093/biomet/28.3-4.437 (accessed 2026-10-11) ### Backblaze SSD models in 2025: drive days, failures and the AFR upper bound URL: https://hesela.dev/datasets/backblaze-2025-boot-ssd-afr/ Download (CSV): https://hesela.dev/data/datasets/backblaze-2025-boot-ssd-afr.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-2025-boot-ssd-afr.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-2025-boot-ssd-afr.svg Rows: 21 License: Derivative table computed from the Backblaze Drive Stats daily files for 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 21-row aggregate, not the daily SMART archive, and that archive is not for sale. Exposure and failures for the SSD models in Backblaze's raw Drive Stats files for 2025 (January 1 to December 31, 2025). Sample: 20 SSD models, 1,075,258 drive days, 2,972 drives on December 31, and zero failures. With no failures the file gives each model's exact 95% upper bound on the annualized failure rate: 0.13% for all SSD models pooled, and 0.34% to 4.30% for the models with 10,000 or more drive days. One fleet, mostly boot drives, so it does not describe SSDs in general. Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - model (string): Model string exactly as in the Backblaze daily files. SSD models were picked by name patterns listed in the step 1 script. The Dell BOSS virtual disk is not included. - capacity_gb (integer): Nominal capacity in gigabytes (capacity_bytes / 1e9, rounded). Empty on the pooled row. - drive_days_q1 (integer): Daily rows of the model from 2025-01-01 to 2025-03-31. - drive_days_q2 (integer): Daily rows from 2025-04-01 to 2025-06-30. - drive_days_q3 (integer): Daily rows from 2025-07-01 to 2025-09-30. - drive_days_q4 (integer): Daily rows from 2025-10-01 to 2025-12-31. - drive_days (integer): Sum of the four quarters. This is the exposure. - drives_2025_12_31 (integer): Drives in the 2025-12-31 file that have a power-on-hours value. - median_age_years_2025_12_31 (number): Median smart_9_raw of those drives divided by 8766, two decimals. Power-on hours as reported. - failures (integer): Rows with failure = 1 in 2025. Zero for every model. - afr_percent (number): failures / drive_days * 365 * 100, two decimals. Computed here. - afr_high95 (number): Upper end of the exact two-sided 95% Poisson interval for zero failures, -ln(0.025) / (drive_days / 365) * 100, two decimals. The lower end is 0. Citations: - [bb-data-Q1] Backblaze Hard Drive Test Data, data_Q1_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2025.zip (accessed 2026-10-10) - [bb-data-Q2] Backblaze Hard Drive Test Data, data_Q2_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2025.zip (accessed 2026-10-10) - [bb-data-Q3] Backblaze Hard Drive Test Data, data_Q3_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2025.zip (accessed 2026-10-10) - [bb-data-Q4] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-10) - [bb-terms] Backblaze Hard Drive Test Data page and use terms. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-10) ### Backblaze hard drive AFR by month and capacity class, 2025 URL: https://hesela.dev/datasets/backblaze-2025-monthly-afr/ Download (CSV): https://hesela.dev/data/datasets/backblaze-2025-monthly-afr.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-2025-monthly-afr.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-2025-monthly-afr.svg Rows: 52 License: Derivative table computed from the Backblaze Drive Stats daily files for 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 52-row aggregate, not the daily SMART archive, and that archive is not for sale. Month-by-month annualized failure rate of Backblaze's hard drives in 2025 (January 1 to December 31), computed from the raw daily Drive Stats files with exact 95% Poisson intervals, for all drives of 3 TB or more and for three capacity classes. Sample: 115,936,784 drive days and 4,327 failures, a 1.36% pooled AFR that matches Backblaze's published annual figure. Monthly AFR runs from 0.54% in December to 1.72% in September. One fleet, one year, and the file does not say why months differ. Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - month (string): Calendar month 2025-01 to 2025-12, or "2025 total" for the sum of the twelve months. - size_class (string): All hard drives of 3 TB or more, or a nominal capacity class: up to 12 TB, 14 to 16 TB, 20 TB and above (round(capacity_bytes / 1e12)). - drive_days (integer): Daily rows (drive days) of the class in the month. This is the exposure. - failures (integer): Rows with failure = 1 in the month. - afr_percent (number): failures / drive_days * 365 * 100, two decimals. Computed here, with 365 days in every month. - afr_low95 (number): Lower bound of the exact two-sided 95% Poisson (Garwood) interval, in percent. - afr_high95 (number): Upper bound of the same interval, in percent. Citations: - [bb-data-Q1] Backblaze Hard Drive Test Data, data_Q1_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q1_2025.zip (accessed 2026-10-11) - [bb-data-Q2] Backblaze Hard Drive Test Data, data_Q2_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2025.zip (accessed 2026-10-11) - [bb-data-Q3] Backblaze Hard Drive Test Data, data_Q3_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q3_2025.zip (accessed 2026-10-11) - [bb-data-Q4] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily CSV files). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-11) - [bb-terms] Backblaze Hard Drive Test Data page and use terms. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-11) - [bb-2025] Backblaze Drive Stats for 2025 (published annual table: 115,638,676 drive days, 4,317 failures, 1.36%). https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/ (accessed 2026-10-11) - [garwood] Garwood, F. (1936). Fiducial limits for the Poisson distribution. Biometrika 28(3-4), 437-442. https://doi.org/10.1093/biomet/28.3-4.437 (accessed 2026-10-11) ### Backblaze pooled AFR by manufacturer and capacity, Q1 versus Q2 2026 URL: https://hesela.dev/datasets/backblaze-2026-afr-by-vendor-and-capacity/ Download (CSV): https://hesela.dev/data/datasets/backblaze-2026-afr-by-vendor-and-capacity.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-2026-afr-by-vendor-and-capacity.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-2026-afr-by-vendor-and-capacity.svg Rows: 14 License: Derivative table transcribed from Backblaze Drive Stats reports for Q1 2026 and Q2 2026. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a small derived aggregate of that comparison, not Backblaze's daily SMART archive, and that archive is not for sale. Pooled annualized failure rates for Backblaze's published Q1 2026 (January 1 to March 31) and Q2 2026 (April 1 to June 30) model tables, grouped by manufacturer (4 groups) and nominal capacity (10 groups). Pooled over 33 model rows: 30,203,180 drive days and 1,030 failures in Q1, 31,553,350 drive days and 1,498 failures in Q2. Pooled AFR rose in all four manufacturer groups and in 8 of 9 capacity groups present in both quarters. Vendor claim data from Backblaze's own fleet; the grouping and pooling are computed here. Source accessed: 2026-10-10 Source: https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/ License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - group_type (string): Grouping used: manufacturer or capacity_tb. - group (string): Manufacturer label as published (HGST, Seagate, Toshiba, WDC) or nominal capacity in terabytes. - q1_models (integer): Number of model rows in the group in the Q1 2026 (January 1 to March 31) table. Empty if the group has no rows that quarter. - q1_drive_count (integer): Sum of the published quarter-end drive counts of those models, Q1 2026 (January 1 to March 31). - q1_drive_days (integer): Sum of published drive days, Q1 2026 (January 1 to March 31). - q1_failures (integer): Sum of published failures, Q1 2026 (January 1 to March 31). - q1_afr_percent (number): Pooled AFR in percent, computed as failures / drive days * 365 * 100 and rounded to two decimals, Q1 2026 (January 1 to March 31). Not a published figure. - q2_models (integer): Number of model rows in the group in the Q2 2026 (April 1 to June 30) table. Empty if the group has no rows that quarter. - q2_drive_count (integer): Sum of the published quarter-end drive counts of those models, Q2 2026 (April 1 to June 30). - q2_drive_days (integer): Sum of published drive days, Q2 2026 (April 1 to June 30). - q2_failures (integer): Sum of published failures, Q2 2026 (April 1 to June 30). - q2_afr_percent (number): Pooled AFR in percent, computed as failures / drive days * 365 * 100 and rounded to two decimals, Q2 2026 (April 1 to June 30). Not a published figure. Citations: - [bb-q1-2026-report] Backblaze Drive Stats for Q1 2026. https://www.backblaze.com/blog/backblaze-drive-stats-for-q1-2026/ (accessed 2026-10-09) - [bb-q2-2026-report] Backblaze Drive Stats for Q2 2026. https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/ (accessed 2026-10-09) - [bb-drive-stats-data] Hard Drive Reliability & Test Data. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-09) - [hesela-afr-shift] Backblaze drive model AFR, Q1 versus Q2 2026 (model rows used here). https://hesela.dev/datasets/backblaze-q1-q2-2026-afr-shift/ (accessed 2026-10-10) ### Backblaze model AFR with 95% intervals, Q1 and Q2 2026 URL: https://hesela.dev/datasets/backblaze-2026-afr-confidence-intervals/ Download (CSV): https://hesela.dev/data/datasets/backblaze-2026-afr-confidence-intervals.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-2026-afr-confidence-intervals.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-2026-afr-confidence-intervals.svg Rows: 33 License: Derivative table transcribed from Backblaze Drive Stats reports for Q1 2026 and Q2 2026. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a small derived table with computed intervals, not Backblaze's daily SMART archive, and that archive is not for sale. Published Q1 and Q2 2026 Backblaze AFRs for 33 hard-drive models, each with an exact 95% Poisson interval computed from the published failures and drive days. Sample: Q1 2026 (January 1 to March 31) 30,203,180 drive days and 1,030 failures; Q2 2026 (April 1 to June 30) 31,553,350 drive days and 1,498 failures. Of 31 models in both quarters, the intervals do not overlap for 4 and overlap for 27. The Poisson assumption is a modelling choice made here, not something Backblaze publishes. Source accessed: 2026-10-10 Source: https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/ License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - mfg (string): Manufacturer label as published by Backblaze. - model (string): Drive model identifier as published. - size_tb (integer): Nominal capacity in terabytes as published. - q1_drive_days (integer): Drive days in Q1 2026 (January 1 to March 31), as published. Empty if the model is not in that table. - q1_failures (integer): Failures in Q1 2026 (January 1 to March 31), as published. - q1_afr_percent (number): AFR in percent for Q1 2026 (January 1 to March 31), copied as published. - q1_afr_low95 (number): Lower bound of the exact two-sided 95% Poisson (Garwood) interval for the AFR, in percent, computed here from failures and drive days, Q1 2026 (January 1 to March 31). - q1_afr_high95 (number): Upper bound of the same interval, in percent, Q1 2026 (January 1 to March 31). - q2_drive_days (integer): Drive days in Q2 2026 (April 1 to June 30), as published. Empty if the model is not in that table. - q2_failures (integer): Failures in Q2 2026 (April 1 to June 30), as published. - q2_afr_percent (number): AFR in percent for Q2 2026 (April 1 to June 30), copied as published. - q2_afr_low95 (number): Lower bound of the exact two-sided 95% Poisson (Garwood) interval for the AFR, in percent, computed here from failures and drive days, Q2 2026 (April 1 to June 30). - q2_afr_high95 (number): Upper bound of the same interval, in percent, Q2 2026 (April 1 to June 30). - intervals_overlap (string): yes if the Q1 and Q2 95% intervals share any value, no if they do not. Empty if the model is missing from either quarter. Computed here. Citations: - [bb-q1-2026-report] Backblaze Drive Stats for Q1 2026. https://www.backblaze.com/blog/backblaze-drive-stats-for-q1-2026/ (accessed 2026-10-09) - [bb-q2-2026-report] Backblaze Drive Stats for Q2 2026. https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/ (accessed 2026-10-09) - [bb-drive-stats-data] Hard Drive Reliability & Test Data. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-09) - [garwood-1936] Garwood, F. (1936). Fiducial limits for the Poisson distribution. Biometrika 28(3/4), 437-442. https://doi.org/10.1093/biomet/28.3-4.437 (accessed 2026-10-10) ### Backblaze Q2 2026 hard drive AFR by model URL: https://hesela.dev/datasets/backblaze-hdd-afr/ Download (CSV): https://hesela.dev/data/datasets/backblaze-hdd-afr.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-hdd-afr.json Rows: 31 License: Derivative table transcribed from Backblaze Drive Stats for Q2 2026. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. The Q2 2026 report restates citation, sole responsibility, and the ban on selling the data, and does not restate the derivative-works permission. This CSV is not Backblaze's daily SMART archive, and that archive is not for sale. Backblaze's published Q2 2026 quarterly hard-drive annualized failure rate was 1.73% (vendor claim): 1,498 failures across 31,553,350 drive days on 354,415 drives. This download is the 31-model table for April 1 through June 30, 2026 inclusive (drive count above 100 and drive days above 10,000), not the daily SMART archive. Source accessed: 2026-10-07 Source: https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/ License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - mfg (string): Manufacturer label as published by Backblaze: HGST, Seagate, Toshiba, or WDC. - model (string): Drive model identifier as published. - size_tb (integer): Nominal capacity in terabytes as published. - drive_count (integer): Drives of this model in the quarterly cohort. - avg_age_months (number): Average age in months as published. Not an input to the AFR column. - drive_days (integer): Drive-days observed for this model in the quarter. - failures (integer): Drives that failed in the quarter, as published. - afr_percent (number): Annualized failure rate in percent, copied as published rather than refit. Citations: - [bb-q2-2026-report] Backblaze Drive Stats for Q2 2026. https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/ (accessed 2026-10-07) - [bb-drive-stats-data] Hard Drive Reliability & Test Data. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-07) - [bb-q2-2026-press] Backblaze Publishes Q2 2026 Drive Stats: Quarterly Failure Rate Rises to 1.73%. https://ir.backblaze.com/news/news-details/2026/Backblaze-Publishes-Q2-2026-Drive-Stats-Quarterly-Failure-Rate-Rises-to-1-73/default.aspx (accessed 2026-10-07) - [bb-q2-2026-zip] Drive Stats daily SMART archive for 2026 Q2 (data_Q2_2026.zip). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q2_2026.zip (accessed 2026-10-07) ### Backblaze drive model AFR, Q1 versus Q2 2026 URL: https://hesela.dev/datasets/backblaze-q1-q2-2026-afr-shift/ Download (CSV): https://hesela.dev/data/datasets/backblaze-q1-q2-2026-afr-shift.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-q1-q2-2026-afr-shift.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-q1-q2-2026-afr-shift.svg Rows: 33 License: Derivative table transcribed from Backblaze Drive Stats reports for Q1 2026 and Q2 2026. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a small derived comparison, not Backblaze's daily SMART archive, and that archive is not for sale. Side-by-side published annualized failure rates for 33 hard-drive models in Backblaze's Q1 2026 (January 1 to March 31) and Q2 2026 (April 1 to June 30) Drive Stats model tables. 31 models appear in both. Fleet AFR in the published totals rows rose from 1.24% (1,030 failures, 30,203,180 drive days) to 1.73% (1,498 failures, 31,553,350 drive days). Vendor claim; Backblaze's own fleet, not an industry sample. Source accessed: 2026-10-09 Source: https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/ License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - mfg (string): Manufacturer label as published by Backblaze: HGST, Seagate, Toshiba, or WDC. - model (string): Drive model identifier as published. - size_tb (integer): Nominal capacity in terabytes as published. - q1_drive_count (integer): Drives of this model in the Q1 2026 table. Empty if the model is not in that table. - q1_drive_days (integer): Drive days observed in Q1 2026 (January 1 to March 31, 2026). Empty if not in the table. - q1_failures (integer): Failures in Q1 2026 as published. Empty if not in the table. - q1_afr_percent (number): Q1 2026 AFR in percent, copied as published, not refit. Empty if not in the table. - q2_drive_count (integer): Drives of this model in the Q2 2026 table. Empty if the model is not in that table. - q2_drive_days (integer): Drive days observed in Q2 2026 (April 1 to June 30, 2026). Empty if not in the table. - q2_failures (integer): Failures in Q2 2026 as published. Empty if not in the table. - q2_afr_percent (number): Q2 2026 AFR in percent, copied as published, not refit. Empty if not in the table. Citations: - [bb-q1-2026-report] Backblaze Drive Stats for Q1 2026. https://www.backblaze.com/blog/backblaze-drive-stats-for-q1-2026/ (accessed 2026-10-09) - [bb-q2-2026-report] Backblaze Drive Stats for Q2 2026. https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/ (accessed 2026-10-09) - [bb-drive-stats-data] Hard Drive Reliability & Test Data. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-09) ### Backblaze AFR by drive power-on age, Q4 2025 URL: https://hesela.dev/datasets/backblaze-q4-2025-afr-by-age/ Download (CSV): https://hesela.dev/data/datasets/backblaze-q4-2025-afr-by-age.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-q4-2025-afr-by-age.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-q4-2025-afr-by-age.svg Rows: 32 License: Derivative table computed from the Backblaze Drive Stats daily files for Q4 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 32-row aggregate, not the daily SMART archive, and that archive is not for sale. Annualized failure rate by drive power-on age, computed from Backblaze's raw daily Drive Stats files for Q4 2025 (October 1 to December 31, 2025) with the exposure counted per age bucket. Sample: daily rows with capacity_bytes >= 3e12 and a finite nonnegative power-on-hours value, 30,575,671 drive days and 926 failures (1.11% pooled AFR). The rate is 0.36% at 1 to under 2 years, 2.59% at 6 to under 7 and 7.08% at 7 to under 8, from 44 failures in 0.7% of drive days. Association only, one fleet and one quarter, with model mix that changes by age. Correction: Capacity labels corrected on 2026-10-11: the former '20 TB and above' group includes 18 TB drives and is now 'over 16 TB'; '14 to 16 TB' is now 'over 12 to 16 TB'. Same group membership, counts, AFRs and intervals. Re-extracted from all 92 daily files. Updated: 2026-10-24 Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Companion analysis: https://hesela.com/analyses/backblaze-age-missing-data-audit/ Audit: https://hesela.dev/data/methods/backblaze-q4-2025-age-audit.json Generator: https://hesela.dev/data/methods/audit_backblaze_age.py Supplementary artifacts (separate from the source dataset): - finite-record sensitivity results: https://hesela.dev/data/methods/backblaze-age-bounds/results.json. Exact capacity-preserving missing-age bounds: 32 cells, 36 pooled pair comparisons, 72 endpoint witnesses. Not confidence intervals; original CSV and Poisson intervals unchanged. - reproduction guide: https://hesela.dev/data/methods/backblaze-age-bounds/README.md. Python standard-library code, tests, exact aggregate input, source and runtime provenance, and SHA-256 inventory. Columns: - size_class (string): All selected daily rows with capacity_bytes >= 3e12, or a rounded nominal capacity class: up to 12 TB, over 12 to 16 TB, over 16 TB. - age_years (string): Power-on age bucket in years, from smart_9_raw hours divided by 8766 on each drive day. The last bucket is 8 or more. - drive_days (integer): Daily rows (drive days) of the class that fell in the bucket between 2025-10-01 and 2025-12-31. This is the exposure. - share_of_class_drive_days_percent (number): The bucket's share of the class's drive days with an age, one decimal. - failures (integer): Rows with failure = 1 in the bucket. - afr_percent (number): failures / drive_days * 365 * 100, two decimals. Computed here. - afr_low95 (number): Lower bound of the exact two-sided 95% Poisson (Garwood) interval, in percent. Computed here. - afr_high95 (number): Upper bound of the same interval, in percent. Limits: - Missing SMART 9 excludes 106 drive-days and 19 of 945 capacity-eligible failure rows; missingness is not shown to be random. - Age buckets are descriptive, not lifetime estimates; age, model mix and retirement selection are not separated. - Capacity >=3e12 is the inherited selection rule, not a universal classifier of HDDs versus SSDs. SMART counters are not validated against vendor encodings or reset histories. - The separate missing-age supplement permits any age within each known capacity class while keeping observed outcomes fixed; it omits individual timelines and model chronology. Its bounds are not confidence limits, causal effects or future-fleet rankings. Citations: - [bb-data] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily files, 92 CSVs). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-10) - [bb-page] Hard Drive Reliability & Test Data. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-10) - [garwood-1936] Garwood, F. (1936). Fiducial limits for the Poisson distribution. Biometrika 28(3/4), 437-442. https://doi.org/10.1093/biomet/28.3-4.437 (accessed 2026-10-10) - [hesela-age-bounds] Hesela: finite-record missing-age sensitivity results. https://hesela.dev/data/methods/backblaze-age-bounds/results.json (accessed 2026-10-24) ### Power-on age of failed drives versus the fleet, Backblaze Q4 2025 URL: https://hesela.dev/datasets/backblaze-q4-2025-drive-age-at-failure/ Download (CSV): https://hesela.dev/data/datasets/backblaze-q4-2025-drive-age-at-failure.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-q4-2025-drive-age-at-failure.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-q4-2025-drive-age-at-failure.svg Rows: 35 License: Derivative table computed from the Backblaze Drive Stats daily files for Q4 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 35-row aggregate, not the daily SMART archive, and that archive is not for sale. Per-model power-on age of the hard drives that failed in Backblaze's Q4 2025 (October 1 to December 31, 2025) against the age of the fleet on December 31, computed from Backblaze's raw daily Drive Stats files. Sample: 34 hard-drive models, 334,392 drives on December 31, 30,534,025 drive days, 943 failures (1.13% pooled AFR), of which 924 carry a power-on-hours value. Pooled medians are 4.65 years for failed drives and 3.38 years for the fleet, but within single models the two medians are close. Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - model (string): Drive model string as it appears in the daily files. The last row is the pooled row for all included models. - size_tb (integer): Largest capacity_bytes seen for the model, in terabytes (10^12 bytes), rounded. Empty on the pooled row. - drives_2025_12_31 (integer): Rows for the model in the 2025-12-31 daily file, the quarter-end drive count. - drive_days (integer): Daily rows for the model from 2025-10-01 to 2025-12-31. - failures (integer): Rows with failure = 1 in that period. - afr_percent (number): failures / drive_days * 365 * 100, two decimals. Computed here from the daily files. - failures_with_age (integer): Failed drives whose smart_9_raw (power-on hours) was filled in on the failure day. Always at most failures. - fleet_median_age_years (number): Median smart_9_raw on 2025-12-31 over the model's drives, divided by 8766 hours per year. - failed_median_age_years (number): Median smart_9_raw of the failed drives on their failure day, divided by 8766. Empty when no failed drive has the value. Citations: - [bb-data] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily files, 92 CSVs). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-10) - [bb-page] Hard Drive Reliability & Test Data. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-10) - [bb-2025] Backblaze Drive Stats for 2025 (published Q4 2025 AFRs used as a cross-check). https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/ (accessed 2026-10-10) ### Which models make up the 6+ year AFR buckets, Backblaze Q4 2025 URL: https://hesela.dev/datasets/backblaze-q4-2025-old-age-by-model/ Download (CSV): https://hesela.dev/data/datasets/backblaze-q4-2025-old-age-by-model.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-q4-2025-old-age-by-model.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-q4-2025-old-age-by-model.svg Rows: 36 License: Derivative table computed from the Backblaze Drive Stats daily files for Q4 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 36-row aggregate, not the daily SMART archive, and that archive is not for sale. Splits the older power-on age buckets (6 to under 7, 7 to under 8, 8 or more years) of Backblaze's Q4 2025 fleet (October 1 to December 31, 2025) by drive model, from the raw daily Drive Stats files. Sample: hard drives of 3 TB or more with a power-on-hours value; 1,424,836, 226,691 and 1,383,760 drive days in the three buckets, with 101, 44 and 70 failures. In the 7 to under 8 year bucket (7.08% AFR), two models hold 27 plus 13 of the 44 failures: HGST HUH728080ALE600 and Toshiba MG07ACA14TA. Association only, one fleet and one quarter. Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Columns: - age_years (string): Power-on age bucket in years, from smart_9_raw hours divided by 8766 on each drive day: 6 to under 7, 7 to under 8, or 8 or more. - model (string): Drive model string as it appears in the daily files, or the ALL row that closes each bucket and equals the sum of its model rows. - drives (integer): Distinct serial numbers of the model seen in the bucket between 2025-10-01 and 2025-12-31. A drive that crosses a bucket boundary in the quarter counts in both buckets; the ALL row adds the model rows. - drive_days (integer): Daily rows of the model that fell in the bucket. This is the exposure. - share_of_bucket_drive_days_percent (number): The model's share of the bucket's drive days, one decimal. - failures (integer): Rows with failure = 1 for the model in the bucket. - share_of_bucket_failures_percent (number): The model's share of the bucket's failures, one decimal. - afr_percent (number): failures / drive_days * 365 * 100, two decimals. Computed here. - afr_low95 (number): Lower bound of the exact two-sided 95% Poisson (Garwood) interval, in percent. - afr_high95 (number): Upper bound of the same interval, in percent. Very wide for models with few drive days. Citations: - [bb-data] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily files, 92 CSVs). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-10) - [bb-page] Hard Drive Reliability & Test Data. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-10) - [garwood-1936] Garwood, F. (1936). Fiducial limits for the Poisson distribution. Biometrika 28(3/4), 437-442. https://doi.org/10.1093/biomet/28.3-4.437 (accessed 2026-10-10) - [hesela-afr-by-age] Backblaze AFR by drive power-on age, Q4 2025 (the buckets split here). https://hesela.dev/datasets/backblaze-q4-2025-afr-by-age/ (accessed 2026-10-10) ### SMART 5, 187, 188, 197 and 198 in failed versus surviving drives, Backblaze Q4 2025 URL: https://hesela.dev/datasets/backblaze-q4-2025-smart-at-failure/ Download (CSV): https://hesela.dev/data/datasets/backblaze-q4-2025-smart-at-failure.csv Metadata (JSON): https://hesela.dev/data/datasets/backblaze-q4-2025-smart-at-failure.json Chart (SVG): https://hesela.dev/data/datasets/backblaze-q4-2025-smart-at-failure.svg Rows: 24 License: Derivative table computed from the Backblaze Drive Stats daily files for Q4 2025. Cite Backblaze if you use it. You are solely responsible for how you use it. Backblaze's dataset page allows sale of derivative works and forbids selling the Drive Stats data itself. This CSV is a 24-row aggregate, not the daily SMART archive, and that archive is not for sale. Failure-day SMART association in Backblaze Q4 2025: 690 of 926 failed drives reporting at least one selected attribute have a positive raw value (74.5%), versus 8.1% in the December 31 nonfailed snapshot. Of 236 failed rows with reported values but no positive, 66 have all five zero and 170 have partial coverage; another 19 have none. Capacity filter: at least 3 TB. Not a prediction test. Updated: 2026-10-11 Source accessed: 2026-10-10 Source: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data License URL: https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data Audit: https://hesela.dev/data/methods/backblaze-q4-2025-smart-audit.json Coverage data: https://hesela.dev/data/methods/backblaze-q4-2025-smart-coverage.csv Columns: - manufacturer (string): All, or the manufacturer group inferred from the model string: Seagate (ST...), HGST (HGST, HUH, HMS), Toshiba, WDC (WDC, WUH, WD). - attribute (string): smart_5_raw (reallocated sectors), smart_187_raw (reported uncorrectable errors), smart_188_raw (command timeout), smart_197_raw (current pending sectors), smart_198_raw (offline uncorrectable), or any_of_five (at least one of the five above zero). - failed_drives (integer): Unique drives with failure=1 in Q4 2025, capacity_bytes >= 3e12; one failure-day row each. Capacity is a selection rule, not a universal media classifier. - failed_filled (integer): Failed rows with a finite nonnegative attribute value. For any_of_five, at least one of the five valid values, not necessarily all five. - failed_above_zero (integer): Failed drives with the raw value above zero. - failed_percent (number): failed_above_zero / failed_filled * 100, one decimal. Computed here. - failed_percent_low95 (number): Lower bound of the 95% Wilson score interval for failed_percent. Computed here. - failed_percent_high95 (number): Upper bound of the same interval. - survivor_drives (integer): Drives of 3 TB or more in the 2025-12-31 file with failure = 0. - survivor_filled (integer): December 31 nonfailed rows with a finite nonnegative attribute value; any_of_five requires at least one valid value. - survivor_above_zero (integer): Survivors with the raw value above zero. - survivor_percent (number): survivor_above_zero / survivor_filled * 100, one decimal. Computed here. Limits: - Failure-day association is not advance prediction, recall, precision or a deployment false-alarm rate. - Complete-case selection for these five attributes retains only Seagate reporting drives in this quarter; model mix changes with coverage rules. - Partial records with all observed values zero do not establish that all five attributes are zero; no-value records are distinct. - The December 31 snapshot excludes other nonfailed drives that left earlier; cohort timing, model mix and replacement policy limit comparison. - Wilson intervals describe binomial-model uncertainty conditional on available values, not bias from missingness or operational selection. Citations: - [bb-data] Backblaze Hard Drive Test Data, data_Q4_2025.zip (daily files, 92 CSVs). https://f001.backblazeb2.com/file/Backblaze-Hard-Drive-Data/data_Q4_2025.zip (accessed 2026-10-10) - [bb-page] Hard Drive Reliability & Test Data. https://www.backblaze.com/cloud-storage/resources/hard-drive-test-data (accessed 2026-10-10) - [wilson-1927] Wilson, E. B. (1927). Probable inference, the law of succession, and statistical inference. Journal of the American Statistical Association 22(158), 209-212. https://doi.org/10.1080/01621459.1927.10502953 (accessed 2026-10-10) - [audit] Hesela: verified Q4 2025 SMART coverage counts, input/code hashes and limitations. https://hesela.dev/data/methods/backblaze-q4-2025-smart-audit.json (accessed 2026-10-11) - [hesela] Hesela: SMART zeros, missing attributes and failure-day selection. https://hesela.com/analyses/smart-missing-values-not-zero/ (accessed 2026-10-11) ### Bloom filter allocation: equal memory, different lookup cost URL: https://hesela.dev/datasets/bloom-filter-allocation/ Download (CSV): https://hesela.dev/data/datasets/bloom-filter-allocation.csv Metadata (JSON): https://hesela.dev/data/datasets/bloom-filter-allocation.json Rows: 42 License: CC0-1.0 for Hesela's original implementation and computed rows; cited papers and documentation retain their own rights. Fourteen deterministic cases compare equal bits per entry with optimized allocation across three invented runs. Expected probes, not measured latency. Evidence type: analytical-model-evaluation Method: Assume every absent point lookup considers every run, all filter/index metadata is resident, and each false positive costs one equally weighted probe. Use p=exp(-b*ln(2)^2). Minimize sum(p_i) subject to sum(n_i*b_i)=budget and b_i>=0 using KKT conditions and 100-step bounded bisection. Run sizes: 10000, 100000, 1000000 entries. Average budgets: 0, 1, 2, 4, 8, 10, 12 bits per stored entry. No random sample or device I/O. Published: 2026-10-12 Updated: 2026-11-01 Generated: 2026-11-10T06:47:43.392Z Source: https://cs-people.bu.edu/mathan/publications/sigmod17-dayan.pdf License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Code: https://hesela.dev/research/bloom-allocation.mjs Columns: - policy (string): equal: identical bits per entry; optimized: minimum sum of model false-positive probabilities. - budgetBitsPerEntry (number): Total filter budget / total stored entries, bits per entry; not bytes. - totalEntries (number): Sum of entries across the three invented runs, not distinct live database keys. - budgetBits (number): Total ideal filter bit budget, excluding headers, indexes and caches. - run (number): Run number, ascending by entry count; not a RocksDB level identifier. - entries (number): Assumed stored entry count in this run. - bitsPerEntry (number): Continuous ideal filter bits / this run's entries; not rounded hash counts. - filterBits (number): Continuous allocated bits for this run; need not be an integer. - falsePositiveProbability (number): Probability for a key absent from this run under exp(-bitsPerEntry * ln(2)^2); 1 means no filter. - expectedProbes (number): Sum of run false-positive probabilities for one absent point lookup, repeated for each case's three rows. Limits: - Invented run sizes and deterministic arithmetic, not a measured database population. - Continuous ideal approximation with optimal hash count, not exact finite Bloom-filter probabilities. - Only absent point queries: no successful-query early exit, ranges, cache misses, CPU or compaction cost. - No L0 overlap or key-range pruning model; no claimed RocksDB setting or latency improvement. - Zero bits means the run is always probed, not that an empty Bloom filter rejects all keys. - No confidence interval applies to these computed examples; model applicability remains uncertain. - This is not a replication of Monkey's implementation, experimental workloads or full design-space optimizer. Citations: - [bose-finite] Bose et al. On the false-positive rate of Bloom filters. Author manuscript, section 2: condition on occupied bits before averaging. https://people.scs.carleton.ca/~maheshwa/papers/bloom-ipl.pdf (accessed 2026-11-01) - [parquet-split-block] Apache Parquet. Bloom Filter, Technical Approach: eight 32-bit words and shared-input salted masks. https://parquet.apache.org/docs/file-format/bloomfilter/ (accessed 2026-11-01) - [bloom] Burton H. Bloom. Space/time trade-offs in hash coding with allowable errors. Communications of the ACM 13(7), 422-426 (1970), method 2. DOI: 10.1145/362686.362692. https://courses.cs.washington.edu/courses/csep521/21wi/readings/bloom_cacm.pdf (accessed 2026-10-12) - [monkey] Niv Dayan, Manos Athanassoulis and Stratos Idreos. Monkey: Optimal Navigable Key-Value Store. SIGMOD 2017, 79-94; sections 2, 4.1 and 5. DOI: 10.1145/3035918.3064054. https://cs-people.bu.edu/mathan/publications/sigmod17-dayan.pdf (accessed 2026-10-12) - [rocks-bloom] RocksDB project. RocksDB Bloom Filter: statistics, full filters and implementation trade-offs. Documentation reviewed 12 October 2026. https://github.com/facebook/rocksdb/wiki/RocksDB-Bloom-Filter (accessed 2026-10-12) ### Azure disk-error prediction caught 36.5% of faulty disks at a 0.1% false-positive rate, and random cross-validation said 91.6% URL: https://hesela.dev/datasets/cloud-disk-error-prediction/ Download (CSV): https://hesela.dev/data/datasets/cloud-disk-error-prediction.csv Metadata (JSON): https://hesela.dev/data/datasets/cloud-disk-error-prediction.json Rows: 15 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Xu et al., USENIX ATC 2018, built a disk-error predictor for Azure. At a 0.1% false-positive rate it caught 36.50% of faulty disks on one test set (29.67% to 41.09% across three), against 15.51% to 30.51% for SVM and random forest baselines on SMART data; a random split gave 91.64% on the same data. Rows from Backblaze (2016) show the SMART gap in another fleet. Updated: 2026-11-23 Source accessed: 2026-10-10 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www.usenix.org/system/files/conference/atc18/atc18-xu-yong.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/cloud-disk-error-prediction/#rights-and-reuse Companion analysis: https://hesela.com/analyses/cloud-disk-error-prediction/ Rights evidence (primary publication and listed publisher policy only): - Improving Service Availability of Cloud Systems by Predicting Disk Error, Xu et al., USENIX ATC 2018 (USENIX PDF, pages 481 to 494). https://www.usenix.org/system/files/conference/atc18/atc18-xu-yong.pdf (checked 2026-10-13). The paper is publicly readable through USENIX. No standalone reuse license for this CSV was verified. - USENIX Conference Submissions Policy: copyright. https://www.usenix.org/conferences/author-resources/submissions-policy (checked 2026-10-13). Authors retain copyright; this publisher policy is not a license for Hesela's derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - One cloud system of one company, one month of training and one month of testing. - Labels come from engineers' root-cause analyses and some disks return from repair. - TPR is recall: TP/(TP+FN). The paper reports TPR, FPR, AUC and weighted misclassification costs; precision is not reported at the displayed operating point. - Section 3.2 assigns false-positive and false-negative costs a 3:1 weight. These are chosen model weights, not measured currency costs. Unnecessary VM migration consumes resources and cloud capacity; section 5 says recovery cost depends on host state and VM load. - The 63000 minutes saved is the authors' own average after deployment. - The Backblaze rows measure SMART warnings in another fleet, not this model. Citations: - [xu-atc18-pdf] Improving Service Availability of Cloud Systems by Predicting Disk Error, Xu et al., USENIX ATC 2018 (USENIX PDF, pages 481 to 494). https://www.usenix.org/system/files/conference/atc18/atc18-xu-yong.pdf (accessed 2026-11-23) - [backblaze-smart-2016] What SMART Stats Tell Us About Hard Drives, Backblaze, 6 October 2016. https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/ (accessed 2026-10-10) ### Datacenter failure tickets are not failed-device counts URL: https://hesela.dev/datasets/datacenter-hardware-failure-tickets/ Download (CSV): https://hesela.dev/data/datasets/datacenter-hardware-failure-tickets.csv Metadata (JSON): https://hesela.dev/data/datasets/datacenter-hardware-failure-tickets.json Rows: 14 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Fourteen reported-value rows from three historical studies, with distinct counting units and source qualifiers. The separate synthetic burst example illustrates adjacent-gap grouping, not an empirical failure rate. Method: Primary-source review, not a reanalysis of private logs. Wang et al. classify failure operation tickets; Schroeder and Gibson count component replacements; Ford et al. group node-unavailability events. Their populations and outcomes differ. The separate runnable example uses deliberately chosen timestamps and does not reproduce any fleet result. Correction: Review, 16 October 2026: retained all reported numeric values after checking the full PDFs; clarified counting units, operator-response endpoints and chained failure bursts. The 2%/99% concentration remains source-reported, not independently reconstructed. Updated: 2026-10-16 Source accessed: 2026-10-16 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://netman.aiops.org/~peidan/ANM2019/9.EventPrediction/ReadingList/2017DSN_What%20Can%20We%20Learn%20from%20Four%20Years%20of%20Data%20Center%20Hardware%20Failures.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/datacenter-hardware-failure-tickets/#rights-and-reuse Companion analysis: https://hesela.com/analyses/datacenter-hardware-failure-tickets/ Audit: https://hesela.dev/research/failure-bursts/examples.json Code: https://hesela.dev/research/failure-bursts/generate.py Rights evidence (primary publication and listed publisher policy only): - What Can We Learn from Four Years of Data Center Hardware Failures?, Wang, Zhang, and Xu, IEEE/IFIP DSN 2017, pages 25 to 36 (author PDF, copy on the netman.aiops.org reading list). https://netman.aiops.org/~peidan/ANM2018/11.EventPrediction/ReadingList/2017DSN_What%20Can%20We%20Learn%20from%20Four%20Years%20of%20Data%20Center%20Hardware%20Failures.pdf (checked 2026-10-13). The inspected reading-list copy has no explicit reuse notice in its extracted text. No standalone license for the derived CSV or study data was established. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - One company's fleet and ticketing rules; the company is not named in the paper. - A failure is a ticket and includes SMART and error warnings, so shares are not failure rates per drive. - The 42.2 day figure is operator response time, not repair time. - The cause of the November 2015 batch is not known. - The cross-check rows are other systems with other definitions. - The 2%/99% statement is source-reported in Wang section III-D, not independently reconstructed from logs. - Ford's window compares adjacent starts; it is not a fixed total burst duration. Timing alone does not prove common cause. Citations: - [wang-dsn17-pdf] Wang, Zhang and Xu. What Can We Learn from Four Years of Data Center Hardware Failures? DSN 2017, sections II, III-D, V and VI (reading-list PDF). https://netman.aiops.org/~peidan/ANM2019/9.EventPrediction/ReadingList/2017DSN_What%20Can%20We%20Learn%20from%20Four%20Years%20of%20Data%20Center%20Hardware%20Failures.pdf (accessed 2026-10-16) - [schroeder-fast07-pdf] Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you?, Schroeder and Gibson, FAST 2007 (USENIX PDF, section 4 on other components). https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder.pdf (accessed 2026-10-16) - [ford-osdi10-pdf] Availability in Globally Distributed Storage Systems, Ford et al., USENIX OSDI 2010 (USENIX PDF). https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Ford.pdf (accessed 2026-10-16) ### ddrescue image provenance: twelve controlled cases URL: https://hesela.dev/datasets/ddrescue-image-provenance/ Download (CSV): https://hesela.dev/data/ddrescue-image-provenance.csv Metadata (JSON): https://hesela.dev/data/datasets/ddrescue-image-provenance.json Rows: 12 License: Hesela-authored code, observations and derived CSV: MIT. GNU source and documentation retain their licenses and are not redistributed. Complete maps, stale output bytes, approximate map reconstruction and identical images with different acquisition histories. Method: Eight rescue/resume cases, three approximate-map cases and one post-copy modification on a known 4096-byte fixture. Read errors are simulated with --test-mode. Published: 2026-10-18 Updated: 2026-10-18 Generated: 2026-10-18T05:23:15.836662+00:00 License URL: https://hesela.dev/research/ddrescue-provenance/LICENSE Companion analysis: https://hesela.com/analyses/ddrescue-image-provenance/ Code: https://hesela.dev/research/ddrescue-provenance/observe.py Generator: https://hesela.dev/research/ddrescue-provenance/build_publication.py Columns: - case (string): Stable scenario ID, not an independent fleet observation. - mode (string): Rescue, resume, approximate map generation or post-copy modification. - source_bytes (integer): Known fixture extent in bytes. - finished_bytes (integer): Bytes in map ranges marked +, not independently verified image bytes. - matching_source_bytes (integer): Bytes equal to the fixture; differences in these cases occupy whole sectors. - operation_status (integer): Operation exit status; modification is a fixture action, not ddrescue. - done_status (integer): ddrescuelog --done-status over the full map domain. - first_sector_done_status (integer): The same check restricted to the first 512 bytes. - image_sha256 (string): Output digest, not source authentication or acquisition history. Limits: - Regular files only; software-simulated read errors. - One upstream version and build; no hardware recovery rates, power-loss or timing claims. - Map '+' describes rescue bookkeeping, not a digest comparison with the source. - Reused sparse output intentionally violates the documented empty-or-zeroed destination precondition. - Matching-byte totals apply to fixtures with whole-sector differences, not a generic byte-difference calculation. Citations: - [gnu] GNU ddrescue 1.30 manual: sparse output, generate mode and ddrescuelog. https://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html (accessed 2026-10-18) - [source] GNU ddrescue 1.30 source release: rescuebook.cc and genbook.cc. https://ftp.gnu.org/gnu/ddrescue/ddrescue-1.30.tar.lz (accessed 2026-10-18) ### Duplicate lookup coverage: four synthetic cases URL: https://hesela.dev/datasets/dedup-lookup-coverage/ Download (CSV): https://hesela.dev/data/datasets/dedup-lookup-coverage.csv Metadata (JSON): https://hesela.dev/data/datasets/dedup-lookup-coverage.json Rows: 4 License: CC0-1.0 for Hesela's original implementation and synthetic rows. Cited papers retain their own rights. A fixed five-chunk query illustrates missed duplicates with no shared hooks or a one-manifest budget, compared with complete membership. Evidence type: synthetic-deterministic-example Method: Use older manifest [4,5,6], newer manifest [8,9,10] and query [4,5,8,9,11], with 4096 bytes per chunk. Choose hooks using ID modulo sampleModulo = 0. Repeatedly select the manifest covering most uncovered query hooks, breaking ties toward the later manifest, until the budget or positive scores run out. Count exact query matches in selected manifests. Compare with a complete set-membership baseline. All four existing duplicates are the missed-fraction denominator. Published: 2026-10-19 Updated: 2026-10-19 Generated: 2026-10-19T08:15:59.437Z Source: https://hesela.com/analyses/deduplication-restore-fragmentation/#lookup-coverage License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/deduplication-restore-fragmentation/#lookup-coverage Code: https://hesela.dev/research/dedup-lookup.mjs Columns: - scenario (string): Synthetic case name; all four cases use the same fixed query and stored manifests. - sampleModulo (number): Hook predicate: chunk ID modulo this integer equals zero. Blank for the full-membership baseline; not an empirical sampling rate. - maxChampions (number): Maximum selected manifests. Blank for the full-membership baseline. - queryHooks (number): Number of qualifying query IDs, including any not found in stored manifests. Blank for the baseline. - loadedManifests (number): Number of selected manifests examined; not measured I/O. Blank for baseline because its lookup cost is unspecified. - knownDuplicateChunks (number): Incoming distinct chunks already present in any stored manifest, the denominator of missedDuplicateFraction. - foundDuplicateChunks (number): Existing query chunks found in examined manifests, or in the complete membership set for baseline. - missedDuplicateChunks (number): Existing query chunks outside the selected manifests. - newlyStoredChunks (number): Query chunks not found by lookup, including genuinely new chunks and missed duplicates. - storedBytes (number): Newly stored payload bytes at 4096 bytes per chunk, excluding metadata, compression and replicas. - missedDuplicateFraction (number): Missed existing chunks / known existing chunks, dimensionless. Blank when that denominator is zero. Limits: - Hand-picked integer identities are synthetic, not real fingerprints or sampled backup data. - This is a reduced candidate-selection illustration, not a replication or implementation of a complete sparse-indexing system. - No hash collisions, chunking, within-query duplicate IDs, cache, index retention, persistence, compression, placement, timing or failure model. - Loaded manifests are logical selections, not device-read counts. The full-membership baseline has no modeled I/O cost. - Missed duplicates consume additional payload storage; the model does not merge different IDs or test corruption. - Deterministic cases have no sampling uncertainty, confidence interval or observation period; no efficiency estimate for a real workload. Citations: - [lillibridge2009] Lillibridge et al. Sparse Indexing: Large Scale, Inline Deduplication Using Sampling and Locality. USENIX FAST 2009, pp. 111-123. https://www.usenix.org/legacy/event/fast09/tech/full_papers/lillibridge/lillibridge.pdf (accessed 2026-10-19) - [zhu2008] Zhu, Li and Patterson. Avoiding the Disk Bottleneck in the Data Domain Deduplication File System. USENIX FAST 2008, pp. 269-282. https://www.usenix.org/legacy/event/fast08/tech/full_papers/zhu/zhu.pdf (accessed 2026-10-19) ### Deduplication restore locality: a six-request trace URL: https://hesela.dev/datasets/dedup-restore-locality/ Download (CSV): https://hesela.dev/data/datasets/dedup-restore-locality.csv Metadata (JSON): https://hesela.dev/data/datasets/dedup-restore-locality.json Rows: 6 License: CC0-1.0 for Hesela's original model and rows. Cited publications retain their own rights. Six synthetic cold-cache LRU scenarios isolate repeated container reads from unused fetched bytes. No device timings or real backup records. Evidence type: synthetic-deterministic-trace Method: Process each six-request trace in order from an empty LRU container cache. A miss fetches one full 65536-byte container; a hit refreshes recency. Each request emits 4096 bytes. Count misses and multiply by container size, then divide by total emitted bytes. Three cache capacities are evaluated for each of two placements. Published: 2026-10-11 Updated: 2026-10-14 Generated: 2026-10-14T13:29:09.102Z Source: https://hesela.com/analyses/deduplication-restore-fragmentation/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/deduplication-restore-fragmentation/ Code: https://hesela.dev/research/dedup-restore.mjs Columns: - layout (string): Synthetic placement: clustered or interleaved, not a measured system. - trace (string): Container IDs for requests to six distinct chunks in fixed logical order. - cacheContainers (number): LRU cache capacity in whole containers; cache starts empty. - cacheBytes (number): Capacity in bytes, excluding cache metadata. - requests (number): Requested equal-size chunks; six in each example. - uniqueContainers (number): Distinct containers referenced, not total reads. - chunkBytes (number): Bytes restored per request; illustrative fixed-size input. - containerBytes (number): Bytes fetched per miss; full-container read assumption. - containerReads (number): Cache misses, each causing one whole-container fetch. - cacheHits (number): Requests served from the modeled container cache. - restoredBytes (number): Total logical output bytes; denominator of read amplification. - fetchedBytes (number): Total fetched container bytes; includes unused data and rereads. - readAmplification (number): Fetched bytes / restored bytes, dimensionless; not a time ratio. Limits: - Illustrative synthetic inputs, not a sampled population or a reproduction of either paper. - No timing, compression, metadata I/O, range reads, prefetching, concurrent streams, output writes or operating-system cache. - The two placements hold content, request order and container inventory constant; there is no simulated ingest or deduplication ratio. - No implementation of container capping, forward assembly, history-aware rewriting or garbage collection. - Confidence intervals and observation periods do not apply to deterministic arithmetic. Citations: - [lillibridge2013] Mark Lillibridge, Kave Eshghi and Deepavali Bhagwat. Improving Restore Speed for Backup Systems that Use Inline Chunk-Based Deduplication. USENIX FAST 2013, pp. 183-197; sections 2-4. https://www.usenix.org/system/files/conference/fast13/fast13-final124.pdf (accessed 2026-10-11) - [fu2014] Min Fu, Dan Feng, Yu Hua, Xubin He, Zuoning Chen, Wen Xia, Fangting Huang and Qing Liu. Accelerating Restore and Garbage Collection in Deduplication-based Backup Systems via Exploiting Historical Information. USENIX ATC 2014, pp. 181-192; sections 3-6. https://files.usenix.org/s3fs-public/cdn/atc14-paper-fu_min.pdf (accessed 2026-10-11) ### In an 18-month Berkeley study of 368 disks, 7 data disks failed against 13 enclosure backplane failures; disks were 90% of parts but about 4% of errors URL: https://hesela.dev/datasets/disk-error-behavior-1990s-storage-prototype/ Download (CSV): https://hesela.dev/data/datasets/disk-error-behavior-1990s-storage-prototype.csv Metadata (JSON): https://hesela.dev/data/datasets/disk-error-behavior-1990s-storage-prototype.json Rows: 15 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Talagala and Patterson (UC Berkeley, 1999) logged 18 months of a prototype with 368 SCSI data disks. 7 data disks failed (1.9%), against 13 of 46 enclosures, and disks were about 90% of parts but around 4% of errors. Cross-check rows come from Schroeder and Gibson (FAST 2007) and Ford et al. (OSDI 2010). Updated: 2026-10-13 Source accessed: 2026-10-11 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www2.eecs.berkeley.edu/Pubs/TechRpts/1999/CSD-99-1042.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/disk-error-behavior-1990s-storage-prototype/#rights-and-reuse Companion analysis: https://hesela.com/analyses/disk-error-behavior-1990s-storage-prototype/ Rights evidence (primary publication and listed publisher policy only): - An Analysis of Error Behavior in a Large Storage System, Talagala and Patterson, UC Berkeley technical report UCB/CSD-99-1042, February 1999 (author PDF, 18 pages). https://www2.eecs.berkeley.edu/Pubs/TechRpts/1999/CSD-99-1042.pdf (checked 2026-10-13). The official Berkeley report was retrieved and inspected. No explicit reuse notice was found in its extracted text; this is not evidence of permission or a prohibition. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - One small prototype built from 1996 parts; says little about modern drives. - Counts are small: 7 disk failures and 1 failure for several other types. - Failures are replacements over 18 months, not annual rates. - The error table and the text disagree slightly on data disk errors and machine counts. - The cross-check rows are other systems with other definitions. Citations: - [talagala-ucb99-pdf] An Analysis of Error Behavior in a Large Storage System, Talagala and Patterson, UC Berkeley technical report UCB/CSD-99-1042, February 1999 (author PDF, 18 pages). https://www2.eecs.berkeley.edu/Pubs/TechRpts/1999/CSD-99-1042.pdf (accessed 2026-10-11) - [schroeder-fast07-pdf] Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you?, Schroeder and Gibson, FAST 2007 (USENIX PDF, section 4). https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder.pdf (accessed 2026-10-11) - [ford-osdi10-pdf] Availability in Globally Distributed Storage Systems, Ford et al., USENIX OSDI 2010 (USENIX PDF, section 3). https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Ford.pdf (accessed 2026-10-11) ### Enterprise SSD replacement rates: reading the NetApp field evidence URL: https://hesela.dev/datasets/enterprise-ssd-replacements/ Download (CSV): https://hesela.dev/data/datasets/enterprise-ssd-replacements.csv Metadata (JSON): https://hesela.dev/data/datasets/enterprise-ssd-replacements.json Rows: 17 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Maneas et al., FAST 2020, mined NetApp support messages for about 1.4 million SSDs (3 manufacturers, 18 models, January 2017 to May 2019). The average annual replacement rate was 0.22%, from 0.07% to nearly 1.2% by model. Early firmware versions of some families were replaced 2 to more than 10 times as often as later ones, and the chance of another replacement within a week in a RAID group was 9.39% against 0.0504% in a random week. Cross-check rows come from Google (FAST 2016). Updated: 2026-10-27 Source accessed: 2026-10-10 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://files.usenix.org/s3fs-public/cdn/fast20-maneas.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/enterprise-ssd-replacements/#rights-and-reuse Companion analysis: https://hesela.com/analyses/enterprise-ssd-replacements/ Rights evidence (primary publication and listed publisher policy only): - A Study of SSD Reliability in Large Scale Enterprise Storage Deployments, Maneas et al., FAST 2020 (USENIX PDF). https://files.usenix.org/s3fs-public/cdn/fast20-maneas.pdf (checked 2026-10-13). The paper is publicly readable through USENIX. No standalone reuse license for this CSV was verified. - USENIX Conference Submissions Policy: copyright. https://www.usenix.org/conferences/author-resources/submissions-policy (checked 2026-10-13). Authors retain copyright; this publisher policy is not a license for Hesela's derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - Replacement is an operator action and about a third of replacements are predictive, so the annual replacement rate is not a data-loss rate. - The reason is missing for 40% of replacement events and the paper assumes the rest are spread in proportion. - The firmware effect is within one family; the cause is an explanation in the paper, not a measurement. - Rated life used is a truncated integer, so many drives show 0. - The Google rows measure the share of drives removed in 4 years, not an annual rate, and cover another fleet. - The 0.0504% and 9.39% values are RAID-group probabilities over one-week windows, not individual-drive probabilities or replacement rates per unit time. The 52% figure instead describes observed consecutive-replacement gaps in groups with multiple replacements; it is not the probability that an arbitrary group has a follow-up replacement. Citations: - [maneas-fast20-pdf] A Study of SSD Reliability in Large Scale Enterprise Storage Deployments, Maneas et al., FAST 2020 (USENIX PDF). https://files.usenix.org/s3fs-public/cdn/fast20-maneas.pdf (accessed 2026-10-27) - [schroeder-fast16-pdf] Flash Reliability in Production: The Expected and the Unexpected, Schroeder, Lagisetty, and Merchant, FAST 2016 (USENIX PDF). https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-10-10) ### Perseus fail-slow drives: reported counts and benchmark limits URL: https://hesela.dev/datasets/fail-slow-drives-software-scheduling/ Download (CSV): https://hesela.dev/data/datasets/fail-slow-drives-software-scheduling.csv Metadata (JSON): https://hesela.dev/data/datasets/fail-slow-drives-software-scheduling.json Rows: 15 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Reported Perseus drive counts and benchmark scores, with population limits and a separate comparison to operator incident reports. Updated: 2026-10-15 Source accessed: 2026-10-15 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www.usenix.org/system/files/fast23-lu.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/fail-slow-drives-software-scheduling/#rights-and-reuse Companion analysis: https://hesela.com/analyses/fail-slow-drives-software-scheduling/ Rights evidence (primary publication and listed publisher policy only): - Perseus: A Fail-Slow Detection Framework for Cloud Storage Systems, Lu, Xu, Zhang, Zhu, Zhu, Wang, Zhu, Xue, Shu, Li, and Wu, USENIX FAST 2023 (USENIX PDF, sections 5 and 6). https://www.usenix.org/system/files/fast23-lu.pdf (checked 2026-10-13). The paper is publicly readable through USENIX. No standalone reuse license for this CSV was verified. - USENIX Conference Submissions Policy: copyright. https://www.usenix.org/conferences/author-resources/submissions-policy (checked 2026-10-13). Authors retain copyright; this publisher policy is not a license for Hesela's derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - One operator's drives and scheduling software. - 216 of the 252 software-caused drives were in two open-channel SSD clusters, so the 80% share is concentrated. - Only 15 of the 63 hardware cases have a vendor root cause. - Precision and recall are on a benchmark built mostly from drives the detector flagged. - The cross-check rows are incident reports from other institutions with other definitions. - The node-wise reference can miss a shared-path slowdown affecting all peers; matching drive models and similar workloads are assumptions, not guarantees for other fleets. Citations: - [lu-fast23-pdf] Perseus: A Fail-Slow Detection Framework for Cloud Storage Systems, Lu, Xu, Zhang, Zhu, Zhu, Wang, Zhu, Xue, Shu, Li, and Wu, USENIX FAST 2023 (USENIX PDF, sections 5 and 6). https://www.usenix.org/system/files/fast23-lu.pdf (accessed 2026-10-15) - [gunawi-fast18-pdf] Fail-Slow at Scale: Evidence of Hardware Performance Faults in Large Production Systems, Gunawi et al., USENIX FAST 2018 (USENIX PDF, sections 2 to 3). https://www.usenix.org/system/files/conference/fast18/fast18-gunawi.pdf (accessed 2026-10-11) ### IOPS, bandwidth, queue depth and latency: a worked table from Little's law URL: https://hesela.dev/datasets/fio-iops-bandwidth-latency-calc/ Download (CSV): https://hesela.dev/data/datasets/fio-iops-bandwidth-latency-calc.csv Metadata (JSON): https://hesela.dev/data/datasets/fio-iops-bandwidth-latency-calc.json Chart (SVG): https://hesela.dev/data/datasets/fio-iops-bandwidth-latency-calc.svg Rows: 100 License: The table is arithmetic computed here from Little's law and from the unit conventions of fio. No third-party data or documentation text is copied. Reuse is fine with attribution to this site. How IOPS, bandwidth, queue depth and mean latency relate, as a worked table of 100 rows: four block sizes (4 KiB to 1 MiB), queue depths of 1 to 128 and mean latencies of 100 microseconds to 10 milliseconds. The rules are IOPS = queue depth / mean latency (Little's law) and bandwidth = IOPS x block size, in decimal MB/s and in MiB/s as fio prints them. Pure arithmetic, no measurement. For example, queue depth 1 at 100 microseconds is 10,000 IOPS and 40.96 MB/s at 4 KiB, and queue depth 32 at 1 millisecond is 32,000 IOPS. Source accessed: 2026-10-10 Source: https://en.wikipedia.org/wiki/Little%27s_law License URL: https://en.wikipedia.org/wiki/Wikipedia:Copyrights Columns: - block_size_bytes (integer): I/O size in bytes: 4096, 16384, 131072, 1048576. These are the values fio reads from bs=4k, 16k, 128k, 1m with its default kb_base of 1024. - queue_depth (integer): I/Os in flight, the fio iodepth option, and L in Little's law. - mean_latency_us (integer): Mean time one I/O spends in the system, in microseconds, and W in Little's law. - iops (integer): queue_depth / mean_latency_us * 1e6, I/Os per second. Computed here. - bandwidth_mb_s (number): iops * block_size_bytes / 1e6, two decimals, decimal megabytes per second (the kB/s style fio prints). - bandwidth_mib_s (number): iops * block_size_bytes / 2^20, two decimals, mebibytes per second (the KiB/s style fio prints). Citations: - [little] Little's law, Wikipedia: L = lambda W and the response-time example. https://en.wikipedia.org/wiki/Little%27s_law (accessed 2026-10-11) - [fio] fio documentation: iodepth, blocksize, kb_base and unit prefixes. https://fio.readthedocs.io/en/latest/fio_doc.html (accessed 2026-10-11) ### SSD mapping-table footprint: exact byte accounting URL: https://hesela.dev/datasets/ftl-mapping-footprint/ Download (CSV): https://hesela.dev/data/datasets/ftl-mapping-footprint.csv Metadata (JSON): https://hesela.dev/data/datasets/ftl-mapping-footprint.json Rows: 12 License: CC0-1.0 for Hesela's original code and computed rows. Source publications retain their own rights. Twelve constructed flat-map cases distinguish TB from TiB, mapping granularity from host sectors, and cache address coverage from cached user data. Evidence type: deterministic-arithmetic-examples Method: C in {10^12, 2^40, 4*2^40} logical bytes; G in {4096,16384} bytes per mapping; E in {4,8} bytes per entry; cache payload B=64*2^20 bytes. Entries=ceil(C/G), full map=entries*E, cached entries=min(floor(B/E),entries), cached address span=min(C,cached entries*G). These are selected assumptions, not measured firmware layouts. Published: 2026-10-12 Updated: 2026-10-12 Generated: 2026-11-01T17:40:38.124Z Source: https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal.pdf License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Code: https://hesela.dev/research/ftl-mapping.mjs Columns: - capacityBytes (number): Assumed logical capacity in bytes; decimal TB and binary TiB remain distinct. - mappingUnitBytes (number): Logical bytes represented by one mapping; not necessarily a host sector or NAND page. - entryBytes (number): Assumed flat-map entry payload in bytes; excludes cache tags and other metadata. - cacheBytes (number): Assumed mapping-entry payload budget in bytes; not a measured HMB allocation. - entryCount (number): Ceiling of logical capacity divided by mapping-unit size. - fullMapBytes (number): Exact bytes in the flat mapping payload, excluding all ancillary structures. - cachedEntries (number): Whole entries that fit, capped at the full map entry count. - cachedLogicalBytes (number): Maximum logical address span represented by those entries, capped at logical capacity; not cached user data. Limits: - All inputs are constructed; no devices, firmware, address traces or HMB allocations were measured. - Entry payload omits tags, replacement state, directories, validity bits, reverse maps, alignment and recovery metadata. - No compression or hierarchical/block/hybrid mapping. Four-byte and eight-byte widths are assumptions, not universal encodings. - Coverage is not hit ratio, RAM recommendation, throughput, latency or power-loss protection. - Mapping-unit size is independent of host sector and NAND page size in this model. - Exact integer arithmetic is deterministic; no statistical confidence interval applies. Citations: - [agrawal] Nitin Agrawal, Vijayan Prabhakaran, Ted Wobber, John D. Davis, Mark Manasse and Rina Panigrahy. Design Tradeoffs for SSD Performance. USENIX ATC 2008, pp. 57-70, sections 3.1, 3.4 and 4. https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal.pdf (accessed 2026-10-12) ### HDD rotational latency by spindle speed URL: https://hesela.dev/datasets/hdd-rotational-latency-calc/ Download (CSV): https://hesela.dev/data/datasets/hdd-rotational-latency-calc.csv Metadata (JSON): https://hesela.dev/data/datasets/hdd-rotational-latency-calc.json Chart (SVG): https://hesela.dev/data/datasets/hdd-rotational-latency-calc.svg Rows: 6 License: CC0-1.0 for the generated rows, which are arithmetic. The cited article keeps its own rights and no text from it is copied. One-revolution periods and uniform-phase mean waits for six spindle speeds from 3,600 to 15,000 rpm. At 7,200 rpm the period is 8.33 ms and the model mean is 4.17 ms. The reciprocal mean gives 240 operations/s in this rotation-only serial model, not an HDD performance ceiling. Calculated values, no drive measurements. Evidence type: arithmetic from a published definition; no measurements Method: Assume constant spindle speed and uniform target-relative phase after positioning. The period is 60000 / rpm ms and the mean remaining rotational wait is half that period. The platter continues rotating during a seek. For continuously busy serial service with only this wait, reciprocal mean service time is rpm / 30 operations/s. Compute from unrounded values, then round for display; do not invert the rounded CSV mean. The published column retains the Wikipedia cross-check recorded on 2026-10-12, not a new measurement. OSTEP chapter 37 explains the access components; Ruemmler and Wilkes (1994) describe why correlated requests require phase-aware modeling. Correction: 2026-11-06: clarified the conditional phase model and removed the general IOPS-ceiling interpretation. Original six CSV rows, column identifiers and recorded published-value cross-checks are unchanged. Published: 2026-10-12 Updated: 2026-11-06 Source: https://pages.cs.wisc.edu/~remzi/OSTEP/file-disks.pdf License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/tech/hdd/ Code: https://hesela.dev/scripts/build-hdd-rotational-latency.py Columns: - rpm (integer): Spindle speed in revolutions per minute. - revolutions_per_second (number): rpm / 60, two decimals. - max_latency_ms (number): 60000 / rpm: one-revolution period in milliseconds at constant RPM, rounded to two decimals. Legacy field name retained; this bounds a single uninterrupted wait for the next target-sector passage, not total request latency. - avg_latency_ms (number): Half of the unrounded revolution period under a uniform target-relative phase model after positioning, rounded to two decimals. - published_avg_latency_ms (number): Average rotational latency as printed in the cited Wikipedia article (table for 4,200 to 15,000 rpm, text for 3,600 rpm). The build checks it equals avg_latency_ms. - rotation_only_iops_qd1 (number): 1000 divided by the unrounded uniform-phase mean wait in ms, equivalently rpm / 30. Conditional continuously busy serial-model rate with rotation as the only delay, rounded to one decimal; not a workload-independent IOPS ceiling. Limits: - Arithmetic from a definition, not measurements of any drive. No confidence interval applies. - Uniform phase after positioning is an assumption, not a consequence of RPM or queue depth. Locality, read-ahead and rotation-aware scheduling can change the service process. - One revolution bounds only the single uninterrupted wait for the next target-sector passage. Seeking, transfer, queuing, retries and controller work can make request latency longer. The reciprocal model mean is not a workload-independent IOPS ceiling. - Spindle speeds are the round values in the cited article. A drive can differ from its nominal speed. Citations: - [ostep-hdd] Arpaci-Dusseau and Arpaci-Dusseau: OSTEP, chapter 37, sections 37.3-37.5 (rotation, positioning and scheduling). https://pages.cs.wisc.edu/~remzi/OSTEP/file-disks.pdf (accessed 2026-11-06) - [disk-model] Ruemmler and Wilkes: An Introduction to Disk Drive Modeling, IEEE Computer 27(3):17-29 (March 1994), controller and rotational-position modeling sections. https://www.pdl.cmu.edu/Publications/HTML-Papers/DiskModeling/i.shtml (accessed 2026-11-06) - [wp-hddperf] Hard disk drive performance characteristics, Wikipedia: rotational latency section and table of typical figures. https://en.wikipedia.org/wiki/Hard_disk_drive_performance_characteristics (accessed 2026-10-12) ### HDF5 checksum coverage and reader-state observations URL: https://hesela.dev/datasets/hdf5-checksum-coverage/ Download (CSV): https://hesela.dev/data/datasets/hdf5-checksum-coverage.csv Metadata (JSON): https://hesela.dev/data/datasets/hdf5-checksum-coverage.json Rows: 57 License: CC0-1.0 for the original coverage, reader-state and heap code and observations; the separate scale-offset supplement retains its own README terms. Upstream materials retain their licenses. Controlled HDF5 1.14.6 observations separate declared Fletcher32, partial-edge coverage, failure callbacks and reuse of unchecked cached values. Evidence type: controlled-native-library-observations Method: One-dimensional synthetic uint32 arrays, eight-element chunks, one-bit payload mutations and intact controls. Seven coverage cases, eight fresh-reader combinations and four cache sequences, each repeated three times; three growth sequences and one fill control remain in raw JSON. Published: 2026-10-19 Updated: 2026-11-02 Generated: 2026-10-19T04:26:19.845456+00:00 Source: https://hesela.com/analyses/checksums-identity-and-lost-writes/#hdf5-coverage License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/#hdf5-coverage Code: https://hesela.dev/research/hdf5-verification/hdf5_filter_coverage.py Generator: https://hesela.dev/research/hdf5-verification/build-dataset.mjs Supplementary artifacts (separate from the source dataset): - protocol: https://hesela.dev/research/hdf5-scaleoffset/README.md. Separate 26-case scale-offset round-trip package: data, code, sources and its own reuse terms. - observations-json: https://hesela.dev/research/hdf5-heap-integrity/observations.json. 27 designed heap/chunk cases, independent byte oracle and exact mutation offsets. - code: https://hesela.dev/research/hdf5-heap-integrity/observe.py. Native-library experiment with fresh readers and an explicit VLEN Fletcher32 creation probe. - tests: https://hesela.dev/research/hdf5-heap-integrity/test_observe.py. Ten regression controls. - requirements: https://hesela.dev/research/hdf5-heap-integrity/requirements.txt. Pinned Python packages; inspect recorded HDF5 and zlib versions. - sources: https://hesela.dev/research/hdf5-heap-integrity/sources.json. Primary contracts and access dates. - protocol: https://hesela.dev/research/hdf5-heap-integrity/README.md. Reproduction, acceptance boundaries and limitations. - observations-json: https://hesela.dev/research/hdf5-conversion/observations.json. 36 integer-conversion sequences, 108 intact files and damage controls on HDF5 1.14.6. - observations-json: https://hesela.dev/research/hdf5-conversion/review-1.14.2.json. Second-build replay: 12 sequences and 36 files on HDF5 1.14.2. - protocol: https://hesela.dev/research/hdf5-conversion/publication-README.md. Exact integer encoding, code manifest, pinned environments and review limits. - observations-json: https://hesela.dev/research/hdf5-requant/observations.json. Separate eight-case partial-update fixture: 240 readbacks plus eight baselines on HDF5 1.14.2; not part of the coverage CSV. - protocol: https://hesela.dev/research/hdf5-requant/README.md. Reproduction, exact binary identity, C/sec2 replay and limitations. - archive: https://hesela.dev/research/hdf5-requant/evidence-c-replay.zip. Unmodified 28-member code and evidence bundle; original material CC0-1.0. Columns: - phase (string): Coverage mutation, fresh-reader policy, or strict read after permissive cache priming. - case (string): Designed case identifier; reader-policy cases include clean/damaged fixture. - repetition (number): Repeat on one build, not an independent population sample. - mask (number): Stored chunk filter mask; zero alone does not establish checksum coverage. - storedBytes (number): Stored target-chunk bytes, including checksum when present. - edcEnabled (boolean): Requested checking policy, not proof that checking ran. - cacheBytes (number-or-null): Explicit budget in reader cases; null in coverage cases, whose cache budget was not recorded. - outcome (string): returned-values or read-error; success does not establish agreement with the clean fixture. Limits: - One Linux x86_64 build: h5py 3.15.0, HDF5 1.14.6, NumPy 2.3.3. Fileobj/BytesIO and v110/v110 format bounds. - Designed cases establish behavior, not corruption incidence, confidence intervals, throughput or hardware-fault results. - Edge skipping, EDC disabling and callback continuation are explicit opt-outs, not ordinary h5py defaults. - Mask inspection is a coverage precondition, not checksum verification; raw chunk reads bypass filters. - No SWMR, parallel I/O, compression chains, third-party filters, power failure or cross-version claim. - Later handle/refresh anomaly research is deliberately excluded from this dataset and its recommendations. Citations: - [h5-edge-api] HDF Group: H5Pset_chunk_opts, Dataset Creation Properties. https://support.hdfgroup.org/documentation/hdf5/latest/group___d_c_p_l.html (accessed 2026-10-19) - [h5-chunk-source] HDF5 1.14.6 H5Dchunk.c: chunk flush and partial-edge read paths. https://github.com/HDFGroup/hdf5/blob/hdf5_1.14.6/src/H5Dchunk.c (accessed 2026-10-19) - [h5-direct-api] HDF Group: H5Dwrite_chunk and H5Dread_chunk. https://docs.hdfgroup.org/archive/support/HDF5/doc/RM/RM_H5D.html (accessed 2026-10-19) - [h5py-low] h5py DatasetID API: chunk information and direct chunk methods. https://api.h5py.org/h5d.html (accessed 2026-10-19) - [h5-edc-api] HDF Group: H5Pset_edc_check and H5Pget_edc_check. https://support.hdfgroup.org/documentation/hdf5/latest/group___d_x_p_l.html (accessed 2026-10-19) - [h5-fletcher-source] HDF5 1.14.6 H5Zfletcher32.c. https://github.com/HDFGroup/hdf5/blob/hdf5_1.14.6/src/H5Zfletcher32.c (accessed 2026-10-19) - [h5py-high] h5py 3.15.1: Datasets and filter pipeline. https://docs.h5py.org/en/3.15.1/high/dataset.html (accessed 2026-10-19) - [h5-header] HDF5 1.14.6 H5Dpublic.h. https://github.com/HDFGroup/hdf5/blob/hdf5_1.14.6/src/H5Dpublic.h (accessed 2026-10-19) - [h5-pipeline] HDF5 1.14.6: H5Z_pipeline filter-failure callback. https://github.com/HDFGroup/hdf5/blob/hdf5_1.14.6/src/H5Z.c#L1446 (accessed 2026-10-19) ### HDF5 chunk-cache read observations URL: https://hesela.dev/datasets/hdf5-chunk-cache-reads/ Download (CSV): https://hesela.dev/data/datasets/hdf5-chunk-cache-reads.csv Metadata (JSON): https://hesela.dev/data/datasets/hdf5-chunk-cache-reads.json Rows: 18 License: CC0-1.0 for Hesela's original code and observations; upstream libraries and documents retain their licenses. Six cache and access-order cases, repeated three times, measure raw chunk reads for 32 scalar selections from a synthetic compressed HDF5 array. Evidence type: measured-library-reads Method: Fresh HDF5 open per case over the same synthetic in-memory file. Trace read/readinto calls during 32 scalar selections; match exact stored chunk extents; retain metadata reads separately in each step. Published: 2026-10-17 Updated: 2026-10-20 Generated: 2026-10-17T21:07:26.357518+00:00 Source: https://hesela.com/analyses/hdf5-chunk-cache-read-amplification/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/hdf5-chunk-cache-read-amplification/ Code: https://hesela.dev/research/hdf5-chunk-cache.py Generator: https://hesela.dev/scripts/build-hdf5-chunk-cache.mjs Supplementary artifacts (separate from the source dataset): - observations-json: https://hesela.dev/research/hdf5-vlen/observations.json. Separate variable-length storage experiment: 72 cases, full environment and exact record readbacks. - observations-csv: https://hesela.dev/research/hdf5-vlen/observations.csv. Flattened string-storage measurements; not rows of the original cache-read dataset. - code: https://hesela.dev/research/hdf5-vlen/hdf5_vlen_storage.py. Executable string-layout experiment, original code CC0-1.0. - tests: https://hesela.dev/research/hdf5-vlen/test_hdf5_vlen_storage.py. Regression controls for exact record recovery and invalid inputs. - requirements: https://hesela.dev/research/hdf5-vlen/requirements.txt. Pinned Python packages; inspect library builds recorded in the observation JSON. - protocol: https://hesela.dev/research/hdf5-vlen/README.md. Units, accounting boundaries, limitations and reproduction instructions. - sources: https://hesela.dev/research/hdf5-vlen/sources.json. Primary-source contracts and access dates. Columns: - repetition (number): One-based repeat on the same host, not an independent performance sample. - case (string): Stable case identifier. - order (string): Scalar coordinate order: round-robin across chunks, or grouped by chunk. - rdccNslots (number): Effective raw-data chunk cache hash-table slots. - rdccNbytes (number): Effective raw-data chunk cache byte capacity, excluding other memory. - rdccW0 (number): Effective eviction parameter, fixed at zero. - scalarSelections (number): Number of scalar application reads. - selectedBytes (number): Returned application bytes: scalar selections times four. - rawChunkReads (number): File-driver read callbacks exactly matching a stored chunk extent. - rawChunkBytes (number): Sum of stored payload bytes in those callbacks, excluding metadata. - chunkDecodeBytesInferred (number): Arithmetic inference: rawChunkReads times 4096, not measured filter callbacks. Limits: - One library build and synthetic trace, not a workload sample or paper replication. - No disk, OS page-cache, latency, throughput, power-loss or device-failure measurement. - Decoded bytes are inferred as raw chunk reads times uncompressed chunk size; filter callbacks were not instrumented. - One slot deliberately forces conflicts; 17 slots is a measured control for this layout, not a universal optimum. Citations: - [h5-compression] The HDF Group (2015): Improving I/O Performance When Working with HDF5 Compressed Datasets, pp. 7-20. https://support.hdfgroup.org/releases/hdf5/documentation/hdf5_topics/HDF5ImprovingIOPerformanceCompressedDatasets.pdf (accessed 2026-10-17) - [h5-chunking] The HDF Group: Chunking in HDF5, chunk caching and filters. https://support.hdfgroup.org/documentation/hdf5-docs/advanced_topics/chunking_in_hdf5.html (accessed 2026-10-17) - [h5py-file] h5py 3.15: File objects, Python file-like objects and chunk cache. https://docs.h5py.org/en/3.15.0/high/file.html (accessed 2026-10-17) - [h5py-dataset] h5py 3.15: Datasets, chunked storage and filter pipeline. https://docs.h5py.org/en/3.15.0/high/dataset.html (accessed 2026-10-17) - [h5py-low] h5py low-level API: DatasetID.get_chunk_info_by_coord. https://api.h5py.org/h5d.html (accessed 2026-10-17) ### HDF5 SWMR visibility observations URL: https://hesela.dev/datasets/hdf5-swmr-visibility/ Download (CSV): https://hesela.dev/data/datasets/hdf5-swmr-visibility.csv Metadata (JSON): https://hesela.dev/data/datasets/hdf5-swmr-visibility.json Rows: 27 License: CC0-1.0 for Hesela's original harness and observations; upstream libraries and documents retain their own licenses. Nine ordered checkpoints repeated 3 times distinguish readable HDF5 arrays from complete published pairs, using synthetic integer inputs and a live separate reader. Evidence type: measured-api-behavior Method: One live writer and one spawned reader; pipe handshakes pause writes at each observation; all datasets created before SWMR; fixed-size integers, one-element chunks, no compression. Published: 2026-10-17 Updated: 2026-10-28 Generated: 2026-10-17T17:12:23.547422+00:00 Source: https://hesela.com/analyses/hdf5-swmr-application-consistency/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/hdf5-swmr-application-consistency/ Code: https://hesela.dev/research/hdf5-swmr.py Generator: https://hesela.dev/scripts/build-hdf5-swmr.mjs Columns: - repetition (integer): One-based repeated run on the same host; not an independent reliability sample. - checkpoint (integer): One-based ordered checkpoint within the run. - phase (string): Operation boundary chosen by the harness. - xRecords (integer): Refreshed x dataset length in records. - yRecords (integer): Refreshed y dataset length in records. - watermarkRecords (integer): Application-selected published prefix length in records. - rejected (boolean): True if the count exceeds available paired rows. - selectedPrefix (JSON): Selected integer pairs, or null when rejected; test values have no physical units. Limits: - One host. Synthetic values are test inputs, not sensor measurements. No power loss, process crash, fsync audit, network filesystem, competing writers or performance test. Watermark ordering is an application demonstration, not a crash-safe transaction protocol. - Only 3 repeats on one host; no failure probability or confidence interval is estimated. - Final two checkpoints intentionally violate the publication rule. The count is not a snapshot, checksum or crash-safe commit. - Filesystem magic does not identify exact ext-family version or mount options. - A deterministic pause exposes a possible intermediate state, not its production frequency. Citations: - [h5py-swmr] h5py 3.15: Single Writer Multiple Reader. https://docs.h5py.org/en/3.15.0/swmr.html (accessed 2026-10-17) - [swmr-design] The HDF Group: SWMR metadata flush dependencies. https://support.hdfgroup.org/releases/hdf5/2.2.0/documentation/hdf5-2.2.0.doxygen/_s_w_m_r_t_n.html (accessed 2026-10-17) - [h5d] The HDF Group: H5Dflush and H5Drefresh. https://support.hdfgroup.org/documentation/hdf5/latest/group___h5_d.html (accessed 2026-10-17) - [h5-lock] The HDF Group: File locking and superblock flags. https://support.hdfgroup.org/documentation/hdf5/latest/_file_lock.html (accessed 2026-10-17) - [h5clear] The HDF Group: h5clear is not a general repair tool. https://support.hdfgroup.org/documentation/hdf5/latest/_h5_t_o_o_l__c_r__u_g.html (accessed 2026-10-17) - [h5-model] The HDF Group: HDF5 Data Model and File Structure. https://support.hdfgroup.org/documentation/hdf5/latest/_h5_d_m__u_g.html (accessed 2026-10-17) ### HDF5 virtual dataset dependency observations URL: https://hesela.dev/datasets/hdf5-vds-dependencies/ Download (CSV): https://hesela.dev/data/datasets/hdf5-vds-dependencies.csv Metadata (JSON): https://hesela.dev/data/datasets/hdf5-vds-dependencies.json Rows: 24 License: CC0-1.0 for Hesela's original harness and observations; upstream libraries and documents retain their licenses. Eight controlled cases distinguish a byte-identical virtual dataset file from complete and correctly resolved source arrays. Evidence type: measured-api-behavior Method: Eight fresh private fixtures per repetition. Each VDS maps two three-element int32 arrays into fixed (2,3) shape, once with default fill and once with -999. Every final observation uses a fresh Python process and empty working directory; HDF5_VDS_PREFIX is unset except in the named override case. All handles close before mutations. A separately materialized baseline is a control. Published: 2026-10-18 Updated: 2026-10-18 Generated: 2026-10-17T21:21:32.318946+00:00 Source: https://hesela.com/analyses/hdf5-virtual-datasets-missing-sources/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/hdf5-virtual-datasets-missing-sources/ Code: https://hesela.dev/research/hdf5-vds.py Generator: https://hesela.dev/scripts/build-hdf5-vds.mjs Columns: - repetition (integer): One-based repeat on the same host, not an independent reliability trial. - case (string): Controlled source-availability or resolution change. - readerExitCode (integer): Final reader process exit code; zero means it completed all three dataset reads. - viewHashMatches (boolean): VDS file SHA-256 equals its pre-change hash. - colocatedSourceHashesMatch (boolean): Both named source files beside the VDS match baseline hashes; not a resolver audit. - prefixOverride (boolean): Reader received a controlled HDF5_VDS_PREFIX containing a replacement b.h5. - defaultValues (JSON): Full fixed-shape VDS array with default fill value zero; dimensionless synthetic integers. - sentinelValues (JSON): Full fixed-shape VDS array with explicit fill value -999. - materializedValues (JSON): Ordinary array copied while baseline sources were present, before any mutation. Limits: - Synthetic integers without physical units; not a scientific instrument dataset. - One host and pinned library build; repetitions are not independent reliability trials. - No power failure, concurrent writer, corrupt source, permissions fault or network filesystem test. - Fixed relative filenames only; no unlimited selections, printf mappings, nested VDS or external links. - Colocated hashes cover named files beside the VDS, not the library's complete resolution environment. - The materialized control preserves this array only, not every group, attribute or scientific dependency. Citations: - [h5py-vds] h5py 3.15.0: Virtual Datasets. https://docs.h5py.org/en/3.15.0/vds.html (accessed 2026-10-17) - [h5-vds] The HDF Group: Introduction to the Virtual Dataset. https://support.hdfgroup.org/documentation/hdf5/latest/_v_d_s_t_n.html (accessed 2026-10-17) - [h5-properties] The HDF Group: H5Pset_virtual source-file resolution and H5Pset_fill_value. https://support.hdfgroup.org/documentation/hdf5/latest/group___d_c_p_l.html (accessed 2026-10-17) - [h5py-dataset] h5py 3.15.0: Dataset.is_virtual and Dataset.virtual_sources. https://docs.h5py.org/en/3.15.0/high/dataset.html (accessed 2026-10-17) ### Key-value separation: cleaning-cost sensitivity URL: https://hesela.dev/datasets/kv-separation-cleaning/ Download (CSV): https://hesela.dev/data/datasets/kv-separation-cleaning.csv Metadata (JSON): https://hesela.dev/data/datasets/kv-separation-cleaning.json Rows: 30 License: CC0-1.0 for Hesela's original code and computed rows. Source papers and documentation retain their own rights. Thirty deterministic byte-accounting cases compare inline records with separated values, including relocation-driven index writes. Invented inputs, not engine measurements. Evidence type: analytical-model-evaluation Method: For equal-sized records, K=16 key bytes, P=16 reference bytes, H=8 log-header bytes; V in {16,128,1024} bytes; C in {4,10} tree output/input-byte factors; selected-region live fraction u in {0,0.25,0.5,0.75,0.9}. Inline=C(K+V); separated=[C(K+P)+K+V+H]/(1-u). Every relocated record induces an index update charged at C. Each ratio uses K+V new logical bytes as denominator. Original steady-state accounting example, not a fit to a paper. Published: 2026-10-12 Updated: 2026-10-19 Generated: 2026-10-19T21:15:46.580Z Source: https://www.usenix.org/system/files/conference/fast16/fast16-papers-lu.pdf License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Code: https://hesela.dev/research/kv-cleaning.mjs Columns: - keyBytes (number): Assumed key size, bytes. - valueBytes (number): Assumed value size, bytes. - pointerBytes (number): Assumed reference size in the separated tree, bytes. - logHeaderBytes (number): Assumed extra log header size, bytes. - treeWriteFactor (number): Tree output bytes per inserted tree-record byte, including initial table writes and rewrites; same for both layouts. - liveFraction (number): Live-byte fraction of the selected cleaning regions, not whole-database utilization. - logicalBytes (number): New logical input bytes per key-value insertion: keyBytes + valueBytes. - relocationFactor (number): Total append-plus-relocation multiplier: 1/(1-liveFraction). - inlineBytes (number): Modeled tree bytes written per new logical insertion in the inline layout. - separatedTreeBytes (number): Modeled tree bytes per new insertion including pointer updates for relocated records. - valueLogBytes (number): Modeled log bytes per new insertion including all repeated copies and headers. - separatedBytes (number): Separated tree plus log bytes per new insertion; excludes WAL and lower-layer writes. - inlineWriteRatio (number): inlineBytes / logicalBytes, modeled byte ratio. - separatedWriteRatio (number): separatedBytes / logicalBytes, modeled byte ratio. - separatedToInline (number): separatedBytes / inlineBytes; below 1 means fewer modeled writes. - breakEvenLiveFraction (number|null): Selected-region live fraction at equal cost; null/empty CSV means no nonnegative crossover (separation loses even at zero live bytes). Limits: - All inputs are invented and fixed; no devices, traces or database engines were measured. - Assumes steady-state cleaning with equal record sizes and a fixed live fraction of selected regions. - Identical C for inline, separated and relocation-driven tree updates isolates layout; a real smaller index can have a different C. - No WAL, reads, compression, caching, coalescing, metadata beyond H/P, alignment, latency or NAND writes. - Charging an index update for every relocation does not represent compaction-integrated BlobDB reclamation. - u=1 cannot reclaim net space and is rejected; u is not storage utilization or a fill-limit recommendation. - No statistical confidence intervals apply to these deterministic cases; applicability remains uncertain. Citations: - [wisckey] Lanyue Lu, Thanumalayan Sankaranarayana Pillai, Andrea C. Arpaci-Dusseau and Remzi H. Arpaci-Dusseau. WiscKey: Separating Keys from Values in SSD-conscious Storage. USENIX FAST 2016, pp. 133-148, sections 3.2-3.3 and 4. https://www.usenix.org/system/files/conference/fast16/fast16-papers-lu.pdf (accessed 2026-10-12) - [hashkv] Helen H. W. Chan, Yongkun Li, Patrick P. C. Lee and Yinlong Xu. HashKV: Enabling Efficient Updates in KV Storage via Hashing. USENIX ATC 2018, pp. 1007-1019, sections 3-4. https://www.usenix.org/system/files/conference/atc18/atc18-chan.pdf (accessed 2026-10-12) - [blobdb] RocksDB project. BlobDB: integrated implementation, garbage collection and configuration. Documentation reviewed 12 October 2026; page displays revision date 22 September 2022. https://github.com/facebook/rocksdb/wiki/BlobDB (accessed 2026-10-12) - [lfs] Mendel Rosenblum and John K. Ousterhout. The Design and Implementation of a Log-Structured File System. ACM TOCS 10(1), February 1992, pp. 26-52, sections 3.4-3.5. https://web.stanford.edu/~ouster/cgi-bin/papers/lfs.pdf (accessed 2026-10-19) ### Storage latency: synthetic arrival cohorts URL: https://hesela.dev/datasets/latency-arrival-cohorts/ Download (CSV): https://hesela.dev/data/datasets/latency-arrival-cohorts.csv Metadata (JSON): https://hesela.dev/data/datasets/latency-arrival-cohorts.json Rows: 390 License: CC0-1.0 for Hesela's original synthetic records and calculation code; cited publications retain their own rights. 390 synthetic request records compare independent and completion-driven arrivals during one pause; downloadable timestamps reproduce the p99 calculation. Evidence type: deterministic-synthetic-example Method: One FIFO server; 2000 ms half-open arrival window; 10 ms open interval; 1 ms normal service; first service has a 100 ms added pause. Closed loop: one client with 9 ms think time after completion. All cohort requests drain; nearest-rank empirical quantiles. Published: 2026-10-12 Updated: 2026-10-17 Generated: 2026-10-17T20:40:10.541Z Source: https://hesela.com/analyses/storage-latency-coordinated-omission/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/storage-latency-coordinated-omission/ Code: https://hesela.dev/research/latency-measurement.mjs Generator: https://hesela.dev/research/build-latency-measurement.mjs Columns: - mode (string): Separate synthetic scenario: open or closed; not a device label. - index (integer): Zero-based request number within its scenario. - arrivalMs (integer): Arrival and submission time in ms, inside [0, 2000). - startMs (integer): FIFO service start in ms; may follow arrival because of queueing. - completedMs (integer): Completion time in ms; all admitted requests are drained. - queueMs (integer): startMs minus arrivalMs, in ms. - responseMs (integer): completedMs minus arrivalMs, in ms; not device service time. Limits: - Not hardware data, not a fio run, not a paper reproduction, no device ranking or population inference. No random sampling, timeout, drop, retry, parallelism or cache. No confidence interval is applicable to these deterministic inputs. - The open and closed cohorts have unequal loads and sizes. Do not pool them as one benchmark or infer a speedup. - Each request is one row. Request indices restart for each mode; (mode, index) is the unique key. Citations: - [schroeder] Schroeder, Wierman and Harchol-Balter. Open Versus Closed: A Cautionary Tale. USENIX NSDI 2006. Workload-model context, not the source of these synthetic records. https://www.usenix.org/legacy/events/nsdi06/tech/full_papers/schroeder/schroeder_html/index.html (accessed 2026-10-12) - [hesela] Hesela: Storage latency: when the benchmark stops asking. https://hesela.com/analyses/storage-latency-coordinated-omission/ (accessed 2026-10-12) ### Linux names 4 blk-mq schedulers; I/O priority lists 8 RT levels for bfq and mq-deadline URL: https://hesela.dev/datasets/linux-blk-mq-iosched/ Download (CSV): https://hesela.dev/data/datasets/linux-blk-mq-iosched.csv Metadata (JSON): https://hesela.dev/data/datasets/linux-blk-mq-iosched.json Rows: 8 License: Small derived table. The CSV and this JSON metadata are CC0-1.0. They are not a Linux kernel dump. The opened file block/mq-deadline.c begins with SPDX-License-Identifier: GPL-2.0 and prints Copyright (C) 2016 Jens Axboe. The opened kyber-iosched.rst, switching-sched.rst, and deadline-iosched.rst.txt files contain no SPDX-License-Identifier line, and the opened blk-mq and ioprio HTML pages do not show one, so GPL-2.0 is not read off those documents. COPYING at the kernel tree root states SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note and GNU General Public License version 2 only. Canonical full dumps, linked and not mirrored: mainline 7.3-rc7 (2026-10-12) https://git.kernel.org/torvalds/t/linux-7.3-rc7.tar.gz and stable 7.2.10 (2026-10-11) https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.2.10.tar.xz. Linux switching-sched names 4 per-device blk-mq schedulers: mq-deadline, none, bfq, and kyber. I/O priority is named for bfq and mq-deadline, with 3 classes, 8 RT class-data levels, and best-effort levels 0 (highest) through 7 (lowest); none and kyber are not named. Kyber has 2 tunables, read and synchronous-write targets in nanoseconds, which are throttle targets rather than a measured latency. The none scheduler does not reorder, and completion order is not guaranteed. No throughput was measured. Evidence type: kernel-documentation Method: Rows are printed counts and levels from Linux kernel documentation and from block/mq-deadline.c, opened on 2026-10-12. They are not a trace of devices. switching-sched names four schedulers that can be written to /sys/block/DEV/queue/scheduler, and it shows the active name in brackets. The example cat line is for one device (sda). blk-mq.html says none places requests on whatever software queue the process is running on, without any reordering. The same page says neither the block layer nor the device protocols guarantee the order of completion of requests, and that higher layers such as the filesystem must handle that. That completion sentence is about the block layer, so this record uses it for none, mq-deadline, and kyber alike. It is not a measured completion order. ioprio.html says I/O-priority support is scheduler dependent and currently supported by bfq and mq-deadline. It names three classes, 8 RT class-data levels, and best-effort levels from 0 (highest) to 7 (lowest). none and kyber are not named. Kyber's only two tunables, read_lat_nsec and write_lat_nsec, are target latencies in nanoseconds. Kyber throttles requests in order to meet those targets. The opened kyber text prints no default number. Those targets are not a measured latency. The deadline tunables page defines read_expire as the current time plus read_expire in milliseconds, a start-service target, and defines write_expire the same way for writes. Requests are grouped into batches of one data direction and serviced in increasing sector order. Reads are preferred until writes_starved, whose unit is a number of dispatches, says to dispatch some writes. A fifo_batch value of 1 is the documented first-come first-served case, not a default in this table. Setting front_merges to 0 disables front-merge lookup. block/mq-deadline.c begins with SPDX-License-Identifier: GPL-2.0, sets elevator_name to mq-deadline and elevator_alias to deadline, points at Documentation/block/deadline-iosched.rst, maps IOPRIO_CLASS_RT, IOPRIO_CLASS_BE, and IOPRIO_CLASS_IDLE, and dispatches in priority order while higher-priority requests are pending. Expire defaults and sbitmap magnitudes from that file are not columns. Named fault: treating the bracketed scheduler name, or none's lack of reordering, as a completion-order guarantee. The signal is the bracket in /sys/block/DEV/queue/scheduler and the blk-mq sentence that none does not reorder onto the running process's software queue. The miss is the same page's statement that neither the block layer nor the device protocols guarantee completion order. Named fault: reading read_lat_nsec or write_lat_nsec as achieved latency. The signal is Kyber's two nanosecond throttle targets. The miss is that the opened text has no default and no measured latency. Named fault: applying I/O priority to every scheduler, or stopping at ioprio_set(2), which still says that as at kernel 2.6.17 the only such scheduler is CFQ. The signal is ioprio.html, which names bfq and mq-deadline, 8 RT levels, and best-effort levels 0 through 7. The miss is that none and kyber are not named, and the man page is not a cell in this table. Named fault: reading the four-name cat line as a fleet, a default, or a measured throughput. The signal is one example device. The miss is that bfq is named there and in the I/O-priority rows, while this table does not transcribe bfq's algorithm, and the phrase about improving throughput is not a measured rate. Published: 2026-10-12 Updated: 2026-10-12 Source accessed: 2026-10-12 Source: https://www.kernel.org/doc/html/latest/block/blk-mq.html License URL: https://creativecommons.org/publicdomain/zero/1.0/ Columns: - fact (string): Identifier of one documented quantity. Not a device-sample id. - applies_to (string): Scheduler names the quantity applies to, separated by semicolons. bfq is included where switching-sched or ioprio names it. none and kyber are not given I/O-priority quantities. - quantity (integer): Number printed on the cited page, or the count of names that page lists. Not a measured throughput, not an expire default, and not an sbitmap size. Best-effort quantities are priority-level indexes. - unit (string): Unit of quantity. Kyber's row counts throttle targets whose printed latency unit is nanoseconds. - citation_id (string): Id of the citation in this file. The note applies only to this row. - note (string): Scope of the quantity. Present only for facts that are rows in this table. The io_nice formula is quoted and not evaluated. Limits: - Population is not applicable. This is not a sample of drives, hosts, or kernels. Sample size is not applicable. There is no observation date range. The scheduler pages were opened on 2026-10-12. On that date kernel.org listed mainline 7.3-rc7 (2026-10-12) and stable 7.2.10 (2026-10-11). Those are release labels, not a test window. - The switching-sched cat line is an example for the device name sda. It is not a default scheduler, not a population, and not a date range. The sentence that selecting a scheduler can improve throughput is not a measured throughput. No IOPS, MB/s, or latency sample is in this table. The opened scheduler pages do not state a test machine or a drive model. - bfq is one of the four names and is named for I/O priority. This table does not describe bfq's algorithm. Narrating behavior for only none, mq-deadline, and kyber drops bfq. - none places requests on the software queue the process is running on without any reordering. That is not a completion-order guarantee. The completion sentence is about the block layer and the device protocols, and this record repeats it for none, mq-deadline, and kyber. It was not measured under each scheduler. - Kyber read_lat_nsec and write_lat_nsec are target latencies in nanoseconds. The opened kyber page and rst print no default number and no achieved latency. A throttle target is not a measured latency. - read_expire and write_expire are start-service targets in milliseconds. writes_starved is a number of dispatches. This table does not include compiled expire defaults from mq-deadline.c and does not include an sbitmap magnitude. The deadline page signature is Nov 11 2002, Jens Axboe. The ioprio page signature is March 11 2005, Jens Axboe. Those lines stay on those pages. They are not an observation period. The mq-deadline.c copyright line stays on that file. - ioprio_set(2) still says that as at kernel 2.6.17 the only I/O-priority scheduler is CFQ, and its example cat line is noop anticipatory deadline [cfq]. That page is not the source of any quantity cell. The kernel ioprio page is. Vendor tuning guides are not cells. Citations: - [switching-sched] Switching Scheduler. https://www.kernel.org/doc/Documentation/block/switching-sched.rst (accessed 2026-10-12) - [blk-mq] Multi-Queue Block IO Queueing Mechanism (blk-mq). https://www.kernel.org/doc/html/latest/block/blk-mq.html (accessed 2026-10-12) - [ioprio] Block io priorities. https://www.kernel.org/doc/html/latest/block/ioprio.html (accessed 2026-10-12) - [kyber-iosched] Kyber I/O scheduler tunables. https://www.kernel.org/doc/html/latest/block/kyber-iosched.html (accessed 2026-10-12) - [kyber-rst] Kyber I/O scheduler tunables (kyber-iosched.rst). https://www.kernel.org/doc/html/latest/_sources/block/kyber-iosched.rst.txt (accessed 2026-10-12) - [deadline-iosched] Deadline IO scheduler tunables. https://www.kernel.org/doc/html/latest/block/deadline-iosched.html (accessed 2026-10-12) - [deadline-rst] Deadline IO scheduler tunables (deadline-iosched.rst.txt). https://www.kernel.org/doc/html/latest/_sources/block/deadline-iosched.rst.txt (accessed 2026-10-12) - [mq-deadline-c] MQ Deadline I/O scheduler (block/mq-deadline.c). https://raw.githubusercontent.com/torvalds/linux/master/block/mq-deadline.c (accessed 2026-10-12) - [kernel-archives] The Linux Kernel Archives. https://www.kernel.org/ (accessed 2026-10-12) - [copying] Linux kernel COPYING. https://raw.githubusercontent.com/torvalds/linux/master/COPYING (accessed 2026-10-12) - [ioprio-set-man] ioprio_set(2) Linux manual page. https://man7.org/linux/man-pages/man2/ioprio_set.2.html (accessed 2026-10-12) ### LRC repair costs: explicit denominators URL: https://hesela.dev/datasets/lrc-repair-costs/ Download (CSV): https://hesela.dev/data/datasets/lrc-repair-costs.csv Metadata (JSON): https://hesela.dev/data/datasets/lrc-repair-costs.json Rows: 5 License: CC0-1.0 for Hesela's original model and generated rows. Cited publications retain their own rights. Five deterministic whole-fragment examples distinguish data repair, all-fragment averages and parity-inclusive accounting. Not cluster measurements. Evidence type: deterministic-accounting-model Method: For each independent single-fragment loss, intact helpers supply whole equal-size fragments. Data and local parity cost k/localGroups reads in the modeled LRC topology; global parity costs k. RS costs k for any fragment. Sum costs across all positions, then divide by total fragments or by k. Uniform role distribution is assumed for node-level interpretation. Published: 2026-10-11 Updated: 2026-10-11 Generated: 2026-10-11T18:21:35.531Z Source: https://hesela.com/analyses/lrc-repair-costs-locality/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/lrc-repair-costs-locality/ Code: https://hesela.dev/research/lrc-repair-costs.mjs Columns: - label (string): RS uses data+global parity; LRC uses data+local parity+global parity. Not Ceph CLI notation. - k (number): Number of payload data fragments per stripe. - localGroups (number): Equal data groups, each with one local parity; zero for the RS baseline. - globalParities (number): Number of global parity fragments. - totalFragments (number): Total stored fragments: data plus all parity. - shardBytes (number): Bytes per equal-size fragment. Illustrative input; 1 MiB = 1048576 bytes. - storageFactor (number): Stored bytes divided by payload bytes; dimensionless, excluding metadata. - dataReads (number): Complete helper fragments read for one data-fragment loss. - localParityReads (number): Complete helper fragments read for one local-parity loss; zero means not applicable in RS. - globalParityReads (number): Complete helper fragments read to recompute one global parity. - sumIndependentReads (number): Sum of independent one-fragment repair read counts across every position; not simultaneous losses. - averageReadsPerLostFragment (number): Sum of independent read counts divided by total stored fragments; uniform lost-role assumption. - readsPerLostDataEquivalent (number): Same sum divided by payload data fragments; parity repairs amortized over payload. - dataReadBytes (number): Helper bytes read for one data-fragment loss, excluding the reconstructed write. Limits: - Arithmetic examples, not experiments, event probabilities or confidence intervals. - Not an encoder or decoder; no proof of a concrete finite-field construction or multi-erasure recovery. - Equal overhead is not equal worst-case erasure tolerance. No current Azure or Ceph configuration is asserted. - No partial-fragment schemes, shared reads, caching, retries, placement, compression, network topology or reconstructed-write traffic. - These sums represent separate single-fragment failures across stripe roles, never simultaneous loss of all fragments. Citations: - [huang2012] Cheng Huang, Huseyin Simitci, Yikang Xu, Aaron Ogus, Brad Calder, Parikshit Gopalan, Jin Li and Sergey Yekhanin. Erasure Coding in Windows Azure Storage. USENIX ATC 2012, pp. 15-26; sections 2-3. https://www.usenix.org/system/files/conference/atc12/atc12-final181_0.pdf (accessed 2026-10-11) - [kolosov2018] Oleg Kolosov, Gala Yadgar, Matan Liram, Itzhak Tamo and Alexander Barg. On Fault Tolerance, Locality, and Optimality in Locally Repairable Codes. USENIX ATC 2018, pp. 865-877; sections 3, 5-6. https://www.usenix.org/system/files/conference/atc18/atc18-kolosov.pdf (accessed 2026-10-11) - [ceph-lrc] Ceph: Locally Repairable Erasure Code Plugin (development documentation; parameter names are implementation-specific). https://docs.ceph.com/en/latest/rados/operations/erasure-code-lrc/ (accessed 2026-10-11) ### LTO generations: native and compressed capacity and throughput, LTO-1 to LTO-10 URL: https://hesela.dev/datasets/lto-generations-capacity/ Download (CSV): https://hesela.dev/data/datasets/lto-generations-capacity.csv Metadata (JSON): https://hesela.dev/data/datasets/lto-generations-capacity.json Chart (SVG): https://hesela.dev/data/datasets/lto-generations-capacity.svg Rows: 11 License: The capacities, ratios, years and speeds are public facts about LTO Ultrium products as published on lto.org and in the Wikipedia article on Linear Tape-Open. No page text is copied. The hours and ratio columns are arithmetic done here. LTO and Ultrium are trademarks of Hewlett Packard Enterprise, IBM and Quantum. Reuse is fine with attribution to the sources named below. This is a small derived table. Native and advertised compressed capacity, release year and maximum native throughput of LTO Ultrium generations 1 to 10 (11 rows, with the 30 TB and 40 TB LTO-10 cartridges), taken from the LTO Program pages for generations 8, 9 and 10 and the Wikipedia generations table for the rest, plus arithmetic: the hours to write one full cartridge at the maximum native rate and the capacity step from one generation to the next. Native capacity goes from 0.1 TB in LTO-1 to 40 TB in LTO-10, and the 40 TB cartridge takes 27.78 hours to fill at 400 MB/s. Two published speed figures do not match their own arithmetic and are flagged. Source accessed: 2026-10-10 Source: https://www.lto.org/roadmap/ License URL: https://en.wikipedia.org/wiki/Wikipedia:Copyrights Columns: - generation (string): LTO Ultrium generation, LTO-1 to LTO-10. LTO-7 Type M (M8) is an alternate format of an LTO-7 cartridge on LTO-8 drives and is not listed. - cartridge (string): Cartridge variant: standard, or for LTO-10 the 30 TB and 40 TB cartridges. - release_year (integer): Year of first availability as given in the Wikipedia generations table (LTO-10 30 TB May 2025, 40 TB January 2026). - native_capacity_tb (number): Native (uncompressed) capacity in decimal terabytes, as published. - advertised_compressed_tb (number): Advertised capacity assuming the compression ratio in the next column, as published. - compression_ratio (number): 2 for LTO-1 to LTO-5 and 2.5 from LTO-6, as published. The build checks native times ratio equals the advertised figure. - max_native_mb_s (integer): Maximum native data rate in megabytes per second between drive and tape, decimal units. - hours_to_fill_at_max_native (number): native_capacity_tb * 1e6 / max_native_mb_s / 3600, hours to write one full cartridge at the maximum native rate. Computed here. - native_capacity_vs_previous (number): native_capacity_tb divided by the native capacity of the previous generation, two decimals. For both LTO-10 rows the previous generation is LTO-9. Computed here. - source (string): Where the numbers in the row come from. - note (string): Differences between the sources, without commas. Citations: - [lto10] LTO-10: LTO Generation 10 Technology, lto.org. https://www.lto.org/lto-10/ (accessed 2026-10-11) - [lto9] LTO-9 page, lto.org. https://www.lto.org/lto-9/ (accessed 2026-10-11) - [lto8] What is LTO-8 technology, lto.org. https://www.lto.org/lto-8/ (accessed 2026-10-11) - [roadmap] Roadmap, lto.org. https://www.lto.org/roadmap/ (accessed 2026-10-11) - [wp-lto] Linear Tape-Open, Wikipedia: generations table. https://en.wikipedia.org/wiki/Linear_Tape-Open (accessed 2026-10-11) ### Disk failure prediction: published scores and validation limits URL: https://hesela.dev/datasets/ml-disk-failure-prediction/ Download (CSV): https://hesela.dev/data/datasets/ml-disk-failure-prediction.csv Metadata (JSON): https://hesela.dev/data/datasets/ml-disk-failure-prediction.json Rows: 13 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Lu et al. (FAST 2020) and two SMART-warning sources: 13 reported figures with units, bounds and validation limits. A source extract, not a model reproduction. Method: The CSV transcribes ten reported Lu et al. (FAST 2020) figures and three SMART-warning rows from Backblaze (2016) and Google (FAST 2007). It is not a replication or a raw drive-level dataset. Section 4 uses random five-fold cross-validation, with an 80/20 tuning split inside training. This is not a demonstrated future-time holdout. The separate cross-site test trained on 62 sites and evaluated two unseen sites of the same operator (Section 5). Correction: 2026-10-16: corrected Backblaze population scopes and notes; 67,814 denotes then-operating inventory, not a failed-drive sample size. Retained 4.2% for any of five attributes from the narrative; the image's 4.8% for SMART 188 alone is not an alternative value for the same union. The conditional inconsistency remains unresolved. Numeric values, missing bounds, units, row order and CSV columns are unchanged. Earlier corrections clarified validation and missing-bound semantics without inventing numeric extrema. Updated: 2026-10-16 Source accessed: 2026-10-10 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://files.usenix.org/s3fs-public/cdn/fast20-lu.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/ml-disk-failure-prediction/#rights-and-reuse Companion analysis: https://hesela.com/analyses/ml-disk-failure-prediction/ Rights evidence (primary publication and listed publisher policy only): - Making Disk Failure Predictions SMARTer!, Lu, Luo, Patel, Yao, Tiwari, and Shi, FAST 2020 (USENIX PDF, pages 151 to 167). https://files.usenix.org/s3fs-public/cdn/fast20-lu.pdf (checked 2026-10-13). The paper is publicly readable through USENIX. No standalone reuse license for this CSV was verified. - USENIX Conference Submissions Policy: copyright. https://www.usenix.org/conferences/author-resources/submissions-policy (checked 2026-10-13). Authors retain copyright; this publisher policy is not a license for Hesela's derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower bound or lower end of a range; empty when not supplied. Consult note for strict inequalities; empty never means zero. - value_high (number): Single reported value, upper bound or upper end of a range; empty for a lower-bound-only row. Consult note for qualifiers such as roughly, up to and less than. - unit (string): Units include disks, days, MCC score, F-measure, percent of MCC, percent of failed or operational drives, and hours per training run. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - Scores are the paper's own, from one operator, about 70 days, and a 10-day horizon. - This extract does not establish the failed-drive count or a confusion matrix for each evaluation split; do not derive alert counts from MCC alone. - The printed 2.6 million device hours cannot be reconciled from the disk count and observation window alone; complete observation of every drive is not established. - Cross-site evaluation within one operator is not evidence of transfer to another operator or a future-time evaluation. - The Backblaze and Google rows measure SMART warnings, not model performance. - Backblaze's 67,814 is then-operating inventory, not the failed-sample denominator. The narrative does not supply the warning-sample counts or a prospective prediction horizon; do not reconstruct a confusion matrix from these percentages. - The narrative gives 4.2% of operational drives for any of five SMART attributes above zero; the image gives 4.8% for SMART 188 alone. If populations and observation rules match, the union cannot be smaller than one member. Population mismatch or source error remains unresolved. Citations: - [lu-fast20-pdf] Making Disk Failure Predictions SMARTer!, Lu, Luo, Patel, Yao, Tiwari, and Shi, FAST 2020 (USENIX PDF, pages 151 to 167). https://files.usenix.org/s3fs-public/cdn/fast20-lu.pdf (accessed 2026-10-12) - [backblaze-smart-2016] What SMART Stats Tell Us About Hard Drives, Backblaze, 6 October 2016. https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/ (accessed 2026-10-16) - [pinheiro-usenix-html] Failure Trends in a Large Disk Drive Population, Pinheiro, Weber, and Barroso, FAST 2007 (USENIX HTML proceedings). https://www.usenix.org/legacy/events/fast07/tech/full_papers/pinheiro/pinheiro_html/index.html (accessed 2026-10-09) - [hesela-smart-source-audit] Hesela: SMART source-population and narrative/image discrepancy audit. https://hesela.com/analyses/smart-replacement-prediction-random-splits/#context-audit-heading (accessed 2026-10-16) - [backblaze-smart-image-2016] Backblaze 2016 SMART table: operational drives, SMART 188 column. https://www.backblaze.com/blog/wp-content/uploads/2016/10/blog-smart-fail-vs-good.jpg (accessed 2026-10-16) ### Disk replacement rates and fleet event gaps: reported values URL: https://hesela.dev/datasets/mttf-vs-field-replacement-rates/ Download (CSV): https://hesela.dev/data/datasets/mttf-vs-field-replacement-rates.csv Metadata (JSON): https://hesela.dev/data/datasets/mttf-vs-field-replacement-rates.json Rows: 18 License: Small derived table of figures printed in Schroeder and Gibson (FAST 2007), Pinheiro et al. (FAST 2007), and the Backblaze Q2 2026 Drive Stats post, with credit. Not a Creative Commons license. The USENIX proceedings page says rights to individual papers remain with the author or the author's employer. This file is not a copy of the papers, not the replacement logs, and not the Backblaze dataset. The Backblaze post asks that its raw Drive Stats data be cited and not resold, which this table does not redistribute. An 18-row extraction of reported replacement rates and fleet event gaps, with source qualifiers and population limits; not a disk-lifetime dataset. Method: Existing reported-value extraction, unchanged numerically. Interpret low/high cells with the row note; bounds may be strict or approximate. Cluster interarrival times are not individual disk lifetimes. No original logs were reanalysed. Updated: 2026-10-12 Source accessed: 2026-10-09 Source: https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder_html/index.html License URL: https://www.usenix.org/legacy/events/fast07/tech/schroeder.html Companion analysis: https://hesela.com/analyses/mttf-vs-field-replacement-rates/ Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - ARR is drives replaced per year, not confirmed failures. The paper cites a vendor figure that 43% of returned disks show no problem. - ARR per data set cannot be recomputed from the paper's Table 1 because disk counts changed and logs hold other events. - Time-between-replacement, correlation, and Weibull figures are HPC1 only. - Several results appear only as charts in the paper and are not in this file. - Google age groups mix drive models. Backblaze figures are a different era and drive mix, and the opened post does not define a failure. Neither tests the 3.4 times ratio. Citations: - [schroeder-usenix-html] Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you?, Schroeder and Gibson, FAST 2007 (USENIX HTML proceedings). https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder_html/index.html (accessed 2026-10-09) - [schroeder-usenix-abstract] Disk Failures in the Real World, USENIX FAST 2007 abstract page. https://www.usenix.org/legacy/events/fast07/tech/schroeder.html (accessed 2026-10-09) - [pinheiro-usenix-html] Failure Trends in a Large Disk Drive Population, Pinheiro, Weber, and Barroso, FAST 2007 (USENIX HTML proceedings). https://www.usenix.org/legacy/events/fast07/tech/full_papers/pinheiro/pinheiro_html/index.html (accessed 2026-10-09) - [backblaze-q2-2026] Backblaze Drive Stats for Q2 2026, published September 29, 2026. https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/ (accessed 2026-10-09) ### An example BCH code corrects raw bit error rates up to 1e-3, yet Google's field SSDs had median rates of 6e-10 to 3e-8, and raw rate did not predict uncorrectable errors URL: https://hesela.dev/datasets/nand-ecc-bch-vs-ldpc/ Download (CSV): https://hesela.dev/data/datasets/nand-ecc-bch-vs-ldpc.csv Metadata (JSON): https://hesela.dev/data/datasets/nand-ecc-bch-vs-ldpc.json Rows: 13 License: Small derived table of figures printed in Zhao et al. (FAST 2013), Cai et al. (Proceedings of the IEEE 2017), and Schroeder et al. (FAST 2016), with credit. Not a Creative Commons license. The papers remain with their authors or publishers. This file is not a copy of the papers and not the data. An example BCH code corrects raw bit error rates up to 1.0e-3 and soft LDPC up to 5.0e-3 (Cai et al., 2017; Zhao et al., FAST 2013 find about 3 times). Google's field median raw bit error rate was 5.8e-10 to over 3e-8, and 2 to 6 per 1,000 drive days had an uncorrectable error (Schroeder et al., FAST 2016). Source accessed: 2026-10-11 Source: https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf License URL: https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf Companion analysis: https://hesela.com/analyses/nand-ecc-bch-vs-ldpc/ Columns: - measure (string): The quantity as the source names it. - value_low (number): Lower end of a printed range. Empty when the source prints a single value. - value_high (number): Single printed value, or the upper end of a range. For 'over' or 'below' it is the stated bound. - unit (string): Unit of the value columns: errors per bit, percent, times, bytes, probability, or per 1,000 drive days. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - The code limits are example codes, not the codes inside any specific drive. - Field raw bit error rates are medians and percentiles of drive months; the tail inside a drive can be far higher. - Cai et al. cite Zhao et al., so the design sources are not fully independent. - The 3 times and 5 times gains use different codes and sensing levels. - Uncorrectable errors in the field are counted per drive day, not per bit. Citations: - [zhao-fast13-pdf] LDPC-in-SSD: Making Advanced Error Correction Codes Work Effectively in Solid State Drives, Zhao, Zhao, Sun, Zhang, Zhang, and Zheng, USENIX FAST 2013, pages 243 to 256 (USENIX PDF). https://www.usenix.org/system/files/conference/fast13/fast13-final125.pdf (accessed 2026-10-11) - [cai-procieee17-pdf] Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives, Cai, Ghose, Haratsch, Luo, and Mutlu, Proceedings of the IEEE, September 2017 (arXiv 1706.08642, section 6). https://arxiv.org/pdf/1706.08642 (accessed 2026-10-11) - [schroeder-fast16-pdf] Flash Reliability in Production: The Expected and the Unexpected, Schroeder, Lagisetty, and Merchant, USENIX FAST 2016 (USENIX PDF, sections 3 and 4). https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-10-11) ### NAND geometry and timing: historical source values URL: https://hesela.dev/datasets/nand-erase-block-size-gc-cost/ Download (CSV): https://hesela.dev/data/datasets/nand-erase-block-size-gc-cost.csv Metadata (JSON): https://hesela.dev/data/datasets/nand-erase-block-size-gc-cost.json Rows: 19 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Selected chip parameters and simulation results from 2008-2018, with explicit source scope. These are not current SSD specifications or a controlled comparison of NAND generations. Updated: 2026-10-15 Source accessed: 2026-10-15 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www.usenix.org/system/files/conference/fast18/fast18-liu.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/nand-erase-block-size-gc-cost/#rights-and-reuse Companion analysis: https://hesela.com/analyses/nand-erase-block-size-gc-cost/ Rights evidence (primary publication and listed publisher policy only): - PEN: Design and Evaluation of Partial-Erase for 3D NAND-Based High Density SSDs, Liu, Kotra, et al., USENIX FAST 2018 (USENIX PDF, sections 2 and 6). https://www.usenix.org/system/files/conference/fast18/fast18-liu.pdf (checked 2026-10-13). The paper is publicly readable through USENIX. No standalone reuse license for this CSV was verified. - USENIX Conference Submissions Policy: copyright. https://www.usenix.org/conferences/author-resources/submissions-policy (checked 2026-10-13). Authors retain copyright; this publisher policy is not a license for Hesela's derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - Different years, chips and methods; no current-drive performance or endurance prediction. - PEN's WAF result concerns its NFTL experiment; it is not a universal page-mapping claim. - PEN's Table 1 includes erase timings. Access parameters and modeled partial-erase results have different provenance; see section 6.1. - The two FTL-specific latency reductions are paired results, not a range of uncertainty. - Grupp's per-bit trends describe the 2012 sample; they are not a present-day warranty conversion. - The separate Hesela accounting JSON uses chosen inputs, not paper observations. Citations: - [agrawal-atc08-pdf] Design Tradeoffs for SSD Performance, Agrawal, Prabhakaran, Wobber, Davis, Manasse, and Panigrahy, USENIX ATC 2008 (USENIX PDF, section 2 and table 1). https://www.usenix.org/legacy/event/usenix08/tech/full_papers/agrawal/agrawal.pdf (accessed 2026-10-15) - [liu-fast18-pdf] PEN: Design and Evaluation of Partial-Erase for 3D NAND-Based High Density SSDs, Liu, Kotra, et al., USENIX FAST 2018 (USENIX PDF, sections 2 and 6). https://www.usenix.org/system/files/conference/fast18/fast18-liu.pdf (accessed 2026-10-15) - [grupp-fast12-pdf] Grupp, Davis and Swanson. The Bleak Future of NAND Flash Memory. FAST 2012, updated 8 February 2012, introduction and section 2. https://www.usenix.org/system/files/conference/fast12/grupp2-8-12.pdf (accessed 2026-10-15) - [cai-procieee17-pdf] Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives, Cai, Ghose, Haratsch, Luo, and Mutlu, Proceedings of the IEEE, September 2017 (arXiv 1706.08642, section 2). https://arxiv.org/pdf/1706.08642v3 (accessed 2026-10-15) ### Parity declustering: survivor-read accounting URL: https://hesela.dev/datasets/parity-declustering-load/ Download (CSV): https://hesela.dev/data/datasets/parity-declustering-load.csv Metadata (JSON): https://hesela.dev/data/datasets/parity-declustering-load.json Rows: 21 License: CC0-1.0 for Hesela's original model and generated data; cited sources retain their own rights. Twenty-one exact survivor rows compare fixed and balanced width-four groups with a width-eight control. Synthetic accounting, not storage measurements. Evidence type: deterministic-accounting-model Method: Enumerate all 70 four-disk subsets of eight disks for the balanced layout. Repeat each of two disjoint four-disk groups 35 times for the fixed control; repeat the eight-disk group 35 times for the wide control. Each disk holds 35 equal 64 MiB fragments. For each stripe containing failed disk 0, count one read from each intact member. A stripe has exactly one parity fragment; its position is irrelevant to this single-erasure read count. Published: 2026-10-13 Updated: 2026-10-13 Generated: 2026-10-12T23:22:01.156Z Source: https://hesela.com/analyses/parity-declustering-rebuild-load/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/parity-declustering-rebuild-load/ Code: https://hesela.dev/research/parity-declustering.mjs Generator: https://hesela.dev/research/build-parity-declustering.mjs Columns: - layout (string): Synthetic stripe-membership layout ID. - poolDisks (number): Number of disks in the modeled pool, including the failed disk. - groupWidth (number): Fragments per single-parity stripe, including one parity fragment. - failedDisk (number): Zero-based disk ID lost in this scenario; always 0 in this export. - survivorDisk (number): Zero-based surviving disk ID; includes disks doing zero reads. - lostBlocks (number): Fragments lost on the failed disk; each is independently reconstructed. - survivorHeldBlocks (number): Fragments held on this survivor before failure, including parity. - readBlocks (number): Whole helper fragments read from this survivor for complete modeled repair. - fragmentBytes (number): Bytes per fragment; 67108864 bytes = 64 MiB. - readBytes (number): readBlocks multiplied by fragmentBytes; excludes reconstructed writes. Limits: - This is exhaustive deterministic enumeration, not a random sample, benchmark or field dataset; there is no observation period or statistical confidence interval. - Eight modeled disks, one known erasure, intact helpers and equal-size fragments; no read failures, duplicate reads, compression, caches or metadata traffic. - Output writes total 35 fragments in each case but their destination and timing are not modeled. - The wide control changes parity overhead and payload capacity as well as stripe width. Fixed and balanced width-four cases are the matched comparison. - Stripe membership is not a full physical layout: no parity rotation, addresses, encoder, queue model or OpenZFS permutation map. - The model bounds pool size to 16 to prevent uncontrolled combinatorial enumeration. Complete layouts are educational examples, not a production recommendation. Citations: - [holland1992] Mark Holland and Garth A. Gibson. Parity Declustering for Continuous Operation in Redundant Disk Arrays. ASPLOS 1992, pp. 23-35; sections 2, 4-8. https://www.cs.cmu.edu/~riedel/ftp/Declustering/ASPLOS.pdf (accessed 2026-10-13) - [welch2008] Brent Welch, Marc Unangst, Zainul Abbasi, Garth Gibson, Brian Mueller, Jason Small, Jim Zelenka and Bin Zhou. Scalable Performance of the Panasas Parallel File System. FAST 2008; section 4.2 and Appendix A, experiment 3. https://www.usenix.org/legacy/event/fast08/tech/full_papers/welch/welch_html/index.html (accessed 2026-10-13) - [openzfs] OpenZFS: dRAID how-to, Introduction and Rebuilding to a Distributed Spare (living documentation, functionality introduced in 2.1.0). https://openzfs.github.io/openzfs-docs/Basic%20Concepts/Pool%20Structure/dRAID%20Howto.html (accessed 2026-10-13) ### Parquet checksum and read-coverage observations URL: https://hesela.dev/datasets/parquet-integrity-boundaries/ Download (CSV): https://hesela.dev/data/datasets/parquet-integrity-boundaries.csv Metadata (JSON): https://hesela.dev/data/datasets/parquet-integrity-boundaries.json Rows: 27 License: CC0-1.0 for Hesela's original harness and observations; Apache libraries and documentation retain their own licenses. 9 read cases across 3 repetitions show how checksum presence, verification and selected columns or row groups change detection of one deliberate payload bit flip. Evidence type: measured-api-behavior Method: Write two deterministic fixtures with/without page CRC, flip one payload bit in copies, compare nine read scopes/settings against complete expected selected values; repeat on fresh temporary files. Published: 2026-10-17 Updated: 2026-10-21 Generated: 2026-10-17T19:09:34.743874+00:00 Source: https://hesela.com/analyses/parquet-checksums-read-coverage/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/parquet-checksums-read-coverage/ Code: https://hesela.dev/research/parquet-integrity.py Generator: https://hesela.dev/scripts/build-parquet-integrity.mjs Columns: - repetition (integer): One-based repeat of the same deterministic experiment; not an independent reliability trial. - case (string): Controlled read case identifier. - verification (boolean|string): Page checksum verification: true, false, default (false in PyArrow 21.0.0), or not-applicable for metadata-only inspection. - scope (string): Selected data or metadata; success describes only this scope. - outcome (string): Observed return or checksum exception, compared with expected selected payload. - rows (integer|null): Returned rows, or declared rows for metadata; empty when checksum error prevents a result. - mismatchCount (integer|null): Number of differing selected cells; empty for metadata or an error, not a claim of zero errors. Limits: - Controlled synthetic one-bit fault on one host and pinned library; not field corruption frequency, power-loss testing, a storage benchmark, hostile-tampering assessment or exhaustive file validation. No compressed, encrypted, nested or dictionary pages tested. Projection and row-group cases compare only selected data. - The same chosen bit and input are repeated; no population rate, detection probability or confidence interval is estimated. - A successful checked read does not certify that CRCs existed on every page or that unselected data was validated. Citations: - [parquet-crc] Apache Parquet: page checksumming. https://parquet.apache.org/docs/file-format/data-pages/checksumming/ (accessed 2026-10-17) - [arrow-read] Apache Arrow 21.0: read_table checksum verification and column selection. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.read_table.html (accessed 2026-10-17) - [arrow-write] Apache Arrow 21.0: write_table page checksum option. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.write_table.html (accessed 2026-10-17) - [arrow-code] Apache Arrow 21.0.0: SerializedPageReader checksum presence guard. https://github.com/apache/arrow/blob/apache-arrow-21.0.0/cpp/src/parquet/column_reader.cc#L433-L443 (accessed 2026-10-17) - [parquet-encoding] Apache Parquet: PLAIN INT64 encoding. https://parquet.apache.org/docs/file-format/data-pages/encodings/ (accessed 2026-10-17) - [parquet-metadata] Apache Parquet: file, column and page metadata. https://parquet.apache.org/docs/file-format/metadata/ (accessed 2026-10-17) ### PostgreSQL TOAST: which checks reach the value? URL: https://hesela.dev/datasets/postgresql-toast-read-coverage/ Download (CSV): https://hesela.dev/data/datasets/postgresql-toast-read-coverage.csv Metadata (JSON): https://hesela.dev/data/datasets/postgresql-toast-read-coverage.json Rows: 132 License: CC0-1.0 for original Hesela code and synthetic observations; upstream sources retain their licenses. A controlled one-bit change survives row counts, length and prefix reads; page checksums and trusted payload comparisons reveal different coverage boundaries. Evidence type: measured-api-behavior Method: Three executions of the same PostgreSQL 16.15 harness on synthetic uncompressed bytea values; separate checksum-on/off clusters, clean controls and a one-bit offline mutation. Published: 2026-10-21 Updated: 2026-10-21 Generated: 2026-10-20T23:05:21.666875+00:00 Source: https://hesela.com/analyses/postgresql-toast-read-coverage/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Code: https://hesela.dev/research/postgresql-toast-coverage/experiment.py Generator: https://hesela.dev/research/postgresql-toast-coverage/build-publication.py Columns: - repetition (integer): Execution 1 or 2; 3 is the review rerun using the same harness. - checksums (boolean): Checksum setting in a separately initialized cluster. - state (string): Clean fixture or the subsequent one-bit damaged fixture. - phase (string): Online probe or offline checksum utility. - probe (string): Stable probe identifier; raw JSON contains SQL/options. - returncode (integer): Process exit code, not an application-content verdict. - matches_expected (boolean-or-null): Only successful full-value hashes: true/false comparison with the trusted input; blank otherwise. Limits: - One payload and selected bit on one Linux host, not a corruption-frequency estimate or exhaustive campaign. - No compressed values, concurrency, restore operation, power loss or hardware failure was tested. - The third execution repeats the same harness; it is not independent peer review. Citations: - [toast] PostgreSQL 16: TOAST, on-disk storage and EXTERNAL strategy. https://www.postgresql.org/docs/16/storage-toast.html (accessed 2026-10-21) - [amcheck] PostgreSQL 16: amcheck, verify_heapam and verification limits. https://www.postgresql.org/docs/16/amcheck.html (accessed 2026-10-21) - [pgamcheck] PostgreSQL 16: pg_amcheck, relation selection and TOAST-pointer exclusions. https://www.postgresql.org/docs/16/app-pgamcheck.html (accessed 2026-10-21) - [pgchecksums] PostgreSQL 16: pg_checksums, clean-shutdown requirement. https://www.postgresql.org/docs/16/app-pgchecksums.html (accessed 2026-10-21) - [length] PostgreSQL REL_16_15: varlena.c, byteaoctetlen and bytea_substring. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/utils/adt/varlena.c (accessed 2026-10-21) - [size] PostgreSQL REL_16_15: detoast.c, toast_raw_datum_size. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/access/common/detoast.c (accessed 2026-10-21) - [fast08] Bairavasundaram et al. An Analysis of Data Corruption in the Storage Stack. FAST 2008, sections 2.2, 3.2 and 4.5. https://static.usenix.org/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/index.html (accessed 2026-10-21) ### 355 of 597 public cloud outages have an unknown root cause URL: https://hesela.dev/datasets/postmortem-unknown-causes/ Download (CSV): https://hesela.dev/data/datasets/postmortem-unknown-causes.csv Metadata (JSON): https://hesela.dev/data/datasets/postmortem-unknown-causes.json Rows: 39 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Gunawi et al., SoCC 2016, Table 3, mark 355 of 597 unplanned outages as UNKNOWN. The study covers 32 popular Internet services and 1,247 public reports from January 2009 through December 2015. The paper states that only 40% of those descriptions reveal a root cause and only 24% reveal a fix. Among known root-cause tags, the three largest counts are UPGRADE 54 (16%), NETWORK 52 (15%), and BUGS 51 (15%). STORAGE is 13 occurrences on 4 services (4% of known causes). HARDWARE is 5 occurrences on 4 services (1% of known causes). One outage can carry more than one tag, so the occurrence column is not a partition of the 597 outages. In the yearly column, M means at least 10, not exactly 10. Correction: 2026-10-12: completed the existing primary citation's author and venue metadata after checking the PDF title page; CSV values, citation IDs, source URL and original access dates are unchanged. Updated: 2026-10-13 Source accessed: 2026-10-09 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www.drj.com/wp-content/uploads/2018/07/socc16-cos.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/postmortem-unknown-causes/#rights-and-reuse Rights evidence (primary publication and listed publisher policy only): - Haryadi S. Gunawi, Mingzhe Hao, Riza O. Suminto, Agung Laksono, Anang D. Satria, Jeffry Adityatama and Kurnia J. Eliazar. Why Does the Cloud Stop Computing? Lessons from Hundreds of Service Outages. SoCC 2016. DOI: 10.1145/2987550.2987583.. https://www.drj.com/wp-content/uploads/2018/07/socc16-cos.pdf (checked 2026-10-13). The paper's page 1 notice permits credited abstracting and conditional personal or classroom copying, and states that other copying or redistribution requires permission and/or a fee. It does not establish a license for COSDB or this CSV. Columns: - row_kind (string): Which stated cut the row transcribes: population, uptime, table3, impact, or fix. - measure (string): The paper's name for the row: a study total, an uptime cut, a Table 3 root-cause tag, an impact tag, or a fix tag. - section (string): Section number as printed. Empty only for UNKNOWN, which has a blank section cell in Table 3. HARDWARE and SERVER are both 5.11. - outages_count (integer): Unplanned outages (count). Filled only on the population row for the 597 outages. Empty means the paper does not give this row as an outage total. - reports_count (integer): Public reports (count). Filled only on the population row for the 1247 unique links. Empty otherwise. - tags_count (integer): Outage metadata tags (count). Filled only on the population row for the 3249 COSDB tags. Empty otherwise. Not a sum of Table 3. - study_services_count (integer): Services in the study (count). Filled only on the population row for the 32 services in Table 1. Empty otherwise. - tagged_services_count (integer): Services with this root cause (count). Table 3 column #Sv. Empty when the row is not a Table 3 root cause. - services_short_of_uptime_count (integer): Services short of the stated uptime (count), from section 3.2. Empty when the row is not an uptime cut. - occurrences_count (integer): Root-cause occurrences (count). Table 3 column Cnt. Not a partition of the 597 outages. Empty outside Table 3. - share_percent (integer): Printed share (%). The basis is share_basis, not a single denominator. Empty when the paper prints a dash or does not print a percent. Table 3 UNKNOWN is empty. - share_basis (string): What share_percent is a percent of, using the paper's wording. Empty when share_percent is empty. - yearly_marks (string): Table 3 yearly marks for 2009 through 2015, seven tokens separated by periods, copied as printed. M means at least 10, not exactly 10. A dash is the paper's dash, not a zero stored by this file. Empty outside Table 3. - signal (string): The report wording or column the paper uses to assign this tag or count. - misses (string): What that signal does not prove, from a sentence in the same paper or from a blank the paper leaves. - citation_id (string): Id into the citations list. Open that URL for the sentence. Every row cites the SoCC 2016 PDF. Citations: - [gunawi-socc16] Haryadi S. Gunawi, Mingzhe Hao, Riza O. Suminto, Agung Laksono, Anang D. Satria, Jeffry Adityatama and Kurnia J. Eliazar. Why Does the Cloud Stop Computing? Lessons from Hundreds of Service Outages. SoCC 2016. DOI: 10.1145/2987550.2987583. https://www.drj.com/wp-content/uploads/2018/07/socc16-cos.pdf (accessed 2026-10-09) - [demirbas-2016] Paper Review: Why Does the Cloud Stop Computing? Lessons from Hundreds of Service Outages. https://muratbuffalo.blogspot.com/2016/11/why-does-cloud-stop-computing-lessons.html (accessed 2026-10-09) ### QCOW2 dependency and verification observations URL: https://hesela.dev/datasets/qcow2-dependency-observations/ Download (CSV): https://hesela.dev/data/datasets/qcow2-dependency-observations.csv Metadata (JSON): https://hesela.dev/data/datasets/qcow2-dependency-observations.json Rows: 30 License: CC0-1.0 for original Hesela code and observations; QEMU and upstream documentation retain their own licenses. Ten controlled cases separate overlay identity, backing dependencies, image consistency and guest-byte comparison. Evidence type: measured-tool-behavior-with-synthetic-inputs Method: Nine offline QCOW2 scenarios use four 65536-byte clusters and a known full-byte oracle. A tenth raw-image control compares unequal virtual sizes with a zero tail. 3 repetitions on one host; explicit formats, closed writers, no live VM. Published: 2026-10-18 Updated: 2026-10-18 Generated: 2026-10-18T20:08:09.979218+00:00 Source: https://hesela.com/analyses/qcow2-backing-chain-verification/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/qcow2-backing-chain-verification/ Code: https://hesela.dev/research/qcow2-dependencies.py Generator: https://hesela.dev/research/build-qcow2.py Columns: - repetition (integer): Repeat number on one host, not an independent reliability trial. - case (string): Controlled fixture manipulation. - checkExit (integer|null): qemu-img check status: 0 completed consistently; 1 could not open the missing dependency. Null for raw size control. - compareExit (integer): qemu-img compare: 0 equal under default rules; 1 differs; 2 opening error. - exportExit (integer|null): Full raw export: 0 success; 1 opening failure; null for size control. - topHashUnchanged (boolean|null): Overlay SHA-256 equals its own pre-manipulation hash; null for size control. - guestMatchesBaseline (boolean|null): Every exported byte equals the independent baseline; null when unreadable or not applicable. - changedGuestBytes (integer|null): Differing byte positions against the equal-length baseline; null when unavailable. - strictCompareExit (integer|null): Strict compare status in the zero-tail control; null elsewhere. Limits: - Synthetic bytes and controlled file mutations, not a VM restore, power-loss test, performance benchmark or failure-rate sample. - One Ubuntu QEMU 8.2.2 package; other versions, options and formats can differ. - Uncompressed, unencrypted images with standard clusters and one raw base; no internal snapshots, external data files or dirty bitmaps. - Successful guest-byte export does not establish guest filesystem, application or multi-disk consistency. Citations: - [qemu-tool] QEMU 8.2.2: qemu-img check, compare and rebase. https://github.com/qemu/qemu/blob/v8.2.2/docs/tools/qemu-img.rst (accessed 2026-10-18) - [qcow2-format] QEMU 8.2.2: QCOW2 image file format, cluster mapping and zero clusters. https://github.com/qemu/qemu/blob/v8.2.2/docs/interop/qcow2.txt (accessed 2026-10-18) - [qemu-refcounts] QEMU 8.2.2: qcow2_check_refcounts implementation. https://github.com/qemu/qemu/blob/v8.2.2/block/qcow2-refcount.c (accessed 2026-10-18) - [libvirt-chain] libvirt: disk image chains, backing formats and relocation. https://libvirt.org/kbase/backing_chains.html (accessed 2026-10-18) ### QCOW2 external-data observations URL: https://hesela.dev/datasets/qcow2-external-data-observations/ Download (CSV): https://hesela.dev/research/qcow2-external/observations.csv Metadata (JSON): https://hesela.dev/data/datasets/qcow2-external-data-observations.json Rows: 60 License: CC0-1.0 Sixty offline observations separate external payload identity, working-directory resolution, zero-write semantics and successful metadata inspection. Evidence type: native-tool-observations-on-synthetic-inputs Method: Ten isolated cases x two data_file_raw modes x three repetitions on one host. A four-cluster, 256 KiB disk is written with known bytes and one cluster is zeroed. Every successful raw export is compared at every byte position with an independent oracle. Published: 2026-10-21 Updated: 2026-10-21 Generated: 2026-10-21T16:23:20.555603+00:00 Source: https://hesela.com/analyses/qcow2-backing-chain-verification/#external-data License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/qcow2-backing-chain-verification/#external-data Code: https://hesela.dev/research/qcow2-external/observe.py Generator: https://hesela.dev/research/qcow2-external/build.py Columns: - case (string): Controlled manipulation; every case begins from a fresh private fixture. - rawMode (boolean): data_file_raw creation flag, not a guarantee after out-of-band modification. - repetition (integer): Repeat on one host, not an independent reliability sample. - checkExit (integer): qemu-img check exit: 0 consistent; 1 opening failed in these fixtures. - infoExit (integer): qemu-img info --backing-chain exit; zero does not prove payload readability. - compareExit (integer): qemu-img compare exit: 0 equal; 1 completed difference; 2 opening failed. - exportExit (integer): Raw export exit: 0 completed; 1 opening failed in these fixtures. - metadataUnchanged (boolean): Metadata file size and SHA-256 unchanged from its pre-manipulation snapshot. - changedGuestBytes (integer|null): Differing positions across all 262144 guest bytes; null when unreadable. - initialDirectRawChangedBytes (integer): Difference count when reading the intact external file directly, before manipulation. Limits: - Synthetic offline files, not a VM restore, crash experiment, field failure sample or benchmark. - One Ubuntu QEMU 8.2.2 package and regular-file backend; no assurance about other versions or runtimes. - No backing file, guest filesystem, compression, encryption, internal snapshot, dirty bitmap or live writer. - Raw-mode agreement is checked before manipulation; out-of-band payload edits can break that agreement. - File hashes identify bytes, not authenticity, intended recovery state or application consistency. Citations: - [qcow2-format] QEMU v8.2.2: external-data feature bits and standard cluster descriptors. https://github.com/qemu/qemu/blob/v8.2.2/docs/interop/qcow2.txt (accessed 2026-10-21) - [qcow2-external-test] QEMU v8.2.2 iotest 244: external data, zero writes and raw-mode controls. https://github.com/qemu/qemu/blob/v8.2.2/tests/qemu-iotests/244 (accessed 2026-10-21) - [qcow2-external-open] QEMU v8.2.2: external data-file opening and creation implementation. https://github.com/qemu/qemu/blob/v8.2.2/block/qcow2.c (accessed 2026-10-21) - [qemu-refcounts] QEMU v8.2.2: external-data treatment in reference-count checks. https://github.com/qemu/qemu/blob/v8.2.2/block/qcow2-refcount.c (accessed 2026-10-21) - [qemu-info-implementation] QEMU v8.2.2: image information collection and NO_IO opening. https://github.com/qemu/qemu/blob/v8.2.2/qemu-img.c (accessed 2026-10-21) ### RAID write costs: reads, writes and payload URL: https://hesela.dev/datasets/raid-write-costs/ Download (CSV): https://hesela.dev/data/datasets/raid-write-costs.csv Metadata (JSON): https://hesela.dev/data/datasets/raid-write-costs.json Rows: 56 License: CC0-1.0 for Hesela's original model and generated rows. Cited works retain their own rights. 56 deterministic RAID5/P+Q examples compare read-modify-write and reconstruct-write with explicit byte denominators. No device measurements or timing predictions. Evidence type: deterministic-accounting-model Method: Healthy fixed-width parity rows with complete equal-size block replacements and cold cache. k data blocks, p parity blocks, u replacements. RMW reads u+p and writes u+p; reconstruct reads k-u and writes u+p. One transfer of one member block is one operation. Each row is independent. The two strategies have equal operation count when 2u+p=k. Published: 2026-10-11 Updated: 2026-10-11 Generated: 2026-10-11T20:20:35.124Z Source: https://hesela.com/analyses/raid-write-penalty-io-not-speed/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/raid-write-penalty-io-not-speed/ Code: https://hesela.dev/research/raid-write-costs.mjs Columns: - k (number): Data blocks per parity row. - p (number): Parity blocks: 1 for RAID5, 2 for P+Q. - u (number): Complete data blocks replaced together in the same row. - blockBytes (number): Bytes per equal-size member block; illustrative 4096-byte input. - strategy (string): Forced rmw or reconstruct; not an observed controller choice. - reads (number): Member-block reads before parity calculation, with no cache hits. - writes (number): Changed-data plus parity member-block writes. - operations (number): Reads plus writes; counts, not seconds. - hostBytes (number): Replacement payload bytes: u times blockBytes. - readBytes (number): Member-interface bytes read. - writeBytes (number): Member-interface bytes written; excludes NAND-internal work. - operationsPerHostBlock (number): Member-block reads and writes divided by u. - writeBytesPerHostByte (number): Member write bytes divided by host payload bytes. - ioBytesPerHostByte (number): Member read plus write bytes divided by host payload bytes. Limits: - Synthetic arithmetic, not sampled observations, a benchmark or a paper replication. No confidence interval applies. - All members are available. This is not an encoder, RAID simulator or degraded-write policy. - RMW at u=k is forced as a comparison, not recommended or asserted controller behavior. - Excludes caching, merged commands, journals, flushes, metadata, retries, CPU time and device-internal amplification. - The 4 KiB block is an equal slice at the same offset across members, not a required configured RAID chunk size. - Minimum transfer count is not a guaranteed minimum latency or maximum throughput. Citations: - [chen1994] Peter M. Chen, Edward K. Lee, Garth A. Gibson, Randy H. Katz and David A. Patterson. RAID: High-Performance, Reliable Secondary Storage. ACM Computing Surveys 26(2), 145-185 (1994). Author manuscript: sections 3.2.5-3.3.2, Table 3 and 4.1. https://pdl.cmu.edu/PDL-FTP/RAID/computin.pdf (accessed 2026-10-11) - [williams2006] Dan J. Williams. MD RAID Acceleration: Support for Asynchronous DMA/XOR Engines. Linux Symposium 2006, Volume Two, printed pp. 409-414; sections 3-5. The PDF filename uses different pagination. https://www.kernel.org/doc/ols/2006/ols2006v2-pages-417-422.pdf (accessed 2026-10-11) - [linux-cache] Linux kernel documentation: RAID 4/5/6 cache, write-back mode and implementation. Rolling documentation; accessed 11 October 2026. https://www.kernel.org/doc/html/latest/driver-api/md/raid5-cache.html (accessed 2026-10-11) ### RAID write-hole states: an exhaustive one-bit XOR model URL: https://hesela.dev/datasets/raid-write-hole-state-model/ Download (CSV): https://hesela.dev/data/datasets/raid-write-hole-state-model.csv Metadata (JSON): https://hesela.dev/data/datasets/raid-write-hole-state-model.json Rows: 32 License: CC0-1.0 for Hesela-generated CSV and numerical rows; model code MIT; cited sources retain their own licenses. 32 synthetic states distinguish inconsistent parity, recovery of an untouched missing chunk and preservation of an interrupted update. Not hardware measurements or failure probabilities. Evidence type: deterministic-algebraic-model Method: Enumerate eight initial A/B/C bit triples and four independent persistence masks for a single changed A bit and parity. A durable partial-parity record Q=B XOR C is assumed to precede both member updates. Repaired parity is A_after XOR Q. B is absent at reconstruction; A, C and Q survive. Published: 2026-10-11 Updated: 2026-10-11 Generated: 2026-10-11T03:19:58.346Z Source: https://hesela.com/analyses/raid-write-hole-bitmap-ppl/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Code: https://hesela.dev/research/raid-write-hole-model.mjs Columns: - a_before (integer): Initial bit of updated chunk A. Unit: dimensionless bit or 0/1 indicator. - b_unchanged (integer): Initial bit of untouched chunk B; B is the missing member during reconstruction. Unit: dimensionless bit or 0/1 indicator. - c_unchanged (integer): Bit of surviving untouched chunk C. Unit: dimensionless bit or 0/1 indicator. - a_target (integer): Intended new bit in A, always 1 minus a_before in this enumeration. Unit: dimensionless bit or 0/1 indicator. - data_persisted (integer): 1 if the A update reached nonvolatile storage before the modeled crash. Unit: dimensionless bit or 0/1 indicator. - parity_persisted (integer): 1 if the new parity reached nonvolatile storage before the modeled crash. Unit: dimensionless bit or 0/1 indicator. - a_after (integer): A bit available after the modeled crash. Unit: dimensionless bit or 0/1 indicator. - parity_after (integer): Possibly stale parity bit available after the modeled crash. Unit: dimensionless bit or 0/1 indicator. - parity_consistent (integer): 1 if parity_after equals XOR of the three post-crash data bits. Unit: dimensionless bit or 0/1 indicator. - naive_recovered_b (integer): B reconstructed using a_after, c_unchanged and possibly stale parity. Unit: dimensionless bit or 0/1 indicator. - naive_b_correct (integer): 1 if naive_recovered_b equals b_unchanged. Unit: dimensionless bit or 0/1 indicator. - ppl_repaired_parity (integer): XOR of a_after and durably recorded XOR of untouched B and C. Unit: dimensionless bit or 0/1 indicator. - ppl_recovered_b (integer): B reconstructed using the repaired parity. Unit: dimensionless bit or 0/1 indicator. - ppl_b_correct (integer): 1 if ppl_recovered_b equals b_unchanged. Unit: dimensionless bit or 0/1 indicator. - a_target_present (integer): 1 if A contains the intended new bit; independent of B recovery. Unit: dimensionless bit or 0/1 indicator. Limits: - Synthetic state enumeration, not a sample of devices; state counts are not event probabilities and no confidence interval is applicable. - Atomic one-bit member writes; no torn sectors, firmware, journal corruption, concurrency, RAID6 or multiple failures. - The durable PPL record, its integrity and ordering are assumptions. This is not an implementation or verification of Linux MD recovery. - Missing B was not being written. Missing A is outside the modeled guarantee; PPL does not generally preserve in-flight writes. - No upper-layer I/O acknowledgement is modeled. a_target_present is not an application durability guarantee. Citations: - [ppl] Linux v6.12: Partial Parity Log. https://github.com/torvalds/linux/blob/v6.12/Documentation/driver-api/md/raid5-ppl.rst (accessed 2026-10-11) - [journal] Linux v6.12: RAID 4/5/6 cache. https://github.com/torvalds/linux/blob/v6.12/Documentation/driver-api/md/raid5-cache.rst (accessed 2026-10-11) - [md] Linux v6.12: RAID arrays, dirty/degraded assembly and bitmap metadata. https://github.com/torvalds/linux/blob/v6.12/Documentation/admin-guide/md.rst (accessed 2026-10-11) - [flush] Linux v6.12: Explicit volatile write back cache control. https://github.com/torvalds/linux/blob/v6.12/Documentation/block/writeback_cache_control.rst (accessed 2026-10-11) ### Replacing disks at 200 reallocated sectors removed 88% of triple-disk RAID failures at one vendor URL: https://hesela.dev/datasets/raidshield-reallocated-sectors/ Download (CSV): https://hesela.dev/data/datasets/raidshield-reallocated-sectors.csv Metadata (JSON): https://hesela.dev/data/datasets/raidshield-reallocated-sectors.json Rows: 17 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Ma et al., FAST 2015, analysed about 1 million SATA disks in 6 models in one vendor's backup systems (logs of 21 to 60 months from June 2008). Replacing a disk once its reallocated-sector count passed 200 avoided about 88% of triple-disk RAID failures, which were 80% of RAID failures, or about 70% of all disk-related incidents. In simulation, thresholds below 200 caught 52% to 70% of failures within 60 days with 0.8% to 4.5% false positives. Cross-check rows come from Google (FAST 2007) and Backblaze (2016). Updated: 2026-10-13 Source accessed: 2026-10-10 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www.usenix.org/system/files/conference/fast15/fast15-paper-ma.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/raidshield-reallocated-sectors/#rights-and-reuse Companion analysis: https://hesela.com/analyses/raidshield-reallocated-sectors/ Rights evidence (primary publication and listed publisher policy only): - RAIDShield: Characterizing, Monitoring, and Proactively Protecting Against Disk Failures, Ma et al., FAST 2015 (USENIX PDF). https://www.usenix.org/system/files/conference/fast15/fast15-paper-ma.pdf (checked 2026-10-13). The paper is publicly readable through USENIX. No standalone reuse license for this CSV was verified. - USENIX Conference Submissions Policy: copyright. https://www.usenix.org/conferences/author-resources/submissions-policy (checked 2026-10-13). Authors retain copyright; this publisher policy is not a license for Hesela's derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - The 88% is the vendor's own before and after comparison, normalized to the pre-deployment monthly average. Absolute rates are not published. - The deployed rule covered 3 of the 6 models. Simulated rates come from one model. - The paper prints 65% and 2.5% in the introduction and 52% to 70% and 0.8% to 4.5% in the evaluation. - ARMOR was only simulated. - The systems are write-heavy backup systems. - Google and Backblaze rows are different fleets and measures and do not test the 88%. Citations: - [ma-fast15-pdf] RAIDShield: Characterizing, Monitoring, and Proactively Protecting Against Disk Failures, Ma et al., FAST 2015 (USENIX PDF). https://www.usenix.org/system/files/conference/fast15/fast15-paper-ma.pdf (accessed 2026-10-10) - [pinheiro-usenix-html] Failure Trends in a Large Disk Drive Population, Pinheiro, Weber, and Barroso, FAST 2007 (USENIX HTML proceedings). https://www.usenix.org/legacy/events/fast07/tech/full_papers/pinheiro/pinheiro_html/index.html (accessed 2026-10-09) - [backblaze-smart-2016] What SMART Stats Tell Us About Hard Drives, Backblaze, 6 October 2016. https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/ (accessed 2026-10-10) ### RAIDZ expansion: ideal retained parity overhead URL: https://hesela.dev/datasets/raidz-expansion-overhead/ Download (CSV): https://hesela.dev/data/datasets/raidz-expansion-overhead.csv Metadata (JSON): https://hesela.dev/data/datasets/raidz-expansion-overhead.json Rows: 5 License: CC0-1.0 for Hesela's original model and generated data; cited sources retain their own rights. Five deterministic mixtures of old and new full-width parity geometry for the same 6 TiB payload. Not measured storage capacity or ZFS space-report output. Evidence type: deterministic-accounting-model Method: Hold payload D=6 TiB and parity P=2 fixed; old width N=4, new width M=5. Enumerate old payload fractions f=0,0.25,0.5,0.75,1. Compute raw=D*f*N/(N-P)+D*(1-f)*M/(M-P); extra=D*f*P*(M-N)/((N-P)*(M-P)). TiB means 2^40 bytes. CSV rounds numbers to nine decimal places; the in-page table uses these exact half-TiB example values. Each row is an independent hypothetical cohort mixture, not an observed time step. Published: 2026-10-16 Updated: 2026-10-16 Generated: 2026-10-16T08:41:22.503Z Source: https://hesela.com/analyses/raidz-expansion-parity-capacity/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/raidz-expansion-parity-capacity/ Code: https://hesela.dev/research/raidz-expansion.mjs Generator: https://hesela.dev/research/build-raidz-expansion.mjs Columns: - oldWidth (number): Original physical width, including parity; 4 in this example. - newWidth (number): Final physical width, including parity; 5 in this example. - parity (number): Unchanged parity-fragment count per full row; 2. - payloadTiB (number): Total payload in TiB (2^40 bytes), excluding parity; 6. - oldFraction (number): Fraction of payload bytes retaining the old data-to-parity ratio, not pool occupancy. - oldPayloadTiB (number): Payload at the old ratio, in TiB. - newPayloadTiB (number): Payload at the new ratio, in TiB. - oldParityTiB (number): Ideal parity allocated for the old cohort, in TiB. - newParityTiB (number): Ideal parity allocated for the new cohort, in TiB. - rawTiB (number): Modeled total payload plus parity, in TiB; not zfs list or zpool list output. - allNewRawTiB (number): Counterfactual allocation if all payload used the new ratio and old blocks were freed, in TiB. - retainedExtraTiB (number): Extra allocation relative to that all-new counterfactual, in TiB; not promised reclaimable space. Limits: - This is deterministic algebra, not a hardware benchmark, field dataset or replication of FastScale; no observation period, sampling interval or statistical confidence interval applies. - Assumes full-width equal-size fragments, fixed payload and unchanged parity. Real RAIDZ blocks can use variable widths and incur allocation padding. - Excludes metadata, compression, deduplication, snapshots, clones, reservations, free-space headroom and filesystem accounting conventions. - The all-new counterfactual assumes old blocks are freed. Retained snapshot or clone references can make a rewrite consume additional space. - Multiple historical expansion widths require separate cohort accounting; this export contains only one old and one new geometry. - No prediction of rewrite duration, error rate, recoverability, actual usable capacity or reported AVAIL. Citations: - [attach] OpenZFS 2.3: zpool-attach(8), RAID-Z expansion and space reporting. https://openzfs.github.io/openzfs-docs/man/v2.3/8/zpool-attach.8.html (accessed 2026-10-16) - [rewrite] OpenZFS zfs-2.3.4: zfs-rewrite(8), snapshot and clone space consequences. https://github.com/openzfs/zfs/blob/zfs-2.3.4/man/man8/zfs-rewrite.8 (accessed 2026-10-16) - [concepts] OpenZFS zfs-2.3.0: zpoolconcepts(7), RAID-Z virtual devices. https://github.com/openzfs/zfs/blob/zfs-2.3.0/man/man7/zpoolconcepts.7 (accessed 2026-10-16) ### Read-only SSD intervals: when byte WAF is undefined URL: https://hesela.dev/datasets/read-reclaim-accounting/ Download (CSV): https://hesela.dev/data/datasets/read-reclaim-accounting.csv Metadata (JSON): https://hesela.dev/data/datasets/read-reclaim-accounting.json Rows: 4 License: CC0-1.0 for Hesela's original code and constructed examples. Source publications retain their own rights. Four constructed counter-delta cases preserve zero-host-write intervals, distinguish ratios from rates, and show why sequential windows must be combined before division. Evidence type: deterministic-arithmetic-examples Method: Invented consecutive write and read windows, each 3,600 seconds, plus their combined interval and an independent idle case. Byte WAF = nandProgramBytes/hostWriteBytes when hostWriteBytes>0, otherwise null. Program rate = nandProgramBytes/durationSeconds. Combine nonoverlapping sequential windows by adding byte deltas and duration, not averaging ratios. Published: 2026-10-12 Updated: 2026-10-12 Generated: 2026-10-12T06:22:55.336Z Source: https://www.snia.org/education/online-dictionary/term/write-amplification-factor License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ Code: https://hesela.dev/research/read-reclaim-accounting.mjs Columns: - scenario (string): Constructed window label; combined-write-and-read overlaps its component rows and must not be added to them. - hostReadBytes (number): Host-read byte delta in this interval; zero is an explicit observation, not missing data. - hostWriteBytes (number): Host-written byte delta; denominator of byte WAF. - nandProgramBytes (number): Assumed physical NAND-program byte delta; not inferred from host counters or attributed entirely to reclaim. - durationSeconds (number): Interval duration in seconds; positive integer. - byteWaf (number|null): NAND-programmed bytes divided by host-written bytes; null in JSON and empty in CSV when denominator is zero. - nandProgramBytesPerSecond (number): Mean physical-program rate, bytes/second, across the whole interval; not peak throughput. - nandProgramBytesPerHostReadByte (number|null): NAND-programmed bytes/host-read byte; not WAF or causal attribution; null/blank if no host reads. Limits: - Constructed counter deltas, not hardware observations, firmware simulation or reproduced paper data. - NAND programming may include reclaim, garbage collection, metadata and other work; these rows do not separate causes. - Counter availability, units, scope, resets and saturation must be verified before applying arithmetic to actual telemetry. - Only nonoverlapping consecutive intervals of the same device and measurement scope can be combined. The combined row is not an additional independent observation. - No latency, failure probability, read-count threshold or lifetime prediction. Deterministic arithmetic has no sampling confidence interval. Citations: - [snia] SNIA dictionary: write amplification factor. Operation-count convention, not the byte convention used in our examples. https://www.snia.org/education/online-dictionary/term/write-amplification-factor (accessed 2026-10-12) - [hesela-reclaim] Hesela: SSD read reclaim and read-only accounting. https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ (accessed 2026-10-12) ### Read repair: three constructed state traces URL: https://hesela.dev/datasets/read-repair-traces/ Download (CSV): https://hesela.dev/data/datasets/read-repair-traces.csv Metadata (JSON): https://hesela.dev/data/datasets/read-repair-traces.json Rows: 9 License: CC0-1.0 for Hesela's original model code and constructed traces; cited documentation retains its own license. A finite example contrasts a narrow blocking repair, response-only reconciliation and a full-partition read, without running a Cassandra cluster. Evidence type: constructed-state-traces Method: Each independent scenario starts with A=(1,1), B=C=(0,0) for rows x and y of one partition after an unsuccessful quorum write reached A only. A read contacts A+B; a second read contacts B+C. Reconciliation chooses the higher generation per queried row. BLOCKING copies those rows to both participants before returning; NONE returns reconciled rows without writing. All repair writes succeed. The third scenario changes the first read from x alone to x+y. Published: 2026-10-13 Updated: 2026-10-13 Generated: 2026-10-13T02:21:39.965Z Source: https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/managing/operating/read_repair.adoc License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/replica-repair-coverage/ Code: https://hesela.dev/research/read-repair-traces.mjs Columns: - scenario (string): Independent scenario label; not a sampled population. - mode (string): Model rule: BLOCKING writes selected rows to contacted replicas; NONE does not. - step (integer): 0 initial state, 1 first read, 2 second read; ordering only, not elapsed time. - participants (string): Contacted replica names, joined with +; empty at initialization. - fields (string): Rows selected within one partition, joined with +; empty at initialization. - returnedX (integer|null): Generation returned for row x; null/empty CSV means not read, never zero. - returnedY (integer|null): Generation returned for row y; null/empty CSV means not read, never zero. - A (string): Replica A state after the step, x/y; 0 is the old generation and 1 the new generation, not an application-value ordering. - B (string): Replica B state after the step, x/y; 0 is the old generation and 1 the new generation, not an application-value ordering. - C (string): Replica C state after the step, x/y; 0 is the old generation and 1 the new generation, not an application-value ordering. Limits: - Constructed finite traces, not Cassandra execution, measured traffic or reproduction of paper data. - One partition, three full replicas, two ordered generations and two responding replicas per read; no concurrent updates, timestamp ties, expiry, deletion, speculative reads, hints, batch replay or anti-entropy. - Repair writes are assumed successful. Failures, topology, acknowledgements, persistence and latency are not simulated. - The chosen contact schedule is possible, not a frequency estimate or exhaustive proof of implementation behavior. - Changing the first read's scope repairs both rows in this trace only; this does not prove general transaction isolation or recommend a production setting. - Rows are dependent states in three separate scenarios; no statistical confidence interval is applicable. Citations: - [read] Apache Cassandra 5.0.0: Read repair; table-level configuration and partition write atomicity. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/managing/operating/read_repair.adoc (accessed 2026-10-13) ### Eleven nines: what a durability model does not prove URL: https://hesela.dev/datasets/s3-durability-eleven-nines-derivation/ Download (CSV): https://hesela.dev/data/datasets/s3-durability-eleven-nines-derivation.csv Metadata (JSON): https://hesela.dev/data/datasets/s3-durability-eleven-nines-derivation.json Rows: 21 Rights statement: No standalone reuse license has been verified for this mixed-source derived CSV. It combines attributed source figures and labeled arithmetic; it is not an observed loss dataset or a copy of the papers. The sources retain their own rights. Historical source figures and reproducible fixed-window arithmetic: distinguish Poisson event counts from distinct-shard binomial probabilities, with explicit storage-class scope. Updated: 2026-10-15 Source accessed: 2026-10-15 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-15 Source: https://www.backblaze.com/blog/cloud-storage-durability/ Rights statement URL (not a license grant): https://hesela.dev/datasets/s3-durability-eleven-nines-derivation/#rights-and-reuse Companion analysis: https://hesela.com/analyses/s3-durability-eleven-nines-derivation/ Rights evidence (primary publication and listed publisher policy only): - Amazon S3 FAQs, Durability and Data Protection (AWS, vendor document). https://aws.amazon.com/s3/faqs/ (checked 2026-10-15). Reviewed for factual provenance; this source is not a verified standalone reuse license for Hesela's mixed-source CSV. - AWS S3 User Guide: storage classes, durability and Availability Zone scope. https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html (checked 2026-10-15). Reviewed for factual provenance; this source is not a verified standalone reuse license for Hesela's mixed-source CSV. - Backblaze Durability Calculates at 99.999999999% And Why It Doesn't Matter, Brian Wilson, Backblaze blog, 17 July 2018 (vendor derivation). https://www.backblaze.com/blog/cloud-storage-durability/ (checked 2026-10-15). Reviewed for factual provenance; this source is not a verified standalone reuse license for Hesela's mixed-source CSV. - Mean time to meaningless: MTTDL, Markov models, and storage system reliability, Greenan, Plank, and Wylie, USENIX HotStorage 2010 (USENIX PDF, independent academic source). https://www.usenix.org/legacy/event/hotstorage10/tech/full_papers/Greenan.pdf (checked 2026-10-15). Reviewed for factual provenance; this source is not a verified standalone reuse license for Hesela's mixed-source CSV. - Backblaze erasure-coding durability notebook, pinned revision 37f758d. https://github.com/Backblaze/erasure-coding-durability/blob/37f758d64240cfb42a6d6fd41ff4ca16b8499bb3/calculation.ipynb (checked 2026-10-15). Reviewed for factual provenance; this source is not a verified standalone reuse license for Hesela's mixed-source CSV. Columns: - measure (string): The quantity as the source names it, or our derived quantity. - value_low (number): Retained legacy range column; empty for this point-value extract. - value_high (number): Point value, not an upper uncertainty bound; see scope and note. - unit (string): Unit of the value. - scope (string): Population and context the value applies to; 'Derived by us' marks our arithmetic. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list; several ids are separated by semicolons. Limits: - All window calculations assume independent, constant-rate shard failures and independent fixed periods. They do not model overlapping repairs, losses straddling period boundaries, latent corruption, shared dependencies or operational deletion. The fractional annual exponent is a historical approximation, not an event-driven repair simulation. Extra decimal digits reduce rounding error but do not reduce model uncertainty. No empirical confidence interval, provider ranking or guarantee follows. - The 2018 Backblaze inputs are historical, not current provider measurements. - The source extract has 21 rows; the separate model CSV has four deterministic parameter scenarios. Neither count is an empirical sample size. - An expected loss count is not a guaranteed waiting time. Probability of any loss needs assumptions about dependence. - The AWS storage-class source excludes One Zone classes from the three-zone claim. Citations: - [aws-s3-faq] Amazon S3 FAQs, Durability and Data Protection (AWS, vendor document). https://aws.amazon.com/s3/faqs/ (accessed 2026-10-15) - [aws-s3-userguide] AWS S3 User Guide: storage classes, durability and Availability Zone scope. https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html (accessed 2026-10-15) - [backblaze-2018] Backblaze Durability Calculates at 99.999999999% And Why It Doesn't Matter, Brian Wilson, Backblaze blog, 17 July 2018 (vendor derivation). https://www.backblaze.com/blog/cloud-storage-durability/ (accessed 2026-10-15) - [greenan-hotstorage10-pdf] Mean time to meaningless: MTTDL, Markov models, and storage system reliability, Greenan, Plank, and Wylie, USENIX HotStorage 2010 (USENIX PDF, independent academic source). https://www.usenix.org/legacy/event/hotstorage10/tech/full_papers/Greenan.pdf (accessed 2026-10-15) - [backblaze-notebook] Backblaze erasure-coding durability notebook, pinned revision 37f758d. https://github.com/Backblaze/erasure-coding-durability/blob/37f758d64240cfb42a6d6fd41ff4ca16b8499bb3/calculation.ipynb (accessed 2026-10-15) ### At 128K, one three-node vSAN cluster read 10,366 MB/s on NVMe, 4,566 MB/s on SAS, and 2,776 MB/s on SATA URL: https://hesela.dev/datasets/sata-sas-nvme-measured-throughput/ Download (CSV): https://hesela.dev/data/datasets/sata-sas-nvme-measured-throughput.csv Metadata (JSON): https://hesela.dev/data/datasets/sata-sas-nvme-measured-throughput.json Rows: 11 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. At 128K and 100 percent sequential read, one three-node VMware vSAN cluster reached 10,366 MB/s on KIOXIA CD6 NVMe, 4,566 MB/s on 12 Gbps SAS, and 2,776 MB/s on 6 Gbps SATA. Principled Technologies reported those cluster totals at each configuration's own 100 percent Vdbench IOrate. Hands-on testing ended 21 May 2021, the configurations were finalized on 14 April 2021 or earlier, and the KIOXIA-commissioned report is dated September 2021. The same rows show latency of 13.88 ms on NVMe and 3.51 ms on SATA, so the higher throughput is not a lower-latency result. The 6 Gbps and 12 Gbps figures are the printed link rates and are not converted to MB/s. Updated: 2026-10-13 Source accessed: 2026-10-11 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www.principledtechnologies.com/KIOXIA/RM5-Series-value-SAS-and-CD6-NVMe-mainstream-vs-SATA-Vdbench-science-0921.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/sata-sas-nvme-measured-throughput/#rights-and-reuse Rights evidence (primary publication and listed publisher policy only): - The science behind the report: Process more read-heavy I/O with HPE ProLiant DL385 Gen10 Plus servers configured with KIOXIA value SAS and NVMe mainstream SSDs (Principled Technologies, September 2021). https://www.principledtechnologies.com/KIOXIA/RM5-Series-value-SAS-and-CD6-NVMe-mainstream-vs-SATA-Vdbench-science-0921.pdf (checked 2026-10-13). Page 7 contains a warranty and liability disclaimer and identifies KIOXIA as the commissioning company. These statements do not establish a reuse license for this CSV or the benchmark measurements. Columns: - figure_kind (string): measured_cluster, vendor_drive_rating, or interface_line_rate. These are different populations and are not interchangeable. - block_size_as_printed (string): Block size as the source prints it: 32K, 64K, 128K, or 128 KB. Not converted to bytes. - interface (string): SATA, SAS, NVMe, or PCIe. - cluster_throughput_mb_s (number): Three-node vSAN cluster throughput in MB/s as Principled Technologies printed it at 100 percent Vdbench IOrate. Blank when the row is not that measurement. The PDF does not define MB. - cluster_iops (number): Cluster input/output operations per second at the same 100 percent IOrate point. Blank when the row is not that measurement. - latency_ms (number): Latency in milliseconds at the same 100 percent IOrate point. Blank when the row is not that measurement. - link_rate_gbps (number): Link rate in Gbps as science PDF Table 4 prints it: 6 for SATA or 12 for SAS. Not converted to MB/s. Blank when the source does not print a Gbps figure. - vendor_sequential_read_mb_s (number): Single-drive sequential read in MB/s. KIOXIA defines 1 MB as 1,000,000 bytes. A vendor claim, not the vSAN cluster. Blank on cluster rows. - pcie_transfer_rate_gt_s (number): PCIe transfer rate in gigatransfers per second from KIOXIA FAQ Table 1. An interface rate, not a drive measurement. - pcie_x1_payload_gb_s (number): PCIe x1 payload throughput in GB/s from KIOXIA FAQ Table 1. Not a Vdbench result. - pcie_x4_payload_gb_s (number): PCIe x4 payload throughput in GB/s from KIOXIA FAQ Table 1. Not evidence that the tested server used four lanes. - drive_as_printed (string): Capacity-drive model from science PDF Table 4, or the FAQ series name on the vendor row. Blank on the interface-rate row. - link_as_printed (string): Interface label copied from the source, including words the numeric columns do not encode. - population (string): What the row counts: one three-node cluster, one vendor drive rating, or a reprinted interface rate. - result_date (string): 2021-05-21 is the day Principled Technologies concluded hands-on testing. 2021-04 is the KIOXIA FAQ issue month, not a test day. - note (string): What the row is not, tied to a sentence in the cited file. - citation_id (string): Id of the opened source in the citations list. Limits: - Population: one three-node VMware vSAN cluster per interface, not a sample of clusters. Each node is an HPE ProLiant DL385 Gen10 Plus with one disk group, two 3.84 TB capacity SSDs, and the same 800 GB KIOXIA KCM6XVUL800G NVMe cache, including the SATA configuration. Hands-on testing ended 21 May 2021. Configurations were finalized on 14 April 2021 or earlier. The report is dated September 2021 and was commissioned by KIOXIA. There is no confidence interval. - Not measured: random I/O, writes, mixed read/write, block sizes other than 32K, 64K, and 128K, 24G SAS, per-drive throughput, and a comparison held to one shared latency. The MB/s cells are each configuration's own 100 percent point on a 10-to-120 percent Vdbench IOrate curve. The other curve points are not in this table. - The report says vSAN services write I/O from the cache tier and read I/O from the capacity tier. It does not print a cache-hit counter. vSAN failures-to-tolerate and the RAID policy are not stated. The published parameter file repeats /dev/sdg on sd7 and sd9 and /dev/sdh on sd8 and sd10, while the prose says 24 VMs with ten 10 GB data disks, so the file does not show ten distinct LUNs. - Link rate and measured throughput stay in the units the sources print. 6 Gbps and 12 Gbps are not converted to MB/s. The PCIe 4.0 row is KIOXIA's April 2021 reprint of PCI-SIG rates. Science PDF Table 4 does not state the tested NVMe drive's lane count. - The 6,200 MB/s row is a KIOXIA vendor claim for one CD6-R drive at 3,840 GB, 128 KB, queue depth 32, with 1 MB defined as 1,000,000 bytes. The FAQ does not print part number KCD6XLUL3T84. The science PDF does not define the Vdbench MB, so the cluster MB/s cells are not divided by 6,200 here. - Science PDF Table 2 prints hardware cost and IOPS per dollar. Those figures are not rows in this file. Citations: - [pt-science-0921] The science behind the report: Process more read-heavy I/O with HPE ProLiant DL385 Gen10 Plus servers configured with KIOXIA value SAS and NVMe mainstream SSDs (Principled Technologies, September 2021). https://www.principledtechnologies.com/KIOXIA/RM5-Series-value-SAS-and-CD6-NVMe-mainstream-vs-SATA-Vdbench-science-0921.pdf (accessed 2026-10-11) - [pt-report-0921] Process more read-heavy I/O with HPE ProLiant DL385 Gen10 Plus servers configured with KIOXIA value SAS and NVMe mainstream SSDs (Principled Technologies, September 2021). https://www.principledtechnologies.com/KIOXIA/RM5-Series-value-SAS-and-CD6-NVMe-mainstream-vs-SATA-Vdbench-0921.pdf (accessed 2026-10-11) - [kioxia-faq-2021] What You Need To Know About PCIe 4.0 NVMe SSDs, KIOXIA FAQ, April 2021, Rev. 2.5. https://www.kioxia.com/content/dam/kioxia/shared/business/ssd/asset/KIOXIA_What_You_Need_To_Know_About_PCIe_4_NVMe_SSDs_FAQ.pdf (accessed 2026-10-11) - [pt-infographic-0921] Principled Technologies Vdbench infographic, September 2021. https://www.principledtechnologies.com/KIOXIA/RM5-Series-value-SAS-and-CD6-NVMe-mainstream-vs-SATA-Vdbench-infographic-0921.pdf (accessed 2026-10-11) ### Sector-error prediction and adaptive scrubbing: reported figures URL: https://hesela.dev/datasets/sector-error-prediction-scrubbing/ Download (CSV): https://hesela.dev/data/datasets/sector-error-prediction-scrubbing.csv Metadata (JSON): https://hesela.dev/data/datasets/sector-error-prediction-scrubbing.json Rows: 14 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Selected published figures for drive-week prediction, simulated detection time and two other fleets; these are different endpoints, not a pooled estimate. Correction: 2026-10-12: added the FAST 2016 source named in the population limitation, verified against ATC 2017 section 2.2 and reference 22. No CSV values or existing citation IDs changed. 2026-10-15: clarified endpoint and budget denominators; linked separately generated illustrative arithmetic, without changing the 14 CSV rows or schema. 2026-11-26: added an unresolved source-consistency warning to the NetApp CSV row's note and scope; all 14 rows, seven columns, numeric cells and citation IDs retained. Updated: 2026-11-28 Source accessed: 2026-10-10 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www.usenix.org/system/files/conference/atc17/atc17-mahdisoltani.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/sector-error-prediction-scrubbing/#rights-and-reuse Companion analysis: https://hesela.com/analyses/sector-error-prediction-scrubbing/ Audit: https://hesela.dev/research/scrub-budget/results.json Code: https://hesela.dev/research/scrub-budget/model.py Supplementary artifacts (separate from the source dataset): - Synthetic worked calculation: https://hesela.dev/research/scrub-budget/capacity-results.json. Exact heterogeneous-fleet scan-work results, inputs, assumptions and generator hash; not empirical CSV rows. - Generator: https://hesela.dev/research/scrub-budget/capacity_model.py. Standard-library Python, exact rational accounting. - Tests: https://hesela.dev/research/scrub-budget/test_capacity_model.py. Fourteen regression tests including invalid inputs and heterogeneous cadence. - Source-consistency audit: https://hesela.dev/research/scrub-intervals/lse-source-audit.json. Reported count/denominator/percentage, exact rounding check and source locators. Not raw field data or a corrected prevalence. - Audit code: https://hesela.dev/research/scrub-intervals/lse_source_audit.py. Standard-library exact arithmetic; run with --check alongside the JSON. - Audit tests: https://hesela.dev/research/scrub-intervals/test_lse_source_audit.py. Exact controls and integer-denominator enumeration; not empirical trials. Rights evidence (primary publication and listed publisher policy only): - Improving Storage System Reliability with Proactive Error Prediction, Mahdisoltani, Stefanovici, and Schroeder, USENIX ATC 2017 (USENIX PDF). https://www.usenix.org/system/files/conference/atc17/atc17-mahdisoltani.pdf (checked 2026-10-13). The paper is publicly readable through USENIX. No standalone reuse license for this CSV was verified. - USENIX Conference Submissions Policy: copyright. https://www.usenix.org/conferences/author-resources/submissions-policy (checked 2026-10-13). Authors retain copyright; this publisher policy is not a license for Hesela's derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - Two hard disk models were chosen because they are common and have the highest error rates. - The target is a one-week interval with a sector error, not whole-disk failure. - The paper reports a 75/25 train/test split without establishing chronological or device-disjoint validation. - The scrubbing result is a simulation with two scrub speeds. - The SSD rows come from drives of Google's own FAST 2016 study and are not independent of it. - A false-positive rate conditions on error-free intervals; accelerated-mode time also includes true-positive intervals. They are not interchangeable. - A reported 1.7-1.8 MTTD ratio means approximately 41.2-44.4% less mean detection time, not 70-80% less time or a measured reduction in data loss. - Row ranges can pair model-specific endpoints rather than uncertainty bounds; consult scope and note. The reported numeric cells remain unchanged. - The separate capacity-results.json contains constructed byte-budget examples, not additional source observations; the historical numeric cells are unchanged. - The NetApp row retains 3.45% as reported, not as a corrected estimate: SIGMETRICS 2007 section 5.2 also reports 53,820 affected disks and 1.53 million total, which are arithmetically inconsistent. The exact denominator remains unresolved. Citations: - [mahdisoltani-atc17-pdf] Improving Storage System Reliability with Proactive Error Prediction, Mahdisoltani, Stefanovici, and Schroeder, USENIX ATC 2017 (USENIX PDF). https://www.usenix.org/system/files/conference/atc17/atc17-mahdisoltani.pdf (accessed 2026-10-15) - [bairavasundaram-sigmetrics07] An Analysis of Latent Sector Errors in Disk Drives, Bairavasundaram, Goodson, Pasupathy, and Schindler, SIGMETRICS 2007 (University of Wisconsin ADSL PDF). https://research.cs.wisc.edu/adsl/Publications/latent-sigmetrics07.pdf (accessed 2026-11-26) - [pinheiro-usenix-html] Failure Trends in a Large Disk Drive Population, Pinheiro, Weber, and Barroso, FAST 2007 (USENIX HTML proceedings). https://www.usenix.org/legacy/events/fast07/tech/full_papers/pinheiro/pinheiro_html/index.html (accessed 2026-10-09) - [schroeder-fast16] Bianca Schroeder, Raghav Lagisetty and Arif Merchant. Flash Reliability in Production: The Expected and the Unexpected. FAST 2016, 67-80. Population provenance for the ATC 2017 SSD subset, not an additional independent cohort. https://www.usenix.org/conference/fast16/technical-sessions/presentation/schroeder (accessed 2026-10-12) ### Silent corruption: reading a 1.53-million-drive field study URL: https://hesela.dev/datasets/silent-corruption-checksum-mismatches/ Download (CSV): https://hesela.dev/data/datasets/silent-corruption-checksum-mismatches.csv Metadata (JSON): https://hesela.dev/data/datasets/silent-corruption-checksum-mismatches.json Rows: 18 License: Small derived table of figures printed in Bairavasundaram et al. (FAST 2008) and the CERN IT report Data integrity (Panzer-Steindel, draft 1.3, 2007), with credit. Not a Creative Commons license. The USENIX proceedings state that rights to individual papers remain with the author or the author's employer. This file is not a copy of either document and not the underlying support logs or probe data. FAST 2008 recorded checksum mismatches on 0.86% of nearline and 0.065% of enterprise disks. Unequal observation times and detection coverage limit what these shares mean. Updated: 2026-10-18 Source accessed: 2026-10-10 Source: https://www.usenix.org/legacy/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/index.html License URL: https://www.usenix.org/legacy/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/index.html Companion analysis: https://hesela.com/analyses/silent-corruption-checksum-mismatches/ Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - Only corruption the storage system detected is counted. Corruption that is never read or scrubbed is invisible. - The 41 months are a collection window, not equal follow-up per disk; these aggregate fractions are not measured annual hazards. - Checksum, logical-identity and parity checks have different detection paths. A successful checksum does not establish freshness or logical ownership. - Logging is optional for customers and removed disks are counted only until removal. - A disk's result includes its adapter and shelf path. The paper names faulty adapters or shelf controllers for three models. - The paper prints a mean of 104 for the whole sample and 78 in the first-17-months analysis. - The CERN report is a 2007 internal draft from one site with its own probes. Its counts are not per-disk shares and do not test the NetApp percentages. - Several results appear only as charts in the paper and are not in this file. Citations: - [bairavasundaram-usenix-html] An Analysis of Data Corruption in the Storage Stack, Bairavasundaram et al., FAST 2008 (USENIX HTML proceedings). https://www.usenix.org/legacy/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/index.html (accessed 2026-10-10) - [bairavasundaram-usenix-pdf] An Analysis of Data Corruption in the Storage Stack (USENIX PDF, used for numerals the HTML conversion drops). https://www.usenix.org/legacy/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram.pdf (accessed 2026-10-10) - [cern-data-integrity-2007] Data integrity, Bernd Panzer-Steindel, CERN IT, draft 1.3, 8 April 2007. https://indico.cern.ch/event/13797/contributions/1362288/attachments/115080/163419/Data_integrity_v3.pdf (accessed 2026-10-10) ### SMART replacement prediction: recall, F-score and random splits URL: https://hesela.dev/datasets/smart-replacement-prediction-random-splits/ Download (CSV): https://hesela.dev/data/datasets/smart-replacement-prediction-random-splits.csv Metadata (JSON): https://hesela.dev/data/datasets/smart-replacement-prediction-random-splits.json Rows: 18 Rights statement: Small derived table with source attribution. No standalone reuse license has been verified for this derived CSV. Papers and the Backblaze post retain their respective rights; attribution and public access are not a reuse license. Botezatu et al. report 98% Seagate recall; their Hitachi table gives 79%, while the prose says 81%. These random-split results are not a prospective deployment estimate. Method: This is a source audit and transcription, not a model reproduction. Botezatu et al. (KDD 2016) summarize SMART histories, downsample healthy disks and evaluate a regularized greedy forest using 100 random 80/20 splits. Table 3 reports median precision, recall and F-score for healthy and replaced classes separately. The reduced-feature decision-tree baseline is in Table 5, not the full-feature DT rows of Table 3. Xu et al. (ATC 2018), section 4.4, provide a separate Azure comparison of random and time-forward evaluation; Backblaze (2016) and Lu et al. (FAST 2020) provide contextual rows, not replications. Updated: 2026-10-14 Source accessed: 2026-10-14 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-14 Source: https://kdd.org/kdd2016/papers/files/adf0849-botezatuA.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/smart-replacement-prediction-random-splits/#rights-and-reuse Companion analysis: https://hesela.com/analyses/smart-replacement-prediction-random-splits/ Rights evidence (primary publication and listed publisher policy only): - KDD 2016 paper: source of the extracted table entries. https://kdd.org/kdd2016/papers/files/adf0849-botezatuA.pdf (checked 2026-10-14). Publicly accessible paper; this audit does not establish a standalone license for the combined derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - Table 3 gives HitA RGF recall 0.79 and F-score 0.81; section 3.6 instead calls recall 81%. Separate rows preserve this unresolved discrepancy, not a 79-81% interval. - Table 3 metrics are medians over 100 random runs; they are not pooled confusion counts or prospective deployment estimates. - The 53% / 44% recall baseline is Table 5's reduced-feature DT, not Table 3's full-feature DT (87% / 61%). - Random splits do not establish time-forward performance; same-drive leakage is not established by this source audit. - Downsampled class prevalence differs from deployment conditions; cross-source comparisons use different populations and labels. - The Azure experiment is not a replication or a quantitative performance bound for the Backblaze predictor. - Section 3.7 and Figure 6 use snapshots aligned to known replacement dates; their 10/30-day scores are retrospective snapshot horizons, not first-alarm lead times from a continuously running detector. - The introduction's 67,814 currently operating drives is not the failed-sample denominator. No prospective warning horizon is specified. - Descriptive operational-drive proportion, not a prospective false positive rate; an observation window and future outcome labels are not supplied. - Figure 8, p. 160; random five-fold mean. Section 4, p. 159 defines failure within the next 10 days, not guaranteed 10-day warning. - Unresolved source conflict: the accompanying table reports 4.8% of operational drives for SMART 188 alone, above the narrative's 4.2% for any of five attributes. These cannot describe the same population and predicate; no denominator reconciliation is supplied. The 4.2% is retained as a source statement, not a corrected estimate. Citations: - [botezatu-kdd16-pdf] Botezatu, Giurgiu, Bogojeska and Wiesmann. Predicting Disk Replacement towards Reliable Data Centers. ACM SIGKDD 2016, pp. 39-48; Tables 3-5 and section 3.6 (PDF p. 7); section 3.7 and Figure 6 (PDF p. 8). https://kdd.org/kdd2016/papers/files/adf0849-botezatuA.pdf (accessed 2026-10-14) - [xu-atc18-pdf] Xu et al. Improving Service Availability of Cloud Systems by Predicting Disk Error. USENIX ATC 2018; section 4.4 and Figure 7, pp. 489-490. https://www.usenix.org/system/files/conference/atc18/atc18-xu-yong.pdf (accessed 2026-10-14) - [backblaze-smart-2016] Backblaze. What SMART Stats Tell Us About Hard Drives (6 October 2016), introduction and SMART Stats We Use section; narrative percentages. https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/ (accessed 2026-10-14) - [lu-fast20-pdf] Lu et al. Making Disk Failure Predictions SMARTer! USENIX FAST 2020, section 4 (pp. 157-160), Figure 8 (p. 160), and section 5 (p. 161). https://files.usenix.org/s3fs-public/cdn/fast20-lu.pdf (accessed 2026-10-14) - [backblaze-smart-image-2016] Backblaze 2016 SMART table: Operational row, SMART 188 column (image). https://www.backblaze.com/blog/wp-content/uploads/2016/10/blog-smart-fail-vs-good.jpg (accessed 2026-10-14) ### Over 56% of failed drives had no count on four strong SMART signals URL: https://hesela.dev/datasets/smart-signal-blind-spots/ Download (CSV): https://hesela.dev/data/datasets/smart-signal-blind-spots.csv Metadata (JSON): https://hesela.dev/data/datasets/smart-signal-blind-spots.json Rows: 12 License: Small derived table of figures stated in Pinheiro, Weber, and Barroso, Failure Trends in a Large Disk Drive Population, FAST '07, proceedings pages 17-28, and of one restatement in heise online (16 February 2007). Not a Creative Commons license. USENIX's open-access notice says papers and proceedings are freely available to everyone once the event begins. That notice is not a CC grant, and the FAST '07 HTML does not grant one. This CSV is not Google's SMART repository or repairs database. Canonical files are the USENIX HTML paper and the proceedings PDF. Over 56% of failed drives in the Google fleet studied by Pinheiro, Weber, and Barroso (FAST '07; more than 100,000 consumer PATA and SATA drives; SMART counts from December 2005 through August 2006) had no count on scan errors, reallocation count, offline reallocation, or probational count. Adding every other SMART parameter except temperature still left over 36% of failed drives at zero on all of those variables. The over-56% zero-count share implies less than 44% coverage for a rule requiring a positive count in those four signals. That complementary bound is not a universal classifier-recall limit or a measured advance-warning score. Updated: 2026-11-11 Source accessed: 2026-10-10 Source: https://www.usenix.org/event/fast07/tech/full_papers/pinheiro/pinheiro_html/ License URL: https://www.usenix.org/conference/osdi18/preview1 Columns: - row_id (string): Stable id for the signal or coverage cut. - signal (string): SMART parameter, coverage cut, or the heise restatement of a coverage cut. - population (string): Fleet, media, and failure definition the row's figures belong to. Google rows are one production fleet. The heise row is a news restatement of that study, not a second fleet. - window (string): Observation window. Google SMART rows are December 2005 through August 2006 (2005-12/2006-08). The heise row states only about nine months. - prevalence_percent (number): Share of drives with a non-zero count, in percent. The number is the figure printed next to the bound in prevalence_bound, not a refit. Empty when the row is not a prevalence. - prevalence_bound (string): How prevalence_percent was stated: fewer-than, under, about, more-than, or point. Empty when prevalence is empty. - afr_factor_low (number): Low end of the stated AFR multiple versus drives with a zero count. A factor, not a percent and not a line rate. Empty when the paper states no AFR factor. Equal to afr_factor_high when the paper states one factor. - afr_factor_high (number): High end of that AFR multiple. Empty when afr_factor_low is empty. - fail_60d_factor (number): Multiple for failure within 60 days after the first count, versus drives with a zero count. Not an AFR. The paper reports a critical threshold when a count raises that probability by at least 10 times at confidence above 95%. Empty when no 60-day factor is stated. - fail_60d_bound (string): How fail_60d_factor was stated: point or over. Empty when the factor is empty. - no_count_share_percent (number): Percent of the denominator in no_count_denominator that had no failure signal for this cut. Empty when the row is not a coverage sentence. - no_count_share_bound (string): How no_count_share_percent was stated: over, about, or point. Empty when the share is empty. - no_count_denominator (string): Who the no-count share divides: failed-drives or all-drives. The paper uses both for a 36% figure. Empty when the share is empty. - signaled_group_failed_percent (number): Percent of drives that already had the count and then failed. Used for calibration retries only. Not an AFR and not a share of all failed drives. Empty otherwise. - signaled_group_failed_bound (string): How signaled_group_failed_percent was stated: about or point. Empty when that percent is empty. - fault (string): Named condition the signal is about, from a sentence in the cited source. - catches (string): What a non-zero count indicates in that source. - misses (string): The failure or ambiguity that the count does not resolve; the four-strong-signals row explicitly labels Hesela's coverage interpretation. - citation_id (string): Id into the citations list. Open that URL for the sentence. Citations: - [pinheiro-fast07] Failure Trends in a Large Disk Drive Population (Pinheiro, Weber, and Barroso, FAST '07, HTML). https://www.usenix.org/event/fast07/tech/full_papers/pinheiro/pinheiro_html/ (accessed 2026-10-10) - [pinheiro-fast07-pdf] Failure Trends in a Large Disk Drive Population, FAST '07 proceedings PDF. https://www.usenix.org/legacy/events/fast07/tech/full_papers/pinheiro/pinheiro.pdf (accessed 2026-10-10) - [heise-2007-02-16] Google-Studie zur Ausfallursache von Festplatten. https://www.heise.de/news/Google-Studie-zur-Ausfallursache-von-Festplatten-147178.html (accessed 2026-10-10) - [usenix-open-access] USENIX Open Access Media notice. https://www.usenix.org/conference/osdi18/preview1 (accessed 2026-10-10) ### Reported SSD failure-group measurements (FAST 2021) URL: https://hesela.dev/datasets/ssd-correlated-failures-nodes-racks/ Download (CSV): https://hesela.dev/data/datasets/ssd-correlated-failures-nodes-racks.csv Metadata (JSON): https://hesela.dev/data/datasets/ssd-correlated-failures-nodes-racks.json Rows: 16 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Sixteen attributed measurements from published storage studies, with explicit populations and units. The Alibaba grouping shares use all recorded failures as their denominator; the adjacent-size group ratio is not a next-drive forecast. This CSV is a corrected transcription, not raw telemetry or a reproduced experiment. Updated: 2026-11-19 Source accessed: 2026-10-11 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www.usenix.org/system/files/fast21-han.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/ssd-correlated-failures-nodes-racks/#rights-and-reuse Companion analysis: https://hesela.com/analyses/ssd-correlated-failures-nodes-racks/ Supplementary artifacts (separate from the source dataset): - exact-synthetic-counterexample: https://hesela.dev/research/shared-risk-identifiability/shared-risk-identifiability.zip. Separate from the 16 empirical CSV rows. Python 3.10+ standard-library reproduction, tests, sources and original provenance. In chosen hypothetical groups, 99% have p=0.001 and 1% p=0.1, fixed across two preselected equal nonoverlapping windows, conditionally independent within class. Pr(B=1|A=1)=E[P squared]/E[P], yielding 0.199% overall versus 5.075% after A=1 (ratio 25.50), without event feedback. High-risk groups comprise 50.25% after selection. A directed model matches all four observed pair probabilities but has different interventions. Not a fleet estimate, replacement-anchored follow-up replication or hardware experiment. Code, tests and synthetic values are CC0-1.0; CSV and paper rights are unchanged. - exact-fraction-results: https://hesela.dev/research/shared-risk-identifiability/results.json. Exact numerators and denominators, chosen inputs, homogeneous control, both joint laws and interventions; denominators are not sample sizes. Floating decimals are approximate. - source-manifest: https://hesela.dev/research/shared-risk-identifiability/sources.json. Four primary publications, authors, reading locations and scope. FAST20/21 empirical studies remain distinct from the shared-frailty and intervention methods. - original-provenance: https://hesela.dev/research/shared-risk-identifiability/provenance.json. Original generated timestamp, Python version and SHA-256 bindings for all six research inputs and outputs. - public-release-reanalysis: https://hesela.dev/research/han-ticket-replay/han-ticket-replay.zip. Original Hesela code, source pins, tests and aggregate results for 18,387 released failure records and 965,495 topology rows. Reproduces 2,368 node-grouped and 3,365 rack-grouped records at <=1800 seconds; isolates omitted singleton complements (194 node, 259 rack) without changing headline fractions. No raw rows or upstream code/PDFs redistributed. Selected-function replay, not a full-paper reproduction or independence test. - aggregate-replay-results: https://hesela.dev/research/han-ticket-replay/results.json. Exact counts, thresholds, equality sensitivity, complement checks, topology audit and complete-partition checks. Separate from the 16 transcribed paper rows. - fixed-window-reanalysis: https://hesela.dev/research/han-window-concentration/han-window-concentration.zip. Self-contained Python 3.10+ standard-library code, tests and original Hesela aggregates for 18,387 released failure tickets. Sliding 1,800-second closed windows distinguish ticket and represented-node peaks from adjacent-gap chain size. The largest chain has 89 tickets across 21 nodes; two 42-ticket chains each represent 42 nodes. Counts are not concurrent outages or lost stripe chunks. No raw identifiers, upstream code or PDFs are included. - window-concentration-aggregates: https://hesela.dev/research/han-window-concentration/results.json. Exact cutoff numerators and denominators, joint histograms, tied extremes, half-open endpoint sensitivity and input/program hashes. Four-ticket cutoff: 240 of 744 rack chains by total size versus 237 by closed-window concentration. Original CSV and parent replay unchanged. Rights evidence (primary publication and listed publisher policy only): - An In-Depth Study of Correlated Failures in Production SSD-Based Data Centers, Han, Lee, Xu, Liu, He, and Liu, USENIX FAST 2021, pages 417 to 429 (USENIX PDF). https://www.usenix.org/system/files/fast21-han.pdf (checked 2026-10-13). The paper is publicly readable through USENIX. No standalone reuse license for this CSV was verified. - USENIX Conference Submissions Policy: copyright. https://www.usenix.org/conferences/author-resources/submissions-policy (checked 2026-10-13). Authors retain copyright; this publisher policy is not a license for Hesela's derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - One operator's fleet and ticketing rules. - The 12.9% and 18.3% shares depend on the 30 minute threshold. - 88.6% of nodes with two or more SSDs hold one drive model, so some clustering may be a model effect. - Simulation scope (Han et al., sections 5.1-5.2): 128 selected clusters with at least 16 racks; one chunk per rack; 512 GiB per modeled SSD, 256 MiB chunks, 50% data occupancy and 1 Gb/s repair links. The two-year trace is replayed repeatedly over a ten-year mission. Reported zero-loss simulation outcomes are not proof of zero risk; the independent baseline's failure count need not match each cluster's trace. - The cross-check rows are other fleets with other definitions. - Figure 3 uses all recorded failures, not only failures already classified as intra-node or intra-rack. Two denominator labels were corrected on 16 October 2026; numeric values were unchanged. - Figure 2 uses n(x+1) / [n(x) + n(x+1)] for completed group counts n. It is not a per-drive prediction or an AFR risk multiplier. - Consecutive gaps define groups; total duration may exceed the threshold. Paper wording excludes equality, while pinned code includes it. Separate public-release replay at 30 minutes finds 3,365 rack-grouped rows with equality included versus 3,363 without; both round to 18.3%. Node counts are unchanged. The longest rack group spans 81 minutes 16 seconds. The 16-row paper transcription is unchanged. - The 0.0504% and 9.39% values are RAID-group probabilities over one-week windows, not individual-drive probabilities or replacement rates per unit time. The 52% figure instead describes observed consecutive-replacement gaps in groups with multiple replacements; it is not the probability that an arbitrary group has a follow-up replacement. - Ford's 37% uses node-unavailability events lasting at least 15 minutes. Its 120-second rule links consecutive start times, not the first and last event in a burst; the complete burst can last longer. It is not a hardware-failure fraction. Citations: - [han-fast21-pdf] An In-Depth Study of Correlated Failures in Production SSD-Based Data Centers, Han, Lee, Xu, Liu, He, and Liu, USENIX FAST 2021, pages 417 to 429 (USENIX PDF). https://www.usenix.org/system/files/fast21-han.pdf (accessed 2026-10-27) - [maneas-fast20-pdf] A Study of SSD Reliability in Large Scale Enterprise Storage Deployments, Maneas, Mahdaviani, Emami, and Schroeder, FAST 2020 (USENIX PDF, section 6 on correlated replacements). https://files.usenix.org/s3fs-public/cdn/fast20-maneas.pdf (accessed 2026-10-27) - [ford-osdi10-pdf] Availability in Globally Distributed Storage Systems, Ford et al., USENIX OSDI 2010 (USENIX PDF, section 4 on correlated failures). https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Ford.pdf (accessed 2026-10-27) - [han-code] Han et al. analysis code (measure.py, revision 5c896eba). https://github.com/shujiehan/ssdanalysis/blob/5c896eba971add07f214f5c7ef3a39882324eca6/analysis/measure.py (accessed 2026-10-16) - [balan-putter-2020] A tutorial on frailty models, Theodor A. Balan and Hein Putter (2020), sections 3.1-3.2; DOI 10.1177/0962280220921889. https://pmc.ncbi.nlm.nih.gov/articles/PMC7534210/ (accessed 2026-10-28) - [pearl-2009] Causal inference in statistics: An overview, Judea Pearl (2009), section 3.2.1; DOI 10.1214/09-SS057. https://ftp.cs.ucla.edu/pub/stat_ser/r350.pdf (accessed 2026-10-28) ### TBW and DWPD conversion table for SSD endurance ratings URL: https://hesela.dev/datasets/ssd-endurance-tbw-dwpd-calc/ Download (CSV): https://hesela.dev/data/datasets/ssd-endurance-tbw-dwpd-calc.csv Metadata (JSON): https://hesela.dev/data/datasets/ssd-endurance-tbw-dwpd-calc.json Chart (SVG): https://hesela.dev/data/datasets/ssd-endurance-tbw-dwpd-calc.svg Rows: 60 License: The table is arithmetic computed here from the public definitions of TBW and DWPD. No third-party data or specification text is copied and no product rating is listed. Reuse is fine with attribution to this site. How to convert between TBW (terabytes written) and DWPD (drive writes per day) for an SSD, with a worked table of 60 rows: six capacities from 0.25 to 8 TB, warranty periods of 3 and 5 years, and DWPD ratings of 0.1, 0.3, 1, 3 and 10. The formulas are TBW = DWPD x capacity x 365 x years and DWPD = TBW / (capacity x 365 x years). Pure arithmetic from the public definitions, with no measured data and no product ratings. For example, 1 TB at 1 DWPD over 5 years is 1,825 TBW, and 600 TBW on a 1 TB drive over 5 years is 0.33 DWPD. Correction: Corrected 2026-10-16: TBW divided by user capacity is host full-drive writes, not NAND P/E cycles. The legacy pe_cycles_at_waf_1 CSV name and all 60 row values are preserved for compatibility; no NAND-cycle estimate is provided. Updated: 2026-11-04 Source accessed: 2026-11-04 Source: https://www.kingston.com/en/blog/servers-and-data-centers/understanding-ssd-endurance-tbw-dwpd License URL: https://en.wikipedia.org/wiki/Wikipedia:Copyrights Columns: - capacity_tb (number): Host-addressable user capacity in decimal terabytes (1 TB = 10^12 bytes), not physical NAND capacity. - warranty_years (integer): Warranty period in years, each of 365 days. - dwpd (number): Rated host full-drive writes per day, normalized by user capacity and the stated period; not an enforced daily allowance or a failure probability. - tbw (number): Terabytes written over the warranty period: dwpd * capacity_tb * 365 * warranty_years. Exact decimal arithmetic. - host_writes_gb_per_day (number): dwpd * capacity_tb * 1000, gigabytes of host writes per day. - pe_cycles_at_waf_1 (number): Legacy field name retained for compatibility. Value is host full-drive writes = tbw / capacity_tb = dwpd * 365 * warranty_years. It is not a NAND P/E-cycle count, even when assuming WAF = 1; the table does not model physical NAND capacity or block erase history. Citations: - [wp-ssd] Solid-state drive, Wikipedia: endurance section defining TBW and DWPD. https://en.wikipedia.org/wiki/Solid-state_drive (accessed 2026-10-11) - [wp-wa] Write amplification, Wikipedia: program/erase cycles and write amplification. https://en.wikipedia.org/wiki/Write_amplification (accessed 2026-10-11) - [kingston-endurance] Kingston. Understanding SSD endurance: TBW and DWPD. https://www.kingston.com/en/blog/servers-and-data-centers/understanding-ssd-endurance-tbw-dwpd (accessed 2026-11-04) - [kingston-op] Kingston. Understanding SSD Over-provisioning (OP): physical versus user capacity and block erasure. https://www.kingston.com/en/blog/pc-performance/overprovisioning (accessed 2026-10-16) - [schroeder-fast16] Schroeder, Lagisetty and Merchant. Flash Reliability in Production: The Expected and the Unexpected. USENIX FAST 2016, sections 2, 4.2.2 and 4.3. https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-11-04) ### 38% of failed datacenter SSDs showed none of the four SMART symptoms; the ones that did failed 3 to 20 times as often URL: https://hesela.dev/datasets/ssd-failures-datacenter-symptoms/ Download (CSV): https://hesela.dev/data/datasets/ssd-failures-datacenter-symptoms.csv Metadata (JSON): https://hesela.dev/data/datasets/ssd-failures-datacenter-symptoms.json Rows: 14 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Narayanan et al., SYSTOR 2016, studied over half a million SSDs in one operator's datacenters over nearly 3 years. 62% of failed devices had shown at least one of four SMART symptoms and 38% none; devices with a symptom failed 3 to 20 times as often. A classifier reached 87% precision and 71% recall with 5-fold cross-validation. Cross-check rows come from NetApp (FAST 2020) and Backblaze (2016). Correction: 2026-10-13: removed unsupported random-fold wording and clarified training-only oversampling from SYSTOR 2016 section 4.1. Numerical rows and original citation IDs are unchanged. Updated: 2026-10-13 Source accessed: 2026-10-10 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://bpb-us-e1.wpmucdn.com/sites.psu.edu/dist/9/36635/files/2016/06/systor16_ssd_failures.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/ssd-failures-datacenter-symptoms/#rights-and-reuse Companion analysis: https://hesela.com/analyses/ssd-failures-datacenter-symptoms/ Rights evidence (primary publication and listed publisher policy only): - SSD Failures in Datacenters: What? When? and Why?, Narayanan et al., SYSTOR 2016 (author PDF, ACM article 7, pages 1 to 11). https://www.microsoft.com/en-us/research/wp-content/uploads/2016/08/a7-narayanan.pdf (checked 2026-10-13). The paper's page 1 notice permits credited abstracting and conditional personal or classroom copying, and states that other copying or redistribution requires permission and/or a fee. It does not establish a license for the study telemetry or this CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - One operator's fleet and workloads; model names are anonymized. - Failure means a fail-stop that takes the server down; about 80% ended in replacement. - Per-model AFR values are in charts, so only printed text figures are used. - Section 4.1 reports five-fold device classification with SMOTE during training; this does not establish forward-time prediction performance. - The cross-check rows are other fleets with other definitions. Citations: - [narayanan-systor16-pdf] SSD Failures in Datacenters: What? When? and Why?, Narayanan et al., SYSTOR 2016 (author PDF, ACM article 7, pages 1 to 11). https://bpb-us-e1.wpmucdn.com/sites.psu.edu/dist/9/36635/files/2016/06/systor16_ssd_failures.pdf (accessed 2026-10-10) - [maneas-fast20-pdf] A Study of SSD Reliability in Large Scale Enterprise Storage Deployments, Maneas, Mahdaviani, Emami, and Schroeder, FAST 2020 (USENIX PDF, pages 137 to 149). https://files.usenix.org/s3fs-public/cdn/fast20-maneas.pdf (accessed 2026-10-10) - [backblaze-smart-2016] What SMART Stats Tell Us About Hard Drives, Backblaze, 6 October 2016. https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/ (accessed 2026-10-10) ### SSD over-provisioning: analytical model values URL: https://hesela.dev/datasets/ssd-overprovisioning-model/ Download (CSV): https://hesela.dev/data/datasets/ssd-overprovisioning-model.csv Metadata (JSON): https://hesela.dev/data/datasets/ssd-overprovisioning-model.json Rows: 7 License: CC0-1.0 for Hesela's original implementation and computed rows; source papers retain their rights. Seven computed reserve-to-write-amplification cases with explicit logical and physical capacity denominators. Analytical model evaluation, not SSD measurements. Evidence type: analytical-model-evaluation Method: Evaluate Xiang and Kurkoski arXiv:1110.4245v1 equation 12 by solving A*log(1-1/A)+(1+rho)=0 for finite A>1. Bisection uses log1p, an expanding upper bracket and at most 100 steps, stopping at floating-point resolution. rho=(P-L)/L; supported domain 0.01 to 1. Capacity units are identical. No random sampling or device I/O. A separate TRIM occupancy supplement compares target-selection rules using a finite-state model; it does not change these seven WAF rows. Published: 2026-10-12 Updated: 2026-10-18 Generated: 2026-10-11T23:22:54.787Z Source: https://arxiv.org/abs/1110.4245v1 License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/ssd-overprovisioning-denominators/ Audit: https://hesela.dev/research/trim-occupancy.json Code: https://hesela.dev/research/ssd-overprovisioning.mjs Columns: - opUserPercent (number): 100*(P-L)/L; reserve divided by logical capacity. - sparePhysicalPercent (number): 100*(P-L)/P; the same reserve divided by physical capacity. - physicalPerLogical (number): P/L = 1 + rho; dimensionless. - waf (number): Model physical page writes per host page write; dimensionless, not measured. - reclaimedFraction (number): Fraction q of victim pages freed for new host writes; 1/waf. - validFraction (number): Fraction of victim pages relocated; 1-q. Limits: - Uniform independent page writes and stationary simplified cleaning behavior; not commercial firmware. - An asymptotic approximation to the paper's greedy model, not an exact finite-block greedy formula. - No reproduction of either paper's simulator, trace evaluation or physical-device experiment. - No metadata, parity, compression, wear-leveling or cache-folding traffic; no latency or lifetime prediction. - No confidence interval: deterministic arithmetic uncertainty is distinct from model applicability. - P denotes physical capacity available to this model, not all installed NAND including unavailable overhead. Citations: - [xiang] Luojie Xiang and Brian M. Kurkoski. An Improved Analytic Expression for Write Amplification in NAND Flash. arXiv:1110.4245v1 (19 October 2011), sections II-IV, equation 12 and Table I. https://arxiv.org/abs/1110.4245v1 (accessed 2026-10-11) - [desnoyers] Peter Desnoyers. Analytic Modeling of SSD Write Performance. SYSTOR 2012, sections 2-6, Tables 1-2. DOI: 10.1145/2367589.2367603. https://www.ccs.neu.edu/home/pjd/papers/pjd-systor12.pdf (accessed 2026-10-11) ### SSD steady-state window counterexamples URL: https://hesela.dev/datasets/ssd-steady-state-windows/ Download (CSV): https://hesela.dev/data/datasets/ssd-steady-state-windows.csv Metadata (JSON): https://hesela.dev/data/datasets/ssd-steady-state-windows.json Rows: 6 License: CC0-1.0 for Hesela's original code and invented values; source publications retain their rights. Six synthetic five-round IOPS examples separate variation, drift and local stability. These are arithmetic counterexamples, not SSD benchmark measurements. Evidence type: synthetic-numerical-counterexamples Method: Each row contains five nonnegative invented IOPS values at equally spaced round indices 0-4. Ordinary least squares yields a fitted slope; its absolute value times four gives fitted span. Both observed range and fitted span are divided by the five-value arithmetic mean. Inclusive 20% and 10% limits illustrate SNIA SSS PTS 2.0.2 clause 2.1.24 only. Missing values are rejected. All-zero windows are rejected because normalization is undefined. Published: 2026-10-12 Updated: 2026-10-14 Generated: 2026-10-14T13:29:15.305Z Source: https://hesela.com/analyses/ssd-steady-state-is-not-a-timer/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/ssd-steady-state-is-not-a-timer/ Code: https://hesela.dev/research/ssd-steady-state.mjs Columns: - scenario (string): Synthetic case identifier; not a device model. - round1 (number): Invented IOPS in round 1. - round2 (number): Invented IOPS in round 2. - round3 (number): Invented IOPS in round 3. - round4 (number): Invented IOPS in round 4. - round5 (number): Invented IOPS in round 5. - mean (number): Arithmetic mean IOPS of the five values. - rangePercent (number): 100 times (maximum minus minimum) divided by mean. - fittedSpanPercent (number): 100 times absolute least-squares slope times four round intervals divided by mean. - rangePass (boolean): Range at most 20% of mean. - trendPass (boolean): Fitted span at most 10% of mean. - pass (boolean): Both numerical checks pass; not PTS certification. Limits: - No real device, observation period, sample population, random seed or confidence interval. - This numerical illustration does not implement preparation, workload matrices, all tracked variables or full PTS reporting. - A passing window cannot establish future stability, statistical stationarity, acceptable speed or tail latency. - Rounds are equally spaced test indices, not necessarily seconds. Do not pass irregular time samples to this API. - Floating-point comparisons allow a 64-machine-epsilon tolerance at each threshold. - Early and later plateaus can be concatenated to demonstrate a drop between two individually passing windows. Citations: - [snia] SNIA. Solid State Storage Performance Test Specification, version 2.0.2 (1 October 2020), definitions 2.1.1, 2.1.3, 2.1.6, 2.1.13, 2.1.18 and 2.1.24. https://www.snia.org/sites/default/files/2025-02/SNIA-SSS-PTS-2.0.2.pdf (accessed 2026-10-11) ### Google measured a disk MTTF of 10 to 50 years but a node MTTF of 4.3 months; 37% of node failures came in bursts URL: https://hesela.dev/datasets/storage-availability-correlated-failures/ Download (CSV): https://hesela.dev/data/datasets/storage-availability-correlated-failures.csv Metadata (JSON): https://hesela.dev/data/datasets/storage-availability-correlated-failures.json Rows: 14 Rights statement: No standalone reuse license has been verified for this derived CSV. It contains selected reported numeric values with attribution, not source publications or the underlying measurements. The sources have separate rights and any source-specific permissions retain their stated scope. This notice does not grant rights to the CSV, source publications, research code or underlying data. Ford et al., OSDI 2010, studied tens of Google storage cells over one year. Node MTTF was 4.3 months against 10 to 50 years for a disk, and 37% of failures were part of a burst of at least 2 nodes. Cross-check rows come from NetApp (FAST 2020) and HPC1 (FAST 2007) and show clustered drive replacements. Updated: 2026-10-27 Source accessed: 2026-10-10 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-13 Source: https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Ford.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/storage-availability-correlated-failures/#rights-and-reuse Companion analysis: https://hesela.com/analyses/storage-availability-correlated-failures/ Rights evidence (primary publication and listed publisher policy only): - Availability in Globally Distributed Storage Systems, Ford, Labelle, Popovici, Stokely, Truong, Barroso, Grimes, and Quinlan, USENIX OSDI 2010 (USENIX PDF). https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Ford.pdf (checked 2026-10-13). The paper is publicly readable through USENIX. No standalone reuse license for this CSV was verified. - USENIX Conference Submissions Policy: copyright. https://www.usenix.org/conferences/author-resources/submissions-policy (checked 2026-10-13). Authors retain copyright; this publisher policy is not a license for Hesela's derived CSV. Columns: - measure (string): The quantity as the source names it. - value_low (number): Reported lower value or bound, when supplied; empty means not stated. Read note for strictness, approximation and interpretation. - value_high (number): Reported single value or upper bound, when supplied; empty means not stated. The note preserves qualifiers; this is not necessarily an exact value or confidence interval. - unit (string): Unit stated in this row, applying to both reported-value columns. - scope (string): Population and window the value applies to. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - One operator's cells and software; figures describe nodes and racks as well as disks. - Disk MTTF is a printed range of 10 to 50 years, not a vendor rating. - The 10% sensitivity results come from the authors' model with 3-way replication. - The 37% burst share selects node-unavailability events lasting at least 15 minutes and links consecutive start times within 120 seconds; the complete burst can last longer. Figures 1 and 2 include shorter events. - The cross-check rows are other fleets with other definitions. - The 0.0504% and 9.39% values are RAID-group probabilities over one-week windows, not individual-drive probabilities or replacement rates per unit time. The 52% figure instead describes observed consecutive-replacement gaps in groups with multiple replacements; it is not the probability that an arbitrary group has a follow-up replacement. Citations: - [ford-osdi10-pdf] Availability in Globally Distributed Storage Systems, Ford, Labelle, Popovici, Stokely, Truong, Barroso, Grimes, and Quinlan, USENIX OSDI 2010 (USENIX PDF). https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Ford.pdf (accessed 2026-10-27) - [maneas-fast20-pdf] A Study of SSD Reliability in Large Scale Enterprise Storage Deployments, Maneas, Mahdaviani, Emami, and Schroeder, FAST 2020 (USENIX PDF, section 6 on correlated replacements). https://files.usenix.org/s3fs-public/cdn/fast20-maneas.pdf (accessed 2026-10-27) - [schroeder-fast07-pdf] Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you?, Schroeder and Gibson, FAST 2007 (USENIX PDF, section 5.2 on correlations). https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder.pdf (accessed 2026-10-10) ### Transfer-region ceilings of SATA, SAS and PCIe links URL: https://hesela.dev/datasets/storage-interface-payload-ceilings/ Download (CSV): https://hesela.dev/data/datasets/storage-interface-payload-ceilings.csv Metadata (JSON): https://hesela.dev/data/datasets/storage-interface-payload-ceilings.json Chart (SVG): https://hesela.dev/data/datasets/storage-interface-payload-ceilings.svg Rows: 14 License: The line rates, line codes and release years are public facts about the SATA, SAS and PCIe standards. No specification text is copied and the specifications are not reproduced. The efficiency and ceiling columns are arithmetic done on this site. Reuse is fine with attribution to the standards bodies named in the sources. This is a small derived table and not a dump of any source. Computed one-direction ceilings for 14 interface generations, with explicit byte-accounting boundaries. PCIe 6.0 and 7.0 x4 provide 29,500 and 59,000 MB/s of TLP-region capacity, including packet headers, not application throughput. Earlier rows remove line-coding overhead. Legacy payload columns retain their original values; new region columns drive this page and chart. Evidence type: Computed interface accounting; not device measurements Updated: 2026-10-20 Source accessed: 2026-10-20 Source: https://pcisig.com/blog/pcie-70-specification-next-generation-performance-meet-needs-advanced-ai-applications-webinar License URL: https://en.wikipedia.org/wiki/Wikipedia:Copyrights Columns: - interface (string): Interface family: SATA, SAS, or PCIe. - generation (string): Specification generation as named by its standards body. - spec_year (integer): Year the generation was released or approved, per the cited summaries. - line_rate_gtps (number): Raw bit-equivalent rate per lane. For PCIe PAM4 this is the advertised 64/128 GT/s rate, not billions of symbols per second. - line_code (string): Legacy line-code or FLIT-region label, retained for compatibility. PCIe 6/7 242B/256B includes TLP plus DLP. - coding_efficiency_percent (number): Deprecated legacy percentage: line-code region for earlier rows; TLP+DLP (242/256) for PCIe 6/7. Not application-data efficiency. - lanes (integer): Example link width: one lane for SATA/SAS; four lanes for PCIe. Not a mandated device width. - payload_gbps_per_lane (number): Deprecated legacy region rate in Gbit/s per lane, one direction. PCIe 6/7 includes DLP. Use explicitly scoped region fields. - payload_mb_s_per_lane (integer): Deprecated legacy per-lane region rate in decimal MB/s, rounded half up; unchanged values. - payload_mb_s_link (integer): Deprecated legacy link region rate in decimal MB/s from unrounded per-lane rates. PCIe 6/7 includes DLP; unchanged values. - accounting_boundary (string): line-code-region for earlier rows; tlp-region for PCIe 6/7. Neither means application data. - region_numerator (integer): Units retained in the named region: bits for line-code rows, TLP bytes for FLIT rows. - region_denominator (integer): Total corresponding coded bits or FLIT bytes; units match the numerator. - region_mb_s_per_lane (integer): Named-region ceiling per lane, decimal MB/s, rounded half up. - region_mb_s_link (integer): Named-region ceiling times example lane count, rounded only after multiplication. Drives the chart and visible table. - region_source_id (string): Citation ID for the region parameters; historical rows retain secondary-source provenance, while pcie-flit-2025 identifies the primary layout review. Citations: - [pcie-wiki] PCI Express (comparison table of line codes, transfer rates and throughput; summarises PCI-SIG documents). https://en.wikipedia.org/wiki/PCI_Express (accessed 2026-10-10) - [sas-wiki] Serial Attached SCSI (history, 8b/10b and 128b/150b encoding; summarises T10 standards). https://en.wikipedia.org/wiki/Serial_Attached_SCSI (accessed 2026-10-10) - [sata-wiki] Serial ATA (revisions and usable rates; summarises SATA-IO releases). https://en.wikipedia.org/wiki/Serial_ATA (accessed 2026-10-10) - [t10] T10 technical committee, SAS standards. https://www.t10.org/ (accessed 2026-10-10) - [pcisig] PCI-SIG specifications. https://pcisig.com/specifications (accessed 2026-10-10) - [sata-io] SATA-IO. https://sata-io.org/ (accessed 2026-10-10) - [pcie-flit-2025] PCI-SIG: PCIe 7.0 specification webinar Q&A (3 September 2025), questions 1-2. https://pcisig.com/blog/pcie-70-specification-next-generation-performance-meet-needs-advanced-ai-applications-webinar (accessed 2026-10-20) - [pcie-flit-packing] PCI-SIG: PCIe 6.0 webinar Q&A on FLIT mode (19 August 2021), packet packing and lower-speed FLIT mode. https://pcisig.com/blog/pcie%C2%AE-60-specification-webinar-qa-deeper-dive-flit-mode-pam4-and-forward-error-correction-fec (accessed 2026-10-20) - [pcie-accounting-2022] Debendra Das Sharma (PCI-SIG), The Evolution of the PCI Express Specification (11 January 2022), Flit Mode. https://pcisig.com/blog/evolution-pci-express-specification-its-sixth-generation-third-decade-and-still-going-strong?PageSpeed=noscript (accessed 2026-10-20) ### Slow RAID hours are not request tail latency URL: https://hesela.dev/datasets/storage-tail-slowdowns-raid-fanout/ Download (CSV): https://hesela.dev/data/datasets/storage-tail-slowdowns-raid-fanout.csv Metadata (JSON): https://hesela.dev/data/datasets/storage-tail-slowdowns-raid-fanout.json Rows: 24 Rights statement: No standalone reuse license has been verified for this mixed-source derived CSV. It contains attributed figures and labeled arithmetic, not the papers or raw fleet traces. Each source retains its own rights. A slow-drive hour, a slow-RAID hour and a request percentile count different events. This source review separates them and shows why fan-out estimates need explicit dependence and workload assumptions. Method: Source audit of four full papers, with locators in the table notes and accompanying dataset. Published rounded figures are retained separately from Hesela's reproducible arithmetic. Table 1 of Hao et al. supplies the integer exposure and slow-hour counts; no per-request traces were obtained. Synthetic examples use explicit values, exact fractions and nearest-rank percentiles. They are counterexamples, not a replication of a production fleet. Updated: 2026-10-15 Source accessed: 2026-10-15 Standalone CSV reuse license status: not-verified Rights status scope: derived-csv Rights evidence reviewed: 2026-10-15 Source: https://www.usenix.org/system/files/conference/fast16/fast16-papers-hao.pdf Rights statement URL (not a license grant): https://hesela.dev/datasets/storage-tail-slowdowns-raid-fanout/#rights-and-reuse Companion analysis: https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/ Rights evidence (primary publication and listed publisher policy only): - Hao et al., The Tail at Store, USENIX FAST 2016, pp. 263-276; Table 1, sections 3, 4.1.2, 5.2 and 6. https://www.usenix.org/system/files/conference/fast16/fast16-papers-hao.pdf (checked 2026-10-15). Reviewed for factual provenance; the publication is not a verified standalone reuse license for this mixed-source CSV. - Dean and Barroso, The Tail at Scale, CACM 56(2), 2013, pp. 74-80; Tables 1-2; DOI 10.1145/2408776.2408794. https://www.barroso.org/publications/TheTailAtScale.pdf (checked 2026-10-15). Reviewed for factual provenance; the publication is not a verified standalone reuse license for this mixed-source CSV. - Gunawi et al., Fail-Slow at Scale, USENIX FAST 2018; report collection (section 2) and detection time (section 3.5). https://www.usenix.org/system/files/conference/fast18/fast18-gunawi.pdf (checked 2026-10-15). Reviewed for factual provenance; the publication is not a verified standalone reuse license for this mixed-source CSV. - Lu et al., Perseus, USENIX FAST 2023, pp. 49-64; abstract, sections 4.4-4.5 and 5.1. https://www.usenix.org/system/files/fast23-lu.pdf (checked 2026-10-15). Reviewed for factual provenance; the publication is not a verified standalone reuse license for this mixed-source CSV. Columns: - measure (string): The quantity as the source names it, or our derived quantity. - value_low (number): Legacy lower endpoint: some rows pair HDD and SSD values rather than a statistical interval; empty for point values. - value_high (number): Point value or paired upper endpoint; never an implied uncertainty bound. - unit (string): Unit of the value columns: drives, drive hours, percent, milliseconds, times, reports. - scope (string): Population and window the value applies to; 'Derived by us' marks our arithmetic. - note (string): What the value is not, or the source wording behind it. - citation_id (string): Id of the opened source in the citations list. Limits: - Hourly summaries cannot recover request percentiles, simultaneous sub-hour stalls, or an empirical confidence interval that accounts for temporal and group dependence. A conditional mean above one establishes multiple slow classifications within some group-hours, not statistical dependence between drives. Historical fleets, operator reports and selected benchmark traces must not be pooled. No current SSD failure rate, universal RAID slowdown, measured mitigation benefit or vendor ranking follows. - The retained value_low/value_high columns also hold HDD/SSD category endpoints, not confidence intervals. Read the scope before comparing values. - The 24 table rows are an editorial extract, not the empirical sample size. Source publication dates are not collection dates. Citations: - [hao-fast16-pdf] Hao et al., The Tail at Store, USENIX FAST 2016, pp. 263-276; Table 1, sections 3, 4.1.2, 5.2 and 6. https://www.usenix.org/system/files/conference/fast16/fast16-papers-hao.pdf (accessed 2026-10-15) - [dean-barroso-cacm13-pdf] Dean and Barroso, The Tail at Scale, CACM 56(2), 2013, pp. 74-80; Tables 1-2; DOI 10.1145/2408776.2408794. https://www.barroso.org/publications/TheTailAtScale.pdf (accessed 2026-10-15) - [gunawi-fast18-pdf] Gunawi et al., Fail-Slow at Scale, USENIX FAST 2018; report collection (section 2) and detection time (section 3.5). https://www.usenix.org/system/files/conference/fast18/fast18-gunawi.pdf (accessed 2026-10-15) - [lu-fast23-pdf] Lu et al., Perseus, USENIX FAST 2023, pp. 49-64; abstract, sections 4.4-4.5 and 5.1. https://www.usenix.org/system/files/fast23-lu.pdf (accessed 2026-10-15) ### Low-end NetApp interconnect events exceed disk events, 4,338 to 3,230 URL: https://hesela.dev/datasets/what-fails-comparison/ Download (CSV): https://hesela.dev/data/datasets/what-fails-comparison.csv Metadata (JSON): https://hesela.dev/data/datasets/what-fails-comparison.json Rows: 33 License: Small derived table of figures stated in Jiang et al., FAST 2008, and Maneas et al., FAST 2020. Not a Creative Commons license. The opened FAST '14 Consent Form for Refereed Papers says USENIX lets authors retain copyright and asks only for a right to publish. That grant is non-exclusive, worldwide, perpetual, and irrevocable, and also non-sublicensable and non-transferable. The form contains no CC grant. This CSV is not the NetApp AutoSupport database and not the Active IQ bundles. Neither paper links a public dump or a data DOI for those logs. Canonical files are the USENIX PDFs. In Jiang et al., FAST 2008, Table 1, low-end NetApp systems recorded 4,338 physical-interconnect failure events and 3,230 disk failure events from January 2004 through August 2007 (22,031 systems and 264,983 FC disks ever installed). For Figure 4(b), which excludes subsystems that used Disk H, that class has a stated disk AFR of 0.9% and a storage-subsystem AFR of 4.6%. In Maneas et al., FAST 2020, Table 2, SCSI error is 32.78% of SSD replacements (ARR 0.055%) on almost 1.4 million NetApp SSDs; that signal is a hardware error the SSD reports (the example is drive DRAM ECC), while aborted commands are 13.56% (ARR 0.023%) and include a host or connection case where write data never reaches the device. Updated: 2026-10-12 Source accessed: 2026-10-08 Source: https://www.usenix.org/legacy/events/fast08/tech/full_papers/jiang/jiang.pdf License URL: https://www.usenix.org/sites/default/files/fast14_consent_author.pdf Columns: - row_kind (string): Which stated cut the row transcribes: jiang-table1, jiang-figure4b, jiang-share, or maneas-table2. - study (string): Citation id of the paper that states the row. - fleet (string): Named fleet: NetApp AutoSupport or NetApp Active IQ. - window (string): Study window as year-month bounds. Jiang is January 2004 through August 2007 (44 months). Maneas is the 30 months covered by 10 snapshots from January 2017 through May 2019. - system_class (string): Jiang storage-system class (near-line, low-end, mid-range, high-end, or all four classes) or ssd sample. - population (string): Who was counted, which cut (Table 1, Figure 4(b) excluding Disk H, cross-class prose, or Table 2), and what the count is not. - fault (string): Named failure or replacement reason, using the paper's categories. - systems_count (integer): Systems (count) from Jiang Table 1. Empty when the row is not a Table 1 class row. Not a Figure 4(b) population. - shelves_count (integer): Shelf enclosures (count) from Jiang Table 1. Empty when the row is not a Table 1 class row. - disks_ever_installed_count (integer): Disks ever installed (count) during the 44 months, including replacements, from Jiang Table 1. Empty when the row is not a Table 1 class row. Not the Maneas SSD population. - failure_events (integer): Failure events (count) for that fault in Jiang Table 1. Empty when the source did not state an event count for the row. - share_low_percent (number): Share, low (%). Jiang cross-class prose uses a range. The low-end Figure 4(b) disk row uses 20 for the paper's about-20% of subsystem AFR. Maneas Table 2 percent of replacements is a point, so low equals high. Empty when not stated. - share_high_percent (number): Share, high (%). Equal to share_low_percent when the source stated a point rather than a range. Empty when not stated. - annual_rate_percent (number): Annual rate (%). AFR for Jiang Figure 4(b) prose, or ARR for Maneas Table 2. Empty when the source did not state an annual rate for the row. Not a line rate and not a throughput. - annual_rate_kind (string): AFR or ARR when annual_rate_percent is set. Empty otherwise. AFR and ARR are different definitions and are not converted into each other. - signal (string): The log or telemetry signal the paper says catches this fault. - misses (string): What that signal does not prove, from a sentence in the same paper. - citation_id (string): Id into the citations list. Open that URL for the sentence. Citations: - [jiang-fast08] Weihang Jiang, Chongfeng Hu, Yuanyuan Zhou and Arkady Kanevsky. Are Disks the Dominant Contributor for Storage Failures? A Comprehensive Study of Storage Subsystem Failure Characteristics. FAST 2008. https://www.usenix.org/legacy/events/fast08/tech/full_papers/jiang/jiang.pdf (accessed 2026-10-08) - [maneas-fast20] Stathis Maneas, Kaveh Mahdaviani, Tim Emami and Bianca Schroeder. A Study of SSD Reliability in Large Scale Enterprise Storage Deployments. FAST 2020. https://files.usenix.org/s3fs-public/cdn/fast20-maneas.pdf (accessed 2026-10-08) - [fast14-consent] FAST '14 Consent Form for Refereed Papers. https://www.usenix.org/sites/default/files/fast14_consent_author.pdf (accessed 2026-10-08) ### Zarr archive acceptance observations URL: https://hesela.dev/datasets/zarr-archive-acceptance/ Download (CSV): https://hesela.dev/data/datasets/zarr-archive-acceptance.csv Metadata (JSON): https://hesela.dev/data/datasets/zarr-archive-acceptance.json Rows: 696 License: CC0-1.0 for Hesela's original code and observations; third-party software and documents retain their own licenses. Three controlled software studies connect missing objects, fill interpretation, shard completeness and metadata age to the scientific array returned by a reader. Evidence type: controlled-software-observations Method: Generated from unchanged original observations: Zarr 3.1.3 (54 rows); Xarray 2025.10.1 and 2026.9.0 over Zarr 3.1.3 (252 rows per release); Zarr 3.4.1 strict-policy reads (138 rows). Eight routing controls and one reopen control are retained separately, not counted as CSV rows. All values are dimensionless synthetic integers or decoded missing markers. Published: 2026-10-25 Updated: 2026-11-04 Source: https://hesela.com/analyses/zarr-fill-values-and-archive-completeness/ License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/zarr-fill-values-and-archive-completeness/ Code: https://hesela.dev/research/zarr-archive/README.md Generator: https://hesela.dev/research/zarr-archive/build-dataset.mjs Columns: - study (string or null): study - version (string or null): Zarr version for original/strict; Xarray version for consumer rows. - case (string or null): case - format (number or null): format - repetition (number or null): Original repeat index; null for the strict single-capture matrix. - layout (string or null): layout - state (string or null): state - selection (string or null): selection - strict (boolean or null): strict - sourceFile (string or null): Path relative to /research/zarr-archive/ of the original report. - sourceIndex (number or null): Zero-based index into the original report's observations array. - values (JSON array or null): Decoded values; JSON null marks NaN in the Xarray report. - error (string or null): error - count (number or null): Count of non-null decoded values, not a completeness measure. - sum (number or null): Sum of non-null decoded values; dimensionless. - mean (number or null): Sum divided by non-null count; null for a read error. Limits: - One Python implementation family and local stores; no field incidence estimate. - Different experiments use different fill values and versions. Do not pool row counts into a reliability denominator. - Strict-policy observations use format 3 in Zarr 3.4.1; stale consolidation observations use format 2 in Zarr 3.1.3. - Xarray behavior is scoped to the two pinned releases, not current software. No Dask, concurrent writers, cloud race, crash or power-loss tests. - Source/code self-review, not independent peer review. Input hashes identify retained bytes; they are not signatures. Citations: - [zarr-v2] Zarr format 2 specification: chunks and fill values. https://zarr-specs.readthedocs.io/en/latest/v2/v2.0.html (accessed 2026-10-23) - [zarr-core] Zarr format 3 core specification: fill values and array reads. https://zarr-specs.readthedocs.io/en/latest/v3/core/index.html (accessed 2026-10-23) - [zarr-sharding] Zarr sharding codec 1.0: empty inner chunks and index layout. https://zarr-specs.readthedocs.io/en/latest/v3/codecs/sharding-indexed/index.html (accessed 2026-10-23) - [zarr-crc] Zarr CRC32C codec 1.0. https://zarr-specs.readthedocs.io/en/latest/v3/codecs/crc32c/index.html (accessed 2026-10-23) - [zarr-config] Zarr-Python: runtime array configuration. https://zarr.readthedocs.io/en/latest/user-guide/arrays/#runtime-configuration (accessed 2026-10-23) - [zarr-open] Zarr-Python 3.4.1: existing-array open and creation branches. https://github.com/zarr-developers/zarr-python/blob/246fa20c397af5e8bfaa2958100a09fea329193e/src/zarr/api/asynchronous.py#L1303 (accessed 2026-10-23) - [xarray-open] Xarray 2025.10.1: open_zarr decoding contract. https://docs.xarray.dev/en/v2025.10.1/generated/xarray.open_zarr.html (accessed 2026-10-23) - [xarray-mean] Xarray 2025.10.1: DataArray.mean and skipna. https://docs.xarray.dev/en/v2025.10.1/generated/xarray.DataArray.mean.html (accessed 2026-10-23) - [xarray-issue] Xarray issue #10269: fill-mask option forwarding. https://github.com/pydata/xarray/issues/10269 (accessed 2026-10-23) - [xarray-source] Xarray v2026.09.0: Zarr backend implementation. https://github.com/pydata/xarray/blob/v2026.09.0/xarray/backends/zarr.py (accessed 2026-10-23) - [zarr-consolidation] Zarr-Python: consolidated metadata and synchronization. https://zarr.readthedocs.io/en/stable/user-guide/consolidated_metadata/ (accessed 2026-10-23) ### Linux zero-copy source lifetime: eight file-to-pipe checks URL: https://hesela.dev/datasets/zero-copy-source-lifetime/ Download (CSV): https://hesela.dev/data/zero-copy-source-lifetime.csv Metadata (JSON): https://hesela.dev/data/datasets/zero-copy-source-lifetime.json Rows: 40 License: The original file-to-pipe harness, its observations and derived CSV are CC0-1.0. The separate vmsplice supplement uses MIT for code and CC0-1.0 for data. Linked documentation and Linux source retain their own licenses and are not redistributed. 40 file-to-pipe observations, plus 10 separate tee(2) checks, distinguish source stability from enqueue and consumer completion. Method: Sequential one-page file-to-pipe tests; source mutation finishes before pipe consumption except the consume-first control. Published: 2026-10-18 Updated: 2026-11-10 Generated: 2026-10-17T22:22:27.547266+00:00 License URL: https://creativecommons.org/publicdomain/zero/1.0/ Companion analysis: https://hesela.com/analyses/zero-copy-source-lifetime/ Code: https://hesela.dev/research/zero-copy-lifetime.py Generator: https://hesela.dev/research/build-zero-copy-dataset.py Supplementary artifacts (separate from the source dataset): - vmsplice direction and ownership: https://hesela.dev/research/vmsplice-direction/metadata.json. 48 retained native executions, eight scenarios and one kernel; user-memory directions are separate from earlier file-backed populations. - vmsplice replay packet: https://hesela.dev/research/vmsplice-direction.zip. C probe, raw captures, hashes, summary and tests. MIT code; CC0-1.0 data. No GIFT, hardware or performance test. - Native offset-copyback metadata: https://hesela.dev/research/transfer-copyback/metadata.json. 29 controlled cases and 50 snapshots per capture; separate from the original 40 observations and 10 tee checks. EFAULT can occur with or without byte movement. - Replay packet: https://hesela.dev/research/transfer-copyback.zip. Original C probe, raw observations, CSV, tests, source receipts and hashes; one-host invalid-buffer experiment, not a device failure or crash test. Columns: - repetition (undefined): Sequential repetition number; not an independent fleet sample. - case (undefined): Named sequence defined by the Python harness. - page_bytes (undefined): Requested and received payload length in bytes. - enqueue_bytes (undefined): Successful file-to-pipe or buffered pipe-write return value in bytes. - received_byte (undefined): Uniform ASCII byte observed at pipe consumption. - path_byte (undefined): Uniform ASCII byte read by opening the source pathname after the operation. - old_inode_byte (undefined): Uniform ASCII byte read through the original writable descriptor. - path_same_inode (undefined): Whether device and inode identity still match the initial source. - matches_before (undefined): Whether received SHA-256 equals the hash computed before enqueue. Limits: - One host and filesystem-magic label; not a filesystem comparison. - Synthetic A/B/C payloads; measured API observations, not storage-fleet statistics. - No TCP, MSG_ZEROCOPY, crash, power-loss, throughput or cache-eviction test. - Mutation cases intentionally violate the documented sendfile source-lifetime requirement. - A different supported path may copy data; post-mutation B/C results are observations, not a universal API guarantee. Citations: - [sendfile] Linux man-pages 6.19: sendfile(2), return value and source lifetime. https://man7.org/linux/man-pages/man2/sendfile.2.html (accessed 2026-10-17) - [splice] Linux man-pages 6.19: splice(2), pipe buffers and flags. https://man7.org/linux/man-pages/man2/splice.2.html (accessed 2026-10-17) - [filemap] Linux v6.8 mm/filemap.c: splice_folio_into_pipe and filemap_splice_read. https://github.com/torvalds/linux/blob/v6.8/mm/filemap.c#L2614-L2758 (accessed 2026-10-17) - [rename] Linux man-pages 6.19: rename(2), replacement and open descriptors. https://man7.org/linux/man-pages/man2/rename.2.html (accessed 2026-10-17) - [fsync] Linux man-pages 6.19: fsync(2), synchronization and directory entries. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-17) - [copy-path] Linux 6.12 documentation: splice and pipes, copy_splice_read. https://docs.kernel.org/6.12/filesystems/splice.html (accessed 2026-10-17) - [msg-zerocopy] Linux kernel documentation: MSG_ZEROCOPY, notifications and deferred copies. https://docs.kernel.org/networking/msg_zerocopy.html (accessed 2026-10-17) - [tee] Linux man-pages 6.19: tee(2), duplication without consuming and shared references. https://www.man7.org/linux/man-pages/man2/tee.2.html (accessed 2026-10-17) - [io-lite] Pai, Druschel and Zwaenepoel: IO-Lite, OSDI 1999, sections 2.1, 2.5, 2.9 and 3. https://www.usenix.org/legacy/publications/library/proceedings/osdi99/full_papers/pai/pai_html/pai.html (accessed 2026-10-18) ## Terms Historical fields below preserve recorded corpus values and source IDs. The fields do not specify whether an event is invention, announcement, availability or discontinuation; do not interpret them as universal priority dates. ### 3D NAND URL: https://hesela.dev/terms/3d-nand/ Status: shipping Flash memory that stacks cells vertically in layers to increase density without shrinking planar features alone. Note: 3D describes the vertical organization of cells within a die, not merely stacking completed dies in a package. It does not specify charge storage or bits per cell: Micron documented floating-gate 3D NAND in 2016 and a charge-trap transition in 2020. Layer count alone is not a retention or endurance rating. Limitations: - Manufacturer architecture announcements establish a design choice, not a cross-vendor reliability ranking. (sources: [micron2016], [micron2020]) Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [tlc](https://hesela.dev/terms/tlc/) - [qlc](https://hesela.dev/terms/qlc/) - [charge-trap-flash](https://hesela.dev/terms/charge-trap-flash/) - [floating-gate](https://hesela.dev/terms/floating-gate/) - [layer-to-layer-process-variation](https://hesela.dev/terms/layer-to-layer-process-variation/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [v-nand](https://hesela.dev/terms/v-nand/) Citations: - [c1] 3D NAND. https://en.wikipedia.org/wiki/3D_NAND (accessed 2026-03-26) - [kioxia] KIOXIA. What is the 3D Flash Memory BiCS FLASH? Batch processing and vertical cell organization. https://www.kioxia.com/en-jp/rd/technology/bics-flash.html (accessed 2026-10-11) - [micron2016] Micron. Mobile 3D NAND announcement, 9 August 2016: floating-gate architecture. https://investors.micron.com/news/press-release/2016/Micron-Introduces-Mobile-3D-NAND-Solution-for-Next-Generation-Smartphones-08-09-2016/default.aspx (accessed 2026-10-11) - [micron2020] Micron. 176-layer NAND announcement, 9 November 2020: transition to charge trap and replacement gate. https://investors.micron.com/news/press-release/2020/Micron-Ships-Worlds-First-176-Layer-NAND-Delivering-A-Breakthrough-in-Flash-Memory-Performance-and-Density-11-09-2020/default.aspx (accessed 2026-10-11) - [hesela3d] Hesela: 3D NAND retention, cell architecture and evidence limits. https://hesela.com/analyses/3d-nand-retention-evidence/ (accessed 2026-10-11) ### 3D XPoint URL: https://hesela.dev/terms/3d-xpoint/ Technology reference: https://hesela.com/tech/3d-xpoint/ Also known as: 3D XPoint memory Status: cancelled Recorded firstSeen: 2015 (sources: [c1]) Recorded lastSeen: 2022 (sources: [c2]) 3D XPoint is a non-volatile cross-point memory technology with individually addressable cells, distinct from NAND flash. Note: The 2015 architecture announcement describes a transistor-less array of individually selected, single-bit memory cells, with two stacked memory layers in the initial design. This describes the media, not the host interface exposed to applications. [n3] For example, the Optane D4800X SSD exposes PCIe/NVMe storage and specifies sector-based access. Cell addressability does not grant applications direct bit-level or persistent-memory load/store access through that SSD interface. Device interface, access granularity and persistence guarantees must be evaluated separately. [n5] 3D XPoint is the media technology; Optane is a product family, and neither is a NAND cell-bit-count category such as SLC or QLC. The 2022 Optane wind-down concerned future product development; the announcement does not define a universal last-shipment or warranty date. [n4] Sources and caveats: - The firstSeen year is the joint Intel/Micron announcement. The lastSeen year records the Optane development wind-down, not a verified final manufacturing date. [n3] [n4] - D4800X is a concrete block-interface example; its performance and sector-format details are not generalized to all 3D XPoint products. [n5] Related terms: - [optane](https://hesela.dev/terms/optane/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [nvme](https://hesela.dev/terms/nvme/) Citations: - [c1] Intel and Micron produce breakthrough memory technology. https://www.intc.com/news-events/press-releases/detail/324/intel-and-micron-produce-breakthrough-memory-technology (accessed 2026-11-07) - [c2] Intel Optane business update: future development and product-specific support. https://www.intel.com/content/www/us/en/support/articles/000091826/memory-and-storage.html (accessed 2026-11-07) - [n3] Intel — Intel and Micron produce breakthrough memory technology (3D XPoint) press release. https://www.intc.com/news-events/press-releases/detail/324/intel-and-micron-produce-breakthrough-memory-technology (accessed 2026-10-07) - [n4] Intel — Optane business update (wind-down). https://www.intel.com/content/www/us/en/support/articles/000091826/memory-and-storage.html (accessed 2026-10-07) - [n5] Intel Optane SSD DC D4800X product brief, interface and sector-based workload, page 2. https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/optane-ssd-dc-d4800x-product-brief.pdf (accessed 2026-11-07) ### 3L-Cache URL: https://hesela.dev/terms/3l-cache/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: 3L Cache Status: research Record updated: 2026-11-25 3L-Cache is an object-level learned eviction policy that reduces training and prediction work through selective history collection and bidirectional candidate sampling. Note: A gradient-boosted model predicts log next-arrival intervals. Candidates come from both older residents and recent arrivals; a heap and hash table retain predictions until invalidated by access, resampling or model refresh. [paper] The byte-miss and object-miss variants are different configurations. In the pinned code, byte mode ranks predicted intervals plus request-counter offset; object mode multiplies predicted intervals by object size. The interface defaults to byte-miss-ratio. Comparing both metrics does not establish that one configuration optimizes both. [code] [interface] The FAST 2025 study uses 4,855 traces, selected for more than ten million requests, with small and large capacities at 0.1% and 10% of each trace footprint. Simulator and HTTP prototype results describe different evaluation surfaces. [paper] The paper defines CPU overhead as CPU load multiplied by time and distinguishes simulator replay from HTTP-prototype monitoring. A throughput-only comparison is not a substitute for that measurement. [paper] Limitations: - A mean of paired throughput ratios and a ratio of summed elapsed times use different weights and can favor different policies. Neither measures CPU cost without matching CPU accounting; the arithmetic examples at https://hesela.dev/research/three-l-cache/aggregation.json are synthetic, not 3L-Cache benchmark results. - Process CPU clocks exclude separate worker processes. Python RUSAGE_CHILDREN accounts for terminated, waited-for children, not a live worker tree; the measured scope and time boundary must accompany a CPU-cost comparison. [cpu-clock] [cpu-resource] - CPU-load samples from unequal time intervals need duration weighting. Process and host-wide CPU percentages use different normalization; the first nonblocking percentage call is not measured idle time. The synthetic ledger at https://hesela.dev/research/three-l-cache/CPU_SAMPLING.md illustrates this instrumentation issue without attributing it to the paper. [cpu-percent] Sources and caveats: - Full-paper and pinned-code review. No model training, production-trace replay or cache-performance replication was performed. - The artifact review at https://hesela.dev/research/three-l-cache/README.md isolates plotting arithmetic; it does not reconstruct the published figures. - A separate bounded native CPU-accounting observation is documented at https://hesela.dev/research/three-l-cache/CPU_ACCOUNTING.md; its process counters are not cache-performance measurements. Related terms: - [learning-relaxed-belady](https://hesela.dev/terms/learning-relaxed-belady/) - [gl-cache](https://hesela.dev/terms/gl-cache/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [byte-hit-ratio](https://hesela.dev/terms/byte-hit-ratio/) Citations: - [paper] Zhou et al. 3L-Cache: Low Overhead and Precise Learning-based Eviction Policy for Caches. FAST 2025, pp. 237-254, sections 4-5. https://www.usenix.org/system/files/fast25-zhou-wenbin.pdf (accessed 2026-11-25) - [code] 3L-Cache author implementation: prediction, lookup and train; commit 134cd159b635cdab75419a4281bed1a330fef31f. https://github.com/optiq-lab/3L-Cache/blob/134cd159b635cdab75419a4281bed1a330fef31f/3LCache/TLCache.cpp (accessed 2026-11-25) - [interface] 3L-Cache author interface: default objective and TLCache-OMR/BMR names; commit 134cd159b635cdab75419a4281bed1a330fef31f. https://github.com/optiq-lab/3L-Cache/blob/134cd159b635cdab75419a4281bed1a330fef31f/3LCache/TLCache_Interface.cpp (accessed 2026-11-25) - [cpu-clock] Python 3.12 time: process_time and perf_counter measurement contracts. https://docs.python.org/3.12/library/time.html#time.process_time (accessed 2026-11-25) - [cpu-resource] Python 3.12 resource: RUSAGE_SELF, RUSAGE_CHILDREN and CPU-time fields. https://docs.python.org/3.12/library/resource.html#resource.getrusage (accessed 2026-11-25) - [cpu-percent] psutil API: process CPU percentage, first-call initialization and host-wide normalization. https://psutil.readthedocs.io/stable/#psutil.Process.cpu_percent (accessed 2026-11-25) ### 4Kn native sectors URL: https://hesela.dev/terms/4kn-native/ Also known as: 4Kn, 4K native Status: shipping Record updated: 2026-11-01 4Kn exposes 4096-byte logical sectors and 4096-byte physical sectors without 512-byte sector emulation. Note: The interface uses 4096-byte addressing units. A filesystem block is a separate abstraction; neither its size nor a device's sector format alone specifies an application's recovery contract. Support tables: KB 2510009 groups Advance Format, AF, 4K Native, and 4Kn at reported logical 4 KB and physical 4 KB, on all Windows versions from Windows 8 and later versions and all Server versions from Server 2012 and later versions [kb2510009]. The compatibility update prints only Windows 8 and Windows Server 2012, while its platforms line continues through Windows Server 2016 [microsoft-af]. Hyper-V in Windows Server 2012 makes it possible to store a VHD on a native 4 KB disk by a software read-modify-write, because the VHD driver issues 512-byte I/Os [hyperv-4k]. The impact was in the range of 30% to 80% and was even higher at times in the preceding 512e subsection, not the native 4 KB subsection [hyperv-4k]. NVMe logical block data size excludes metadata, is always a power of two, and may be 512 bytes, 1 KiB, 2 KiB, 4 KiB, 8 KiB, etc. [nvme-nvm-cs]. A 32b Guard example sets LBA Data Size to Ch for 4 KiB, and a non-zero value less than 9 (i.e., 512 bytes) is not supported [nvme-nvm-cs]. Publication 100870879 lists 4Kn sizes of 4096, 4160 or 4224 bytes per logical block and 2,441,609,216 blocks (hex 91880000) at sector size 4096 for 10TB [exos-7e10]. Starting 2012, hard drive manufacturers will commence shipment of Generation One AF 4Kn at 4,096 bytes per sector [idema-ent]. Advantages: - Removes the 512-byte addressing emulation used by 512e. (sources: [microsoft-af]) Limitations: - Software and the complete access path must support the logical sector size. (sources: [microsoft-af]) - Aligned addressing alone does not establish persistent completion through volatile caches. (sources: [linux-cache]) - Fsutil fsinfo ntfsinfo treats Bytes Per Sector 4096 and Bytes per Physical Sector 4096 as 4K native, and 512 with 4096 as Advanced Format (also known as 512E). (sources: [kb2510009]) - A reported size that is not 4 KB or 512 bytes is Not Supported. (sources: [kb2510009]) - Creating a VHD on a native 4K sector drive with Disk Management or Hyper-V fails with Incorrect Function on Windows Server 2008 R2. (sources: [kb2510009]) - System image backup and restore may fail with error 0x8078002A when the logical sector size is other than 512 bytes. (sources: [kb2510009]) - Fast format between 4Kn and 512E is possible only if sector sizes are exact multiples of 8, and the selected sector size takes effect only after fast format or full format. (sources: [exos-7e10]) - Windows XP, Windows Server 2003, and Windows Server 2003 R2 do not support 512e or 4Kn media. (sources: [microsoft-af]) Sources and caveats: - KB 2510009 is dated 2026-02-12. It prints no drive count and no measurement date. The Except for Hyper-V note is on the 512e row, not the 4Kn row. [kb2510009] - Error 0x8078002A is system image backup and restore on a logical sector other than 512 bytes, and that paragraph names no Windows version. Incorrect Function is a separate Windows Server 2008 R2 failure when creating a VHD. [kb2510009] - Unsupported scenarios say a resolution is not guaranteed for an unsupported storage device, and the cost of an unresolved investigation is not refunded. [kb2510009] - The compatibility update 4Kn cell prints Windows 8 and Windows Server 2012 only. Its platforms line continues through Windows Server 2016. The caution after the XP sentence names 512e media, not 4Kn. [microsoft-af] - On that page a physical sector is the unit for which read and write operations complete in a single operation, called the unit of atomic write. The walkthrough is a 512-byte logical write. No temperature is printed. [microsoft-af] - The large-sector overview applies to Windows Server 2012 R2 and Windows Server 2012 and is dated 2016-10-25. The 30% to 80% range names no sample size and is in the 512e subsection. The VHD driver assumes a 512-byte physical sector. [hyperv-4k] - NVM Express NVM Command Set Specification Revision 1.0e, 29 July 2024, sections 1.4.3.5 and 2.1, Figure 98, and the 32b Guard example. The size list ends with etc., so 8 KiB is not a stated maximum. LBADS 0h means that format is not currently available. [nvme-nvm-cs] - Seagate Exos 7E10 SAS Product Manual, publication 100870879, Rev. E, October 2021, sections 1.0, 3.1, 3.5, and 4.1.2. Default configuration is 512E for 512e / 4kn drives. The 10TB row at sector size 4096 is decimal 2,441,609,216 and hex 91880000. [exos-7e10] - IDEMA's enterprise page says Generation One AF 4Kn uses 4,096 bytes per sector and that hard drive manufacturers will commence shipment starting 2012. Prospective wording, with no sample size, completion date, or temperature. [idema-ent] Related terms: - [advanced-format](https://hesela.dev/terms/advanced-format/) - [nvme](https://hesela.dev/terms/nvme/) - [direct-io](https://hesela.dev/terms/direct-io/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [physical-sector](https://hesela.dev/terms/physical-sector/) - [512e](https://hesela.dev/terms/512e/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) Citations: - [c1] 4Kn native sectors. https://en.wikipedia.org/wiki/Advanced_Format (accessed 2026-03-26) - [microsoft-af] Microsoft: Advanced format disk compatibility update, sector formats and alignment issues. https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update (accessed 2026-10-12) - [linux-cache] Linux 6.12: Explicit volatile write back cache control. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/block/writeback_cache_control.rst (accessed 2026-10-12) - [hesela-sector-alignment] Hesela: 512e, 4Kn and alignment: geometry is not durability. https://hesela.com/analyses/sector-sizes-alignment-not-durability/ (accessed 2026-10-12) - [kb2510009] Microsoft: Support policy for 4K sector hard drives (KB 2510009), dated 2026-02-12. https://learn.microsoft.com/en-us/troubleshoot/windows-server/backup-and-storage/support-policy-4k-sector-hard-drives (accessed 2026-11-01) - [nvme-nvm-cs] NVM Express NVM Command Set Specification, Revision 1.0e (July 29, 2024). https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0e-2024.07.29-Ratified.pdf (accessed 2026-11-01) - [exos-7e10] Seagate Exos 7E10 SAS Product Manual, Rev. E, publication 100870879 (October 2021). https://www.seagate.com/content/dam/seagate/migrated-assets/www-content/product-content/enterprise-hdd-fam/exos-7e10/_shared/docs/100870879e.pdf (accessed 2026-11-01) - [hyperv-4k] Microsoft: Hyper-V Support for Large Sector Disks Overview, dated 2016-10-25. https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh831459(v=ws.11) (accessed 2026-11-01) - [idema-ent] IDEMA: Advanced Format in the Enterprise, Generation One AF 4Kn. https://idema.org/initiatives/advanced-format/advanced-format-in-the-enterprise/ (accessed 2026-11-01) ### 512e emulation URL: https://hesela.dev/terms/512e/ Also known as: 512-byte emulation Status: shipping Record updated: 2026-10-27 512e exposes 512-byte logical sectors over 4096-byte physical sectors. Note: A physical sector contains eight logical sectors. Partial-sector updates can require read-modify-write; host request counts alone do not reveal media work. Working Draft ACS-2 Revision 3, Annex E.3.1, reports IDENTIFY DEVICE word 106 = 6003h for eight 512-byte logical sectors to compose a 4 096-byte physical sector. Transfers should start on an LBA whose low order 3 bits are zero and end on an LBA whose low order 3 bits are one. Word 106 = 5000h and words 117..118 = 0800h instead mean one 4 096-byte logical sector per physical sector [acs2-r3]. An unaligned transfer on a 512-byte logical sector may force read-modify-write. An uncorrectable error in that read may affect logical sectors the Write did not access, and the Write can return only Abort or Device Fault [acs2-r3]. Word 106 is valid only when bit 14 is one and bit 15 is zero. For a single partition on Windows XP and earlier, the annex prints 4001 h as optimal; 4000h means LBA 0 is aligned to the first physical sector [acs2-r3]. As of Windows Vista SP1 and Windows Server 2008, the first partition is placed at the first 1024 KB for disks 4GB or larger; otherwise the alignment is 64 KB. Pre-Windows Vista SP1 text prints 63 bytes [microsoft-af]. A 2011 white paper prints Windows Vista with Service Pak 1 and Windows 7 at sector 1M (sector 1,048,576), and Windows XP at sector 63 [toshiba-4k]. Taking 1 KB as 1,024 bytes, 1024 KB is 1,048,576 bytes and 1,048,576 / 512 = 2,048 sectors (arithmetic), not sector 1,048,576. Advantages: - Preserves 512-byte addressing for compatible software. (sources: [microsoft-af]) Limitations: - Small writes and misaligned writes can both require partial-sector handling. (sources: [seagate-af]) - Cache coalescing can change which updates reach the media together. (sources: [seagate-af]) Sources and caveats: - ACS-2 here is T13/2015-D Revision 3, June 18, 2010. The cover says this draft is not a completed standard, and the contents list Annex E as Informative. [acs2-r3] - Section 7.18.7.56's example sets bits (3:0) to 3 for 8 logical sectors per physical sector. Word 209 is valid if bit 13 of word 106 is one; bit 15 of word 209 is cleared and bit 14 is set. [acs2-r3] - Annex E.3.2 lists word 209 from 4000h through 4007h. 4000h means LBA 0 is aligned to the beginning for the first physical sector; later codes step by 512 bytes through 3 584 bytes. Windows XP and earlier do not check the IDENTIFY DEVICE sector-size fields. [acs2-r3] - Section E.4.2 dates 63 sectors per track to 1993 and the first sector of the first partition to LBA 63. A 4 096-byte physical sector needs a start LBA whose low order 3 bits are zero. [acs2-r3] - The Toshiba white paper's 8 millisecond figure is a minimum for a 7,200 RPM drive after at least one extra revolution, not a delay for every 512e drive. Under misalignment it says that delay will most likely occur on every write command. [toshiba-4k] - The same paper says overall system performance on a typical system could decrease by as much as 20 percent because of file-system differences and the read/write mix. [toshiba-4k] - The paper says the 2008 agreement was that the majority of new client HDDs, primarily notebook and desktop, would use 4K sectors starting in 2011, while server and mainframe drives would transition later. As of 2011 it reports samples and a start on most new-generation 512e client HDDs. [toshiba-4k] - Sector 2,048 is arithmetic from 1024 x 1,024 = 1,048,576 bytes, then divided by 512. The compatibility update prints 1024 KB, 64 KB, and 63 bytes, not sector 1,048,576 or sector 2,048. [microsoft-af] - January 2011 is a commitment for new desktop and notebook platforms, restated as no later than January 2011 for new laptop and desktop models. The article date line is May 22, 2024. IDEMA dates Generation One AF 4Kn enterprise shipment as commencing in 2012. [seagate-af] [idema-ent] - Linux 6.12 sysfs-block: logical_block_size is the smallest addressable unit, typically 512 bytes. On a stack, physical_block_size is the maximum of the components. optimal_io_size is 0 when none is reported. [linux-sysfs] - Reported 512e size is logical 512 bytes and physical 4 KB. Windows XP, Windows Server 2003, and Windows Server 2003 R2 do not support 512e or 4Kn, though a system may boot minimally. An interrupted overwrite can lose all 8 logical sectors in that physical sector. [microsoft-af] - The compatibility table also names 512e support on Windows 8, Windows Server 2012, Windows 7 SP1, Windows 7 with KB 982018, Windows Server 2008 R2 SP1, Windows Server 2008 R2 with KB 982018, Windows Vista with KB 2553708, and Windows Server 2008 with KB 2553708. [microsoft-af] Related terms: - [advanced-format](https://hesela.dev/terms/advanced-format/) - [hdd](https://hesela.dev/terms/hdd/) - [direct-io](https://hesela.dev/terms/direct-io/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [physical-sector](https://hesela.dev/terms/physical-sector/) - [4kn-native](https://hesela.dev/terms/4kn-native/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) Citations: - [c1] 512e emulation. https://en.wikipedia.org/wiki/Advanced_Format (accessed 2026-03-26) - [microsoft-af] Microsoft: Advanced format disk compatibility update, sector formats and alignment issues. https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update (accessed 2026-10-12) - [seagate-af] Seagate: Transition to Advanced Format 4K Sector Hard Drives, emulation and read-modify-write. https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/ (accessed 2026-10-12) - [hesela-sector-alignment] Hesela: 512e, 4Kn and alignment: geometry is not durability. https://hesela.com/analyses/sector-sizes-alignment-not-durability/ (accessed 2026-10-12) - [acs2-r3] Working Draft ATA/ATAPI Command Set - 2 (ACS-2), T13/2015-D Revision 3, June 18, 2010. https://dn760006.eu.archive.org/0/items/SCSISpecificationDocumentsATAATAPI/ATA_ATAPI/ATA_ATAPI%20Command%20Set%202%20(ACS-2)%20Revision%203_djvu.txt (accessed 2026-10-27) - [toshiba-4k] Toshiba 4K Sector Disk Drives white paper (archived 20 August 2021). https://web.archive.org/web/20210820121921/https://storage.toshiba.com/docs/services-support-documents/toshiba_4kwhitepaper.pdf (accessed 2026-10-27) - [idema-ent] IDEMA: Advanced Format in the Enterprise, Generation One AF 4Kn shipments. https://idema.org/initiatives/advanced-format/advanced-format-in-the-enterprise/ (accessed 2026-10-27) - [linux-sysfs] Linux kernel 6.12 Documentation/ABI/stable/sysfs-block, logical and physical block size. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-10-27) ### Aalen-Johansen estimator URL: https://hesela.dev/terms/aalen-johansen-estimator/ Related analysis: https://hesela.com/analyses/backblaze-age-missing-data-audit/ Also known as: AJ estimator Status: shipping Record updated: 2026-11-05 The Aalen-Johansen estimator combines observed transitions and risk sets to estimate state probabilities, including competing-risk cumulative incidence. Note: Method: An ordered product of event-time transition matrices updates a stated starting distribution across states. With a single terminal event the estimate reduces to Kaplan-Meier; with competing first-event types it gives cumulative incidence for each type. [survival-aj] First-event calculation: At an event time t, the incidence increment for type k is S(t-) * d_k(t) / Y(t). Here S(t-) is the preceding event-free probability, d_k counts type-k events and Y is the observed event-free risk set immediately before t. All event types reduce S. Right-censoring changes later risk sets without adding event probability. Tied event types share the pre-event risk set. [survival-aj] [etm-aj] Observation: Entry and exit times can represent left-truncation. Population interpretation requires appropriate observation assumptions; informative follow-up is not automatically repaired. State occupation and general conditional transition probabilities are different targets with different model requirements. [etm-aj] Exact-event-time calculations do not turn an interval-censored inspection record into an observed onset time. [survival-aj] Model scope: Consistent estimation of marginal state-occupation probabilities need not require a Markov process when censoring and left-truncation are unrelated to that process and the stated regularity conditions hold. General conditional transition probabilities are a different target; landmarking conditions on membership in a specified state at a specified time. Neither result reconstructs unknown retirement reasons. [niessl-aj] Starting probabilities: A consistent initial distribution is also required. With left-truncation, justify a common initial state or external evidence; enrollment composition need not match installation. [niessl-aj] Sources and caveats: - Primary implementation documentation supports the estimator and observation scope. Failure before permanent retirement is a storage application, not a fitted fleet result. - The first-event recurrence specializes the documented matrix construction. It is not a general recurrent-event fitting procedure or a claim that competing latent times are independent. Related terms: - [cumulative-incidence-function](https://hesela.dev/terms/cumulative-incidence-function/) - [competing-risks](https://hesela.dev/terms/competing-risks/) - [kaplan-meier-estimator](https://hesela.dev/terms/kaplan-meier-estimator/) - [left-truncation](https://hesela.dev/terms/left-truncation/) - [interval-censoring](https://hesela.dev/terms/interval-censoring/) - [right-censoring](https://hesela.dev/terms/right-censoring/) Citations: - [survival-aj] R survival 3.8-6: survfit.formula, Details and multi-state construction. https://stat.ethz.ch/R-manual/R-patched/library/survival/html/survfit.formula.html (accessed 2026-11-05) - [etm-aj] R etm 1.1.1: empirical transition matrix, entry/exit data and model assumptions. https://search.r-project.org/CRAN/refmans/etm/html/etm.html (accessed 2026-11-05) - [niessl-aj] Niessl et al. (2020): State occupation and transition probabilities in non-Markov models, sections 1-2.1, arXiv:2004.06514v1. https://arxiv.org/html/2004.06514v1 (accessed 2026-11-05) ### ABA problem URL: https://hesela.dev/terms/aba-problem/ Also known as: ABA Status: research Record updated: 2026-12-05 The ABA problem occurs when a value changes from A to B and back to A, making equality with an earlier observation insufficient to detect the intervening changes. Note: Mechanism: A successful value comparison does not prove that a location stayed unchanged. ABA matters when an algorithm relies on that stronger assumption. [michael] Lifetime: ABA can arise without freeing memory, for example when live nodes move between lists. Safe reclamation and logical history validation are separate obligations. Hazard pointers do not by themselves repair an algorithm already subject to ABA under garbage collection. [michael] Relative pointers: A native atomic_pptr example restores the same offset after A-B-A and then accepts a stale expected pointer. It checks 16 prescribed histories with live targets, not concurrent executions or allocator recovery. [example] Scope: This result concerns the ordinary pointer header. The Ralloc paper separately describes 34-bit counters in internal partial-list and superblock-free-list heads. It is not evidence that the allocator omits ABA protection. [ralloc] Sources and caveats: - Michael section 2.3 reviewed for logical ABA without reclamation; no hazard-pointer implementation or performance result is reproduced. - The native example executes a prescribed single-thread history using pinned Ralloc headers, not its counted list heads or an allocator correctness test. Related terms: - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) - [self-relative-pointer](https://hesela.dev/terms/self-relative-pointer/) - [region-id-in-value](https://hesela.dev/terms/region-id-in-value/) - [ralloc](https://hesela.dev/terms/ralloc/) - [linearizability](https://hesela.dev/terms/linearizability/) Citations: - [michael] Michael. Hazard Pointers: Safe Memory Reclamation for Lock-Free Objects. IEEE TPDS 15(6), 2004, section 2.3, p. 493. https://www.eecg.toronto.edu/~amza/ece1747h/papers/hazard_pointers.pdf (accessed 2026-12-05) - [ralloc] Cai et al. Understanding and Optimizing Persistent Memory Allocation. ISMM 2020, section 4.2, p. 65. https://www.cs.rochester.edu/u/scott/papers/2020_ISMM_Ralloc.pdf (accessed 2026-12-05) - [example] Hesela. Relative-pointer checks: prescribed native ABA histories, controls, source hashes and limitations. https://hesela.dev/research/relative-pointers/README.md (accessed 2026-12-05) ### Absorbing set URL: https://hesela.dev/terms/absorbing-set/ Related analysis: https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ Also known as: LDPC absorbing set Status: research Record updated: 2026-11-22 An absorbing set is a selected group of variable nodes in a binary parity-check graph where each has more even-degree than odd-degree neighboring checks relative to the group. Note: For a selected nonempty set D, classify each neighboring check by the parity of its number of edges to D. Every selected variable must have strictly more neighbors in the even class than in the odd class. The notation (a,b) counts selected variables and odd neighboring checks, respectively. This is a property of a specified graph, not a universal error-rate formula. [dolecek2010] With matrix rows 1100, 1010, 0110 and 1001, select columns 1-3. Their even/odd neighbor counts are 2/1, 2/0 and 2/0, so D is a (3,1) absorbing set. Column 4 has counts 0/1: the set is not fully absorbing. The last row has one selected neighbor, so it is not a stopping set either. This is a synthetic exact example, not a NAND experiment. [example] In the majority bit-flipping interpretation, treat D as the erroneous positions relative to the all-zero codeword. Selected bits have a local majority of satisfied checks, but outside bits may still flip. A fully absorbing set adds a strict majority condition for every outside bit. The case b=0 is possible; an absorbing set need not be a non-codeword. [dolecek2010] The selected absorbing support need not be the eventual failure support of a particular decoder. In the four-column example above, synchronous strict-majority flipping sends 1110 to the wrong codeword 1111. The trapping-set record contrasts that trajectory with likelihood-based decoding. [example] Sources and caveats: - Binary graph examples use exact parity arithmetic. They do not reproduce soft-message decoding, channel noise, NAND failure rates or controller behavior. Related terms: - [fully-absorbing-set](https://hesela.dev/terms/fully-absorbing-set/) - [ldpc](https://hesela.dev/terms/ldpc/) - [stopping-set](https://hesela.dev/terms/stopping-set/) - [trapping-set](https://hesela.dev/terms/trapping-set/) Citations: - [dolecek2010] Dolecek et al. Analysis of Absorbing Sets and Fully Absorbing Sets of Array-Based LDPC Codes (2010), Definition 1. DOI 10.1109/TIT.2009.2034781. https://people.eecs.berkeley.edu/~bora/Journals/2010/IT-10.pdf (accessed 2026-11-22) - [example] Hesela: exact synthetic absorbing-set witnesses and executable parity-count model. https://hesela.dev/research/ldpc-absorbing.mjs (accessed 2026-11-22) ### Accelerated life testing URL: https://hesela.dev/terms/accelerated-life-testing/ Related analysis: https://hesela.com/analyses/3d-nand-retention-evidence/ Also known as: ALT Status: unknown Record updated: 2026-11-18 Accelerated life testing observes failures under elevated stresses to model time to failure at specified use conditions. Note: Planning: Samples are assigned to stress combinations and observed for failures and test-end censoring. Both an acceleration model and a lifetime distribution are needed for extrapolation. Excessive stress can introduce mechanisms absent during intended use, invalidating that transfer. [nist-alt] Interpretation: A Weibull or lognormal model may fit limited observations similarly while predicting very different behavior outside the measured range. Agreement with test data alone does not establish the use-condition projection. [nist-model] Storage scope: A retention endpoint is not automatically a whole-drive failure endpoint. Keep the wear history, sensing method and error criterion attached to an accelerated NAND result. [analysis] Sources and caveats: - Literature synthesis and model identities, not measured device lifetimes or a qualification of any SSD. Related terms: - [acceleration-factor](https://hesela.dev/terms/acceleration-factor/) - [data-retention](https://hesela.dev/terms/data-retention/) - [optical-disc-lifetime-estimate](https://hesela.dev/terms/optical-disc-lifetime-estimate/) Citations: - [nist-alt] NIST e-Handbook 8.3.1.4: Accelerated life tests. https://www.itl.nist.gov/div898/handbook/apr/section3/apr314.htm (accessed 2026-11-18) - [nist-model] NIST e-Handbook 8.2.1: Choosing a life distribution model. https://www.itl.nist.gov/div898/handbook/apr/section2/apr21.htm (accessed 2026-11-18) - [analysis] Hesela: 3D NAND retention, thermal time conversion and evidence limits. https://hesela.com/analyses/3d-nand-retention-evidence/ (accessed 2026-11-18) ### Acceleration factor URL: https://hesela.dev/terms/acceleration-factor/ Related analysis: https://hesela.com/analyses/3d-nand-retention-evidence/ Also known as: Life-test acceleration factor Status: unknown Record updated: 2026-11-18 An acceleration factor is a model-specific multiplier relating corresponding failure times at two stress conditions for the same failure mechanism. Note: Convention: For constant time scaling, AF = t_use / t_stress and F_use(t) = F_stress(t / AF), where F is cumulative failure probability. AF is dimensionless when both times use the same unit. AF multiplies time, not failure probability. [nist-acceleration] Scope: Different failure mechanisms generally require different factors. Under this constant-scaling model, Weibull shape and lognormal dispersion remain unchanged between stress conditions. Approximate parallelism in probability plots is a model check, not proof of physical validity. [nist-acceleration] [nist-model] Temperature: An Arrhenius model gives AF = exp[(Ea/k) x (1/T_use - 1/T_stress)]. Temperatures are in kelvin, k is Boltzmann's constant in eV/K, and Ea is in eV. Activation energy must match the mechanism and materials. A value borrowed from a different NAND population does not establish its retention lifetime. [nist-arrhenius] [analysis] Sources and caveats: - Literature synthesis and model identities, not measured device lifetimes or a qualification of any SSD. Related terms: - [accelerated-life-testing](https://hesela.dev/terms/accelerated-life-testing/) - [data-retention](https://hesela.dev/terms/data-retention/) - [weibull-distribution](https://hesela.dev/terms/weibull-distribution/) Citations: - [nist-acceleration] NIST e-Handbook 8.1.4: Physical acceleration and time-scaling relationships. https://itl.nist.gov/div898/handbook/apr/section1/apr14.htm (accessed 2026-11-18) - [nist-arrhenius] NIST e-Handbook 8.1.5.1: Arrhenius acceleration. https://www.itl.nist.gov/div898/handbook/apr/section1/apr151.htm (accessed 2026-11-18) - [nist-model] NIST e-Handbook 8.2.1: Choosing a life distribution model. https://www.itl.nist.gov/div898/handbook/apr/section2/apr21.htm (accessed 2026-11-18) - [analysis] Hesela: 3D NAND retention, thermal time conversion and evidence limits. https://hesela.com/analyses/3d-nand-retention-evidence/ (accessed 2026-11-18) ### Accessible Max Address Configuration (AMAC) URL: https://hesela.dev/terms/accessible-max-address-configuration/ Related analysis: https://hesela.com/analyses/ssd-sanitization-trim-evidence/ Also known as: AMAC Status: unknown Record updated: 2026-10-24 Accessible Max Address Configuration is an optional ATA feature set for discovering a device's native maximum LBA and controlling its accessible maximum LBA. Note: In ACS-3 revision 5, GET reports the native maximum and SET controls the accessible maximum. Once excluded addresses become accessible again, their contents are indeterminate. [acs3-amac] In ACS-3 revision 5, a successful SET prevents another SET before power-on reset. FREEZE also blocks later SET requests until power-on reset, and hardware/software resets do not clear that freeze. A refusal alone does not prove an explicit FREEZE was issued. [acs3-amac] The native-maximum LBA boundary in Table 91 does not imply identical treatment of reallocated user data. The cited draft excludes it from normal erase and includes it in enhanced erase. [acs3-amac] Limitations: - Increasing the accessible range does not guarantee recovery of earlier contents. (sources: [acs3-amac]) Sources and caveats: - ACS-3 revision 5 is a historical working draft, not a current approved standard. [acs3-amac] - The 2021 clarification and 2026 guide disagree on normal-mode ATA Security Erase coverage with AMAC; this conflict remains unresolved. Use the applicable command-set revision and model/firmware evidence. [seagate-erase-scope] [seagate-ata-security-2026] Related terms: - [host-protected-area](https://hesela.dev/terms/host-protected-area/) - [device-configuration-overlay](https://hesela.dev/terms/device-configuration-overlay/) - [sata](https://hesela.dev/terms/sata/) - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [secure-erase](https://hesela.dev/terms/secure-erase/) Citations: - [acs3-amac] T13 ACS-3 draft 2161-D rev. 5 (28 October 2013), Table 6; sections 4.5 and 7.2; section 7.39 Table 91. https://read.seas.harvard.edu/cs161/2020/pdf/ata-atapi-8.pdf (accessed 2026-10-24) - [seagate-ata-security-2026] Seagate openSeaChest ATA Security Feature guide (last edited 11 February 2026), Security Erase. https://github.com/Seagate/openSeaChest/wiki/ATA-Security-Feature#security-erase (accessed 2026-10-24) - [seagate-erase-scope] Seagate openSeaChest maintainer clarification (7 January 2021), discussion 52: HPA/DCO versus AMAC erase scope. https://github.com/Seagate/openSeaChest/discussions/52 (accessed 2026-10-24) - [hesela] Hesela: SSD sanitization: why TRIM and a successful command are not enough. https://hesela.com/analyses/ssd-sanitization-trim-evidence/ (accessed 2026-10-24) ### ACL mask URL: https://hesela.dev/terms/acl-mask/ Related analysis: https://hesela.com/analyses/posix-acl-restore-permissions/ Also known as: POSIX ACL effective rights mask Status: shipping Record updated: 2026-11-16 A POSIX ACL mask bounds the effective permissions of named-user, owning-group and named-group entries without masking the owner or other entry. Note: Stored versus effective: an entry can retain write permission while a read-only mask makes it ineffective. Widening the mask can reactivate that permission without editing the named entry. [acl] Editing: setfacl normally recalculates the mask from the union of affected entries unless a mask is supplied explicitly or -n is used. A narrow-looking edit can therefore change effective rights elsewhere in the ACL. [setfacl] Recovery order: chmod modifies the mask when present. Hesela's control applied conflicting ACL and mode targets in both orders and obtained different final policies with identical bytes. [hesela-acl] Limitations: - Preserving metadata alone does not establish successful access under the destination's identities and security policy. Related terms: - [posix-access-control-list](https://hesela.dev/terms/posix-access-control-list/) - [default-acl](https://hesela.dev/terms/default-acl/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [umask](https://hesela.dev/terms/umask/) - [chmod](https://hesela.dev/terms/chmod/) Citations: - [acl] Linux ACL project: acl(5), permission-bit correspondence and object creation. https://man7.org/linux/man-pages/man5/acl.5.html (accessed 2026-10-19) - [setfacl] Linux ACL project: setfacl(1), mask recalculation. https://man7.org/linux/man-pages/man1/setfacl.1.html (accessed 2026-10-19) - [hesela-acl] Restoring Linux ACLs: identical bytes, different permissions. https://hesela.com/analyses/posix-acl-restore-permissions/ (accessed 2026-10-19) ### Active Disks URL: https://hesela.dev/terms/active-disks/ Also known as: Active Disk Status: research Record updated: 2026-12-02 Active Disks are a research architecture that executes application-supplied functions at storage devices to exploit local processing and reduce data transfers. Note: The 1997 proposal extends intelligent storage beyond object access to downloadable application functions. It treats code safety, object authorization and CPU or memory admission as separate requirements. [proposal] The VLDB 1998 experiment emulated Active Disks with networked workstations and attached SCSI disks. It studied nearest-neighbor search, frequent-set counting, edge detection and image registration; increasing the disk count also increased the input data. [vldb] Offloading is conditional: useful parallelism and smaller results can relieve a host bottleneck, but a small configuration can favor the faster host processor. The imaging implementations also stalled on I/O that their analytical model assumed overlapped computation. [vldb] Limitations: - Programmable storage must still protect ordinary requests from resource-consuming remote code; accepting a function need not be beneficial. (sources: [proposal]) Sources and caveats: - The 1997 proposal and 1998 workstation experiment are different evidence. Neither establishes modern NVMe compliance or a universal offload speedup. Related terms: - [network-attached-secure-disks](https://hesela.dev/terms/network-attached-secure-disks/) - [computational-storage](https://hesela.dev/terms/computational-storage/) - [willow](https://hesela.dev/terms/willow/) - [admission-control](https://hesela.dev/terms/admission-control/) Citations: - [proposal] Riedel and Gibson. Active Disks: Remote Execution for Network-Attached Storage. CMU-CS-97-198 (1997), sections 3-4. https://www.pdl.cmu.edu/PDL-FTP/NASD/CMU-CS-97-198.pdf (accessed 2026-12-02) - [vldb] Riedel, Gibson and Faloutsos. Active Storage for Large-Scale Data Mining and Multimedia. VLDB 1998, sections 3-6. https://www.pdl.cmu.edu/PDL-FTP/Active/VLDB98.pdf (accessed 2026-12-02) - [review] Hesela: NASD and Active Disks source review. https://hesela.dev/research/nasd-active-disks/README.md (accessed 2026-12-02) ### Active LBA range URL: https://hesela.dev/terms/active-lba-range/ Also known as: benchmark address range Status: shipping Record updated: 2026-10-22 The specified logical-block address interval available to a storage test or its preparation workload. Note: Record the start and end addresses, not only a working-set size. A chosen test interval does not itself describe device occupancy, previous writes or the distribution of accesses inside that interval. One solid-state test specification writes the interval as ActiveRange(start:end), where both bounds are percentages of the maximum user LBA, so ActiveRange(0:100) spans the whole user space and ActiveRange(0:75) its first three quarters. Its enterprise tests use 100% and its client IOPS test uses 75%. [snia] In that specification the workload-independent preconditioning writes twice the user capacity with 128 KiB sequential writes over the entire range, and the workload-dependent loop then runs inside the active range until steady state. Earlier client tests also restricted the number of unique LBAs touched, a setting removed in version 2.0 for consistency with corner-case workloads. [snia] Access distribution inside a range changes internal cleaning cost. In one analytic model with 64 pages per block and a spare factor of 0.1, uniform random writes gave a write amplification of 4.82. Sending 90% of writes to 5% of the address space raised it to 6.24 under greedy cleaning but lowered it to 1.86 with hot and cold separation. [desnoyers] Advantages: - Bounds stated as percentages of the maximum user LBA let the same test setting be repeated on devices of different capacity. (sources: [snia]) Limitations: - The same address span can be accessed sequentially, uniformly randomly or with hotspots - A host-visible interval does not identify physical NAND placement Sources and caveats: - snia is the SNIA Solid State Storage Performance Test Specification 2.0.2, reread on the access date in definition 2.1.1, section 3.4 and the IOPS test flow. - desnoyers is the SYSTOR 2012 paper by Peter Desnoyers (Northeastern University), read in the problem statement, the uniform-traffic analysis with Table 2 and the hot and cold separation analysis. - 0:100, 0:75, 100%, 75%, twice the user capacity, 128 KiB and version 2.0 come from snia. 64 pages, 0.1, 4.82, 90%, 5%, 6.24 and 1.86 come from desnoyers. - The model results are for synthetic traffic and are not measurements of a particular device. Related terms: - [ssd-preconditioning](https://hesela.dev/terms/ssd-preconditioning/) - [ssd-steady-state](https://hesela.dev/terms/ssd-steady-state/) - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [filesystem-aging](https://hesela.dev/terms/filesystem-aging/) Citations: - [snia] SNIA. Solid State Storage Performance Test Specification, version 2.0.2 (1 October 2020), definition 2.1.1, section 3.4 and IOPS test. https://www.snia.org/sites/default/files/2025-02/SNIA-SSS-PTS-2.0.2.pdf (accessed 2026-10-22) - [hesela-windows] Hesela: SSD steady state is not a timer; original numerical examples and limits. https://hesela.com/analyses/ssd-steady-state-is-not-a-timer/ (accessed 2026-10-11) - [desnoyers] Peter Desnoyers. Analytic Modeling of SSD Write Performance. SYSTOR 2012. https://www.ccs.neu.edu/~pjd/papers/pjd-systor12.pdf (accessed 2026-10-22) ### Active-zone limit URL: https://hesela.dev/terms/active-zone-limit/ Also known as: maximum active zones Status: shipping Record updated: 2026-10-23 An active-zone limit caps the zones simultaneously in implicitly open, explicitly open or closed states in a zoned namespace. Note: A closed, partially written zone still counts, even when no thread writes to it. The Linux max_active_zones attribute caps the sum of zones in the explicit open, implicit open and closed states, and 0 there means no limit. [linux-abi-zoned] Raw NVMe MAR = 0 permits one active zone; 0xffffffff denotes no advertised limit, and other raw values decode to value + 1. The 4-byte MAR field sits at bytes 4 to 7 of the zoned Identify Namespace data structure, and the open-zone limit MOR must not exceed it. [zns-spec] Linux zonefs instead uses decoded zero for no limit. Its max_active_seq_files value always equals the device maximum, and nr_active_seq_files cannot exceed a non-zero maximum. Budget reclamation and metadata activity as well as foreground streams; the limit is not a free-byte counter. [zonefs] Advantages: - An advertised limit lets a host plan its concurrent write streams before writes fail with errors. (sources: [zonefs]) Limitations: - Releasing an active slot requires finishing or resetting a zone, which either gives up its remaining writable capacity or discards its data. (sources: [zns-spec]) Sources and caveats: - zns-spec is NVMe ZNS Command Set 1.1, re-read 2026-10-23 at Figure 48 for the 0's-based MAR and MOR fields and the FFFFFFFFh no-limit value. - zonefs and linux-abi-zoned were read for max_active_seq_files and the max_active_zones state sum with zero meaning no limit. - A companion analysis of open and active zone limits is listed but not used for any fact here. - The zone-reset entry links here because a zone reset is one way to release an active-zone slot. Related terms: - [zns](https://hesela.dev/terms/zns/) - [open-zone-limit](https://hesela.dev/terms/open-zone-limit/) - [zone-capacity](https://hesela.dev/terms/zone-capacity/) - [zone-finish](https://hesela.dev/terms/zone-finish/) Citations: - [zonefs] Linux kernel documentation, zonefs: sequential files, explicit-open and runtime sysfs attributes. https://docs.kernel.org/filesystems/zonefs.html (accessed 2026-10-23) - [bjorling] Bjorling et al. ZNS: Avoiding the Block Interface Tax for Flash-based SSDs. USENIX ATC 2021, pp. 689-703, sections 3-5 and Table 3. https://www.usenix.org/system/files/atc21-bjorling.pdf (accessed 2026-10-11) - [hesela-zns] Hesela: ZNS resource limits and worked examples. https://hesela.com/analyses/zns-open-active-zone-limits/ (accessed 2026-10-11) - [zns-spec] NVM Express Zoned Namespace Command Set Specification 1.1, Figure 48 and sections 2.1.1.4, 3.4.1 and 3.4.3. https://nvmexpress.org/wp-content/uploads/NVM-Express-Zoned-Namespace-Command-Set-Specification-1.1-2021.06.02-Ratified.pdf (accessed 2026-10-23) - [linux-abi-zoned] Linux 6.14 stable ABI: sysfs-block queue/max_active_zones. https://docs.kernel.org/6.14/admin-guide/abi-stable.html#abi-sys-block-disk-queue-max-active-zones (accessed 2026-10-23) ### Adaptive quotient filter URL: https://hesela.dev/terms/adaptive-quotient-filter/ Also known as: AdaptiveQF, AQF Status: research Record updated: 2026-11-12 AdaptiveQF is an approximate-membership filter that extends colliding fingerprints after an exact backing-store check identifies a false positive. Note: Mapping: a minirun groups fingerprints sharing their original quotient and remainder; its ID and within-group rank locate the original key without tracking physical slot shifts. [adaptiveqf-paper] Scope: the merged reverse-map/database layout sacrifices range queries; a separate map preserves the database's ordered access. Filter-only space and throughput exclude reverse-map costs. [adaptiveqf-paper] Sources and caveats: - Source review of arXiv v1; no AdaptiveQF implementation, database benchmark or adoption survey executed. Related terms: - [quotient-filter](https://hesela.dev/terms/quotient-filter/) - [counting-quotient-filter](https://hesela.dev/terms/counting-quotient-filter/) - [telescoping-adaptive-filter](https://hesela.dev/terms/telescoping-adaptive-filter/) - [cuckoo-filter](https://hesela.dev/terms/cuckoo-filter/) - [aeris-filter](https://hesela.dev/terms/aeris-filter/) - [broom-filter](https://hesela.dev/terms/broom-filter/) Citations: - [adaptiveqf-paper] Wen et al. Adaptive Quotient Filters. arXiv:2405.10253v1 (2024), sections 3-4 and 6.3-6.4. DOI: 10.48550/arXiv.2405.10253. https://arxiv.org/html/2405.10253v1 (accessed 2026-11-10) - [hesela-adaptive] Hesela: AdaptiveQF reverse-map layout and query contract. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#adaptiveqf-layout (accessed 2026-11-10) ### Adaptive Read-Retry URL: https://hesela.dev/terms/adaptive-read-retry/ Related analysis: https://hesela.com/analyses/nand-read-retry-latency/ Also known as: AR2 Status: research Record updated: 2026-10-22 Adaptive Read-Retry selects shorter NAND precharge timing from profiled conditions while reserving error-correction margin. Note: Park's research design restores default timing and requires fallback when reduced-timing retries are exhausted. [park] Read-retry rereads a page with other reference voltages until error correction succeeds. [cai2017] On 160 chips of 48-layer 3D TLC flash, a fresh page needed no retry, but pages at one-year retention and 2K P/E cycles averaged 19.9 retry steps, about 21 times the read time. Each step costs sensing, transfer and decoding, and sensing consists of precharge, evaluation and discharge. [park] The final retry step uses near-optimal voltages, so its errors stay far below the correction limit, with a margin of up to 44.4% of a 72-bit-per-KiB capability. Default timings are pessimistic for outlier bitlines, and with 14 bits reserved for temperature and outlier pages, precharge could be cut by at least 40% under every tested condition, about 25% of sensing time. A per-chip table of about 144 bytes, indexed by cycle count and retention age, holds the reduced timing. [park] In a simulated 512 GiB drive over twelve workloads, adaptive retry cut average response time by up to 18.1%, and by up to 51.8% with pipelined retry, still 2.37 times slower than a drive with no retries. [park] With 126 µs per baseline step, a 25% sensing cut gives about 103.5 µs, so 19.9 steps fall from about 2,507 µs to 2,061 µs without pipelining. Advantages: - It is complementary to schemes that reduce the number of retry steps by tracking optimal read voltages. (sources: [park], [cai2017]) Limitations: - Evaluation and discharge cuts raise errors faster than precharge cuts: a 20% evaluation cut added 30 errors per KiB. (sources: [park]) - The table requires offline profiling of every chip. (sources: [park]) Sources and caveats: - Characterisation covers one population of 48-layer 3D TLC chips from an unnamed manufacturer, and the performance results come from a simulator, not a drive. - The study is university work; the survey is university-led with one drive-maker co-author; no independent hardware reproduction of the timing reduction was found. - The paper abstract states different headline figures from its evaluation section; the section's numbers are used. - Arithmetic: 24 + 5 + 10 = 39 µs per sensing; 2.33 x 39 = 91 µs, close to the paper's 90 µs; a 40% precharge cut saves 9.6 µs, 24.6% of sensing; 90 + 16 + 20 = 126 µs per step. - A reduced-timing retry never failed in more than 10^7 measured pages; the scheme is a research proposal. Related terms: - [read-retry](https://hesela.dev/terms/read-retry/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [pipelined-read-retry](https://hesela.dev/terms/pipelined-read-retry/) Citations: - [park] Park et al. Reducing Solid-State Drive Read Latency by Optimizing Read-Retry. ASPLOS 2021, sections 6-7. DOI: 10.1145/3445814.3446719. https://people.inf.ethz.ch/~omutlu/pub/Reducing-SSD-Read-Latency-by-Optimizing-Read-Retry_asplos21.pdf (accessed 2026-10-14) - [hesela] Hesela: NAND read-retry and stage timing. https://hesela.com/analyses/nand-read-retry-latency/ (accessed 2026-10-14) - [cai2017] Cai et al. Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives. 2017, section 5.4. https://arxiv.org/pdf/1706.08642v3 (accessed 2026-10-16) ### Adaptive Replacement Cache URL: https://hesela.dev/terms/adaptive-replacement-cache/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: ARC Status: research Record updated: 2026-11-21 Adaptive Replacement Cache adjusts a recency/frequency balance using resident lists and nonresident histories. Note: FAST 2003 ARC assumes equal-sized, demand-paged items. T1 and T2 hold cached pages seen once and at least twice recently; B1 and B2 retain evicted identities. Resident hits move the page to T2's head. The directory has at most 2c entries for c cache pages; per-request work is constant. [arc] The recency target p is capped at c on B1 hits and floored at zero on B2 hits. It is a target, not a reserved partition: p starts at zero while distinct requests can fill T1. REPLACE uses updated p. At equality, a B2 hit chooses a nonempty T1; otherwise T1 supplies the victim only when its length exceeds p. The new-page direct-discard path is separate. [arc] Starting empty with c = 2, A, B, A, B puts both pages in T2 with p = 0. On request C, T1 is empty, so REPLACE evicts A from T2 before C enters T1. Scan resistance therefore does not preserve every T2 resident. [arc] Reported hit ratios were workload-dependent. ARC achieved 15.94% against 8.93% for LRU on P12 at 32,768 pages and 22.52% against 11.65% on DS1 at 2,097,152 pages. On Merge(S) at 4,194,304 pages, ARC reported 87.26% against LRU 87.30%. It did not win every comparison, and gaps need not decrease monotonically as capacity grows. [arc] A derived file-system cache handles pinned blocks, changing capacity and blocks from 512 bytes to 128 KB. Its 2.3 release balances data, metadata, recency and frequency by bytes of ghost hits, not one page count. [zfsarc] Ghost histories cost memory, and a 2015 admission policy outperformed ARC on a database trace. [tinylfu] Advantages: - ARC can replace one-time scan entries in T1 while retaining reused pages in T2, but its scan resistance is not immunity from T2 eviction. (sources: [arc]) Limitations: - Like other policies built on LRU lists, it updates a list on every hit and so keeps the locking cost of LRU. (sources: [car]) - It does not help a loop slightly larger than the cache: loops of 101 and 110 entries in a 100-entry cache give a hit ratio of 0.00, as with LRU. (sources: [arc]) Sources and caveats: - The ARC and CAR papers have authors at an industrial research laboratory (IBM Almaden), so the trace results are the proposing authors' own. - The TinyLFU authors propose a competing scheme, so its comparisons with ARC are theirs. - The paper traces predate 2003 and use 4 KB pages, or 512-byte pages for the workstation traces, inferred from 16 MB for 32,768 pages. - The OpenZFS cache is a design lineage rather than the exact algorithm; its description is from the zfs-2.3.0 source comment and code. - Loop and two-pool results (0.502 for ARC against 0.302 for LRU, cache of 150) come from a constructed Python simulation of the paper's algorithm figure with fixed seeds, not from a measured system. - Arithmetic: 15.94 / 8.93 = about 1.8 times and 22.52 / 11.65 = about 1.9 times. - The A, B, A, B, C sequence is a deduction from Figure 4, not a device measurement. Related terms: - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [reuse-distance](https://hesela.dev/terms/reuse-distance/) - [amp-buffer-caching](https://hesela.dev/terms/amp-buffer-caching/) Citations: - [arc] Nimrod Megiddo and Dharmendra S. Modha. ARC: A Self-Tuning, Low Overhead Replacement Cache. FAST 2003, pp. 115-130; Figure 4 and Tables V, VI and VIII. https://www.usenix.org/event/fast03/tech/full_papers/megiddo/megiddo.pdf (accessed 2026-10-30) - [hesela] Hesela: mapping caches, scan phases and cache-history semantics (constructed examples). https://hesela.com/analyses/ssd-mapping-cache-hmb/#scan-pollution (accessed 2026-10-15) - [zfsarc] OpenZFS module/zfs/arc.c, release zfs-2.3.0, header comment and eviction-balance code. https://github.com/openzfs/zfs/blob/zfs-2.3.0/module/zfs/arc.c (accessed 2026-10-16) - [tinylfu] Einziger, Friedman and Manes. TinyLFU: A Highly Efficient Cache Admission Policy. arXiv:1512.00727v2, 2015. https://arxiv.org/abs/1512.00727 (accessed 2026-10-16) - [car] Bansal and Modha. CAR: Clock with Adaptive Replacement. USENIX FAST 2004, introduction. https://www.usenix.org/legacy/events/fast04/tech/full_papers/bansal/bansal.pdf (accessed 2026-10-16) ### Adaptive replica selection URL: https://hesela.dev/terms/adaptive-replica-selection/ Status: research Record updated: 2026-11-21 Adaptive replica selection routes a request among eligible data replicas using changing performance or load information rather than a fixed choice. Note: A local outstanding-request count measures one client's unfinished requests, not all work at the replica. C3's motivating illustration prints 60 ms for an equal split of twelve jobs across 4 ms and 10 ms servers and 32 ms for an ideal allocation. [c3] Under an explicit empty, serial, deterministic model with simultaneous arrivals, Hesela instead obtains 36 ms at a 9/3 split: by 32 ms the two servers can finish only 8 + 3 = 11 jobs. This model does not re-evaluate C3's experiments. [burst-audit] Load-sensitive choices can also synchronize clients onto one replica, producing oscillation. [c3] In C3, servers return queue size and service time on each response, and clients smooth both with moving averages. The queue estimate is 1 + os * w + q, where os counts the client's own outstanding requests and w was set to the number of clients. Ranking uses the cube of that estimate divided by the service rate, so long queues are penalized more than under a linear score. Rate control and backpressure complement the ranking, without request reissues. [c3] The paper reports up to a factor of 3 lower 99.9th-percentile latency and up to 50% higher read throughput, from a prototype on one open-source database with synthetic workloads in a public cloud. It does not establish a universal speedup for other engines or current deployments. [c3] The two-choice supermarket result concerns a homogeneous Poisson/FIFO/exponential-service model with current queue lengths. Its asymptotic comparison is not a universal exponential speedup for finite storage deployments or stale feedback. [p2c2001] Advantages: - Feedback rides on existing responses, so ranking needs no separate probing traffic. (sources: [c3]) Limitations: - A concurrency weight tied to the client count is a good approximation only when that count is comparable to expected queue lengths. (sources: [c3]) - The two-choice result assumes Poisson arrivals and exponential service times with mean 1, not heterogeneous replicas with delayed feedback. (sources: [p2c2001]) Sources and caveats: - c3 re-read 2026-10-23, sections 2, 3.1 and 5, for the 4 ms and 10 ms burst example, the queue estimate, cubic ranking and the factor-of-3 and 50% results. - p2c2001 read 2026-10-23, abstract and sections 1 to 3, for the supermarket model and the exponential gain from two choices. - The quantile entry links here because the reported tail gains are stated as 99.9th-percentile response times. - A companion analysis on hedged reads is listed but not used in prose. - 2026-11-20: narrowed the two-choice comparison to its model and linked the dedicated current-versus-stale-feedback record. - 2026-11-20: visually reviewed C3 Figure 1 on printed page 515; replaced the unqualified 32 ms completion claim with attributed source labels and an independently tested 36 ms result under explicit deterministic serial assumptions. Related terms: - [hedged-request](https://hesela.dev/terms/hedged-request/) - [tied-request](https://hesela.dev/terms/tied-request/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [asynchronous-replication](https://hesela.dev/terms/asynchronous-replication/) - [session-guarantees](https://hesela.dev/terms/session-guarantees/) - [monotonic-writes](https://hesela.dev/terms/monotonic-writes/) - [quantile](https://hesela.dev/terms/quantile/) - [d-sptf](https://hesela.dev/terms/d-sptf/) - [load-aware-hedging](https://hesela.dev/terms/load-aware-hedging/) - [sroute](https://hesela.dev/terms/sroute/) - [power-of-two-choices](https://hesela.dev/terms/power-of-two-choices/) - [tars](https://hesela.dev/terms/tars/) - [feedback-age](https://hesela.dev/terms/feedback-age/) Citations: - [c3] Suresh, Canini, Schmid and Feldmann. C3: Cutting Tail Latency in Cloud Data Stores via Adaptive Replica Selection. NSDI 2015, sections 2, 3.1 and 5. https://files.usenix.org/s3fs-public/cdn/nsdi15-paper-suresh.pdf (accessed 2026-11-12) - [hesela] Hesela. Hedged reads: replica dependence and cancellation work, with exact synthetic examples. https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#hedged-reads (accessed 2026-10-17) - [p2c2001] Mitzenmacher. The Power of Two Choices in Randomized Load Balancing. IEEE TPDS 12(10), 2001, pp. 1094-1104. https://www.eecs.harvard.edu/~michaelm/postscripts/tpds2001.pdf (accessed 2026-10-23) - [burst-audit] Hesela. Replica bursts: exact serial completion audit, capacity proof and client-partition counterexample. https://hesela.dev/research/replica-burst/README.md (accessed 2026-11-20) ### Adaptive scrubbing URL: https://hesela.dev/terms/adaptive-scrubbing/ Related analysis: https://hesela.com/analyses/sector-error-prediction-scrubbing/ Also known as: Prediction-guided scrubbing Status: research Record updated: 2026-11-28 Adaptive scrubbing adjusts the rate or schedule of proactive storage verification in response to observed conditions or estimated error risk. Note: Distinguish classifier false-positive rate from the fraction of time spent scanning faster. An alert budget must include true alerts and alert duration, not just false alarms. The ATC 2017 evaluation was a simulation, not a measurement of reduced production data loss. [mahdisoltani2017] Equal-duration examples and their assumptions are available in the accompanying arithmetic note. [hesela-budget] For heterogeneous devices, accelerated device-time does not determine extra bytes. Weight each group's baseline byte rate by its observed and accelerated durations. Capacity weighting alone assumes equal full-pass periods; allocated-data scrubs need their selected scan scope. Merge overlapping alert durations before counting time. The worked fleet examples are synthetic, not measurements or inferred classifier performance. [hesela-capacity] A host-read budget also excludes internal NAND programs from protective relocation. Planar MLC characterization demonstrates read disturbance and discusses relocation mitigations; it does not prescribe a universal SSD scrub frequency. [cai-dsn15] Keep field observations, reused traces, graph-derived models and policy simulations separate when comparing scrubbing evidence. The source-lineage map records input provenance, population selection and metric units without pooling sample sizes or claiming independent replications. [hesela-lineage] Related terms: - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [mean-time-to-detection](https://hesela.dev/terms/mean-time-to-detection/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [recall](https://hesela.dev/terms/recall/) - [read-reclaim](https://hesela.dev/terms/read-reclaim/) - [read-disturb](https://hesela.dev/terms/read-disturb/) - [staggered-scrubbing](https://hesela.dev/terms/staggered-scrubbing/) Citations: - [mahdisoltani2017] Mahdisoltani, Stefanovici and Schroeder. Proactive error prediction to improve storage system reliability. USENIX ATC 2017, sections 4.1-4.3. https://www.usenix.org/system/files/conference/atc17/atc17-mahdisoltani.pdf (accessed 2026-11-25) - [hesela-budget] Hesela: sector-error prediction and adaptive scrub-budget arithmetic. https://hesela.com/analyses/sector-error-prediction-scrubbing/ (accessed 2026-10-15) - [hesela-capacity] Hesela: capacity-weighted scrub bytes, exact examples and tests. https://hesela.com/analyses/sector-error-prediction-scrubbing/#capacity-budget (accessed 2026-10-19) - [cai-dsn15] Cai et al., Read Disturb Errors in MLC NAND Flash Memory, DSN 2015, sections 2.3 and 3. https://users.ece.cmu.edu/~omutlu/pub/flash-read-disturb-errors_dsn15.pdf (accessed 2026-10-19) - [hesela-lineage] Hesela: scrubbing evidence lineage, primary-source populations and simulated endpoints. https://hesela.com/analyses/scrubbing-detection-not-durability/#evidence-lineage (accessed 2026-11-25) ### AdaptSize URL: https://hesela.dev/terms/adaptsize/ Also known as: AdaptSize cache admission Status: research Record updated: 2026-11-18 AdaptSize is a cache-admission policy that adapts an exponential size bias using a model of recent object requests to improve memory-cache request hit ratio. Note: On a miss, an object of size s is admitted with probability exp(-s/c); s and c use the same units. A concurrent LRU variant handles eviction. The parameter is tuned from object sizes and request counts, not from a size percentile alone. [paper] The tuning model couples per-object residence probabilities through a shared pushdown rate and a byte-capacity constraint. Admission probability is not residence probability or a hit ratio. The objective counts requests equally, whereas a byte hit ratio weights payload size. [paper] In the pinned prototype, integer division inside exp changes the admission curve under LP64 types. With s = 4 bytes and c = 8 bytes, the extracted expression produces 1 instead of about 0.606531. Casting before division restores the intended value; casting afterward does not. [module] [parameter] [replay] Limitations: - A historical CDN memory-cache objective does not establish a universal benefit for flash caches or a guarantee of fewer backend bytes. (sources: [paper]) Sources and caveats: - Primary-paper and pinned-code review plus a minimal native arithmetic experiment, not replication of the complete caching system. [paper] [replay] - The extracted-expression result does not identify the code used for the paper's performance measurements or invalidate those measurements. [replay] Related terms: - [cache-admission](https://hesela.dev/terms/cache-admission/) - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) - [byte-hit-ratio](https://hesela.dev/terms/byte-hit-ratio/) Citations: - [paper] Berger, Sitaraman and Harchol-Balter. AdaptSize. NSDI 2017, pp. 483-498, sections 4-6. https://www.usenix.org/system/files/conference/nsdi17/nsdi17-berger.pdf (accessed 2026-11-18) - [module] AdaptSize authors. Admission module, pinned commit 6deab4b303ed26c2e75d5efff6fea4e575a1485f. https://github.com/dasebe/AdaptSize/blob/6deab4b303ed26c2e75d5efff6fea4e575a1485f/AdaptSizeVmod/src/vmod_autoparam.c (accessed 2026-11-18) - [parameter] AdaptSize authors. Integer parameter declaration, pinned commit 6deab4b303ed26c2e75d5efff6fea4e575a1485f. https://github.com/dasebe/AdaptSize/blob/6deab4b303ed26c2e75d5efff6fea4e575a1485f/VarnishPatches/params.patch (accessed 2026-11-18) - [replay] Hesela. AdaptSize admission arithmetic: native extracted-expression probe, results and limitations. https://hesela.dev/research/adaptsize/README.md (accessed 2026-11-18) ### Additional sense code qualifier URL: https://hesela.dev/terms/additional-sense-code-qualifier/ Related analysis: https://hesela.com/analyses/scsi-sense-kernel-log-signatures/ Also known as: ASCQ, SCSI ASCQ Status: shipping Record updated: 2026-10-13 The additional sense code qualifier (ASCQ) is an eight-bit SCSI sense-data field interpreted with the ASC to identify a more specific condition. Note: A qualifier has meaning within its ASC pair, not as an independent error code. [t10-asc] Record the response format and available length alongside the pair; a decoder's default zero is not evidence that an absent byte was returned as zero. [linux-sense] Related terms: - [scsi](https://hesela.dev/terms/scsi/) - [scsi-check-condition](https://hesela.dev/terms/scsi-check-condition/) - [scsi-sense-key](https://hesela.dev/terms/scsi-sense-key/) - [additional-sense-code](https://hesela.dev/terms/additional-sense-code/) Citations: - [t10-asc] T10: Additional sense data and ASC/ASCQ lookup tables. https://www.t10.org/lists/2asc.htm (accessed 2026-10-13) - [linux-sense] Linux v6.12: scsi_normalize_sense, fixed and descriptor field extraction. https://github.com/torvalds/linux/blob/v6.12/drivers/scsi/scsi_common.c (accessed 2026-10-13) - [hesela-sense] Media error or link error? SCSI sense codes and Linux ATA logs. https://hesela.com/analyses/scsi-sense-kernel-log-signatures/ (accessed 2026-10-13) ### Additional sense code URL: https://hesela.dev/terms/additional-sense-code/ Related analysis: https://hesela.com/analyses/scsi-sense-kernel-log-signatures/ Also known as: ASC, SCSI ASC Status: shipping Record updated: 2026-10-13 The additional sense code (ASC) is an eight-bit SCSI sense-data field that refines the sense key and is interpreted together with its qualifier. Note: Use the ASC and ASCQ as a pair and check the device-type applicability in T10's assignments. The lookup table is informative; the applicable written standard takes precedence. [t10-asc] Missing bytes in a truncated report must not be treated as an observed 00h/00h pair. [linux-sense] Software translation can be version-dependent: Linux v6.12 maps BSY to 0Bh/47h/00h, whereas the pinned 3857c2fe5449 routine maps it to 0Bh/00h/00h. Both ignore the ATA error byte when BSY is set. Keep the kernel version and original registers; a translated code is not a unique physical diagnosis. [linux-v612-ata] [linux-pinned-ata] Related terms: - [scsi](https://hesela.dev/terms/scsi/) - [scsi-check-condition](https://hesela.dev/terms/scsi-check-condition/) - [scsi-sense-key](https://hesela.dev/terms/scsi-sense-key/) - [additional-sense-code-qualifier](https://hesela.dev/terms/additional-sense-code-qualifier/) Citations: - [t10-asc] T10: Additional sense data and ASC/ASCQ lookup tables. https://www.t10.org/lists/2asc.htm (accessed 2026-10-13) - [linux-sense] Linux v6.12: scsi_normalize_sense, fixed and descriptor field extraction. https://github.com/torvalds/linux/blob/v6.12/drivers/scsi/scsi_common.c (accessed 2026-10-13) - [hesela-sense] Media error or link error? SCSI sense codes and Linux ATA logs. https://hesela.com/analyses/scsi-sense-kernel-log-signatures/ (accessed 2026-10-13) - [linux-pinned-ata] Linux pinned 3857c2fe5449: ata_to_sense_error and its callers. https://github.com/torvalds/linux/blob/3857c2fe5449541e24afc5efdb0f81a8a8f9a3a0/drivers/ata/libata-scsi.c (accessed 2026-10-13) - [linux-v612-ata] Linux v6.12, commit adc218676eef: ATA-to-SCSI translation. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/ata/libata-scsi.c (accessed 2026-10-13) ### Adjacent-track interference (ATI) URL: https://hesela.dev/terms/adjacent-track-interference/ Also known as: ATI, adjacent track interference Status: shipping Record updated: 2026-10-28 Adjacent-track interference is degradation of recorded HDD data caused by writes on a neighboring track. Note: Repeated writes of the same track tend to degrade the quality of adjacent tracks, and conventional magnetic recording is not exempt. Drive firmware detects degraded tracks and refreshes them by rewriting. Higher track density can reduce the number of writes needed to degrade a neighbor, so no single overwrite threshold applies across recording densities. [kowles] Refresh cost depends on layout. In host-managed shingled devices, refreshing a 256 MB zone means reading and rewriting hundreds of megabytes, and repeated reuse of one logical zone can trigger such refreshes. [kowles] This write-disturbance meaning differs from read-channel mixing discussed as inter-track interference: with a smaller track pitch, the same read-head offset picks up more signal from the neighboring track and raises the sector read-failure probability. Areal-density targets beyond 1 Tb/in2 toward 10 Tb/in2 shrink that pitch, and a read retry costs tens or hundreds of milliseconds. [li-fast17] Limitations: - Public sources describe mechanisms rather than per-model disturbance counts or refresh schedules, so refresh frequency for a given drive cannot be derived from them. (sources: [kowles], [li-fast17]) Sources and caveats: - kowles re-read 2026-10-23, slide 6, for write disturbance, firmware refresh and the 256 MB zone example. - li-fast17 re-read 2026-10-23, sections 1 and 2.1, for track pitch, read-head offset and retry latency. - A vendor interview is listed but not used in prose; its page returned a browser challenge on 2026-10-23. - A companion analysis on refresh is listed but not used in prose. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [cmr](https://hesela.dev/terms/cmr/) - [smr](https://hesela.dev/terms/smr/) - [ati-refresh](https://hesela.dev/terms/ati-refresh/) - [interlaced-magnetic-recording](https://hesela.dev/terms/interlaced-magnetic-recording/) - [exchange-coupled-composite-media](https://hesela.dev/terms/exchange-coupled-composite-media/) Citations: - [kowles] Andrew Kowles (Seagate). Techniques for Shingled Disks: A View From Inside. SNIA SDC EMEA 2018, slide 6. https://www.snia.org/sites/default/files/SDCEMEA/2018/Presentations/Techniques-for-Shingled-Disks-SNIA-SDC-EMEA-2018.pdf (accessed 2026-10-23) - [wd-interview] Owen Lystrup (Western Digital). How Western Digital Created OptiNAND, 31 August 2021. https://blog.westerndigital.com/optinand/ (accessed 2026-10-16) - [li-fast17] Li et al. Facilitating Magnetic Recording Technology Scaling for Data Center HDDs through Filesystem-Level Transparent Local Erasure Coding. FAST 2017. https://www.usenix.org/system/files/conference/fast17/fast17-li.pdf (accessed 2026-10-23) - [hesela-ati] CMR is not refresh-free: adjacent-track interference in HDDs. https://hesela.com/analyses/hdd-adjacent-track-interference-refresh/ (accessed 2026-10-16) ### Adler-32 URL: https://hesela.dev/terms/adler-32/ Also known as: Adler32, ADLER32 Status: shipping Record updated: 2026-11-22 Adler-32 is a 32-bit checksum formed from two running sums modulo 65521. Note: Start with s1=1, s2=0. For byte b, update s1=(s1+b) mod 65521, then s2=(s2+s1) mod 65521. Return 65536*s2+s1; empty input gives 1. The zlib trailer stores it most-significant byte first. [rfc1950] The trailer covers decoded output, not compressed bytes or the separately supplied dictionary. Dictionary bytes copied into output are covered. DICTID separately checks the dictionary. A compliant decoder must check ADLER32 and report a mismatch. [rfc1950] Raw DEFLATE has no wrapper checksum; gzip uses CRC32. The zlib library handles all three, so its name does not identify the checksum. Adler-32 supports incremental updates. [zlib-manual] The bytes 00 02 00 and 01 00 01 both have s1=3, s2=7 and checksum 0x00070003. Changes +1,-2,+1 cancel both sums. These deliberate collisions are not estimates of accidental-corruption frequency. [hesela-arithmetic] [hesela-archives] RFC 3309 explains SCTP's 2002 switch to CRC32C, including short-packet nonuniformity. For 128 bytes, s1 is between 1 and 32641 and cannot wrap. Neither is a storage error-rate estimate. [rfc3309] [hesela-arithmetic] All 65536 two-byte inputs have distinct checksums. The sums s1=1+a+b and s2=2+2*a+b give a=s2-s1-1 and b=2*s1-s2. Exhaustive checks confirm this fixed-length result. It does not extend to the three-byte collision above. Unused output values alone do not determine undetected-error probability. [hesela-arithmetic] Advantages: - Incremental updates allow the same checksum to be computed while processing successive chunks. (sources: [zlib-manual]) Limitations: - A matching value does not prove byte identity or authenticate data; the constructed collision changes the input without changing its original checksum. (sources: [hesela-arithmetic], [hesela-archives]) - Output width alone does not imply an undetected-error probability of 2^-32; message length, contents and the error model matter. (sources: [rfc3309]) Sources and caveats: - Primary-format and API synthesis. RFC 1950 is Informational; RFC 3309 supplies historical SCTP context. The illustrative collision is exact arithmetic with native-library controls, not a new codec defect, benchmark or hardware experiment. Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [deflate](https://hesela.dev/terms/deflate/) - [gzip](https://hesela.dev/terms/gzip/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) - [crc32c](https://hesela.dev/terms/crc32c/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [fletcher-checksum](https://hesela.dev/terms/fletcher-checksum/) Citations: - [rfc1950] RFC 1950: ZLIB Compressed Data Format Specification version 3.3, sections 2.2-2.3. https://www.rfc-editor.org/rfc/rfc1950.html (accessed 2026-11-22) - [zlib-manual] zlib manual: inflateInit2, deflateSetDictionary and checksum functions. https://zlib.net/manual.html (accessed 2026-11-22) - [rfc3309] RFC 3309: SCTP Checksum Change, section 1 (September 2002). https://www.rfc-editor.org/rfc/rfc3309.html (accessed 2026-11-22) - [hesela-arithmetic] Hesela: Adler-32 arithmetic and native zlib regression checks. https://hesela.dev/research/adler32-contract.py (accessed 2026-11-22) - [hesela-archives] Hesela: When both zlib checksums accept the wrong dictionary. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#zlib-dictionary-alias (accessed 2026-11-22) ### Admission control URL: https://hesela.dev/terms/admission-control/ Related analysis: https://hesela.com/analyses/storage-latency-coordinated-omission/ Also known as: work admission Status: shipping Record updated: 2026-11-20 Admission control applies a policy at a specified boundary to decide whether new work may enter a resource or service stage. Note: Local decision: A SEDA stage can reject enqueueing while the upstream stage chooses an alternative, such as waiting, redirecting or returning an error. Rejection by one queue is not necessarily rejection of the whole user request. [seda] Feedback: Adaptive overload control can adjust admission using observed response times. The USITS 2003 controller targeted the 90th percentile with a token bucket and additive-increase/multiplicative-decrease updates. Its tuning and application experiments do not establish a universal deadline guarantee. [overload] Accounting: Name the admission boundary and retain offered, accepted, rejected and unfinished request counts. A latency distribution of successful completions alone excludes rejected work; moving the observation boundary changes the question. [overload] Sources and caveats: - The 2003 paper evaluates a Web-based email service and a dynamic Web benchmark, not storage-device throughput. - The accounting recommendation is an engineering inference from the paper's separate response-time and rejection reporting. Related terms: - [backpressure](https://hesela.dev/terms/backpressure/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [coordinated-omission](https://hesela.dev/terms/coordinated-omission/) Citations: - [seda] Welsh, Culler and Brewer: SEDA, SOSP 2001, section 3.3 (finite event queues and overload responses). https://www.sosp.org/2001/papers/welsh.pdf (accessed 2026-11-20) - [overload] Welsh and Culler: Adaptive Overload Control for Busy Internet Servers, USITS 2003, sections 2.3, 3.2 and 4.4. https://www.usenix.org/legacy/event/usits03/tech/full_papers/welsh/welsh_html/usits.html (accessed 2026-11-20) ### Asynchronous DRAM Refresh URL: https://hesela.dev/terms/adr/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: ADR Status: shipping Record updated: 2026-11-28 Asynchronous DRAM Refresh is a platform power-fail mechanism that drains covered memory-controller write-pending buffers to persistent memory without protecting dirty CPU caches. Note: In Intel's documented persistent-memory platform, data that reaches the covered controller queue can survive power loss, while cache-resident updates require software persistence operations. [intel-adr] The name does not mean ordinary DRAM automatically becomes nonvolatile; protection depends on the platform and backing medium. eADR extends the protected boundary to CPU caches. [intel-eadr] Related terms: - [persistence-domain](https://hesela.dev/terms/persistence-domain/) - [eadr](https://hesela.dev/terms/eadr/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [memory-persistency](https://hesela.dev/terms/memory-persistency/) - [clwb](https://hesela.dev/terms/clwb/) - [clflushopt](https://hesela.dev/terms/clflushopt/) Citations: - [intel-adr] Intel. Second Generation Xeon Processor Scalable Family Technical Overview: The Persistence Domain. https://www.intel.com/content/www/us/en/developer/articles/news/second-generation-intel-xeon-processor-scalable-family-technical-overview.html (accessed 2026-10-13) - [intel-eadr] Intel. Third Generation Xeon Processor Scalable Family on Two Socket Platforms: eADR. https://www.intel.com/content/www/us/en/developer/articles/technical/third-generation-xeon-scalable-family-overview.html (accessed 2026-10-13) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/ (accessed 2026-10-13) ### Advanced Format (4K) URL: https://hesela.dev/terms/advanced-format/ Also known as: AF, 4K Advanced Format Status: shipping Record updated: 2026-11-02 Advanced Format is a disk-sector architecture expanded beyond legacy 512-byte sectors, with 512e and 4Kn as its familiar 4K variants. Note: The 4K variants covered here use 4096-byte physical sectors. The format label does not identify a filesystem allocation unit or a NAND erase block. Compare logical and physical sector reports before interpreting a device as 512e or 4Kn. One legacy sector has 50 bytes of ECC and another 15 bytes for Gap, Sync, and Address Mark, about 88% sectorized format efficiency (512/(512 65)). Eight such sectors, with that same count and an ECC field of 100 bytes, yield 97% (4096/(4096 115)), almost a 10% improvement [seagate-af]. Sectorized format leaves out servo and other layout overhead, and not every 4K implementation exactly doubles the ECC bytes. A 512-byte sector can typically correct a defect of up to 50 bytes; the 100-byte figure is the ECC field [seagate-af]. Manufacturers committed new desktop and notebook platforms beginning in January of 2011 [seagate-af]. Enterprise AF 4Kn shipment starts in 2012 at 4,096 bytes per sector [idema-ent]. The support table is not the partition table. It prints 512-byte native as logical and physical 512 bytes for all Windows versions, 512e as logical 512 bytes and physical 4 KB, and 4Kn as logical and physical 4 KB listing Windows 8 and Windows Server 2012 [microsoft-af]. Alignment 0 is the first virtual 512-byte block and Alignment 1 is the second, with six additional unaligned cases. Windows XP creates the primary partition at Alignment 1; Windows Vista Service Pack 1 or later, Windows 7, and Windows 10 create Alignment 0 [seagate-af]. Advantages: - Larger sectors reduce repeated per-sector format overhead in the illustrated HDD layout. (sources: [seagate-af]) Limitations: - 512e and 4Kn expose different addressing units despite the same physical-sector size. (sources: [microsoft-af]) - Windows XP, Windows Server 2003, and Windows Server 2003 R2 do not support 512e or 4Kn media. (sources: [microsoft-af]) Sources and caveats: - Figure 4 says each 512-byte sector has 50 bytes of ECC and another 15 bytes for Gap, Sync, and Address Mark. The 4K layout combines eight legacy 512-byte sectors and keeps that Gap, Sync, and Address Mark byte count. [seagate-af] - The efficiency parentheticals are printed as 512/(512 65) and 4096/(4096 115), with no operator between the terms. [seagate-af] - Footnote 1 limits sectorized format to data sectors and excludes servo data and other sector layout inefficiencies. Footnote 2 says not every implementation of a 4K sector exactly doubles the ECC bytes when moving from 512-byte to 4K sectors. [seagate-af] - In December of 2009, Advanced Format was nominated and approved as the name for 4K-byte sectors. The conclusion says no later than January 2011 for new models shipping into the laptop and desktop market segments. [seagate-af] - Short-term end-user capacity increases are not dramatic. The overview dates the move from a 512-byte sector to 4096 bytes to around 2010, and significant planning work to 2005. [seagate-af] - Generation One AF native drives employ 4,096 bytes per sector and are called AF 4Kn. Starting 2012, shipment of those enterprise-class drives commences. [idema-ent] - IDEMA Alignment 0 means no offset, and Alignment 1 means only that an offset exists. AF Aware means a program recognizes AF 512e drives but does not deliver full performance. Neither definition replaces the partition table's block numbering. [idema-af] - The 4Kn cell lists Windows 8 and Windows Server 2012. The platforms line above the table continues through Windows Server 2016 and is not that cell. The 512e cell is a version list, including KB 982018 and KB 2553708, not all Windows versions. [microsoft-af] - Windows XP, Windows Server 2003, and Windows Server 2003 R2 do not support 512e or 4Kn media. The system may boot and operate minimally, with possible unknown functionality issues, data loss, or sub-optimal performance. [microsoft-af] - Windows Vista before Service Pack 1 is large-sector aware but creates partitions unaligned. Kernel support is stated for versions 2.6.31 and above. GNU fdisk versions 1.2.3 and above are listed as supporting these drives. [seagate-af] - logical_block_size, dated May 2009 and marked read-only, is the smallest unit the device can address and is typically 512 bytes. [linux-sysfs] - physical_block_size, also dated May 2009 and marked read-only, is the smallest unit written atomically and may be bigger. On a stacked device it is the maximum of the component devices. The example is SATA drives with 4KB sectors exposing a 512-byte logical block size. [linux-sysfs] Related terms: - [512e](https://hesela.dev/terms/512e/) - [4kn-native](https://hesela.dev/terms/4kn-native/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [physical-sector](https://hesela.dev/terms/physical-sector/) Citations: - [c1] Advanced Format (4K). https://en.wikipedia.org/wiki/Advanced_Format (accessed 2026-03-26) - [idema-af] IDEMA: Advanced Format Definitions, Abbreviations, and Conventions. https://idema.org/initiatives/advanced-format/af-definitions-abbreviations-and-conventions/ (accessed 2026-11-02) - [microsoft-af] Microsoft: Advanced format disk compatibility update, sector formats and alignment issues. https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update (accessed 2026-11-02) - [seagate-af] Seagate: Transition to Advanced Format 4K Sector Hard Drives, emulation and read-modify-write. https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/ (accessed 2026-11-02) - [hesela-sector-alignment] Hesela: 512e, 4Kn and alignment: geometry is not durability. https://hesela.com/analyses/sector-sizes-alignment-not-durability/ (accessed 2026-10-12) - [idema-ent] IDEMA: Advanced Format in the Enterprise, Generation One AF 4Kn. https://idema.org/initiatives/advanced-format/advanced-format-in-the-enterprise/ (accessed 2026-11-02) - [linux-sysfs] Linux kernel ABI: sysfs-block logical_block_size and physical_block_size. https://www.kernel.org/doc/Documentation/ABI/stable/sysfs-block (accessed 2026-11-02) ### Adversarial-resilient filter URL: https://hesela.dev/terms/adversarial-resilient-filter/ Also known as: Adversarial-resilient Bloom filter Status: research Record updated: 2026-11-12 An adversarial-resilient filter bounds an adversary's chance of predicting a false positive for a fresh nonmember after observing earlier query responses. Note: Model: Naor and Yogev's challenge key must be outside both the stored set and the prior query set; the adversary observes answers, not internal memory. Their paper separates computationally bounded and query-bounded adversaries. [adversarial-bloom] Boundary: this fresh-key guarantee does not by itself bound replay of an already discovered false positive. Broom-filter adaptivity permits repeated challenges under a different feedback model. [adversarial-bloom] [broom-paper] Sources and caveats: - Primary-source synthesis; no filter implementation, security evaluation or storage benchmark executed. Related terms: - [broom-filter](https://hesela.dev/terms/broom-filter/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [universal-hashing](https://hesela.dev/terms/universal-hashing/) Citations: - [adversarial-bloom] Naor and Yogev. Bloom Filters in Adversarial Environments. CRYPTO 2015. DOI: 10.1007/978-3-662-48000-7_28. Definitions 2.2 and 2.4. https://www.wisdom.weizmann.ac.il/~naor/PAPERS/adversarial_bloom.pdf (accessed 2026-11-12) - [broom-paper] Bender et al. Bloom Filters, Adaptivity, and the Dictionary Problem. FOCS 2018. DOI: 10.1109/FOCS.2018.00026. arXiv v3, sections 2-4. https://arxiv.org/abs/1711.01616v3 (accessed 2026-11-12) - [hesela-guarantees] Hesela: fresh challenges, repeated queries and correction history. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#fresh-versus-repeated (accessed 2026-11-12) ### AdvFS syncv URL: https://hesela.dev/terms/advfs-syncv/ Related analysis: https://hesela.com/analyses/linux-atomic-writes-durability/ Also known as: syncv (AdvFS) Status: unknown Record updated: 2026-11-21 AdvFS syncv is a filesystem-specific operation that commits updates to several O_ATOMIC files as one failure-atomic bundle. Note: The FAST 2015 design uses a journal transaction to commit clone-deletion metadata. Applications must coordinate concurrent file access. It is distinct from Linux RWF_ATOMIC, syncfs and an ordinary sequence of fsync calls. Sources and caveats: - Historical interface; current availability is not established. Related terms: - [failure-atomic-msync](https://hesela.dev/terms/failure-atomic-msync/) - [rwf-atomic](https://hesela.dev/terms/rwf-atomic/) - [fsync](https://hesela.dev/terms/fsync/) - [syncfs](https://hesela.dev/terms/syncfs/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) Citations: - [advfs-fast15] Verma et al., Failure-Atomic Updates of Application Data in a Linux File System, FAST 2015, pp. 203-211, sections 3-4. https://www.usenix.org/system/files/conference/fast15/fast15-paper-verma.pdf (accessed 2026-10-20) - [hesela-atomic] Linux atomic writes: untorn does not mean durable. https://hesela.com/analyses/linux-atomic-writes-durability/#syncv-budget (accessed 2026-10-20) ### Advisory file lock URL: https://hesela.dev/terms/advisory-file-lock/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: advisory locking Status: shipping Record updated: 2026-11-14 An advisory file lock coordinates access among cooperating participants without itself preventing access that bypasses the locking protocol. Note: On local Linux filesystems, flock() locks follow open file descriptions; a replacement pathname can refer to a different file. Hesela's ordered subprocess observation acquires a second lock after target replacement while the old file remains locked. Retaining a separate coordination file preserves the tested conflict; deleting and recreating it loses that shared identity. [flock] [observation] A conflicting nonblocking shared-to-exclusive flock conversion can discard the caller's earlier protection. In Hesela's ordered local-Linux experiment, a cooperating writer changed the same file before the caller reacquired; F_SETLK and F_OFD_SETLK retained exclusion in corresponding controls. Reacquisition does not validate an earlier read. The 72 executions used one kernel, not 72 independent systems. [flock] [lock-upgrade-observation] The downloadable packet contains native C code, Python replay, raw traces, source receipts and checksums. This is not a crash, NFS/SMB or failure-rate experiment. [lock-upgrade-packet] Limitations: - A lock does not substitute for file or directory synchronization. (sources: [hesela-locks]) - NFS and SMB/CIFS can change flock interaction and enforcement; this local experiment does not test them. (sources: [flock]) - All participants must coordinate on the same stable file using compatible locking operations. (sources: [hesela-locks]) Related terms: - [open-file-description-lock](https://hesela.dev/terms/open-file-description-lock/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [unlink](https://hesela.dev/terms/unlink/) - [process-associated-record-lock](https://hesela.dev/terms/process-associated-record-lock/) - [flock](https://hesela.dev/terms/flock/) Citations: - [flock] Linux man-pages 6.19: flock(2), ownership and filesystem differences. https://man7.org/linux/man-pages/man2/flock.2.html (accessed 2026-11-09) - [observation] Hesela: local Linux lock-identity observation, source hash and limitations. https://hesela.dev/research/lock-identity/observation.json (accessed 2026-10-16) - [hesela-locks] Hesela: A lock follows the opened file, not the replacement name. https://hesela.com/analyses/atomic-rename-directory-durability/#lock-identity (accessed 2026-10-16) - [lock-upgrade-observation] Hesela: 72 ordered local-Linux lock-conversion observations, one kernel. https://hesela.dev/research/lock-upgrade/summary.json (accessed 2026-11-09) - [lock-upgrade-packet] Hesela: frozen lock-conversion code, raw observations and offline replay. https://hesela.dev/research/lock-upgrade/evidence.zip (accessed 2026-11-09) ### Aerie URL: https://hesela.dev/terms/aerie/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Status: research Record updated: 2026-11-13 Aerie is a research storage-class-memory architecture that combines direct user-space file access with a trusted service for metadata updates and coordination. Note: Aerie separates libFS, a trusted user-space file-system service and a kernel mapping/protection manager. Direct access does not authorize clients to modify shared metadata. [aerie-paper] Unshipped metadata can leave newly written data unlinked after a client crash; libfs_sync ships those updates. Write-only files use the trusted service because ordinary page permissions are insufficient. [aerie-paper] Sources and caveats: - Primary-source design synthesis, not a reproduced prototype, hardware measurement or current deployment recommendation. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [dax](https://hesela.dev/terms/dax/) - [kuco](https://hesela.dev/terms/kuco/) - [splitfs](https://hesela.dev/terms/splitfs/) Citations: - [aerie-paper] Haris Volos et al. Aerie: Flexible File-System Interfaces to Storage-Class Memory. EuroSys 2014, sections 4.2-4.3, 5.3 and 7.1. DOI: 10.1145/2592798.2592810. https://scail.cs.wisc.edu/papers/eurosys14-aerie.pdf (accessed 2026-11-13) - [hesela-direct-access] Hesela. Direct access does not transfer authority. https://hesela.com/analyses/pmem-persistence-domains-dax/#direct-access-authority (accessed 2026-11-13) ### Aeris filter URL: https://hesela.dev/terms/aeris-filter/ Also known as: Aeris Status: research Record updated: 2026-11-11 Aeris is an adaptive range-emptiness filter that extends partition fingerprints after database feedback identifies a false positive. Note: Its on-disk reverse map supplies keys for correction and selective rejuvenation during expansion. [aeris-paper] The target false-positive bound assumes a configured maximum range length; longer queries are supported without that same bound. [aeris-paper] The authors report 5.1 GB of reverse-map disk space in a WiredTiger experiment with 100 million 8-byte keys and 504-byte values. This auxiliary storage and its cache belong in the system budget; the measured overhead is workload-specific. [aeris-paper] Sources and caveats: - Primary-source synthesis only; no author implementation or performance experiment executed by Hesela. Related terms: - [adaptive-quotient-filter](https://hesela.dev/terms/adaptive-quotient-filter/) - [grafite-range-filter](https://hesela.dev/terms/grafite-range-filter/) - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) Citations: - [aeris-paper] Chesetti et al. Aeris Filter: A Strongly and Monotonically Adaptive Range Filter. PACMMOD 4(1), article 7 (2026), sections 3-5. DOI: 10.1145/3786621. https://prashantpandey.github.io/assets/pdf/uploads/sigmod26_aeris.pdf (accessed 2026-11-11) - [analysis] Hesela: Aeris and the cost of remembering corrections. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#aeris-cost (accessed 2026-11-11) ### AES-GCM-SIV URL: https://hesela.dev/terms/aes-gcm-siv/ Also known as: AEAD_AES_128_GCM_SIV, AEAD_AES_256_GCM_SIV Status: shipping Record updated: 2026-11-22 AES-GCM-SIV is an authenticated-encryption construction that limits the damage from accidental nonce reuse using a synthetic initialization vector. Note: RFC 8452 specifies 128- and 256-bit keys, a 96-bit nonce and a 128-bit tag. POLYVAL authenticates plaintext and associated data before counter-mode encryption. Message keys depend on the master key and nonce, so repeating the nonce repeats those derived keys. [rfc8452] [key-derive] With the same key, nonce and associated data, identical plaintext produces identical ciphertext. Misuse resistance does not promise unlimited reuse: the specification recommends random nonces, with security bounds depending on repetition, message count and length. [rfc8452] In the linked native-library example, altered ciphertext and a changed expected version are rejected, but an old ciphertext still decrypts with its old context. Rejecting a rolled-back version requires an independently trusted freshness policy, not merely an authenticated version field stored beside the data. [example] [rfc5116] Decryption computes candidate plaintext but must not release it until authentication succeeds. Ciphertext includes a 16-byte tag, so its length limit exceeds the plaintext limit. The example's 1 MiB payload cap is a resource limit, not a cryptographic usage bound. [rfc8452] [guide] Rejecting wrong keys in tests is not a proof of key commitment. That property resists a ciphertext valid under different keys. Nonce misuse resistance does not imply it: the 2021 result of Len et al. is untargeted and cannot precisely choose the colliding key set, not a recovery of arbitrary random secret keys. [rfc9771] [len2021] Albertini et al. describe a separate construction for two known keys. [albertini2022] Limitations: - Encryption needs two passes over the message; it cannot emit ciphertext before processing the complete plaintext. (sources: [rfc8452]) - Successful vector tests do not prove security bounds or establish a safe storage protocol. (sources: [guide]) Sources and caveats: - RFC 8452 is an Informational CFRG specification, distinct from the earlier GCM-SIV paper and AES-SIV in RFC 5297. [rfc8452] - The CCS 2017 paper supplies a concrete cryptographic analysis, not a storage-fleet experiment. Its historical performance figures are not repeated as current benchmarks. [key-derive] - The example runs established library primitives with synthetic public inputs; it is not a new cryptographic implementation or proof. [example] Related terms: - [cryptographic-nonce](https://hesela.dev/terms/cryptographic-nonce/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [key-commitment](https://hesela.dev/terms/key-commitment/) Citations: - [rfc8452] RFC 8452: AES-GCM-SIV, sections 4-6 and 9, Appendices B-C. https://www.rfc-editor.org/rfc/rfc8452.html (accessed 2026-11-21) - [key-derive] Gueron and Lindell. Better Bounds for Block Cipher Modes of Operation via Nonce-Based Key Derivation. CCS 2017, section 6. https://acmccs.github.io/papers/p1019-gueronA.pdf (accessed 2026-11-21) - [rfc5116] RFC 5116: AEAD scope and the separation of anti-replay services, section 1.2. https://www.rfc-editor.org/rfc/rfc5116.html#section-1.2 (accessed 2026-11-21) - [example] Hesela: native-library nonce, context and replay observations with public test inputs. https://hesela.dev/research/nonce-siv/observations.json (accessed 2026-11-21) - [code] Hesela: bounded AES-GCM-SIV and AES-GCM demonstration using Node/OpenSSL. https://hesela.dev/research/nonce-siv/demo.mjs (accessed 2026-11-21) - [tests] Hesela: reference-vector, corruption, context and malformed-input tests. https://hesela.dev/research/nonce-siv/demo.test.mjs (accessed 2026-11-21) - [vectors] RFC 8452 Appendix C: extracted numeric test vectors with source digest. https://hesela.dev/research/nonce-siv/vectors.json (accessed 2026-11-21) - [guide] Hesela: reproduction instructions and limits of the demonstration. https://hesela.dev/research/nonce-siv/README.txt (accessed 2026-11-21) - [rfc9771] RFC 9771: key commitment and its distinction from full commitment, section 4.3.3. https://www.rfc-editor.org/rfc/rfc9771.html#section-4.3.3 (accessed 2026-11-21) - [len2021] Len, Grubbs and Ristenpart: Partitioning Oracle Attacks, USENIX Security 2021, section 3.2. https://www.usenix.org/system/files/sec21-len.pdf (accessed 2026-11-21) - [albertini2022] Albertini et al.: How to Abuse and Fix Authenticated Encryption Without Key Commitment. USENIX Security 2022, section 3.4.1. https://www.usenix.org/system/files/sec22-albertini.pdf (accessed 2026-11-22) ### Annualized failure rate (AFR) URL: https://hesela.dev/terms/afr/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Status: shipping Record updated: 2026-12-01 Annualized failure rate (AFR) expresses observed failures relative to drive-time exposure, scaled to a year, and is not inherently a one-year failure probability. Note: For daily-presence exposure, AFR (%) = failures / drive_days * 365 * 100. Report the event definition, cohort, observation window and year-length convention. A rate can exceed 100%; a probability cannot. Under an assumed constant individual hazard lambda per year, one-year failure probability is 1 - exp(-lambda), where lambda = AFR / 100; pooled fleet AFR alone does not establish that assumption. A confidence interval for a Poisson event rate is conditional on that count model. Zero observed failures does not establish zero risk, and a binomial bound for a common fixed endpoint is a different quantity. [nist-zero-failures] [hesela-methods] Pooling uses each stratum's share of total drive-time, not equal weights or end-of-window headcounts. Different age mixes can reverse a comparison even when one cohort has higher rates in every age band. A common-weight comparison answers a different question; it does not prove a causal device effect. Hesela provides explicit synthetic counts, code and tests. [hesela-composition] A known failure with missing age is not a missing outcome. Assigning that row to an age bucket adds both one failure and one drive-day. For fixed observed counts, missing-age allocation bounds describe the range allowed by explicit information constraints, not a confidence interval. Hesela's Q4 2025 audit keeps capacity and outcomes fixed and allows unknown ages to vary; model chronology and individual histories could narrow those bounds. It does not establish causal aging or future-fleet rankings. [hesela-age-bounds] Limitations: - Failure-associated missing ages do not alone establish missing not at random (MNAR): a missing-at-random model can depend on observed outcomes. Allocation bounds do not identify the missingness mechanism. (sources: [seaman-mar]) Related terms: - [mtbf](https://hesela.dev/terms/mtbf/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [drive-day](https://hesela.dev/terms/drive-day/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [mission-critical-hdd](https://hesela.dev/terms/mission-critical-hdd/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [poisson-rate-model](https://hesela.dev/terms/poisson-rate-model/) - [binomial-proportion](https://hesela.dev/terms/binomial-proportion/) - [simpsons-paradox](https://hesela.dev/terms/simpsons-paradox/) - [direct-standardization](https://hesela.dev/terms/direct-standardization/) - [annual-replacement-rate](https://hesela.dev/terms/annual-replacement-rate/) - [rate-ratio](https://hesela.dev/terms/rate-ratio/) Citations: - [bb-exposure] Backblaze: 10 Stories From 10 Years of Drive Stats Data, sections 3-4. https://www.backblaze.com/blog/10-stories-from-10-years-of-drive-stats-data/ (accessed 2026-10-10) - [nist-exponential] NIST e-Handbook: Exponential distribution (8.1.6.1). https://www.itl.nist.gov/div898/handbook/apr/section1/apr161.htm (accessed 2026-10-10) - [hesela-methods] Hesela: AFR is a rate, not a one-year failure probability. https://hesela.com/analyses/afr-rate-not-probability/ (accessed 2026-10-10) - [nist-zero-failures] NIST e-Handbook: Constant repair rate model and zero-failure confidence bounds. https://www.itl.nist.gov/div898/handbook/apr/section4/apr451.htm (accessed 2026-10-17) - [hesela-composition] Hesela: AFR, fleet composition and common-weight comparison (synthetic example). https://hesela.com/analyses/afr-rate-not-probability/#composition (accessed 2026-10-20) - [hesela-age-bounds] Hesela: missing SMART ages and capacity-preserving finite-record bounds. https://hesela.com/analyses/backblaze-age-missing-data-audit/#allocation-bounds (accessed 2026-10-24) - [seaman-mar] Seaman et al. (2013): What Is Meant by "Missing at Random"? Statistical Science 28(2), 257-268; DOI 10.1214/13-STS415, sections 2, 5.1, 7. https://arxiv.org/abs/1306.2812v1 (accessed 2026-10-24) ### AFRAID URL: https://hesela.dev/terms/afraid/ Also known as: Frequently Redundant Array of Independent Disks Status: research Record updated: 2026-12-02 AFRAID is a research disk-array design that defers parity updates, trading temporary loss of redundancy for lower foreground write latency. Note: A nonvolatile bit marks each stripe needing parity reconstruction. Rewriting that stripe does not add another mark; rebuilding reads its data and replaces parity before clearing the mark. A write can expose older, unchanged data in the same stripe to loss. [paper] A persistent dirty mark identifies work, not missing contents. Parity logging instead retains XOR update records in fault-tolerant storage and applies outstanding records before reconstruction. [logging] An exact XOR example shows why that difference matters. [example] The 1996 evaluation combines trace-driven simulation with failure models. Its availability comparison uses mean time to data loss, not an uptime percentage; support-hardware assumptions affect the result, and external power failures are excluded. It is not a current-array reliability guarantee. [paper] Sources and caveats: - Source review plus a deterministic algebraic example, not a replication of the paper's simulator or a fault-injection experiment. Related terms: - [raid-5](https://hesela.dev/terms/raid-5/) - [parity-logging](https://hesela.dev/terms/parity-logging/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [write-intent-bitmap](https://hesela.dev/terms/write-intent-bitmap/) - [mean-time-to-data-loss](https://hesela.dev/terms/mean-time-to-data-loss/) Citations: - [paper] Savage and Wilkes. AFRAID: A Frequently Redundant Array of Independent Disks. USENIX 1996, sections 1.1, 3 and 4. https://www.usenix.org/legacy/publications/library/proceedings/sd96/full_papers/wilkes.pdf (accessed 2026-12-02) - [logging] Stodolsky, Gibson and Holland. Parity Logging. ISCA 1993, section 2 and its fault-tolerant-buffer footnote. https://www.pdl.cmu.edu/PDL-FTP/ParityLogging/ISCA93.pdf (accessed 2026-12-02) - [example] Hesela: stale parity, dirty marks and recoverable update records (worked XOR example). https://hesela.dev/research/afraid/README.md (accessed 2026-12-02) ### Aggregation temporality URL: https://hesela.dev/terms/aggregation-temporality/ Related analysis: https://hesela.com/analyses/time-series-rollups-versioned-changes/ Also known as: Metric aggregation temporality, Metric temporality Status: research Record updated: 2026-11-20 Aggregation temporality specifies whether a metric aggregate covers a new reporting interval or accumulates measurements from a fixed start time. Note: OpenTelemetry uses delta and cumulative temporality for sums and histograms, including exponential histograms; gauges have no aggregation-temporality field. Delta points describe reporting intervals, while cumulative points retain a common start until accumulation state resets. [proto] Successive cumulative snapshots already share earlier observations. Adding their counts counts those observations again. For compatible snapshots from the same uninterrupted stream, subtraction can recover interval counts and sums, but not generally its minimum or maximum. [model] Constructed example: a first report for [1, 100] ms has count 2 and sum 101 ms. Adding either [10, 20] or [14, 16] ms gives the same cumulative count 4, sum 131 ms, extrema 1/100 ms and bucket counts [3, 1] at boundary 50 ms. Subtraction gives count 2 and sum 30 ms, but the interval extrema differ. Adding both cumulative counts instead gives 6. [example] Keep stream identity, units, start/end timestamps and bucket interpretation with each point. The conservative fixture rejects resets, incompatible layouts and overlapping or noncontiguous delta windows rather than inventing missing coverage; it is not a complete OTLP receiver. Detailed reset and overlap guidance in the reviewed data model remains Development. [model] Sources and caveats: - Source synthesis and exact non-negative-integer examples. No exporter, collector, SDK or device measurement was executed. Related terms: - [opentelemetry-exponential-histogram](https://hesela.dev/terms/opentelemetry-exponential-histogram/) Citations: - [proto] OpenTelemetry Protocol metrics.proto: Sum, Histogram, ExponentialHistogram and AggregationTemporality; pinned d31f7acf. https://github.com/open-telemetry/opentelemetry-proto/blob/d31f7acf9d461fd0601077de516ac1eb7051422f/opentelemetry/proto/metrics/v1/metrics.proto (accessed 2026-11-20) - [model] OpenTelemetry Metrics Data Model: Histogram, Temporality, Resets and Gaps, Overlap; pinned a0c5323b. https://github.com/open-telemetry/opentelemetry-specification/blob/a0c5323bbc7fd2e3e309ec0e2cb4f02d87609974/specification/metrics/data-model.md (accessed 2026-11-20) - [example] Hesela: exact cumulative/delta histogram example and regression tests; no SDK execution. https://hesela.dev/research/aggregation-temporality/model.test.mjs (accessed 2026-11-20) ### AHCI URL: https://hesela.dev/terms/ahci/ Related article: https://hesela.com/tech/sata/ Also known as: Advanced Host Controller Interface Status: shipping Record updated: 2026-11-12 AHCI is a standardized register and memory-structure interface through which host software controls a SATA host bus adapter. Note: An AHCI host bus adapter can implement 1 to 32 ports, with a command-list capacity of up to 32 entries per port. These are specification limits, not the number of devices or commands available on every controller. The interface describes data movement between host memory and attached devices. [c2] The CAP.NCS field reports the implemented command-slot count minus one. CAP.SNCQ separately reports support for Native Command Queuing, which also needs a supporting device. Enabling AHCI does not make a SATA link into NVMe. [ahci-spec] Controller support for hot-plug operation must be used with suitable platform wiring, connectors and software. It does not establish that an arbitrary internal drive can safely be unplugged while powered. [ahci-spec] Port-multiplier support is optional. CAP.SPM describes that support; FIS-based switching additionally needs controller and port capability plus software enablement. [ahci-spec] Advantages: - A common host programming model reduces the need for controller-specific software interfaces. (sources: [c2]) Limitations: - Port count, queue capability and link speed describe different constraints and should not be inferred from one another. (sources: [ahci-spec]) Related terms: - [sata](https://hesela.dev/terms/sata/) - [sata-express](https://hesela.dev/terms/sata-express/) - [ide](https://hesela.dev/terms/ide/) - [pata](https://hesela.dev/terms/pata/) - [hba](https://hesela.dev/terms/hba/) - [nvme](https://hesela.dev/terms/nvme/) - [ssd](https://hesela.dev/terms/ssd/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [native-command-queuing](https://hesela.dev/terms/native-command-queuing/) - [sata-port-multiplier](https://hesela.dev/terms/sata-port-multiplier/) - [fis-based-switching](https://hesela.dev/terms/fis-based-switching/) Citations: - [c1] Advanced Host Controller Interface (Wikipedia). https://en.wikipedia.org/wiki/Advanced_Host_Controller_Interface (accessed 2026-10-10) - [c2] Serial ATA AHCI Specification, Rev. 1.3.1 (Intel). https://www.intel.com/content/www/us/en/io/serial-ata/serial-ata-ahci-spec-rev1-3-1.html (accessed 2026-10-10) - [c3] Linux drivers/ata/ahci.h (AHCI_MAX_PORTS = 32, AHCI_MAX_CMDS = 32). https://android.googlesource.com/kernel/common/+/refs/heads/android-mainline/drivers/ata/ahci.h (accessed 2026-10-10) - [ahci-spec] Intel AHCI 1.3.1, sections 3.1.1, 3.3.7, 3.3.16 and 9: capabilities and port-multiplier operation. https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1-3-1.pdf (accessed 2026-10-19) ### AIFM URL: https://hesela.dev/terms/aifm/ Also known as: Application-Integrated Far Memory Status: research Record updated: 2026-11-15 AIFM is a research runtime that uses application-aware pointers and containers to move objects between local and remote memory. Note: Mechanism: C++ interfaces expose object access patterns to a runtime using TCP-connected memory. Data structures can guide prefetching, eviction and remote computation instead of relying only on page faults. [paper] Pointer lifetime: A DerefScope fences evacuation while local data is in use. Accessing a raw pointer obtained by dereferencing outside that scope is undefined behavior; the remotable pointer can remain alive after its object moves. [paper] Prototype limits: The pinned implementation permits only one live DerefScope per thread. Remote-space garbage collection is not implemented; its exhaustion handler only prints a warning. Local-memory reclamation does exist. [readme] [manager] Deployment scope: The paper's prototype connects each compute server to one memory server, without cross-client sharing or runtime resizing. Its SSD backend has block-size amplification and cannot run the remote computations supported by the memory backend. [paper] Performance interpretation: The evaluation uses two 25 Gbit/s machines and workload-specific local-memory budgets. Local-hit overhead, remote access and end-to-end throughput are different measurements; none establishes universal local-RAM speed. [paper] Later comparison: Eden's authors identify object-access instrumentation and application changes as AIFM trade-offs. Their hybrid approach uses hints at selected code locations and hardware page faults elsewhere. This comparison concerns integration and access costs, not crash durability. [eden] Sources and caveats: - Primary-source synthesis, not an AIFM execution, performance replication or crash-recovery experiment. - The paper and pinned source describe a research prototype. Later comparisons use their own workloads and should not be pooled as one benchmark. Related terms: - [infiniswap](https://hesela.dev/terms/infiniswap/) - [carbink](https://hesela.dev/terms/carbink/) - [fastswap](https://hesela.dev/terms/fastswap/) - [eden](https://hesela.dev/terms/eden/) - [semeru](https://hesela.dev/terms/semeru/) - [dilos](https://hesela.dev/terms/dilos/) Citations: - [paper] Ruan, Schwarzkopf, Aguilera and Belay. AIFM. OSDI 2020, pp. 315-332; sections 4.2.2, 7 and 8. https://pdos.csail.mit.edu/papers/aifm:osdi20.pdf (accessed 2026-11-15) - [readme] AIFM authors: README, supported platform and known limitations, pinned revision. https://github.com/AIFM-sys/AIFM/blob/fa4f31ce827501ad52f5a5ca9249ef04ba92b467/README.md (accessed 2026-11-15) - [manager] AIFM authors: FarMemManager remote allocation and unimplemented far-memory GC, pinned revision. https://github.com/AIFM-sys/AIFM/blob/fa4f31ce827501ad52f5a5ca9249ef04ba92b467/aifm/src/manager.cpp (accessed 2026-11-15) - [eden] Yelam et al. A Developer-friendly approach to Application-integrated Far memory. USENIX ;login:, March 2025. https://www.usenix.org/publications/loginonline/developer-friendly-approach-application-integrated-far-memory (accessed 2026-11-15) ### Air-gapped backup URL: https://hesela.dev/terms/air-gap-backup/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Status: shipping Record updated: 2026-10-25 An air-gapped backup is a recovery copy kept physically disconnected from the production system and its network while isolated. Note: Isolation concerns the access path, not whether the saved state is correct. Offline copies reduce exposure to ransomware that reaches connected backups; encryption and recovery testing address different risks. [cisa] An online retention policy is not physical disconnection. Object Lock protects selected object versions under specified retention and bypass rules, while the storage service remains reachable. [lock] Operational assessment: record when media is connected, which machine can write it, who controls transport and reconnection, and how recovery obtains keys and software. A scheduled connection is an exposure period to assess, not permanent isolation. Measure retrieval and restore time for the actual setup instead of assigning every offline copy a fixed speed. [hesela-isolation] Physical custody differs from application-level isolation. A documented driveless logical library hides cartridges from backup applications and restricts retrieval to administrators with two-factor authentication. Another documented control, localSafeguarded, requires an on-site session to unassign protected cartridges. The management boundary matters: neither a simple firewall rule nor unrestricted remote reassignment describes every implementation. [ibm-library] [ibm-local] WORM restricts alteration of recorded data; encryption restricts plaintext access; offline custody restricts electronic reachability while maintained. None guarantees the others. Library-managed encryption can require an available keystore during recovery; losing its keys prevents decryption. Preserve and test those dependencies independently of the production systems being recovered. [ibm-worm] [ibm-keys] Advantages: - A disconnected copy removes the direct production-network write path during that interval. (sources: [cisa]) Limitations: - Physical isolation does not certify a malware-free recovery point. (sources: [nist]) - A retained encrypted object may be unreadable after encryption-key deletion or loss of access. (sources: [manage]) - Reconnection and recovery require controlled procedures and separate acceptance checks. (sources: [cisa], [hesela-isolation]) Sources and caveats: - The library examples describe IBM TS4300 driveless logical libraries and IBM TS4500 1.12.3 localSafeguarded behavior; protections depend on the deployed implementation and configuration. [ibm-library] [ibm-local] Related terms: - [tape](https://hesela.dev/terms/tape/) - [lto](https://hesela.dev/terms/lto/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [immutability-storage](https://hesela.dev/terms/immutability-storage/) - [worm-storage](https://hesela.dev/terms/worm-storage/) - [tape-library](https://hesela.dev/terms/tape-library/) - [tape-encryption](https://hesela.dev/terms/tape-encryption/) - [object-storage](https://hesela.dev/terms/object-storage/) - [snapshot](https://hesela.dev/terms/snapshot/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [self-securing-storage](https://hesela.dev/terms/self-securing-storage/) Citations: - [cisa] CISA et al.: #StopRansomware Guide, backup protection and recovery. https://www.cisa.gov/stopransomware/ransomware-guide (accessed 2026-10-19) - [lock] Amazon S3: Locking objects with Object Lock. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html (accessed 2026-10-19) - [manage] Amazon S3: Object Lock considerations, encryption-key dependency. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html (accessed 2026-10-19) - [nist] NIST SP 1800-11B: Data Integrity, sections 1.1-1.2. https://www.nccoe.nist.gov/publication/1800-11/VolB/index.html (accessed 2026-10-19) - [hesela-isolation] Hesela: Backup isolation and historical access. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#backup-isolation (accessed 2026-10-19) - [ibm-library] IBM TS4300: safeguarded tape and driveless logical libraries. https://www.ibm.com/docs/en/ts4300-tape-library?topic=overview-safeguarded-tape-driveless-logical-libraries (accessed 2026-10-25) - [ibm-local] IBM TS4500 1.12.3: logical-library localSafeguarded access restrictions. https://www.ibm.com/docs/en/ts4500-tape-library/1.12.3?topic=libraries-get-logical (accessed 2026-10-18) - [ibm-keys] IBM Security Guide for IBM i V6.1, pages 156-161: encrypted-tape recovery and key-manager dependencies. https://www.redbooks.ibm.com/redbooks/pdfs/sg247680.pdf (accessed 2026-10-18) - [ibm-worm] IBM z/OS 3.1: Write Once Read Many (WORM). https://www.ibm.com/docs/en/zos/3.1.0?topic=j-write-once-read-many-worm (accessed 2026-10-25) ### Algebraic signature URL: https://hesela.dev/terms/algebraic-signature/ Related article: https://hesela.com/tech/hot-warm-cold/ Also known as: linear algebraic signature Status: research Record updated: 2026-11-29 An algebraic signature is a compact finite-field fingerprint that preserves specified linear relations between data and parity. Note: For compatible field arithmetic and linear encoding, a parity fingerprint can be calculated from the data fingerprints. This lets a verifier compare compact responses instead of transferring the corresponding payloads. The primitive is not a cryptographic signature. [schwarz-miller] The basic protocol's consistency check does not establish authenticity when sites cooperate to fabricate responses. The paper treats collusion separately using secret-dependent coding and blinding; that protection is not supplied by the fingerprint alone. [schwarz-miller] The linked fixed GF(16) example maps four symbols to two. Every signature has 256 input blocks; the difference [2,3,1,0] preserves the signature. Its exhaustive counts illustrate collisions, not observed device errors or a replication of the paper's implementation. [hesela-example] The block length is part of the detection contract. In the same GF(16) construction, powers of the evaluation point 2 repeat after 15 positions. At length 16, equal nonzero changes at positions 0 and 15 preserve both signature symbols; all one- and two-symbol changes are detected for lengths up to 15. The supplement derives and enumerates this boundary. Retaining separate, ordered page signatures detects its example; XORing them together does not. These are properties of the stated model, not physical error probabilities. [hesela-example] Logical length needs a separate comparison. Appending zero symbols or removing a zero suffix leaves this polynomial unchanged. Compare observed length with trusted expected metadata for the intended object/version. The same-length collision still passes; a fingerprint does not prove logical EOF, authentication or freshness. [hesela-framing] Limitations: - Collision risk depends on the input-change model, field, signature construction and covered positions, not just the fingerprint width. (sources: [hesela-example]) Sources and caveats: - Historical research primitive with an educational finite-field calculation; no current product security guarantee or hardware experiment. Related terms: - [cold-archive](https://hesela.dev/terms/cold-archive/) - [checksum](https://hesela.dev/terms/checksum/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [pergamum](https://hesela.dev/terms/pergamum/) Citations: - [schwarz-miller] Schwarz and Miller, Store, Forget, and Check, ICDCS 2006, sections 3.1 and 4.2-4.3. https://www.ssrc.us/media/pubs/e368d255b625c27c9f49fe91ef025be645882ede.pdf (accessed 2026-10-23) - [hesela-example] Hesela: finite-field signature derivation, code and exhaustive tests. https://hesela.dev/research/algebraic-signature/README.md (accessed 2026-10-23) - [hesela-framing] Hesela: polynomial-signature length framing, executable controls and exact results. https://hesela.dev/research/algebraic-signature/framing.json (accessed 2026-11-07) ### ALICE URL: https://hesela.dev/terms/alice/ Related analysis: https://hesela.com/analyses/crash-testing-oracles-and-bounds/ Also known as: Application-Level Intelligent Crash Explorer Status: research Record updated: 2026-11-30 ALICE is a research framework that explores application crash states from execution traces and an abstract persistence model. Note: Method: A workload, initial file snapshot and application checker define the experiment. The model constrains which updates can persist together or out of order; candidate file states are constructed without replaying the actual storage stack. [alice-paper] Boundary: BOB, the companion Block Order Breaker, instead replays selected block traces through filesystem recovery while respecting barriers. Absence of a counterexample does not prove a persistence property. [alice-paper] Released artifact: The paper's implementation traced memory-mapped writes, but the distributed recorder lacks that support. The documented ignore_mmap option is for mappings irrelevant to the checked update protocol; it does not capture missing writes. [alice-docs] Parser behavior: The pinned parser requires a memory trace for a watched, shared writable mapping unless ignore_mmap is enabled. A separate mwrite path translates supplied memory-write records. Recognizing mappings or msync is not evidence that the recorder captured their stores. [alice-parser] Limitations: - Exploration is incomplete and depends on the workload, checker and chosen persistence model; a passing run is not a general correctness proof. (sources: [alice-paper]) - Public documentation warns that file attributes other than size and symlink-dependent logic can invalidate results. (sources: [alice-docs]) Sources and caveats: - Historical source synthesis with pinned public code, not an ALICE execution, power-loss experiment or current filesystem ranking. - The public code retains memory-trace parsing paths; that does not establish availability of the recorder used for the paper. [alice-parser] [alice-docs] Related terms: - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [bounded-crash-testing](https://hesela.dev/terms/bounded-crash-testing/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) Citations: - [alice-paper] Pillai et al. All File Systems Are Not Created Equal. OSDI 2014, pp. 433-448; sections 2.2 and 3.1-3.6. https://research.cs.wisc.edu/adsl/Publications/alice-osdi14.pdf (accessed 2026-11-30) - [alice-docs] ALICE documentation at commit 6afda210b96b: ignore_mmap and the released-tool limitations, chapters 2 and 4. https://github.com/madthanu/alice/blob/6afda210b96baa2b0b277505d72742420ba89b68/README.md (accessed 2026-11-30) - [alice-parser] ALICE parser at commit 6afda210b96b: mmap, msync and mwrite handling. https://github.com/madthanu/alice/blob/6afda210b96baa2b0b277505d72742420ba89b68/_aliceparsesyscalls.py#L699-L760 (accessed 2026-11-30) - [hesela] Hesela: Crash-consistency tests, the oracle is part of the result. https://hesela.com/analyses/crash-testing-oracles-and-bounds/ (accessed 2026-11-30) ### Alignment offset URL: https://hesela.dev/terms/alignment-offset/ Also known as: alignment_offset, BLKALIGNOFF Status: shipping Record updated: 2026-10-19 Alignment offset describes the byte displacement of a block device or partition start from the storage stack's natural alignment. Note: Query the path actually used. In Linux 6.12, bdev_alignment_offset incorporates a partition's start and returns -1 when the queue carries a misaligned-topology flag. This sentinel is not a byte displacement. [linux-limits] The signed blockdev --getalignoff query preserves -1. Partition sysfs in that kernel instead formats the result as unsigned and can show 4294967295; do not apply either sentinel as an ordinary offset. [blockdev-signed] [linux-partition] For compatible partition limits, Linux uses G = max(physical_block_size, minimum_io_size) and computes (G + parent_offset - (start_bytes mod G)) mod G. For G=4096, parent_offset=0 and start_bytes=1049088, the result is 3584, not 512. This is a calculated example, not a device observation. [linux-limits] Advantages: - Distinguishes a partition's start geometry from its parent's queue-size hints. (sources: [linux-abi], [lsblk]) Limitations: - A zero displacement does not establish correct buffer alignment for every I/O API. (sources: [linux-abi]) Sources and caveats: - The sentinel and partition formatting are implementation details verified in Linux v6.12 and util-linux v2.40.2, not a promise about all releases. Related terms: - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [physical-sector](https://hesela.dev/terms/physical-sector/) - [minimum-io-size](https://hesela.dev/terms/minimum-io-size/) - [optimal-io-size](https://hesela.dev/terms/optimal-io-size/) - [direct-io-alignment](https://hesela.dev/terms/direct-io-alignment/) Citations: - [linux-abi] Linux 6.12: stable sysfs block ABI, sector sizes and I/O topology. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-10-19) - [linux-limits] Linux 6.12: block limits validation and bdev_alignment_offset. https://raw.githubusercontent.com/torvalds/linux/v6.12/block/blk-settings.c (accessed 2026-10-19) - [linux-partition] Linux 6.12: partition alignment_offset_show unsigned formatting. https://raw.githubusercontent.com/torvalds/linux/v6.12/block/partitions/core.c (accessed 2026-10-19) - [blockdev-signed] util-linux 2.40.2: signed BLKALIGNOFF query formatting. https://raw.githubusercontent.com/util-linux/util-linux/v2.40.2/disk-utils/blockdev.c (accessed 2026-10-19) - [lsblk] util-linux 2.40.2: lsblk explicit columns and inherited queue attributes. https://raw.githubusercontent.com/util-linux/util-linux/v2.40.2/misc-utils/lsblk.8.adoc (accessed 2026-10-19) - [hesela-sector-alignment] Hesela: 512e, 4Kn and alignment: geometry is not durability. https://hesela.com/analyses/sector-sizes-alignment-not-durability/ (accessed 2026-10-19) ### All-flash array URL: https://hesela.dev/terms/all-flash-array/ Related article: https://hesela.com/tech/enterprise-ssd/ Status: shipping Record updated: 2026-10-31 A storage array that uses flash media for persistent data storage rather than an HDD tier. Note: An array is a system of storage devices and control software, not an individual SSD. [snia-array] An all-flash array stores data on flash media rather than an HDD tier. Host connectivity and drive-side interfaces are separate design choices: NVMe drives or flash modules do not require every host connection to use NVMe over Fabrics. A controller can support NVMe alongside other host attachment options. [c4] Capacity: Compression and deduplication can reduce the physical footprint of stored data. Thin provisioning instead defers backing allocation for unwritten logical space. Reports may combine these effects under an efficiency label, so a headline ratio must identify its numerator, denominator and included features. [ontap-capacity] [hci-capacity] Comparison: Separate raw device capacity, configured usable capacity, current used space and workload-dependent effective-capacity estimates. A quoted reduction factor is not guaranteed headroom for future writes. [snia-effective] Write path: All-flash does not exclude controller memory. The cited controller design uses cache and batteries supporting pending writes through power loss. [c4] During normal operation with both HA partners available, the documented pair's write requests are logged in both nodes' NVRAM before acknowledging them; the partner commits outstanding writes during takeover. These are product-specific mechanisms, not guarantees implied by flash media. [ontap-ha-pairs] Access: The all-flash label does not select block access, file access or both. Check the documented protocols of the specific configuration. [array-access] Advantages: - No seek or rotational latency, so random I/O performance is far less dependent on spindle count Limitations: - The all-flash label alone does not specify endurance, recovery behavior or sustained performance. (sources: [c4]) Sources and caveats: - IBM's FlashSystem 5200 guide is an architecture example, not a specification shared by every all-flash array. [c4] - Product-generation reduction averages in the earlier note are not a workload-independent capacity guarantee. - The all-flash label's limits are an engineering inference from the separation of media, interface and configured system services. - Controller-memory examples are source review, not a power-cut or failover experiment. IBM Redpaper REDP-5617 (Storage Virtualize 8.6), printed pages 27 and 43; ONTAP HA-pair behavior must not be generalized to every array. [c4] [ontap-ha-pairs] - NetApp's comparison lists ASA r2 as SAN-only and AFF with both SAN and NAS support. This is a product-family example, not a protocol requirement for all storage arrays. [array-access] Related terms: - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [san](https://hesela.dev/terms/san/) - [nvme](https://hesela.dev/terms/nvme/) - [nvme-of](https://hesela.dev/terms/nvme-of/) - [deduplication](https://hesela.dev/terms/deduplication/) - [hybrid-flash-array](https://hesela.dev/terms/hybrid-flash-array/) - [flash-module](https://hesela.dev/terms/flash-module/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [raid](https://hesela.dev/terms/raid/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) - [raw-capacity](https://hesela.dev/terms/raw-capacity/) - [usable-capacity](https://hesela.dev/terms/usable-capacity/) - [effective-capacity](https://hesela.dev/terms/effective-capacity/) - [data-reduction-ratio](https://hesela.dev/terms/data-reduction-ratio/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [data-durability](https://hesela.dev/terms/data-durability/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [nvram](https://hesela.dev/terms/nvram/) - [ontap-consistency-point](https://hesela.dev/terms/ontap-consistency-point/) - [storage-array](https://hesela.dev/terms/storage-array/) - [nas](https://hesela.dev/terms/nas/) Citations: - [c1] FlashArray//X All-Flash, NVMe Array Datasheet (Pure Storage). https://cdn2.hubspot.net/hubfs/4423734/marketing/vendor%20insights/Pure%20Storage/data%20sheets/ds-flasharray-x.pdf (accessed 2026-10-10) - [c2] What Is Data Reduction? (Everpure / Pure Storage). https://www.everpuredata.com/knowledge/what-is-data-reduction.html (accessed 2026-10-10) - [c3] NetApp All Flash FAS datasheet. https://www.netapp.com/media/19763-ds-3829.pdf (accessed 2026-10-10) - [c4] IBM Storage FlashSystem 5200 Product Guide (IBM Redbooks). https://www.redbooks.ibm.com/redpapers/pdfs/redp5617.pdf (accessed 2026-10-22) - [ontap-capacity] NetApp ONTAP: capacity reporting and measurements. https://docs.netapp.com/us-en/ontap/concepts/capacity-measurements.html (accessed 2026-10-22) - [snia-effective] SNIA Dictionary: effective capacity. https://www.snia.org/education/online-dictionary/term/effective-capacity (accessed 2026-10-22) - [hci-capacity] NetApp HCI 1.9: dashboard capacity and thin-provisioning efficiency. https://docs.netapp.com/us-en/hci19/docs/task_hcc_dashboard.html (accessed 2026-10-22) - [ontap-ha-pairs] NetApp ONTAP 9: Learn about high availability pairs. NVRAM logging, takeover and shared-nothing scope. https://docs.netapp.com/us-en/ontap/concepts/high-availability-pairs-concept.html (accessed 2026-10-27) - [snia-array] SNIA Dictionary: storage array, devices, control software and abstracted storage. https://www.snia.org/education/online-dictionary/term/storage-array (accessed 2026-10-31) - [array-access] NetApp ASA r2 documentation: differences from ASA, AFF and FAS, SAN and NAS protocol support. https://docs.netapp.com/us-en/asa-r2/learn-more/hardware-comparison.html (accessed 2026-10-31) ### Allocation bitmap URL: https://hesela.dev/terms/allocation-bitmap/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: space allocation bitmap Status: shipping Record updated: 2026-10-22 An allocation bitmap encodes the allocation state of storage units as bits. Note: The unit depends on the format: ext4 has inode and block-allocation bitmaps, but bigalloc makes each block-bitmap bit represent a cluster of multiple blocks. ExFAT uses cluster allocation bits. Ext4's uninitialized-group handling also means a raw bitmap need not be interpreted without its metadata context. [ext4-bitmap] [ext4-bigalloc] [exfat-spec] Linux v6.12's exFAT implementation searches bitmap bits for free clusters and counts set bits for used-cluster accounting. Neither operation traverses a file's ordered chain. When freeing a cluster, clearing its bit and automatically issuing discard are separate steps; this discard depends on the mount option. The separate trim operation can also issue discard. [linux-bitmap] Limitations: - A space map alone cannot identify which file owns a unit or reconstruct the order of its contents. (sources: [linux-bitmap], [linux-fat]) Related terms: - [exfat](https://hesela.dev/terms/exfat/) - [fat-cluster-chain](https://hesela.dev/terms/fat-cluster-chain/) - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [file-preallocation](https://hesela.dev/terms/file-preallocation/) - [trim](https://hesela.dev/terms/trim/) - [ext4-bigalloc](https://hesela.dev/terms/ext4-bigalloc/) Citations: - [ext4-bitmap] Linux kernel documentation: ext4 block and inode bitmaps. https://docs.kernel.org/filesystems/ext4/bitmaps.html (accessed 2026-10-20) - [linux-bitmap] Linux v6.12: exFAT allocation bitmap operations, fs/exfat/balloc.c. https://github.com/torvalds/linux/blob/v6.12/fs/exfat/balloc.c (accessed 2026-10-20) - [linux-fat] Linux v6.12: exFAT chain traversal and allocation, fs/exfat/fatent.c. https://github.com/torvalds/linux/blob/v6.12/fs/exfat/fatent.c (accessed 2026-10-20) - [exfat-spec] Microsoft exFAT specification: sections 3.1.10, 6.3.4.2, 7.1 and 7.6. https://learn.microsoft.com/en-us/windows/win32/fileio/exfat-specification (accessed 2026-10-20) - [ext4-bigalloc] Linux kernel documentation: ext4 bigalloc and clustered allocation. https://docs.kernel.org/filesystems/ext4/bigalloc.html (accessed 2026-10-20) ### Filesystem allocation unit URL: https://hesela.dev/terms/allocation-unit/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: allocation unit, allocation cluster, filesystem cluster Status: shipping Record updated: 2026-11-02 A filesystem allocation unit is a granularity at which a filesystem allocator reserves storage space, with the unit and rules depending on the format. Note: In exFAT, a cluster consists of one or more consecutive volume sectors; its byte size follows from the sector-size and sectors-per-cluster fields. Allocation state is tracked per cluster. [exfat-geometry] An allocation unit need not equal a filesystem block. Ext4 bigalloc allocates clusters containing multiple blocks, without changing the block-addressed layout. A larger cluster makes allocation coarser, not the drive's logical sectors larger. [ext4-bigalloc] Allocation can also be finer than a block. FreeBSD newfs exposes separate block and fragment sizes for UFS1/UFS2, permitting power-of-two fragment sizes from one eighth of a block up to a whole block. A cluster is not a universal name for the smallest allocation unit. [freebsd-newfs] Allocation granularity alone does not determine a file's total storage cost: ext4 inline data can live inside an inode without a separate data block. Likewise, a volume's logical cluster number is not a guaranteed physical HDD-sector location. [ext4-inline] [windows-clusters] In the historical Berkeley FFS design, extending a fragment-backed tail can allocate new space and copy the existing tail. Repeated small extensions can repeat that work. Final allocation size alone does not reveal this copying history; this is not a NAND write-amplification measurement. [ffs1984] Filesystem geometry and reporting units are distinct. For statvfs, f_blocks, f_bfree and f_bavail are counted in f_frsize units; the API does not guarantee meaningful values for every field on every filesystem. This is a filesystem report, not a per-file allocation map. [linux-statvfs] Limitations: - A cluster size is not by itself an atomic-write or durability guarantee. (sources: [exfat-geometry], [ext4-bigalloc]) Sources and caveats: - Filesystem-level definition synthesized from ext4, exFAT and FreeBSD documentation; no universal file-allocation formula or device performance result is claimed. - The atomicity and durability limitation is an engineering inference: allocation geometry alone specifies no completion or persistence contract. Related terms: - [filesystem-block](https://hesela.dev/terms/filesystem-block/) - [ext4-bigalloc](https://hesela.dev/terms/ext4-bigalloc/) - [exfat](https://hesela.dev/terms/exfat/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [physical-sector](https://hesela.dev/terms/physical-sector/) - [allocation-bitmap](https://hesela.dev/terms/allocation-bitmap/) - [file-extent](https://hesela.dev/terms/file-extent/) - [statvfs](https://hesela.dev/terms/statvfs/) Citations: - [exfat-geometry] Microsoft exFAT specification: sections 3.1.14, 3.1.15, 5.1 and 7.1.5. https://learn.microsoft.com/en-us/windows/win32/fileio/exfat-specification (accessed 2026-11-01) - [ext4-bigalloc] Linux kernel documentation: ext4 clustered allocation. https://docs.kernel.org/filesystems/ext4/bigalloc.html (accessed 2026-11-01) - [ext4-inline] Linux kernel documentation: ext4 inline data. https://docs.kernel.org/filesystems/ext4/inlinedata.html (accessed 2026-11-01) - [windows-clusters] Microsoft: clusters and extents, VCN/LCN and physical-mapping limits. https://learn.microsoft.com/en-us/windows/win32/fileio/clusters-and-extents (accessed 2026-11-01) - [freebsd-newfs] FreeBSD newfs(8): separate block-size and fragment-size parameters. https://man.freebsd.org/cgi/man.cgi?query=newfs&sektion=8&format=html (accessed 2026-11-01) - [ffs1984] McKusick, Joy, Leffler and Fabry. A Fast File System for UNIX. ACM TOCS 2(3), 1984, section 3.1, pp. 186-187. https://cs162.org/static/readings/FFS84.pdf (accessed 2026-11-01) - [linux-statvfs] Linux man-pages: statvfs(3), block-counter units and field-availability limits. https://man7.org/linux/man-pages/man3/statvfs.3.html (accessed 2026-11-01) ### Alternate-sector remapping URL: https://hesela.dev/terms/alternate-sector-remapping/ Related analysis: https://hesela.com/analyses/sector-sizes-alignment-not-durability/ Also known as: HDD sector remapping, Sector reassignment Status: unknown Record updated: 2026-11-14 Alternate-sector remapping redirects a logical block from its original physical sector to a reserved replacement location. Note: The host address can remain unchanged while its physical backing changes. In the cited SCSI manual Rev. J, REASSIGN BLOCKS replaces the backing of listed LBAs but does not preserve their contents; the manual recommends recovering those bytes first, then writing them back. This statement is revision-specific, not a rule for every automatic reallocation path. [seagate-reassign-j] Failure boundary: in the same revision, a spare shortage ends the command with CHECK CONDITION and may leave only part of the list reassigned. The first unprocessed LBA is reported when known; FFFFFFFFh can mean that this information is unavailable or that every listed defect was reassigned. The sentinel alone therefore proves neither completion nor rollback. [seagate-reassign-j] Limitations: - Changing the mapping does not itself reconstruct unreadable data; the cited command explicitly separates reassignment from restoring the affected contents. (sources: [seagate-reassign-j]) - A remapping count alone does not determine access latency; the 1994 model needed layout and rotational-position information and omitted individual spared-sector effects. (sources: [ruemmler-layout]) Sources and caveats: - Source review, not a destructive command recipe or device experiment. Spare placement, trigger policy and latency are implementation-dependent. Related terms: - [sector-slipping](https://hesela.dev/terms/sector-slipping/) - [logical-block-address](https://hesela.dev/terms/logical-block-address/) - [scsi-defect-list](https://hesela.dev/terms/scsi-defect-list/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [pending-sector](https://hesela.dev/terms/pending-sector/) Citations: - [seagate-reassign-j] Seagate SCSI Interface Product Manual, 77738479 Rev. J (April 1999), section 5.27, pp. 176-177. https://www.seagate.com/support/disc/manuals/scsi/38479j.pdf (accessed 2026-11-10) - [ruemmler-layout] Ruemmler and Wilkes, An introduction to disk drive modeling (1994), Data layout and Conclusions, author PDF pp. 5 and 15. https://john.e-wilkes.com/papers/IEEEComputer.DiskModel.pdf (accessed 2026-11-10) ### Alternating mirroring URL: https://hesela.dev/terms/alternating-mirroring/ Also known as: Alternate mirroring, Disk mirroring with alternating deferred updates Status: research Record updated: 2026-12-04 Alternating mirroring schedules buffered write batches on paired disks out of phase, leaving a replica available for reads when the write intervals do not overlap. Note: Mechanism: updates accumulate in memory and are sorted for batched installation. The 1993 design offsets the two disks by half a cycle. Batches shorter than half the cycle leave at least one disk in read mode; overlapping batches delay reads or require interrupting writes. [vldb93] Durability: the design assumes write-ahead logging, or reliable nonvolatile memory for other applications. Scheduling alone does not make buffered updates durable. Its recovery procedure uses a survivor and two spare disks, rather than ordinary one-spare rebuilding. [vldb93] Evidence: evaluation combines analytical modeling, Monte Carlo calculations and simulation with historical HDD parameters. Benefits target random-access workloads and depend on memory, batch size and read demand; they are not contemporary drive measurements. [vldb93] Worked example: in a synthetic 10-second cycle, 6- and 4-second batches offset by 5 seconds overlap for 1 second. Moving the offset to 6 seconds removes that overlap. The executable interval model measures scheduling occupancy, without estimating latency or durability. [example] Sources and caveats: - Historical scheduling design; no implementation adoption or modern benchmark is asserted. - The linked example is a deterministic scheduling illustration, not a reproduction of the paper's simulator. Related terms: - [mirroring](https://hesela.dev/terms/mirroring/) - [doubly-distorted-mirrors](https://hesela.dev/terms/doubly-distorted-mirrors/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) Citations: - [vldb93] Polyzois, Bhide and Dias. Disk Mirroring with Alternating Deferred Updates. VLDB 1993, pp. 604-617, sections 2-5. https://www.vldb.org/conf/1993/P604.PDF (accessed 2026-12-04) - [example] Hesela: periodic write-window overlap, synthetic examples and exhaustive checks. https://hesela.dev/research/alternating-mirroring/README.md (accessed 2026-12-04) ### ALUA URL: https://hesela.dev/terms/alua/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: Asymmetric Logical Unit Access Status: shipping Record updated: 2026-11-14 Asymmetric Logical Unit Access is the SCSI mechanism for reporting logical-unit access states through target port groups. Note: REPORT TARGET PORT GROUPS describes access to a logical unit through target port groups. Active/optimized and active/non-optimized are states, not latency measurements. Linux v6.12 stores the current state, preferred (PREF) flag and supported-state mask separately. [linux-alua-v612] Topology: A local-active configuration can mark owning-node paths optimized and partner paths non-optimized. An active-active configuration can expose optimized paths through both nodes of an HA pair. An extra controller hop is not a universal property of ALUA. [ontap-path-topology] Transitions: Implicit transitions occur without a SET TARGET PORT GROUPS request; explicit transitions use that command when supported. After issuing that command, Linux v6.12 requests another REPORT TARGET PORT GROUPS evaluation. Re-observation is distinct from merely requesting a change. [linux-alua-v612] Host policy: The documented multibus setting combines differently prioritized paths into one group. The example priorities 50 and 10 are host values, not SCSI access-state codes. [c3] Protocol: NVMe uses the separate ANA mechanism. Linux native NVMe multipath prefers an available optimized path before applying its path-selection policy. [c4] Advantages: - Target-side information helps multipath software adapt routing when controller access changes. (sources: [linux-alua-v612]) Limitations: - An optimized route does not establish exclusive application-writer ownership. (sources: [linux-alua-v612]) - Transport faults, host recovery policy and array configuration still affect service restoration. (sources: [linux-alua-v612], [ontap-path-topology]) Sources and caveats: - Source synthesis, not an array failover experiment. Linux v6.12 lines 658-670 separate state, PREF and support; alua_stpg lines 742-787 checks explicit support and requests state re-evaluation. [linux-alua-v612] - NetApp configuration support varies with platform, release and protocol; the local-active and active-active examples do not define all ALUA implementations. [ontap-path-topology] - Red Hat's diagnostic example concerns RHEL 7 device-mapper-multipath; its priorities are not standardized wire values. [c3] - Writer-ownership and latency limits are engineering inferences from the scope of access-state reporting, not measured performance results. Related terms: - [multipath-io](https://hesela.dev/terms/multipath-io/) - [san](https://hesela.dev/terms/san/) - [iscsi](https://hesela.dev/terms/iscsi/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [scsi](https://hesela.dev/terms/scsi/) - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) - [nvme-of](https://hesela.dev/terms/nvme-of/) - [fcoe](https://hesela.dev/terms/fcoe/) - [dual-port](https://hesela.dev/terms/dual-port/) - [asymmetric-namespace-access](https://hesela.dev/terms/asymmetric-namespace-access/) - [io-fencing](https://hesela.dev/terms/io-fencing/) Citations: - [c1] Linux SCSI Target - Asymmetric Logical Unit Assignment. https://linux-iscsi.org/wiki/alua (accessed 2026-10-10) - [c2] Why are there Active/Optimized and Active/Unoptimized paths on Windows Server LUNs? (NetApp KB). https://kb.netapp.com/on-prem/ontap/da/SAN/SAN-KBs/Why_are_there_Active_Optimized_and_Active_Unoptimized_on_Windows_Server_LUNs (accessed 2026-10-10) - [c3] How to setup preferred path with multipath (Red Hat Customer Portal). https://access.redhat.com/solutions/2139931 (accessed 2026-10-10) - [c4] Linux NVMe multipath (Linux kernel documentation). https://docs.kernel.org/admin-guide/nvme-multipath.html (accessed 2026-10-10) - [linux-alua-v612] Linux v6.12: scsi_dh_alua.c, alua_rtpg and alua_stpg state handling. https://github.com/torvalds/linux/blob/v6.12/drivers/scsi/device_handler/scsi_dh_alua.c (accessed 2026-11-14) - [ontap-path-topology] NetApp ONTAP: SAN multipathing configurations and automatic LIF failover. https://docs.netapp.com/us-en/ontap/san-admin/multipath-automatic-lif-failover-support.html (accessed 2026-11-14) ### AMP buffer caching URL: https://hesela.dev/terms/amp-buffer-caching/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: Adaptive Multi-Policy caching, Program-context-specific buffer caching Status: research Record updated: 2026-11-21 AMP is a research buffer-caching framework that selects replacement policies and adapts cache partitions using the program contexts issuing I/O. Note: Requests are grouped by call-stack context, rather than only by file or process. Detected looping contexts use MRU partitions; the design discusses ARC as the default and adapts partition sizes using randomized competition. Repeated accesses alone do not distinguish looping from temporal clustering. [paper] The reference-recency score uses the previous occurrence's position p in the oldest-to-newest list of distinct previously seen blocks: p/(n-1). First occurrences are excluded; a repeated block with n=1 receives 0.5. The reported loop threshold is 0.4, not a universal workload boundary. [report] Hesela's synthetic examples [1,2,3,1,2,3] and [1,1,2,2,3,3] have identical lengths, per-block counts and three repeat observations. Their mean scores are 0 and 5/6 respectively. With no repeat observations the mean is undefined, not zero. These calculations distinguish order from frequency; they are not cache hit rates or measured speedups. [model] The Linux 2.6.8.1 implementation retains a CLOCK-like default partition, so the design's ARC discussion must not be silently substituted for the kernel baseline. The evaluation's PCC* comparator combines PCC detection with AMP cache management, rather than reproducing the complete PCC system. [report] Limitations: - The educational calculation omits context collection, sampling, partition competition and actual I/O; it does not replicate AMP's kernel prototype. (sources: [model], [report]) Sources and caveats: - Primary-source synthesis and a transparent arithmetic illustration, not a modern storage benchmark or independent replication of reported performance. - Historical implementation and comparison qualifications are taken from the full technical report, not inferred from the abstract. [report] Related terms: - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [locality-of-reference](https://hesela.dev/terms/locality-of-reference/) - [program-counter-based-classification](https://hesela.dev/terms/program-counter-based-classification/) Citations: - [paper] Zhou, von Behren and Brewer. AMP: Program Context Specific Buffer Caching. USENIX ATC 2005, sections 1-3. https://static.usenix.org/events/usenix05/tech/general/full_papers/short_papers/zhou/zhou_html/index.html (accessed 2026-11-21) - [report] Zhou, von Behren and Brewer. Program Context Specific Buffer Caching with AMP. UCB/CSD-05-1379, April 2005, sections 3.1, 3.3 and 4.2. https://www2.eecs.berkeley.edu/Pubs/TechRpts/2005/Archive/CSD-05-1379.pdf (accessed 2026-11-21) - [model] Hesela. Bounded reference-recency calculation for synthetic integer block traces. https://hesela.dev/research/amp-context/model.mjs (accessed 2026-11-21) - [tests] Hesela. Reference-recency boundary cases and independent last-occurrence oracle. https://hesela.dev/research/amp-context/model.test.mjs (accessed 2026-11-21) ### ANA group URL: https://hesela.dev/terms/ana-group/ Also known as: Asymmetric Namespace Access group Status: shipping Record updated: 2026-10-22 An ANA group is a set of NVMe namespaces whose ANA access states change together for a given controller. Note: ANAGRPID identifies the group and must be unique within an NVM subsystem. A valid identifier is non-zero and not greater than ANAGRPMAX, and NANAGRPID reports how many groups a controller supports. Both fields are 0h when ANA reporting is not supported. [base23] Namespaces in one group change ANA state only together and must belong to the same domain. A group may contain zero or more namespaces, NVM Sets or Endurance Groups, and how namespaces are assigned to groups is outside the specification. Unless the ANAGIDCS capability bit is set, a namespace's group identifier can change while it is attached, and the controller then issues an ANA change notice. [base23] Hosts read group state from log page 0Ch. Each descriptor has a 32-bit group identifier, a 32-bit NSID count, a 64-bit change count and a 4-bit state, followed by 4-byte NSIDs, and descriptors are returned in ascending identifier order. The state codes are 01h optimized, 02h non-optimized, 03h inaccessible, 04h persistent loss and 0Fh change. An open-source host library declares the same 32-byte header. [base23] [libnvme-types] The same group can have different ANA states through different controllers, and a controller returns a descriptor only for groups with namespaces attached to it. A group is not a physical path or an independent failure domain. [base23] Advantages: - A single descriptor reports the state of every member namespace, so a host need not query each namespace separately. (sources: [base23]) Limitations: - A change count of 0h means the controller does not report one, so the host must compare descriptor contents to detect changes. (sources: [base23]) Sources and caveats: - base23 was reread on the access date in sections 5.2.12.1.13 and 8.1.1.2 and in Figures 228 and 328. - libnvme-types is the types header of the open-source host library at tag v1.13, read for the ANA log page and group descriptor structures and the state values. - 0Ch, the field widths and the state codes come from base23. The 32-byte header follows from the field sizes in both sources. Related terms: - [asymmetric-namespace-access](https://hesela.dev/terms/asymmetric-namespace-access/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme-multipath-io-policy](https://hesela.dev/terms/nvme-multipath-io-policy/) Citations: - [base23] NVM Express Base Specification 2.3 (1 August 2025), sections 5.2.12.1.13 and 8.1.1: Asymmetric Namespace Access. Pinned edition, not the latest revision. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-22) - [hesela-paths] Hesela: NVMe multipath: ANA access states and Linux path policies. https://hesela.com/analyses/nvme-multipath-ana-path-selection/ (accessed 2026-10-15) - [libnvme-types] libnvme v1.13: ANA log page and ANA group descriptor definitions. https://raw.githubusercontent.com/linux-nvme/libnvme/v1.13/src/nvme/types.h (accessed 2026-10-22) ### Ananke URL: https://hesela.dev/terms/ananke/ Also known as: Ananke filesystem recovery Status: research Record updated: 2026-11-30 Ananke is a research filesystem service that combines a protected in-memory operation log with durable recovery state to resume applications after a server-process crash. Note: Restarting the server and replaying its disk journal can lose acknowledged buffered writes and open-file state. Ananke's Act-Ignore-Modify algorithm replays only the effects still missing, including restoring a file offset without rewriting already-persisted data. [ananke25] The host OS survives this process-crash model. A replicated, checksummed p-log and rescued pages bridge the gap to durable state; they do not replace power-loss recovery. Recovery assumes correct logging, a working rescue path and transient faults that do not recur during replay. [ananke25] Table 2 separates restart, metadata and file-data outcomes. Of 18,100 memory-corruption injections, 3,373 manifested as errors. All 3,373 restarted with correct metadata, but four stack and five heap cases failed to recover file data correctly because page rescue was interrupted. These selected cases are not a field failure rate. [ananke25] Sources and caveats: - Source synthesis of FAST 2025 sections 2-5, including Table 2; not a prototype execution or fault-injection replication. - The prototype does not protect application data pages or specifically handle shared message-ring corruption. [ananke25] Related terms: - [membrane](https://hesela.dev/terms/membrane/) - [crash-recovery](https://hesela.dev/terms/crash-recovery/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) Citations: - [ananke25] Liu, Dai, A. C. Arpaci-Dusseau and R. H. Arpaci-Dusseau. Fast, Transparent Filesystem Microkernel Recovery with Ananke. FAST 2025, pp. 1-18. https://www.usenix.org/system/files/fast25-liu-jing.pdf (accessed 2026-11-30) - [hesela-oracles] Hesela. Crash-consistency tests: the oracle is part of the result. https://hesela.com/analyses/crash-testing-oracles-and-bounds/ (accessed 2026-11-30) ### Annual replacement rate URL: https://hesela.dev/terms/annual-replacement-rate/ Also known as: ARR Status: shipping Record updated: 2026-11-18 Annual replacement rate (ARR) counts recorded device replacements relative to device exposure, scaled to one year. Note: For exposure E in drive-years and R recorded replacements, 100 R/E gives replacements per 100 drive-years, usually stated as a percentage per year. Exposure has to be summed over time, because an end-of-period headcount misstates E when drives enter or leave the population. A replacement in a log does not certify that the device was defective, which is why the rate is named after replacements rather than failures. [schroeder-arr] A field study of about 100,000 drives compared ARR with datasheet MTTF values of 1,000,000 to 1,500,000 hours, which imply an annual rate of at most 0.88%, and found field rates typically above 1%, with 2-4% common and up to 13% on some systems. [schroeder-arr] Another study of more than 100,000 drives defined a failure as replacement during a repair procedure, excluding upgrades, and reported annualized rates from 1.7% in the first year to over 8.6% at three years of age. [pinheiro2007] Advantages: - Counting replacements relies on records that operators already keep and needs no failure-analysis verdict for each device. (sources: [schroeder-arr]) Limitations: - Customers and vendors use different definitions of a faulty drive, and one vendor reported finding no problem in 43% of returned disks. (sources: [schroeder-arr]) - Sites set their own test thresholds before declaring a drive faulty, so rates from different operators are not directly comparable. (sources: [schroeder-arr]) - A single annual figure hides age effects such as elevated replacement in the first months of service. (sources: [pinheiro2007]) Sources and caveats: - schroeder-arr is the FAST 2007 field study, re-read in its PDF version for the ARR naming, the replacement-log caveats and the comparison with datasheet MTTF. - pinheiro2007 is the FAST 2007 study of a large drive population, read for its replacement-based failure definition and the age-group rates. - The afr entry links here because the two rates share the exposure arithmetic but count different events. Related terms: - [afr](https://hesela.dev/terms/afr/) - [drive-day](https://hesela.dev/terms/drive-day/) - [interarrival-time](https://hesela.dev/terms/interarrival-time/) - [mtbf](https://hesela.dev/terms/mtbf/) - [bathtub-curve](https://hesela.dev/terms/bathtub-curve/) Citations: - [schroeder-arr] Schroeder and Gibson, FAST 2007: Disk failures in the real world, sections 2.1-2.3. https://static.usenix.org/events/fast07/tech/schroeder/schroeder_html/index.html (accessed 2026-10-23) - [hesela-measurement-clocks] Hesela: Disk replacement rates are not disk lifetimes. https://hesela.com/analyses/mttf-vs-field-replacement-rates/ (accessed 2026-10-12) - [pinheiro2007] Pinheiro, Weber and Barroso. Failure Trends in a Large Disk Drive Population. USENIX FAST 2007, sections 2-3. https://static.googleusercontent.com/media/research.google.com/en//archive/disk_failures.pdf (accessed 2026-10-23) ### Annual sector error rate URL: https://hesela.dev/terms/annual-sector-error-rate/ Also known as: ASER Status: research Record updated: 2026-11-29 Annual sector error rate (ASER) normalizes the mean count of latent sector errors per drive in a one-year window by the number of sectors per drive. Note: Denominator: ASER = E[X(t) - X(t - 12)] / S, with t in months and S sectors per drive; zero-error drives remain in the cohort mean [lse2007]. A constructed example has 100 errors across 1,000 drives, each with 1,000,000 sectors for one year: ASER is 0.0000001 whether one drive or 100 drives contain those errors. The affected-drive fractions are instead 0.1% and 10% [worksheet]. Do not convert capacity-normalized ASER to errors per bit read by multiplying the sector capacity by eight. Read exposure and error-counting conventions are different inputs. An ECC comparison, for example, defines UBER through codeword failure rate divided by codeword length [cai2017]. The paper's headline affected-drive fraction is not ASER. Its displayed count, population and percentage are internally inconsistent; retain the attributed values and unresolved status instead of substituting a recomputed quotient into this metric. [reported-count-audit] Sources and caveats: - Figure 2 uses a cohort observed for 24 months, reporting its first and second years separately [lse2007]. - The example is arithmetic on invented complete annual counts, not a fleet estimate or a replication of the private traces [worksheet]. Related terms: - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [uncorrectable-bit-error-rate](https://hesela.dev/terms/uncorrectable-bit-error-rate/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [afr](https://hesela.dev/terms/afr/) Citations: - [lse2007] Bairavasundaram et al. An Analysis of Latent Sector Errors in Disk Drives. SIGMETRICS 2007, section 5.3.1 and Figure 2. https://research.cs.wisc.edu/adsl/Publications/latent-sigmetrics07.pdf (accessed 2026-11-06) - [cai2017] Cai et al. Error Characterization, Mitigation, and Recovery in Flash Memory Based Solid-State Drives (2017), section VI.C. https://research.ece.cmu.edu/safari/pubs/1706.08642.pdf (accessed 2026-11-06) - [worksheet] Hesela: ASER denominator examples with complete synthetic one-year cohorts. https://hesela.com/analyses/scrubbing-detection-not-durability/#aser-denominators (accessed 2026-11-06) - [reported-count-audit] Hesela: published LSE counts, exact arithmetic, rounding sensitivity and tests. https://hesela.dev/research/lse-reported-counts/README.md (accessed 2026-11-29) ### Antfarm URL: https://hesela.dev/terms/antfarm/ Status: research Record updated: 2026-12-02 Antfarm is a research system that infers guest address-space activity for process-aware services such as virtual-machine disk scheduling. Note: On x86, page-directory addresses identify address spaces and CR3 changes expose switches; on SPARC, the design uses context IDs. These are not operating-system PIDs. [atc2006] Identity errors differ by platform: Linux 2.6 exec can split one process into two inferred lifetimes; SPARC context demaps can resemble exits without destroying an address space. [atc2006] The scheduling prototype assigns reads to the guest's currently active context. Guest-side queueing can postpone submission until another process runs, so accurate context tracking does not guarantee correct read ownership. [atc2006] Anticipatory scheduling waits briefly for a demand request from a recently served process. Useful per-process locality and inter-request timing histories therefore depend on how requests are attributed. [iyer2001] Limitations: - SPARC context-ID recycling limits tracking; hardware-assisted translation can change observation overhead. (sources: [atc2006]) Sources and caveats: - Historical Xen 2.0.6 and Simics prototypes, not a current hypervisor compatibility claim. [atc2006] - Primary-source synthesis only; no virtual-machine experiment or paper replication was performed. Related terms: - [anticipatory-scheduling](https://hesela.dev/terms/anticipatory-scheduling/) - [geiger](https://hesela.dev/terms/geiger/) Citations: - [atc2006] Jones, Arpaci-Dusseau and Arpaci-Dusseau. Antfarm: Tracking Processes in a Virtual Machine Environment. USENIX ATC 2006, sections 4, 6 and 7. https://www.usenix.org/legacy/events/usenix06/tech/full_papers/jones/jones_html/index.html (accessed 2026-12-02) - [iyer2001] Iyer and Druschel. Anticipatory scheduling: A disk scheduling framework to overcome deceptive idleness in synchronous I/O. SOSP 2001. https://www.sosp.org/2001/papers/iyer.pdf (accessed 2026-12-02) ### Anti-entropy repair URL: https://hesela.dev/terms/anti-entropy-repair/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Also known as: Replica anti-entropy Status: shipping Record updated: 2026-11-03 Anti-entropy repair compares replica state over a selected scope and synchronizes differences to reduce divergence. Note: Cassandra 5.0.0 compares common token ranges using Merkle trees and transfers differing data. Incremental repair skips data already marked repaired; full repair revisits the selected scope. [repair] Dynamo's SOSP 2007 design highlights a maintenance cost. Changing key-range boundaries required rebuilding Merkle trees. Its later fixed partitions decoupled boundaries from placement, allowing partition files to move as units. This historical design lesson concerns preparation cost, not a measured cost for current Cassandra. [dynamo2007] Agreement among current replicas does not certify a later archive import. If all deletion markers have been purged, the one-cell model's complete reconciliation propagates an imported old value rather than reconstructing the forgotten delete. One surviving marker protects the reconciled state, not necessarily the importing replica beforehand. This is not a Cassandra run; the example deliberately assumes ideal complete reconciliation. [restore-repair] [restore-cells] [restore-evidence] Limitations: - One completed job need not cover the whole cluster, and incremental repair is not a complete later-corruption check. (sources: [repair]) Sources and caveats: - 2026-11-03: source synthesis and fixed single-cell model for future-import scope; no native Cassandra experiment or independent peer review. Related terms: - [read-repair](https://hesela.dev/terms/read-repair/) - [hinted-handoff](https://hesela.dev/terms/hinted-handoff/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [lsm-tombstone](https://hesela.dev/terms/lsm-tombstone/) - [set-reconciliation](https://hesela.dev/terms/set-reconciliation/) Citations: - [repair] Apache Cassandra 5.0.0: Repair. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/managing/operating/repair.adoc (accessed 2026-10-13) - [hesela-repair] Replica repair: what has actually converged? https://hesela.com/analyses/replica-repair-coverage/ (accessed 2026-10-13) - [dynamo2007] DeCandia et al. Dynamo: Amazon's Highly Available Key-value Store. SOSP 2007, sections 4.7 and 6.2. https://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf (accessed 2026-10-18) - [restore-repair] Apache Cassandra 5.0.0. Repair: current replica scope. https://github.com/apache/cassandra/blob/186272edca920c757b91bf95c2392bafa1a38d72/doc/modules/cassandra/pages/managing/operating/repair.adoc (accessed 2026-11-03) - [restore-cells] Apache Cassandra 5.0.0. Cells: regular-cell timestamp reconciliation. https://github.com/apache/cassandra/blob/186272edca920c757b91bf95c2392bafa1a38d72/src/java/org/apache/cassandra/db/rows/Cells.java (accessed 2026-11-03) - [restore-evidence] Hesela: archive-import teaching model, source receipts and reproduction. https://hesela.dev/research/tombstone-restore-closure/README.md (accessed 2026-11-03) ### Anticipatory scheduling URL: https://hesela.dev/terms/anticipatory-scheduling/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: anticipatory disk scheduling Status: research Record updated: 2026-12-02 Anticipatory scheduling briefly delays dispatch to wait for another request from a process whose I/O queue has just become empty. Note: A synchronous reader may need a short computation after completion before submitting its next read. Immediately serving another process can force an avoidable head seek, even with pending work elsewhere. This temporary absence of the desired request is deceptive idleness. [iyer2001] Unlike prefetching, anticipation waits for a demand request instead of guessing and issuing its read. The original framework wraps a scheduling policy with adaptive waiting heuristics; seek reduction and proportional service need different criteria. [iyer2001] Linux 6.16 BFQ retains idling for selected synchronous queues. On flash with internal command queueing, it may sacrifice throughput for latency or fairness. With strict_guarantees disabled, writing slice_idle=0 disables idling; it is not a universal performance fix. [bfq616] [bfq-source] A zero slice_idle readback alone does not prove disabled idling. A sub-millisecond slice_idle_us value truncates to zero milliseconds, and strict mode takes precedence over the zero-interval check. Inspect both tunables and strict_guarantees. [bfq-source] FIOS applies anticipation to flash fairness rather than seek reduction. It can delay an epoch switch while a task has unused timeslice, or delay a write while waiting for a reader. Its waiting budget follows a configured idle-time fraction, and the waiting cost is charged to the anticipating task. [fios2012] Antfarm explores process-aware anticipation across guests; inferred process identity and read attribution have separate limitations. [antfarm2006] Limitations: - Waiting consumes device time when the expected request does not arrive soon enough. (sources: [iyer2001]) Sources and caveats: - The 2001 experiments used FreeBSD 4.3 and rotating disks; their gains are not predictions for present-day SSDs. [iyer2001] - This entry describes a research framework and its scheduling principle, not an available scheduler name in every current kernel. - Primary-source synthesis only; no hardware benchmark or paper replication was performed. Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [bfq](https://hesela.dev/terms/bfq/) - [readahead](https://hesela.dev/terms/readahead/) - [work-conserving-scheduler](https://hesela.dev/terms/work-conserving-scheduler/) - [flashfq](https://hesela.dev/terms/flashfq/) - [fios](https://hesela.dev/terms/fios/) - [antfarm](https://hesela.dev/terms/antfarm/) Citations: - [fios2012] Park and Shen. FIOS: A Fair, Efficient Flash I/O Scheduler. FAST 2012, section 4.4. https://www.cs.rochester.edu/u/kshen/papers/fast2012.pdf (accessed 2026-11-08) - [iyer2001] Iyer and Druschel. Anticipatory scheduling: A disk scheduling framework to overcome deceptive idleness in synchronous I/O. SOSP 2001, sections 2-5. https://www.sosp.org/2001/papers/iyer.pdf (accessed 2026-11-08) - [bfq616] Linux 6.16: BFQ, device idling, slice_idle and strict_guarantees. https://docs.kernel.org/6.16/block/bfq-iosched.html (accessed 2026-11-08) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-11-08) - [bfq-source] Linux v6.16: bfq-iosched.c, bfq_better_to_idle and slice_idle show/store functions. https://github.com/torvalds/linux/blob/v6.16/block/bfq-iosched.c (accessed 2026-12-02) - [antfarm2006] Jones, Arpaci-Dusseau and Arpaci-Dusseau. Antfarm: Tracking Processes in a Virtual Machine Environment. USENIX ATC 2006, sections 4, 6 and 7. https://www.usenix.org/legacy/events/usenix06/tech/full_papers/jones/jones_html/index.html (accessed 2026-12-02) ### Anvil URL: https://hesela.dev/terms/anvil/ Also known as: Anvil dTables Status: research Record updated: 2026-11-15 Anvil is a research toolkit that composes specialized key-value storage modules called dTables into database storage back ends. Note: Composition: Writable journals absorb updates; read-only tables serve stored data. Managed dTables digest journals and combine older tables. [anvil-paper] Deletion: An overlay checks subordinate tables in priority order. An explicit nonexistent value stops the search; a missing key does not. [anvil-paper] Reclamation: A deletion marker is removable only when the tables left outside the replacement no longer expose a value it must hide. The required markers therefore depend on which tables are combined. [anvil-paper] Recovery: The design separates a consistent prefix of committed transactions from requested durability. Its ordering mechanisms depend on Featherstitch or historical ext3 behavior, not a portable guarantee for arbitrary filesystems. [anvil-paper] Lineage: SILT credits Anvil's composition of specialized stores as a design influence, not as an interchangeable implementation. [silt-paper] Example: In Hesela's three-layer model, two deletion markers cover an old value. Replacing only the newest layer can drop its marker because the middle one still masks the value. Replacing both newest layers must retain a marker. All 128 enumerated prefix replacements preserve visible results; deliberately dropping that last marker exposes the old value. [anvil-model] Limitations: - The 2009 prototype lacks transaction abort and full concurrency; its results are not evidence of current hardware performance. (sources: [anvil-paper]) Sources and caveats: - Historical source synthesis and an original finite-state teaching model, not native Anvil execution, a crash test or a benchmark. - The model assumes one key, fixed layer order and no concurrent mutation; it checks logical visibility, not physical erasure or durability. Related terms: - [silt](https://hesela.dev/terms/silt/) - [lsm-tombstone](https://hesela.dev/terms/lsm-tombstone/) Citations: - [anvil-paper] Mammarella, Hovsepian and Kohler. Modular Data Storage with Anvil. SOSP 2009, sections 3, 4 and 5.3. https://read.seas.harvard.edu/~kohler/pubs/mammarella09modular.pdf (accessed 2026-11-15) - [silt-paper] Lim et al. SILT: A Memory-Efficient, High-Performance Key-Value Store. SOSP 2011, multi-store design and related work. https://www.cs.cmu.edu/~dga/papers/silt-sosp2011.pdf (accessed 2026-11-15) - [anvil-model] Hesela educational overlay model: 128 cases, assumptions and replacement-scope counterexample. https://hesela.dev/research/anvil-overlay.json (accessed 2026-11-15) - [anvil-model-code] Reproducible JavaScript model; run with Node.js. This is not the Anvil engine. https://hesela.dev/research/anvil-overlay.mjs (accessed 2026-11-15) ### Application-consistent snapshot URL: https://hesela.dev/terms/application-consistent-snapshot/ Also known as: application-aware snapshot Status: shipping Record updated: 2026-11-13 An application-consistent snapshot captures an application's data through a coordinated procedure that satisfies that application's consistency requirements. Note: For example, VSS writers prepare applications for capture and cooperate with a temporary write freeze. This does not mean capturing all RAM. A crash-consistent database image can also be recoverable through its documented log-replay procedure; application coordination and recoverability are different questions. Filesystem freeze and application quiescing are distinct stages; verify writer participation rather than inferring it from storage-level success. [microsoft-vss] Advantages: - Application participation can coordinate buffered data and transaction state before capture. (sources: [microsoft-vss]) Limitations: - A storage snapshot alone does not prove that application writers participated successfully. (sources: [microsoft-vss]) Related terms: - [snapshot](https://hesela.dev/terms/snapshot/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [backup](https://hesela.dev/terms/backup/) - [distributed-snapshot](https://hesela.dev/terms/distributed-snapshot/) - [restore-test](https://hesela.dev/terms/restore-test/) - [filesystem-freeze](https://hesela.dev/terms/filesystem-freeze/) - [application-quiescing](https://hesela.dev/terms/application-quiescing/) - [consistency-group](https://hesela.dev/terms/consistency-group/) Citations: - [microsoft-vss] Microsoft: Volume Shadow Copy Service, application writers and snapshot coordination. https://learn.microsoft.com/en-us/windows-server/storage/file-server/volume-shadow-copy-service (accessed 2026-10-13) - [postgresql-18] PostgreSQL 18: File System Level Backup, section 25.2. https://www.postgresql.org/docs/18/backup-file.html (accessed 2026-10-13) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-13) ### Application quiescing URL: https://hesela.dev/terms/application-quiescing/ Also known as: Application quiescence, Application quiesce Status: shipping Record updated: 2026-10-15 Application quiescing is application-specific preparation and temporary restriction of writes to establish a defined state for snapshot or backup capture. Note: VSS writers illustrate this coordination by preparing application state before filesystem freezing. [microsoft-vss] QEMU can invoke a configured hook with freeze and thaw arguments, but configuration alone does not establish successful preparation or resumption of every application. [qemu-hooks] The QEMU v10.1.0 example wrapper exits zero when its hook directory is absent and skips non-executable hooks, so a successful wrapper exit does not prove that an application hook ran. [qemu-example-hook] Verify preparation and resumption separately from storage capture. Advantages: - Allows application-specific preparation before a snapshot is established. (sources: [microsoft-vss]) Limitations: - Depends on participating applications and their supported backup procedure. (sources: [microsoft-vss]) - A configured guest-agent hook does not independently prove application-level success. (sources: [qemu-hooks]) Related terms: - [application-consistent-snapshot](https://hesela.dev/terms/application-consistent-snapshot/) - [filesystem-freeze](https://hesela.dev/terms/filesystem-freeze/) - [snapshot](https://hesela.dev/terms/snapshot/) - [backup](https://hesela.dev/terms/backup/) - [restore-test](https://hesela.dev/terms/restore-test/) - [distributed-snapshot](https://hesela.dev/terms/distributed-snapshot/) Citations: - [microsoft-vss] Microsoft: Volume Shadow Copy Service, application writers and snapshot coordination. https://learn.microsoft.com/en-us/windows-server/storage/file-server/volume-shadow-copy-service (accessed 2026-10-15) - [qemu-hooks] QEMU Guest Agent: fsfreeze hook configuration. https://www.qemu.org/docs/master/interop/qemu-ga.html#cmdoption-qemu-ga-F (accessed 2026-10-15) - [qemu-example-hook] QEMU v10.1.0 example fsfreeze hook: missing directory and executable hook checks. https://github.com/qemu/qemu/blob/v10.1.0/scripts/qemu-guest-agent/fsfreeze-hook (accessed 2026-10-15) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-15) ### Archive member URL: https://hesela.dev/terms/archive-member/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: TAR member Status: shipping Record updated: 2026-10-25 An archive member is an individual stored entry with its own metadata and, where applicable, payload, whose name need not be unique within an archive. Note: GNU tar permits repeated names. Disk extraction can leave the last version; --to-stdout concatenates selected payloads in archive order. Neither identifies the required generation. [tar-append] [tar-stdout] TarFile.getmember(name) selects the last occurrence; getmembers() preserves order. Passing a TarInfo to extractfile() retains entry identity. A controlled name-relookup loop returned B+B instead of A+B. [python-tarfile] [hesela-members] Selected reads do not verify every member. In USTAR controls, --occurrence=1 returned an intact first file despite a damaged later header. Full listing detected header damage but accepted changed payload: the checksum covers the header, not file data. [hesela-coverage] [tar-format] On CPython 3.12.3, ZIP testzip() missed a damaged first duplicate; reading each ZipInfo found it. This reproduces issue 156539. The tested CLI also returned status 0 when reporting corruption with distinct names. [cpython-zip-issue] [hesela-zip] An intact gzip stream can hold two terminated TARs while default TAR reading stops at the first. Tested continuation modes reached later entries, but Python ignore_zeros also skipped an invalid header. Recovery needs an independent inventory. [hesela-tar-boundary] A TAR hard-link entry can depend on another name. In target-first USTAR tests, selected extraction reused a stale disk target without error in GNU tar 1.35 and both Python builds. Filters, status and matching size did not establish the required bytes. [tar-hard-links] [hesela-hardlink-selection] With GNU tar 1.35, --skip-old-files preserved stale linked bytes during full extraction with status 0. Alias-only extraction did so even with --keep-old-files. [tar-overwrite-policy] [hesela-hardlink-selection] Limitations: - CPIO crc covers payload bytes, not the name and permissions. Controlled metadata changes preserved the data sum and payload hash while changing the extracted name or mode. Recovery checks must include required metadata. (sources: [cpio-format], [cpio-manual], [hesela-cpio]) - Archive EOF can be a parser boundary rather than exhaustion of the physical input. The libarchive v3.7.2 CPIO reader returns archive EOF at TRAILER!!!; this event alone does not validate trailing input. (sources: [cpio-libarchive]) - A BagIt payload manifest records paths and content digests, not POSIX permission bits. Those fields alone cannot verify a required mode; retain and check required filesystem metadata separately. (sources: [bagit-manifest]) Sources and caveats: - GNU tar 1.35 manual and Python 3.12 documentation; measured GNU tar 1.35 / Python 3.12.3. Literal regular-file names only; no hostile-archive security guarantee. - Reproduction: https://hesela.dev/research/tar-member-selection.py ; observations: https://hesela.dev/research/tar-member-selection.json - Coverage extension: https://hesela.dev/research/tar-read-coverage.py ; observations: https://hesela.dev/research/tar-read-coverage.json . Plain USTAR only; command outcomes are not a trace of physical reads. - ZIP reproduction: https://hesela.dev/research/zip-validation-identity.py ; observations: https://hesela.dev/research/zip-validation-identity.json . Six ZIP_STORED fixtures; CPython 3.12.3 only. - Boundary comparison: GNU tar 1.35, gzip 1.12 and CPython 3.12.3; eight synthetic fixtures and 48 reader operations. Canonical code, results and tests: https://hesela.dev/research/tar-boundary/README.md - Five synthetic USTAR fixtures, eleven operations per fixture, CPython 3.12.3 and 3.12.15 with one GNU tar 1.35 binary. Exact payload and live device/inode comparisons; not independent reliability samples. https://hesela.dev/research/tar-hardlink-selection/observation-system.json - Twelve additional overwrite-policy controls, exactly replayed on the same GNU tar 1.35 binary and host; synthetic files, not a failure-rate estimate. https://hesela.dev/research/tar-hardlink-selection/overwrite-observations.json - CPIO: eleven synthetic regular-file fixtures, 55 native reader operations per retained capture and same-host replays. GNU cpio 2.15 / libarchive 3.7.2; not a field-rate or kernel-boot experiment. https://hesela.dev/research/cpio-checksum-contract/README.md Related terms: - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [restore-test](https://hesela.dev/terms/restore-test/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [gzip](https://hesela.dev/terms/gzip/) - [zip-archive](https://hesela.dev/terms/zip-archive/) - [hard-link](https://hesela.dev/terms/hard-link/) - [npz](https://hesela.dev/terms/npz/) Citations: - [tar-append] GNU tar 1.35: appending files and repeated member names. https://www.gnu.org/software/tar/manual/html_node/append.html (accessed 2026-10-18) - [tar-stdout] GNU tar 1.35: Writing to Standard Output. https://www.gnu.org/software/tar/manual/html_node/Writing-to-Standard-Output.html (accessed 2026-10-18) - [python-tarfile] Python 3.12 tarfile: getmember, getmembers and extractfile. https://docs.python.org/3.12/library/tarfile.html#tarfile.TarFile.getmember (accessed 2026-10-18) - [hesela-members] Hesela: measured TAR member selection in archive recovery. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#tar-members (accessed 2026-10-18) - [hesela-coverage] Hesela: twelve measured TAR read-coverage operations. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#tar-coverage (accessed 2026-10-18) - [tar-format] GNU tar 1.35: Basic Tar Format, header checksum. https://www.gnu.org/software/tar/manual/html_node/Standard.html (accessed 2026-10-18) - [cpython-zip-issue] CPython issue 156539: testzip skips earlier duplicate members (reported August 2026). https://github.com/python/cpython/issues/156539 (accessed 2026-10-18) - [hesela-zip] Hesela: controlled ZIP entry-identity and CLI-status observations. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#zip-validation (accessed 2026-10-18) - [hesela-tar-boundary] Hesela: TAR boundaries after complete gzip validation, 48 reader observations. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#tar-boundary (accessed 2026-10-21) - [tar-hard-links] GNU tar 1.35: Hard Links. https://www.gnu.org/software/tar/manual/html_node/hard-links.html (accessed 2026-10-22) - [hesela-hardlink-selection] Hesela: selected TAR hard-link restore, complete observations and reproduction. https://hesela.dev/research/tar-hardlink-selection/README.md (accessed 2026-10-22) - [tar-overwrite-policy] GNU tar 1.35: Keep Old Files. https://www.gnu.org/software/tar/manual/html_node/Keep-Old-Files.html (accessed 2026-10-22) - [cpio-format] Linux v6.8 initramfs format: c_magic and c_chksum. https://www.kernel.org/doc/html/v6.8/driver-api/early-userspace/buffer-format.html (accessed 2026-10-25) - [cpio-manual] libarchive v3.7.2 cpio(5): New CRC Format and Bugs. https://raw.githubusercontent.com/libarchive/libarchive/v3.7.2/libarchive/cpio.5 (accessed 2026-10-25) - [hesela-cpio] Hesela: CPIO checksum scope, reader policy and failure signalling. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#cpio-checksum-contract (accessed 2026-10-25) - [cpio-libarchive] libarchive v3.7.2 CPIO reader: archive_read_format_cpio_read_header and TRAILER!!! https://github.com/libarchive/libarchive/blob/v3.7.2/libarchive/archive_read_support_format_cpio.c (accessed 2026-10-25) - [bagit-manifest] RFC 8493: payload manifests (section 2.1.3), completeness and validity (section 3). https://www.rfc-editor.org/rfc/rfc8493.html (accessed 2026-10-25) ### Areal density URL: https://hesela.dev/terms/areal-density/ Status: shipping Record updated: 2026-11-07 Areal density is the number of recorded bits per unit of recording-medium surface area. Note: For locally uniform tracks, areal density equals linear recording density times track density: BPI x TPI gives bit/in2. Both factors must describe the same recording conditions and compatible bit-count conventions. The metric also applies to tape, not only disks. [density-demo] [tape-density] Distinguish peak, average and laboratory-demonstrated density. Active surface area, the number of recording surfaces, formatting and reserved space also affect user capacity. A peak density multiplied by the full platter area is not a formatted-capacity measurement. [density-manual] At fixed track radius, RPM and BPI, adding tracks raises density but leaves the idealized bits passing one head per revolution unchanged. Raising BPI changes that count. Neither comparison alone predicts host throughput, which also depends on overhead and workload. [hdd-card] In probe storage, a single-probe result and a complete array can have different demonstrated densities. Adding probes expands addressed area or parallelism; it does not multiply bits per unit area. [probe-density] Limitations: - Thermal stability depends on grain volume, anisotropy and temperature, rather than density or neighboring-grain interactions alone. (sources: [grain-stability]) Sources and caveats: - The former 1956 firstSeen value described an early commercial HDD, not the origin of this measurement; it is unset rather than treated as an invention date. - The density demonstration is Seagate's 2019 slide 14; product-scope examples are from its May 2014 manual. [density-demo] [density-manual] - The tape source is IBM Research's publication abstract; no full-paper error-rate result is used here. [tape-density] Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [pmr](https://hesela.dev/terms/pmr/) - [hamr](https://hesela.dev/terms/hamr/) - [mamr](https://hesela.dev/terms/mamr/) - [perpendicular-tape](https://hesela.dev/terms/perpendicular-tape/) - [glass-substrate](https://hesela.dev/terms/glass-substrate/) - [linear-recording-density](https://hesela.dev/terms/linear-recording-density/) - [track-density](https://hesela.dev/terms/track-density/) - [thermomechanical-probe-storage](https://hesela.dev/terms/thermomechanical-probe-storage/) Citations: - [c1] Density (computer storage) — Wikipedia. https://en.wikipedia.org/wiki/Areal_density_(computer_storage) (accessed 2026-10-09) - [c2] Seagate — Heat Assisted Magnetic Recording (HAMR). https://www.seagate.com/innovation/hamr/ (accessed 2026-10-09) - [density-demo] Seagate: HDD Technology Update, Library of Congress DSA 2019, slide 14. https://digitalpreservation.gov/meetings/DSA2019/Day_1/05_trantham_LibraryOfCongress_2019_Trantham_Seagate.pdf (accessed 2026-10-19) - [density-manual] Seagate: Enterprise Capacity 3.5 HDD v4 SAS Product Manual, 100726011 Rev. A, May 2014, sections 3.5 and 4.1. https://www.seagate.com/www-content/product-content/enterprise-hdd-fam/enterprise-capacity-3-5-hdd/constellation-es-4/en-us/docs/100726011a.pdf (accessed 2026-10-19) - [grain-stability] Seagate: HDD Storage Trends and Emerging Technology, Library of Congress DSA 2016, slide 5. https://www.digitalpreservation.gov/meetings/DSA2016/Day1/Trantham_LibraryOfCongress_Trantham_Seagate.pdf (accessed 2026-10-19) - [tape-density] Furrer et al.: 201 Gb/in2 Recording Areal Density on Sputtered Magnetic Tape, IEEE Transactions on Magnetics (2018). https://research.ibm.com/publications/201-gbinlesssupgreater2lesssupgreater-recording-areal-density-on-sputtered-magnetic-tape (accessed 2026-10-19) - [hdd-card] Hesela: Hard Disk Drive, density and transfer-rate interpretation. https://hesela.com/tech/hdd/ (accessed 2026-10-19) - [probe-density] Vettiger et al.: The Millipede - More than one thousand tips for future AFM data storage (2000), sections 2 and 8. https://www.eecs.northwestern.edu/~jianwei/projects/MEMS/vettiger.pdf (accessed 2026-11-07) ### Argon URL: https://hesela.dev/terms/argon/ Also known as: Argon storage server Status: research Record updated: 2026-11-21 Argon is a research storage server that combines cache partitioning, batched disk access and time quanta to limit interference between workloads. Note: Its R-value targets throughput relative to each workload's standalone rate within its allocated time share. Equal time shares do not imply equal byte rates. [argon-overview] Cache partitions follow workload-specific profiles rather than equal-size division. Prefetching and write coalescing amortize positioning costs, while scheduling separates disk access. The design assumes CPU and network capacity are not bottlenecks. [argon-overview] A cache-capacity shortfall can leave a newly added workload unsupported; the target is not unconditional admission. Longer transfers and quanta can increase worst-case response time. [argon07] A required hit probability is not a byte allocation. Select a capacity from a workload-specific profile, then check the sum of exclusive partitions against available cache. The linked example distinguishes a budget shortfall from a profile with no qualifying sampled size; neither result is a modern-device admission guarantee. [hesela] Limitations: - A completion into write-back cache is not itself evidence of stable-media persistence. (sources: [argon07]) Sources and caveats: - Historical HDD prototype on Linux 2.4.22; no contemporary SSD performance claim. [argon07] - Hesela's linked synthetic serial-read calculation is not an Argon benchmark or native replication. [hesela] Related terms: - [mclock](https://hesela.dev/terms/mclock/) - [slowdown-fairness](https://hesela.dev/terms/slowdown-fairness/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) Citations: - [argon07] Wachs, Abd-El-Malek, Thereska and Ganger. Argon: performance insulation for shared storage servers. FAST 2007, sections 3-5. https://www.pdl.cmu.edu/ftp/Storage/argon-fast07.pdf (accessed 2026-11-21) - [argon-overview] Carnegie Mellon Parallel Data Laboratory: Argon extended overview, insulation, cache partitioning and scheduling. https://pdl.cmu.edu/Argon/ext-overview.shtml (accessed 2026-11-21) - [hesela] Hesela: Argon, allocated time and cache-cost arithmetic. https://hesela.com/analyses/ssd-fairness-shared-queues/#argon-insulation (accessed 2026-11-21) ### Arithmetic coding URL: https://hesela.dev/terms/arithmetic-coding/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: Arithmetic entropy coding Status: shipping Record updated: 2026-11-19 Arithmetic coding represents a symbol sequence by successively narrowing a numeric interval according to a shared probability model. Note: Mechanism: Each symbol selects a subinterval proportional to its model probability. Decoding also requires a stopping rule, such as a known message length or an end symbol; a tag inside the final interval alone does not specify when to stop. [witten1987] Implementation: Practical implementations such as Opus use integer state and renormalization. Model updates, rounding and finalization must match the decoder. Opus specifies one range-coding implementation; its format rules do not define every arithmetic coder or make the whole audio codec lossless. [opus-range] Example: With ordered probabilities A=3/4 and B=1/4 and externally known length two, AA occupies [0,9/16) and AB occupies [9/16,3/4). The shortest fully enclosed binary-prefix cells use 1 and 3 payload bits respectively. Each still occupies one packed byte before model and framing costs. Decoding the AB tag 5/8 with probabilities A=1/4 and B=3/4 instead produces BB. [hesela-arithmetic] Sources and caveats: - The example uses exact rational intervals and a declared dyadic-cell convention, not an Opus-compatible bitstream, finite-precision codec measurement or reproduction of paper results. Related terms: - [entropy-coding](https://hesela.dev/terms/entropy-coding/) - [huffman-coding](https://hesela.dev/terms/huffman-coding/) - [asymmetric-numeral-systems](https://hesela.dev/terms/asymmetric-numeral-systems/) Citations: - [witten1987] Ian H. Witten, Radford M. Neal and John G. Cleary: Arithmetic Coding for Data Compression, CACM 30(6), 520-540 (1987), DOI 10.1145/214762.214771. https://web.stanford.edu/class/ee398a/handouts/papers/WittenACM87ArithmCoding.pdf (accessed 2026-11-18) - [opus-range] RFC 6716: Definition of the Opus Audio Codec, sections 4.1 and 5.1.5, range coding and finalization. https://www.rfc-editor.org/rfc/rfc6716.html (accessed 2026-11-18) - [hesela-arithmetic] Hesela: exact rational interval worksheet, source and regression tests. https://hesela.dev/research/arithmetic-intervals/model.py (accessed 2026-11-18) ### ArmorCache URL: https://hesela.dev/terms/armorcache/ Related analysis: https://hesela.com/analyses/hdd-adjacent-track-interference-refresh/ Status: shipping Record updated: 2026-10-16 ArmorCache is an HDD cache-protection feature that uses OptiNAND flash to preserve buffered user writes during emergency power loss on supported drives. Note: Spindle rotational energy powers transfer of buffered writes into iNAND after external power fails, in WCE and WCD modes. Host queue depth 1 can coexist with a larger internal backlog after command completions. [wd-armor] A SAS drive specification permits SYNCHRONIZE CACHE completion after persistence in iNAND when write caching and protection are enabled; that need not mean a platter commit. [hc570-sas] Device protection is not a transaction protocol and cannot preserve data still in upstream caches. [linux-cache] Sources and caveats: - ArmorCache is a Western Digital feature; support and performance depend on model, firmware, configuration and workload. - The HC570 SAS revision 1.2 example specifies up to 128 MiB of protected user data. It is a model-scoped protection capacity, not total DRAM or a transaction limit. [hc570-sas] Related terms: - [optinand](https://hesela.dev/terms/optinand/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) Citations: - [wd-armor] Western Digital. ArmorCache Write Cache Data Protection, May 2022, pp. 1-3; host and internal queue depth on p. 3. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/tech-brief/tech-brief-write-cache-data-safety.pdf (accessed 2026-10-16) - [hc570-sas] Western Digital. Ultrastar DC HC570 SAS specification, revision 1.2, 21 September 2023, section 6.5.2, p. 36. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/product/data-center-drives/ultrastar-dc-hc500-series/product-manual-ultrastar-dc-hc570-sas-oem-spec.pdf (accessed 2026-10-16) - [linux-cache] Linux kernel documentation. Explicit volatile write back cache control: REQ_PREFLUSH, REQ_FUA and driver responsibilities. https://docs.kernel.org/block/writeback_cache_control.html (accessed 2026-10-16) - [hesela-boundary] Hesela. OptiNAND metadata is not the ArmorCache guarantee: model and system boundaries. https://hesela.com/analyses/hdd-adjacent-track-interference-refresh/#optinand-armorcache (accessed 2026-10-16) ### Arrival curve URL: https://hesela.dev/terms/arrival-curve/ Status: shipping Record updated: 2026-11-20 An arrival curve bounds the amount of traffic that can enter a system over every interval of a given duration. Note: Interval constraint: cumulative input A obeys A(t) - A(s) <= alpha(t-s) for every 0 <= s <= t. A token-bucket envelope is alpha(u) = b + r*u for u > 0, with alpha(0) = 0. A long-run mean alone supplies no finite burst allowance. [netcal-book] Delay scope: an arrival envelope restricts offered work, not delivered service. A finite delay guarantee also requires a lower bound on service across the path. [rfc2212] Sources and caveats: - Deterministic traffic constraint, not an empirical distribution or a fitted percentile. The same accounting unit must be used for traffic and service. Related terms: - [token-bucket](https://hesela.dev/terms/token-bucket/) - [rate-latency-service-curve](https://hesela.dev/terms/rate-latency-service-curve/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [netcal-book] Le Boudec and Thiran, Network Calculus, online edition 2022, sections 1.2-1.4. https://leboudec.github.io/netcal/latex/netCalBook.pdf (accessed 2026-11-20) - [rfc2212] Shenker, Partridge and Guerin, RFC 2212 (1997), Motivation and Network Element Data Handling. https://www.rfc-editor.org/rfc/rfc2212.html (accessed 2026-11-20) ### Arrow IPC file URL: https://hesela.dev/terms/arrow-ipc-file/ Status: shipping Record updated: 2026-11-04 An Arrow IPC file adds a footer with schema and block locations to support random access to serialized Arrow record batches. Note: Structure: the footer locates record batches and dictionaries for random access. Dictionary replacement is unsupported in the file format, while deltas extend a dictionary. This differs from sequential stream replacement. [format] Conversion: in Arrow 21, unify_dictionaries applies to write_table. Native controls with changed dictionary order succeeded when both batches were in one table, but failed across separate write_batch or write_table calls. The successful writer remapped indices while preserving the intended ordered string values. [options] [writer] [evidence] Deltas: a prefix extension succeeded with emit_dictionary_deltas enabled; reordering did not. File and stream readers can attach different dictionary arrays while returning the same tested string values, so physical dictionary identity is a different acceptance target. [evidence] Integrity: a readable footer and full structural validation do not compare values with an independent original. Preserve the intended artifact digest or an explicitly defined semantic expectation. [replay] Sources and caveats: - Synthetic native observations on one PyArrow/Arrow C++ 21.0.0 build and host; not field rates, a current-release guarantee or a new vulnerability. [evidence] - String equivalence means ordered non-null values in these controls, not arbitrary Arrow schemas, ordered categoricals or extension types. [replay] Related terms: - [arrow-ipc-stream](https://hesela.dev/terms/arrow-ipc-stream/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [parquet](https://hesela.dev/terms/parquet/) - [checksum](https://hesela.dev/terms/checksum/) Citations: - [format] Apache Arrow 21.0: IPC streaming and file format, dictionary messages. https://arrow.apache.org/docs/21.0/format/Columnar.html (accessed 2026-11-04) - [options] PyArrow 21.0: table-scoped dictionary unification and delta options. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.ipc.IpcWriteOptions.html (accessed 2026-11-04) - [writer] Apache Arrow 21.0.0: WriteTable and WriteDictionaries implementation. https://github.com/apache/arrow/blob/apache-arrow-21.0.0/cpp/src/arrow/ipc/writer.cc (accessed 2026-11-04) - [evidence] Hesela: retained native Arrow dictionary observations and message hashes. https://hesela.dev/research/arrow-ipc-completeness/dictionary-native/capture-normal/observations.json (accessed 2026-11-04) - [replay] Hesela: Arrow IPC reproduction, acceptance rules and limitations. https://hesela.dev/research/arrow-ipc-completeness/REPRODUCE.md (accessed 2026-11-04) ### Arrow IPC stream URL: https://hesela.dev/terms/arrow-ipc-stream/ Status: shipping Record updated: 2026-11-04 An Arrow IPC stream serializes a schema and a sequence of dictionary and record-batch messages for sequential reading. Note: Completion: a stream can end with an explicit EOS message or input closure. Successful exhaustion does not establish the producer's intended row count or whole-container coverage. [format] Interpretation: dictionary-encoded indices depend on the effective dictionary state. A replacement changes that state; a delta appends entries. Preserve the applicable state and message order when restarting or reconstructing a stream. Equal indices in different batches need not denote equal values; compare decoded values or remap to a verified common dictionary before reconciling records. [format] Native control: a stale replacement preserved an 880-byte, six-row stream and both complete record-batch messages but changed three decoded labels. PyArrow 21.0.0 read_all and full validation passed. Omitting the initial dictionary caused reading to fail; omitting a required delta allowed reading but failed full validation. [evidence] Acceptance: retain the intended producer identity, generation and whole-object digest under an explicit trust policy. A digest computed after a wrong reconstruction cannot establish the earlier expectation. Permitted re-encoding needs a defined semantic comparison as well as structural validation. [replay] Sources and caveats: - Synthetic native observations on one PyArrow/Arrow C++ 21.0.0 build and host; not field rates, a current-release guarantee or a new vulnerability. [evidence] - String equivalence means ordered non-null values in these controls, not arbitrary Arrow schemas, ordered categoricals or extension types. [replay] Related terms: - [arrow-ipc-file](https://hesela.dev/terms/arrow-ipc-file/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [parquet](https://hesela.dev/terms/parquet/) - [checksum](https://hesela.dev/terms/checksum/) Citations: - [format] Apache Arrow 21.0: IPC streaming and file format, dictionary messages. https://arrow.apache.org/docs/21.0/format/Columnar.html (accessed 2026-11-04) - [evidence] Hesela: retained native Arrow dictionary observations and message hashes. https://hesela.dev/research/arrow-ipc-completeness/dictionary-native/capture-normal/observations.json (accessed 2026-11-04) - [replay] Hesela: Arrow IPC reproduction, acceptance rules and limitations. https://hesela.dev/research/arrow-ipc-completeness/REPRODUCE.md (accessed 2026-11-04) ### ASCII URL: https://hesela.dev/terms/ascii/ Also known as: US-ASCII, American Standard Code for Information Interchange Status: shipping Record updated: 2026-11-21 ASCII is a seven-bit coded character set with 128 code positions for letters, digits, punctuation, space and control functions. Note: Representation: RFC 20 describes ASCII interchange in eight-bit bytes with the high bit zero. The code includes NUL, line feed and DEL, not just printable text; values 80 to FF hexadecimal are outside this seven-bit repertoire. An eight-bit storage unit does not make every possible byte an ASCII code. [rfc20] Compatibility: UTF-8 uses the same single-byte representation for U+0000 through U+007F. The converse does not hold: C3 A9 represents U+00E9 in UTF-8 but is rejected by a strict ASCII decoder. A byte sequence within 00 to 7F cannot, by itself, distinguish ASCII from UTF-8 or identify its original encoding. [unicode-ascii] Decoder contract: WHATWG TextDecoder resolves the labels ascii and us-ascii to windows-1252. Consequently, new TextDecoder("ascii", {fatal: true}) is not a strict ASCII validator: byte 80 decodes to U+20AC under that API. Specify the API, resolved encoding and error policy, not merely a label. [whatwg-labels] Buffer contract: For a Node.js Buffer instance, buf.toString("ascii") clears each byte's high bit, so 41 and C1 hexadecimal both become A. Masking also maps 80 to U+0000 and 61 AF 62 to a/b; checking only the converted output misses the original byte contract. Buffer.from(text, "ascii") uses latin1 encoding instead, so this round trip need not preserve text. [node-buffer] Recovery: Check an ASCII-only byte contract before converting names or metadata. Passing that check says nothing about whether controls, separators or other values are permitted by the destination format. Preserve the original bytes when a display transformation is not reversible. [hesela-filenames] Limitations: - ASCII does not represent all Unicode text, validate destination filenames or identify an unknown source encoding. Sources and caveats: - Source-reviewed definition with exhaustive one-byte strict-codec checks and bounded WHATWG decoder examples: https://hesela.dev/research/ascii-contracts/README.md. These are codec observations, not filesystem or backup-product tests. Related terms: - [character-encoding](https://hesela.dev/terms/character-encoding/) - [utf-8](https://hesela.dev/terms/utf-8/) - [byte](https://hesela.dev/terms/byte/) - [unicode-scalar-value](https://hesela.dev/terms/unicode-scalar-value/) - [filename-collision](https://hesela.dev/terms/filename-collision/) - [iso-8859-1](https://hesela.dev/terms/iso-8859-1/) - [windows-1252](https://hesela.dev/terms/windows-1252/) Citations: - [rfc20] RFC 20: ASCII format for Network Interchange, code table and control functions. https://www.rfc-editor.org/rfc/rfc20.html (accessed 2026-11-20) - [unicode-ascii] Unicode 17.0.0: chapter 2, section 2.5.3, UTF-8 and ASCII transparency. https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-2/ (accessed 2026-11-20) - [whatwg-labels] WHATWG Encoding Standard: names and labels, windows-1252. https://encoding.spec.whatwg.org/#names-and-labels (accessed 2026-11-20) - [hesela-filenames] Hesela: ASCII byte contracts in filename recovery. https://hesela.com/analyses/filename-identity-backup-restores/#ascii-byte-contract (accessed 2026-11-20) - [node-buffer] Node.js v24.22.2: Buffer, buffers and character encodings. https://nodejs.org/download/release/v24.22.2/docs/api/buffer.html#buffers-and-character-encodings (accessed 2026-11-20) ### Assise URL: https://hesela.dev/terms/assise/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Status: research Record updated: 2026-11-28 Assise is a research distributed file system that combines client-local persistent-memory caches with replicated coherence and linearizable file I/O. Note: LibFS intercepts supported calls under a configured namespace. SharedFS coordinates leases; running with one local node is a documented configuration, not replicated protection. [assise-artifact] In the paper's pessimistic mode, fsync waits for replication. Optimistic mode may defer replication until dsync or eviction, risking data loss when local recovery is impossible. Both preserve a recoverable prefix, not necessarily every completed write after node loss. [assise-paper] Each replica flushes received writes with CLWB and SFENCE before acknowledging replication. RDMA transfer completion alone is not this persistence guarantee. [assise-paper] The pinned mlfs_posix_fsync wrapper calls mlfs_do_rsync only when DISTRIBUTED is compiled in, then returns zero. This wrapper alone does not establish the full recovery contract. [assise-fsync] Sources and caveats: - Source synthesis of the OSDI 2020 design and a pinned public artifact, not an executed prototype, hardware measurement or compatibility recommendation. - Paper guarantees and an inspected wrapper are different evidence levels; a return value is not a fault-injection result. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [chain-replication](https://hesela.dev/terms/chain-replication/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [optimistic-crash-consistency](https://hesela.dev/terms/optimistic-crash-consistency/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [clwb](https://hesela.dev/terms/clwb/) Citations: - [assise-paper] Anderson et al. Assise: Performance and Availability via Client-local NVM in a Distributed File System. OSDI 2020, pp. 1011-1027, sections 3-5. https://files.usenix.org/s3fs-public/cdn/osdi20-anderson.pdf (accessed 2026-11-13) - [assise-artifact] Assise authors. README at c191f20b26a86bef79bb8c943b33c0c75e17c802: namespace interception, cluster configuration and build flags. https://github.com/ut-osa/assise/blob/c191f20b26a86bef79bb8c943b33c0c75e17c802/README.md (accessed 2026-11-13) - [assise-fsync] Assise authors. posix_interface.c at c191f20b26a86bef79bb8c943b33c0c75e17c802, mlfs_posix_fsync. https://github.com/ut-osa/assise/blob/c191f20b26a86bef79bb8c943b33c0c75e17c802/libfs/src/posix/posix_interface.c#L761-L768 (accessed 2026-11-13) - [hesela-assise] Hesela. Assise: name the failure that persistence survives. https://hesela.com/analyses/pmem-persistence-domains-dax/#assise (accessed 2026-11-13) ### Asymmetric Namespace Access URL: https://hesela.dev/terms/asymmetric-namespace-access/ Also known as: ANA, NVMe ANA Status: shipping Record updated: 2026-10-15 Asymmetric Namespace Access is the NVMe mechanism for reporting namespace access states through different controllers. Note: ANA reports access for a controller and ANA group, not one global state of a namespace. Non-optimized access is usable; inaccessible and persistent-loss states describe lack of user-data access through the reporting controller. Persistent loss is not proof of media destruction across all controllers. The change state denotes an ANA transition, not transport reconnection. In inaccessible or persistent-loss states, some Identify Namespace capacity fields (including NUSE and NVMCAP) are cleared when accurate capacity information is unavailable; consult an optimized or non-optimized controller rather than interpreting those zeros as an empty namespace. [base23] Linux prefers optimized paths before applying its I/O policy. ANA does not elect an application leader or enforce exclusive writes. [linux-code] Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) - [multipath-io](https://hesela.dev/terms/multipath-io/) - [alua](https://hesela.dev/terms/alua/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [ana-group](https://hesela.dev/terms/ana-group/) - [nvme-multipath-io-policy](https://hesela.dev/terms/nvme-multipath-io-policy/) Citations: - [linux-ana] Linux kernel documentation: Linux NVMe multipath, introduction and policies. https://docs.kernel.org/admin-guide/nvme-multipath.html (accessed 2026-10-11) - [hesela-fencing] Storage fencing: why a lost heartbeat does not stop writes. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-10-11) - [base23] NVM Express Base Specification 2.3 (1 August 2025), section 8.1.1: Asymmetric Namespace Access. Pinned edition, not a claim about the latest revision. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-15) - [linux-code] Linux v6.12, drivers/nvme/host/multipath.c: ANA selection, controller nr_active accounting and subsystem iopolicy. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/multipath.c (accessed 2026-10-15) - [hesela-paths] Hesela: NVMe multipath: ANA access states and Linux path policies. https://hesela.com/analyses/nvme-multipath-ana-path-selection/ (accessed 2026-10-15) ### Asymmetric numeral systems URL: https://hesela.dev/terms/asymmetric-numeral-systems/ Also known as: ANS Status: shipping Record updated: 2026-11-19 Asymmetric numeral systems are entropy-coding methods that represent accumulated symbol information in an integer state using a specified probability model. Note: Variants: Duda distinguishes range ANS, using arithmetic transitions, from tabled ANS, using a finite-state coding table. The final encoder state starts decoding; ordinary push/pop order is reversed. [duda-ans] Scope: ANS describes entropy coding, not a complete archive format. Model agreement and framing remain necessary; the paper's speed claims are implementation-specific. Zstandard uses the related FSE codec alongside Huffman coding. [duda-ans] [rfc8878-entropy] Sources and caveats: - Source synthesis of a theoretical preprint and format specification, not a benchmark reproduction. rANS and tANS are variants grouped under this family, not interchangeable bitstream formats. Related terms: - [finite-state-entropy](https://hesela.dev/terms/finite-state-entropy/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [zstandard](https://hesela.dev/terms/zstandard/) - [entropy-coding](https://hesela.dev/terms/entropy-coding/) - [arithmetic-coding](https://hesela.dev/terms/arithmetic-coding/) Citations: - [duda-ans] Jarek Duda: Asymmetric numeral systems, arXiv:1311.2540v2 (2014), sections 2.3, 3.7 and 4. https://arxiv.org/abs/1311.2540v2 (accessed 2026-11-17) - [rfc8878-entropy] RFC 8878: Zstandard, sections 3.1.1.3.2.1, 4.1 and 5. https://www.rfc-editor.org/rfc/rfc8878.html (accessed 2026-11-17) - [hesela-ans] Hesela: exact rANS arithmetic and Zstandard table dependencies. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#entropy-state (accessed 2026-11-17) ### Asynchronous commit URL: https://hesela.dev/terms/asynchronous-commit/ Related analysis: https://hesela.com/analyses/wal-checkpoints-torn-pages/ Also known as: Async commit Status: shipping Record updated: 2026-10-15 Asynchronous commit is an acknowledgment mode that can report a transaction as successful before its recovery log has reached durable storage. Note: In PostgreSQL 18, synchronous_commit=off can lose recently acknowledged transactions after a crash while retaining consistent recovery, assuming the remaining safety mechanisms and storage behave correctly. This is not fsync=off. [pg-async] The setting in effect at commit controls ordinary transaction acknowledgment; PostgreSQL forces utility commands such as DROP TABLE and two-phase-commit commands such as PREPARE TRANSACTION to commit synchronously. [pg-async] Local persistence and standby progress are separate: asynchronous replication does not by itself imply asynchronous local commit. [pg-settings] Group commit with commit_delay remains a synchronous optimization; commit_delay is ignored for asynchronous commits. [pg-async] Advantages: - Can reduce response latency by removing the immediate WAL synchronization wait. (sources: [pg-async]) Limitations: - A successful response is not proof that the transaction will survive a crash. (sources: [pg-async]) - An external action triggered by success cannot be undone by database recovery. (sources: [pg-async]) Related terms: - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [group-commit](https://hesela.dev/terms/group-commit/) - [external-synchrony](https://hesela.dev/terms/external-synchrony/) Citations: - [pg-async] PostgreSQL 18: Asynchronous Commit. https://www.postgresql.org/docs/18/wal-async-commit.html (accessed 2026-10-15) - [pg-settings] PostgreSQL 18: WAL settings, commit_delay and synchronous_commit. https://www.postgresql.org/docs/18/runtime-config-wal.html (accessed 2026-10-15) - [hesela-wal] Hesela: Group commit shares persistence work, not transaction identity. https://hesela.com/analyses/wal-checkpoints-torn-pages/#group-commit (accessed 2026-10-15) ### Asynchronous replication URL: https://hesela.dev/terms/asynchronous-replication/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Status: shipping Record updated: 2026-11-18 Asynchronous replication allows primary-side completion without waiting for the corresponding update to reach a specified processing stage on a replica. Note: The remote copy may lag, so promotion can lose acknowledged transactions that it has not received. PostgreSQL 18 streaming replication defaults to this mode. This is distinct from asynchronous local commit: local WAL can be durable while remote replication remains asynchronous. A lag observation alone is not a recovery-point guarantee. Asynchronous replication can still encounter backpressure when buffers fill, as documented for DRBD protocol A. A replication slot can retain WAL during disconnection without changing this acknowledgement policy. [pg-slots] Related terms: - [synchronous-replication](https://hesela.dev/terms/synchronous-replication/) - [replication-lag](https://hesela.dev/terms/replication-lag/) - [mirroring](https://hesela.dev/terms/mirroring/) - [replication-slot](https://hesela.dev/terms/replication-slot/) - [failover](https://hesela.dev/terms/failover/) Citations: - [pg-streaming] PostgreSQL 18: warm standby and synchronous replication. https://www.postgresql.org/docs/18/warm-standby.html#SYNCHRONOUS-REPLICATION (accessed 2026-10-12) - [pg-commit] PostgreSQL 18: WAL settings, synchronous_commit. https://www.postgresql.org/docs/18/runtime-config-wal.html#GUC-SYNCHRONOUS-COMMIT (accessed 2026-10-12) - [hesela-replication] Replication acknowledgements: received, durable, applied. https://hesela.com/analyses/replication-acknowledgements-durability-lag/ (accessed 2026-10-12) - [drbd] LINBIT DRBD 9 guide: section 2.3, replication modes. https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/ (accessed 2026-10-12) - [pg-slots] PostgreSQL 18: replication slots and WAL retention. https://www.postgresql.org/docs/18/warm-standby.html#STREAMING-REPLICATION-SLOTS (accessed 2026-10-16) ### ATA read look-ahead URL: https://hesela.dev/terms/ata-read-look-ahead/ Related article: https://hesela.com/tech/sata/ Also known as: ATA read lookahead, Drive read look-ahead Status: shipping Record updated: 2026-11-14 ATA read look-ahead is a drive-controlled read-prefetch feature, separate from operating-system readahead and the drive's write-cache setting. Note: The hdparm controls differ by case: -a selects a software filesystem readahead sector count, whereas -A selects the drive feature. Changing one does not configure the other layer. [hdparm-lookahead] SET FEATURES uses command opcode 0xEF with feature selector 0xAA to enable read look-ahead or 0x55 to disable it. Write-cache selectors 0x02 and 0x82 are separate; a read-prefetch change is not a write-cache flush. [ata-lookahead-bits] [wd-lookahead] IDENTIFY word 82 bit 6 reports support; word 85 bit 6 reports enablement. Linux v6.12 checks the validity pattern in word 87 before interpreting that enable bit. Neither field measures fetched bytes, cache hits or application latency. [ata-identify-fields] [ata-lookahead-bits] The cited product manual says these settings revert to defaults after power cycling. That is a documented product behavior, not a guarantee about every ATA device or reset type. [wd-lookahead] Limitations: - A host command path may not expose every device setting; enclosure and kernel compatibility matter. (sources: [hdparm-lookahead]) Sources and caveats: - Documentation and version-pinned Linux source review; no device command, cache-hit measurement or performance experiment was performed. - The power-cycle statement is limited to the WD Purple Pro PR18 manual. No universal default or reset-persistence behavior is inferred. Related terms: - [sata](https://hesela.dev/terms/sata/) - [readahead](https://hesela.dev/terms/readahead/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) Citations: - [hdparm-lookahead] hdparm(8): separate -a software readahead and -A drive read-lookahead controls. https://www.man7.org/linux/man-pages/man8/hdparm.8.html (accessed 2026-11-14) - [ata-lookahead-bits] Linux v6.12 ata.h: SET FEATURES selectors and ata_id_rahead_enabled validity check. https://github.com/torvalds/linux/blob/v6.12/include/linux/ata.h (accessed 2026-11-14) - [ata-identify-fields] Linux v6.12 hdreg.h: IDENTIFY words 82 and 85, support versus enabled state. https://github.com/torvalds/linux/blob/v6.12/include/uapi/linux/hdreg.h (accessed 2026-11-14) - [wd-lookahead] WD Purple Pro PR18 manual D018-000157-AA00: Tables 4-6 and 4-7, pages 36-37 and 41. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/product/internal-drives/wd-purple-hdd/technical-ref-manual-wd-purple-hdd-18tb.pdf (accessed 2026-11-14) - [hesela-sata] Hesela: SATA command and cache-policy boundaries. https://hesela.com/tech/sata/ (accessed 2026-11-14) ### ATA SMART URL: https://hesela.dev/terms/ata-smart/ Status: shipping Record updated: 2026-11-14 ATA SMART is the ATA interface for retrieving drive self-monitoring attributes, status and logs from supporting devices. Note: ATA SMART attributes have separate raw values, normalized values and thresholds. The Pre-fail type label alone does not indicate a threshold crossing. Model and firmware context are necessary for interpreting raw fields. Health status comes from the boolean result of the SMART RETURN STATUS command. A failing result means the device has failed or predicts its own failure within the next 24 hours. A RAID controller or USB bridge can hide that result, and monitoring tools then fall back to comparing Pre-fail attributes with their thresholds. [smartctl] The summary error log keeps the five most recent non-trivial errors, and the self-test log keeps the 21 most recent self-tests. Self-test time stamps count power-on hours in 16 bits and wrap after 2730 days and 16 hours, about 7.5 years. The extended self-test log supports 48-bit LBAs with up to 19 entries per sector. [smartctl] In one large field study, drives were over 21 times more likely to fail within 60 days after their first offline reallocation, a count limited to sectors found during background scrubbing. [pinheiro] Advantages: - Error and self-test logs record power-on time and the first failing LBA, which helps locate media problems. (sources: [smartctl]) Limitations: - The number of extended log sectors is device-specific, so log depth varies between drives. (sources: [smartctl]) - Some drive models count offline reallocations inconsistently, reporting more offline than total reallocations. (sources: [pinheiro]) Sources and caveats: - smartctl is the smartmontools 7.5 manual page, reread on the access date in the -H and -l sections. - pinheiro is the FAST 2007 field study by Pinheiro, Weber and Barroso (Google), read in section 3.5.3. - 24 hours, five, 21, 16 bits, 2730 days and 16 hours, 7.5 years, 48-bit and 19 come from smartctl. 21 times and 60 days come from pinheiro. - c1 is left unchanged. Related terms: - [smart](https://hesela.dev/terms/smart/) - [sata](https://hesela.dev/terms/sata/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [smart-raw-value](https://hesela.dev/terms/smart-raw-value/) - [smart-normalized-value](https://hesela.dev/terms/smart-normalized-value/) - [smartctl-exit-status](https://hesela.dev/terms/smartctl-exit-status/) - [pata](https://hesela.dev/terms/pata/) - [scsi-ata-translation](https://hesela.dev/terms/scsi-ata-translation/) - [pending-sector](https://hesela.dev/terms/pending-sector/) Citations: - [c1] ATA SMART. https://en.wikipedia.org/wiki/S.M.A.R.T. (accessed 2026-03-26) - [smartctl] smartmontools 7.5 smartctl manual: -A attributes and -v raw-value formats. https://github.com/smartmontools/smartmontools/blob/RELEASE_7_5/smartmontools/smartctl.8.in (accessed 2026-10-22) - [hesela] Hesela: SMART zeros, missing attributes and failure-day selection. https://hesela.com/analyses/smart-missing-values-not-zero/ (accessed 2026-10-11) - [pinheiro] Pinheiro, Weber and Barroso. Failure Trends in a Large Disk Drive Population. FAST 2007. https://www.usenix.org/legacy/events/fast07/tech/full_papers/pinheiro/pinheiro.pdf (accessed 2026-10-22) ### ATI refresh URL: https://hesela.dev/terms/ati-refresh/ Also known as: adjacent-track interference refresh, HDD protective refresh Status: shipping Record updated: 2026-10-16 ATI refresh is a protective HDD firmware operation that reads and rewrites recorded data to mitigate write-induced adjacent-track interference. Note: Refresh is internal maintenance, not proof of an application update or a detected host checksum error. WD describes sector-level write accounting in OptiNAND to avoid unnecessary whole-track refreshes. This is a manufacturer architecture description, not a universal performance result. [wd-brief] Do not equate it with SMR band update handling or host data scrubbing. [hesela-ati] Related terms: - [adjacent-track-interference](https://hesela.dev/terms/adjacent-track-interference/) - [hdd](https://hesela.dev/terms/hdd/) - [cmr](https://hesela.dev/terms/cmr/) - [smr](https://hesela.dev/terms/smr/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [optinand](https://hesela.dev/terms/optinand/) Citations: - [wd-brief] Western Digital. Reimagining HDDs with OptiNAND Technology, August 2022, printed p. 2. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/tech-brief/tech-brief-reimagining-hdds-with-optinand-technology.pdf (accessed 2026-10-16) - [hesela-ati] CMR is not refresh-free: adjacent-track interference in HDDs. https://hesela.com/analyses/hdd-adjacent-track-interference-refresh/ (accessed 2026-10-16) ### Atomic recovery unit URL: https://hesela.dev/terms/atomic-recovery-unit/ Also known as: ARU Status: research Record updated: 2026-12-02 An atomic recovery unit groups Logical Disk operations into an all-or-none recovery boundary without itself guaranteeing durability or transaction isolation. Note: The 1996 design distinguishes per-ARU shadow versions, a shared committed state after EndARU, and persistent versions after explicit or implicit flushing. Recovery uses persistent versions. [icdcs1996] The prototype reads its own shadow version first, then falls back to committed or persistent state. Clients still supply write concurrency control. [icdcs1996] Allocation is exceptional: reserving a block or list identifier immediately affects committed state; inserting a block into a list remains in its ARU's shadow state. Recovery may need to reclaim allocations left by incomplete ARUs. [icdcs1996] Hesela's two-existing-block example recovers (0, 0) after EndARU without a flush, and (1, 1) after a completed flush. Its fixed no-background-flush schedule illustrates the boundary, not loss probability. [example] Limitations: - The single-threaded MINIX benchmark evaluates support overhead, not a scalability test of concurrent clients. (sources: [icdcs1996]) Sources and caveats: - Primary-source review with a bounded teaching model; no original prototype execution or performance replication. Related terms: - [logical-disk](https://hesela.dev/terms/logical-disk/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [data-durability](https://hesela.dev/terms/data-durability/) - [serializability](https://hesela.dev/terms/serializability/) Citations: - [icdcs1996] Grimm, Hsieh, de Jonge and Kaashoek. Atomic Recovery Units: Failure Atomicity for Logical Disks. ICDCS 1996, sections 3-5. https://pdos.csail.mit.edu/archive/ld/arus.ps (accessed 2026-12-02) - [bibliography] MIT PDOS publication bibliography: SOSP 1993 (14th), pages 15-28; ICDCS 1996 (16th), pages 26-37. https://pdos.csail.mit.edu/publications/ (accessed 2026-12-02) - [example] Hesela: commit, flush and crash example for two existing blocks. https://hesela.dev/research/logical-disk/README.md (accessed 2026-12-02) ### Atomic register URL: https://hesela.dev/terms/atomic-register/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Linearizable register Status: unknown Record updated: 2026-11-28 An atomic register is a read/write object whose concurrent operations admit a common legal sequential order that respects real-time precedence. Note: Each read returns the latest value in that common order, starting from the specified initial value. Completed-before-invoked operations retain their order; overlapping operations need not follow response order. This is the register case of linearizability. [herlihy-wing] Single-writer comparison: when a write changes 0 to 1, two nonoverlapping reads within that write cannot return 1 and then 0, although a regular register permits that history. [lamport-registers] Scope: a separate read followed by a write is not one atomic read-modify-write operation. Multi-key transactions, progress guarantees such as wait-freedom, and persistence after a crash need additional contracts. [herlihy-wing] [lamport-registers] No response does not mean no effect. A legal history may complete selected pending calls and omit others. If x starts at 0 and a completed read returns 1 while the only write of 1 remains pending, the explanation must retain that write before the read. A timeout response needs its API's own contract. [herlihy-wing] A retained pending write must follow reads completed before its invocation. With initial 0, a read returning 1 before the sole W(1) starts has no legal explanation. [linearizability-typo] Sources and caveats: - The definition follows the read/write-object specification of Herlihy and Wing; the safe/regular comparison uses Lamport's finite-valued, single-writer scope. No implementation, performance or recovery result is asserted. Related terms: - [safe-register](https://hesela.dev/terms/safe-register/) - [regular-register](https://hesela.dev/terms/regular-register/) - [linearizability](https://hesela.dev/terms/linearizability/) - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) - [durable-linearizability](https://hesela.dev/terms/durable-linearizability/) - [safety-property](https://hesela.dev/terms/safety-property/) Citations: - [lamport-registers] Lamport. On Interprocess Communication. Part I p. 2, failure exclusion; Part II section 4, pp. 18-21. SRC report, 1985; journal publication, 1986. https://lamport.azurewebsites.net/pubs/interprocess.pdf (accessed 2026-11-28) - [herlihy-wing] Herlihy and Wing. Linearizability: A Correctness Condition for Concurrent Objects. ACM TOPLAS 12(3), 1990, sections 2.2-2.3, 3.2, 5.1 and 6.2. https://cs.brown.edu/people/mph/HerlihyW90/p463-herlihy.pdf (accessed 2026-11-28) - [hesela-registers] Hesela: constructed read histories for safe, regular and atomic registers. https://hesela.com/analyses/storage-consistency-ordering/#register-contracts (accessed 2026-11-28) - [linearizability-typo] Sela, Herlihy and Petrank. Linearizability: A Typo. arXiv:2105.06737v2 (2021), sections 3.1 and 4. https://arxiv.org/pdf/2105.06737v2 (accessed 2026-11-28) ### Atomic rename URL: https://hesela.dev/terms/atomic-rename/ Also known as: atomic file replacement, rename atomicity Status: shipping Record updated: 2026-12-01 Atomic rename replaces an existing destination pathname without exposing an intermediate missing destination to concurrent lookups. Note: For Linux rename(), source and destination must be on the same mounted filesystem; even separate mount points of one filesystem produce EXDEV. Existing descriptors retain their original file references, and other hard links are unaffected. Both pathnames may temporarily refer to the source, so the guarantee is not a two-path snapshot. Success establishes visibility, not crash durability: the file-data and directory-persistence requirements must be handled separately. A lock held on the old file does not automatically coordinate writers opening its replacement; see the scoped lock-identity observation. [hesela-locks] With ordinary final-component symbolic links, Linux rename() moves or replaces the link itself rather than following it. Renaming a distinct file over such a destination leaves its referent unchanged. Intermediate symlink components can still be followed. If both operands already name the same file, rename() succeeds without changing the names. [linux-rename-2] Advantages: - Publishes a replacement without first removing the destination name. Limitations: - Does not redirect already-open descriptors or update other hard links. - Does not by itself make replacement data or directory entries crash-persistent. - On NFS, a reported rename failure can follow successful server execution; NFSv4.1 replay guarantees depend on session and reply-cache recovery. Related terms: - [mount-point](https://hesela.dev/terms/mount-point/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [inode](https://hesela.dev/terms/inode/) - [hard-link](https://hesela.dev/terms/hard-link/) - [unlink](https://hesela.dev/terms/unlink/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [advisory-file-lock](https://hesela.dev/terms/advisory-file-lock/) - [open-file-description-lock](https://hesela.dev/terms/open-file-description-lock/) - [symbolic-link](https://hesela.dev/terms/symbolic-link/) - [path-resolution](https://hesela.dev/terms/path-resolution/) - [overlayfs](https://hesela.dev/terms/overlayfs/) - [spanfs](https://hesela.dev/terms/spanfs/) Citations: - [linux-rename-2] Linux man-pages 6.19: rename(2). https://man7.org/linux/man-pages/man2/rename.2.html (accessed 2026-11-03) - [linux-open-2] Linux man-pages 6.19: open(2). https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-15) - [linux-fsync-2] Linux man-pages 6.19: fsync(2). https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-15) - [hesela-namespace] Hesela: The name changes; existing readers do not. https://hesela.com/analyses/atomic-rename-directory-durability/#namespace-identity (accessed 2026-10-15) - [rfc8881-replay] RFC 8881: NFSv4.1 replay and persistence, sections 2.10.6 and 2.10.6.5. https://www.rfc-editor.org/rfc/rfc8881.html#section-2.10.6.5 (accessed 2026-10-15) - [hesela-locks] Hesela: A lock follows the opened file, not the replacement name. https://hesela.com/analyses/atomic-rename-directory-durability/#lock-identity (accessed 2026-10-16) ### Authenticated encryption URL: https://hesela.dev/terms/authenticated-encryption/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Status: shipping Record updated: 2026-11-22 Authenticated encryption combines confidentiality with cryptographic integrity protection for the protected message. Note: AEAD additionally authenticates associated data without encrypting it; another layer may protect its confidentiality. RFC 5116 defines decryption as returning plaintext or failure and requires compliance with the chosen algorithm's nonce rules. It leaves anti-replay services and access decisions outside the interface. [rfc5116] A storage design therefore needs a separate trusted freshness mechanism if it must reject older valid data. [broz2018] Key commitment is an additional property: ordinary AEAD security does not promise that a ciphertext cannot authenticate under two different keys. Distinguish that guarantee from full commitment, which binds every encryption input, and from a few wrong-key rejection tests. [rfc9771] [albertini2022] Limitations: - Authentication does not repair damaged bytes or prove that a write was durable; those are separate storage contracts. (sources: [hesela-encryption]) Related terms: - [xts-aes](https://hesela.dev/terms/xts-aes/) - [cryptographic-nonce](https://hesela.dev/terms/cryptographic-nonce/) - [dm-crypt](https://hesela.dev/terms/dm-crypt/) - [luks](https://hesela.dev/terms/luks/) - [dm-integrity](https://hesela.dev/terms/dm-integrity/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [lost-write](https://hesela.dev/terms/lost-write/) - [replay-attack](https://hesela.dev/terms/replay-attack/) - [rollback-protection](https://hesela.dev/terms/rollback-protection/) - [hmac](https://hesela.dev/terms/hmac/) - [message-authentication-code](https://hesela.dev/terms/message-authentication-code/) - [oblivious-ram](https://hesela.dev/terms/oblivious-ram/) - [aes-gcm-siv](https://hesela.dev/terms/aes-gcm-siv/) - [key-commitment](https://hesela.dev/terms/key-commitment/) Citations: - [rfc5116] RFC 5116: AEAD scope, interface and nonce requirements, sections 1.2, 2 and 3.1. https://www.rfc-editor.org/rfc/rfc5116.html (accessed 2026-10-15) - [broz2018] Broz, Patocka and Matyas: Practical cryptographic data integrity protection with full disk encryption (extended version), 2018, section 2.4. https://arxiv.org/pdf/1807.00309v1 (accessed 2026-10-15) - [hesela-encryption] Hesela: Encryption is not authentication. https://hesela.com/analyses/checksums-identity-and-lost-writes/#encryption-boundaries (accessed 2026-10-15) - [rfc9771] RFC 9771: Properties of AEAD Algorithms, sections 4.3.2-4.3.3 (Informational, 2025). https://www.rfc-editor.org/rfc/rfc9771.html#section-4.3.3 (accessed 2026-11-22) - [albertini2022] Albertini et al.: How to Abuse and Fix Authenticated Encryption Without Key Commitment. USENIX Security 2022, pp. 3291-3308, sections 2-3. https://www.usenix.org/system/files/sec22-albertini.pdf (accessed 2026-11-22) ### Automated storage tiering URL: https://hesela.dev/terms/automated-storage-tiering/ Related article: https://hesela.com/tech/enterprise-ssd/ Also known as: auto-tiering Status: shipping Record updated: 2026-10-31 Automated storage tiering relocates data among storage classes according to a policy without requiring a person to perform each move. Note: Scope: Tiers can differ in performance, capacity or cost. Their existence does not imply automatic movement; automation adds policy-controlled relocation within or across systems, including a cloud tier. [snia-tiers] [snia-auto] Policy and placement are different states. In the cited volume-tiering implementation, changing auto to none does not itself recall blocks already in the capacity tier. Separate retrieval controls affect their return. Check actual placement after a policy change. [fabricpool-policy] Retrieval: From ONTAP 9.8, cloud-retrieval-policy can override tiering defaults. Under default retrieval, auto brings cold data back on random reads but not sequential reads; on-read brings it back for either pattern, while never leaves read blocks in the cloud. Reading only filenames, timestamps or ownership metadata does not heat the underlying data blocks. [fabricpool-policy] [fabricpool-recovery] Completion: Using none plus promote requests proactive retrieval of all tiered volume data. Using snapshot-only plus promote targets tiered active-filesystem data, not blocks used only by snapshots. Check promotion status with volume object-store tiering show; accepting a policy change is not proof that promotion has finished. [fabricpool-promote] Cache safety cannot be reduced to a move-versus-copy distinction. A dirty write-back block can be newer than its stale origin copy; losing that cache can lose updates. The cited cache also describes promotion and demotion as migration. [dm-cache-612] A capacity tier is not an independent backup merely because it is remote. In the cited architecture, required metadata stays on the performance tier, so the capacity-tier blocks alone cannot reconstruct the system after that metadata is lost. [fabricpool-recovery] Limitations: - Automatic placement does not establish immediate migration or a guarantee that every read promotes data. (sources: [fabricpool-policy]) Sources and caveats: - SNIA supplies the terminology and auto-tiering alias; the broader storage tiering alias remains attached to hot-warm-cold. [snia-auto] [snia-tiers] [snia-alias] - FabricPool supplies the policy-change, retrieval and metadata examples; these are not universal rules for every tiering system. [fabricpool-policy] [fabricpool-recovery] - Linux 6.12 supplies a counterexample to treating every cache as a disposable current copy. [dm-cache-612] - Documentation synthesis, not a device experiment, measured speedup or independent recovery test. - The ONTAP promotion procedure documents requested data scope and a separate status check; this is not a completed recall or a tier-removal procedure tested by Hesela. [fabricpool-promote] Related terms: - [hp-autoraid](https://hesela.dev/terms/hp-autoraid/) - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [hybrid-flash-array](https://hesela.dev/terms/hybrid-flash-array/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [object-storage](https://hesela.dev/terms/object-storage/) Citations: - [snia-auto] SNIA Dictionary: automated storage tiering, policy-controlled movement within and across systems. https://www.snia.org/education/online-dictionary/term/automated-storage-tiering (accessed 2026-10-31) - [snia-tiers] SNIA Dictionary: tiered storage, distinct classes and optional dynamic movement. https://www.snia.org/education/online-dictionary/term/tiered-storage (accessed 2026-10-31) - [snia-alias] SNIA Dictionary: auto-tiering synonym. https://www.snia.org/education/online-dictionary/term/auto-tiering (accessed 2026-10-31) - [fabricpool-policy] NetApp ONTAP: FabricPool volume tiering policies, policy changes and cloud retrieval controls. https://docs.netapp.com/us-en/ontap/fabricpool/tiering-policies-concept.html (accessed 2026-10-31) - [dm-cache-612] Linux 6.12: dm-cache glossary and cache operating modes, origin-copy and writeback semantics. https://www.kernel.org/doc/html/v6.12/admin-guide/device-mapper/cache.html (accessed 2026-10-31) - [fabricpool-recovery] NetApp: Oracle database FabricPool tiering overview, Architecture, Data and metadata, and Backups. https://docs.netapp.com/us-en/ontap-apps-dbs/oracle/oracle-tiering-overview.html (accessed 2026-10-31) - [fabricpool-promote] NetApp ONTAP: Promote data to the performance tier, ONTAP 9.8 and later; requested scope and promotion-status check. https://docs.netapp.com/us-en/ontap/fabricpool/promote-data-performance-tier-task.html (accessed 2026-10-31) ### Average eviction time (AET) URL: https://hesela.dev/terms/average-eviction-time/ Also known as: AET cache model, Kinetic cache model Status: research Record updated: 2026-11-18 Average eviction time is the mean interval from a cached block's last access to its eviction, used by a kinetic model to estimate LRU miss-ratio curves. Note: AET models a fully associative LRU cache using the reuse-time tail P(t). It finds a cutoff T whose tail integral equals cache capacity, then estimates the miss ratio as P(T). Time counts references, not seconds or storage latency. [paper] Eviction time runs from a block's last access to its eviction, not from insertion. In two-slot LRU on ABACD, A enters at index 0, is reused at 2 and leaves at 4: eviction time is 2, residence time is 4. Residents still present at the trace end have no observed completed eviction. [paper] [example] Cold accesses contribute infinite reuse times to the histogram. This keeps their probability in the tail. Phase sampling retains outstanding monitors across phase boundaries; resetting them discards cross-phase reuse. [paper] Approximation matters: AACBAB and ABAABC each have three cold accesses and finite intervals 1, 2 and 3. A declared step-tail integration gives T = 9/4 at capacity 2 and predicts 4/6 misses for both. Exact empty-cache LRU instead gives 4/6 and 3/6. The shared histogram cannot distinguish the traces. [example] This calculation is an illustrative interpretation of the paper's equations, not its sampler or benchmark implementation. Sampling error and histogram-to-LRU approximation are different issues; full-trace inputs do not make the latter universally exact. [paper] [code] Sources and caveats: - Primary paper sections 1-7 reviewed. No author implementation, sampler, hardware result or original workload was reproduced. - The 2018 journal extension is separate: Fast miss ratio curve modeling for storage cache, DOI 10.1145/3185751; this record describes the 2016 paper. - The two histogram-equivalent traces reuse existing Hesela evidence. New arithmetic declares its interpolation and preserves the all-request denominator. Related terms: - [reuse-time](https://hesela.dev/terms/reuse-time/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) - [statstack](https://hesela.dev/terms/statstack/) Citations: - [paper] Hu et al. Kinetic Modeling of Data Eviction in Cache. USENIX ATC 2016, pp. 351-364; sections 2.1-2.3 and 3.2-3.3. https://www.usenix.org/system/files/conference/atc16/atc16_paper-hu.pdf (accessed 2026-11-18) - [metadata] USENIX. Kinetic Modeling of Data Eviction in Cache: authors and proceedings metadata. https://www.usenix.org/conference/atc16/technical-sessions/presentation/hu (accessed 2026-11-18) - [example] Hesela. AET step-tail arithmetic and completed-eviction ledgers; constructed traces. https://hesela.dev/research/average-eviction-time/evidence.json (accessed 2026-11-18) - [code] Hesela. Bounded evaluator with exact rational cutoffs and explicit interpolation. https://hesela.dev/research/average-eviction-time/model.mjs (accessed 2026-11-18) - [tests] Hesela. Independent tail-sum and stack-distance checks for the teaching model. https://hesela.dev/research/average-eviction-time/model.test.mjs (accessed 2026-11-18) ### Average precision URL: https://hesela.dev/terms/average-precision/ Related analysis: https://hesela.com/analyses/ml-disk-failure-prediction/ Also known as: AP, non-interpolated average precision Status: shipping Record updated: 2026-11-22 Average precision summarizes a ranked score list by weighting the precision at each threshold by the increase in recall since the previous threshold. Note: Non-interpolated AP = sum((R_n - R_(n-1)) * P_n), with thresholds ordered by increasing recall and initial recall zero. Equal scores enter together at one threshold. With distinct scores, AP averages the precision at each positive's rank. [sklearn-ap] Trapezoidal PR-AUC uses linear interpolation between curve points and can be optimistic. Achievable interpolation between two operating points is generally non-linear in precision-recall space. [sklearn-ap] [boyd2013] [prg2015] Prevalence is the population no-skill precision reference and the AP of a constant-score predictor evaluated as one tied group. It is not generally the mean AP of a finite, tie-free random ranking. For N > 1 fixed observations, M positives (1 <= M <= N), equal weights and a uniformly random ordering independent of labels, E[AP] = M/N + (N-M)(H_N-1)/(N(N-1)), where H_N = sum(1/k), k=1..N. [sklearn-ap] [random-ap] With one positive among 100 observations, exact null-model arithmetic gives mean random-ranking AP about 0.051874, versus 0.01 for constant scores. An AP of 0.05 is therefore not five times the finite-ranking null mean. Report N, M, tie handling, weighting and class averaging; exceeding a null mean alone does not establish statistical significance. Small positive counts also make area estimates unstable. [random-ap] [boyd2013] Advantages: - AP rewards placing positives near the top of a ranking, so it can compare score orderings before any operating point has been fixed. (sources: [sklearn-ap]) Limitations: - A single AP value hides the operating point, so it does not say how many alerts a chosen threshold would produce. (sources: [sklearn-ap]) - Estimates near recall zero have high variance, because whether the top-scored example is positive or negative changes where the curve starts. (sources: [boyd2013]) Sources and caveats: - sklearn-ap re-read 2026-10-23 for the non-interpolated sum, the contrast with trapezoidal integration and the macro default for multi-label averaging. - boyd2013 read 2026-10-23, sections 2 to 4, for the plug-in estimator, PR-space interpolation, variance near recall zero and small-sample bias at prevalence 0.1. - prg2015 read 2026-10-23, section 2, for the prevalence baseline, non-linear interpolation and unachievable regions of precision-recall space. - The matthews-correlation-coefficient entry links here because it scores one thresholded confusion matrix, while average precision scores the whole ranking without fixing a threshold. - A companion analysis on disk failure prediction is listed but not used in prose. - Corrected 2026-11-22: population precision and constant-score AP are distinct from finite tie-free random-ranking AP. Theorem 1, equation (4), with k=N, supplies the exact fixed-count expectation; DOI 10.15559/26-VMSTA298. - Exact rational enumeration checks every positive-position subset for 2<=N<=10: 54 count pairs and 2035 label sequences. The worked values are null-model arithmetic, not a fleet measurement or new statistical theorem. Related terms: - [precision](https://hesela.dev/terms/precision/) - [recall](https://hesela.dev/terms/recall/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [probability-calibration](https://hesela.dev/terms/probability-calibration/) - [smote](https://hesela.dev/terms/smote/) - [matthews-correlation-coefficient](https://hesela.dev/terms/matthews-correlation-coefficient/) Citations: - [sklearn-ap] scikit-learn: average_precision_score; non-interpolated AP, trapezoidal contrast and multi-label averaging options. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.average_precision_score.html (accessed 2026-11-22) - [hesela-prediction] Hesela: disk failure prediction, metric denominators and a synthetic alert-count example. https://hesela.com/analyses/ml-disk-failure-prediction/ (accessed 2026-10-12) - [boyd2013] Boyd, Eng and Page. Area Under the Precision-Recall Curve: Point Estimates and Confidence Intervals. ECML PKDD 2013, sections 2 to 4. https://pages.cs.wisc.edu/~boyd/aucpr_final.pdf (accessed 2026-10-23) - [prg2015] Flach and Kull. Precision-Recall-Gain Curves: PR Analysis Done Right. NeurIPS 2015, section 2. https://proceedings.neurips.cc/paper_files/paper/2015/file/33e8075e9970de0cfea955afd4644bb2-Paper.pdf (accessed 2026-10-23) - [random-ap] Manzhos, Ianevych and Melnyk (2026). Average precision at cutoff k under random rankings: expectation and variance. Theorem 1, k=N. https://www.vmsta.org/journal/VMSTA/article/353/text (accessed 2026-11-22) ### B-epsilon tree URL: https://hesela.dev/terms/b-epsilon-tree/ Related analysis: https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ Also known as: Bε-tree, B^ε-tree, B-epsilon-tree Status: shipping Record updated: 2026-11-11 A B-epsilon tree is an ordered index that buffers update messages in internal nodes and transfers them toward leaves in batches. Note: A lookup combines the leaf value with pending messages on its search path. The equal-size-item model trades node fanout against buffering; B denotes capacity in items, not a fixed number of bytes. TokuDB and the BetrFS research filesystem are implementation examples, not equivalent deployment guarantees. [betrfs] The classical update bound is amortized: one buffer flush can trigger further flushes. Das, Iacono and Nekrich give a different, deamortized variant in the external-memory model. Its subconstant update cost means bounded I/O work spaced across groups of updates, not fractional physical I/Os. This theorem does not give TokuDB or BetrFS a worst-case latency guarantee. [das2022] Related terms: - [buffered-upsert](https://hesela.dev/terms/buffered-upsert/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [full-path-indexing](https://hesela.dev/terms/full-path-indexing/) - [range-rename](https://hesela.dev/terms/range-rename/) - [copy-on-abundant-write](https://hesela.dev/terms/copy-on-abundant-write/) - [late-binding-journal](https://hesela.dev/terms/late-binding-journal/) - [b-tree](https://hesela.dev/terms/b-tree/) - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) - [betrfs](https://hesela.dev/terms/betrfs/) - [write-optimized-dictionary](https://hesela.dev/terms/write-optimized-dictionary/) - [size-tiered-b-epsilon-tree](https://hesela.dev/terms/size-tiered-b-epsilon-tree/) Citations: - [betrfs] William Jannen et al. BetrFS: A Right-Optimized Write-Optimized File System. FAST 2015, pp. 301-315; sections 2, 4, 5 and 7. Read with the publisher's erratum. https://files.usenix.org/s3fs-public/cdn/fast15-paper-jannen_william.pdf (accessed 2026-10-16) - [hesela-buffered] Hesela. B-epsilon trees: visible updates, deferred work. https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ (accessed 2026-10-16) - [das2022] Das, Iacono and Nekrich. External-Memory Dictionaries with Worst-Case Update Cost. ISAAC 2022, Theorem 2 and sections 3.1, 3.3, 3.5. https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ISAAC.2022.21 (accessed 2026-11-11) ### B-link tree URL: https://hesela.dev/terms/b-link-tree/ Related analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Also known as: B link tree, Lehman-Yao tree Status: shipping Record updated: 2026-11-15 A B-link tree augments an ordered search tree with high keys and right-sibling links so searches can recover from concurrent node splits. Note: A stale parent route may reach the left half of a newly split node. If the sought key exceeds that node's high key, the search follows a right link toward the correct range. Lehman and Yao's model assumes private page copies and allows reads without acquiring its update locks; section 6.4 explicitly leaves livelock possible. [lehman-yao] PostgreSQL adapts the algorithm to shared buffers and uses page-level read locks. The paper's no-read-lock property must not be restated as a lock-free PostgreSQL guarantee. These links solve index-navigation races, not MVCC visibility or crash recovery by themselves. [nbtree] Sources and caveats: - Source review of the 1981 algorithm and PostgreSQL REL_16_15 implementation notes; no concurrent workload or speedup was measured. Related terms: - [b-tree](https://hesela.dev/terms/b-tree/) - [postgresql-index-only-scan](https://hesela.dev/terms/postgresql-index-only-scan/) - [postgresql-visibility-map](https://hesela.dev/terms/postgresql-visibility-map/) - [bw-tree](https://hesela.dev/terms/bw-tree/) Citations: - [lehman-yao] Lehman and Yao (1981), Efficient Locking for Concurrent Operations on B-Trees, TODS 6(4), 650-670; DOI 10.1145/319628.319663. https://www.cs.cmu.edu/~dga/15-712/F07/papers/Lehman81.pdf (accessed 2026-10-22) - [nbtree] PostgreSQL REL_16_15: Btree Indexing, algorithm and shared-buffer differences. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/access/nbtree/README (accessed 2026-10-22) ### B+ tree URL: https://hesela.dev/terms/b-plus-tree/ Related analysis: https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ Also known as: B+Tree, B plus tree Status: shipping Record updated: 2026-11-15 A B+ tree is a balanced ordered search tree whose application records or record references reside at the leaves, with internal nodes routing searches. Note: Leaves share a common depth; sibling links commonly support ordered traversal. Internal separators guide searches and need not be complete copies of current leaf keys. This leaf-oriented layout is a variant within the broader B-tree family, not an exact synonym for every implementation called B-tree. [cmu] A page-layout label alone does not specify transaction visibility or crash recovery; those are additional implementation contracts. PostgreSQL's documented B-Tree structure, for example, separates leaf row references from internal downlinks. [postgresql] Related terms: - [b-tree](https://hesela.dev/terms/b-tree/) - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [lmdb](https://hesela.dev/terms/lmdb/) - [fptree](https://hesela.dev/terms/fptree/) - [pactree](https://hesela.dev/terms/pactree/) - [nv-tree](https://hesela.dev/terms/nv-tree/) - [bw-tree](https://hesela.dev/terms/bw-tree/) - [leanstore](https://hesela.dev/terms/leanstore/) - [masstree](https://hesela.dev/terms/masstree/) Citations: - [cmu] Carnegie Mellon 15-445/645, Fall 2024: Indexes & Filters I, sections 2 and 4.5. https://15445.courses.cs.cmu.edu/fall2024/notes/08-indexes1.pdf (accessed 2026-10-22) - [postgresql] PostgreSQL 18: B-Tree indexes, structure and page splits. https://www.postgresql.org/docs/18/btree.html#BTREE-IMPLEMENTATION (accessed 2026-10-22) - [hesela-buffered] Hesela: B-epsilon trees, B-tree foundations and observed page placement. https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ (accessed 2026-10-22) ### B-tree URL: https://hesela.dev/terms/b-tree/ Related analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Also known as: B tree, BTree Status: shipping Record updated: 2026-11-21 A B-tree is a balanced multiway search-tree family that groups ordered keys into nodes and keeps leaves at a common depth. Note: Many keys fit in one node, allowing a page-oriented index to branch more widely than a binary search tree. Implementations differ in whether records appear in internal nodes or only at leaves; B-tree is often used as a family name. [lehman-yao] PostgreSQL B-tree indexes support equality, range predicates and ordered retrieval. An index's ordering does not establish transaction visibility or verify the stored payload; an index-only scan has additional requirements. [pg-indexes] [ios] A classical B-tree can keep entries in internal nodes and leaves, whereas a B+ tree places application records or their references at leaves. [cmu] PostgreSQL 18 calls its access method B-Tree but documents leaf tuples pointing to table rows and internal tuples pointing to lower levels. Its pages are linked at each level, and splits can propagate toward the root. The product name alone does not specify classical record placement. [postgresql] Sources and caveats: - Family-level definition; PostgreSQL-supported operations and index-only visibility requirements are scoped to version 16, and page-structure details to version 18. Related terms: - [bitmap-index](https://hesela.dev/terms/bitmap-index/) - [b-link-tree](https://hesela.dev/terms/b-link-tree/) - [postgresql-index-only-scan](https://hesela.dev/terms/postgresql-index-only-scan/) - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sqlite-without-rowid](https://hesela.dev/terms/sqlite-without-rowid/) - [bw-tree](https://hesela.dev/terms/bw-tree/) - [partial-index](https://hesela.dev/terms/partial-index/) - [covering-index](https://hesela.dev/terms/covering-index/) - [clustered-index](https://hesela.dev/terms/clustered-index/) - [secondary-index](https://hesela.dev/terms/secondary-index/) - [composite-index](https://hesela.dev/terms/composite-index/) - [postgresql-hash-index](https://hesela.dev/terms/postgresql-hash-index/) - [cache-oblivious-algorithm](https://hesela.dev/terms/cache-oblivious-algorithm/) Citations: - [lehman-yao] Lehman and Yao (1981), Efficient Locking for Concurrent Operations on B-Trees, TODS 6(4), 650-670; DOI 10.1145/319628.319663. https://www.cs.cmu.edu/~dga/15-712/F07/papers/Lehman81.pdf (accessed 2026-10-22) - [pg-indexes] PostgreSQL 16: Index Types, B-tree supported operations. https://www.postgresql.org/docs/16/indexes-types.html (accessed 2026-10-22) - [ios] PostgreSQL 16: Index-Only Scans and Covering Indexes. https://www.postgresql.org/docs/16/indexes-index-only-scans.html (accessed 2026-10-22) - [cmu] Carnegie Mellon 15-445/645, Fall 2024: Indexes & Filters I, sections 2 and 4.5. https://15445.courses.cs.cmu.edu/fall2024/notes/08-indexes1.pdf (accessed 2026-10-22) - [postgresql] PostgreSQL 18: B-Tree indexes, structure and page splits. https://www.postgresql.org/docs/18/btree.html#BTREE-IMPLEMENTATION (accessed 2026-10-22) - [hesela-buffered] Hesela: B-epsilon trees, B-tree foundations and observed page placement. https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ (accessed 2026-10-22) ### B10 life URL: https://hesela.dev/terms/b10-life/ Related analysis: https://hesela.com/analyses/mttf-vs-field-replacement-rates/ Also known as: B10 lifetime, 10th-percentile life Status: shipping Record updated: 2026-11-19 B10 life is the tenth percentile of a specified population's time to a defined failure event. Note: Specify population, failure event, time origin, units and conditions. For a continuous, strictly increasing lifetime CDF F, F(B10) = 0.10 and S(B10) = 0.90. More generally, B10 is the earliest time F reaches or exceeds 0.10; a discrete jump need not give exactly 10% failed. This is not an individual device's failure date. [nist-b10] [r-quantile] For an unshifted two-parameter Weibull model with scale eta > 0 and shape k > 0, B10 = eta * (-ln(0.9))^(1/k). Eta has time units; k is dimensionless. Eta is the characteristic life at about 63.2% cumulative failures, not B10 and not generally the mean. State the parameter convention; the formula does not establish a Weibull fit to drives. [nist-weibull] The 90% survival fraction is not a 90% confidence level. An estimated B10 may separately have a confidence interval or one-sided bound. Report its method and level: the percentile identifies the population quantity, confidence concerns its estimation. [nist-confidence] Retain right-censored observations rather than taking the tenth percentile of failures alone. In fixed-time censored likelihood, failed units contribute density terms and survivors contribute survival terms. Report failures, sample size and censoring assumptions, including non-informative censoring. A fitted B10 need not be an observed quantile. [nist-censored-mle] Cluster replacement gaps are not device lifetimes. Schroeder and Gibson's FAST 2007 section 5.3 fits Weibull to gaps between HPC1 replacements; those parameters cannot supply individual disk-lifetime B10. [schroeder-gaps] Related terms: - [weibull-distribution](https://hesela.dev/terms/weibull-distribution/) - [survival-function](https://hesela.dev/terms/survival-function/) - [quantile](https://hesela.dev/terms/quantile/) Citations: - [nist-b10] NIST e-Handbook 1.4.4: B10 as the estimated 10% point of failure times. https://www.itl.nist.gov/div898/handbook/eda/section4/eda44.htm (accessed 2026-11-19) - [r-quantile] R stats documentation: sample quantiles and inverse empirical CDF. https://stat.ethz.ch/R-manual/R-devel/library/stats/html/quantile.html (accessed 2026-11-19) - [nist-weibull] NIST e-Handbook 8.1.6.2: Weibull formulas and parameter conventions. https://www.itl.nist.gov/div898/handbook/apr/section1/apr162.htm (accessed 2026-11-19) - [nist-confidence] NIST e-Handbook 1.3.5.2: confidence-interval interpretation. https://www.itl.nist.gov/div898/handbook/eda/section3/eda352.htm (accessed 2026-11-19) - [nist-censored-mle] NIST e-Handbook 8.4.1.2: censored likelihood and estimation limits. https://www.itl.nist.gov/div898/handbook/apr/section4/apr412.htm (accessed 2026-11-19) - [schroeder-gaps] Schroeder and Gibson: Disk failures in the real world, FAST 2007, sections 2.1 and 5.3. https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder_html/index.html (accessed 2026-11-19) ### Background fsck URL: https://hesela.dev/terms/background-fsck/ Related analysis: https://hesela.com/analyses/soft-updates-metadata-ordering/ Also known as: background filesystem check Status: shipping Record updated: 2026-10-22 Background fsck is a filesystem-specific consistency-checking mode that performs permitted repairs while the filesystem remains in use. Note: The 2002 BSD design uses a snapshot and kernel-assisted reclamation. [background2002] The FreeBSD 14.3 manual requires eligible soft-updates filesystems and stops background cleaning on unexpected errors. [freebsd143] FreeBSD 14.3 checks eligible file systems one at a time, after a startup delay that defaults to 60 seconds so large applications can start before the check takes disk bandwidth. A negative delay postpones the check indefinitely so it can be scheduled later. [fsck143] [rcconf143] During a background check the file system runs at about half its normal performance. Background checking covers only the most common abnormalities, so periodic foreground checks are still recommended. [tunefs143] [fsck143] Advantages: - Other system activity proceeds during the check, because background checking starts asynchronously. (sources: [fsck143]) Limitations: - This is not a generic permission to run an arbitrary repair tool against a mounted filesystem. (sources: [background2002]) - Some errors can escape background checking and are found only by a foreground check. (sources: [fsck143]) Sources and caveats: - freebsd143 is the FreeBSD 14.3-RELEASE fsck_ffs(8) page, reread on the access date in the -B and -F options. - fsck143 is the FreeBSD 14.3-RELEASE fsck(8) page, read in the description and the -B option. - rcconf143 is the FreeBSD 14.3-RELEASE rc.conf(5) page, read in background_fsck and background_fsck_delay. - tunefs143 is the FreeBSD 14.3-RELEASE tunefs(8) page, read in the -j option. - One at a time comes from fsck143. 60 seconds and the negative delay come from rcconf143. About half comes from tunefs143. Related terms: - [wafl-iron](https://hesela.dev/terms/wafl-iron/) - [soft-updates](https://hesela.dev/terms/soft-updates/) - [snapshot](https://hesela.dev/terms/snapshot/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [sqck](https://hesela.dev/terms/sqck/) Citations: - [background2002] McKusick. Running "fsck" in the Background. BSDCon 2002, pp. 55-64, sections 4-7. https://static.usenix.org/events/bsdcon/mckusick/mckusick_html/index.html (accessed 2026-10-15) - [freebsd143] FreeBSD 14.3-RELEASE fsck_ffs(8): background checking, eligibility and exit status. https://man.freebsd.org/cgi/man.cgi?query=fsck_ffs&sektion=8&manpath=FreeBSD+14.3-RELEASE (accessed 2026-10-22) - [hesela-soft] Hesela: Soft updates and metadata ordering. https://hesela.com/analyses/soft-updates-metadata-ordering/ (accessed 2026-10-15) - [fsck143] FreeBSD 14.3-RELEASE fsck(8): background mode. https://man.freebsd.org/cgi/man.cgi?query=fsck&sektion=8&manpath=FreeBSD+14.3-RELEASE (accessed 2026-10-22) - [rcconf143] FreeBSD 14.3-RELEASE rc.conf(5): background_fsck and background_fsck_delay. https://man.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5&manpath=FreeBSD+14.3-RELEASE (accessed 2026-10-22) - [tunefs143] FreeBSD 14.3-RELEASE tunefs(8): soft updates journaling and background check cost. https://man.freebsd.org/cgi/man.cgi?query=tunefs&sektion=8&manpath=FreeBSD+14.3-RELEASE (accessed 2026-10-22) ### Backpointer-based consistency URL: https://hesela.dev/terms/backpointer-based-consistency/ Related analysis: https://hesela.com/analyses/soft-updates-metadata-ordering/ Also known as: NoFS consistency Status: research Record updated: 2026-11-13 Backpointer-based consistency checks agreement between a filesystem reference and ownership information embedded in its target. Note: NoFS data-block backpointers encode owner inode number and logical block offset; inode backlinks identify parent directories. Allocation information is reconstructed online rather than trusted from persistent bitmaps. [nofs2012] Following a crash, pathname lookup may reject an entry still visible in a directory listing. Orphan recovery is possible when its data blocks validate, but neither atomic transaction recovery nor restoration of overwritten contents is guaranteed. [nofs2012] In the prototype, mounting does not finish verification. Calling stat() may inspect all of a file's blocks, the first overwrite of an unverified block requires an ownership read, and allocation can wait for a scan to identify usable free space. [nofs2012] Advantages: - Ownership checks can expose stale references to reallocated blocks. (sources: [nofs2012]) Limitations: - The design assumes atomic block-plus-backpointer writes. Matching identity permits stale versions; detection does not guarantee restoration of lost or overwritten contents. (sources: [nofs2012]) Sources and caveats: - Historical research design; source review, not a Hesela implementation or hardware test. Related terms: - [soft-updates](https://hesela.dev/terms/soft-updates/) - [metadata-update-dependency](https://hesela.dev/terms/metadata-update-dependency/) - [optimistic-crash-consistency](https://hesela.dev/terms/optimistic-crash-consistency/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) Citations: - [nofs2012] Chidambaram et al. Consistency Without Ordering. FAST 2012, sections 2.1, 3.2-3.3 and 4.2-4.4 (allocation reconstruction: 4.3). https://research.cs.wisc.edu/adsl/Publications/nofs-fast12.pdf (accessed 2026-11-13) ### Backpressure URL: https://hesela.dev/terms/backpressure/ Related analysis: https://hesela.com/analyses/storage-latency-coordinated-omission/ Also known as: back pressure Status: shipping Record updated: 2026-11-29 Backpressure propagates downstream capacity constraints upstream so a producer slows or pauses further work. Note: Queue boundary: SEDA separates stages with explicit event queues; blocking when a downstream queue is full can propagate congestion upstream. Dropping work is a different response. Buffering can absorb a burst but cannot create downstream service capacity. [seda] Write contract: A healthy Node.js Writable may accept a chunk while write returns false; pause further writes until drain rather than resubmitting that chunk. highWaterMark is a flow-control threshold, not a strict memory cap. Errors still need separate handling. [node-stream] Persistence: A buffer-pressure signal is not a durable-storage acknowledgement. FileHandle.sync requests a flush to the storage device; its implementation depends on the operating system and device. [node-sync] Sources and caveats: - SEDA is a service-architecture paper, not an SSD benchmark. Node.js API documentation was checked on 2026-11-20. - The companion example exercises an in-memory Node.js Writable; it neither writes a storage device nor simulates power loss. Related terms: - [admission-control](https://hesela.dev/terms/admission-control/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [coordinated-omission](https://hesela.dev/terms/coordinated-omission/) - [fuse-background-limit](https://hesela.dev/terms/fuse-background-limit/) Citations: - [seda] Welsh, Culler and Brewer: SEDA, SOSP 2001, section 3.3 (finite event queues and overload responses). https://www.sosp.org/2001/papers/welsh.pdf (accessed 2026-11-20) - [node-stream] Node.js stream documentation: buffering, writable.write and drain. https://nodejs.org/api/stream.html (accessed 2026-11-20) - [node-sync] Node.js file-system documentation: FileHandle.sync and writeFile flush option. https://nodejs.org/api/fs.html (accessed 2026-11-20) ### Backup catalog URL: https://hesela.dev/terms/backup-catalog/ Also known as: backup catalogue Status: shipping Record updated: 2026-11-29 A backup catalog is a metadata repository that records backup jobs, saved objects and their media or locations to support restore selection. Note: Index and payload: File indexes and job-to-volume records locate recovery data; the stored file contents remain on backup media. A catalog can cover many jobs, unlike an inventory for one backup. [bareos-catalog] Reconstruction: The documented bscan procedure rebuilds catalog entries from surviving volumes, but not Client records or changer-slot assignments. For records spanning volumes, include all necessary volumes in one scan; out-of-order scanning can leave a newly reconstructed catalog incomplete. Retain the matching client and device configuration. [bareos-bscan] History: A recovery catalog can retain metadata longer than a database control file. Recreating it only from that control file cannot recover records that have aged out; available backups may need separate recataloging. [rman-catalog] Recovery scope: Catalog loss and payload loss are different failures. A surviving catalog does not recreate missing backup contents, and absent catalog entries do not establish that the media was erased. Verify recovered contents after locating the intended copy. [bareos-catalog] [bareos-bscan] [rman-catalog] After scanning: Retention rules can prune reconstructed records again. The scan cannot recover all original job timestamps, so CopyJob, MigrationJob and VirtualFull ordering can differ, affecting always-incremental chains. Check retention and chain order before treating the rebuilt catalog as ready. [bareos-bscan] Limitations: - Catalog protection must include its own recovery dependencies; storing it with the database and disks it protects exposes both to the same failure. (sources: [rman-catalog]) Sources and caveats: - Bareos 25 and Oracle Database 19 describe different implementations, not a shared catalog schema or universal reconstruction guarantee. - Documentation synthesis; no catalog rebuild or backup restore was executed. Related terms: - [backup](https://hesela.dev/terms/backup/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [restore-test](https://hesela.dev/terms/restore-test/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [ndmp](https://hesela.dev/terms/ndmp/) Citations: - [bareos-catalog] Bareos 25: catalog indexes and the separate storage daemon. https://docs.bareos.org/bareos-25/IntroductionAndTutorial/WhatIsBareos.html#catalog (accessed 2026-11-16) - [bareos-bscan] Bareos 25: bscan reconstruction, missing metadata and multi-volume ordering. https://docs.bareos.org/bareos-25/Appendix/BareosPrograms.html#bscan (accessed 2026-11-16) - [rman-catalog] Oracle Database 19: recovery-catalog history, protection and partial reconstruction. https://docs.oracle.com/en/database/oracle/oracle-database/19/bradv/managing-recovery-catalog.html (accessed 2026-11-16) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-11-16) ### Backup manifest URL: https://hesela.dev/terms/backup-manifest/ Status: shipping Record updated: 2026-11-21 A backup manifest is a machine-readable inventory of expected backup contents and associated verification metadata. Note: PostgreSQL uses UTF-8 JSON with file paths, sizes and optional checksums; modification times are informational. Required WAL ranges are also recorded. Other formats need not use this schema. A TAR pathname can name multiple stored entries. Retain an occurrence or duplicate-name policy and the intended payload digest; a name-keyed inventory can collapse entries. [hesela-tar-members] For PostgreSQL WAL ranges, Timeline identifies the branch, Start-LSN the replay start and End-LSN the earliest usable end. A standby following an upstream promotion during backup can produce multiple ranges on different timelines. Preserve each range. [ranges] BagIt 1.0 requires completeness and validation of every declared checksum. Hashing surviving files misses omissions. Keep recovery expectations independently: manifests do not authenticate data against active replacement. [bagit] [hesela-acceptance] Record captured paths, required hard-link groups (including singletons), and boundary-crossing link policy. Equal hashes and link counts do not establish equal groups or exclude external aliases. Compare device/inode equivalence classes using quiescent enumeration. This is not a PostgreSQL manifest-schema change and not a new BagIt requirement. [hesela-rsync-topology] [hesela-rsync-selection] Avro recovery also needs the intended reader schema. [avro-spec] [hesela-avro] Retain original names losslessly and validate the expected destination inventory independently of hashes. Equal-content names can collapse under a transformation while payload checks pass. This is not a PostgreSQL format change. [hesela-filenames] Advantages: - Provides explicit expected file contents for automated checks. (sources: [manifest], [files]) Limitations: - OCFL object validation can accept an intact historical copy or a same-ID, same-head alternative. Bind the intended target independently and still validate its payload; checking only inventory.json omitted payload verification in the pinned ocfl-py 2.1.0 controls. (sources: [ocfl-spec], [ocfl-code], [hesela-ocfl]) - Exact inventory-byte binding rejects harmless JSON reformatting too. Choose an explicit equivalence policy; a stale or replaced expected receipt can select the wrong recovery state. (sources: [ocfl-spec], [hesela-ocfl]) - A consolidated OCFL inventory reduces metadata lookups, not the bytes that must be read for payload verification. The 2019 design paper's operation counts concern indexing and history reconstruction, not a measured full-validation or restore speedup. (sources: [ocfl-paper], [ocfl-spec]) - Optional per-file checksums must not be assumed present. (sources: [files]) - A hash match cannot authenticate a manifest that an attacker could also replace. (sources: [base]) - Valid concatenated XZ streams can be reordered while preserving stream count, total decoded size and successful checks; bind the intended complete output independently of the surviving archive. (sources: [xz-format-source], [hesela-xz]) - An Avro parsing fingerprint alone does not establish identical restored application values. Preserving reader policy is a recovery inference, not a PostgreSQL manifest-format requirement. (sources: [avro-spec], [hesela-avro]) - In a pinned bagit-python 1.9.0 control, full validation accepted missing SHA-512 coverage; SHA-256 still detected changed bytes. A successful command did not establish BagIt 1.0 per-manifest coverage. (sources: [bagit], [bagit-code], [hesela-bagit]) - Specify whether a digest covers a raw object, materialized file or exported archive. A conversion-aware Git hash is not necessarily a digest of the literal file bytes. Versioned .gitattributes alone is insufficient: $GIT_DIR/info/attributes has higher precedence, filter commands are configured separately, and a configured process filter takes precedence over single-blob clean/smudge commands. (sources: [recovery-attributes], [recovery-hash]) - A verified source tag does not authenticate an independently selected archive member inventory. Preserve required paths and trusted output expectations. (sources: [recovery-archive], [recovery-evidence]) - For imports into a current service, distinguish an intended historical restore from preservation of later deletions. Record the target epoch, archive lineage, timestamp-preservation policy and independently retained deletion evidence alongside byte identity. The same old value can be correct for a historical target and wrong for the current deletion objective. This is a recovery-policy inference from a constructed model, not a Cassandra run or a change to PostgreSQL or BagIt manifest requirements. (sources: [restore-backups], [restore-evidence]) Sources and caveats: - OCFL: seven synthetic fixtures, two validation modes, two retained runs (28 CLI calls), plus an exact author-side native replay. One ocfl-py 2.1.0 build, Linux host and Python 3.12.3; no independent replication, crash, cloud or repository-wide completeness claim. - Topology and selected-restore studies retain separate sets of 320 invocations: synthetic quiescent files on one Linux/ext4 host and two rsync builds, not failure-rate samples. - Size, mode and mtime only; no concurrent, open-handle, bind-mount, media-independence, crash or application-recovery claim. - Immutable evidence and historical candidate-status context: https://hesela.dev/research/rsync-topology-20261023/PUBLICATION.md - XZ: nine designed synthetic fixtures, 36 reader observations per capture, two retained repeats on one XZ Utils/liblzma 5.4.5 binary; no field rate or independent replication. Evidence: https://hesela.dev/research/xz-verification/README.md - Avro: nine constructed configurations read by Apache Avro 1.12.2 and fastavro 1.13.1; two retained captures of 18 observations, not field rates or independent peer review. Raw timestamp controls change the supplied writer schema, not an unchanged container's embedded schema. - BagIt: 12 designed cases, 36 actual CLI invocations per run; unchanged upstream 1.9.0 commit 861ddacb339d5b92659f0187a402f501d841abbe. Original 2026-10-26 results replayed 2026-10-28 on the same Linux host; not a field rate, full conformance audit or independent replication. - BagIt mode scope: fast checks payload size/count; completeness-only stops before hashing. Recomputing manifests after replacing bytes can pass full validation but fail the independently retained original-content expectation. - BagIt evidence: https://hesela.dev/research/bagit-validation-observations.json ; offline replay: https://hesela.dev/research/bagit-validation-boundaries.zip - Git representation evidence: 32 view observations, 24 signed exports and 40 checkouts on one Git 2.43.0 implementation. Deliberate controls, not one combined experiment, field rates or a new vulnerability. [recovery-evidence] - 2026-11-03: source synthesis and fixed single-cell model for future-import scope; no native Cassandra experiment or independent peer review. Related terms: - [backup-verification](https://hesela.dev/terms/backup-verification/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [restore-test](https://hesela.dev/terms/restore-test/) - [immutability-storage](https://hesela.dev/terms/immutability-storage/) - [full-backup](https://hesela.dev/terms/full-backup/) - [synthetic-full-backup](https://hesela.dev/terms/synthetic-full-backup/) - [archive-member](https://hesela.dev/terms/archive-member/) - [postgresql-timeline](https://hesela.dev/terms/postgresql-timeline/) - [timeline-history-file](https://hesela.dev/terms/timeline-history-file/) - [hard-link](https://hesela.dev/terms/hard-link/) - [filename-collision](https://hesela.dev/terms/filename-collision/) - [backup-catalog](https://hesela.dev/terms/backup-catalog/) - [bagit](https://hesela.dev/terms/bagit/) - [oxford-common-file-layout](https://hesela.dev/terms/oxford-common-file-layout/) Citations: - [ocfl-spec] OCFL 1.1 specification: object-at-rest consistency and external digests. https://ocfl.io/1.1/spec/ (accessed 2026-11-02) - [ocfl-notes] OCFL 1.1 implementation notes: version immutability and update recovery. https://ocfl.io/1.1/implementation-notes/ (accessed 2026-11-02) - [ocfl-code] ocfl-py 2.1.0: pinned file-versus-object validation dispatch. https://github.com/zimeon/ocfl-py/blob/a480226d54cf8d03d71ab8c56eb69ae8a78e231d/ocfl-validate.py (accessed 2026-11-02) - [hesela-ocfl] Hesela: OCFL controlled results, fixtures, method and replay package. https://hesela.dev/research/ocfl-recovery-boundary/README.md (accessed 2026-11-02) - [manifest] PostgreSQL 18: Backup Manifest Format. https://www.postgresql.org/docs/18/backup-manifest-format.html (accessed 2026-10-13) - [files] PostgreSQL 18: Backup Manifest File Object. https://www.postgresql.org/docs/18/backup-manifest-files.html (accessed 2026-10-13) - [ranges] PostgreSQL 18: Backup Manifest WAL Range Object. https://www.postgresql.org/docs/18/backup-manifest-wal-ranges.html (accessed 2026-10-21) - [base] PostgreSQL 18: pg_basebackup, manifest checksums and trust. https://www.postgresql.org/docs/18/app-pgbasebackup.html (accessed 2026-10-13) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-13) - [hesela-tar-members] Hesela: TAR member selection after successful decompression. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#tar-members (accessed 2026-10-18) - [bagit] RFC 8493: BagIt 1.0, sections 3 and 5.4. https://www.rfc-editor.org/rfc/rfc8493.html (accessed 2026-10-21) - [hesela-acceptance] Hesela: expected-set payload acceptance for TAR recovery. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#payload-acceptance (accessed 2026-10-21) - [hesela-rsync-topology] Hesela: restoring names is not restoring file relationships. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#rsync-topology (accessed 2026-10-23) - [hesela-rsync-selection] Hesela: selected rsync restores, retained observations and reproduction. https://hesela.dev/research/rsync-topology-20261023/selection/README.md (accessed 2026-10-23) - [xz-format-source] XZ format 1.1.0: stream structure, Block Check and Index. https://raw.githubusercontent.com/tukaani-project/xz/49053c0a649f4c8bd2b8d97ce915f401fbc0f3d9/doc/xz-file-format.txt (accessed 2026-10-24) - [hesela-xz] Hesela: XZ stored checks, executed checks and intended stream sequence. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#xz-verification (accessed 2026-10-24) - [avro-spec] Apache Avro: pinned specification, schema resolution, canonical form and encoding formats. https://raw.githubusercontent.com/apache/avro/8fa2067f70e3012cb3fd9a8839cd97e8c7cc1772/doc/content/en/docs/1.12.0/Specification/_index.md (accessed 2026-10-25) - [hesela-avro] Hesela: Avro reader-policy controls and complete reproducible evidence. https://hesela.dev/research/avro-schema-identity/README.md (accessed 2026-10-25) - [bagit-code] Library of Congress: pinned bagit-python 1.9.0 validation implementation. https://raw.githubusercontent.com/LibraryOfCongress/bagit-python/861ddacb339d5b92659f0187a402f501d841abbe/bagit.py (accessed 2026-10-28) - [bagit-readme] Library of Congress: pinned bagit-python validation modes and CC0 notice. https://raw.githubusercontent.com/LibraryOfCongress/bagit-python/861ddacb339d5b92659f0187a402f501d841abbe/README.rst (accessed 2026-10-28) - [hesela-bagit] Hesela: BagIt validation outcomes, controlled observations and replay package. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#bagit-validation (accessed 2026-10-28) - [ocfl-paper] Hankinson et al. (2019): OCFL metadata-read accounting, section 2.1 and Tables 1-2. https://doi.org/10.3390/publications7020039 (accessed 2026-11-02) - [hesela-filenames] Hesela: Restoring file names: when matching hashes hide a lost entry. https://hesela.com/analyses/filename-identity-backup-restores/ (accessed 2026-10-20) - [recovery-attributes] Git v2.43.0: checkout/check-in conversion and filter requirements. https://raw.githubusercontent.com/git/git/564d0252ca632e0264ed670534a51d18a689ef5d/Documentation/gitattributes.txt (accessed 2026-10-28) - [recovery-hash] Git v2.43.0: path-aware hashing and --no-filters. https://raw.githubusercontent.com/git/git/564d0252ca632e0264ed670534a51d18a689ef5d/Documentation/git-hash-object.txt (accessed 2026-10-28) - [recovery-archive] Git v2.43.0: archive attributes and commit labels. https://raw.githubusercontent.com/git/git/564d0252ca632e0264ed670534a51d18a689ef5d/Documentation/git-archive.txt (accessed 2026-10-28) - [recovery-evidence] Hesela: three separately scoped Git recovery-identity studies and runnable evidence. https://hesela.dev/research/git-recovery-identity/README.md (accessed 2026-10-28) - [restore-backups] Apache Cassandra 5.0.0. Backups: retained SSTable copies. https://github.com/apache/cassandra/blob/186272edca920c757b91bf95c2392bafa1a38d72/doc/modules/cassandra/pages/managing/operating/backups.adoc (accessed 2026-11-03) - [restore-evidence] Hesela: archive-import teaching model, source receipts and reproduction. https://hesela.dev/research/tombstone-restore-closure/README.md (accessed 2026-11-03) ### Backup verification URL: https://hesela.dev/terms/backup-verification/ Also known as: backup integrity verification Status: shipping Record updated: 2026-11-22 Backup verification checks stored backup material against specified integrity and completeness rules. Note: A passing check does not prove application recovery. PostgreSQL 18 pg_verifybackup checks the manifest, files and required WAL, not WAL coverage to every later target. WAL parsing needs matching-version tools and plain backups; tar requires --no-parse-wal. Record --skip-checksums and --ignore. It excludes postgresql.auto.conf, standby.signal and recovery.signal. [verify] Freshness: four SQLite 3.45.1 copies completed and passed integrity_check with 64 rows. A retained WAL read snapshot copied generation 1 despite generation 2 committing before copying. Full values revealed the difference. [hesela-backup-view] Completion: in six native API cases, backup_finish returned OK after no step, partial copying or completion. All reopened destinations passed integrity_check; only SQLITE_DONE controls replaced the old generation in both source journal modes. Retain terminal step status, not cleanup alone. [hesela-completion] Selection: rsync --append-verify skips equal-length and longer destinations even with --checksum or --ignore-times. Fourteen of 30 designed rsync 3.2.7 outputs differed despite exit 0; checksum-only controls matched all five inputs. [hesela-append] [rsync-append] Dependencies: Git full fsck can use external objects and accept promised absence in partial clones. In Git 2.43.0, HEAD checkout left history unavailable offline; connectivity-only checks omit blob contents. A changed bundle trailer passed verify but failed unpacking. Test offline content and intended history. [hesela-git] [git-fsck] [git-partial] Permissions: rsync -a preserved bytes and mode 0660 but lost a named-user ACL and broadened the owning-group entry in Linux controls. -aA preserved the ACL. Verify identities and full ACLs separately. [hesela-acl] Advantages: - Can identify missing or altered files before recovery is attempted. (sources: [verify]) Limitations: - Does not replace a restore test. (sources: [verify]) - A result is conditional on a trustworthy manifest. (sources: [base]) - In Git LFS 3.4.1 controls, default fsck passed with an old payload missing or a missing path excluded. Required revision and path coverage must be checked separately. (sources: [lfs-fsck], [lfs-evidence]) - In a constructed Git LFS 3.4.1 size mismatch, a correct 25-byte object passed checks while its pointer declared 26 bytes. Checkout returned 0, left a pointer and removed the cached object. Verify digest, length and materialized bytes on a disposable store. (sources: [lfs-fsck-code], [lfs-smudge], [lfs-evidence]) - A clean Git checkout and matching conversion-aware hash can coexist with changed literal bytes and values. Verify the intended transformation policy and independently expected output. (sources: [recovery-attributes], [recovery-hash]) - A verified source tag does not authenticate an independently selected archive member inventory. Preserve required paths and trusted output expectations. (sources: [recovery-archive], [recovery-evidence]) - SFTP resume assumes an already matching prefix. In Ubuntu 9.6p1 / upstream 10.6p2 controls, altered prefixes survived with exit 0, including with -f; injected remote fsync errors also coexisted with exit 0 and exact-byte overwrites. (sources: [sftp-manual], [sftp-client], [sftp-evidence]) - After denied WRITE with FSETSTAT allowed, tested 10.6p2 clients left the expected 8,192-byte length with a zero-valued tail; 9.6p1 clients left zero bytes. Both failed. Length alone does not verify transferred content. (sources: [sftp-server], [sftp-evidence]) - A manifest or comparison drawn from the exporting role's restricted view can omit the same required rows as an explicitly RLS-filtered export. Verify intended scope with an authorized, snapshot-aligned inventory. (sources: [pg-rls-dump], [rls-evidence]) Sources and caveats: - The LFS observations use synthetic local fixtures on Git 2.43.0 / Git LFS 3.4.1, not field rates, current-version guarantees or a new-vulnerability claim. [lfs-evidence] - Git representation evidence: 32 view observations, 24 signed exports and 40 checkouts on one Git 2.43.0 implementation. Deliberate controls, not one combined experiment, field rates or a new vulnerability. [recovery-evidence] - SFTP: 18 constructed cases per client/server pairing, 72 observations and one repeat on one host. Direct pipes without SSH transport; injected fsync/EIO, not media faults, power-loss tests, field rates or independent replication. [sftp-evidence] - RLS evidence uses two fresh private clusters, 15 export and four destination controls per cluster, four synthetic rows and one host/build. No concurrency, ACL-preservation, field-rate or new-defect claim. [rls-evidence] Related terms: - [e2image](https://hesela.dev/terms/e2image/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [restore-test](https://hesela.dev/terms/restore-test/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [immutability-storage](https://hesela.dev/terms/immutability-storage/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [backup](https://hesela.dev/terms/backup/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [recovery-time-objective](https://hesela.dev/terms/recovery-time-objective/) - [point-in-time-recovery](https://hesela.dev/terms/point-in-time-recovery/) - [wal-archiving](https://hesela.dev/terms/wal-archiving/) - [rocksdb-backup-engine](https://hesela.dev/terms/rocksdb-backup-engine/) - [sqlite-wal-end-mark](https://hesela.dev/terms/sqlite-wal-end-mark/) - [sqlite-integrity-check](https://hesela.dev/terms/sqlite-integrity-check/) - [sqlite-foreign-key-check](https://hesela.dev/terms/sqlite-foreign-key-check/) - [provable-data-possession](https://hesela.dev/terms/provable-data-possession/) - [proof-of-retrievability](https://hesela.dev/terms/proof-of-retrievability/) - [git-alternate-object-database](https://hesela.dev/terms/git-alternate-object-database/) - [git-bundle](https://hesela.dev/terms/git-bundle/) - [posix-access-control-list](https://hesela.dev/terms/posix-access-control-list/) - [git-partial-clone](https://hesela.dev/terms/git-partial-clone/) - [warc-revisit-record](https://hesela.dev/terms/warc-revisit-record/) - [tiff-image-file-directory](https://hesela.dev/terms/tiff-image-file-directory/) - [sftp](https://hesela.dev/terms/sftp/) Citations: - [verify] PostgreSQL 18: pg_verifybackup, checks and exclusions. https://www.postgresql.org/docs/18/app-pgverifybackup.html (accessed 2026-10-13) - [base] PostgreSQL 18: pg_basebackup, manifest checksums and trust. https://www.postgresql.org/docs/18/app-pgbasebackup.html (accessed 2026-10-13) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-13) - [hesela-backup-view] Hesela: SQLite backup source-snapshot experiment, observations and limits. https://hesela.dev/research/sqlite-backup-source-snapshot.json (accessed 2026-10-17) - [hesela-completion] Hesela: Six-case SQLite native backup completion experiment, observations and limits. https://hesela.dev/research/sqlite-backup-completion.json (accessed 2026-10-17) - [hesela-append] Hesela: 30-case rsync append-selection observations and reproduction provenance. https://hesela.dev/research/rsync-append-selection.json (accessed 2026-10-18) - [rsync-append] Rsync 3.2.7 manual: append and append-verify. https://github.com/RsyncProject/rsync/blob/v3.2.7/rsync.1.md (accessed 2026-10-18) - [hesela-git] Hesela: Git backup dependency and verification controls. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#git-backup-closure (accessed 2026-10-19) - [git-fsck] Git v2.43.0: full and connectivity-only object checks. https://github.com/git/git/blob/v2.43.0/Documentation/git-fsck.txt (accessed 2026-10-19) - [hesela-acl] Restoring Linux ACLs: identical bytes, different permissions. https://hesela.com/analyses/posix-acl-restore-permissions/ (accessed 2026-10-19) - [git-partial] Hesela: Git partial-clone offline recovery controls. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#git-partial-closure (accessed 2026-10-23) - [lfs-fsck] Git LFS v3.4.1: revision and path scope of fsck. https://github.com/git-lfs/git-lfs/blob/v3.4.1/docs/man/git-lfs-fsck.adoc (accessed 2026-10-28) - [lfs-fsck-code] Git LFS v3.4.1: object hash checking. https://github.com/git-lfs/git-lfs/blob/v3.4.1/commands/command_fsck.go (accessed 2026-10-28) - [lfs-smudge] Git LFS v3.4.1: size checking during materialization. https://github.com/git-lfs/git-lfs/blob/v3.4.1/lfs/gitfilter_smudge.go (accessed 2026-10-28) - [lfs-evidence] Hesela: Git LFS history and pointer-size recovery controls. https://hesela.dev/research/git-lfs-recovery/summary.json (accessed 2026-10-28) - [recovery-attributes] Git v2.43.0: checkout/check-in conversion and filter requirements. https://raw.githubusercontent.com/git/git/564d0252ca632e0264ed670534a51d18a689ef5d/Documentation/gitattributes.txt (accessed 2026-10-28) - [recovery-hash] Git v2.43.0: path-aware hashing and --no-filters. https://raw.githubusercontent.com/git/git/564d0252ca632e0264ed670534a51d18a689ef5d/Documentation/git-hash-object.txt (accessed 2026-10-28) - [recovery-archive] Git v2.43.0: archive attributes and commit labels. https://raw.githubusercontent.com/git/git/564d0252ca632e0264ed670534a51d18a689ef5d/Documentation/git-archive.txt (accessed 2026-10-28) - [recovery-evidence] Hesela: three separately scoped Git recovery-identity studies and runnable evidence. https://hesela.dev/research/git-recovery-identity/README.md (accessed 2026-10-28) - [sftp-manual] OpenSSH 10.6p2: SFTP resume precondition and synchronization options. https://raw.githubusercontent.com/openssh/openssh-portable/d449e662b6b8b8cb20e852d8084c269af1c5e8f1/sftp.1 (accessed 2026-11-09) - [sftp-client] OpenSSH 10.6p2: upload status, high-water accounting and fsync return handling. https://raw.githubusercontent.com/openssh/openssh-portable/d449e662b6b8b8cb20e852d8084c269af1c5e8f1/sftp-client.c (accessed 2026-11-09) - [sftp-server] OpenSSH 10.6p2: request denial, size updates and synchronization status. https://raw.githubusercontent.com/openssh/openssh-portable/d449e662b6b8b8cb20e852d8084c269af1c5e8f1/sftp-server.c (accessed 2026-11-09) - [sftp-protocol] OpenSSH 10.6p2: fsync@openssh.com file-handle extension. https://raw.githubusercontent.com/openssh/openssh-portable/d449e662b6b8b8cb20e852d8084c269af1c5e8f1/PROTOCOL (accessed 2026-11-09) - [sftp-evidence] Hesela: SFTP client/server controls, exact payloads and reproducible evidence. https://hesela.dev/research/sftp-acceptance/README.md (accessed 2026-11-09) - [pg-rls-dump] PostgreSQL 16: pg_dump and explicit row-security filtering. https://www.postgresql.org/docs/16/app-pgdump.html (accessed 2026-11-22) - [rls-evidence] Hesela: PostgreSQL 16.15 row-security backup controls and exact transcripts. https://hesela.dev/research/pg-rls-backup/summary.json (accessed 2026-11-22) ### Backup window URL: https://hesela.dev/terms/backup-window/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Status: shipping Record updated: 2026-11-26 A backup window is a planned interval for copying a data set while avoiding disruption to applications that use it. Note: The window describes when backup work can be accommodated; backup duration measures how long a particular run takes. Record the allowed interval, its timezone and which phases it covers. Creating a snapshot quickly does not make the later copy workload free of impact. [snia-window] [snia-practices] Scheduling controls can use narrower meanings. The cited BackupRule API separates StartWindowMinutes from CompletionWindowMinutes: the first limits the wait after scheduling, while the second is described relative to a successful job start. These are service-specific controls, not a universal definition of backup window. In contrast, the on-demand StartBackupJob API describes CompleteWindowMinutes as counting from scheduling, without extra time for a delayed start or StartWindowMinutes. The field names and documented time origins differ. Check the specific API and resource; do not assume that adding the two windows gives a universal deadline. This comparison does not establish observed service behavior. [backup-rule] [backup-job] Backup frequency is recurrence; retention is how long a recovery copy is kept. A scheduled start, a completed job and the source state represented by its recovery point are different observations. A window met on time does not establish RPO or RTO compliance; recovery needs a usable copy and a tested recovery process. [backup-plan] [snia-practices] Advantages: - An explicit interval makes the permitted impact on production workloads part of backup planning. (sources: [snia-window]) Limitations: - Completion-window support depends on the protected resource type; the cited plan documentation excludes its FSx resources from that setting. (sources: [backup-plan]) - Synthetic-full consolidation performed after copying can delay a backup's availability for restoration. (sources: [snia-practices]) Sources and caveats: - The scheduling comparison describes AWS Backup documentation checked on 2026-11-26, not an executed service experiment. BackupRule and StartBackupJob use different field names and document different completion-clock origins; no universal runtime interpretation is inferred. - The operational definition follows SNIA. The companion article's timestamps are hypothetical and distinguish recovery-point age from observed data loss. Related terms: - [backup](https://hesela.dev/terms/backup/) - [snapshot](https://hesela.dev/terms/snapshot/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [recovery-time-objective](https://hesela.dev/terms/recovery-time-objective/) - [restore-test](https://hesela.dev/terms/restore-test/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [synthetic-full-backup](https://hesela.dev/terms/synthetic-full-backup/) Citations: - [snia-window] SNIA Dictionary: backup window. https://www.snia.org/education/online-dictionary/term/backup-window (accessed 2026-11-26) - [snia-practices] SNIA Data Protection Best Practices v2.0 (2025), sections 7.2.3-7.2.4: backup timing, restore readiness and snapshots. https://www.snia.org/sites/default/files/2025-03/SNIA-Data-Protection-Best-Practice-2025-01-27-v2.pdf (accessed 2026-11-26) - [backup-rule] AWS Backup API: BackupRule, start and completion windows. https://docs.aws.amazon.com/aws-backup/latest/APIReference/API_BackupRule.html (accessed 2026-11-26) - [backup-plan] AWS Backup: backup plan options, resource exceptions, frequency and lifecycle. https://docs.aws.amazon.com/aws-backup/latest/devguide/plan-options-and-configuration.html (accessed 2026-11-26) - [backup-job] AWS Backup API: StartBackupJob, CompleteWindowMinutes counts from scheduling. https://docs.aws.amazon.com/aws-backup/latest/APIReference/API_StartBackupJob.html (accessed 2026-11-26) ### Backup URL: https://hesela.dev/terms/backup/ Also known as: data backup, backup copy Status: shipping Record updated: 2026-11-26 A backup is a retained copy of data or software intended to support later recovery. Note: A snapshot can be a backup source or recovery copy; its name alone does not establish independence from the original storage. OpenZFS send streams can be stored or received elsewhere. Hesela's engineering criterion is to name the failure the copy must survive, including loss of the source pool or deletion by a shared administrator. Advantages: - A retained copy provides an input to a recovery process. (sources: [nist-backup]) Limitations: - Transporting a snapshot does not by itself establish independent retention or access control. (sources: [zfs-send]) Related terms: - [snapshot](https://hesela.dev/terms/snapshot/) - [air-gap-backup](https://hesela.dev/terms/air-gap-backup/) - [immutability-storage](https://hesela.dev/terms/immutability-storage/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [recovery-time-objective](https://hesela.dev/terms/recovery-time-objective/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [full-backup](https://hesela.dev/terms/full-backup/) - [synthetic-full-backup](https://hesela.dev/terms/synthetic-full-backup/) - [differential-backup](https://hesela.dev/terms/differential-backup/) - [dlt](https://hesela.dev/terms/dlt/) - [logical-backup](https://hesela.dev/terms/logical-backup/) - [physical-backup](https://hesela.dev/terms/physical-backup/) - [backup-catalog](https://hesela.dev/terms/backup-catalog/) - [backup-window](https://hesela.dev/terms/backup-window/) Citations: - [nist-backup] NIST CSRC glossary: Backup (SP 800-34 Rev. 1 definition). https://csrc.nist.gov/glossary/term/backup (accessed 2026-10-13) - [zfs-send] OpenZFS v2.3: zfs-send(8), full and incremental streams. https://openzfs.github.io/openzfs-docs/man/v2.3/8/zfs-send.8.html (accessed 2026-10-13) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-13) ### Bad block management URL: https://hesela.dev/terms/bad-block-management/ Related analysis: https://hesela.com/analyses/ssd-wear-out-failure-signatures/ Status: shipping Record updated: 2026-11-13 Bad block management identifies and excludes NAND eraseblocks that are unusable at manufacture or become unusable during service. Note: Raw NAND relies on an external controller or software stack for bad-block handling. Managed NAND integrates that responsibility; on-die ECC alone does not provide it. [micron] Retiring a block prevents its reuse but does not reconstruct unreadable bytes. In Linux v6.16, UBI's recover_peb path attempts to copy readable prior data and retry the failed write in another physical eraseblock. Recovery can fail; the dynamic-volume write path then enters read-only mode. [ubi-eba] Corrected bitflips, uncorrectable ECC errors and retirement are distinct events. UBI's I/O layer distinguishes corrected data from an uncorrectable ECC read result, while its wear-leveling layer can relocate data for scrubbing. The corrected-bitflip notification is governed by MTD's bitflip_threshold per ECC step, not by every individual corrected bit. [mtd-threshold] A corrected read therefore does not by itself mean a block was permanently marked bad. [ubi-io] [ubi-wl] Linux v6.16 defaults MTD_UBI_BEB_LIMIT to 20 maximum expected bad eraseblocks per 1024, using the entire NAND chip rather than only the attached partition. This configurable planning limit is not a universal SSD spare percentage. In the erase-worker bad-block path, an empty reserved pool can be supplemented by available unallocated eraseblocks; if both pools are empty, UBI switches to read-only mode. [ubi-kconfig] [ubi-wl] Limitations: - A read-only transition stops writes but does not certify that every previously stored byte remains readable. Sources and caveats: - The Linux v6.16 code is a versioned raw-flash implementation example, not a description of every SSD controller or later kernel. [ubi-eba] [ubi-wl] - The read-only limitation follows from separating allocation and write policy from the ability to recover existing bytes; it is not a hardware test result. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [ssd](https://hesela.dev/terms/ssd/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [flash-controller](https://hesela.dev/terms/flash-controller/) - [smart](https://hesela.dev/terms/smart/) - [nor-flash](https://hesela.dev/terms/nor-flash/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [ubi](https://hesela.dev/terms/ubi/) - [ubifs](https://hesela.dev/terms/ubifs/) - [mtd](https://hesela.dev/terms/mtd/) - [mtd-bitflip-threshold](https://hesela.dev/terms/mtd-bitflip-threshold/) - [bad-block-table](https://hesela.dev/terms/bad-block-table/) Citations: - [micron] Micron. Choosing the right NAND: raw, managed and on-die ECC. https://www.micron.com/products/storage/nand-flash/choosing-the-right-nand (accessed 2026-10-20) - [ubi-eba] Linux v6.16, drivers/mtd/ubi/eba.c: try_recover_peb, recover_peb and ubi_eba_write_leb. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/ubi/eba.c (accessed 2026-10-20) - [ubi-wl] Linux v6.16, drivers/mtd/ubi/wl.c: scrubbing and __erase_worker bad-block reserve handling. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/ubi/wl.c (accessed 2026-10-20) - [ubi-kconfig] Linux v6.16, drivers/mtd/ubi/Kconfig: MTD_UBI_BEB_LIMIT and whole-chip sizing. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/ubi/Kconfig (accessed 2026-10-20) - [ubi-io] Linux v6.16, drivers/mtd/ubi/io.c: ubi_io_read return values and corrected versus uncorrectable errors. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/ubi/io.c (accessed 2026-10-20) - [mtd-threshold] Linux v6.16, MTD sysfs ABI: bitflip_threshold and ECC-step reporting. https://raw.githubusercontent.com/torvalds/linux/v6.16/Documentation/ABI/testing/sysfs-class-mtd (accessed 2026-10-21) ### Bad block table URL: https://hesela.dev/terms/bad-block-table/ Related analysis: https://hesela.com/analyses/ssd-wear-out-failure-signatures/ Also known as: BBT, NAND bad block table Status: shipping Record updated: 2026-11-13 A bad block table records the usability status of NAND eraseblocks so a storage stack can avoid known unusable blocks. Note: Factory markers and a BBT are distinct metadata. Factory information can be lost during erase; preserve it using the device's documented procedure. [microchip-bbm] The Linux v6.16 raw-NAND BBT implementation constructs an in-memory BBT from markers or a configured flash-resident table. Mirrored, versioned copies are optional. Its memory encoding distinguishes good, worn (a state label, not a cause diagnosis), factory-bad and reserved blocks; reserved table storage is not evidence of a physical defect. [linux-bbt] A status table is neither a complete logical-to-physical translation map nor data recovery for unreadable bytes. This distinction follows from its metadata role, not a hardware experiment. Limitations: - Marker locations, encodings and persistence policies are device- and stack-specific; the Linux example does not describe every SSD. (sources: [linux-bbt], [microchip-bbm]) Sources and caveats: - Source review of Linux v6.16 raw-NAND code and Microchip guidance. No device was erased or tested. Optional mirroring is not asserted to guarantee crash-atomic updates. Related terms: - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [nand-spare-area](https://hesela.dev/terms/nand-spare-area/) - [mtd](https://hesela.dev/terms/mtd/) - [ftl](https://hesela.dev/terms/ftl/) Citations: - [linux-bbt] Linux v6.16, nand_bbt.c: table scanning, mirrored copies and reserved blocks. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/nand/raw/nand_bbt.c (accessed 2026-11-13) - [microchip-bbm] Microchip. Bad Block Management, section 5.1: factory information and erase operations. https://onlinedocs.microchip.com/oxy/GUID-87101AE8-6003-4D1F-B624-895C158CCD3E-en-US-1/GUID-A343A4A8-5126-4AA8-AEC1-09255B0D8A79.html (accessed 2026-11-13) ### BagIt URL: https://hesela.dev/terms/bagit/ Also known as: BagIt 1.0, BagIt package Status: shipping Record updated: 2026-11-21 BagIt is a directory-based packaging format that combines payload files, checksum manifests and metadata tags for storing and transferring digital content. Note: BagIt 1.0 requires bagit.txt, a data directory and at least one payload manifest; each payload manifest must list every payload file exactly once. [rfc] A complete bag has all required elements and referenced files, with its elements conforming to the format. Validity additionally requires every checksum in every payload and tag manifest to verify. Payload-Oxum counts bytes and files, not content identity. [rfc] Optional fetch.txt describes remote payload to retrieve before checking completeness, not remote tag files. Optional tag manifests must cover all payload manifests and should cover other tags, but cannot list tag manifests. [rfc] Advantages: - Payload files remain directly accessible through ordinary filesystem tools. (sources: [rfc]) Limitations: - An attacker able to replace both files and manifests can create a different valid bag; authentication needs additional protection. (sources: [rfc]) Sources and caveats: - Format summary of RFC 8493 sections 1-3 and 5.4; this informational RFC is not an Internet Standards Track specification. [rfc] - Existing software observations are version-specific and separate from the format rules; no new validator experiment was performed for this entry. [evidence] Related terms: - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [checksum](https://hesela.dev/terms/checksum/) - [restore-test](https://hesela.dev/terms/restore-test/) - [oxford-common-file-layout](https://hesela.dev/terms/oxford-common-file-layout/) Citations: - [rfc] RFC 8493: BagIt 1.0, structure, complete/valid bags and security. https://www.rfc-editor.org/rfc/rfc8493.html (accessed 2026-11-21) - [evidence] Hesela: BagIt per-manifest coverage and controlled validation outcomes. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#bagit-validation (accessed 2026-11-21) ### Balanced accuracy URL: https://hesela.dev/terms/balanced-accuracy/ Related analysis: https://hesela.com/analyses/ml-disk-failure-prediction/ Also known as: macro-averaged recall Status: shipping Record updated: 2026-11-22 Balanced accuracy is the arithmetic mean of the recalls for the evaluated classes, assigning equal weight to each class. Note: For binary decisions with both observed classes present, balanced accuracy = (TP/(TP+FN) + TN/(TN+FP))/2: the mean of sensitivity and specificity. Ordinary accuracy instead divides all correct decisions by all observations. [brodersen] In a synthetic set of 100 positive and 9900 negative decisions, TP=90, FN=10, FP=99 and TN=9801 give balanced accuracy 94.5%, ordinary accuracy 98.91% and precision about 47.62%. Predicting every case negative raises ordinary accuracy to 99% but lowers balanced accuracy to 50%. [worked] Equal class weighting does not encode replacement cost, missed-failure cost or an alert budget. The score summarizes one decision rule, not the entire score ranking. If an intended class has no observed support, its recall and the fixed-class average are undefined; state the evaluated class set and software convention. [brodersen] [balanced-api] For K >= 2 supported classes, chance-adjusted balanced accuracy is (BA - 1/K)/(1 - 1/K), which is 2*BA - 1 for two classes. State whether adjustment and sample weights were used. The empirical score is distinct from a Bayesian posterior summary; smoothing per-class probabilities changes the estimate. [balanced-api] [brodersen] Sources and caveats: - Reviewed 2026-11-22: Brodersen et al., full four-page paper, especially the section III definition and model assumptions; scikit-learn API. - The example is synthetic arithmetic, not a reproduction of the paper's experiments. Exact counts and absent-class behavior are checked in the linked model. - The model uses a fixed binary class set and returns null for unsupported class rates. It does not claim to duplicate every library's absent-class convention. Related terms: - [confusion-matrix](https://hesela.dev/terms/confusion-matrix/) - [specificity](https://hesela.dev/terms/specificity/) - [recall](https://hesela.dev/terms/recall/) - [precision](https://hesela.dev/terms/precision/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [matthews-correlation-coefficient](https://hesela.dev/terms/matthews-correlation-coefficient/) Citations: - [brodersen] Brodersen, Ong, Stephan and Buhmann (2010). The balanced accuracy and its posterior distribution, section III. DOI: 10.1109/ICPR.2010.764. https://kaybrodersen.github.io/publications/Brodersen_2010b_ICPR.pdf (accessed 2026-11-22) - [balanced-api] scikit-learn: balanced_accuracy_score; macro recall, balanced sample weights and chance adjustment. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.balanced_accuracy_score.html (accessed 2026-11-22) - [worked] Hesela: synthetic classification counts, exact fractions and edge-case checks. https://hesela.dev/research/classification-denominators/results.json (accessed 2026-11-22) ### Baleen URL: https://hesela.dev/terms/baleen/ Also known as: Baleen flash cache Status: research Record updated: 2026-11-14 Baleen is a research flash-cache design that coordinates learned admission and prefetching to reduce HDD backend work under a flash-write budget. Note: Training groups accesses into residency episodes using an assumed eviction age, then learns admission and prefetching decisions. This offline construction is not future knowledge available to a running cache. [baleen-paper] The evaluation uses seven Meta traces and a chronological split. The first day trains models, later days test them. Simulated results and testbed validation are distinct evidence. [baleen-paper] The author artifact documents a RejectX baseline, model training and simulation. [baleen-artifact] Sources and caveats: - Primary-source synthesis; the author simulator, ML training and testbed measurements were not reproduced. Related terms: - [cache-admission](https://hesela.dev/terms/cache-admission/) - [disk-head-time](https://hesela.dev/terms/disk-head-time/) - [prefetch-wastage](https://hesela.dev/terms/prefetch-wastage/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) Citations: - [baleen-paper] Wong et al. Baleen: ML Admission & Prefetching for Flash Caches. FAST 2024, pp. 347-371; sections 3.1, 3.4 and 5. https://www.usenix.org/system/files/fast24-wong.pdf (accessed 2026-11-14) - [baleen-artifact] Baleen-FAST24 author artifact, pinned README at 4e3a9205b1f1bd72bffd66dd52bd5b06509089e9. https://github.com/wonglkd/Baleen-FAST24/blob/4e3a9205b1f1bd72bffd66dd52bd5b06509089e9/README.md (accessed 2026-11-14) ### Bandwidth-delay product URL: https://hesela.dev/terms/bandwidth-delay-product/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: BDP Status: shipping Record updated: 2026-11-11 The bandwidth-delay product is a data quantity obtained by multiplying a specified transfer rate by a specified delay. Note: TCP interpretation: RFC 6349 uses bottleneck bandwidth times round-trip time (RTT) to estimate the data needed in flight to fill a path; divide bit/s times seconds by eight for bytes. Use baseline RTT without congestion-induced queueing for this budget, and state the rate boundary and direction [tcp-bdp]. Worked example: An illustrative 10 Gbit/s bottleneck and 20 ms RTT give 25,000,000 bytes, not 25 MiB. This is dimensional arithmetic, not an observed rate or a recommended buffer setting. The rate must count the same data bytes as the window; overhead, endpoints and storage work can lower achieved throughput [tcp-bdp]. Limitations: - A pipeline budget is not measured goodput, storage queue depth or a guarantee that a connection can fill the path. (sources: [tcp-bdp]) Sources and caveats: - Source review, not a measured network or storage result. TCP window budgets describe one sending direction of one connection. Related terms: - [tcp-receive-window](https://hesela.dev/terms/tcp-receive-window/) - [tcp-congestion-window](https://hesela.dev/terms/tcp-congestion-window/) - [throughput-storage](https://hesela.dev/terms/throughput-storage/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [nvme-tcp](https://hesela.dev/terms/nvme-tcp/) - [round-trip-time](https://hesela.dev/terms/round-trip-time/) Citations: - [tcp-bdp] RFC 6349: Framework for TCP Throughput Testing, sections 3.2 and 3.3.1 (Informational). https://www.rfc-editor.org/rfc/rfc6349.html#section-3.3.1 (accessed 2026-11-11) ### Barium ferrite tape URL: https://hesela.dev/terms/barium-ferrite-tape/ Also known as: BaFe tape Status: shipping Record updated: 2026-10-22 Barium ferrite (BaFe) tape is particulate magnetic tape using hexagonal platelet barium ferrite particles instead of metal particles, keeping coercivity at smaller volumes. Note: Linear tape capacity growth slowed when metal particles reached their size limit. Metal particles are Fe-Co needles whose coercivity comes from shape and drops sharply below about 2,500 nm3, and each needs a passivation layer against oxidation. BaFe is an oxide whose coercivity comes from crystal anisotropy, so it resists oxidation and can be made smaller. [fuji-bafe] Demonstration particles of 1,600 nm3 reached 223 kA/m coercivity, against 189 kA/m for 2,850 nm3 metal particles, 18% more at 43% less volume. Product particles were 1,950 nm3, and particles of about 1,000 nm3 were also made. After 30 days at 60 °C and 90% relative humidity small metal particles lost much of their magnetization while BaFe was little affected. [fuji-bafe] The platelets have their easy axis perpendicular to the platelet and can be oriented perpendicular to the tape, with perpendicular squareness of 0.87 on demonstration tape against 0.66 on unoriented product tape. Demonstrations reached 6.7 Gbit/in2 (2006), 29.5 (2010), 85.9 (2014) and 123 Gbit/in2 (2015), equivalent to 8, 35, 154 and 220 TB cartridges, when products held up to 10 TB. [fuji-bafe] The 123 Gbit/in2 result combined 680 kbit/in with 140 nm tracks read by a 90 nm reader, position error of 5.9 nm or less at 1.23 to 4.08 m/s, and a user bit error rate below 1e-20 after error correction. [ibm-123] Limitations: - The highest densities also need smooth surfaces and new heads, servo and signal processing. (sources: [fuji-bafe], [ibm-123]) Sources and caveats: - The main source is a 2016 research paper by the tape-media maker Fujifilm; the 123 Gbit/in2 details come from an IBM Research abstract only. - Densities are laboratory prototypes with experimental heads and transports; neither source states which LTO generation first used BaFe or gives prices. - Arithmetic: 25.4 mm / 140 nm is about 181,400 tracks per inch, times 680 kbit/in about 123 Gbit/in2; 223 / 189 = 1.18 and 1,600 / 2,850 = 0.56. Related terms: - [lto](https://hesela.dev/terms/lto/) - [tape](https://hesela.dev/terms/tape/) - [metal-particle-tape](https://hesela.dev/terms/metal-particle-tape/) - [areal-density](https://hesela.dev/terms/areal-density/) - [perpendicular-tape](https://hesela.dev/terms/perpendicular-tape/) - [degaussing](https://hesela.dev/terms/degaussing/) Citations: - [c1] Barium ferrite tape. https://en.wikipedia.org/wiki/Linear_Tape-Open (accessed 2026-03-26) - [fuji-bafe] Oyanagi et al. A High-Density Recording Study on Particulate Magnetic Tape using Barium Ferrite Magnetic Particles. Fujifilm R&D No. 61, 2016. https://asset.fujifilm.com/www/jp/files/2019-12/05ca94e4e3481f769f50aa1d295c5bc9/ff_rd061_004_en.pdf (accessed 2026-10-16) - [ibm-123] Lantz et al. 123 Gbit/in2 Recording Areal Density on Barium Ferrite Tape. IEEE Transactions on Magnetics, November 2015. https://research.ibm.com/publications/123-gbitinlesssupgreater2lesssupgreater-recording-areal-density-on-barium-ferrite-tape (accessed 2026-10-16) ### Base64 URL: https://hesela.dev/terms/base64/ Also known as: Base 64, Base64 encoding Status: unknown Record updated: 2026-11-21 Base64 is a binary-to-text encoding that represents octets using a 64-symbol alphabet and a protocol-defined padding policy. Note: Mechanism: Three input bytes become four alphabet symbols; an incomplete final group uses unused zero bits and, in the padded form, one or two equals signs. Encoding does not compress, encrypt or authenticate the bytes. [base64-rfc] Canonical spelling: Nonzero unused bits can produce different text that decodes to the same bytes. RFC 4648 requires conforming encoders to zero them, but permits decoders to reject them rather than universally requiring rejection. [base64-rfc] Validation: In the recorded Python 3.12.3 and Node v24.22.2 examples, both Zg== and Zh== decode to byte 0x66, although only Zg== is the canonical padded spelling. Python validate=True checks alphabet and padding, not canonical pad bits. [base64-python] [base64-example] Checksum use: Keep the checksum algorithm, covered bytes and representation together. A part-count suffix is outside Base64; changing its encoding does not change the checksum's scope. Validate the enclosing format before comparing decoded digest bytes. [base64-example] Sources and caveats: - Source synthesis with deterministic native decoder examples, not an object-store acceptance test. - The canonical padded profile in the example deliberately rejects ignored characters and nonzero pad bits; other protocols can specify different decoder policies. Related terms: - [base64url](https://hesela.dev/terms/base64url/) - [data-serialization](https://hesela.dev/terms/data-serialization/) - [full-object-checksum](https://hesela.dev/terms/full-object-checksum/) - [composite-checksum](https://hesela.dev/terms/composite-checksum/) Citations: - [base64-rfc] RFC 4648: Base-N encodings, sections 3-5 and 10. https://www.rfc-editor.org/rfc/rfc4648.html (accessed 2026-11-21) - [base64-python] Python 3.12: base64.b64decode and validate. https://docs.python.org/3.12/library/base64.html#base64.b64decode (accessed 2026-11-21) - [base64-example] Hesela: Base64 checksum representations and native decoder observations. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#base64-representation (accessed 2026-11-21) ### Base64url URL: https://hesela.dev/terms/base64url/ Also known as: Base64 URL encoding, URL-safe Base64 Status: unknown Record updated: 2026-11-21 Base64url is the RFC 4648 binary-to-text variant that uses minus and underscore instead of Base64's plus and slash symbols. Note: Alphabet: The changed symbols represent the same six-bit values; the input remains bytes, not Unicode characters. Padding is a separate protocol choice. Base64url does not universally mean that equals signs are forbidden. [base64-rfc] Profiles: JSON Web Signature specifies base64url without trailing equals signs, line breaks or whitespace. The signed representation is protocol-defined; do not normalize its text independently of signature verification rules. [base64-jws] Decoder labels: Node's base64 and base64url Buffer decoders both accept the other alphabet; its base64url encoder omits padding. Successful decoding therefore does not establish that an input used only URL-alphabet symbols. [base64-node] Example: Bytes 0xfb 0xff encode as +/8= in padded Base64 and -_8 in an unpadded URL profile. An exact-profile check also tests unused bits: -w encodes 0xfb canonically, while -x has nonzero unused bits. [base64-example] Sources and caveats: - The example selects an unpadded URL profile. It is not a claim that every RFC 4648 application forbids padding. - Native decoder acceptance is version-qualified and does not certify service-side acceptance or authentication. Related terms: - [base64](https://hesela.dev/terms/base64/) - [data-serialization](https://hesela.dev/terms/data-serialization/) Citations: - [base64-rfc] RFC 4648: Base-N encodings, sections 3-5 and 10. https://www.rfc-editor.org/rfc/rfc4648.html (accessed 2026-11-21) - [base64-jws] RFC 7515: JWS terminology, base64url encoding and signing input. https://www.rfc-editor.org/rfc/rfc7515.html#section-2 (accessed 2026-11-21) - [base64-node] Node v24.22.2: Buffer binary-to-text encodings. https://nodejs.org/download/release/v24.22.2/docs/api/buffer.html#buffers-and-character-encodings (accessed 2026-11-21) - [base64-example] Hesela: Base64 checksum representations and native decoder observations. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#base64-representation (accessed 2026-11-21) ### BASIL URL: https://hesela.dev/terms/basil/ Status: research Record updated: 2026-12-01 BASIL is a research system that uses workload and device models to place virtual disks and rebalance I/O load across datastores. Note: The FAST 2010 ESX prototype separates workload characteristics from a device model based on the slope of read latency against outstanding reads. [basil10] Cached writes can make the pooled latency slope negative as the workload mix changes. The prototype filters writes and extreme size or sequentiality observations; its fitted capacity parameter is not a universal device rating. [basil10] Relative-fitness research instead trains directional device-pair models that can use observed performance and capture application/device feedback. A workload's arrival pattern need not remain fixed after moving it. [relative-fitness07] Limitations: - Migration cost and ping-pong avoidance were future work, not guarantees of the reported placement algorithm. (sources: [basil10]) Sources and caveats: - Historical source synthesis, not a BASIL reproduction or a modern SSD performance claim. Related terms: - [parda](https://hesela.dev/terms/parda/) - [queue-depth](https://hesela.dev/terms/queue-depth/) Citations: - [basil10] Gulati, Kumar, Ahmad and Kumar. BASIL: Automated IO Load Balancing Across Storage Devices. FAST 2010, sections 3-5 and 7; Figures 8-9. https://www.usenix.org/legacy/event/fast10/tech/full_papers/gulati.pdf (accessed 2026-12-01) - [relative-fitness07] Mesnier, Wachs, Sambasivan, Zheng and Ganger. Modeling the Relative Fitness of Storage. SIGMETRICS 2007, sections 2-4. https://www.pdl.cmu.edu/ftp/SelfStar/sigmetrics07.pdf (accessed 2026-12-01) ### Bathtub curve URL: https://hesela.dev/terms/bathtub-curve/ Related analysis: https://hesela.com/analyses/mttf-vs-field-replacement-rates/ Also known as: Bathtub failure-rate curve Status: shipping Record updated: 2026-11-21 A bathtub curve is a failure-rate profile with decreasing early-life hazard, an approximately constant middle period and increasing wear-out hazard. Note: The three regions describe a population as it ages, not a countdown for an individual device. For first failures, the vertical axis is hazard conditional on survival, with inverse-time units, not cumulative failure probability. State when the age clock starts. For repairable systems, the analogous curve describes the rate of occurrence of failures instead. [nist-bathtub] The shape is a model to test, not a universal disk lifecycle. A FAST 2007 study examined about five years of HPC1 replacements and three years for the first HPC4 drive type. Their age profiles did not show the assumed extended flat middle period. Only customer-visible replacements were observed; early failures caught during manufacturing, integration or installation testing could be absent. These results do not establish one aging pattern for all HDDs or SSDs. [schroeder-age] Before comparing a fleet with this curve, specify the event, population, age origin and exposure. An annual replacement count and the interval between successive replacements across a cluster answer different questions from a device's first-failure hazard. [schroeder-age] Survivor selection can produce a falling-then-rising cohort hazard while all subgroup hazards rise. [vaupel-zhang-selection] A constructed equal-slope example has its minimum at 19.78 model years and 0.042765/year. These are not estimated drive lifetimes; the example has no extended flat middle phase. [hesela-age-clocks] Sources and caveats: - Source synthesis from the NIST handbook and the original FAST 2007 HTML paper; no new fleet measurements or reproduction of the original logs. - Added an analytic turning-point interpretation of the existing Hesela survivor-hazard example; checked by 60-digit decimal arithmetic and derivative bisection, not new fleet data. Related terms: - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [survival-function](https://hesela.dev/terms/survival-function/) - [weibull-distribution](https://hesela.dev/terms/weibull-distribution/) - [annual-replacement-rate](https://hesela.dev/terms/annual-replacement-rate/) - [rate-of-occurrence-of-failures](https://hesela.dev/terms/rate-of-occurrence-of-failures/) - [left-truncation](https://hesela.dev/terms/left-truncation/) Citations: - [nist-bathtub] NIST e-Handbook 8.1.2.4: Bathtub curve, lifetime phases and repairable-system rate. https://www.itl.nist.gov/div898/handbook/apr/section1/apr124.htm (accessed 2026-11-18) - [schroeder-age] Schroeder and Gibson: Disk failures in the real world, FAST 2007, sections 2.1, 2.4, 4.2 and 5.3. https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder_html/index.html (accessed 2026-11-18) - [hesela-age-clocks] Hesela: Disk replacement rates are not disk lifetimes. https://hesela.com/analyses/mttf-vs-field-replacement-rates/ (accessed 2026-11-18) - [vaupel-zhang-selection] Vaupel and Zhang: Attrition in heterogeneous cohorts (2010), equations 1a-1b, proof and section 4.1. https://www.demographic-research.org/articles/volume/23/26 (accessed 2026-11-21) ### BCH code URL: https://hesela.dev/terms/bch-code/ Related analysis: https://hesela.com/analyses/nand-ecc-bch-vs-ldpc/ Also known as: Bose-Chaudhuri-Hocquenghem code, BCH Status: shipping Record updated: 2026-11-26 A BCH code is a cyclic error-correcting code constructed by prescribing consecutive powers of a finite-field element as generator-polynomial roots. Note: A designed distance of 2t + 1 gives minimum distance at least 2t + 1, supporting correction of every pattern of at most t errors per codeword with a suitable decoder. Binary symbols are bits; actual minimum distance can exceed the design bound. [tilborg-coding] The code family does not require hard-decision-only decoding. Chase-style BCH decoding can use reliability information to select candidate hard inputs; that distinction does not identify which algorithm a particular SSD implements. [agarwal-soft-bch] Fast Chase decoding can reuse computations between candidate patterns on unreliable coordinates. These are decoder trials, not a count of physical NAND reads or a measured SSD speedup. [shany-berman-chase-v2] Linux v6.12 distinguishes ecc_bits, the exact parity-bit count, from ecc_bytes, the maximum parity-buffer size. Neither field is the correction capability t. [linux-bch-layout-v612] Related terms: - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [codeword](https://hesela.dev/terms/codeword/) - [error-syndrome](https://hesela.dev/terms/error-syndrome/) - [hamming-distance](https://hesela.dev/terms/hamming-distance/) - [ldpc](https://hesela.dev/terms/ldpc/) - [soft-decision-decoding](https://hesela.dev/terms/soft-decision-decoding/) - [miscorrection](https://hesela.dev/terms/miscorrection/) Citations: - [tilborg-coding] H. C. A. van Tilborg: Coding Theory, a First Course, sections 2.1-2.2 and 4.2. https://henkvt.win.tue.nl/images/CODING.pdf (accessed 2026-10-25) - [agarwal-soft-bch] A. Agarwal (2025): Interpretable Machine Learning and Trustworthy Uncertainty Quantification, Appendix C, p. 167. https://escholarship.org/content/qt2sr1c8nk/qt2sr1c8nk.pdf (accessed 2026-10-25) - [hesela-bch] Hesela: BCH, LDPC and the RBER aggregation trap, decoder contracts. https://hesela.com/analyses/nand-ecc-bch-vs-ldpc/#decoder-contract (accessed 2026-10-25) - [linux-bch-layout-v612] Linux v6.12 include/linux/bch.h: exact parity bits and maximum parity-buffer bytes. https://github.com/torvalds/linux/blob/v6.12/include/linux/bch.h#L17-L23 (accessed 2026-10-25) - [shany-berman-chase-v2] Y. Shany and A. Berman: Fast syndrome-based Chase decoding of binary BCH codes through Wu list decoding, arXiv:2204.02330v2 (2022), sections 5.1 and 5.4. https://arxiv.org/abs/2204.02330v2 (accessed 2026-10-25) ### BD-R HTL URL: https://hesela.dev/terms/bd-r-htl/ Also known as: high-to-low BD-R Status: unknown Record updated: 2026-10-15 BD-R HTL is a recordable Blu-ray type whose written marks have lower optical reflectivity than the unrecorded material. Note: JVC describes the conventional inorganic recording approach as high-to-low, contrasting it with organic-dye LTH [jvc]. HTL is not a brand, an archival certification or a quantified lifetime. Related terms: - [bd-r-lth](https://hesela.dev/terms/bd-r-lth/) - [blu-ray-archive](https://hesela.dev/terms/blu-ray-archive/) - [m-disc](https://hesela.dev/terms/m-disc/) Citations: - [jvc] JVC (7 October 2008): BD-R LTH TYPE announcement, terminology and compatibility notes. https://www3.jvckenwood.com/press/2008/bv-r130lw.html (accessed 2026-10-15) - [analysis] Hesela: optical-disc lifetime estimates and format-specific evidence. https://hesela.com/analyses/optical-disc-lifetime-estimates/ (accessed 2026-10-15) ### BD-R LTH URL: https://hesela.dev/terms/bd-r-lth/ Also known as: low-to-high BD-R, BD-R LTH TYPE Status: unknown Record updated: 2026-10-15 BD-R LTH is an organic-dye recordable Blu-ray type whose written marks have higher optical reflectivity than the unrecorded material. Note: JVC identifies LTH as requiring explicit device support, sometimes enabled by firmware [jvc]. A Blu-ray label alone does not establish compatibility with this recording type; incompatibility is not evidence of aging. Related terms: - [bd-r-htl](https://hesela.dev/terms/bd-r-htl/) - [blu-ray-archive](https://hesela.dev/terms/blu-ray-archive/) Citations: - [jvc] JVC (7 October 2008): BD-R LTH TYPE announcement, terminology and compatibility notes. https://www3.jvckenwood.com/press/2008/bv-r130lw.html (accessed 2026-10-15) - [analysis] Hesela: optical-disc lifetime estimates and format-specific evidence. https://hesela.com/analyses/optical-disc-lifetime-estimates/ (accessed 2026-10-15) ### Belady anomaly URL: https://hesela.dev/terms/belady-anomaly/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: Belady's anomaly, FIFO capacity anomaly Status: research Record updated: 2026-11-21 A Belady anomaly occurs when a replacement policy produces more misses with a larger cache than with a smaller cache on the same reference string and initial-state convention. Note: Belady, Nelson and Shedler studied the FIFO case in 1969. [belady] The 2010 unboundedness result varies capacities and reference strings; it is not an unbounded ratio for fixed capacities. [fifo-unbounded] The phenomenon is not confined to FIFO. In Hesela's pinned SIEVE replay, AABBCCDED produces five misses with three slots and six with four, with immediate admission and equal-size objects. CLOCK with one bit and initial frequency zero also shows the increase. [capacity-replay] Observation window: in the linked five-versus-six-slot FIFO replay, the first 55 requests favor the larger cache (35 versus 36 misses), but 76 requests reverse the comparison (56 versus 43). Every 21-request suffix adds 21 versus 7 misses; the initial 34-request prefix is included in cumulative totals. An anomaly ratio is a ratio of miss counts, not a miss probability or a latency ratio. [horizon-replay] Sources and caveats: - Hesela replays finite examples, not real hardware or a workload survey. [hesela] - Original ACM full text was unavailable; historical metadata was checked against the publication record. [belady] Related terms: - [fifo-replacement](https://hesela.dev/terms/fifo-replacement/) - [cache-inclusion-property](https://hesela.dev/terms/cache-inclusion-property/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [kosmo](https://hesela.dev/terms/kosmo/) Citations: - [belady] Belady, Nelson and Shedler. An anomaly in space-time characteristics of certain programs running in a paging machine. CACM, 1969. https://research.ibm.com/publications/an-anomaly-in-space-time-characteristics-of-certain-programs-running-in-a-paging-machine (accessed 2026-10-17) - [fifo-unbounded] Peter Fornai and Antal Ivanyi. FIFO anomaly is unbounded. Acta Univ. Sapientiae, Informatica 2(1), 2010, pp. 80-89; sections 2-5, arXiv:1003.1336v2. https://arxiv.org/pdf/1003.1336v2 (accessed 2026-10-17) - [hesela] Hesela: finite cache-capacity replay, with full traces and assumptions. https://hesela.com/analyses/sieve-cache-eviction-traces/#capacity (accessed 2026-10-17) - [capacity-replay] Hesela: SIEVE capacity counterexample, pinned library replay and per-request state trace; constructed example, not device timing. https://hesela.dev/research/sieve-capacity.json (accessed 2026-10-19) - [horizon-replay] Hesela: cumulative and suffix-only FIFO counts from the existing pinned finite replay. https://hesela.com/analyses/sieve-cache-eviction-traces/#fifo-observation-window (accessed 2026-11-21) ### Beldi URL: https://hesela.dev/terms/beldi/ Also known as: Beldi serverless workflows Status: research Record updated: 2026-11-16 Beldi is a research library and runtime that combines replay-safe storage operations with optional transactions across stateful serverless functions. Note: Replay: Stable instance IDs and operation steps identify prior work. Logged read results are reused; nondeterministic application values must also be recorded. The intent collector restarts unfinished invocations. The contract concerns equivalent effects, not executing function code only once. [osdi20] Storage: The linked data-and-log structure places a write and its deduplication record in one atomicity scope. A read and its logging need not be atomic. The paper's synchronous invocation callbacks save the result at the caller before the callee marks completion. [osdi20] Transactions: The paper combines two-phase locking, wait-die and distributed commit to target opacity, including consistent observations by transactions that abort. Transactional state must not also be accessed outside the locking protocol. [osdi20] Cleanup: The paper assumes a maximum function-instance lifetime T. Its collector timestamps completed intents, waits T before recycling their logs, and retains disconnected rows for another T before deletion. This safety bound differs from the garbage collector's trigger interval. [osdi20] Implementation: At the pinned revision, PrepareEnv generates an ID when none is supplied. In the non-baseline path, SyncInvoke logs the callee ID under the caller's instance and step; Wrapper stores the callee's result in the caller's log before marking the callee done. Retrying a top-level request without preserving its identity is not the same logged invocation. [flow-code] Limitations: - The design requires strongly consistent, fault-tolerant storage with atomic updates and filtered, projected scans; an unavailable backing store can block progress. (sources: [osdi20]) - The transaction API excludes asynchronous invocations and independently abortable nested transactions. (sources: [osdi20]) - Replay safety covers participating operations and preserved identities, not arbitrary external effects or re-execution after the required history has been reclaimed. (sources: [osdi20]) Sources and caveats: - Primary-source synthesis of OSDI 2020 sections 2.2-6.2 and 7.5-8 plus pinned control-flow code; no cloud workload, failure experiment or benchmark replication was run. - The 2023 repository revision is not assumed identical to the 2020 paper: the paper describes callbacks, while Wrapper directly updates the caller log in this code. [osdi20] [flow-code] Related terms: - [boki](https://hesela.dev/terms/boki/) - [retry-deduplication](https://hesela.dev/terms/retry-deduplication/) - [two-phase-locking](https://hesela.dev/terms/two-phase-locking/) - [opacity](https://hesela.dev/terms/opacity/) Citations: - [osdi20] Zhang et al. Fault-tolerant and transactional stateful serverless workflows. OSDI 2020, pp. 1187-1204, sections 2.2-6.2 and 7.5-8. https://www.cis.upenn.edu/~sga001/papers/beldi-osdi20.pdf (accessed 2026-11-16) - [flow-code] Beldi controlflow.go: PrepareEnv, SyncInvoke and Wrapper; revision 91280e1cfcadb5343c8d9320e0942414c06ce706. https://github.com/eniac/Beldi/blob/91280e1cfcadb5343c8d9320e0942414c06ce706/pkg/beldilib/controlflow.go (accessed 2026-11-16) ### BetrFS URL: https://hesela.dev/terms/betrfs/ Related analysis: https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ Also known as: B-epsilon-tree file system, ArborFS Status: research Record updated: 2026-12-01 BetrFS is a research filesystem that uses B-epsilon-tree indexes to organize file data and metadata. Note: The FAST 2015 prototype runs in the kernel and stores its index nodes in files on an underlying ext4 filesystem. Its filesystem interface and its index are distinct layers. [fast15] The FAST 2016 paper calls the earlier design BetrFS 0.1 and adds late-binding journaling, namespace zoning and range deletion in BetrFS 0.2. These version-specific mechanisms address different costs; namespace zoning here is unrelated to drive zones or fabric access control. [fast16] BetrFS 0.4 restores full-path indexing through range rename and key lifting. The FAST 2018 landing page calls this design ArborFS; the paper calls it BetrFS 0.4. ArborFS denotes that version, not every BetrFS release. [fast18] [fast18-record] The EuroSys 2022 prototype, BetrFS 0.6, replaces the underlying ext4 layer with a Simple File Layer to remove double journaling and buffering. It moves read-ahead into the index and shares pages copy-on-write with the VFS. Version 0.5 instead introduced clone optimizations; the SSD evaluation compares 0.6 with 0.4. [eurosys22] Limitations: - Historical prototype evaluations do not establish present-day production readiness or a universal speed advantage. (sources: [fast15], [fast16]) - The 2022 evaluation uses a SATA SSD and Linux 4.19.99 for BetrFS versus 5.9.15 for other filesystems. Its workload-relative performance target is not a guarantee for other devices or kernels. (sources: [eurosys22]) Sources and caveats: - Source synthesis; no BetrFS kernel execution or benchmark reproduction. EuroSys 2022 DOI: 10.1145/3492321.3519571. Related terms: - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [write-optimized-dictionary](https://hesela.dev/terms/write-optimized-dictionary/) - [buffered-upsert](https://hesela.dev/terms/buffered-upsert/) - [full-path-indexing](https://hesela.dev/terms/full-path-indexing/) - [range-rename](https://hesela.dev/terms/range-rename/) - [late-binding-journal](https://hesela.dev/terms/late-binding-journal/) - [copy-on-abundant-write](https://hesela.dev/terms/copy-on-abundant-write/) - [tokufs](https://hesela.dev/terms/tokufs/) Citations: - [fast15] Jannen et al. BetrFS: A Right-Optimized Write-Optimized File System. FAST 2015, pp. 301-315, sections 4-6. https://files.usenix.org/s3fs-public/cdn/fast15-paper-jannen_william.pdf (accessed 2026-11-04) - [fast16] Yuan et al. Optimizing Every Operation in a Write-Optimized File System. FAST 2016, pp. 1-14, sections 1-5. https://files.usenix.org/s3fs-public/cdn/fast16-papers-yuan.pdf (accessed 2026-11-04) - [hesela-buffered] Hesela: B-epsilon trees, visible updates and deferred work. https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ (accessed 2026-11-04) - [fast18] Zhan et al. The Full Path to Full-Path Indexing. FAST 2018, pp. 123-138, sections 1 and 3-5. https://www.usenix.org/system/files/conference/fast18/fast18-zhan.pdf (accessed 2026-12-01) - [fast18-record] USENIX FAST 2018: The Full Path to Full-Path Indexing, conference abstract using ArborFS. https://www.usenix.org/conference/fast18/presentation/zhan (accessed 2026-12-01) - [eurosys22] Jiao et al. BetrFS: A Compleat File System for Commodity SSDs. EuroSys 2022, sections 1, 3, 6-7 and Appendix A. https://oscarlab.github.io/papers/betrfs-eurosys22.pdf (accessed 2026-12-01) ### Budget Fair Queueing (BFQ) URL: https://hesela.dev/terms/bfq/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: BFQ, Budget Fair Queuing Status: shipping Record updated: 2026-11-08 Budget Fair Queueing is a Linux I/O scheduler that uses weighted queues and sector budgets to distribute storage service. Note: BFQ budgets count sectors rather than a fixed service time. Weights apportion bandwidth within an I/O-priority class, while classes have distinct priorities. It can switch to time-based sharing to limit throughput loss. [bfq] With low_latency enabled, selected interactive and soft-real-time workloads receive raised weights. Configured weights alone therefore do not predict the observed bandwidth ratio. Idling and strict service settings also change the throughput and latency trade-off. [bfq] In v6.16, strict_guarantees stops ordinary dispatch while tot_rq_in_driver is nonzero. Requests on the separate dispatch list are handled before that check, so it is not a universal queue-depth-one invariant. The reduced parallelism can lower throughput. [bfq-source] The documentation reports about 1.9 µs of single-lock-protected processing per request on a dated notebook CPU, against 0.7 µs for mq-deadline, and this overhead limits the request rate a CPU can sustain. fifo_expire_sync defaults to 125 ms and fifo_expire_async to 250 ms. [bfq] Idling can preserve a synchronous queue's service share while its next request is still being prepared. On flash with internal command queueing, this can trade throughput for fairness or latency. [bfq] With strict_guarantees disabled, slice_idle=0 disables idling. Enabling strict_guarantees from zero raises any shorter interval to 8 ms. [bfq-source] Later slice_idle or slice_idle_us writes can lower that stored interval. Rewriting strict_guarantees=1 while already enabled does not clamp it again. The strict-mode branch precedes the zero-interval check, so a zero readback does not establish disabled idling. Record setter order and final values; the stored interval is not every actual wait duration. [bfq-source] Advantages: - Setting low_latency to 0 switches off the latency heuristics for a device whose only goal is maximum throughput. (sources: [bfq]) - Group weights from 1 to 1000, with a default of 100, are set through io.bfq.weight in cgroup v2 or blkio.bfq.weight in cgroup v1. (sources: [bfq]) Limitations: - Enabling CONFIG_BFQ_CGROUP_DEBUG lowers the sustainable request rate because the blkio.bfq statistics are created and updated. (sources: [bfq]) - The default configuration favors latency over throughput, so its schedules can deliver lower throughput. (sources: [bfq]) - In v6.16, slice_idle uses integer division: setting slice_idle_us to 500 reads back as 0 milliseconds and 500 microseconds, even with strict_guarantees disabled. Neither readback measures an actual wait; inspect the microsecond value. (sources: [bfq-source]) Sources and caveats: - bfq is the Linux 6.16 BFQ documentation, re-read for default tunables, cgroup weights and the published per-request overhead figures. - bfq-source is the v6.16 bfq-iosched.c source, re-read on git.kernel.org at the same tag for the dispatch-list and tot_rq_in_driver checks. - The inter-flow-interference entry links here because BFQ weights and budgets shape how concurrent flows share one device. Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [blk-mq](https://hesela.dev/terms/blk-mq/) - [inter-flow-interference](https://hesela.dev/terms/inter-flow-interference/) - [slowdown-fairness](https://hesela.dev/terms/slowdown-fairness/) - [cgroup-v2-io-controller](https://hesela.dev/terms/cgroup-v2-io-controller/) - [anticipatory-scheduling](https://hesela.dev/terms/anticipatory-scheduling/) - [work-conserving-scheduler](https://hesela.dev/terms/work-conserving-scheduler/) Citations: - [bfq] Linux 6.16: BFQ, budgets, priority classes and low_latency. https://docs.kernel.org/6.16/block/bfq-iosched.html (accessed 2026-11-08) - [bfq-source] Linux v6.16: bfq-iosched.c, bfq_better_to_idle, bfq_strict_guarantees_store and __bfq_dispatch_request. https://github.com/torvalds/linux/blob/v6.16/block/bfq-iosched.c (accessed 2026-11-08) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-10-21) ### Blocked GNU Zip Format (BGZF) URL: https://hesela.dev/terms/bgzf/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: BGZF, blocked gzip Status: shipping Record updated: 2026-10-25 BGZF is a gzip-compatible blocked compression format that supports random access through independently decompressible blocks and virtual offsets. Note: Each block is a gzip member with a BC extra field describing its compressed size. Compressed block size, including framing, and uncompressed block size are each limited to 65,536 bytes. Ordinary gzip compatibility does not provide genomic-coordinate lookup. [bgzf-spec] A 64-bit virtual offset packs a compressed-block byte position into the upper 48 bits and a decoded position within that block into the lower 16. It is not an ordinary decoded-byte offset; subtraction across blocks does not give a decoded length. [bgzf-spec] A GZI sidecar maps compressed block starts to cumulative uncompressed byte positions. A tabix TBI or CSI index instead locates records by sequence and genomic interval. Recompression can change block positions even when decoded content is identical, so old virtual offsets must not be assumed reusable. [bgzip-manual] In Hesela's synthetic three-record BED controls, HTSlib 1.22.1 and 1.24 accepted the data and index as individually valid BGZF files while a mismatched TBI or CSI index omitted two query matches with exit status zero. Full decompression and a broad query still passed. This is a version-scoped pair-identity counterexample, not a CRC failure rate or a benchmark. [hesela-pair-evidence] Related terms: - [gzip](https://hesela.dev/terms/gzip/) - [tabix-index](https://hesela.dev/terms/tabix-index/) Citations: - [bgzf-spec] SAM/BAM specification: BGZF framing and virtual offsets, section 4.1. https://github.com/samtools/hts-specs/blob/510c107ba89aa13113818c9e4fa3071283cb7f7b/SAMv1.tex (accessed 2026-10-25) - [bgzip-manual] HTSlib 1.24 bgzip manual: GZI offset pairs, integrity testing and recompression. https://www.htslib.org/doc/bgzip.html (accessed 2026-10-25) - [hesela-pair-evidence] Hesela: BGZF/tabix generation mismatch, native captures and reproduction method. https://hesela.dev/research/bgzf-tabix-identity/PUBLICATION.md (accessed 2026-10-25) ### Binary fuse filter URL: https://hesela.dev/terms/binary-fuse-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: binary fuse membership filter Status: shipping Record updated: 2026-10-23 A binary fuse filter is a static approximate-membership structure that assigns XOR-linked fingerprints across consecutive segments to support compact membership tests. Note: The original study considers three- and four-location variants; construction needs the complete set. The 3-wise variant stays within about 13% of the storage lower bound of log2(1/e) bits per key and the 4-wise variant within about 8%, at roughly 30% more query time than xor filters. An 8-bit fingerprint gives an expected false-positive probability of 1/256, about 0.4%. Smaller storage does not imply lower construction memory or database latency. [binary-fuse-paper] The pinned C library assumes distinct 64-bit inputs and matching byte order for serialization; those are implementation conditions, not universal file-format guarantees. [fastfilter-readme] Advantages: - Construction can be about twice as fast as for xor filters in some instances, while the filter is also smaller. (sources: [binary-fuse-paper]) Limitations: - The false-positive rate is set by fingerprint width at build time, so changing it requires a rebuild. (sources: [binary-fuse-paper]) Sources and caveats: - binary-fuse-paper is Graf and Lemire, arXiv 2201.01174, re-read 2026-10-23 for the 13% and 8% overheads, the query-time cost and the 8-bit false-positive figure. - A companion analysis of filter read cost is listed but not used for any fact here. - The cuckoo-filter entry links here because the study compares binary fuse filters against cuckoo filters for the same membership role. Related terms: - [xor-filter](https://hesela.dev/terms/xor-filter/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [ribbon-filter](https://hesela.dev/terms/ribbon-filter/) - [sstable](https://hesela.dev/terms/sstable/) - [zor-filter](https://hesela.dev/terms/zor-filter/) Citations: - [binary-fuse-paper] Graf and Lemire. Binary Fuse Filters: Fast and Smaller Than Xor Filters. ACM JEA 27 (2022). DOI: 10.1145/3510449. https://arxiv.org/abs/2201.01174 (accessed 2026-10-23) - [fastfilter-readme] FastFilter xor_singleheader README, commit 5b6b321aa5c0c8ef5b5fb3145206f07f3754a0a1: input contract, construction memory and serialization. https://github.com/FastFilter/xor_singleheader/blob/5b6b321aa5c0c8ef5b5fb3145206f07f3754a0a1/README.md (accessed 2026-10-23) - [hesela-xor] Hesela. Static filters and reproducible fixed-equation examples. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#xor-static (accessed 2026-10-16) ### Binary prefix URL: https://hesela.dev/terms/binary-prefix/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: IEC binary prefix, Binary multiple prefix Status: unknown Record updated: 2026-11-17 A binary prefix specifies an exact power-of-1024 multiple of an information unit, such as kibi (Ki), mebi (Mi) or gibi (Gi). Note: Units: Binary prefixes distinguish powers of two from SI decimal prefixes. One GiB is 1,073,741,824 bytes; one GB is 1,000,000,000 bytes. One TiB is 1,099,511,627,776 bytes; one TB is 1,000,000,000,000 bytes. The prefixes multiply the named unit, so bits, bytes and bytes per second still describe different quantities. [iec-units] [nist-prefixes] Comparison: Dividing the same byte count by these factors gives exactly 1 TB as approximately 931.323 GiB or 0.909495 TiB. This is a unit conversion, not missing space. Parity, metadata and reservations are separate accounting deductions; state both the unit and the capacity layer. The worked example and executable conversion checks are linked below. [hesela-capacity-units] Limitations: - A unit label does not establish whether a value describes raw, usable, free or effective capacity. (sources: [hesela-capacity-units]) Sources and caveats: - Prefix factors follow IEC and NIST; the TB-to-GiB/TiB values are arithmetic conversions, not measured device capacities. Related terms: - [raw-capacity](https://hesela.dev/terms/raw-capacity/) - [usable-capacity](https://hesela.dev/terms/usable-capacity/) - [effective-capacity](https://hesela.dev/terms/effective-capacity/) - [throughput-storage](https://hesela.dev/terms/throughput-storage/) - [bit](https://hesela.dev/terms/bit/) - [byte](https://hesela.dev/terms/byte/) Citations: - [iec-units] IEC style guide: Units and symbols, decimal and binary byte multiples. https://styleguide.iec.ch/?docs=iec/typographic/units-and-symbols (accessed 2026-10-23) - [nist-prefixes] NIST SP 330, Section 3: decimal and binary prefixes. https://www.nist.gov/pml/special-publication-330/sp-330-section-3 (accessed 2026-10-23) - [hesela-capacity-units] Hesela: capacity units versus accounting deductions. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/#capacity-units (accessed 2026-10-23) ### Bind mount URL: https://hesela.dev/terms/bind-mount/ Related analysis: https://hesela.com/analyses/btrfs-tree-log-read-only-replay/ Also known as: Linux bind mount Status: shipping Record updated: 2026-11-15 A Linux bind mount exposes an existing file or directory subtree at another location in the mount hierarchy. Note: A bind mount provides another route to existing filesystem objects, not a copy or point-in-time image. Changes through a writable route can remain visible through a read-only route to the same data. [mount-manual] Ordinary MS_BIND does not reproduce submounts beneath the source directory. Adding MS_REC also reproduces eligible submounts; unbindable mounts and their subtrees are pruned. Recursive binding therefore does not promise a complete copy of every visible nested mount. [mount-api] [shared] On the classic mount(2) interface, MS_BIND alone inherits the source mount options. A bind remount can change per-mount flags without changing the underlying superblock, allowing a read-only bind path beside a writable path. This access restriction is not device-wide write protection. [mount-api] [mount-manual] Sources and caveats: - The command manual is pinned to util-linux v2.41.1. The system-call manual is rolling documentation checked on the access date; no privileged mounting was performed. Related terms: - [mount-point](https://hesela.dev/terms/mount-point/) - [mount-namespace](https://hesela.dev/terms/mount-namespace/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) - [mount-propagation](https://hesela.dev/terms/mount-propagation/) Citations: - [mount-manual] util-linux v2.41.1: mount(8), bind operation and read-only setting notes. https://kernel.googlesource.com/pub/scm/utils/util-linux/util-linux/+/refs/tags/v2.41.1/sys-utils/mount.8.adoc (accessed 2026-11-04) - [mount-api] Linux man-pages: mount(2), bind, recursive bind and per-mount remount flags. https://man7.org/linux/man-pages/man2/mount.2.html (accessed 2026-11-04) - [shared] Linux kernel documentation: Shared Subtrees, propagation and namespace copies. https://docs.kernel.org/filesystems/sharedsubtree.html (accessed 2026-11-04) ### Binomial proportion URL: https://hesela.dev/terms/binomial-proportion/ Status: shipping Record updated: 2026-11-19 A binomial proportion is an outcome count divided by a fixed number of independent binary trials, used to estimate their common outcome probability. Note: For X specified outcomes in n independent trials with a common probability p, X/n estimates p. For failures, p refers to a defined horizon. When X = 0, inverting P(X = 0) = (1 - p)^n gives the exact one-sided upper bound p_U = 1 - alpha^(1/n). At 95% confidence alpha = 0.05; the 3/n approximation is less accurate for small n. This endpoint calculation needs no constant-hazard assumption. [nist-binomial-distribution] [nist-independent-trials] [nist-binomial] A drive known to survive the planned horizon has a complete binary outcome even though its lifetime is right-censored. Early loss before that horizon leaves the outcome unknown. Repeated daily records from one drive are not additional independent trials. Different horizons or dependent failures need an observation model that accounts for those differences. A proportion of drives failing is not failures per unit exposure. [nist-censoring] [hesela-methods] Related terms: - [statistical-power](https://hesela.dev/terms/statistical-power/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [poisson-rate-model](https://hesela.dev/terms/poisson-rate-model/) - [afr](https://hesela.dev/terms/afr/) - [drive-day](https://hesela.dev/terms/drive-day/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [bootstrap](https://hesela.dev/terms/bootstrap/) - [confidence-sequence](https://hesela.dev/terms/confidence-sequence/) Citations: - [nist-binomial-distribution] NIST e-Handbook: Binomial distribution. https://www.itl.nist.gov/div898/handbook/eda/section3/eda366i.htm (accessed 2026-10-17) - [nist-independent-trials] NIST CSRC Glossary: Binomial distribution. https://csrc.nist.gov/glossary/term/Binomial_Distribution (accessed 2026-10-17) - [nist-binomial] NIST e-Handbook: Exact binomial confidence intervals. https://www.itl.nist.gov/div898/handbook/prc/section2/prc241.htm (accessed 2026-10-17) - [nist-censoring] NIST e-Handbook: Censoring. https://www.itl.nist.gov/div898/handbook/apr/section1/apr131.htm (accessed 2026-10-17) - [hesela-methods] Hesela: AFR is a rate, not a one-year failure probability. https://hesela.com/analyses/afr-rate-not-probability/ (accessed 2026-10-17) ### Birthday bound URL: https://hesela.dev/terms/birthday-bound/ Also known as: Birthday collision bound Status: shipping Record updated: 2026-11-20 The birthday bound describes how the probability of any hash collision grows with the number of distinct inputs sharing an output space. Note: For n distinct inputs with independent uniform b-bit digests, the probability of at least one collision is 1 - product(1 - i/2^b), for i from 0 to n-1 and n <= 2^b. It is one when n exceeds the output-space size. The upper bound min(1, n(n-1)/(2*2^b)) follows by counting unordered pairs. The expression 1 - exp(-n(n-1)/(2*2^b)) is an approximation, not the exact product. [black2006] This is not a measured storage failure rate. One specified pair, repeated comparisons against a fixed target, and all pairs in an archive are different events. The random-function model does not require random file contents, but it does assign independent outputs only to distinct inputs. Rehashing identical bytes adds no new distinct input. [black2006] Hesela's exact four-input, two-bit example has 232 colliding assignments out of 256, giving 29/32. The downloadable code checks small spaces exhaustively and labels its large-population calculations as approximations. A billion distinct inputs with ideal 64-bit outputs give about 2.67410e-2 for any collision, not the one-pair value 2^-64. These are hypothetical arithmetic results, not cryptanalysis. [hesela-birthday] Historical papers discussing SHA-1 are not current algorithm recommendations. Collision resistance and second-preimage resistance concern different attack goals; digest width alone does not establish a concrete function's security. [nist-hashes] Limitations: - An all-pairs archive calculation is inappropriate for a system that compares only selected corresponding pairs; the comparison namespace and horizon must be specified. (sources: [black2006]) - Ideal random-output arithmetic does not account for chosen-input attacks, implementation errors, stale metadata or hardware faults. (sources: [black2006], [nist-hashes]) Sources and caveats: - Primary-source synthesis and original arithmetic, not a new theorem or an empirical collision sample. - Reproducible model, tests, limitations and source metadata: https://hesela.dev/research/birthday/README.md Related terms: - [hash-collision](https://hesela.dev/terms/hash-collision/) - [deduplication](https://hesela.dev/terms/deduplication/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) Citations: - [black2006] J. Black. Compare-by-Hash: A Reasoned Analysis. USENIX ATC 2006, pp. 85-90; sections 2-3 and appendix A. https://www.usenix.org/legacy/events/usenix06/tech/full_papers/black/black.pdf (accessed 2026-11-20) - [nist-hashes] NIST CSRC: Hash Functions, security strengths and SHA-1 transition. https://csrc.nist.gov/projects/hash-functions (accessed 2026-11-20) - [hesela-birthday] Hesela: archive-wide collision populations, exact toy oracle and ideal-hash arithmetic. https://hesela.com/analyses/deduplication-restore-fragmentation/#birthday-population (accessed 2026-11-20) ### Bit error rate URL: https://hesela.dev/terms/bit-error-rate/ Related analysis: https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ Also known as: BER, bit error ratio Status: shipping Record updated: 2026-10-23 Bit error rate (BER) expresses erroneous bits relative to the total bits considered at a specified observation point. Note: A communications-security glossary defines the ratio as incorrectly received bits over bits transmitted through a channel and notes that it also applies to storage. [nist] The observation point, sample size and interval have to be stated, because the term alone does not mean before error correction. A field study of flash drives defines raw bit error rate as corrupted bits per total bits read, counting both correctable and uncorrectable events. [schroeder2016] Counting conventions change the figure. In the first drive generation of that study each page of 16 data chunks reported only the corrupted-bit count of its worst chunk, so true RBER could be up to 16 times higher than recorded. Median RBER across models ranged from 5.8e-10 to more than 3e-08, and the 99th percentile of a model was typically at least ten times its median. [schroeder2016] After correction, a flash survey defines the uncorrectable bit error rate as the codeword failure rate divided by codeword length. In its example a BCH code with rate 0.935 stays within a 10^-16 UBER target up to an RBER of 1.0e-3, while soft-decision LDPC with rate 0.936 reaches 5.0e-3 at the cost of extra reads. [cai2017] Advantages: - Normalizing by bits read lets error levels be compared across drives that use the same reporting convention. (sources: [schroeder2016]) Limitations: - Raw BER and post-correction outcomes are distinct; a codeword failure ratio is not itself a count of erroneous bits. (sources: [cai2017]) - Fleet averages are dominated by a few outlier drives, so medians and percentiles describe field data better. (sources: [schroeder2016]) Sources and caveats: - nist is the NIST CSRC glossary entry citing CNSSI 4009-2022, re-read for the channel definition and its storage scope. - schroeder2016 is the FAST 2016 field study, re-read for the RBER definition, the worst-chunk reporting caveat and the Table 3 range. - cai2017 is arXiv:1706.08642, re-read in sections 6.2-6.3 for the UBER definition and the BCH and LDPC example. - The soft-decision-decoding entry links here because the example shows soft LDPC tolerating a higher raw error rate within the same UBER target. Related terms: - [ldpc](https://hesela.dev/terms/ldpc/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [hdd](https://hesela.dev/terms/hdd/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [codeword](https://hesela.dev/terms/codeword/) - [raw-bit-error-rate](https://hesela.dev/terms/raw-bit-error-rate/) - [uncorrectable-bit-error-rate](https://hesela.dev/terms/uncorrectable-bit-error-rate/) Citations: - [c1] Bit error rate. https://en.wikipedia.org/wiki/Bit_error_rate (accessed 2026-03-26) - [nist] NIST CSRC glossary: bit error rate, citing CNSSI 4009-2022. https://csrc.nist.gov/glossary/term/bit_error_rate (accessed 2026-10-23) - [cai2017] Cai, Ghose, Haratsch, Luo and Mutlu. Error Characterization, Mitigation, and Recovery in Flash Memory Based SSDs. arXiv:1706.08642, 2017, sections 6.2-6.3. https://arxiv.org/abs/1706.08642 (accessed 2026-10-23) - [hesela-ldpc] Hesela: LDPC in NAND, the read cost of confidence. https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ (accessed 2026-10-11) - [snia-ber] SNIA Dictionary: bit error rate. https://www.snia.org/education/online-dictionary/term/bit-error-rate (accessed 2026-10-12) - [solidigm-p5810] Solidigm D7-P5810 product brief, page 3 reliability table and page 4 qualification note. https://www.solidigm.com/content/dam/solidigm/en/site/products/data-center/product-briefs/d7-5810/documents/solidigm-d7-p5810-product-brief.pdf (accessed 2026-10-12) - [schroeder2016] Schroeder, Lagisetty and Merchant. Flash Reliability in Production: The Expected and the Unexpected. USENIX FAST 2016, sections 4 and 5.2-5.3. https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-10-23) ### Bit packing URL: https://hesela.dev/terms/bit-packing/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: Bit-packing, Packed integers Status: shipping Record updated: 2026-11-17 Bit packing stores values or fields in a contiguous sequence of bits without requiring a separate whole byte or machine word for each value. Note: Width: For unsigned values 0 through 7, three bits per value suffice: eight values occupy 24 payload bits. Headers, padding and alignment are separate. Arrow packs Boolean values and validity flags into bits while specifying buffer alignment independently. [arrow-layout] Ordering: A packing format must define bit order as well as value width. For 0 through 7 at width 3, Parquet's hybrid payload is hexadecimal 88 c6 fa; deprecated BIT_PACKED produces 05 39 77. These are different wire layouts for the same values. [parquet-encoding] Context: The hybrid format counts packed runs in groups of eight and assumes the width is known. An encoded byte count alone does not identify the number, signedness or meaning of decoded values. [parquet-encoding] Sources and caveats: - Source synthesis and exact unsigned-integer examples. The executable example implements bounded bit arithmetic, not a complete Parquet reader. Related terms: - [run-length-encoding](https://hesela.dev/terms/run-length-encoding/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [parquet](https://hesela.dev/terms/parquet/) - [frame-of-reference](https://hesela.dev/terms/frame-of-reference/) - [patched-frame-of-reference](https://hesela.dev/terms/patched-frame-of-reference/) Citations: - [parquet-encoding] Apache Parquet: RLE/bit-packing hybrid and deprecated BIT_PACKED encodings. https://parquet.apache.org/docs/file-format/data-pages/encodings/ (accessed 2026-11-17) - [arrow-layout] Apache Arrow: Boolean, validity bitmap and run-end encoded layouts. https://arrow.apache.org/docs/format/Columnar.html (accessed 2026-11-17) ### Bit-patterned media URL: https://hesela.dev/terms/bit-patterned-media/ Also known as: BPM, BPMR Status: research Record updated: 2026-10-17 Bit-patterned media is a magnetic recording medium that stores individual bits on lithographically defined, separated magnetic islands. Note: Each island replaces the group of grains used for one bit in conventional granular media. Signal quality then depends on island placement and addressability rather than simply grain count [c2]. Thermal stability still matters: a value near 60 for the energy-barrier ratio is not a universal retention threshold [weller]. A 2015 demonstration reported 1.6 Td/in2 patterned media, corresponding to roughly 1.3 Tb/in2 after recording overhead, and a raw error rate below 1e-2 [c2]. A companion demonstration used shingled recording and two-dimensional decoding with a reader larger than the bit spacing [c3]. Island density, raw detector error rate and decoded user-data reliability are different quantities. Patterning trades random grain-boundary noise for fabrication tolerances, switching-field variation and write-clock alignment. Thermal decay can also be accelerated by adjacent-track write fields and dipolar interactions [c2]. A successful density demonstration therefore does not establish a retention guarantee for a complete drive. Advantages: - A larger magnetic island per bit can improve stability compared with the smaller grains needed in conventional granular recording. (sources: [c2]) Limitations: - Missing or merged islands can produce defects that must be included in the recording error budget. (sources: [c3]) - Write synchronization must register current transitions to prepatterned bit positions. (sources: [c2]) - Head skew, servo tracking and pattern manufacture complicate integration into a rotating disk. (sources: [c2]) Sources and caveats: - The 2015 recording papers [c2, c3] come from the same HGST research group. Their results are laboratory demonstrations, not independent fleet evidence or proof of shipping availability. - The 1999 institutional abstract [weller] was reviewed for its qualified stability-threshold statement; no full-paper reproduction is claimed. - The previously cited thesis [c4] is retained as further reading; the rewritten technical description relies on the primary recording papers. - Reviewed [c2] sections I and II, including II.B.2 thermal stability; [c3] abstract and experimental setup. No third-party figures or experimental data are reproduced. Related terms: - [hamr](https://hesela.dev/terms/hamr/) - [pmr](https://hesela.dev/terms/pmr/) - [areal-density](https://hesela.dev/terms/areal-density/) - [superparamagnetic-limit](https://hesela.dev/terms/superparamagnetic-limit/) - [smr](https://hesela.dev/terms/smr/) - [magnetic-thermal-stability-factor](https://hesela.dev/terms/magnetic-thermal-stability-factor/) Citations: - [c1] Bit-patterned media. https://en.wikipedia.org/wiki/Bit-patterned_media (accessed 2026-03-26) - [c2] Albrecht et al., Bit Patterned Magnetic Recording: Theory, Media Fabrication, and Recording Performance (2015), arXiv:1503.06664. https://arxiv.org/pdf/1503.06664 (accessed 2026-10-17) - [c3] Obukhov et al., Two-dimensional Decoding Algorithms and Recording Techniques for Bit Patterned Media Feasibility Demonstrations (2015). https://arxiv.org/pdf/1506.00573 (accessed 2026-10-17) - [c4] Monte Carlo simulation of bit patterned media applied to data storage devices (MSc thesis, Universidad Nacional de Colombia, 2016). https://bffrepositorio.unal.edu.co/server/api/core/bitstreams/1fdb57ea-9cc8-4493-bd3c-92356ffd9f88/content (accessed 2026-10-16) - [weller] Weller and Moser, Thermal effect limits in ultrahigh-density magnetic recording (1999), doi:10.1109/20.809134. https://research.ibm.com/publications/thermal-effect-limits-in-ultrahigh-density-magnetic-recording (accessed 2026-10-17) ### Bit URL: https://hesela.dev/terms/bit/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: Binary digit Status: unknown Record updated: 2026-11-17 A bit is a binary digit with one of two values, conventionally written 0 and 1. Note: Storage: A bit represents a two-state choice; it need not be independently addressable. A group of n bits has 2^n possible patterns, so eight bits have 256 patterns. [c11-byte] Units: In modern storage-unit notation, 1 B is eight bits. Decimal and binary prefixes apply to either unit: 1 Mbit is 1,000,000 bits, while 1 Mibit is 1,048,576 bits. A bit count is not a byte count or a rate in bits per second. [nist-units] Rates: Dividing 1 Gbit/s by eight gives 125,000,000 B/s, or 125 MB/s. This changes the unit of the same rate; it does not remove protocol overhead or turn a link rating into measured file-transfer throughput. [nist-units] Information: Storage width is not source entropy. Shannon's base-2 entropy measures uncertainty under specified probabilities. Eight stored bits can represent eight independent fair choices or one fair choice repeated eight times; their joint entropies are 8 and 1 bits respectively. Correlations matter, so a marginal count alone does not establish compressibility. These are source models, not measured files. [shannon-entropy] Sources and caveats: - The C terminology is read from the April 2011 N1570 committee draft; the rate conversion is arithmetic, not a device measurement. Related terms: - [byte](https://hesela.dev/terms/byte/) - [binary-prefix](https://hesela.dev/terms/binary-prefix/) - [throughput-storage](https://hesela.dev/terms/throughput-storage/) Citations: - [nist-units] NIST: Prefixes for binary multiples, unit examples. https://physics.nist.gov/cuu/Units/binary.html (accessed 2026-11-17) - [c11-byte] WG14 N1570, C11 committee draft: sections 3.5-3.6, 5.2.4.2.1 and 6.5.3.4. https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf (accessed 2026-11-17) - [shannon-entropy] C. E. Shannon (1948), A Mathematical Theory of Communication: sections 6-7, corrected reprint. https://people.math.harvard.edu/~ctm/home/text/others/shannon/entropy/entropy.pdf (accessed 2026-11-17) ### Bitcask URL: https://hesela.dev/terms/bitcask/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Status: shipping Record updated: 2026-11-28 Bitcask is a log-structured key-value store that locates appended records through an in-memory hash index called the keydir. Note: Layout: Writes append records and update the keydir. The complete keydir must fit in RAM even when values do not. Merging copies live records from older files. [bitcask-paper] Startup: The original design can share an existing keydir within one Erlang VM. Otherwise it reconstructs the index from data files, using smaller hint files where available. Hints accelerate reconstruction but do not replace stored values. [bitcask-paper] Synchronization: At revision d84c8d9, sync_strategy defaults to none. The {seconds, N} setting requires the caller to schedule sync calls. The default Erlang I/O backend warns that o_sync is unsupported, so selecting that option alone does not establish synchronized writes. Its explicit file_sync path calls file:sync. [bitcask-config] [bitcask-io] [bitcask-file] Limitations: - The hash index is not an ordered LSM-tree index; the two layouts should not be treated as interchangeable for range-query planning. (sources: [bitcask-paper], [wisckey-paper]) Sources and caveats: - The 2010 design paper and implementation revision d84c8d913713da8f02403431217405f84ee1ba22 describe different historical snapshots. - Source review only: no Bitcask execution, power-loss experiment or performance reproduction. Backend behavior is revision-specific. Related terms: - [value-log](https://hesela.dev/terms/value-log/) - [wisckey](https://hesela.dev/terms/wisckey/) - [haystack](https://hesela.dev/terms/haystack/) Citations: - [bitcask-paper] Sheehy and Smith. Bitcask: A Log-Structured Hash Table for Fast Key/Value Data. 27 April 2010, pp. 2-6. https://riak.com/assets/bitcask-intro.pdf (accessed 2026-11-14) - [bitcask-config] Bitcask configuration at d84c8d9: default strategy and caller-owned periodic synchronization. https://github.com/basho/bitcask/blob/d84c8d913713da8f02403431217405f84ee1ba22/src/bitcask.app.src#L19-L28 (accessed 2026-11-14) - [bitcask-io] Bitcask I/O dispatch at d84c8d9: default Erlang backend selection. https://github.com/basho/bitcask/blob/d84c8d913713da8f02403431217405f84ee1ba22/src/bitcask_io.erl (accessed 2026-11-14) - [bitcask-file] Bitcask Erlang file backend at d84c8d9: unsupported o_sync option and explicit file synchronization. https://github.com/basho/bitcask/blob/d84c8d913713da8f02403431217405f84ee1ba22/src/bitcask_file.erl (accessed 2026-11-14) - [wisckey-paper] Lu et al. WiscKey. USENIX FAST 2016, sections 3.2-3.3: ordered index and separate value log. https://files.usenix.org/s3fs-public/cdn/fast16-papers-lu.pdf (accessed 2026-11-14) ### Bitmap index URL: https://hesela.dev/terms/bitmap-index/ Also known as: Bitmap indexing Status: shipping Record updated: 2026-11-19 A bitmap index represents indexed predicates as sets of row identifiers encoded by bitmaps, allowing queries to combine those sets. Note: Encoding: In an equality-encoded index, each distinct attribute value has a bitmap whose set bits identify matching rows. Range encoding instead represents cumulative predicates. Encoding determines the meaning of a bit; compression determines how those bits are stored. [chan] Queries: For compatible row-identifier mappings, AND intersects candidate sets and OR combines them. Bitmap operations can evaluate several predicates before fetching table rows. A bitmap index is therefore more than a dense bit vector, and its bitmaps need not all use the same physical representation. [implementation] Design: Attribute cardinality, row ordering, encoding, compression and the query mix jointly affect space and work. Low cardinality alone does not establish the best design. Maintaining several index encodings adds storage and update work. [chan] Storage: Roaring partitions integer identifiers into containers and chooses among sorted arrays, bitsets and runs. This is one exact set representation, not an approximate membership test with false positives. [runs] Negation: Complement needs a bounded row universe and the predicate's unknown set. A positive candidate superset cannot simply be inverted into a complete negative result: its false positives become missing negative rows. See the source-backed existence-bitmap contract and runnable example. [negation] Sources and caveats: - Source synthesis of bitmap-index design, not a query-engine benchmark. The SIGMOD 1998 study focuses on selection queries in read-mostly environments. [chan] - Combining sets presupposes compatible row identities and a suitable database visibility policy; bitmap encoding alone does not supply transaction isolation. Related terms: - [inverted-index](https://hesela.dev/terms/inverted-index/) - [roaring-bitmap](https://hesela.dev/terms/roaring-bitmap/) - [b-tree](https://hesela.dev/terms/b-tree/) - [postgresql-bitmap-index-scan](https://hesela.dev/terms/postgresql-bitmap-index-scan/) - [existence-bitmap](https://hesela.dev/terms/existence-bitmap/) Citations: - [chan] Chan and Ioannidis (1998), Bitmap Index Design and Evaluation, SIGMOD, pp. 355-366; DOI 10.1145/276304.276336. https://www.comp.nus.edu.sg/~chancy/sigmod98.pdf (accessed 2026-11-17) - [implementation] Lemire et al., Roaring Bitmaps: Implementation of an Optimized Software Library, arXiv:1709.07821v6, section 1. https://arxiv.org/html/1709.07821v6 (accessed 2026-11-17) - [runs] Lemire, Ssi-Yan-Kai and Kaser, Consistently faster and smaller compressed bitmaps with Roaring, arXiv:1603.06549v4. https://arxiv.org/pdf/1603.06549v4 (accessed 2026-11-17) - [negation] Hesela: bitmap complement, predicate truth and snapshot identity. https://hesela.com/analyses/postgresql-toast-read-coverage/#bitmap-negation (accessed 2026-11-19) ### blk-mq request tag URL: https://hesela.dev/terms/blk-mq-request-tag/ Also known as: blk-mq scheduler tag, blk-mq driver tag Status: shipping Record updated: 2026-11-08 A blk-mq request tag is an integer slot identifier used to manage a Linux block request in a scheduler or driver tag set. Note: Tag-based completion maps a returned identifier to a request without scanning the outstanding-request list. The 2013 multi-queue paper motivates sharing this identifier across the block layer and driver to avoid redundant tracking. [systor2013] Linux v6.16 separates scheduler and driver tag sets. With an I/O scheduler, allocation fills internal_tag and leaves tag at BLK_MQ_NO_TAG; dispatch preparation later acquires a driver tag. Without a scheduler, allocation already fills tag and leaves internal_tag unset. A driver tag alone therefore does not prove hardware submission. [core] [header] blk_mq_start_request emits the issue tracepoint, starts the request timer and sets MQ_RQ_IN_FLIGHT. Waiting for allocation or dispatch is not necessarily covered by that timer. For diagnosis, record the tag set, queue context and lifecycle event rather than treating every allocated request as device service time. [core] Flush and passthrough requests can use scheduler tags while bypassing normal scheduler policy. RQF_SCHED_TAGS and RQF_USE_SCHED describe different properties; a scheduler-tagged request need not have been sorted by that scheduler. [core] Limitations: - Tags identify request slots, not persistent data identities, and do not establish completion ordering. (sources: [blk-doc]) - The original scaling experiments used an immediately completing null device, not measured SSD media latency. (sources: [systor2013]) Sources and caveats: - Source-code interpretation is pinned to Linux v6.16, not a claim about every kernel release or driver. - The header's dispatch-time description is read together with blk_mq_rq_ctx_init, which assigns the driver tag at allocation when RQF_SCHED_TAGS is absent. - The SYSTOR paper explains the historical design and experimental method; no paper replication or physical-device benchmark is reported. Related terms: - [blk-mq](https://hesela.dev/terms/blk-mq/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) Citations: - [systor2013] Bjorling, Axboe, Nellans and Bonnet: Linux Block IO (SYSTOR 2013), sections 3.2.3 and 4; DOI 10.1145/2485732.2485740. https://kernel.dk/blk-mq.pdf (accessed 2026-11-08) - [core] Linux v6.16: blk-mq.c, request allocation, dispatch preparation and blk_mq_start_request. https://github.com/torvalds/linux/blob/v6.16/block/blk-mq.c (accessed 2026-11-08) - [header] Linux v6.16: blk-mq.h, request fields and scheduler/driver tag sets. https://github.com/torvalds/linux/blob/v6.16/include/linux/blk-mq.h (accessed 2026-11-08) - [blk-doc] Linux 6.16: Multi-Queue Block IO Queueing Mechanism. https://docs.kernel.org/6.16/block/blk-mq.html (accessed 2026-11-08) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-11-08) ### Linux blk-mq URL: https://hesela.dev/terms/blk-mq/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: Multi-Queue Block I/O Status: shipping Record updated: 2026-11-19 Linux blk-mq is the block-layer mechanism that stages and dispatches I/O through multiple software and hardware queues. Note: Software staging can support merging and I/O scheduling before requests reach hardware dispatch queues. Selecting the none scheduler does not bypass the complete kernel block layer. [blk-mq] Staging queues are defined per CPU or per node, each with its own lock. The number of hardware dispatch queues follows the hardware contexts of the device and driver but does not exceed the number of cores. Requests that cannot be sent immediately wait on a dispatch list served first on the next queue run. [blk-mq] Queue topology alone does not provide a per-application latency guarantee. Neither the block layer nor the device protocol guarantees completion order, so higher layers must enforce required dependencies. [blk-mq] Linux v6.16 can attempt plug merging and request-QoS throttling before scheduler insertion. These operations can remain with none selected. A plug is flushed at 32 requests, or 64 across multiple queues, or when its last request reaches 128 KiB on a merging queue. mq-deadline shares sorting and FIFO state across its hardware queues. [blk-source] [blk-h] [deadline] Tag allocation is distinct from dispatch. In Linux v6.16, scheduler-tagged requests initially have internal_tag but no driver tag; without a scheduler, tag is assigned at allocation. The request timer starts in blk_mq_start_request, not merely when a tag exists. [blk-source] Advantages: - CPU-local submission entry points remove the single shared queue lock that limited scaling on multiprocessor systems. (sources: [blk-mq]) Limitations: - Merging adjacent sectors happens in staging, and there is no reordering at the hardware dispatch stage. (sources: [blk-mq]) Sources and caveats: - blk-mq is the Linux 6.16 multi-queue block I/O page, re-read for staging queues, hardware queue counts and the dispatch list. - blk-h is the v6.16 block/blk.h header, read for BLK_MAX_REQUEST_COUNT and BLK_PLUG_FLUSH_SIZE. - blk-source and deadline are the v6.16 blk-mq.c and mq-deadline.c sources, re-read on git.kernel.org at the same tag. - The io-request-size entry links here because plug merging can turn several submitted requests into one larger device request. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [inter-flow-interference](https://hesela.dev/terms/inter-flow-interference/) - [io-uring](https://hesela.dev/terms/io-uring/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [mq-deadline](https://hesela.dev/terms/mq-deadline/) - [bfq](https://hesela.dev/terms/bfq/) - [kyber](https://hesela.dev/terms/kyber/) - [blk-mq-request-tag](https://hesela.dev/terms/blk-mq-request-tag/) - [head-of-line-blocking](https://hesela.dev/terms/head-of-line-blocking/) Citations: - [blk-mq] Linux kernel documentation: Multi-Queue Block IO Queueing Mechanism, operation, schedulers and hardware dispatch queues. https://docs.kernel.org/6.16/block/blk-mq.html (accessed 2026-10-23) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-10-20) - [blk-source] Linux v6.16: blk-mq.c, blk_mq_submit_bio. https://github.com/torvalds/linux/blob/v6.16/block/blk-mq.c (accessed 2026-11-08) - [deadline] Linux v6.16: mq-deadline.c, soft expirations and dd_dispatch_request. https://github.com/torvalds/linux/blob/v6.16/block/mq-deadline.c (accessed 2026-10-23) - [blk-h] Linux v6.16: block/blk.h, BLK_MAX_REQUEST_COUNT and BLK_PLUG_FLUSH_SIZE. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/block/blk.h?h=v6.16 (accessed 2026-10-23) ### BlobDB (RocksDB) URL: https://hesela.dev/terms/blobdb/ Also known as: Integrated BlobDB, RocksDB BlobDB Status: shipping Record updated: 2026-12-02 BlobDB is RocksDB's key-value separation facility for storing larger values in blob files while keeping references in the LSM-tree. Note: Integrated BlobDB uses rocksdb::DB rather than legacy StackableDB. Its background-extraction path creates key-sorted files during flush/compaction; compaction relocates blobs and references together. [blobdb-wiki] RocksDB v11.8.1 has experimental Blob Direct Write v1, disabled by default. Qualifying Put values are externalized before WAL/memtable insertion, which then carry BlobIndex references. PutCF leaves values below min_blob_size inline: equality qualifies. TimedPutCF passes through without direct-write separation. [blob-options] [blob-transform] Active files can serve reads before MANIFEST registration. Flush/SST creation must make them manifest-visible for the supported v1 recovery path; it is not WAL replay of active direct-write files. [blob-options] [blob-lifecycle] The upstream close test reads four keys after close/reopen with avoid_flush_during_shutdown enabled. Close forces a flush; this is not an abrupt crash. Checkpoint, backup and live-file enumeration must flush pending direct-write state or may return NotSupported. [blob-tests] [blob-options] Partitions control file placement, not automatically writer parallelism or TTL expiry. Default placement is round-robin; a custom callback must be supplied again on reopen. [blob-options] [blob-direct-design] WiscKey instead checks record liveness against the LSM-tree before relocating survivors. Its recovery argument does not specify the later RocksDB implementation. [wisckey-paper] Limitations: - The direct-write details describe the experimental reduced-scope v1 contract in RocksDB v11.8.1, not all BlobDB versions. Ordered single-memtable-writer mode is required; concurrent memtable writes, pipelined writes, unordered writes and two write queues are unsupported. (sources: [blob-options]) Sources and caveats: - Source review at RocksDB v11.8.1 commit abeebd9630f11bd08c28b7bd43c7bdfc62050654. Upstream tests were read, not run; no native RocksDB crash test or throughput measurement was performed. - RocksDB documentation and code share a project owner. WiscKey supplies historical comparison, not independent validation of the later implementation. Related terms: - [rocksdb](https://hesela.dev/terms/rocksdb/) - [key-value-separation](https://hesela.dev/terms/key-value-separation/) Citations: - [blobdb-wiki] RocksDB project: integrated BlobDB design and garbage collection. https://github.com/facebook/rocksdb/wiki/BlobDB (accessed 2026-12-02) - [blob-options] RocksDB v11.8.1: advanced_options.h, experimental direct-write v1 contract. https://github.com/facebook/rocksdb/blob/abeebd9630f11bd08c28b7bd43c7bdfc62050654/include/rocksdb/advanced_options.h#L1202-L1257 (accessed 2026-12-02) - [blob-transform] RocksDB v11.8.1: BlobWriteBatchTransformer::PutCF, TimedPutCF and PutEntityCF. https://github.com/facebook/rocksdb/blob/abeebd9630f11bd08c28b7bd43c7bdfc62050654/db/blob/blob_write_batch_transformer.cc#L153-L245 (accessed 2026-12-02) - [blob-lifecycle] RocksDB v11.8.1: blob generation rotation, flush registration and active-file reads. https://github.com/facebook/rocksdb/blob/abeebd9630f11bd08c28b7bd43c7bdfc62050654/db/blob/blob_file_partition_manager.cc#L534-L620 (accessed 2026-12-02) - [blob-tests] RocksDB v11.8.1: direct-write close, option, threshold and snapshot tests (reviewed, not executed). https://github.com/facebook/rocksdb/blob/abeebd9630f11bd08c28b7bd43c7bdfc62050654/db/blob/db_blob_direct_write_test.cc (accessed 2026-12-02) - [blob-direct-design] Xingbo Wang. Blob Direct Write With Partitioned Blob Files. RocksDB project, 20 June 2026. https://rocksdb.org/blog/2026/06/20/blob-direct-write-partitioned-blob-files.html (accessed 2026-12-02) - [wisckey-paper] Lu, Pillai, Arpaci-Dusseau and Arpaci-Dusseau. WiscKey. FAST 2016, pp. 133-148, sections 3.2-3.3. https://files.usenix.org/s3fs-public/cdn/fast16-papers-lu.pdf (accessed 2026-12-02) - [hesela-kv] Hesela: BlobDB placement and recovery boundaries. https://hesela.com/analyses/key-value-separation-cleaning-cost/#blobdb-write-paths (accessed 2026-12-02) ### Linux block-device read-only flag URL: https://hesela.dev/terms/block-device-read-only/ Also known as: Block-device read-only state Status: shipping Record updated: 2026-11-15 The Linux block-device read-only flag is a software-controlled device state exposed through block-device ioctls to restrict write access. Note: The util-linux v2.41.1 manual warns that changing the flag may leave existing active access unaffected, including a filesystem already in read-write use. [blockdev] In Linux v7.3, BLKROSET and BLKROGET are ioctl numbers 93 and 94, and BLKROSET without CAP_SYS_ADMIN returns EACCES. [linux-blk-ioctl] A device also counts as read-only when the whole-disk flag is set or the driver reports write protection. [linux-blkdev-h] A flag value alone is not evidence of a validated forensic write-blocking workflow; NIST publishes software write-blocker test resources, so software and unvalidated are not synonyms. [write-block-testing] Advantages: - blockdev --getro prints 1 or 0, so the state can be checked from a shell without a custom ioctl program. (sources: [blockdev]) - A driver hook can refuse the change before the flag is set, so a device that cannot honor the request can reject it. (sources: [linux-blk-ioctl]) - Because the flag is kept per block device, one partition can be read-only while the whole disk stays writable. blockdev --report gives each partition start as StartSec in 512-byte sectors, which ties a read-only partition to its disk offset. (sources: [blockdev], [linux-blkdev-h]) Limitations: - Device state, filesystem state and subvolume properties have distinct scopes. (sources: [blockdev], [mount-scope]) - The flag is a kernel software state and does not by itself prove that the drive firmware rejects write commands. (sources: [linux-blk-ioctl], [linux-blkdev-h]) Sources and caveats: - blockdev is the util-linux v2.41.1 blockdev(8) source at the cited tag, re-read for --setro, --getro, the active-access caveat and the 512-byte StartSec unit of --report. - linux-blk-ioctl is block/ioctl.c at v7.3, read for the CAP_SYS_ADMIN check, the driver hook and the flag update. The ioctl numbers were checked in include/uapi/linux/fs.h at v7.3. - linux-blkdev-h is include/linux/blkdev.h at v7.3, read for the combined per-device and whole-disk test. block/genhd.c at v7.3 was read for the sysfs ro attribute and driver write protection. - The btrfs-send-stream entry links here because send needs a read-only source subvolume, a scope distinct from this device-level state. Related terms: - [read-only-mount](https://hesela.dev/terms/read-only-mount/) - [btrfs-read-only-subvolume](https://hesela.dev/terms/btrfs-read-only-subvolume/) - [dm-integrity-recovery-mode](https://hesela.dev/terms/dm-integrity-recovery-mode/) - [block-device](https://hesela.dev/terms/block-device/) Citations: - [blockdev] util-linux v2.41.1: blockdev(8), read-only flag and active-access caveat. https://kernel.googlesource.com/pub/scm/utils/util-linux/util-linux/+/refs/tags/v2.41.1/disk-utils/blockdev.8.adoc (accessed 2026-10-23) - [mount-scope] util-linux v2.41.1: mount(8), Read-only Setting Notes. https://kernel.googlesource.com/pub/scm/utils/util-linux/util-linux/+/refs/tags/v2.41.1/sys-utils/mount.8.adoc (accessed 2026-10-15) - [write-block-testing] NIST CFTT: Software Write Block testing resources. https://www.nist.gov/itl/csd/secure-systems-and-applications/computer-forensics-tool-testing-program-cftt/cftt-9 (accessed 2026-10-15) - [hesela] Hesela: Btrfs tree logs and read-only scope boundaries. https://hesela.com/analyses/btrfs-tree-log-read-only-replay/#read-only-scopes (accessed 2026-10-15) - [linux-blk-ioctl] Linux v7.3 block/ioctl.c: BLKROSET permission check and read-only flag. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/block/ioctl.c?h=v7.3 (accessed 2026-10-23) - [linux-blkdev-h] Linux v7.3 include/linux/blkdev.h: per-device and whole-disk read-only tests. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/blkdev.h?h=v7.3 (accessed 2026-10-23) ### Block device URL: https://hesela.dev/terms/block-device/ Status: shipping Record updated: 2026-11-22 A block device is an operating-system device abstraction that exposes storage through addressable blocks, whether its backing is physical, virtual or memory-resident. Note: Identity: In Linux, a block special file has type S_IFBLK. Its st_rdev identifies the represented device; st_dev instead identifies the device associated with the filesystem containing that inode. The device node and the storage it represents are different objects. [inode] Backing: A loop device maps blocks to a regular file or another block device. A filesystem image in a file can therefore be accessed through a block-device interface without becoming a physical disk. Linux permits LOOP_CHANGE_FD only for a read-only loop device whose replacement backing store matches the old store in size and type. Consequently, an unchanged device node is not proof of an unchanged backing image. [loop] Persistence: zram stores compressed pages in RAM and can optionally write selected pages to a configured backing device. Block addressing alone does not establish persistence after power loss. [zram] Requests: Linux blk-mq connects userspace or filesystems to block-device drivers. Requests may be merged or reordered, and the block layer does not itself guarantee completion order. [blk-mq] Sources and caveats: - The concrete identity fields and driver examples describe Linux, not a universal device API. - Documentation synthesis, not a native block-device or power-loss experiment. Related terms: - [block-storage](https://hesela.dev/terms/block-storage/) - [block-device-read-only](https://hesela.dev/terms/block-device-read-only/) - [zram](https://hesela.dev/terms/zram/) - [zoned-block-device](https://hesela.dev/terms/zoned-block-device/) - [character-device](https://hesela.dev/terms/character-device/) - [virtio-blk](https://hesela.dev/terms/virtio-blk/) - [disk-partition](https://hesela.dev/terms/disk-partition/) Citations: - [inode] Linux man-pages: inode(7), file type and represented-device identity. https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-11-15) - [loop] Linux man-pages: loop(4), file-backed and block-backed loop devices. https://man7.org/linux/man-pages/man4/loop.4.html (accessed 2026-11-15) - [zram] Linux 6.12: zram, compressed RAM backing and optional writeback. https://docs.kernel.org/6.12/admin-guide/blockdev/zram.html (accessed 2026-11-15) - [blk-mq] Linux 6.12: Multi-Queue Block IO Queueing Mechanism. https://docs.kernel.org/6.12/block/blk-mq.html (accessed 2026-11-15) - [hesela] Hesela: Btrfs recovery, represented devices and read-only scopes. https://hesela.com/analyses/btrfs-tree-log-read-only-replay/#block-device-identity (accessed 2026-11-15) ### Block-independent compression URL: https://hesela.dev/terms/block-independent-compression/ Related analysis: https://hesela.com/analyses/lz4-frame-checks-block-order/ Also known as: Independent compressed blocks Status: shipping Record updated: 2026-11-11 Block-independent compression encodes each block without requiring decoded history from preceding blocks. Note: LZ4 independent blocks can still share an external dictionary. Independence removes preceding-block history, not dictionary, boundary or size requirements. A raw block interface needs surrounding metadata to supply decoding bounds. [frame-spec] [block-format] Random access also requires locating the requested block and deciding what integrity checks cover a partial read. A whole-frame content check cannot be completed from only one selected block. Reordering independently decodable blocks can change the restored object while each block checksum still passes. [hesela-lz4] The liblz4 1.9.4 dictionary decompression API uses dictionary memory in place. Keep that buffer accessible throughout frame decoding; compression-side CDict creation instead copies the supplied content. This lifetime contract is separate from block independence and dictionary selection. The dictionary controls test supplied-byte identity, not use-after-free or parallel random access. [frame-api] [hesela-lz4] The raw LZ4 partial decoder returns a requested prefix, not proof of whole-block validity. In Hesela's liblz4 1.9.4 control, it restores all 96 expected bytes from a block with an extra trailing byte while full decoding rejects that input. A shortened literal sequence can instead return fewer bytes without an error. Keep prefix length, input boundaries and object identity separate. [block-api] [hesela-lz4] By contrast, DEFLATE permits references into prior blocks; block-local Huffman coding does not establish history independence. [rfc1951] Related terms: - [lz4-frame](https://hesela.dev/terms/lz4-frame/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) - [read-amplification](https://hesela.dev/terms/read-amplification/) - [checksum](https://hesela.dev/terms/checksum/) - [deflate](https://hesela.dev/terms/deflate/) Citations: - [frame-spec] LZ4 Frame Format 1.6.4, pinned to v1.10.0: block independence, checksums and dictionaries. https://github.com/lz4/lz4/blob/v1.10.0/doc/lz4_Frame_format.md (accessed 2026-10-18) - [block-format] LZ4 v1.9.4 block format: out-of-band metadata and decoding bounds. https://github.com/lz4/lz4/blob/v1.9.4/doc/lz4_Block_format.md (accessed 2026-10-18) - [hesela-lz4] Hesela: LZ4 frame checks, block order and completion. https://hesela.com/analyses/lz4-frame-checks-block-order/ (accessed 2026-10-18) - [frame-api] LZ4 v1.9.4 frame API: compression dictionary copy and decoding buffer lifetime. https://github.com/lz4/lz4/blob/v1.9.4/lib/lz4frame.h (accessed 2026-10-22) - [block-api] LZ4 v1.9.4 raw-block API: LZ4_decompress_safe_partial bounds and return contract. https://github.com/lz4/lz4/blob/v1.9.4/lib/lz4.h (accessed 2026-10-22) - [rfc1951] RFC 1951: DEFLATE format, sections 2 and 3.2-3.3 (Informational, May 1996). https://www.rfc-editor.org/rfc/rfc1951.html (accessed 2026-11-11) ### Block invalidation time URL: https://hesela.dev/terms/block-invalidation-time/ Related analysis: https://hesela.com/analyses/ssd-overprovisioning-denominators/ Also known as: block death time, BIT (storage placement) Status: research Record updated: 2026-11-21 Block invalidation time is the point at which a stored block version becomes obsolete, rather than the duration for which it remained valid. Note: Equal lifetimes do not imply equal invalidation endpoints when versions were written at different times. [unwritten-contract] SepBIT infers placement from user-write history and surviving GC-rewritten blocks, rather than assuming perfect knowledge of future invalidations. Its logical clock advances on user writes, not GC rewrites. [sepbit] Keep the observation unit explicit: elapsed seconds, intervening workload writes and physical erase cycles are different quantities. Sampling frame: with independent writes targeting two addresses with probabilities 3/4 and 1/4, a newly written version has 62.5% next-write overwrite probability, but a uniform live-address snapshot has 50%. In stationarity, exact age g weights addresses by p_i(1-p_i)^g; minimum age g weights them by (1-p_i)^g. The age unit is workload writes, and neither sample is a GC-victim selection model. [hesela-op] Limitations: - An estimated invalidation time is not a guaranteed overwrite deadline, and a placement heuristic does not establish device-level write amplification. (sources: [sepbit]) Sources and caveats: - Primary-source synthesis; related age-conditioning arithmetic is explicitly hypothetical, not a hardware experiment or reproduction of the SepBIT prototype. - The stationary snapshot extension is a finite IID model derivation checked by exact small-history enumeration, not a new trace analysis or a claimed SepBIT result. Related terms: - [hot-cold-data-separation](https://hesela.dev/terms/hot-cold-data-separation/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [greedy-garbage-collection](https://hesela.dev/terms/greedy-garbage-collection/) - [write-amplification](https://hesela.dev/terms/write-amplification/) Citations: - [unwritten-contract] He et al. The Unwritten Contract of Solid State Drives. EuroSys 2017, section 3.4. DOI: 10.1145/3064176.3064187. https://research.cs.wisc.edu/wind/Publications/eurosys17-he.pdf (accessed 2026-11-14) - [sepbit] Wang et al. Separating Data via Block Invalidation Time Inference for Write Amplification Reduction in Log-Structured Storage. FAST 2022. https://www.usenix.org/system/files/fast22-wang.pdf (accessed 2026-11-21) - [hesela-op] Hesela: SSD over-provisioning and conditional overwrite probabilities. https://hesela.com/analyses/ssd-overprovisioning-denominators/ (accessed 2026-11-21) ### Block-level mapping (FTL) URL: https://hesela.dev/terms/block-level-mapping/ Also known as: Block-mapped FTL Status: shipping Record updated: 2026-10-22 Block-level mapping translates logical flash-block numbers to physical eraseblocks while retaining each page's offset. Note: Here block means a group of flash pages, not one host LBA. The logical page number splits into a block number, which the table translates, and an offset that stays fixed, so a logical page can sit at only one position inside its physical block. [dftl] With four pages per block, logical pages 2000 to 2003 share chunk 500, and a read of page 2002 adds offset 2 to the first physical page of the mapped block. [ostep] The table shrinks by the ratio of block size to page size, a factor of 64 for 128 KB blocks of 2 KB pages. [dftl] The price is small writes, since updating one page forces the controller to read the other live pages of the block and rewrite all of them to a fresh block, which raises write amplification, and real blocks can be 256 KB or larger. [ostep] Fixed offsets also clash with large-block flash that must be programmed sequentially within a block. [dftl] Classical hybrid FTLs keep data blocks block-mapped and send updates to a small pool of page-mapped log blocks, for example 3% of flash capacity, which are later merged back into data blocks. [dftl] Advantages: - In the best case, a switch merge, a log block written fully and in order simply becomes the new data block, with no page copying. (sources: [dftl], [ostep]) Limitations: - Random updates end in full merges that copy pages from many data blocks, and in one financial trace about 20% of the full merges of a hybrid scheme involved 20 or more data blocks. (sources: [dftl]) Sources and caveats: - dftl is the ASPLOS 2009 paper read in sections 2-3 and 5.2; ostep is a free university textbook, chapter 44, version 1.10, read in sections 44.4-44.10. - The 2 KB page and 128 KB block geometry is the example in dftl, not a current device figure. - Arithmetic: 128 KB / 2 KB = 64 pages per block, so a block-level table has 64 times fewer entries than a page-level one. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [page-level-mapping](https://hesela.dev/terms/page-level-mapping/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) Citations: - [dftl] Gupta, Kim and Urgaonkar. DFTL: Demand-based Selective Caching of Page-level Address Mappings. ASPLOS 2009, sections 2-3 and 5.2. https://doi.org/10.1145/1508244.1508271 (accessed 2026-10-22) - [ftl-guide] Hesela: Flash Translation Layer technology guide. https://hesela.com/tech/ftl/ (accessed 2026-10-18) - [ostep] Arpaci-Dusseau. Operating Systems: Three Easy Pieces, chapter 44 Flash-based SSDs, version 1.10, sections 44.4-44.10. https://pages.cs.wisc.edu/~remzi/OSTEP/file-ssd.pdf (accessed 2026-10-22) ### Block storage URL: https://hesela.dev/terms/block-storage/ Status: shipping Record updated: 2026-11-15 Block storage presents capacity as a numbered sequence of fixed-size addressable logical blocks that a host reads and writes by block address, leaving any file, directory or object semantics to software above it. Note: Block, file and object describe interfaces at a particular layer, not mutually exclusive kinds of hardware. Ceph, for example, offers all three interfaces while storing their data as RADOS objects. The block interface does not identify the file system or application above it [ceph-interfaces]. Linux blk-mq queues requests between file systems or userspace and device drivers. Adjacent requests can be merged, and schedulers may reorder them; the block layer and device protocols do not guarantee request completion order [c4]. A logical block is an addressing unit, not necessarily an internal allocation or accounting unit. Linux block statistics count transferred sectors in 512-byte units regardless of the device's logical or physical block size. Keep those counters separate from the sizes used by an application [linux-block-stat]. Advantages: - Logical block addresses let higher-level software choose its own file, directory or database organization. (sources: [c2], [c4]) - The SCSI command model can operate over different transports, including TCP/IP through iSCSI. (sources: [c3]) Limitations: - Concurrent hosts need software that coordinates shared updates; block reachability alone does not keep their file-system metadata and caches consistent. (sources: [rhel-filesystems]) - Transport parameters impose separate limits: iSCSI's negotiated data-segment and burst lengths are not a universal file-system or application I/O size. (sources: [c3]) Sources and caveats: - The Ceph example describes the Squid documentation, not a requirement that every block or object system use the same internal representation [ceph-interfaces]. Related terms: - [san](https://hesela.dev/terms/san/) - [iscsi](https://hesela.dev/terms/iscsi/) - [nvme](https://hesela.dev/terms/nvme/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [direct-io](https://hesela.dev/terms/direct-io/) - [lvm](https://hesela.dev/terms/lvm/) - [key-value-ssd](https://hesela.dev/terms/key-value-ssd/) - [file-storage](https://hesela.dev/terms/file-storage/) - [object-storage](https://hesela.dev/terms/object-storage/) - [shared-disk-filesystem](https://hesela.dev/terms/shared-disk-filesystem/) - [direct-attached-storage](https://hesela.dev/terms/direct-attached-storage/) - [block-device](https://hesela.dev/terms/block-device/) Citations: - [c1] Block storage. https://en.wikipedia.org/wiki/Block_(data_storage) (accessed 2026-03-26) - [c2] NVM Express Base Specification, Revision 2.4 (NVM Express, Inc.; open standard). https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.4-Ratified-2026.07.31.pdf (accessed 2026-10-16) - [c3] RFC 7143: Internet Small Computer System Interface (iSCSI) Protocol (Consolidated), IETF, April 2014. https://www.rfc-editor.org/rfc/rfc7143.html (accessed 2026-10-16) - [c4] Linux kernel documentation: Multi-Queue Block IO Queueing Mechanism (blk-mq). https://docs.kernel.org/block/blk-mq.html (accessed 2026-10-16) - [ceph-interfaces] Ceph Squid architecture: client interfaces and RADOS objects. https://docs.ceph.com/en/squid/architecture/ (accessed 2026-10-19) - [rhel-filesystems] Red Hat Enterprise Linux 8: Overview of available file systems, local, network and shared-storage categories. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/managing_file_systems/overview-of-available-file-systems_managing-file-systems (accessed 2026-10-19) - [linux-block-stat] Linux kernel documentation: Block layer statistics in /sys/block//stat. https://docs.kernel.org/block/stat.html (accessed 2026-10-19) ### Blocked Bloom filter URL: https://hesela.dev/terms/blocked-bloom-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: Cache-local Bloom filter Status: shipping Record updated: 2026-12-02 A blocked Bloom filter confines all bit probes for a key to one selected block, ideally one cache line, to improve memory locality. Note: A standard Bloom filter spreads the k probed bits of a key across the whole array. A blocked layout places them in one block that ideally matches a cache line of typically 512 bits, which cuts cache misses per insert or lookup from k to 1. Blocks fill unevenly, so the false-positive rate is higher than for a standard filter of the same size and total fill alone is insufficient to predict it. [choices] Schmitz, Zentgraf and Rahmann express the cost as space per key. For a false-positive rate of 2^-10, a standard Bloom filter needs 1.443 times the minimum of 10 bits per key, a blocked filter 1.565 times and their variant with two alternative blocks per key 1.456 times. [choices] Parquet uses a split-block design with 256-bit blocks of eight 32-bit words and one bit set per word. Its sizing example of 1024 blocks holding 26,214 hash values, about 10 bits per value, gives a false-positive probability of around 1.26%, rising to 18% at 5 bits per value and falling to 0.04% at 20. [parquet] Advantages: - Each insert or lookup touches one block, so memory traffic per operation does not grow with the number of probe bits. (sources: [choices]) Limitations: - A filter sized for an expected number of values degrades quickly when more are inserted, so the count must be estimated before the filter is built. (sources: [parquet]) - Variants with two candidate blocks per key must check up to 2 blocks on lookup, which gives back part of the locality gain. (sources: [choices]) Sources and caveats: - choices is the SEA 2025 paper by Schmitz, Zentgraf and Rahmann, re-read on 2026-10-22 in the introduction, Figure 1 and sections 2 to 4. - The 512-bit cache line, the k-to-1 cache-miss reduction and the 1.443, 1.565 and 1.456 overhead factors at a 2^-10 rate come from choices. - parquet is the Apache Parquet Bloom filter specification, re-read on 2026-10-22 in the technical approach and sizing sections. - The 256-bit block, eight 32-bit words, 1024 blocks, 26,214 values and the 1.26%, 18% and 0.04% probabilities come from parquet. Related terms: - [vacuum-filter](https://hesela.dev/terms/vacuum-filter/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [partitioned-filter](https://hesela.dev/terms/partitioned-filter/) - [sstable](https://hesela.dev/terms/sstable/) - [counting-bloom-filter](https://hesela.dev/terms/counting-bloom-filter/) Citations: - [choices] Johanna Elena Schmitz, Jens Zentgraf and Sven Rahmann. Blocked Bloom Filters with Choices. SEA 2025, article 25, sections 1-4. DOI: 10.4230/LIPIcs.SEA.2025.25. https://drops.dagstuhl.de/doi/10.4230/LIPIcs.SEA.2025.25 (accessed 2026-10-22) - [parquet] Apache Parquet: Bloom Filter, Technical Approach and Sizing an SBBF. https://parquet.apache.org/docs/file-format/bloomfilter/ (accessed 2026-10-22) - [hesela] Hesela: finite Bloom probabilities and block load. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#finite-probability (accessed 2026-10-17) ### Bloom filter URL: https://hesela.dev/terms/bloom-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: Bloom membership filter Status: shipping Record updated: 2026-11-30 A compact approximate-membership structure that can reject absent keys but may report a false positive, without false negatives for correctly inserted keys in an intact standard filter. Note: A positive answer requires checking the underlying data. The false-positive denominator is queries for keys absent from the represented set, not all queries. This is not an integrity checksum. The represented set may be whole keys or extracted prefixes; prefix membership and range emptiness are not interchangeable. The pinned RocksDB filter-policy API requires compatibility with comparator equality. [filter-policy] For independent uniform hashes with replacement, a realized filter with x set bits out of m and k query addresses has conditional false-positive probability (x/m)^k. Averaging this power across random constructions differs from raising mean occupancy to k. [finite-bloom] Blocked layouts also depend on the distribution of occupied bits and absent queries across blocks. [hesela] Double hashing derives query positions from two base hashes. Kirsch and Mitzenmacher prove asymptotic agreement with standard Bloom filtering for independent fully random base hashes and fixed bits-per-key and probe count as the set grows. This is not finite-size equality or independence of the derived positions; the occupancy-only calculation above cannot simply be reused for that scheme. [double-hashing] For fixed bits and hash functions, a repeated absent key repeats its answer: after a false positive, it is positive with probability 1 until the filter changes. Adaptive guarantees bound queries after earlier answers; a low initial FPR is insufficient. [adaptive-amq] Support-optimal bounds for a predetermined sequence do not imply adversarial adaptivity. [support-optimality] Telescoping-filter block resets can lose earlier corrections; its local-space budget excludes remote state, and the described design does not support deletion. [telescoping-filter] Related terms: - [hyperloglog](https://hesela.dev/terms/hyperloglog/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sstable](https://hesela.dev/terms/sstable/) - [ribbon-filter](https://hesela.dev/terms/ribbon-filter/) - [partitioned-filter](https://hesela.dev/terms/partitioned-filter/) - [prefix-bloom-filter](https://hesela.dev/terms/prefix-bloom-filter/) - [prefix-extractor](https://hesela.dev/terms/prefix-extractor/) - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) - [invertible-bloom-lookup-table](https://hesela.dev/terms/invertible-bloom-lookup-table/) - [cuckoo-filter](https://hesela.dev/terms/cuckoo-filter/) - [xor-filter](https://hesela.dev/terms/xor-filter/) - [binary-fuse-filter](https://hesela.dev/terms/binary-fuse-filter/) - [stable-bloom-filter](https://hesela.dev/terms/stable-bloom-filter/) - [counting-bloom-filter](https://hesela.dev/terms/counting-bloom-filter/) - [blocked-bloom-filter](https://hesela.dev/terms/blocked-bloom-filter/) - [lsm-tombstone](https://hesela.dev/terms/lsm-tombstone/) - [fragmented-lsm-tree](https://hesela.dev/terms/fragmented-lsm-tree/) - [monkey](https://hesela.dev/terms/monkey/) - [scalable-bloom-filter](https://hesela.dev/terms/scalable-bloom-filter/) - [learned-bloom-filter](https://hesela.dev/terms/learned-bloom-filter/) - [quotient-filter](https://hesela.dev/terms/quotient-filter/) - [lsm-trie](https://hesela.dev/terms/lsm-trie/) - [daisy-bloom-filter](https://hesela.dev/terms/daisy-bloom-filter/) - [skimpystash](https://hesela.dev/terms/skimpystash/) - [brin](https://hesela.dev/terms/brin/) - [bufferhash](https://hesela.dev/terms/bufferhash/) Citations: - [bloom] Bloom. Space/time trade-offs in hash coding with allowable errors. CACM 13(7), 1970. DOI: 10.1145/362686.362692. https://courses.cs.washington.edu/courses/csep521/21wi/readings/bloom_cacm.pdf (accessed 2026-10-12) - [rocks-bloom] RocksDB project. RocksDB Bloom Filter: statistics, full filters and implementation trade-offs. Documentation reviewed 12 October 2026. https://github.com/facebook/rocksdb/wiki/RocksDB-Bloom-Filter (accessed 2026-10-12) - [hesela] Hesela: Bloom filters and the cost of an absent LSM lookup. https://hesela.com/analyses/bloom-filters-lsm-read-cost/ (accessed 2026-10-12) - [filter-policy] RocksDB v9.7.3. FilterPolicy: custom comparator compatibility warning. https://github.com/facebook/rocksdb/blob/v9.7.3/include/rocksdb/filter_policy.h (accessed 2026-10-13) - [finite-bloom] Bose et al. On the false-positive rate of Bloom filters. Author-hosted manuscript, introduction and section 2. https://people.scs.carleton.ca/~maheshwa/papers/bloom-ipl.pdf (accessed 2026-10-17) - [double-hashing] Kirsch and Mitzenmacher. Less Hashing, Same Performance: Building a Better Bloom Filter. RSA 33, 2008, sections 5-6 and 8. DOI: 10.1002/rsa.20208. https://www.eecs.harvard.edu/~michaelm/postscripts/rsa2008.pdf (accessed 2026-11-03) - [adaptive-amq] Bender et al. Bloom Filters, Adaptivity, and the Dictionary Problem. arXiv:1711.01616v3 (2018), sections 1-4. https://arxiv.org/abs/1711.01616v3 (accessed 2026-11-05) - [support-optimality] Kopelowitz, McCauley and Porat. Support Optimality and Adaptive Cuckoo Filters. arXiv:2105.10622v1 (2021), sections 1, 3 and 5. https://arxiv.org/abs/2105.10622v1 (accessed 2026-11-05) - [telescoping-filter] Lee, McCauley, Singh and Stein. Telescoping Filter: A Practical Adaptive Filter. arXiv:2107.02866v1 (2021), sections 2.2, 4 and appendix B.1. https://arxiv.org/abs/2107.02866v1 (accessed 2026-11-05) ### Blu-ray data archive URL: https://hesela.dev/terms/blu-ray-archive/ Status: limited Record updated: 2026-11-19 A Blu-ray data archive stores retained digital content on recordable BD-R or rewritable BD-RE optical media. Note: An archive may use individual discs or a library; robotics is not part of the format definition. BD-R includes inorganic and organic-dye variants [cci]. HTL and LTH name opposite reflectivity changes during recording, not preservation grades [jvc]. CCI distinguishes Blu-ray LDC/BIS scans from CD/DVD metrics and warns that unsupported formats can resemble disc degradation [cci]. Retain format, reader, recording details and independent content-verification evidence. CCI Table 2 distinguishes general BD-R guidance (5-10 years), non-dye gold-layer BD-R (10-20 years) and BD-RE (20-50 years); these are attributed guidance bands, not warranties or confidence intervals [cci]. LNE's 2012 comparison used 30 heat-aged discs, distinct from its 96 recording trials, with an unknown acceleration factor. Its global score includes baseline ratings and assigned zeros after testing stops: it is not a survival percentage or a calendar lifetime [lne2012bd]. Sources and caveats: - The published replay checks six rounded score means, not raw measurements or shelf life [stress-audit]. - The full Iraci 2018 methods remain unverified; the audit distinguishes its abstract from the complete LNE report [stress-audit]. Related terms: - [optical-archival](https://hesela.dev/terms/optical-archival/) - [m-disc](https://hesela.dev/terms/m-disc/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [bd-r-htl](https://hesela.dev/terms/bd-r-htl/) - [bd-r-lth](https://hesela.dev/terms/bd-r-lth/) - [optical-disc-lifetime-estimate](https://hesela.dev/terms/optical-disc-lifetime-estimate/) - [udo](https://hesela.dev/terms/udo/) - [universal-disk-format](https://hesela.dev/terms/universal-disk-format/) Citations: - [cci] Joe Iraci. CCI Notes 19/1 (2020): Longevity of Recordable CDs, DVDs and Blu-rays; BD-Rs and recorder compatibility. https://www.canada.ca/en/conservation-institute/services/conservation-preservation-publications/canadian-conservation-institute-notes/longevity-recordable-cds-dvds.html (accessed 2026-11-19) - [jvc] JVC (7 October 2008): BD-R LTH TYPE announcement, terminology and compatibility notes. https://www3.jvckenwood.com/press/2008/bv-r130lw.html (accessed 2026-10-15) - [analysis] Hesela: optical-disc lifetime estimates and format-specific evidence. https://hesela.com/analyses/optical-disc-lifetime-estimates/ (accessed 2026-10-15) - [lne2012bd] Lambert and Perdereau, LNE (June 2012): Qualite des disques Blu-Ray enregistrables; sections 4.1 and 5.1-5.2.2. https://www.lne.fr/sites/default/files/inline-files/etude-qualite-bd-r.pdf (accessed 2026-11-19) - [stress-audit] Hesela: Blu-ray guidance, stress-test denominators and replayable score arithmetic. https://hesela.com/analyses/optical-disc-rot-error-rate-signals/#bluray-evidence-heading (accessed 2026-11-19) ### BlueFS URL: https://hesela.dev/terms/bluefs/ Also known as: Ceph BlueFS Status: shipping Record updated: 2026-12-02 BlueFS is the specialized userspace filesystem that supplies RocksDB file storage within a BlueStore OSD. Note: BlueFS holds RocksDB files, while BlueStore places object payload on raw storage. In the SOSP 2019 design, BlueFS keeps file metadata in its own compacted journal and reconstructs it in memory at mount. That journal is distinct from a RocksDB WAL file stored through BlueFS. [sosp2019] Squid's BLUEFS_SPILLOVER warning means metadata has reached the slower primary device after filling the allocated DB space. It can impair performance without implying data corruption. Disabling the warning does not move the metadata back. [squid-health] Free capacity has separate meanings: BDEV_DB free and BDEV_SLOW free report space already held by BlueFS. available_from_bluestore reports capacity BlueStore can hand over. The latter can be smaller than BlueStore's total free space because BlueFS typically needs larger allocation units. A free-byte total alone does not establish metadata allocation headroom. [squid-health] Sources and caveats: - The architecture paragraph describes the historical SOSP 2019 design. Operational warning names and space-accounting fields are scoped to the Squid documentation. [sosp2019] [squid-health] Related terms: - [bluestore](https://hesela.dev/terms/bluestore/) - [rocksdb](https://hesela.dev/terms/rocksdb/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [compaction](https://hesela.dev/terms/compaction/) - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) Citations: - [sosp2019] Aghayev et al. File Systems Unfit as Distributed Storage Backends: Lessons from 10 Years of Ceph Evolution. SOSP 2019, sections 4 and 6-7. https://www.pdl.cmu.edu/PDL-FTP/Storage/ceph-exp-sosp19.pdf (accessed 2026-12-02) - [squid-health] Ceph Squid documentation: BLUEFS_SPILLOVER, BLUEFS_AVAILABLE_SPACE and BLUEFS_LOW_SPACE. https://docs.ceph.com/en/squid/rados/operations/health-checks/ (accessed 2026-12-02) ### BlueStore URL: https://hesela.dev/terms/bluestore/ Also known as: Ceph BlueStore Status: shipping Record updated: 2026-12-02 BlueStore is a Ceph object-storage backend that manages raw block devices and stores object metadata in RocksDB. Note: The SOSP 2019 design persists newly allocated payload before recording its metadata. Smaller deferred writes instead enter RocksDB before later placement. Avoiding journal double-writes on the first path does not make every write journal-free. [sosp2019] In Squid, block holds primary data; optional block.db stores metadata, with spillover to block if needed. Without a separate block.wal, the WAL shares block.db when that device is supplied. A metadata device is not a second payload replica. [squid-config] The minimum allocation size is fixed when an OSD is created. Upgrading Ceph or changing the configuration does not resize that existing allocation unit. Squid documents 4 KiB defaults for HDD and SSD, but older or deliberately customized OSDs can differ. Inspect the OSD's recorded value rather than inferring it from the installed release. [squid-config] For three replicas of one separately allocated, uncompressed 1 KiB object, a 4 KiB minimum requires at least 3 x 4 = 12 KiB of payload allocation; a 64 KiB minimum requires 192 KiB. Metadata is extra. This is allocation arithmetic, not a write-amplification measurement or an erasure-coded layout model. [squid-config] Sources and caveats: - The SOSP 2019 evaluation used a 16-node cluster and Ceph Luminous v12.2.11; its performance comparisons are not current-release guarantees. DOI: 10.1145/3341301.3359656. [sosp2019] - Operational statements are scoped to the Squid documentation accessed on 2026-12-02. No cluster benchmark or failure-injection experiment was performed. Related terms: - [bluefs](https://hesela.dev/terms/bluefs/) - [rocksdb](https://hesela.dev/terms/rocksdb/) - [object-storage](https://hesela.dev/terms/object-storage/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [database-write-amplification](https://hesela.dev/terms/database-write-amplification/) - [space-amplification](https://hesela.dev/terms/space-amplification/) Citations: - [sosp2019] Aghayev et al. File Systems Unfit as Distributed Storage Backends: Lessons from 10 Years of Ceph Evolution. SOSP 2019, sections 4 and 6-7. https://www.pdl.cmu.edu/PDL-FTP/Storage/ceph-exp-sosp19.pdf (accessed 2026-12-02) - [squid-config] Ceph Squid documentation: BlueStore devices and minimum allocation size. https://docs.ceph.com/en/squid/rados/configuration/bluestore-config-ref/ (accessed 2026-12-02) ### Boki URL: https://hesela.dev/terms/boki/ Also known as: Boki shared logs Status: research Record updated: 2026-11-16 Boki is a research serverless runtime that exposes shared logs for durable application state and separates log ordering from read-side caching. Note: LogBooks support tagged reads over a total order; sequence numbers need not be consecutive. A metalog orders fully replicated shard prefixes using componentwise minima of storage progress. The engine returns an append's sequence number after observing that ordering decision. [sosp21] Reads track metalog progress to preserve monotonic reads and read-your-writes. A lagging index must catch up; a child invocation inherits its parent's progress for the same LogBook. Reconfiguration seals the current metalogs before starting a new term. [sosp21] Auxiliary data caches reconstructed state beside log records, but has no durability guarantee. Applications must supply consistent auxiliary values. A cache miss can require replaying earlier records; the auxiliary cache is not a recovery checkpoint. [sosp21] In the pinned implementation, TxnCommit appends a speculative commit record, then calls checkTxnCommitResult and returns a separate committed boolean. Conflict detection compares object write sets within the transaction's log interval. An overlapping earlier transaction only rejects the current one if that earlier transaction actually committed. Failed transactions are skipped during object replay. [txn-code] [log-code] Limitations: - The 2021 BokiStore transaction design provides snapshot isolation. A totally ordered log does not by itself make those transactions serializable. (sources: [sosp21]) - The prototype replicates metalogs in DRAM and assumes a sequencer quorum remains alive. Losing all sequencer memory is outside that failure model. (sources: [sosp21]) Sources and caveats: - Source-based synthesis of the 2021 paper and the pinned sosp-release implementation; not a benchmark replication or a deployment recommendation. - The auxiliary-data contract is from paper sections 3 and 4.4; source inspection covers transaction outcome and object replay, not an end-to-end fault-tolerance proof. Related terms: - [scalog](https://hesela.dev/terms/scalog/) - [delos](https://hesela.dev/terms/delos/) - [tango](https://hesela.dev/terms/tango/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [beldi](https://hesela.dev/terms/beldi/) Citations: - [sosp21] Jia and Witchel. Boki: Stateful Serverless Computing with Shared Logs. SOSP 2021, pp. 691-707, sections 3-6. DOI: 10.1145/3477132.3483541. https://www.cs.utexas.edu/users/witchel/pubs/jia21sosp-boki.pdf (accessed 2026-11-16) - [txn-code] Boki sosp-release: slib/statestore/txn.go, TxnCommit; revision 8e8c9ca8586a120a2bf18b3a6ae5041da628fac9. https://github.com/ut-osa/boki/blob/8e8c9ca8586a120a2bf18b3a6ae5041da628fac9/slib/statestore/txn.go (accessed 2026-11-16) - [log-code] Boki sosp-release: slib/statestore/log.go, checkTxnCommitResult and syncToBackward; revision 8e8c9ca8586a120a2bf18b3a6ae5041da628fac9. https://github.com/ut-osa/boki/blob/8e8c9ca8586a120a2bf18b3a6ae5041da628fac9/slib/statestore/log.go (accessed 2026-11-16) ### Bootstrap URL: https://hesela.dev/terms/bootstrap/ Related analysis: https://hesela.com/analyses/ssd-correlated-failures-nodes-racks/ Also known as: Bootstrap resampling, Nonparametric bootstrap Status: shipping Record updated: 2026-11-19 The bootstrap approximates a statistic's sampling distribution by recalculating it on samples drawn from an estimated population distribution. Note: In the ordinary nonparametric form, draw the original number of observations with replacement from the observed sample and recompute the statistic. Observations may repeat or be absent. A bootstrap distribution, its standard deviation and a confidence interval are different outputs. Percentile, basic and bias-corrected accelerated intervals need not agree. [scipy-bootstrap] Resampling must reflect the sampling unit and dependence. Repeated daily records from one drive are not independent devices. A whole-cluster procedure retains members of a sampled group together. A paired bootstrap retains aligned measurements across arrays; that setting alone does not identify rack or device groups. [rsample-groups] [scipy-bootstrap] More Monte Carlo resamples can reduce simulation error but do not increase the observed fleet size. If all observed binary outcomes are zero, ordinary resampling produces only zeros, not evidence that the population failure probability is zero. Degenerate distributions can also make interval calculations undefined. [scipy-bootstrap] Related terms: - [jackknife](https://hesela.dev/terms/jackknife/) - [cluster-bootstrap](https://hesela.dev/terms/cluster-bootstrap/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [binomial-proportion](https://hesela.dev/terms/binomial-proportion/) Citations: - [scipy-bootstrap] SciPy: bootstrap, resampling, interval methods and degenerate distributions. https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.bootstrap.html (accessed 2026-11-19) - [rsample-groups] rsample: Group Bootstraps and grouped sampling with replacement. https://rsample.tidymodels.org/reference/group_bootstraps.html (accessed 2026-11-19) ### BORG block reorganization URL: https://hesela.dev/terms/borg-block-reorganization/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: BORG, Block-reORGanization Status: research Record updated: 2026-11-29 BORG is a research block-layer system that adapts HDD data placement to observed access sequences. Note: A dedicated on-disk target holds selected copies; an indirection map tracks their current location. Its write buffer collects writes. [borg09] ALIS instead evaluates heat and repeated-run clustering with trace-driven simulation; its design can keep multiple reorganized copies of a block. [alis03] The author project page does not offer a BORG code release and points to EXCES as a reference, not the same implementation. [borg-project] Limitations: - An unstable read working set can make BORG slower; reorganizing blocks also consumes I/O. (sources: [borg09]) Sources and caveats: - Historical HDD research; source synthesis, not a prototype reproduction or a modern SSD performance prediction. Related terms: - [exces](https://hesela.dev/terms/exces/) - [diskseen](https://hesela.dev/terms/diskseen/) - [table-based-prefetching](https://hesela.dev/terms/table-based-prefetching/) - [readahead](https://hesela.dev/terms/readahead/) - [filesystem-defragmentation](https://hesela.dev/terms/filesystem-defragmentation/) Citations: - [borg09] Bhadkamkar et al. BORG: Block-reORGanization for Self-optimizing Storage Systems. FAST 2009, sections 3-6 and 9. https://www.usenix.org/legacy/event/fast09/tech/full_papers/bhadkamkar/bhadkamkar.pdf (accessed 2026-11-13) - [alis03] Hsu, Smith and Young. The Automatic Improvement of Locality in Storage Systems. UCB/CSD-03-1264, July 2003, sections 2-4 and 6. https://www2.eecs.berkeley.edu/Pubs/TechRpts/2003/Archive/CSD-03-1264.pdf (accessed 2026-11-13) - [borg-project] FIU Systems Research Laboratory: BORG project, Code and Traces. https://sylab-srv.cs.fiu.edu/projects/borg/start (accessed 2026-11-13) ### Bounded counter URL: https://hesela.dev/terms/bounded-counter/ Also known as: Bounded Counter CRDT Status: unknown Record updated: 2026-11-20 A bounded counter is a replicated counter that distributes update rights to preserve a numeric bound. Note: Local rights: Decrements consume rights; transfers move them between replicas. Monotonically increasing accounting entries merge by componentwise maximum, so merging the same state twice does not duplicate rights. [bounded-2015] Execution: Operations on each local counter must be serializable. If local rights are insufficient, a request can fail although rights remain elsewhere. Transfers across a partition cannot complete until communication permits. [bounded-2015] Sources and caveats: - Review of arXiv:1503.09052v1; middleware assumes sufficient redundancy within a data center to retain its state. No prototype performance result is reproduced. Related terms: - [escrow-transactions](https://hesela.dev/terms/escrow-transactions/) - [invariant-confluence](https://hesela.dev/terms/invariant-confluence/) - [network-partition](https://hesela.dev/terms/network-partition/) - [serializability](https://hesela.dev/terms/serializability/) - [conflict-free-replicated-data-type](https://hesela.dev/terms/conflict-free-replicated-data-type/) Citations: - [bounded-2015] Balegas et al. Extending Eventually Consistent Cloud Databases for Enforcing Numeric Invariants (2015), sections III-IV. https://arxiv.org/pdf/1503.09052v1 (accessed 2026-11-10) ### Bounded crash testing URL: https://hesela.dev/terms/bounded-crash-testing/ Related analysis: https://hesela.com/analyses/crash-testing-oracles-and-bounds/ Also known as: bounded black-box crash testing, B3 crash testing Status: research Record updated: 2026-11-30 Bounded crash testing systematically explores recovery behavior within an explicitly limited set of workloads, initial states and crash points. Note: CrashMonkey and ACE implement this approach for file systems; exhaustive coverage within selected bounds is not a proof covering every possible crash. Specify which component fails, which state and services survive, and whether faults may recur during recovery. Changing that boundary changes the experiment even if the workload is identical. CrashMonkey constructs its reference image by cleanly unmounting a snapshot, then compares explicitly persisted files and directories after replay and recovery. Its checks also attempt modifications, since a readable directory can still be impossible to remove. [mohan] Related terms: - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [fsync](https://hesela.dev/terms/fsync/) - [fault-injection](https://hesela.dev/terms/fault-injection/) - [fault-model](https://hesela.dev/terms/fault-model/) - [f2fs-checkpoint](https://hesela.dev/terms/f2fs-checkpoint/) - [crash-refinement](https://hesela.dev/terms/crash-refinement/) - [alice](https://hesela.dev/terms/alice/) Citations: - [mohan] Mohan et al. Finding Crash-Consistency Bugs with Bounded Black-Box Crash Testing. OSDI 2018, pp. 33-50; sections 3-6. https://www.usenix.org/system/files/osdi18-mohan.pdf (accessed 2026-11-12) - [ace-docs] CrashMonkey project. ACE documentation: sequence lengths count core operations and the input space is bounded. https://github.com/utsaslab/crashmonkey/blob/master/docs/Ace.md (accessed 2026-10-12) - [hesela] Hesela. Crash-consistency tests: the oracle is part of the result. https://hesela.com/analyses/crash-testing-oracles-and-bounds/ (accessed 2026-10-12) ### Bourbon URL: https://hesela.dev/terms/bourbon/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Also known as: BOURBON learned LSM Status: research Record updated: 2026-11-11 Bourbon is a research LSM storage engine that uses learned models over immutable sorted files to accelerate key lookup. Note: Models predict a candidate position range, not whether a key exists. The lookup checks the candidate block filter and searches for the exact key; files without an available model use the baseline lookup path. Fixed-size keys and value references make positions addressable even when separately stored values vary in size. [bourbon-paper] Admission: the original cost-benefit code tracks positive and negative lookup savings separately, normalizes expected benefit by average file size, and uses sample-count gates. A model can therefore be omitted rather than trained for every file. [bourbon-code] The 2020 design does not support general string keys or key compression. Its evaluation mostly uses memory-resident data; storage and limited-memory cases are separate experiments. [bourbon-paper] Internal lookups are candidate-file probes, not application requests. A negative probe can precede a successful probe of another file. If the model's range crosses data-block boundaries, the index block still selects the data block. [bourbon-paper] Sources and caveats: - Full-paper and pinned-source review, not benchmark reproduction. The author-linked Bitbucket artifact is distinct from the later edydfang/Bourbon modification. Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sstable](https://hesela.dev/terms/sstable/) - [key-value-separation](https://hesela.dev/terms/key-value-separation/) Citations: - [bourbon-paper] Dai et al. From WiscKey to Bourbon: A Learned Index for Log-Structured Merge Trees. OSDI 2020, 155-171, sections 4-5. https://files.usenix.org/s3fs-public/cdn/osdi20-dai_0.pdf (accessed 2026-11-11) - [bourbon-code] Original Bourbon artifact, revision dfbf4f39: mod/CBMode_Learn.cpp, CalculateCB. https://bitbucket.org/daiyifandanny/learned-leveldb/src/dfbf4f39c5acf56ea7ee21933d0ba699edb1ad95/mod/CBMode_Learn.cpp (accessed 2026-11-10) - [hesela] Hesela: budget model construction separately from lookup savings. https://hesela.com/analyses/key-value-separation-cleaning-cost/#learned-file-budget (accessed 2026-11-10) ### BP-Wrapper URL: https://hesela.dev/terms/bp-wrapper/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: Batching and prefetching wrapper Status: research Record updated: 2026-11-12 BP-Wrapper is a buffer-management framework that batches replacement-policy updates and prefetches their metadata to reduce lock contention. Note: The ICDE 2009 design records hits in per-thread FIFO queues. At the batch threshold it tries the policy lock without blocking; a full queue requires acquiring the lock. A miss commits the thread's pending hits before its miss operation. Per-thread order is preserved, not a single immediate global recency order. [bp-wrapper] Prefetching brings replacement metadata into the processor cache before the critical section; database-page read-ahead is a separate operation. Evaluation used modified PostgreSQL 8.2.3 on two multiprocessor systems, not current PostgreSQL or SSD firmware. [bp-wrapper] Caffeine cites this work but has a different buffering contract. Its read buffer may reject events under contention or when full. Batching therefore does not, by itself, specify whether observations are retained. [caffeine-buffer] Limitations: - Delaying policy bookkeeping can change victim choices without changing the correctness of the buffered data. (sources: [bp-wrapper]) Sources and caveats: - Primary-source review of the original paper and pinned library implementation; no new throughput measurement or implementation replication. Related terms: - [tinylfu](https://hesela.dev/terms/tinylfu/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [two-queue-replacement](https://hesela.dev/terms/two-queue-replacement/) Citations: - [bp-wrapper] Ding, Jiang and Zhang. BP-Wrapper. ICDE 2009, pp. 369-380, sections III-IV; DOI 10.1109/ICDE.2009.96. https://web.njit.edu/~dingxn/papers/BP-Wrapper.pdf (accessed 2026-11-12) - [caffeine-buffer] Caffeine v3.2.3, BoundedLocalCache.java: concurrency contract, afterRead, drainReadBuffer and onAccess. Commit 5227a98b51e02b4d4fbfc2b0e33c362a138f51b1. https://github.com/ben-manes/caffeine/blob/5227a98b51e02b4d4fbfc2b0e33c362a138f51b1/caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java (accessed 2026-11-12) ### BPFS URL: https://hesela.dev/terms/bpfs/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: BPFS file system Status: research Record updated: 2026-11-13 BPFS is a research file system that uses short-circuit shadow paging to commit persistent-memory updates below the file-system root. Note: The design combines aligned eight-byte failure-atomic writes, in-place appends and partial copy-on-write. Epoch barriers order persistence across epochs without forcing immediate durability. [bpfs-paper] Limitations: - The proposed hardware contract is not implied by ordinary memory barriers or DAX support. (sources: [bpfs-paper]) Sources and caveats: - Source synthesis of the SOSP 2009 research design. Evaluation used DRAM and PCM simulation, not current persistent-memory hardware. No prototype execution or benchmark replication. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [epoch-persistency](https://hesela.dev/terms/epoch-persistency/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [nova](https://hesela.dev/terms/nova/) Citations: - [bpfs-paper] Condit et al. Better I/O Through Byte-Addressable, Persistent Memory. SOSP 2009, sections 3.2, 4.3-4.4 and 5. https://bantha.org/~jcondit/bpfs-sosp-2009.pdf (accessed 2026-11-13) - [hesela-pmem] Hesela: BPFS commit points and persistence barriers. https://hesela.com/analyses/pmem-persistence-domains-dax/#bpfs (accessed 2026-11-13) ### Block Padding LRU (BPLRU) URL: https://hesela.dev/terms/bplru/ Also known as: BPLRU, Block Padding Least Recently Used Status: research Record updated: 2026-10-31 Block Padding LRU (BPLRU) is a research SSD write-buffer policy combining block-level recency, victim padding and sequential-write compensation. Note: Buffered sectors share a block-level LRU position. Eviction can read missing clean pages and write a complete block sequentially, enabling a switch merge in the studied log-block FTL. Fully sequential blocks move toward eviction. Reordering can help even with zero sector-cache hits. [kim] The simulation omitted RAM-copy cost; the 1 GB MLC prototype's MP3-copy case was slower than no buffer. Flushes constrain buffering benefits. These are important counterexamples to equating buffer size or cache hits with performance. [kim] A two-level index locates a resident sector with two index references. Block headers and sector nodes use a shared free-node pool, so metadata consumes buffer memory. [kim] In the uniform-random W4 simulation, BPLRU erased fewer blocks yet ran more slowly than FAB, which selected victims by buffered-sector count. Lower erase count did not imply higher throughput. [kim] Sources and caveats: - Historical simulation/prototype evidence, not a modern-SSD performance guarantee. - No implementation or benchmark was reproduced by Hesela. Related terms: - [write-combining](https://hesela.dev/terms/write-combining/) - [ftl](https://hesela.dev/terms/ftl/) - [dram-cache-ssd](https://hesela.dev/terms/dram-cache-ssd/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [write-amplification](https://hesela.dev/terms/write-amplification/) Citations: - [kim] Hyojun Kim and Seongjun Ahn. BPLRU. FAST 2008, sections 3.1-3.4, 4.2.2, 4.2.4 and 4.3. https://www.usenix.org/legacy/event/fast08/tech/full_papers/kim/kim.pdf (accessed 2026-10-31) ### Brier score URL: https://hesela.dev/terms/brier-score/ Also known as: Brier loss, binary Brier score Status: shipping Record updated: 2026-11-07 For a binary event, the Brier score is the mean squared difference between each forecast probability and its observed zero-or-one outcome. Note: For N outcomes y_i in {0,1} and event probabilities p_i, BS = sum((p_i-y_i)^2)/N. Lower is better, a perfect score is 0 and the binary range is 0 to 1. The multi-class form sums squared errors over every class component and ranges from 0 to 2, so a binary score computed that way is twice the usual value unless halved. It is a strictly proper scoring rule. [sklearn-brier] Grouping by identical issued probabilities gives the exact empirical decomposition into reliability minus resolution plus uncertainty. Reliability compares each group's probability with its observed event fraction; resolution measures the count-weighted spread of those fractions around the base rate; uncertainty is ybar(1-ybar). Wider bins that pool distinct probabilities generally need additional within-bin variance and covariance terms to recover the original score. Replacing forecasts by their bin means instead scores a different forecast. [stephenson-brier-2008] [ferro-fricker-2012] A constant forecast of 0.01 with 1% observed events scores 0.0099. Skill is 1-BS/BS_ref when BS_ref>0. Scaling by a positive constant fixed outside the evaluation outcomes preserves strict propriety. A fixed baseline probability is different: scoring it on the same evaluation outcomes can make BS_ref random. [jolliffe-skill-2008] [gneiting-raftery-2007] A lower value does not by itself establish better calibration. Compare forecasts on the same outcomes and include a declared constant-probability reference. [sklearn-calibration] For forecast p=0.01, event probability q=0.01 and 20 independent outcomes, expected reliability is 0.000495; copying one outcome 20 times gives expected reliability 0.0099. Both have expected BS=0.0099. This is an exact probability model. [hesela-brier-finite-sample] Advantages: - One threshold-free number reflects both reliability and the separation of different event risks, so probability outputs can be ranked before any alarm threshold is chosen. (sources: [sklearn-calibration]) Limitations: - An unobserved prediction horizon is not a zero outcome, and a score cannot replace documentation of follow-up, event labels, population and any weighting. (sources: [sklearn-brier], [sksurv-brier]) - A zero reference loss makes skill undefined, including sample-climatology normalization with no event variation. Do not replace it with zero. Outcome-dependent reference losses can reward forecasts that do not express the forecaster's probability; constant positive normalization does not have that defect. (sources: [jolliffe-skill-2008], [gneiting-raftery-2007]) - Finite-sample decomposition components can differ systematically from their long-run values even when their algebraic sum is exact. (sources: [ferro-fricker-2012]) - For a fixed-probability group with n>1, subtracting ybar(1-ybar)/(n-1) from empirical reliability removes its binomial sampling bias for independent outcomes sharing one common event probability. Independence alone does not justify this correction for heterogeneous event probabilities. The corrected estimate can be negative; the Brier score itself remains nonnegative. This special case does not remove the random-group or dependence limitations of general corrections. (sources: [ferro-fricker-2012], [hesela-brier-finite-sample]) Sources and caveats: - sklearn-brier re-read 2026-10-30 for the binary and multi-class formulas, the 0 to 1 and 0 to 2 ranges, the halving option and the strictly proper property. - jwgfvr read 2026-10-30, Brier score and Brier skill score entries, for the reliability, resolution and uncertainty partition, rare-event sensitivity, the skill-score range and its small-sample instability. - The 0.0099 value is arithmetic from the uncertainty term, 0.01 x 0.99, not a measured result. - The original 1950 paper and the 1973 partition paper returned 403 to plain requests and were not read. - The prediction-cadence entry links here because every scheduled prediction for the same entity yields a probability that this score checks against the observed outcome. - A companion analysis is listed but not used in prose. - Stephenson et al. (2008), section 2b/equation 7, and Ferro and Fricker (2012), sections 1 and 4, read 2026-11-06: corrected the missing exact-probability grouping condition; arbitrary-bin components need within-bin corrections. No empirical drive result added. - Ferro and Fricker sections 2 and 5 distinguish finite-sample component bias from the exact score identity; their bias derivation assumes independent, identically distributed forecast-outcome pairs. - 2026-11-06: derived fixed-group expectations and checked count sums against independent binary-sequence enumeration. Ferro-Fricker section 2 and appendix delimit the correction. This is a pedagogical model, not a replication of their SST experiment. - 2026-11-06: corrected skill-score scope from Jolliffe-Stephenson 2b and Gneiting-Raftery 2.1/2.3. A fixed baseline probability is not a fixed denominator. The article's single-outcome counterexample is Hesela arithmetic, not measured data. - 2026-11-07: independent primary-source review and exact arithmetic checks; made expected-versus-realized reliability and the common-probability assumption explicit. Existing synthetic results and definition retained. - 2026-11-07: derived the heterogeneous-risk correction expectation (p-qbar)^2-V_q/(n-1), with V_q the population variance of fixed event probabilities. Exact outcome enumeration verifies the existing article's example; no drive observations or model-output changes. Related terms: - [probability-calibration](https://hesela.dev/terms/probability-calibration/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) - [average-precision](https://hesela.dev/terms/average-precision/) - [expected-calibration-error](https://hesela.dev/terms/expected-calibration-error/) - [f1-score](https://hesela.dev/terms/f1-score/) - [prediction-cadence](https://hesela.dev/terms/prediction-cadence/) - [inverse-probability-of-censoring-weighting](https://hesela.dev/terms/inverse-probability-of-censoring-weighting/) Citations: - [sklearn-brier] scikit-learn: brier_score_loss, binary normalization and range. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.brier_score_loss.html (accessed 2026-10-30) - [sklearn-calibration] scikit-learn: probability calibration, reliability diagrams and limits of Brier loss. https://scikit-learn.org/stable/modules/calibration.html (accessed 2026-10-17) - [hesela-calibration] Hesela: synthetic ranking, decision and calibration example; not measured drive results. https://hesela.com/analyses/ml-disk-failure-prediction/#probability-calibration (accessed 2026-10-17) - [jwgfvr] WWRP/WGNE Joint Working Group on Forecast Verification Research: Forecast Verification FAQ, Brier score and Brier skill score. https://www.cawcr.gov.au/projects/verification/ (accessed 2026-10-30) - [sksurv-brier] scikit-survival 0.25.0: time-dependent Brier score, censoring weights and supported evaluation times. https://scikit-survival.readthedocs.io/en/v0.25.0/api/generated/sksurv.metrics.brier_score.html (accessed 2026-11-05) - [stephenson-brier-2008] Stephenson, Coelho and Jolliffe (2008). Two Extra Components in the Brier Score Decomposition. Section 2b, equation 7. DOI: 10.1175/2007WAF2006116.1. https://stormrisk.github.io/2008/stephenson-brier.pdf (accessed 2026-11-06) - [ferro-fricker-2012] Ferro and Fricker (2012). A bias-corrected decomposition of the Brier score. Author preprint, sections 1-2, 4-5. DOI: 10.1002/qj.1924. https://empslocal.ex.ac.uk/people/staff/ferro/Publications/ferro-fricker2012copyright.pdf (accessed 2026-11-06) - [hesela-brier-finite-sample] Hesela: exact fixed-forecast sampling model, independent Bernoulli outcomes versus a repeated identical outcome; CC0 Python and rational results. https://hesela.dev/research/brier-finite-sample.json (accessed 2026-11-06) - [gneiting-raftery-2007] Gneiting and Raftery (2007). Strictly Proper Scoring Rules, Prediction, and Estimation. Sections 2.1 and 2.3. DOI: 10.1198/016214506000001437. https://sites.stat.washington.edu/raftery/Research/PDF/Gneiting2007jasa.pdf (accessed 2026-11-06) - [jolliffe-skill-2008] Jolliffe and Stephenson (2008). Proper Scores for Probability Forecasts Can Never Be Equitable. Section 2b. DOI: 10.1175/2007MWR2194.1. https://stormrisk.github.io/2008/jolliffe.pdf (accessed 2026-11-06) ### Block Range Index (BRIN) URL: https://hesela.dev/terms/brin/ Also known as: BRIN, BRIN index, PostgreSQL BRIN, Block Range Index Status: shipping Record updated: 2026-11-18 A PostgreSQL BRIN index summarizes groups of adjacent heap pages so queries can exclude page ranges that cannot satisfy their conditions. Note: Candidates: The executor rechecks rows in candidate ranges; a candidate need not match. BRIN is not just min-max: PostgreSQL 18 also has minmax-multi, inclusion and Bloom classes. [pg-brin] Granularity: pages_per_range counts heap pages, not rows or Parquet pages; PostgreSQL 18 defaults to 128. Finer ranges cost more summaries but may prune better. [pg-brin-options] Coverage: An unsummarized range remains a scan candidate, not an empty range. This is not protection against corrupt index metadata. [pg-brin-design] Maintenance: autosummarize defaults to off. brin_summarize_new_values() covers missing summaries. brin_summarize_range() covers a range only if it is unsummarized; it does not refresh an existing summary. Desummarizing then summarizing can tighten bounds after deletions, not verify integrity. [pg-brin-maintenance] Native check: In PostgreSQL 16.15, DELETE and VACUUM left broad bounds; rebuilding avoided one heap block and 100 rejections without changing answers. Three fresh-cluster repeats covered 42 stage/query observations on a one-page fixture with forced plans; not speed or physical-I/O measurements, nor PostgreSQL 18 execution. [hesela-brin-native] Inspection: Follow the range-map pointer. After desummarization, the raw page scan still exposed an old tuple although its range-map entry was invalid; it was not an active summary. [hesela-brin-native] [pg-brin16-revmap] Sources and caveats: - PostgreSQL 18 documentation synthesis, plus a separate native PostgreSQL 16.15 controlled experiment recorded 2026-11-18; no PostgreSQL 18 execution or performance measurement. - Author-verified synthetic fixtures, exact sequential-result controls and three fresh-cluster repetitions; no independent scientific replication. Related terms: - [zone-map](https://hesela.dev/terms/zone-map/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) Citations: - [pg-brin] PostgreSQL 18: BRIN indexes and operator classes. https://www.postgresql.org/docs/18/brin.html (accessed 2026-11-18) - [pg-brin-options] PostgreSQL 18: CREATE INDEX, BRIN storage parameters. https://www.postgresql.org/docs/18/sql-createindex.html (accessed 2026-11-18) - [pg-brin-design] PostgreSQL REL_18_0: BRIN scan and unsummarized-range design. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/access/brin/README (accessed 2026-11-18) - [pg-brin-maintenance] PostgreSQL 18: index maintenance functions. https://www.postgresql.org/docs/18/functions-admin.html#FUNCTIONS-ADMIN-INDEX (accessed 2026-11-18) - [hesela-pruning] Hesela: candidate pruning is not integrity verification. https://hesela.com/analyses/parquet-checksums-read-coverage/#brin-candidates (accessed 2026-11-18) - [hesela-brin-native] Hesela: native PostgreSQL 16.15 BRIN maintenance, replay and observations. https://hesela.dev/research/brin-maintenance/README.md (accessed 2026-11-18) - [pg-brin16-revmap] PostgreSQL REL_16_15: range-map lookup and desummarization. https://github.com/postgres/postgres/blob/REL_16_15/src/backend/access/brin/brin_revmap.c (accessed 2026-11-18) ### Broom filter URL: https://hesela.dev/terms/broom-filter/ Also known as: Broom filters Status: research Record updated: 2026-11-12 A broom filter is an adaptive approximate-membership structure that refines fingerprints using remote collision information while retaining compact local state. Note: Correction: an exact dictionary check triggers a reverse lookup and fingerprint extension. The guarantee assumes suitable hashing and valid set updates. [broom-paper] Deletion: correction history survives deletion and reinsertion until rehashing; the design retains quotient and adaptivity bits but drops the remainder. Local-space optimality excludes remote state and is not a measured latency claim. [broom-paper] Sources and caveats: - Primary-source synthesis; no filter implementation, security evaluation or storage benchmark executed. Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [adaptive-quotient-filter](https://hesela.dev/terms/adaptive-quotient-filter/) - [adversarial-resilient-filter](https://hesela.dev/terms/adversarial-resilient-filter/) Citations: - [broom-paper] Bender et al. Bloom Filters, Adaptivity, and the Dictionary Problem. FOCS 2018. DOI: 10.1109/FOCS.2018.00026. arXiv v3, sections 2-4. https://arxiv.org/abs/1711.01616v3 (accessed 2026-11-12) - [hesela-guarantees] Hesela: fresh challenges, repeated queries and correction history. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#fresh-versus-repeated (accessed 2026-11-12) ### BTrDB URL: https://hesela.dev/terms/btrdb/ Related analysis: https://hesela.com/analyses/time-series-rollups-versioned-changes/ Status: research Record updated: 2026-11-14 BTrDB is a time-series database that stores versioned time-value streams in a time-partitioned copy-on-write tree with subtree summaries. Note: The FAST 2016 design stores raw points in leaves and summary statistics in internal nodes. Version annotations let it locate modified time ranges without comparing aggregate values. [btrdb-paper] Python v5.34.2 documents power-of-two aligned windows, half-open time bounds and omission of empty windows. Its annotation version is separate from the data-stream version. [btrdb-python] Go bindings v5.17.1 widen changed ranges at coarser resolution. A returned range is not a list of changed samples. Query results must be checked for terminal errors even when some values arrived. [btrdb-go] Identical count, minimum, mean and maximum do not establish identical samples or temporal order. The linked synthetic examples demonstrate this limitation without executing BTrDB. [hesela] Sources and caveats: - The 2016 research design and later client documentation are separate versions. - Source review and synthetic arithmetic only; no BTrDB server, crash test or performance reproduction. Related terms: - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [snapshot](https://hesela.dev/terms/snapshot/) Citations: - [btrdb-paper] Andersen and Culler. BTrDB: Optimizing Storage System Design for Timeseries Processing. FAST 2016, pp. 39-52, sections 3-4 and 6.3. https://www.usenix.org/system/files/conference/fast16/fast16-papers-andersen.pdf (accessed 2026-11-14) - [btrdb-python] BTrDB Python v5.34.2 documentation: aligned_windows and stream annotations. https://btrdb.readthedocs.io/en/stable/api/streams.html (accessed 2026-11-14) - [btrdb-go] BTrDB Go bindings v5.17.1: Changes, LatestVersion and query-channel completion. https://pkg.go.dev/github.com/BTrDB/btrdb/v5@v5.17.1 (accessed 2026-11-14) - [hesela] Hesela: time-series rollups, versioned changes and exact synthetic counterexamples. https://hesela.com/analyses/time-series-rollups-versioned-changes/ (accessed 2026-11-14) ### Btrfs balance URL: https://hesela.dev/terms/btrfs-balance/ Also known as: btrfs balance Status: shipping Record updated: 2026-11-30 Btrfs balance relocates selected block groups on a mounted filesystem according to allocation-profile constraints. Note: Balance preserves shared extents; it neither defragments nor recompresses files. Filters can select groups for compaction or profile conversion. [balance-intro] Relocation usually needs a new block group before releasing the old one. Its workspace ENOSPC is therefore distinct from exhausted file space. The usage=0 case reclaims entirely unused groups without allocating that workspace, but is not a guaranteed remedy for every ENOSPC. [balance-workspace] In btrfs filesystem df, total is capacity already allocated to a block-group type/profile and used is occupied space within it. Their difference is not device-unallocated workspace. File defragmentation can break reflinks and increase allocation; balance preserves sharing. [filesystem-space] Scrub checks checksums and read errors, with repair dependent on known-good replicas. It is not a full filesystem checker; NODATASUM file payload lacks data-checksum validation. Read-only scrub on a read-write filesystem can still cause filesystem writes; the documented no-write combination requires both read-only scrub and a read-only filesystem. This is a mount-mode boundary, not a claim that every checksum scan is write-free. [scrub-scope] The design paper explains sharing-preserving relocation through back references and copy-on-write relocation trees, merged with active trees after pointer updates. Its historical benchmarks do not establish a present-day balance speedup. [btrfs-design-paper] Advantages: - Selective compaction can release block-group allocation while retaining shared file extents. (sources: [balance-intro], [balance-workspace]) Limitations: - An unfiltered balance can move data and metadata across the filesystem and compete with applications for I/O. (sources: [balance-intro]) Sources and caveats: - Source review of btrfs-progs v6.16 documentation, accessed 2026-11-29; not a native filesystem experiment or performance measurement. - Kernel and tool versions, allocation profiles and device layout remain relevant to an actual maintenance plan. - Historical mechanism checked against the author manuscript, Section 5; DOI 10.1145/2501620.2501623. Operational statements remain scoped to btrfs-progs v6.16 documentation. Related terms: - [btrfs](https://hesela.dev/terms/btrfs/) - [filesystem-defragmentation](https://hesela.dev/terms/filesystem-defragmentation/) - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [reflink](https://hesela.dev/terms/reflink/) Citations: - [balance-intro] Btrfs-progs v6.16: balance purpose, extent sharing and I/O costs. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/ch-balance-intro.rst (accessed 2026-11-29) - [balance-workspace] Btrfs-progs v6.16: balance ENOSPC and empty-block-group exception. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/btrfs-balance.rst (accessed 2026-11-29) - [filesystem-space] Btrfs-progs v6.16: filesystem df allocation counters and defragmentation. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/btrfs-filesystem.rst (accessed 2026-11-29) - [scrub-scope] Btrfs-progs v6.16: scrub verification, replica repair and NODATASUM limits. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/ch-scrub-intro.rst (accessed 2026-11-29) - [btrfs-design-paper] Rodeh, Bacik and Mason (2013): BTRFS, Section 5 (author manuscript). https://www.researchgate.net/publication/262177144_BTRFS_The_Linux_B-Tree_Filesystem (accessed 2026-11-29) - [hesela-aging] Hesela: filesystem aging, allocation geometry and Btrfs maintenance boundaries. https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ (accessed 2026-11-29) ### Btrfs filesystem du URL: https://hesela.dev/terms/btrfs-filesystem-du/ Also known as: btrfs filesystem du Status: shipping Record updated: 2026-10-23 A Btrfs command that uses FIEMAP to report extent usage and sharing for selected files and directory trees. Note: For each file the command reports total and exclusive bytes. Each argument has its own accounting set, found by a recursive search that descends into subvolumes but not mount points, with overlapping shared ranges deduplicated within that set. A shared range can also be referenced outside it, so set-shared bytes do not establish deletion savings. [filesystem-manual] In v6.16, UNKNOWN, DELALLOC and DATA_INLINE extents are skipped, and the FIEMAP requests do not set FIEMAP_FLAG_SYNC, so recently written data still awaiting allocation is not counted. Each request uses a 16,384-byte buffer, and zero-length extents produce a warning. Some inaccessible children generate warnings while traversal continues, so zero exit status alone does not establish coverage. [du-code] On kernels older than 2.6.33 the command warns that shared space will be reported as exclusive, because the FIEMAP_EXTENT_SHARED flag is missing there. Hard-link detection is reset for each argument. [du-code] Advantages: - Sizes can be printed raw in bytes or scaled in base 1024 or SI base 1000 units. (sources: [filesystem-manual]) Limitations: - A changing filesystem does not provide one atomic observation across the whole walk. (sources: [fiemap-interface]) Sources and caveats: - Behavior is scoped to btrfs-progs v6.16 source, not a claim about every release. - Source review only; no Btrfs filesystem or compression experiment is reported. - filesystem-manual is the btrfs-progs v6.16 btrfs-filesystem documentation, re-read for du output fields, the set definition and size options. - du-code is btrfs-progs v6.16 cmds/filesystem-du.c, re-read for skipped extent flags, buffer size, the kernel version warning and hard-link reset. - fiemap-interface is the Linux 7.3 FIEMAP documentation, re-read for request flags, byte units and mappings changing between calls. - The filesystem-defragmentation entry links here because Btrfs defragmentation can break up reflinks and so change the shared and exclusive bytes this command reports. Related terms: - [fiemap](https://hesela.dev/terms/fiemap/) - [reflink](https://hesela.dev/terms/reflink/) - [file-extent](https://hesela.dev/terms/file-extent/) - [filesystem-defragmentation](https://hesela.dev/terms/filesystem-defragmentation/) - [transparent-compression](https://hesela.dev/terms/transparent-compression/) Citations: - [filesystem-manual] Btrfs-progs v6.16: filesystem du, per-argument sets and traversal scope. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/btrfs-filesystem.rst (accessed 2026-10-23) - [du-code] Btrfs-progs v6.16: filesystem-du.c, extent exclusions, set accounting and traversal warnings. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/cmds/filesystem-du.c (accessed 2026-10-23) - [fiemap-interface] Linux FIEMAP documentation: request flags and mappings changing between calls. https://www.kernel.org/doc/html/latest/filesystems/fiemap.html (accessed 2026-10-23) - [hesela-clones] Hesela: file-clone costs and shared-space accounting. https://hesela.com/analyses/file-clones-deferred-copy-cost/#accounting (accessed 2026-10-16) ### Btrfs NODATASUM URL: https://hesela.dev/terms/btrfs-nodatasum/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: NODATASUM, Btrfs no-data-checksum flag Status: shipping Record updated: 2026-10-16 Btrfs NODATASUM marks file data as excluded from the filesystem's data checksumming. Note: NODATACOW implies NODATASUM, but disabling data checksums is not synonymous with disabling copy-on-write; the mount option applies to newly created files. Metadata remains checksummed. Data checksums live in a separate checksum tree and are verified after reads, while with NODATASUM the read path returns success without looking them up. [btrfs-mount] [btrfs-code] Regular files get the flag from the nodatasum mount option, from nodatacow, or from a directory with NODATACOW, and chattr +C sets it only while the file is empty. [btrfs-code] Compression is disabled, and deduplication requires both files to be in the same checksum and COW state. [btrfs-mount] [btrfs-dedup] In a write-amplification study a 4 KB overwrite followed by fsync wrote 32 times the user data by default, 28 times without data checksums and about 18.6 times with COW also disabled, so checksums were the smaller share of the saving. [mohan2017] A field study of 1.53 million drives over 41 months found more than 400,000 checksum mismatches, 8% of them during RAID reconstruction. [bairavasundaram2008] Advantages: - Checksum metadata need not be updated on writes, which the manual lists as a slight performance gain. (sources: [btrfs-mount]) - True zero-copy direct writes remain possible, while checksummed files fall back to buffered writes in newer kernels. (sources: [btrfs-mount]) Limitations: - Scrub cannot checksum-validate the affected file data or use those missing checksums to select a correct mirror after silent damage. (sources: [btrfs-scrub]) - Failing disks are not marked unreliable, so reads keep being balanced across possibly damaged replicas. (sources: [btrfs-scrub]) Sources and caveats: - The Btrfs documentation pages are rolling latest versions that mention kernel changes later than the v6.12 code, so documentation and code come from different versions. - The documentation and kernel code are project material. - The write-amplification figures come from one 2017 kernel and one workload (a 4 KB overwrite followed by fsync in a 100 MB file); most of the saving came from disabling copy-on-write rather than checksums. - Arithmetic: 28 / 32 is 12.5% less written without data checksums, 18.6 / 32 is 41.9% less with COW also off, or 128, 112 and 74.4 KB per 4 KB overwrite. - The field study of 1.53 million drives is university-led with storage-vendor co-authors, covers a different file system and says nothing about NODATASUM. - The direct I/O and scrub statements are taken from the manual and were not tested. Related terms: - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [checksum](https://hesela.dev/terms/checksum/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [mirroring](https://hesela.dev/terms/mirroring/) Citations: - [btrfs-mount] Btrfs documentation: btrfs(5), datacow/nodatacow and datasum/nodatasum. https://btrfs.readthedocs.io/en/latest/btrfs-man5.html (accessed 2026-10-13) - [btrfs-scrub] Btrfs documentation: btrfs-scrub(8), checksum exclusions and read-only limitations. https://btrfs.readthedocs.io/en/latest/btrfs-scrub.html (accessed 2026-10-13) - [btrfs-dedup] Btrfs documentation: Deduplication, compatibility of COW files with NODATASUM. https://btrfs.readthedocs.io/en/latest/Deduplication.html (accessed 2026-10-13) - [hesela-scrub] Hesela: Disk scrubbing, checksum coverage and consistency boundaries. https://hesela.com/analyses/scrubbing-detection-not-durability/ (accessed 2026-10-13) - [btrfs-code] Linux v6.12 fs/btrfs: inode.c, file-item.c and ioctl.c, NODATASUM flag handling. https://github.com/torvalds/linux/blob/v6.12/fs/btrfs/inode.c (accessed 2026-10-16) - [mohan2017] Mohan, Kadekodi, Chidambaram. Analyzing IO Amplification in Linux File Systems. 2017 (arXiv 1707.08514). https://arxiv.org/pdf/1707.08514 (accessed 2026-10-16) - [bairavasundaram2008] Bairavasundaram et al. An Analysis of Data Corruption in the Storage Stack. USENIX FAST 2008. https://www.usenix.org/legacy/event/fast08/tech/full_papers/bairavasundaram/bairavasundaram.pdf (accessed 2026-10-16) ### Btrfs read-only subvolume URL: https://hesela.dev/terms/btrfs-read-only-subvolume/ Also known as: Btrfs subvolume ro property Status: shipping Record updated: 2026-10-23 A Btrfs read-only subvolume is a subvolume whose ro property prevents modification of its file contents and directory hierarchy. Note: The flag is the subvolume property ro, read with btrfs property get and changed with btrfs property set, and btrfs subvolume snapshot -r creates a snapshot with it already set. The property belongs to the subvolume, not its access path: a read-only mount does not set it. [property] [subvolume] Read-only snapshots are the building blocks of incremental send, which derives a stream from the differences between unmodified snapshots. Every snapshot named in one send command must be read-only, the flag cannot change while a send uses the snapshot, and a read-only mount is not accepted in its place because another writable mount of the same subvolume could exist. [subvolume] [send] A snapshot created by receive is read-only and carries a received_uuid identifying the subvolume that produced the stream. Making it read-write means resetting that identifier, so btrfs property set requires the force option for it. A parent snapshot does not include nested subvolume contents: those locations appear as empty stubs with inode number 2, while a subvolume root always has inode number 256. [subvolume] [property] Advantages: - Because the flag is stored with the subvolume, it applies through every mount of that subvolume, unlike a per-mount read-only option. (sources: [send], [subvolume]) Limitations: - This is not device-wide write protection or an independent backup. (sources: [subvolume]) - The received_uuid safety checks date from version 5.14.2, so subvolumes received earlier may already be read-write while still carrying a valid received_uuid, which can disturb later send and receive. (sources: [subvolume]) - Clearing the flag on a snapshot that serves as an incremental parent allows changes that can lead to unexpected content in later incremental streams. (sources: [subvolume]) Sources and caveats: - property is the Btrfs btrfs-property(8) page, read in the subvolume ro property, the -f option and the examples. - subvolume is the Btrfs btrfs-subvolume(8) page, read in subvolume flags, nested subvolumes, inode numbers and the snapshot -r option. - send is the Btrfs btrfs-send(8) page, read in the requirements for snapshots used by one send command. - All three pages are the stable documentation as rendered on the access date, with no file system experiment. Related terms: - [btrfs](https://hesela.dev/terms/btrfs/) - [btrfs-send-stream](https://hesela.dev/terms/btrfs-send-stream/) - [btrfs-received-uuid](https://hesela.dev/terms/btrfs-received-uuid/) - [snapshot](https://hesela.dev/terms/snapshot/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) - [block-device-read-only](https://hesela.dev/terms/block-device-read-only/) - [dm-integrity-recovery-mode](https://hesela.dev/terms/dm-integrity-recovery-mode/) Citations: - [property] Btrfs documentation: subvolume ro property. https://btrfs.readthedocs.io/en/stable/btrfs-property.html (accessed 2026-10-23) - [subvolume] Btrfs documentation: subvolume flags and non-recursive snapshots. https://btrfs.readthedocs.io/en/stable/btrfs-subvolume.html (accessed 2026-10-23) - [hesela] Hesela: Btrfs tree logs and read-only scope boundaries. https://hesela.com/analyses/btrfs-tree-log-read-only-replay/#read-only-scopes (accessed 2026-10-15) - [send] Btrfs documentation: btrfs-send(8), read-only snapshot requirement. https://btrfs.readthedocs.io/en/stable/btrfs-send.html (accessed 2026-10-23) ### Btrfs received UUID URL: https://hesela.dev/terms/btrfs-received-uuid/ Also known as: received_uuid Status: shipping Record updated: 2026-10-18 A Btrfs received UUID is a subvolume metadata field recording the source subvolume identity associated with a received replication stream. Note: It differs from the destination's own UUID and is not a content hash. In btrfs-progs v6.17, source lookup tries received UUID and then local UUID; subvol_uuid_search accepts a transid parameter without using it in its body. This observation concerns that lookup, not every check in the receive path. [receive-code] [lookup-code] The property command protects a received read-only base against an ordinary switch to writable state. Its forced path attempts to clear the received identity after changing the flag; a clear failure is warned about. Inspect actual state and preserve the original base for further replication. [property-code] Limitations: - A matching identity does not prove unchanged contents or application-consistent recovery. (sources: [receive-code], [lookup-code], [property-code]) Sources and caveats: - Version-pinned documentation and source review of btrfs-progs v6.17; no runtime or recovery experiment. Related terms: - [btrfs](https://hesela.dev/terms/btrfs/) - [btrfs-send-stream](https://hesela.dev/terms/btrfs-send-stream/) - [btrfs-read-only-subvolume](https://hesela.dev/terms/btrfs-read-only-subvolume/) - [snapshot](https://hesela.dev/terms/snapshot/) Citations: - [receive-code] btrfs-progs v6.17: source lookup, receive finalization and dump dispatch. https://github.com/kdave/btrfs-progs/blob/c03e29f083678f47a7d7d810db4d21d905979b77/cmds/receive.c (accessed 2026-10-18) - [lookup-code] btrfs-progs v6.17: subvol_uuid_search implementation. https://github.com/kdave/btrfs-progs/blob/c03e29f083678f47a7d7d810db4d21d905979b77/common/send-utils.c (accessed 2026-10-18) - [property-code] btrfs-progs v6.17: prop_read_only and UUID reset error handling. https://github.com/kdave/btrfs-progs/blob/c03e29f083678f47a7d7d810db4d21d905979b77/cmds/property.c (accessed 2026-10-18) - [hesela] Keeping Btrfs incremental backups recoverable. https://hesela.com/analyses/btrfs-incremental-send-recovery-contract/ (accessed 2026-10-18) ### Btrfs send stream URL: https://hesela.dev/terms/btrfs-send-stream/ Also known as: Btrfs send/receive stream Status: shipping Record updated: 2026-10-18 A Btrfs send stream is a versioned sequence of commands describing a subvolume or changes needed to reconstruct it from existing state. Note: Full and incremental transfers use the same command format. An incremental transfer can reference a parent and other clone sources, whose corresponding state must remain available and unchanged. The no-data mode omits file payload and is not a data-recovery copy. [send] The format carries per-command CRC32C and subvolume references; it is not a sector image. A successful receive --dump decodes the stream without applying it to a destination, so it cannot establish target dependency availability or successful restoration. [format] [receive] Six synthetic protocol-v1 dump controls on btrfs-progs v6.6.3 accepted a stream with its whole WRITE command removed and a snapshot reference without any destination parent lookup. A flipped payload bit, absent END and truncated command were rejected. These are parser observations, not actual receives or measured backup failures. [controls] Limitations: - Command checksums do not authenticate the sender; the receive manual warns against untrusted streams. (sources: [send], [format], [receive]) Sources and caveats: - Documentation and implementation observations are pinned to btrfs-progs v6.17. Separate dump-only controls used the recorded v6.6.3 executable; no Btrfs filesystem was mounted or restored. Related terms: - [btrfs](https://hesela.dev/terms/btrfs/) - [btrfs-received-uuid](https://hesela.dev/terms/btrfs-received-uuid/) - [btrfs-read-only-subvolume](https://hesela.dev/terms/btrfs-read-only-subvolume/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [reflink](https://hesela.dev/terms/reflink/) - [block-device-read-only](https://hesela.dev/terms/block-device-read-only/) Citations: - [send] btrfs-progs v6.17: send modes and clone-source preconditions. https://github.com/kdave/btrfs-progs/blob/c03e29f083678f47a7d7d810db4d21d905979b77/Documentation/btrfs-send.rst (accessed 2026-10-18) - [format] btrfs-progs v6.17: send stream format and reference fields. https://github.com/kdave/btrfs-progs/blob/c03e29f083678f47a7d7d810db4d21d905979b77/Documentation/dev/dev-send-stream.rst (accessed 2026-10-18) - [receive] btrfs-progs v6.17: receive validation, write window and trust warning. https://github.com/kdave/btrfs-progs/blob/c03e29f083678f47a7d7d810db4d21d905979b77/Documentation/btrfs-receive.rst (accessed 2026-10-18) - [hesela] Keeping Btrfs incremental backups recoverable. https://hesela.com/analyses/btrfs-incremental-send-recovery-contract/ (accessed 2026-10-18) - [controls] Hesela: six Btrfs dump parser controls, fixture hashes and recorded environment. https://hesela.dev/research/btrfs-dump-controls.json (accessed 2026-10-18) ### Btrfs tree log URL: https://hesela.dev/terms/btrfs-tree-log/ Also known as: Btrfs log tree Status: shipping Record updated: 2026-10-15 The Btrfs tree log is a per-subvolume recovery structure that can persist file or directory changes for fsync without a full filesystem transaction commit. Note: The Linux v6.16 fsync path can also fall back to a full commit. Mount-time replay can write even on a read-only mount. Upstream Linux 6.16 removed standalone nologreplay; rescue=nologreplay remains available and requires read-only mounting. Suppressing replay can hide recent logged changes, while btrfs rescue zero-log clears the log and may lose them. [fsync] [mount] [versions] [rescue] Limitations: - A source-registration audit does not test actual recovery or distribution backports. (sources: [parser]) - notreelog and rescue=nologreplay control different flags; rescue=all additionally disables checksum checks. (sources: [parser]) Related terms: - [btrfs](https://hesela.dev/terms/btrfs/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [fsync](https://hesela.dev/terms/fsync/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [f2fs-roll-forward-recovery](https://hesela.dev/terms/f2fs-roll-forward-recovery/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) Citations: - [tree-log] Linux v6.16: Btrfs tree-log.c, design comment and replay implementation. https://github.com/torvalds/linux/blob/v6.16/fs/btrfs/tree-log.c (accessed 2026-10-15) - [fsync] Linux v6.16: Btrfs file.c, btrfs_sync_file and transaction-commit fallback. https://github.com/torvalds/linux/blob/v6.16/fs/btrfs/file.c (accessed 2026-10-15) - [mount] Btrfs documentation: btrfs(5), tree logging and rescue mount options. https://btrfs.readthedocs.io/en/latest/btrfs-man5.html (accessed 2026-10-15) - [versions] Btrfs feature-by-version: rescue in 5.9 and standalone nologreplay removal in 6.16. https://btrfs.readthedocs.io/en/latest/Feature-by-version.html (accessed 2026-10-15) - [parser] Linux v6.16: Btrfs super.c, option registration and read-only checks. https://github.com/torvalds/linux/blob/v6.16/fs/btrfs/super.c (accessed 2026-10-15) - [rescue] Btrfs documentation: btrfs-rescue(8), zero-log and possible loss of changes. https://btrfs.readthedocs.io/en/latest/btrfs-rescue.html (accessed 2026-10-15) - [hesela] Hesela: Btrfs tree logs, read-only replay and version boundaries. https://hesela.com/analyses/btrfs-tree-log-read-only-replay/ (accessed 2026-10-15) ### Btrfs URL: https://hesela.dev/terms/btrfs/ Also known as: B-tree filesystem Status: shipping Record updated: 2026-11-29 Btrfs is a Linux filesystem built around copy-on-write B-trees, with integrated snapshots, checksumming and multi-device storage. Note: Copy-on-write does not remove the need for recovery: Btrfs uses a separate tree log for eligible fsync updates before a full transaction commit. Checksum coverage and mount-time recovery depend on the features and options in use. [bacik] [tree-log] The subvolume ro property is separate from read-only mounting. [subvolume] Limitations: - File data marked NODATASUM is outside data-checksum coverage; copy-on-write is not itself an application transaction or independent backup. (sources: [mount]) Related terms: - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [snapshot](https://hesela.dev/terms/snapshot/) - [btrfs-nodatasum](https://hesela.dev/terms/btrfs-nodatasum/) - [btrfs-tree-log](https://hesela.dev/terms/btrfs-tree-log/) - [checksum](https://hesela.dev/terms/checksum/) - [btrfs-read-only-subvolume](https://hesela.dev/terms/btrfs-read-only-subvolume/) - [filesystem-defragmentation](https://hesela.dev/terms/filesystem-defragmentation/) - [transparent-compression](https://hesela.dev/terms/transparent-compression/) - [swapfile](https://hesela.dev/terms/swapfile/) - [btrfs-balance](https://hesela.dev/terms/btrfs-balance/) Citations: - [bacik] Josef Bacik (2012). Btrfs: The Swiss Army Knife of Storage. USENIX ;login:, volume 37, number 1, Filesystem Consistency section. https://www.usenix.org/system/files/login/articles/bacik_0.pdf (accessed 2026-10-15) - [tree-log] Linux v6.16: Btrfs tree-log.c, design comment and replay implementation. https://github.com/torvalds/linux/blob/v6.16/fs/btrfs/tree-log.c (accessed 2026-10-15) - [mount] Btrfs documentation: btrfs(5), tree logging and rescue mount options. https://btrfs.readthedocs.io/en/latest/btrfs-man5.html (accessed 2026-10-15) - [hesela] Hesela: Btrfs tree logs, read-only replay and version boundaries. https://hesela.com/analyses/btrfs-tree-log-read-only-replay/ (accessed 2026-10-15) - [subvolume] Btrfs documentation: subvolume flags and non-recursive snapshots. https://btrfs.readthedocs.io/en/stable/btrfs-subvolume.html (accessed 2026-10-15) ### Bubble memory URL: https://hesela.dev/terms/bubble-memory/ Related article: https://hesela.com/tech/magnetic-bubble-memory/ Also known as: magnetic bubble memory, magnetic domain memory Status: eol Record updated: 2026-10-22 Bubble memory is nonvolatile storage that represents bits by the presence or absence of movable cylindrical magnetic domains in a thin magnetic film. Note: A perpendicular bias field supports the domains, while a rotating in-plane field drives them along patterned paths. Stopping the drive does not by itself erase the stored state; permanent magnets can supply the bias without continuous electrical power. [c2] The medium stays still, but the information moves. Serial propagation, loop selection and sensing introduce access delay. A major-minor layout provides shorter storage loops connected to shared access paths; an alternative architecture selects closed-loop registers with on-chip magnetic decoders. [c2] [c3] A 1972 spacecraft-memory study separates a 10^8-bit conceptual system from a fabricated 64-bit feasibility model. Its proposed block-access time is 0.2 ms, with a further 4 ms average to a word. These design values are not measurements of a completed full-capacity memory. [c3] A 1979 spacecraft recorder built on the technology reached 1 Mb/s per channel and 2 Mb/s composite against goals of 1.2 and 2.4 Mb/s. Its main problems were a narrow operating temperature range relative to the intended -10 to 60 °C and marginal sensing from low detector sensitivity, detector mismatch and adjacent-bit noise. [nasa1979] Advantages: - The aim was a recorder without moving parts, to replace tape recorders that had shown unacceptably high failure rates in space. (sources: [nasa1979]) - In the 1972 design a 16-adjacent code across planes corrects any combination of errors within one plane. (sources: [c3]) Limitations: - Excessive perpendicular field can collapse a bubble, so nonvolatility does not mean unlimited tolerance of external magnetic fields. [c2] (sources: [c2]) - Temperature sensitivity, sensing noise and manufacturing variation limit usable operating margins. [c2] (sources: [c2]) Sources and caveats: - NBS SP 500-1 is a historical literature and industry survey; it expressly disclaims experimental verification of companies' claims. [c2] - NASA-CR-123577 Table 2.1 gives 0.2 ms to an 800-word block. The NTRS catalog abstract says 200 ms; the report abstract and section 5 support 200 microseconds. [c3] - The 1979 recorder report is a space-agency contractor report on one built unit, not a commercial device; it attributes the data-rate shortfall to software interrupt handling. Related terms: - [major-minor-loop](https://hesela.dev/terms/major-minor-loop/) - [racetrack-memory](https://hesela.dev/terms/racetrack-memory/) - [magnetic-anisotropy](https://hesela.dev/terms/magnetic-anisotropy/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [storage-class-memory](https://hesela.dev/terms/storage-class-memory/) Citations: - [c1] Bubble memory. https://en.wikipedia.org/wiki/Bubble_memory (accessed 2026-03-26) - [c2] R. B. J. Warnar and P. J. Calomeris: NBS SP 500-1, January 1977, pp. 1-4, 13, 30-34; historical technology survey. https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nbsspecialpublication500-1.pdf (accessed 2026-10-18) - [c3] IBM Federal Systems Division: NASA-CR-123577, 26 January 1972, Tables 2.1-2.2 and section 5. https://ntrs.nasa.gov/api/citations/19720016559/downloads/19720016559.pdf (accessed 2026-10-18) - [nasa1979] Murray et al. 10^8 Bit Solid State Spacecraft Data Recorder. NASA Contractor Report 3182, 1979. https://ntrs.nasa.gov/citations/19800002890 (accessed 2026-10-16) ### Buffer-cycle deadlock URL: https://hesela.dev/terms/buffer-cycle-deadlock/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: Cyclic buffer dependency Status: unknown Record updated: 2026-10-19 Buffer-cycle deadlock occurs when frames hold buffers while each waits for another buffer in a closed dependency chain. Note: The 1996 Fibre Channel study models dependencies induced by permitted routes between switch input buffers. A cycle-free dependency graph provides deadlock-free routing within that model. This is a statement about resource dependencies, not simply the presence of a loop in the cabling. [fabric96] A zero-credit counter alone does not identify such a cycle. Investigate the forwarding paths and occupied resources before attributing a stall to deadlock. Sources and caveats: - Historical architectural model; no claim about current vendor routing implementations or measured deadlock incidence. Related terms: - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [buffer-to-buffer-credit](https://hesela.dev/terms/buffer-to-buffer-credit/) - [fc-frame](https://hesela.dev/terms/fc-frame/) Citations: - [fabric96] Cherkasova, Kotov and Rokicki. Fibre Channel Fabrics: Evaluation and Design. HICSS 1996, sections 2.1 and 3. DOI 10.1109/HICSS.1996.495447. https://www.researchgate.net/publication/3623916_Fibre_Channel_Fabrics_Evaluation_and_Design (accessed 2026-10-19) ### Buffer-to-buffer credit URL: https://hesela.dev/terms/buffer-to-buffer-credit/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: BB_credit, BB credits, Fibre Channel buffer credit Status: shipping Record updated: 2026-10-19 A buffer-to-buffer credit permits a Fibre Channel sender to transmit a frame into advertised receive-buffer space on the adjacent link endpoint. Note: Credits are direction-specific and count frames rather than bytes. Transmission spends a credit; in basic R_RDY flow control, a receiver returns credit when a buffer becomes available. Zero credits pauses transmission. The cited implementation documents credit loss after corrupted frames or credit-return primitives. Its BB_SC_N recovery feature on E ports supports R_RDY mode, not ER_RDY mode; verify the actual mode before selecting a recovery procedure. [credits] This is link flow control, not command completion. FCP carries SCSI status separately. Treating a returned credit as proof of a successful or durable write confuses these layers. [fcp-response] Sources and caveats: - Source-backed protocol definition; no throughput, failure-rate or durability measurement is implied. Related terms: - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [fc-frame](https://hesela.dev/terms/fc-frame/) - [fc-exchange](https://hesela.dev/terms/fc-exchange/) - [credit-starvation](https://hesela.dev/terms/credit-starvation/) - [buffer-cycle-deadlock](https://hesela.dev/terms/buffer-cycle-deadlock/) Citations: - [credits] Cisco MDS 9000 Interfaces Configuration Guide, Release 9.x: Buffer-to-Buffer Credits and Credit Recovery. https://www.cisco.com/c/en/us/td/docs/dcn/mds9000/sw/9x/configuration/interfaces/cisco-mds-9000-nx-os-interfaces-configuration-guide-9x/configuring_interface_buffers.html (accessed 2026-10-19) - [fcp-response] Linux v6.12: fc_fcp.h, fcp_resp and SCSI status. https://github.com/torvalds/linux/blob/v6.12/include/scsi/fc/fc_fcp.h (accessed 2026-10-19) ### Buffered I/O URL: https://hesela.dev/terms/buffered-io/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Status: shipping Record updated: 2026-12-04 Buffered I/O is file access through an operating-system cache, allowing transfers between an application and storage to be decoupled. Note: For Linux iomap, buffered reads use page-cache folios and buffered writes dirty them for later writeback. This is distinct from a language runtime's stream buffer or an SSD's device cache. [iomap] Writeback thresholds decide when dirty cache pages reach storage. In Linux v6.16 the defaults start background writeback at 10% of available memory and make writing processes start writeback themselves at 20%. The default periodic wakeup interval is 5 s, and 30 s is the dirty-age threshold for eligibility for writeout, not a durable-completion deadline. [vm-sysctl] [writeback-src] The percentages apply to available memory, meaning free plus reclaimable pages, not total system memory. Setting the wakeup interval to zero disables periodic writeback altogether. [vm-sysctl] Disabling periodic wakeups does not disable every writeback trigger or make dirty data persistent. For a completion requirement, check the result of the appropriate synchronization operation, such as fsync(); syncing a file does not by itself synchronize its directory entry. [vm-sysctl] [fsync-api] Advantages: - Allows cache reuse and writeback rather than requiring every application transfer to reach storage immediately. (sources: [iomap]) - Many small application writes can be absorbed in memory and written out later by background flusher threads. (sources: [vm-sysctl]) Limitations: - Successful buffer updates alone are not persistence evidence; mixing access paths can require coherence work. (sources: [iomap]) Sources and caveats: - vm-sysctl is the Linux v6.16 vm sysctl documentation, read on the access date in the dirty_* entries. - writeback-src is mm/page-writeback.c at tag v6.16, read for the default values of the four tunables. - 10%, 20%, 5 s and 30 s come from writeback-src, where they appear as 10, 20, 5 * 100 and 30 * 100 centiseconds or percent. - iomap was not reread and keeps its earlier access date. - The 2026-11-05 correction distinguishes dirty-age eligibility, periodic wakeups and synchronization completion; vm-sysctl, writeback-src and fsync-api were reread. Related terms: - [page-cache](https://hesela.dev/terms/page-cache/) - [direct-io](https://hesela.dev/terms/direct-io/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [fsync](https://hesela.dev/terms/fsync/) - [posix-fadv-noreuse](https://hesela.dev/terms/posix-fadv-noreuse/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) - [rwf-dontcache](https://hesela.dev/terms/rwf-dontcache/) - [rwf-nowait](https://hesela.dev/terms/rwf-nowait/) - [posix-fadv-willneed](https://hesela.dev/terms/posix-fadv-willneed/) - [readahead](https://hesela.dev/terms/readahead/) - [fuse](https://hesela.dev/terms/fuse/) - [wsbuffer](https://hesela.dev/terms/wsbuffer/) - [linux-writeback-throttling](https://hesela.dev/terms/linux-writeback-throttling/) - [data-sieving](https://hesela.dev/terms/data-sieving/) - [streamcache](https://hesela.dev/terms/streamcache/) Citations: - [iomap] Linux v6.17: iomap supported file operations, sections 2.2.1-2.2.3. https://www.kernel.org/doc/html/v6.17/filesystems/iomap/operations.html (accessed 2026-10-14) - [vm-sysctl] Linux v6.16 documentation: /proc/sys/vm, dirty_background_ratio, dirty_ratio, dirty_expire_centisecs and dirty_writeback_centisecs. https://www.kernel.org/doc/html/v6.16/admin-guide/sysctl/vm.html (accessed 2026-11-05) - [writeback-src] Linux v6.16 mm/page-writeback.c: default dirty ratios and writeback intervals. https://github.com/torvalds/linux/blob/v6.16/mm/page-writeback.c (accessed 2026-11-05) - [fsync-api] Linux man-pages: fsync(2), completion, return value and directory-entry scope. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-05) ### Buffered upsert URL: https://hesela.dev/terms/buffered-upsert/ Related analysis: https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ Also known as: Upsert message Status: research Record updated: 2026-12-01 A buffered upsert encodes a deferred transformation of a key's value without first fetching that value. Note: In B-epsilon trees, pending transformations must be applied in insertion order when the key is queried or the messages reach its leaf. This is not simply SQL insert-or-update syntax, and it does not by itself specify transaction isolation or durable acknowledgement. [primer] An upsert message carries the key, a callback function and auxiliary data. When it is flushed to the leaf, the stored value is replaced by the callback result and the message is discarded. A query that arrives first applies the pending messages found on the root-to-leaf path. Tombstones are a special case, and counters or access times are other examples. [primer] The primer reports nodes of about 4 MB, branching factors from 4 to 16 and batches of at least 256 KB in its implementations. Its query argument concerns I/O along the existing search path: pending callbacks do not require an extra node path. This is not a guarantee of unchanged elapsed latency; callback CPU work, message count and contention still matter. [primer] A write-optimized research file system from 2015 turns most metadata changes and partial block writes into upserts, avoiding a read-modify-write for each small write. [betrfs] Advantages: - Makes extra secondary indexes cheap to maintain, because each index update becomes a buffered insert rather than a query. (sources: [primer]) Limitations: - The 2015 prototype's per-block deletion cost is version-specific, not an inherent requirement of every buffered index. (sources: [betrfs]) - The caller must be able to proceed without the computed result to retain the benefit of a blind update; returning the old value requires obtaining it. (sources: [betrfs-faq]) Sources and caveats: - primer is Bender et al., ;login: October 2015. Basic operations and upserts, pp. 22-26, rechecked on 2026-10-23. - betrfs is Jannen et al., FAST 2015, read in sections 2 to 4. - The node and batch figures are historical implementation descriptions in primer. Its query-performance argument concerns I/O; no new elapsed-time benchmark or speedup estimate is supplied. Related terms: - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [lsm-tombstone](https://hesela.dev/terms/lsm-tombstone/) - [range-rename](https://hesela.dev/terms/range-rename/) - [late-binding-journal](https://hesela.dev/terms/late-binding-journal/) - [betrfs](https://hesela.dev/terms/betrfs/) - [write-optimized-dictionary](https://hesela.dev/terms/write-optimized-dictionary/) - [tokufs](https://hesela.dev/terms/tokufs/) Citations: - [primer] Bender, Farach-Colton, Jannen, Johnson, Kuszmaul, Porter, Yuan and Zhan. An Introduction to B-epsilon-trees and Write-Optimization. ;login: 40(5), 2015. https://www.usenix.org/system/files/login/articles/login_oct15_05_bender.pdf (accessed 2026-10-23) - [hesela-buffered] Hesela. B-epsilon trees: visible updates, deferred work. https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ (accessed 2026-10-16) - [betrfs] Jannen et al. BetrFS: A Right-Optimized Write-Optimized File System. FAST 2015, pp. 301-315, sections 2-4. https://files.usenix.org/s3fs-public/cdn/fast15-paper-jannen_william.pdf (accessed 2026-10-22) - [betrfs-faq] BetrFS authors. Frequently Asked Questions, upserts and blind writes; historical prototype guidance, not a current-release specification. https://www.betrfs.org/faq.html (accessed 2026-10-23) ### BufferHash URL: https://hesela.dev/terms/bufferhash/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Status: research Record updated: 2026-11-30 BufferHash is a research hash-table design that batches RAM insertions into flash-resident incarnations and filters their lookups in memory. Note: The author project describes a small RAM hash table flushed as an incarnation, with a separate RAM Bloom filter for each flushed table. This avoids probing every flash table on each lookup. [bufferhash-project] The NSDI 2010 design checks newer incarnations before older ones; lazy updates can leave obsolete versions on flash. A positive lookup filter triggers a key check, not proof of membership. [bufferhash-paper] The February 2009 technical report has a different title and author list from the five-author NSDI 2010 paper. They are distinct versions, not independent replications. [bufferhash-report] [bufferhash-project] The linked example separates absent requests, RAM hits and flash hits. Its inputs are invented and its output counts logical page probes, not device latency. [hesela-bufferhash] Limitations: - Update-based eviction can discard a live item after a Bloom-filter false positive; capacity pressure can also force live FIFO eviction. (sources: [bufferhash-paper]) Sources and caveats: - Primary-source synthesis with a separate hypothetical accounting model; no BufferHash implementation, SSD benchmark or crash-recovery experiment reproduced. Related terms: - [flashstore](https://hesela.dev/terms/flashstore/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) Citations: - [bufferhash-project] Akella research group: Content-based Network Protocols and Architectures, BufferHash mechanism and NSDI 2010 publication. https://pages.cs.wisc.edu/~akella/projects/content.html (accessed 2026-11-30) - [bufferhash-paper] Anand et al. Cheap and Large CAMs for High Performance Data-Intensive Networked Systems. NSDI 2010, sections 5-7, footnote 2. https://www.usenix.org/legacy/events/nsdi10/tech/full_papers/anand.pdf (accessed 2026-11-30) - [bufferhash-report] Anand, Kappes, Akella and Nath. Building Cheap and Large CAMs Using BufferHash. UW-Madison Technical Report 1651, February 2009. https://research.cs.wisc.edu/techreports/2009/TR1651.pdf (accessed 2026-11-30) - [hesela-bufferhash] Hesela: BufferHash lookup denominators and eviction semantics. https://hesela.com/analyses/key-value-separation-cleaning-cost/#bufferhash-reads (accessed 2026-11-30) ### Bulk-Only Transport URL: https://hesela.dev/terms/bulk-only-transport/ Related analysis: https://hesela.com/analyses/usb-sata-bridge-uas-failure-signatures/ Also known as: BOT, USB Mass Storage Bulk-Only Transport Status: shipping Record updated: 2026-11-07 Bulk-Only Transport (BOT) is a USB mass-storage transport that serializes command, optional data and status transfers over bulk endpoints. Note: A normal command sequence begins with a 31-byte Command Block Wrapper (CBW) and ends with a 13-byte Command Status Wrapper (CSW). Another CBW requires a received CSW for the preceding sequence or reset recovery. BOT does not support bidirectional data within one command. [bot] BOT Reset Recovery first issues the class-specific Bulk-Only Mass Storage Reset, then clears HALT on Bulk-In, then Bulk-Out. It is not the same operation as a USB device reset. The class reset alone preserves endpoint STALL conditions and data toggles. [bot] In Linux v6.12, a command-failed CSW takes the automatic-sense path, while a phase error returns a transport error for recovery. The driver also accommodates specific tag, signature and residue quirks, so driver acceptance is not proof of standards conformance. [bot-linux] For command-passed or command-failed status, dCSWDataResidue subtracts relevant bytes sent for Data-In, or bytes processed for Data-Out, from dCBWDataTransferLength. Bus transfers may include padding or bytes the device does not process. The host ignores residue for phase-error status. [bot] Zero residue and command-passed status alone cannot establish durability: volatile caches and end-to-end flush/FUA handling still matter. [cache-control] Limitations: - No command queuing through overlapping CBWs on the same BOT interface. [bot] Sources and caveats: - Normative requirements use USB-IF BOT revision 1.0. Linux behavior is scoped to commit adc218676eef25575469234709c2d87185ca223a; no USB hardware was tested. [bot] [bot-linux] Related terms: - [usb-mass-storage](https://hesela.dev/terms/usb-mass-storage/) - [uasp](https://hesela.dev/terms/uasp/) - [scsi](https://hesela.dev/terms/scsi/) Citations: - [bot] USB-IF: Mass Storage Bulk-Only Transport revision 1.0, sections 3.3-3.5, 5 and 6. https://www.usb.org/sites/default/files/usbmassbulk_10.pdf (accessed 2026-11-07) - [bot-linux] Linux v6.12: Bulk-Only status, residue quirks and automatic sense handling. https://raw.githubusercontent.com/torvalds/linux/adc218676eef25575469234709c2d87185ca223a/drivers/usb/storage/transport.c (accessed 2026-10-19) - [cache-control] Linux v6.12: explicit volatile write-back cache control. https://raw.githubusercontent.com/torvalds/linux/adc218676eef25575469234709c2d87185ca223a/Documentation/block/writeback_cache_control.rst (accessed 2026-10-19) - [hesela-usb] Hesela: USB storage resets and transport-status interpretation. https://hesela.com/analyses/usb-sata-bridge-uas-failure-signatures/ (accessed 2026-10-19) ### Burke's theorem URL: https://hesela.dev/terms/burkes-theorem/ Related analysis: https://hesela.com/analyses/storage-latency-coordinated-omission/ Also known as: Burke output theorem, Burkes theorem Status: research Record updated: 2026-11-20 Burke's theorem states that departures from a stationary M/M/1 queue form a Poisson process with the same rate as its arrivals. Note: Scope: use a stable single-server queue with Poisson arrival rate lambda, iid exponential service times of rate mu independent of arrivals, unlimited waiting space and lambda < mu. The output law is a stationary result, not a claim about a queue just started empty. [keane] The theorem preserves the distribution of the arrival stream through this queue, not its actual timestamps. Input and output are not independent copies: conservation gives departures = arrivals + initial occupancy - final occupancy over the same interval. Equal mean rates alone do not establish a Poisson output. [keane] In a tandem of independent M/M/1 servers, departures can therefore feed the next stage as Poisson arrivals. Each stage must remain stable. Shared request sizes, backpressure or a non-exponential stage require a separate model; the theorem does not validate a storage pipeline merely because its external arrivals are Poisson. [martin] Counterexample: with one nonpreemptive serial server taking exactly 1 ms per request, consecutive departures are at least 1 ms apart even for Poisson input. A Poisson stream of positive rate has a positive probability of shorter gaps, so this fixed-duration output cannot be Poisson. This is a mathematical support argument, not a measured workload. [hesela-tandem] Sources and caveats: - The original 1956 publisher record establishes attribution and scope; the open 2008 and 2010 research manuscripts supply the inspected mathematical formulation. - The fixed-duration counterexample follows directly from serial service. It is not a simulation, hardware measurement or a novel theorem. Related terms: - [tandem-queue](https://hesela.dev/terms/tandem-queue/) - [pasta](https://hesela.dev/terms/pasta/) - [queueing-delay](https://hesela.dev/terms/queueing-delay/) Citations: - [keane] Keane and O'Connell: The M/M/1 queue is Bernoulli (2008), section 1; arXiv:0804.3935v1. https://arxiv.org/pdf/0804.3935v1 (accessed 2026-11-20) - [martin] Martin and Prabhakar: Fixed points for multi-class queues (2010), sections 1-2; arXiv:1003.3024v1. https://arxiv.org/pdf/1003.3024v1 (accessed 2026-11-20) - [burke1956] Paul J. Burke: The Output of a Queuing System, Operations Research 4(6), 699-704 (1956). https://doi.org/10.1287/opre.4.6.699 (accessed 2026-11-20) - [hesela-tandem] Hesela: tandem queues and the fixed-duration departure-gap counterexample. https://hesela.dev/terms/tandem-queue/ (accessed 2026-11-20) ### Burrows-Wheeler transform URL: https://hesela.dev/terms/burrows-wheeler-transform/ Also known as: BWT, Block-sorting transform Status: shipping Record updated: 2026-11-17 The Burrows-Wheeler transform reversibly reorders a block's symbols using sorted cyclic rotations to expose context-dependent repetition. Note: Transformation: Sort a block's cyclic rotations and take their last column. The 1994 construction also records the original row index so the block can be recovered. That column alone does not identify which rotation was the original input. [bwt-report] Indexing convention: A unique terminator smaller than every ordinary symbol anchors an FM-index text. In the constructed banana$ example, sorted suffixes start at 6, 5, 3, 1, 0, 4, 2 and the last column is annb$aa. The terminator is part of this representation, not a byte that can silently replace an input symbol. [focs] [example] Compression: The last column preserves symbol counts and length; rearrangement alone saves no symbols. Compression comes from subsequent coding that exploits the new locality, with transform metadata included in stored size. [bwt-report] Navigation: LF mapping pairs each occurrence in the last column with the same-ranked occurrence in the sorted first column. In the terminated example it moves one text position backward and enables inversion; adding rank support and position samples enables indexed search. [bwt-report] [jacm] Limitations: - The example accepts lowercase ASCII with a reserved terminator; general byte streams need an explicit alphabet and terminator representation. (sources: [example]) Sources and caveats: - The original report uses a primary-row index; the indexing papers use a unique terminator. These are distinct reversible representations, not interchangeable file formats. - The report's historical compression timings are not reused as contemporary performance claims. No paper code or figures are redistributed. Related terms: - [fm-index](https://hesela.dev/terms/fm-index/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [run-length-encoding](https://hesela.dev/terms/run-length-encoding/) - [r-index](https://hesela.dev/terms/r-index/) - [prefix-free-parsing](https://hesela.dev/terms/prefix-free-parsing/) - [move-to-front](https://hesela.dev/terms/move-to-front/) - [prediction-by-partial-matching](https://hesela.dev/terms/prediction-by-partial-matching/) Citations: - [bwt-report] Burrows and Wheeler: A Block-sorting Lossless Data Compression Algorithm, SRC Report 124 (1994), sections 1-2 and 4.2. https://www.cs.jhu.edu/~langmea/resources/burrows_wheeler.pdf (accessed 2026-11-17) - [focs] Ferragina and Manzini: Opportunistic Data Structures with Applications, FOCS 2000 author draft, sections 2-3. https://people.unipmn.it/manzini/papers/focs00draft.pdf (accessed 2026-11-17) - [jacm] Ferragina and Manzini: Indexing Compressed Text, JACM 52(4), 552-581 (2005), sections 3.1 and 3.3. https://people.unipmn.it/manzini/papers/jacm05a.pdf (accessed 2026-11-17) - [example] Hesela: exact BWT search and text-position versus row-sampling example, executable model and observations. https://hesela.dev/research/fm-index/README.md (accessed 2026-11-17) ### Business impact analysis URL: https://hesela.dev/terms/business-impact-analysis/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: BIA Status: shipping Record updated: 2026-10-19 A business impact analysis evaluates disruption consequences and dependencies to inform recovery requirements and priorities. Note: Method: Identify supported processes and the effects of their interruption, the resources they need, and recovery priorities. Process owners help determine acceptable downtime and data loss. [nist-recovery] Storage decisions: These requirements inform backup frequency, recovery architecture and retained recovery points. Dependants must have compatible objectives, and impact can rise sharply after a deadline rather than increasing at a constant rate. [recovery-planning] Limitations: - Recovery objectives still need to be tested against the implemented recovery strategy. (sources: [recovery-planning]) Sources and caveats: - The three-step structure follows NIST SP 800-34 Rev. 1, section 3.2. The cloud architecture source adds workload dependencies and nonlinear impact considerations. [nist-recovery] [recovery-planning] Related terms: - [maximum-tolerable-downtime](https://hesela.dev/terms/maximum-tolerable-downtime/) - [recovery-time-objective](https://hesela.dev/terms/recovery-time-objective/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [backup](https://hesela.dev/terms/backup/) - [restore-test](https://hesela.dev/terms/restore-test/) Citations: - [nist-recovery] NIST SP 800-34 Rev. 1 (2010), sections 3.2 and 3.5: impact, recovery objectives and testing. https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-34r1.pdf (accessed 2026-10-19) - [recovery-planning] AWS Well-Architected Framework (2024-06-27), REL13-BP01: recovery objectives and dependencies. https://docs.aws.amazon.com/wellarchitected/2024-06-27/framework/rel_planning_for_recovery_objective_defined_recovery.html (accessed 2026-10-19) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-19) ### Bw-tree URL: https://hesela.dev/terms/bw-tree/ Also known as: BwTree, Buzz Word Tree Status: research Record updated: 2026-11-15 The Bw-tree is a B+ tree design that uses a page mapping table and immutable delta chains to install node changes with atomic compare-and-swap. Note: Updates: Logical page identifiers survive relocation. A writer links a delta to the observed head and compares that head when publishing; a competing change can force a retry. [bw-original] Consolidation: A replacement base page incorporates a captured chain. Installation must still validate its head; a stale replacement is discarded. Retired storage cannot be reused while protected readers may access it. [bw-original] Scan boundary: The 2013 design makes individual next-record operations atomic, not the whole scan. Its index and log-structured storage layers are distinct; pointer publication alone is not durability. [bw-original] Physical order: OpenBw-Tree preallocates delta space, but allocation order can differ from chain-publication order. Readers must follow links, not assume address order reconstructs history. [bw-implementation] Performance: The 2018 in-memory study identifies allocation, indirection, traversal and epoch-accounting costs. Its comparisons do not establish a universal lock-free speed advantage or SSD endurance result. [bw-implementation] Executable example: Six event orderings cover one writer and one consolidation. Guarded publication retains the accepted update in all six; an intentionally unchecked replacement loses it in two. These are model cases, not failure probabilities or native Bw-tree defects. [consolidation-model] [model-results] Stable-log boundary: With a transactional log, consolidation and flushing require LSN <= ESL; newer deltas remain separable. [bw-original] ESL/EOSL covers a gap-free prefix, not the largest logged LSN: physical log order may differ. [deuteronomy] RSSP acknowledgement instead requires every earlier update durable. [bw-original] Limitations: - The example excludes splits, merges, memory reclamation, weak-memory ordering, I/O and crashes; it is not a complete concurrency or recovery proof. (sources: [consolidation-model]) - The stable-log model reconstructs durable operations, not committed transactions; it excludes undo, RSSP truncation and actual power-loss behavior. (sources: [wal-model], [deuteronomy]) Sources and caveats: - Primary-paper comparison plus a deterministic teaching model; no native Bw-tree execution, hardware benchmark or crash experiment was performed. - The model's accepted update means successful in-memory publication, not durable database commit. - The 2018 baseline is a good-faith reconstruction of Microsoft's proposed design, not its private engine; OpenBw-Tree is the study's optimized implementation. - The separate 45-case model covers log holes, delayed notifications, overwrites, deletion and reinsertion. Eligible state plus replay is checked against a per-key oracle. [wal-model] [wal-results] - The unchecked variant preserves the memory view but can persist an unlogged update. The examples are abstract operation reconstruction, not native crash tests or committed-transaction recovery. [wal-model] Related terms: - [b-tree](https://hesela.dev/terms/b-tree/) - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) - [b-link-tree](https://hesela.dev/terms/b-link-tree/) - [llama](https://hesela.dev/terms/llama/) Citations: - [bw-original] Levandoski, Lomet and Sengupta. The Bw-Tree: A B-tree for New Hardware Platforms. ICDE 2013; sections II, III.A-D and V.A. DOI: 10.1109/ICDE.2013.6544834. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/bw-tree-icde2013-final.pdf (accessed 2026-11-15) - [bw-implementation] Wang et al. Building a Bw-Tree Takes More Than Just Buzz Words. SIGMOD 2018, pp. 473-488, sections 3-6. DOI: 10.1145/3183713.3196895. https://db.cs.cmu.edu/papers/2018/mod342-wangA.pdf (accessed 2026-11-15) - [consolidation-model] Hesela: bounded consolidation-publication model and executable negative control (Node.js; no dependencies). https://hesela.dev/research/bw-tree-consolidation.mjs (accessed 2026-11-15) - [model-results] Hesela: all six modeled interleavings, guarded and intentionally unchecked outcomes. https://hesela.dev/research/bw-tree-consolidation.json (accessed 2026-11-15) - [deuteronomy] Levandoski, Lomet, Mokbel and Zhao. Deuteronomy: Transaction Support for Cloud Data. CIDR 2011, pp. 123-133, sections 4.5-4.5.2 and 5.1. https://www.cidrdb.org/cidr2011/Papers/CIDR11_Paper14.pdf (accessed 2026-11-15) - [wal-model] Hesela: stable-log eligibility and abstract recovery model; executable Node.js source. https://hesela.dev/research/bw-tree-wal.mjs (accessed 2026-11-15) - [wal-results] Hesela: 45 stable-log model cases with guarded and intentionally unchecked outcomes. https://hesela.dev/research/bw-tree-wal.json (accessed 2026-11-15) ### Byte-addressable storage URL: https://hesela.dev/terms/byte-addressable-storage/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Status: limited Record updated: 2026-10-13 Byte-addressable storage exposes individual byte locations rather than only block-sized addresses, without by itself specifying atomicity or durability. Note: For memory-like storage, Linux DAX can expose file contents through a direct userspace mapping and avoid a page-cache copy. [dax-docs] Addressability is distinct from persistence: PMDK separates page, cache-line and byte persistence granularity according to the protected domain. [pmdk-granularity] Even a persistence function is not transactional, and cache eviction can make stores durable before software explicitly persists them. A byte-addressed interface therefore does not promise an atomic multi-byte update. [pmdk-persist] Linux's Block Translation Table (BTT) provides sector-update atomicity through a stacked block device with remapping metadata, rather than deriving that guarantee from byte addressability alone. [btt-docs] Advantages: - Suitable DAX mappings avoid the redundant page-cache copy of memory-like backing storage. (sources: [dax-docs]) Limitations: - Address granularity is not a guarantee of power-fail atomicity or durable ordering. (sources: [pmdk-persist], [pmdk-granularity]) Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [storage-class-memory](https://hesela.dev/terms/storage-class-memory/) - [nvdimm-n](https://hesela.dev/terms/nvdimm-n/) - [optane](https://hesela.dev/terms/optane/) - [3d-xpoint](https://hesela.dev/terms/3d-xpoint/) - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [block-storage](https://hesela.dev/terms/block-storage/) - [dax](https://hesela.dev/terms/dax/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) Citations: - [dax-docs] Linux kernel documentation. Direct Access for files: motivation and S_DAX state. https://docs.kernel.org/filesystems/dax.html (accessed 2026-10-13) - [pmdk-granularity] PMDK 1.13.1. libpmem2(7), GRANULARITY (pinned source documentation). https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/libpmem2.7.md (accessed 2026-10-13) - [pmdk-persist] PMDK 1.13.1. pmem2_get_persist_fn(3): early persistence and non-transactional semantics. https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/pmem2_get_persist_fn.3.md (accessed 2026-10-13) - [btt-docs] Linux kernel documentation. BTT - Block Translation Table, introduction and theory of operation. https://docs.kernel.org/driver-api/nvdimm/btt.html (accessed 2026-10-13) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/ (accessed 2026-10-13) ### Byte hit ratio URL: https://hesela.dev/terms/byte-hit-ratio/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: byte-hit ratio, byte hit rate Status: research Record updated: 2026-11-14 Byte hit ratio is the fraction of requested payload bytes served from a cache under a stated request-accounting rule. Note: For full-object requests, divide hit payload bytes by requested payload bytes, counting repeats. Request hit ratio counts hits, so unequal sizes can reverse a ranking. [size-aware] Ten requests totaling 24 KiB can yield eight hits serving 8 KiB or two hits serving 16 KiB. These fixed-residency examples produce byte hit ratios of one-third and two-thirds respectively. [hesela] Pool compatible, disjoint observations by summing hit payload bytes and requested payload bytes separately before dividing. Weighting window ratios by request counts instead of requested bytes does not generally recover the pooled byte ratio. No requested bytes means the ratio is undefined. [prometheus-ratios] Equal-size, full-block requests with identical hit accounting have equal byte and request hit ratios. Neither describes miss-stream sequentiality. DULO balances recency with sequence size under an equal sequence-fetch-cost assumption within a bounded range. Short sequences receive a retention preference, but inactive ones can still be evicted. In the paper's multi2 simulation, execution time improved with little hit-ratio change; this historical disk result is not an SSD performance guarantee. [dulo] A constructed equal-block trace gives both warm resident sets 8 hits in 16 requests and 32 KiB of hits in 64 KiB requested. Their miss streams contain either eight single-block ascending runs or two four-block runs. Logical adjacency is not a count of physical seeks, commands or elapsed time. Misses bypass; there is no prefetch or reordering. [miss-shape] On ABCABC with A=3, B=C=1, empty capacity 3 and bypass allowed, the request optimum fetches 8 units in 4 misses (2/10 byte hits); the payload optimum fetches 7 in 5 (3/10). The six requests total ten requested units. [oracle] Sources and caveats: - Payload accounting alone does not measure latency, compressed transfer, partial-read traffic or NAND operations. The example is synthetic, not a cache-policy benchmark. [hesela] Related terms: - [greedydual-size](https://hesela.dev/terms/greedydual-size/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [tinylfu](https://hesela.dev/terms/tinylfu/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) - [disk-head-time](https://hesela.dev/terms/disk-head-time/) - [adaptsize](https://hesela.dev/terms/adaptsize/) Citations: - [size-aware] Einziger, Eytan, Friedman and Manes. Lightweight Robust Size Aware Cache Management. arXiv:2105.08770v2 (2021), sections 1 and 4-5. https://arxiv.org/pdf/2105.08770v2 (accessed 2026-10-25) - [hesela] Hesela. Fixed-residency request and byte accounting: constructed inputs and reproducible results. https://hesela.dev/research/cache-metrics.json (accessed 2026-10-16) - [prometheus-ratios] Prometheus documentation. Recording rules: Aggregation; sum numerators and denominators separately before division. https://prometheus.io/docs/practices/rules/#aggregation (accessed 2026-10-25) - [dulo] Jiang, Ding, Chen, Tan and Zhang. DULO. FAST 2005, sections 2, 3.4 and 4.1.2: sequence cost, recency and simulated miss streams. https://www.usenix.org/legacy/event/fast05/tech/full_papers/jiang/jiang_html/index.html (accessed 2026-11-03) - [miss-shape] Hesela. Equal-hit miss-stream witness: original logical-block trace, assumptions, code and tests. https://hesela.dev/research/cache-miss-shape.json (accessed 2026-11-03) - [oracle] Hesela. Exact request-miss and payload objectives: ABCABC witness, complete cost-pair enumeration, code and controls. https://hesela.com/analyses/sieve-cache-eviction-traces/#cache-objective (accessed 2026-11-06) ### Byte order URL: https://hesela.dev/terms/byte-order/ Also known as: Endianness Status: shipping Record updated: 2026-11-20 Byte order is the convention that assigns significance to the positions of bytes in a multibyte value. Note: Integers: Big-endian puts the most significant byte first; little-endian puts it last. For an unsigned 16-bit integer, hexadecimal bytes 01 02 mean 258 in big-endian and 513 in little-endian. Width, signedness and field layout must also be specified. [python-struct] Conversion: Reinterpreting the same bytes with a different byte-order descriptor differs from swapping the bytes. Starting from big-endian 01 02, changing both preserves 258 while changing either alone gives 513. NumPy exposes these as a dtype view and byteswap(), respectively. [numpy-byteswap] Arrays: Byte order within each element differs from C/Fortran element traversal. In NPY 1.0, the header-length field is little-endian independently of the payload dtype described by the header. [npy-format] Scalar extraction: For a plain unsigned 16-bit NumPy array, extracting an element returns a native-order scalar without changing the array. The scalar does not retain the source byte order. A simple dtype's byteorder may report = when an explicit order matches the host; inspect the array dtype and raw bytes together. [numpy-byteswap] [numpy-dtype-byteorder] Sources and caveats: - Source-reviewed terminology and exact unsigned 16-bit arithmetic; no device or corruption-rate measurement. - Executable worked example: https://hesela.dev/research/byte-order.mjs; regression controls: https://hesela.dev/research/byte-order.test.mjs. - Native NumPy scalar checks: https://hesela.dev/research/byte-order-native.py; the script reports its library version and host order and checks both explicit byte orders without hardware I/O. Related terms: - [utf-32](https://hesela.dev/terms/utf-32/) - [npy](https://hesela.dev/terms/npy/) - [checksum](https://hesela.dev/terms/checksum/) - [file-storage](https://hesela.dev/terms/file-storage/) - [byte](https://hesela.dev/terms/byte/) - [data-serialization](https://hesela.dev/terms/data-serialization/) - [character-encoding](https://hesela.dev/terms/character-encoding/) - [utf-8](https://hesela.dev/terms/utf-8/) - [variable-length-integer](https://hesela.dev/terms/variable-length-integer/) - [hexadecimal](https://hesela.dev/terms/hexadecimal/) Citations: - [python-struct] Python struct: byte order, size and alignment. https://docs.python.org/3/library/struct.html#byte-order-size-and-alignment (accessed 2026-11-06) - [numpy-byteswap] NumPy: byte-swapping and dtype reinterpretation. https://numpy.org/doc/stable/user/byteswapping.html (accessed 2026-11-06) - [npy-format] NumPy: NPY format and header fields. https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html (accessed 2026-11-06) - [hesela-example] Hesela: reading the same bytes in another order. https://hesela.com/analyses/checksums-identity-and-lost-writes/#byte-order (accessed 2026-11-06) - [numpy-dtype-byteorder] NumPy: native and explicit dtype byte order. https://numpy.org/doc/stable/reference/generated/numpy.dtype.byteorder.html (accessed 2026-11-06) ### Byte-pair encoding URL: https://hesela.dev/terms/byte-pair-encoding/ Also known as: BPE, Byte pair encoding Status: research Record updated: 2026-11-18 Byte-pair encoding repeatedly replaces frequent adjacent byte pairs with unused byte values and records the substitutions needed to reconstruct the input. Note: Mechanism: In the original byte-oriented scheme, replacements can themselves appear in later pairs. Decoding recursively expands the stored pair table; the reduced payload alone is insufficient. [gage1994] Byte budget: A block needs unused values among the 256 byte codes. The original implementation splits input into blocks to retain spare codes. Re-Pair instead extends its symbol alphabet; a new grammar symbol need not fit in one byte. [gage1994] [larsson1999] Accounting: In the teaching format, abababab becomes two rules and two payload bytes: 14 header + 6 rule + 2 payload = 22 stored bytes for 8 input bytes. Repeating ab 128 times gives 37 stored bytes for 256 input bytes; selecting six rather than seven rules gives 36. The smallest prefix includes table cost; neither example estimates typical compression. [example] Seeking: With its pair table available, decoding can start at a payload-code boundary. This does not identify which compressed position contains a requested original-byte offset; that needs additional mapping or expansion. [gage1997] Tokenization: A later adaptation learns character-sequence merges from training words, excluding cross-word pairs. Its learned symbols are not restricted to unused byte values, and token count is not stored-byte size. [sennrich2016] Limitations: - The substitution table does not authenticate the decoded bytes; a changed rule can produce different output of the same length. (sources: [example]) Sources and caveats: - Original byte-oriented BPE is distinguished from extended-alphabet grammar compression and the 2016 character-based tokenization adaptation. - The executable model has its own framing, tie-breaking and stopping policy; it is not Gage's wire format or a reproduction of historical performance measurements. Related terms: - [re-pair](https://hesela.dev/terms/re-pair/) - [grammar-compression](https://hesela.dev/terms/grammar-compression/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) Citations: - [gage1994] Gage (1994): A New Algorithm for Data Compression, C Users Journal, February; archived article. https://jacobfilipp.com/DrDobbs/articles/CUJ/1994/9402/gage/gage.htm (accessed 2026-11-18) - [gage1997] Gage (1997): Random Access Data Compression, C Users Journal, September; archived article. https://jacobfilipp.com/DrDobbs/articles/CUJ/1997/9709/gage/gage.htm (accessed 2026-11-18) - [larsson1999] Larsson and Moffat: Offline Dictionary-Based Compression, DCC 1999, sections 2.2-2.3. https://avadeaux.net/larsson.dogma.net/dcc99.pdf (accessed 2026-11-18) - [sennrich2016] Sennrich, Haddow and Birch: Neural Machine Translation of Rare Words with Subword Units, ACL 2016, section 3.2. https://aclanthology.org/P16-1162/ (accessed 2026-11-18) - [example] Hesela: byte-pair substitution, full representation accounting and decoder controls. https://hesela.dev/research/byte-pair/README.md (accessed 2026-11-18) ### Byte-range request URL: https://hesela.dev/terms/byte-range-request/ Related analysis: https://hesela.com/analyses/object-etags-checksums-conditional-writes/ Also known as: HTTP range request, HTTP byte-range request Status: shipping Record updated: 2026-10-28 A byte-range request asks an HTTP server to return selected byte intervals of a representation instead of its complete content. Note: Offsets start at zero and include both endpoints; bytes=0-9 requests ten bytes. Ranges address the encoded representation when content coding is applied. Keep representation identity separate from range coverage and checksum verification. Automatic content decoding changes the local output without rewriting saved HTTP response headers. Full decoded output does not establish that a range covered the complete encoded object or its gzip trailer. Advantages: - Range requests can retrieve selected object bytes or resume an interrupted transfer. (sources: [c1], [c2]) Limitations: - A server can ignore Range and return 200; do not append that full response as a missing fragment. (sources: [c1]) - If-Range cannot use a weak ETag; a failed comparison makes the server ignore Range, unlike a failed If-Match precondition. Use an HTTP-date only when no ETag is available and the date qualifies as a strong validator. (sources: [c1]) - S3 GetObject supports one range per request; use its documented versionId or If-Match controls rather than assuming If-Range support. (sources: [c2]) - Decompressive transcoding can turn a range request into an entire object transfer; a checksum of the complete stored object does not validate a selected or decoded interval. (sources: [c4], [c5]) - Pinning a stored data generation does not freeze editable metadata; when metadata controls the representation, bind its revision too and check each response's coding before assembly. (sources: [c5], [c6]) - A client's successful partial response does not establish whole-container validation; check encoded interval coverage separately from decoded output identity and final client status. (sources: [c1], [c7], [c8]) Sources and caveats: - The transcoding example is specific to Google Cloud Storage; the checksum coverage statement uses its XML API. [c4] [c5] - The generation/metageneration distinction is specific to Google Cloud Storage; its XML download API exposes x-goog-if-metageneration-match. [c5] [c6] - Hesela's nine-case loopback curl 8.5.0 experiment retained complete decoded output with exit 61 for a wrong full-response gzip CRC and exit 0 when the trailer was excluded. The payload itself remained correct; this is not an S3/GCS test or a claim about all curl versions. [c8] [c9] Related terms: - [entity-tag](https://hesela.dev/terms/entity-tag/) - [object-version-id](https://hesela.dev/terms/object-version-id/) - [object-storage](https://hesela.dev/terms/object-storage/) - [full-object-checksum](https://hesela.dev/terms/full-object-checksum/) Citations: - [c1] RFC 9110: If-Range and range requests, sections 13.1.5 and 14. https://www.rfc-editor.org/rfc/rfc9110.html#section-14 (accessed 2026-10-23) - [c2] Amazon S3 API: GetObject, Range, If-Match and versionId. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html (accessed 2026-10-23) - [c3] Object ETags: checksums and conditional writes are different. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#range-resumption (accessed 2026-10-23) - [c4] Google Cloud Storage: gzip transcoding and Range behavior. https://docs.cloud.google.com/storage/docs/transcoding (accessed 2026-10-23) - [c5] Google Cloud Storage XML API: object download and checksum coverage. https://docs.cloud.google.com/storage/docs/xml-api/get-object-download (accessed 2026-10-23) - [c6] Google Cloud Storage: editable metadata, generation and metageneration. https://docs.cloud.google.com/storage/docs/metadata#generation-number (accessed 2026-10-24) - [c7] libcurl CURLOPT_ACCEPT_ENCODING: decoding and Content-Length accounting. https://curl.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html (accessed 2026-10-28) - [c8] Hesela: complete decoded output is not a completed archive check. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#client-decoding (accessed 2026-10-28) - [c9] Hesela: nine retained HTTP decoding observations, curl 8.5.0. https://hesela.dev/research/http-decoding-observations.json (accessed 2026-10-28) ### Byte URL: https://hesela.dev/terms/byte/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: Eight-bit byte, Octet (eight-bit byte) Status: unknown Record updated: 2026-11-17 A byte is a group of bits treated as one storage unit, conventionally eight bits in modern storage and networking. Note: Units: Modern storage capacity uses 1 B = 8 bits. An octet is explicitly an eight-bit group: its 256 patterns range from hexadecimal 00 to FF. Octet is an alias here only for the eight-bit usage of byte. [nist-units] [rfc-octet] C portability: The C11 draft defines a byte as an addressable storage unit, with implementation-defined width. CHAR_BIT gives its bit count and must be at least 8; sizeof(char) is 1, not a promise of eight bits. A serialized octet and a C byte therefore need not have the same width. [c11-byte] Text: A byte count is not a character count. UTF-8 encodes one Unicode scalar value in one to four octets, excluding surrogate code points. For example, U+0041 occupies 41 in hexadecimal, while U+20AC occupies E2 82 AC. Count the encoded bytes when sizing a text payload. [rfc-utf8] Sources and caveats: - The C-specific statement is scoped to the April 2011 N1570 committee draft. UTF-8 examples describe encoding, not filesystem allocation. Related terms: - [bit](https://hesela.dev/terms/bit/) - [binary-prefix](https://hesela.dev/terms/binary-prefix/) - [byte-order](https://hesela.dev/terms/byte-order/) - [file-size](https://hesela.dev/terms/file-size/) - [character-encoding](https://hesela.dev/terms/character-encoding/) - [utf-8](https://hesela.dev/terms/utf-8/) - [unicode-normalization](https://hesela.dev/terms/unicode-normalization/) - [hexadecimal](https://hesela.dev/terms/hexadecimal/) Citations: - [nist-units] NIST: Prefixes for binary multiples, unit examples. https://physics.nist.gov/cuu/Units/binary.html (accessed 2026-11-17) - [c11-byte] WG14 N1570, C11 committee draft: sections 3.5-3.6, 5.2.4.2.1 and 6.5.3.4. https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf (accessed 2026-11-17) - [rfc-octet] RFC 5234: Appendix B.1, OCTET core rule. https://www.rfc-editor.org/rfc/rfc5234.html#appendix-B.1 (accessed 2026-11-17) - [rfc-utf8] RFC 3629: section 3, UTF-8 definition. https://www.rfc-editor.org/rfc/rfc3629.html#section-3 (accessed 2026-11-17) ### ByVFS URL: https://hesela.dev/terms/byvfs/ Also known as: ByVFS metadata-cache bypass Status: research Record updated: 2026-12-01 ByVFS is a research modification of Linux pathname lookup that bypasses the dentry cache for persistent-memory filesystems while retaining inode caching. Note: The prototype changes Linux 4.3.0 and NOVA. It reads directory metadata through the filesystem; this is not ordinary file-data page-cache bypass. [byvfs18] A persistent inode holds a pointer to its volatile cached inode. Mount and inode version numbers distinguish an earlier mount's pointer; a mismatch triggers reconstruction. Persisting an address does not preserve its target. [byvfs18] Without cached parent links, getcwd searches parent-directory entries. Replacement concurrency control and more efficient syscall support remained future work. A shorter lookup path is not a demonstrated substitute for those guarantees. [byvfs18] The evaluation used NUMA-based NVM emulation, not physical persistent-memory devices. With the reported workloads, du, find and rm became faster, but ls and cp became slower. Warm-cache access also slightly regressed. Cache state and operation mix matter. [byvfs18] Limitations: - The study does not establish a drop-in optimization for current kernels or a generally safe removal of VFS synchronization. (sources: [byvfs18], [linux-path]) Sources and caveats: - Historical prototype review, not a native benchmark or crash test. PDF SHA-256: 56f69592a6aa98701fb43c8203b7d064f18350b6382076d99bc561fa6cae984a. - Related persistence background: https://hesela.com/analyses/pmem-persistence-domains-dax/ Related terms: - [virtual-filesystem](https://hesela.dev/terms/virtual-filesystem/) - [dentry](https://hesela.dev/terms/dentry/) - [nova](https://hesela.dev/terms/nova/) Citations: - [byvfs18] Ying Wang, Dejun Jiang and Jin Xiong. Caching or Not: Rethinking Virtual File System for Non-Volatile Main Memory. HotStorage 2018, sections 3-4 and 6. https://files.usenix.org/s3fs-public/cdn/hotstorage18-paper-wang.pdf (accessed 2026-12-01) - [linux-path] Linux v6.16: pathname lookup, dcache responsibilities and concurrency. https://github.com/torvalds/linux/blob/038d61fd642278bab63ee8ef722c50d10ab01e8f/Documentation/filesystems/path-lookup.rst (accessed 2026-12-01) ### Byzantine failure URL: https://hesela.dev/terms/byzantine-failure/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: Byzantine fault, arbitrary failure Status: unknown Record updated: 2026-11-20 A Byzantine failure permits a component to deviate arbitrarily from its specified behavior, including sending conflicting information to different participants. Note: The model describes behavior, not intent: defects and malicious actions can both cause arbitrary deviations. Equivocation means conflicting statements about the same protocol decision; it is not a synonym for all Byzantine failures. [pbft-system] [pbft-algorithm] Authentication identifies an origin, not truth. A faulty replica can sign conflicting statements using its own key. PBFT's basic client accepts matching authenticated replies from f + 1 distinct replicas for the same request, with at most f faulty replicas. [pbft-system] [pbft-algorithm] PBFT's 3f + 1 configuration is model-specific. Safety and liveness have different assumptions; liveness depends on communication timing. Consistent execution cannot make an authorized client's bad write useful, and a faulty replica may disclose information. A missing reply alone does not establish a Byzantine fault. [pbft-properties] Signed-message agreement can use a different fault bound. SM(m) assumes reliable delivery, detectable message absence and unforgeable signatures. Signature forwarding exposes conflicting orders; signatures alone do not supply the timing assumptions. This synchronous agreement result is not a replacement replica count for PBFT. [signed-messages] Limitations: - A Byzantine-fault-tolerant protocol's guarantees depend on its stated faulty-replica bound, authentication and progress assumptions; the term itself does not certify a deployment. (sources: [pbft-system], [pbft-properties]) Sources and caveats: - Primary-source synthesis of a failure-model concept; not a new consensus protocol, cluster experiment or estimate of failure frequency. Related terms: - [fault-model](https://hesela.dev/terms/fault-model/) - [consensus](https://hesela.dev/terms/consensus/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) Citations: - [pbft-system] Castro and Liskov. Practical Byzantine Fault Tolerance. OSDI 1999, section 2: System Model. https://www.usenix.org/legacy/publications/library/proceedings/osdi99/full_papers/castro/castro_html/node2.html (accessed 2026-11-20) - [pbft-properties] Castro and Liskov. Practical Byzantine Fault Tolerance. OSDI 1999, section 3: Service Properties. https://static.usenix.org/publications/library/proceedings/osdi99/full_papers/castro/castro_html/node3.html (accessed 2026-11-20) - [pbft-algorithm] Castro and Liskov. Practical Byzantine Fault Tolerance. OSDI 1999, sections 4.1-4.4: client replies, normal operation and view changes. https://static.usenix.org/publications/library/proceedings/osdi99/full_papers/castro/castro_html/node4.html (accessed 2026-11-20) - [signed-messages] Lamport, Shostak and Pease. The Byzantine Generals Problem. TOPLAS 4(3), 382-401, 1982; sections 3, 4 and 6. https://lamport.azurewebsites.net/pubs/byz.pdf (accessed 2026-11-20) - [hesela-replies] Hesela. Storage timeouts: a signed reply can still be wrong. https://hesela.com/analyses/storage-timeouts-uncertain-completion/#byzantine-replies (accessed 2026-11-20) ### Bzip2 URL: https://hesela.dev/terms/bzip2/ Related analysis: https://hesela.com/analyses/bzip2-block-recovery-boundaries/ Also known as: .bz2 Status: shipping Record updated: 2026-10-25 Bzip2 is a lossless compression format with independently compressed blocks, per-block CRCs and a combined stream CRC. Note: Recovery: bzip2recover scans bit patterns and writes candidate one-block streams; bzip2 -t must validate each candidate. Successful splitting does not certify data or completeness. [manual] [source] Boundary damage: in a controlled four-block, 320000-byte fixture, a second-block marker bit left blocks 3 and 4 validated: 120039 bytes. An encoded-data bit instead left blocks 1, 3 and 4: 220020 bytes. A missing delimiter affected the preceding candidate too; this is scanner behavior, not irrecoverable loss. [study] Stream checks: changing only the final CRC made the original fail while recovered blocks exactly reconstructed the input. Recovery creates new per-candidate framing. Original expectations, not candidate checks alone, establish completeness. [source] [study] Preserve fragments and missing intervals separately. Candidate numbers and compressed-bit positions do not give original uncompressed offsets. Joining fragments across a gap changes higher-level records. [study] Block order: the combined CRC rotates a 32-bit accumulator by one bit and XORs each block CRC. Positions 32 blocks apart have equal weights. Exchanging blocks 1 and 33 in a designed bzip2 1.0.8 stream kept all stored CRCs and length unchanged; testing and decoding passed with different bytes. No individual block collision was needed. Shorter swaps are not universally guaranteed detection. [source] [order] Use a trusted whole-object digest or a manifest binding object, generation, position, length and digest. Unordered block hashes cannot establish order; authenticate the reference when tampering matters. [study] Sources and caveats: - Controlled synthetic observations on recorded bzip2/bzip2recover 1.0.8 binaries, not fault probabilities or a claim of irrecoverable loss. Pristine data supplied the original-byte map. - Runner: https://hesela.dev/research/bzip2-salvage.py ; results: https://hesela.dev/research/bzip2-salvage.json . Authored artifacts are CC0-1.0. - Order supplement: https://hesela.dev/research/bzip2-block-order/probe.py ; source hashes: https://hesela.dev/research/bzip2-block-order/sources.json . Two retained bzip2 1.0.8 builds are not independent implementations; current system replay agrees. No field frequency or global novelty claim. Related terms: - [block-independent-compression](https://hesela.dev/terms/block-independent-compression/) - [cyclic-redundancy-check](https://hesela.dev/terms/cyclic-redundancy-check/) - [gzip](https://hesela.dev/terms/gzip/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [restore-test](https://hesela.dev/terms/restore-test/) - [move-to-front](https://hesela.dev/terms/move-to-front/) Citations: - [manual] Julian Seward. bzip2 and libbzip2 1.0.8: sections 2.3, 2.5 and 2.6 (recovery). https://sourceware.org/bzip2/manual/manual.html (accessed 2026-10-20) - [source] bzip2 1.0.8 official source release: bzip2recover.c, bzlib.c and compress.c. https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz (accessed 2026-10-20) - [study] Hesela: six bzip2 corruption fixtures, validated fragments and missing intervals. https://hesela.com/analyses/bzip2-block-recovery-boundaries/ (accessed 2026-10-20) - [order] Hesela: six designed native bzip2 block-order controls, source-visible rotate/XOR recurrence and exact-byte oracle. https://hesela.dev/research/bzip2-block-order/results-system.json (accessed 2026-10-25) ### BzTree URL: https://hesela.dev/terms/bztree/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Status: research Record updated: 2026-11-13 BzTree is a latch-free persistent B+ tree that uses PMwCAS for recoverable multi-word state changes. Note: Persistent allocation and descriptor recovery still matter. Allocation epochs distinguish unfinished in-node reservations after restart; consolidation later reclaims that space. Database transaction concurrency control remains outside the index. [bztree-paper] The inspected SFU implementation requests dependencies from floating master branches. Pinning its root commit alone does not reconstruct a historical build. [bztree-build] Limitations: - The later PMDK implementation and original evaluation are different experimental systems; their results are not a controlled cross-study speedup. (sources: [bztree-evaluation]) Sources and caveats: - Source review and a replayed CMake configuration-fragment probe; no full index build, runtime experiment or power-cut test. Related terms: - [pmwcas](https://hesela.dev/terms/pmwcas/) - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) - [fptree](https://hesela.dev/terms/fptree/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) Citations: - [bztree-paper] Arulraj et al. BzTree: A High-Performance Latch-free Range Index for Non-Volatile Memory. PVLDB 11(5), 553-565, 2018, sections 3.1 and 6. https://www.vldb.org/pvldb/vol11/p553-arulraj.pdf (accessed 2026-11-13) - [bztree-evaluation] Lersch et al. Evaluating Persistent Memory Range Indexes. PVLDB 13(4), 574-587, 2019, sections 5.1-5.2. https://www.vldb.org/pvldb/vol13/p574-lersch.pdf (accessed 2026-11-13) - [bztree-build] SFU BzTree, revision b2e7fcb: backend selection and floating dependency revisions. https://github.com/sfu-dis/bztree/blob/b2e7fcb5c70ac79b577a1d0e5d30a4b6207d6464/CMakeLists.txt (accessed 2026-11-13) - [hesela-pmem] Hesela: BzTree recovery and reproducible backend-selection evidence. https://hesela.com/analyses/pmem-persistence-domains-dax/#bztree-recovery (accessed 2026-11-13) ### C-Miner URL: https://hesela.dev/terms/c-miner/ Status: research Record updated: 2026-11-30 C-Miner discovers recurring block-access subsequences to guide storage prefetching and data placement. Note: Mining: Closed frequent sequences retain patterns without a supersequence of equal support. C-Miner limits access gaps and derives prediction rules from those patterns; frequency and confidence are separate filters. [cminer04] Window boundaries: The evaluated preprocessing cuts a trace into nonoverlapping windows. Pairs crossing a cut disappear from within-window mining. The paper's loss estimate assumes uniformly located occurrences; it is not a guarantee for every trace. [cminer04] Worked example: In a synthetic 31-access trace, three adjacent A-B pairs straddle cuts at positions 10, 20 and 30. All three vanish from 10-access windows. Moving the cuts by one access retains all three. Across ten equally weighted cut phases, 27 of 30 pair-phase instances survive. This enumerates cut positions, not measured I/O performance. [window-model] Evaluation: DiskSim and CacheSim replay used earlier trace portions for mining and later portions for testing, keeping learned rules fixed. These were HDD-oriented simulations, not a deployed SSD prefetcher. [cminer04] Sources and caveats: - Primary-paper review plus a separate synthetic counting example; no C-Miner implementation, trace replay or performance replication. Related terms: - [quickmine](https://hesela.dev/terms/quickmine/) - [diskseen](https://hesela.dev/terms/diskseen/) - [table-based-prefetching](https://hesela.dev/terms/table-based-prefetching/) - [mithril](https://hesela.dev/terms/mithril/) Citations: - [cminer04] Li, Chen, Srinivasan and Zhou. C-Miner: Mining Block Correlations in Storage Systems. FAST 2004, sections 3-5 and 7. https://www.usenix.org/legacy/events/fast04/tech/full_papers/li/li_html/ (accessed 2026-11-30) - [window-model] Hesela: synthetic window-boundary enumeration, executable model and result. https://hesela.dev/research/correlation-windows/result.json (accessed 2026-11-30) - [window-code] Hesela: window-boundary model source (CC0). https://hesela.dev/research/correlation-windows/model.mjs (accessed 2026-11-30) - [window-tests] Hesela: window-boundary tests with independent exhaustive oracle (CC0). https://hesela.dev/research/correlation-windows/model.test.mjs (accessed 2026-11-30) ### Cache admission URL: https://hesela.dev/terms/cache-admission/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: cache admission policy Status: research Record updated: 2026-11-29 Cache admission is the decision to retain an incoming item in a cache or cache segment rather than bypass it. Note: Admission and eviction answer different questions: whether to keep the candidate, and which resident to remove if space is needed. A miss still needs service when admission is rejected. [tinylfu] LRU-K is a replacement ranking, not a cache-bypass rule. Its original schematic miss path still fetches the requested page into a buffer. Retaining reference history after eviction is separate from retaining the payload. [lruk] S3-FIFO separates probationary retention from admission to the main segment. Its ghost queue stores identities, not data, so a ghost match changes insertion destination without serving the requested payload. [s3fifo] Admission can also occur on a write, as in CacheSack's AdmitOnWrite policy. [cachesack] With variable-size objects, rejecting a candidate need not preserve residents. The paper's Queue of Victims policy can evict some items before a later comparison rejects admission. [size-aware] Constructed example: a full three-unit cache holds A, B, C, each size one, with frequency estimates 2, 8, 1. Candidate X needs two units and has estimate 5. IV admits X and removes A and B; QV removes A but rejects X; AV rejects X without removing residents. These are exact model transitions, not hit-rate measurements. [victim-replay] Related terms: - [write-around-cache](https://hesela.dev/terms/write-around-cache/) - [tinylfu](https://hesela.dev/terms/tinylfu/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [two-queue-replacement](https://hesela.dev/terms/two-queue-replacement/) - [lru-k-replacement](https://hesela.dev/terms/lru-k-replacement/) - [count-min-sketch](https://hesela.dev/terms/count-min-sketch/) - [s3-fifo](https://hesela.dev/terms/s3-fifo/) - [cachesack](https://hesela.dev/terms/cachesack/) - [baleen](https://hesela.dev/terms/baleen/) - [adaptsize](https://hesela.dev/terms/adaptsize/) - [sievestore](https://hesela.dev/terms/sievestore/) - [lazy-adaptive-replacement-cache](https://hesela.dev/terms/lazy-adaptive-replacement-cache/) - [marc](https://hesela.dev/terms/marc/) - [fomo-cache-admission](https://hesela.dev/terms/fomo-cache-admission/) Citations: - [tinylfu] Einziger, Friedman and Manes. TinyLFU: A Highly Efficient Cache Admission Policy. arXiv:1512.00727v2 (2015), sections 3-5. https://arxiv.org/pdf/1512.00727v2 (accessed 2026-10-16) - [lruk] O'Neil, O'Neil and Weikum. The LRU-K Page Replacement Algorithm for Database Disk Buffering. SIGMOD 1993, pp. 297-306, sections 2-2.1. https://www.cs.cmu.edu/~christos/courses/721-resources/p297-o_neil.pdf (accessed 2026-10-31) - [s3fifo] Yang, Zhang, Qiu, Yue and Rashmi. FIFO Queues are All You Need for Cache Eviction. SOSP 2023, sections 4.1-4.2 and 5.2; DOI 10.1145/3600006.3613147. https://jasony.me/publication/sosp23-s3fifo.pdf (accessed 2026-11-07) - [cachesack] Yang et al. CacheSack: Admission Optimization for Google Datacenter Flash Caches. ATC 2022, pp. 1021-1036; sections 3.4, 5, 7.1 and Appendix A. https://www.usenix.org/system/files/atc22-yang-tzu-wei.pdf (accessed 2026-11-12) - [size-aware] Einziger, Eytan, Friedman and Manes. Lightweight Robust Size Aware Cache Management. arXiv:2105.08770v2 (2021), sections 4.1-4.3.1, Algorithms 2-4. https://arxiv.org/pdf/2105.08770v2 (accessed 2026-11-18) - [victim-replay] Hesela. Cache victim transitions: constructed examples, assumptions and runnable tests. https://hesela.dev/research/cache-victim-transitions/README.md (accessed 2026-11-18) ### Storage cache barrier URL: https://hesela.dev/terms/cache-barrier/ Also known as: cache barrier, barrier write Status: research Record updated: 2026-11-13 A storage cache barrier constrains persistence order across groups of writes without itself requiring those writes to be durable when it returns. Note: BarrierFS combines device support with host scheduling and dispatch changes; fbarrier() separates ordered recovery from durable completion. Its barrier flag closes an epoch, while writes inside that epoch may be reordered. Treat these as research-stack interfaces, not portable replacements for fsync(). [barrier-fast18] Linux REQ_PREFLUSH instead persists previously completed writes before the accompanying I/O; REQ_FUA makes its own write persistent before completion. [linux-cache] Hesela's four-record illustration enumerates possible states, not crash probabilities. Across epochs [A,B] then [C,D], durable D implies A and B, but need not imply C. The model excludes torn writes, overwrites and media faults. [hesela-barrier] Advantages: - Separating order from completion permits deferred persistence between durability boundaries. (sources: [barrier-fast18]) Limitations: - An ordering guarantee alone cannot justify a durable acknowledgement. (sources: [barrier-fast18]) - Do not infer support from a generic SSD label or substitute the research API into an unchanged stack. (sources: [barrier-fast18]) Sources and caveats: - Source synthesis; no hardware experiment or performance replication. Section 3.2 has an apparent before/after wording reversal; the interpretation follows sections 3.4 and 4.1-4.3, not that isolated sentence. No author-issued erratum is claimed. Related terms: - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [cache-flush](https://hesela.dev/terms/cache-flush/) Citations: - [barrier-fast18] Youjip Won et al. Barrier-Enabled IO Stack for Flash Storage. FAST 2018, pp. 211-226; sections 3.2, 3.4 and 4.1-4.3. https://www.usenix.org/system/files/conference/fast18/fast18-won.pdf (accessed 2026-11-13) - [linux-cache] Linux kernel documentation: Explicit volatile write back cache control. https://docs.kernel.org/block/writeback_cache_control.html (accessed 2026-11-13) - [hesela-barrier] Hesela: cache-barrier epochs and durable completion, with a constructed enumeration. https://hesela.com/analyses/nfs-stable-writes-flush-fua/#cache-barrier (accessed 2026-11-13) ### Cache cost class URL: https://hesela.dev/terms/cache-cost-class/ Also known as: Shared cache miss-cost class Status: research Record updated: 2026-11-19 A cache cost class groups objects that share an estimate of the cost of fetching or recomputing a missing value. Note: Cost-aware hyperbolic caching multiplies access frequency by estimated miss cost. A shared class estimate can change the priority of resident members without fetching each one again. Objects reference the class and use its current estimate when evaluated. [paper] Per-object measurements can favor an accidentally slow fill; retaining that object then limits opportunities to remeasure it. Pooling comparable fills can reduce noise, but grouping unrelated costs can mislead the policy. [paper] Constructed example: equal-size residents A and B have frequencies 2 and 1 accesses/s and class costs 8 and 20 ms/fill, giving scores 16 and 20 ms/s. Updating A's class with a 32 ms fill and new-sample weight 1/4 gives 14 ms/fill and score 28 ms/s. The lower-score candidate changes from A to B without either resident being accessed. The score is an estimate, not measured saved time. [example] On Unix, the pinned prototype combines recorded SQL durations with process CPU time for its cost signal; it separately records wall-clock elapsed time. Its adapter converts the former to an integer after multiplying by 100 and sends a class identifier based on the resolved URL name. These signals are not interchangeable latency measurements. [middleware] [adapter] [clock] Limitations: - In the paper's Django-Wiki experiment, class-aware caching improved on per-object cost estimates but still underperformed cost-oblivious hyperbolic caching. Cost awareness is workload-dependent. (sources: [paper]) Sources and caveats: - Primary-paper and pinned-code review, plus constructed exact arithmetic. No legacy middleware execution or reproduction of application throughput. - The illustrative smoothing weight is chosen for explanation, not extracted from the prototype. Frequency, object size and resident identity are held fixed while the class estimate changes. Related terms: - [hyperbolic-caching](https://hesela.dev/terms/hyperbolic-caching/) - [latency-storage](https://hesela.dev/terms/latency-storage/) Citations: - [paper] Blankstein, Sen and Freedman. Hyperbolic Caching. USENIX ATC 2017, pp. 499-511, sections 3.1-3.2 and 5.1.4, Figure 7. https://www.usenix.org/system/files/conference/atc17/atc17-blankstein.pdf (accessed 2026-11-19) - [middleware] Author prototype: timing boundaries and get_url_name; commit 884c466c311bb5b9fbdd09791d829b04032f3947. https://github.com/kantai/hyperbolic-caching/blob/884c466c311bb5b9fbdd09791d829b04032f3947/django-middleware/hyperbolic_middleware.py (accessed 2026-11-19) - [adapter] Author prototype: HyperbolicCache.set cost conversion and class mapping; same pinned commit. https://github.com/kantai/hyperbolic-caching/blob/884c466c311bb5b9fbdd09791d829b04032f3947/django-middleware/hyperbolic_cache.py (accessed 2026-11-19) - [clock] CPython 2.7.13 documentation: time.clock has processor-time semantics on Unix and elapsed wall-time semantics on Windows. https://github.com/python/cpython/blob/v2.7.13/Doc/library/time.rst#L126-L140 (accessed 2026-11-19) - [example] Hesela: exact shared-cost priority calculation, units, assumptions and executable model. https://hesela.dev/research/cache-cost-class/results.json (accessed 2026-11-19) - [code] Hesela: standalone exact-rational calculation and input checks. https://hesela.dev/research/cache-cost-class/model.py (accessed 2026-11-19) ### cache_ext URL: https://hesela.dev/terms/cache-ext/ Also known as: cachebpf, Custom Page Cache Eviction Policies with eBPF Status: research Record updated: 2026-11-09 cache_ext is a research framework for application-specific Linux page-cache eviction and admission policies implemented with eBPF. Note: Policy functions operate on eviction lists and use application information to choose cache contents. Policies are scoped to cgroups; this is not a separate private copy of every file page. [cache-ext-paper] The artifact requires a modified Linux 6.6.8 kernel, supporting BPF tools and application components. Avoiding further kernel edits when writing a policy does not remove that prerequisite. This artifact is not an installation recipe for an unmodified distribution kernel. [cache-ext-artifact] The 2026 presentation still identifies live policy switching and cgroup lifetime management as open questions. Policy isolation is not a guarantee of latency, fairness or durable writes. [cache-ext-talk] Advantages: - Lets applications supply information about foreground reads and background scans to cache policy. (sources: [cache-ext-talk]) Limitations: - Reported gains depend on the selected workload and policy, not a universal cache speedup. (sources: [cache-ext-talk]) - Reproducing the artifact needs its patched-kernel environment. (sources: [cache-ext-artifact]) Sources and caveats: - Source synthesis, not a Hesela kernel benchmark or reproduction of the authors' experiment. - The February 2025 preprint used cachebpf; the SOSP 2025 publication and artifact use cache_ext. One identity retains both search names. - Pinned artifact commit 6c3b8a0df790c3182a4f6cab33f3e4db23d6f813. No kernel or benchmark installation was performed. Related terms: - [page-cache](https://hesela.dev/terms/page-cache/) - [programmable-page-cache](https://hesela.dev/terms/programmable-page-cache/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [s3-fifo](https://hesela.dev/terms/s3-fifo/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) Citations: - [cache-ext-paper] Zussman et al. cache_ext: Customizing the Page Cache with eBPF. SOSP 2025, pp. 462-478; sections 4-6. DOI 10.1145/3731569.3764820. https://www.asafcidon.com/uploads/5/9/7/0/59701649/cache_ext.pdf (accessed 2026-11-09) - [cache-ext-artifact] cache_ext artifact README at commit 6c3b8a0: patched Linux 6.6.8, components and reproduction setup. https://github.com/cache-ext/cache_ext/blob/6c3b8a0df790c3182a4f6cab33f3e4db23d6f813/README.md (accessed 2026-11-09) - [cache-ext-talk] Cheng et al. cache_ext, LSF/MM/BPF 2026 slides: per-cgroup hooks, workload separation and open integration questions. https://talzussman.com/slides/cache_ext_lsfmm2026.pdf (accessed 2026-11-09) - [hesela-cache-ext] Hesela: cache_ext prerequisites and the GET/SCAN trade-off. https://hesela.com/analyses/sieve-cache-eviction-traces/#cache-ext (accessed 2026-11-09) ### Storage cache flush URL: https://hesela.dev/terms/cache-flush/ Also known as: write cache flush, REQ_PREFLUSH Status: shipping Record updated: 2026-11-29 A storage cache flush requests persistence of writes buffered in the addressed storage stack, with its coverage and ordering defined by that interface. Note: In the Linux block layer, REQ_PREFLUSH makes previously completed writes persistent before an accompanying I/O starts; it can also be issued without a data payload. REQ_FUA instead covers persistence of the write carrying FUA before its completion, and both flags may be combined. This block-level operation does not submit data still held only in an application buffer or establish multi-file transaction atomicity. Device-mapper layers must propagate the required persistence semantics. SCSI SYNCHRONIZE CACHE with IMMED=1 acknowledges validation before synchronization completes. SYNC_PROG=00 offers no pollable progress sense; silence is not completion evidence. Modes 01 and 10 report progress with NO SENSE and NOT READY respectively; mode 10 also rejects commands needing occupied resources, except specified discovery commands. Unsupported IMMED=1 is rejected. [scsi-immed-manual] In Hesela's eight isolated Linux v6.12 function controls, FILEIO and IBLOCK each returned GOOD before an injected backend error when IMMED was set; non-immediate error controls reported CHECK CONDITION. All helper return values were zero. These are stubbed function observations, not device I/O, later deferred-error reporting or crash-survival tests. The separate sd_sync_cache initiator helper leaves IMMED clear. [scsi-immed-fileio] [scsi-immed-iblock] [scsi-immed-replay] [scsi-immed-sd] For SYNCHRONIZE CACHE (10), zero NUMBER OF BLOCKS covers the supplied LBA through the medium's end, not no blocks. Linux v6.12 IBLOCK flushes the whole cache, so a narrow requested range does not imply less backend work. [scsi-immed-manual] [scsi-immed-iblock] Advantages: - Provides a persistence boundary for earlier completed writes in a stack that honors the request. (sources: [linux-cache]) Limitations: - A successful lower-layer flush does not certify an application's complete recovery protocol. (sources: [linux-cache], [hesela-stability]) - Early acknowledgement and a quiet progress channel do not certify completed synchronization; IMMED and the device's supported reporting mode matter. (sources: [scsi-immed-manual]) - SYNCHRONIZE CACHE may complete with data in non-volatile cache, not yet on the medium, and does not require cache eviction. (sources: [scsi-immed-manual]) Sources and caveats: - The SYNC_PROG mode comparison follows Seagate Rev. L (2020), section 3.55 and Table 215; it is not a measurement of a drive default. [scsi-immed-manual] - Range semantics are a manual/source comparison, not an additional device experiment or latency measurement. [scsi-immed-manual] [scsi-immed-iblock] Related terms: - [force-unit-access](https://hesela.dev/terms/force-unit-access/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [write-through-cache](https://hesela.dev/terms/write-through-cache/) - [fsync](https://hesela.dev/terms/fsync/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [scsi-deferred-error](https://hesela.dev/terms/scsi-deferred-error/) - [nvme-volatile-write-cache](https://hesela.dev/terms/nvme-volatile-write-cache/) - [cache-barrier](https://hesela.dev/terms/cache-barrier/) - [clwb](https://hesela.dev/terms/clwb/) - [clflushopt](https://hesela.dev/terms/clflushopt/) - [horae](https://hesela.dev/terms/horae/) Citations: - [linux-cache] Linux kernel documentation. Explicit volatile write back cache control: REQ_PREFLUSH and REQ_FUA. https://docs.kernel.org/block/writeback_cache_control.html (accessed 2026-10-12) - [dm-cache] Linux kernel documentation. Device-mapper cache: operating modes and on-disk metadata. https://docs.kernel.org/admin-guide/device-mapper/cache.html (accessed 2026-10-12) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-12) - [scsi-immed-manual] Seagate SCSI Commands Reference Manual Rev. L (November 2020), section 3.55, Tables 214-215: IMMED and SYNC_PROG. https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068L.pdf#page=241 (accessed 2026-11-07) - [scsi-immed-fileio] Linux v6.12 pinned source: fd_execute_sync_cache, FILEIO status and fsync ordering. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/target/target_core_file.c#L382 (accessed 2026-11-04) - [scsi-immed-iblock] Linux v6.12 pinned source: iblock_end_io_flush and iblock_execute_sync_cache. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/target/target_core_iblock.c#L398 (accessed 2026-11-05) - [scsi-immed-sd] Linux v6.12 pinned source: sd_sync_cache leaves IMMED clear. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/scsi/sd.c#L1778 (accessed 2026-11-04) - [scsi-immed-replay] Hesela: eight isolated-function SCSI IMMED observations; injected outcomes, not device I/O. https://hesela.dev/research/scsi-immed/observations.json (accessed 2026-11-04) ### Cache inclusion property URL: https://hesela.dev/terms/cache-inclusion-property/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: Stack property, Stack inclusion property Status: research Record updated: 2026-11-19 The cache inclusion property requires the resident set at a smaller capacity to be contained in that at a larger capacity after each shared request prefix under the same replacement policy. Note: Fully associative, equal-size demand LRU has this property, so a hit at the smaller capacity remains a hit at the larger one. This is a capacity-comparison property, not a claim that a physical multi-level cache hierarchy is inclusive. [counter-stacks] Passing a finite trace sweep does not prove the property for an arbitrary policy. [hesela] SIEVE violates inclusion in a concrete replay. After AABBCCDE, three slots hold C,D,E while four hold A,B,C,E. A following D hits only in the smaller cache and gives five versus six total misses over AABBCCDED. [capacity-replay] Demand LRU's inclusion property does not automatically survive composition with asynchronous prefetching. Gill and Modha show a sequential-prefetch policy whose miss count can increase with cache space, and repair its ordering of prefetched tracks. This is not a counterexample to demand LRU itself. [sarc-order] Inclusion across capacities and optimality at one capacity answer different questions. The linked finite-state example separately fixes object sizes, capacity and admission before comparing a heuristic with an exact minimum. [oracle] The same-stream condition matters in a hierarchy. In the constructed read trace ABCABDEA, increasing the upper LRU cache from two to three equal-size slots while keeping an independent lower LRU at four slots raises backend reads from five to six. Upper hits hide recency updates from the lower cache, which sees a different sequence. Each standalone LRU still has inclusion on a fixed stream. The model starts empty, admits every miss and has no back-invalidation, cross-level pinning or prefetch. [filtering-model] Related terms: - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [fifo-replacement](https://hesela.dev/terms/fifo-replacement/) - [belady-anomaly](https://hesela.dev/terms/belady-anomaly/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [sarc](https://hesela.dev/terms/sarc/) - [farthest-in-future-replacement](https://hesela.dev/terms/farthest-in-future-replacement/) Citations: - [counter-stacks] Wires et al. Characterizing Storage Workloads with Counter Stacks. OSDI 2014 author slides, pages 20-22: inclusion and LRU stack algorithms. https://www.usenix.org/sites/default/files/conference/protected-files/osdi14_slides_wires.pdf (accessed 2026-10-17) - [hesela] Hesela: finite cache-capacity replay, with full traces and assumptions. https://hesela.com/analyses/sieve-cache-eviction-traces/#capacity (accessed 2026-10-17) - [capacity-replay] Hesela: SIEVE capacity counterexample, pinned library replay and per-request state trace; constructed example, not device timing. https://hesela.dev/research/sieve-capacity.json (accessed 2026-10-19) - [sarc-order] Gill and Modha. SARC, USENIX ATC 2005, section II-C and Figure 1: prefetch ordering and loss of the stack property. https://www.usenix.org/legacy/events/usenix05/tech/general/full_papers/gill/gill_html/node10.html (accessed 2026-10-30) - [oracle] Hesela: variable-size offline cache bounds and admission controls; constructed exact calculation. https://hesela.com/analyses/sieve-cache-eviction-traces/#offline-bound (accessed 2026-11-06) - [filtering-model] Hesela. Two independently managed LRU caches: exact constructed trace, contract, code and controls; not a device measurement. https://hesela.dev/research/cache-filtering/README.md (accessed 2026-11-19) ### Cache-oblivious algorithm URL: https://hesela.dev/terms/cache-oblivious-algorithm/ Also known as: Cache-oblivious algorithms Status: research Record updated: 2026-11-21 A cache-oblivious algorithm does not use cache capacity or transfer-block size as tuning parameters in its computation or data layout. Note: Its analysis may still depend on those parameters. The ideal-cache model counts transfers between two memory levels, with a fully associative cache and optimal offline replacement. The name alone does not imply an efficient algorithm. [frigo-cache] Recursive layouts can expose locality at several scales. Bender, Demaine and Farach-Colton give dynamic search trees whose transfer bounds do not require the algorithm to know block size. Their first construction matches the classical B-tree search bound; its update guarantee is amortized, whereas the classical comparison is worst-case. [bender-cache] Frigo et al., Lemma 12, bounds LRU misses by twice the misses of an optimal cache of half its capacity, not the same capacity. [frigo-cache] Sources and caveats: - Primary-source terminology and theoretical guarantees; no performance measurement or implementation replication. Related terms: - [b-tree](https://hesela.dev/terms/b-tree/) - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) Citations: - [frigo-cache] Frigo, Leiserson, Prokop and Ramachandran. Cache-Oblivious Algorithms. FOCS 1999, pp. 285-297; sections 1 and 6, Lemma 12 and Corollary 13. https://www.cs.cornell.edu/courses/cs612/2006sp/papers/frigo99.pdf (accessed 2026-11-21) - [bender-cache] Bender, Demaine and Farach-Colton. Cache-Oblivious B-Trees. SICOMP 35(2), 2005, pp. 341-358, sections 1-2. DOI 10.1137/S0097539701389956. https://erikdemaine.org/papers/CacheObliviousBTrees_SICOMP/paper.pdf (accessed 2026-11-21) - [hesela-cache-bounds] Hesela: cache-oblivious bounds and the LRU capacity comparison. https://hesela.com/analyses/b-epsilon-trees-buffered-updates/#cache-oblivious (accessed 2026-11-21) ### Cache pollution URL: https://hesela.dev/terms/cache-pollution/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: cache scan pollution Status: research Record updated: 2026-10-31 Cache pollution occurs when cached data displaces other data whose retention would provide greater benefit to the workload. Note: A scan can cause misses after the scan itself has finished. [car] Reuse count alone does not define benefit. Prefetched data can be useful on its first demand access. Eviction before that use is prefetch wastage. [amp] A scan is any sequence of one-time requests, and under LRU it can displace pages with lasting value. [car] Two quick successive hits, called correlated references, do not prove long-term utility, so promoting a page after two hits can still pollute the cache, and frequency-based policies can be polluted by stale pages with high counts unless the counts are periodically rescaled. [car] [arc] Sequential scans are a common cause of noticeably worse interactive response times. [lirs] In a Zipf workload where one third of the references came from scans that never repeat a page, a two-queue policy kept about 70% of its no-scan hit rate and LRU about 60% of its own. [twoq] A page cache can admit new pages to an inactive list and promote only pages accessed again there, so one-time pages pass through without reaching the protected list. [ws] Limitations: - In 2Q, protection depends on admission history and workload as well as resident capacity; history-size tuning can help some traces and hurt others. (sources: [twoq], [miniature]) Sources and caveats: - The CAR and ARC papers have an author at an industrial research laboratory, the 2Q paper has one author also listed at a software company, and the LIRS paper is university work read from the author-hosted technical report TR-02-6. - The 70% and 60% figures come from the 2Q paper simulated Zipf workload, not from a production trace. - A constructed exact-LRU simulation (100-entry cache, 75-entry hot set, Python, fixed seeds) lost 25 hot entries to a 50-entry scan, 50 - 25 free slots; a two-list variant with a 75-entry active list lost none. - The kernel behaviour is taken from the v6.12 source comment. Related terms: - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [clock-replacement](https://hesela.dev/terms/clock-replacement/) - [prefetch-wastage](https://hesela.dev/terms/prefetch-wastage/) - [prefetch-trigger-distance](https://hesela.dev/terms/prefetch-trigger-distance/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [page-cache](https://hesela.dev/terms/page-cache/) - [working-set](https://hesela.dev/terms/working-set/) - [locality-of-reference](https://hesela.dev/terms/locality-of-reference/) - [two-queue-replacement](https://hesela.dev/terms/two-queue-replacement/) - [dulo](https://hesela.dev/terms/dulo/) Citations: - [car] Sorav Bansal and Dharmendra S. Modha. CAR: Clock with Adaptive Replacement. FAST 2004; sections III-V. https://www.usenix.org/legacy/events/fast04/tech/full_papers/bansal/bansal.pdf (accessed 2026-10-15) - [hesela] Hesela: mapping caches, scan phases and cache-history semantics (constructed examples). https://hesela.com/analyses/ssd-mapping-cache-hmb/#scan-pollution (accessed 2026-10-15) - [amp] Binny S. Gill and Luis Angel D. Bathen. AMP: Adaptive Multi-stream Prefetching in a Shared Cache. FAST 2007, pp. 185-198; sections II-VI. https://www.usenix.org/legacy/event/fast07/tech/full_papers/gill/gill.pdf (accessed 2026-10-18) - [arc] Megiddo and Modha. ARC: A Self-Tuning, Low Overhead Replacement Cache. USENIX FAST 2003, pp. 115-130. https://www.usenix.org/event/fast03/tech/full_papers/megiddo/megiddo.pdf (accessed 2026-10-16) - [twoq] Johnson and Shasha. 2Q: A Low Overhead High Performance Buffer Management Replacement Algorithm. VLDB 1994, pp. 439-450. https://www.vldb.org/conf/1994/P439.PDF (accessed 2026-10-16) - [lirs] Jiang and Zhang. LIRS: An Efficient Low Inter-reference Recency Set Replacement Policy to Improve Buffer Cache Performance. SIGMETRICS 2002. https://xiaodongzhang1911.github.io/Zhang-papers/TR-02-6.pdf (accessed 2026-10-16) - [ws] Linux v6.12 mm/workingset.c, leading comment on double CLOCK lists and shadow entries. https://github.com/torvalds/linux/blob/v6.12/mm/workingset.c (accessed 2026-10-16) - [miniature] Waldspurger, Saemundsson, Ahmad and Park. Cache Modeling and Optimization using Miniature Simulations. USENIX ATC 2017, sections 2 and 4.2. https://www.usenix.org/system/files/conference/atc17/atc17-waldspurger.pdf (accessed 2026-10-31) ### Cache stampede URL: https://hesela.dev/terms/cache-stampede/ Related analysis: https://hesela.com/analyses/cache-stampede-early-refresh/ Also known as: Cache miss storm, Dog-piling Status: research Record updated: 2026-11-20 A cache stampede occurs when overlapping requests for one unavailable cached value independently start redundant work to reconstruct it. Note: Triggers: Expiration, eviction or invalidation can expose a hot key to concurrent misses. A high aggregate hit ratio does not describe the concentration of backend work around that event. [xfetch-paper] Coordination: A key-bound refill token can authorize cache publication and reject a stale fill after invalidation. Regulating token issuance also suppresses repeated backend fetches. Serving an older value is a separate application freshness decision. [memcache-paper] Sources and caveats: - Primary-source review, not a reproduction of the systems' throughput or workload measurements. Related terms: - [xfetch](https://hesela.dev/terms/xfetch/) - [request-coalescing](https://hesela.dev/terms/request-coalescing/) - [delayed-hit](https://hesela.dev/terms/delayed-hit/) - [segcache](https://hesela.dev/terms/segcache/) Citations: - [xfetch-paper] Vattani, Chierichetti and Lowenstein. Optimal Probabilistic Cache Stampede Prevention. PVLDB 8(8), 886-897 (2015), sections 2-5. https://cseweb.ucsd.edu/~avattani/papers/cache_stampede.pdf (accessed 2026-11-20) - [memcache-paper] Nishtala et al. Scaling Memcache at Facebook. NSDI 2013, pp. 385-398, section 3.2.1. https://www.usenix.org/system/files/conference/nsdi13/nsdi13-final170_update.pdf (accessed 2026-11-20) ### CacheSack URL: https://hesela.dev/terms/cachesack/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Status: research Record updated: 2026-11-29 CacheSack is a flash-cache admission optimizer that assigns workload categories policy mixtures using estimated disk-read cost, flash writes and cache occupancy. Note: Its four choices are NeverAdmit, AdmitOnSecondMiss, AdmitOnMiss and AdmitOnWrite; the last also admits read misses. Policy mixtures are optimized under a capacity bound using an approximate retention-time model. [paper] A lower-tier RAM buffer can serve a flash miss. Counting flash hits alone therefore misses the disk-read objective. [paper] Policy fractions describe fractions of blocks in a category, not per-request admission probabilities. The reported five-minute training windows can use older access history retained by the ghost cache. The paper gives a sufficient condition: ghost-cache TTL exceeds the optimal modeled retention time, rather than every candidate horizon. Relative cost weights are not disclosed, limiting independent reconstruction of the production cost objective. [paper] Sources and caveats: - Source review; the linked counterexample is constructed accounting, not a CacheSack execution or reproduction of the production evaluation. Related terms: - [cache-admission](https://hesela.dev/terms/cache-admission/) - [flashield](https://hesela.dev/terms/flashield/) - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [lazy-adaptive-replacement-cache](https://hesela.dev/terms/lazy-adaptive-replacement-cache/) Citations: - [paper] Yang et al. CacheSack: Admission Optimization for Google Datacenter Flash Caches. ATC 2022, pp. 1021-1036; sections 3.4, 5, 6.3-6.5, 7.1 and Appendix A. https://www.usenix.org/system/files/atc22-yang-tzu-wei.pdf (accessed 2026-11-12) - [hesela] Hesela. Layered-cache read accounting. https://hesela.com/analyses/sieve-cache-eviction-traces/#cachesack-accounting (accessed 2026-11-12) ### cachestat URL: https://hesela.dev/terms/cachestat/ Also known as: cachestat(2), file page-cache statistics Status: shipping Record updated: 2026-11-06 cachestat is a Linux system call that samples cached, dirty, writeback and eviction-related page counts for a file range. Note: Available since Linux 6.5, the interface takes a file descriptor, byte offset and length, and flags set to zero. Its counts can become stale before return; hugetlbfs is unsupported. [cachestat-man] Cached, dirty and writeback are overlapping categories. Linux v6.16 increments nr_cache before independently inspecting dirty and writeback marks. Eviction counters sample retained metadata rather than a lifetime total; recently evicted uses a working-set test, not a fixed number of elapsed seconds. [filemap-616] For positive, non-overflowing lengths, the v6.8 implementation selects pages through floor((off + len - 1) / page_size). A zero length selects the suffix, not an empty range. Five two-page, memory-locked trials on Linux 6.8.0-146-generic observed one cached page for offset 4095 and length 1, but two for length 2, with 4096-byte pages. These are bounded API observations, not cache-hit ratios or a workload benchmark. [filemap-68] [range-probe] Linux v6.16 permits disclosure for a writable descriptor, inode ownership or relevant capability, or a successful file write-permission check; otherwise it returns EPERM. The existing mincore interface can instead mask information with all-one bytes. [filemap-616] [mincore-source] The NDSS 2026 study Eviction Notice reports that cachestat disclosure was restricted in February 2025 (CVE-2025-21691); its artifact appendix says the mitigated syscall no longer supports the paper's cross-user scenario. Check distribution backports, not only the kernel release label. The self-owned-file observations above do not assess cross-user exposure. [eviction-notice] Advantages: - Reports file-range dirty and writeback counts without first creating a user-space mapping. (sources: [filemap-616]) Limitations: - Zero dirty pages do not certify an application's persistence protocol or replace checking synchronization errors. - A sample cannot establish which process accessed a shared file or how many accesses hit its cached pages. Sources and caveats: - API manual and version-pinned v6.8/v6.16 implementations reviewed 2026-11-06; the manual's inclusive-looking range notation differs from the actual len - 1 endpoint. - Native experiment uses fresh two-page files and mlock; all five trials and error controls are preserved. Filesystem magic 0xef53 does not identify an ext-family version. - No permission-bypass, side-channel, eviction, race, performance or power-loss experiment. Current permission behavior is sourced to v6.16, not inferred from the older test kernel. Related terms: - [page-cache](https://hesela.dev/terms/page-cache/) - [mincore](https://hesela.dev/terms/mincore/) - [process-io-accounting](https://hesela.dev/terms/process-io-accounting/) - [fsync](https://hesela.dev/terms/fsync/) - [working-set](https://hesela.dev/terms/working-set/) - [mlock](https://hesela.dev/terms/mlock/) Citations: - [cachestat-man] Linux man-pages 6.19: cachestat(2), API, history and snapshot caveat. https://man7.org/linux/man-pages/man2/cachestat.2.html (accessed 2026-11-06) - [filemap-616] Linux v6.16 mm/filemap.c: filemap_cachestat and cachestat syscall. https://raw.githubusercontent.com/torvalds/linux/v6.16/mm/filemap.c (accessed 2026-11-06) - [filemap-68] Linux v6.8 mm/filemap.c: cachestat range calculation and independent counter increments. https://raw.githubusercontent.com/torvalds/linux/v6.8/mm/filemap.c (accessed 2026-11-06) - [range-probe] Hesela: five self-owned, locked-file cachestat trials with source hashes and environment. https://hesela.dev/research/cachestat-range/results.json (accessed 2026-11-06) - [mincore-source] Linux v6.16 mm/mincore.c: can_do_mincore and all-one masking. https://raw.githubusercontent.com/torvalds/linux/v6.16/mm/mincore.c (accessed 2026-11-06) - [eviction-notice] Neela et al. Eviction Notice: Reviving and Advancing Page Cache Attacks. NDSS 2026; artifact appendix. DOI: 10.14722/ndss.2026.240006. https://gruss.cc/files/eviction-notice.pdf (accessed 2026-11-06) ### CACHEUS URL: https://hesela.dev/terms/cacheus/ Also known as: Cacheus Status: research Record updated: 2026-11-19 CACHEUS is an adaptive cache replacement framework that learns how to choose between two eviction experts while adjusting its learning rate. Note: The C3 variant combines scan-resistant SR-LRU with churn-resistant CR-LFU. SR-LRU separates reused entries from a filtering partition; CR-LFU breaks lowest-frequency ties by evicting the most recently used candidate. [cacheus-paper] Unlike LeCaR, CACHEUS removes the time discount on remembered mistakes and adapts learning rate over request windows. Expert weights are selection probabilities, not hit probabilities or capacity partitions. If both experts nominate the same victim, no attribution-history entry is added. [cacheus-paper] The pinned implementation retains this consensus branch. [cacheus-code] The evaluated expert combinations have workload-dependent outcomes; online learning does not establish universal dominance over other policies. [cacheus-paper] Sources and caveats: - FAST 2021 mechanism and evaluation review, with source inspection at a pinned commit. This record does not reproduce the simulation results. Related terms: - [lecar](https://hesela.dev/terms/lecar/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [lirs-replacement](https://hesela.dev/terms/lirs-replacement/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [lfu-replacement](https://hesela.dev/terms/lfu-replacement/) - [gl-cache](https://hesela.dev/terms/gl-cache/) Citations: - [cacheus-paper] Rodriguez et al. Learning Cache Replacement with CACHEUS. FAST 2021, pp. 341-354, sections 3-6. https://www.usenix.org/system/files/fast21-rodriguez.pdf (accessed 2026-11-14) - [cacheus-code] CACHEUS author implementation: eviction attribution and adaptive learning rate; commit 1eec63ce166502be33ddd1f35bc041ed73a24f4d. https://github.com/sylab/cacheus/blob/1eec63ce166502be33ddd1f35bc041ed73a24f4d/code/algs/cacheus.py (accessed 2026-11-14) - [hesela] Hesela: source-reviewed eviction feedback cases. https://hesela.com/analyses/sieve-cache-eviction-traces/#expert-feedback (accessed 2026-11-14) ### CALM theorem URL: https://hesela.dev/terms/calm-theorem/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: Consistency as Logical Monotonicity Status: unknown Record updated: 2026-11-10 The CALM theorem connects monotone queries with consistent, coordination-free distributed computation in a relational-transducer model. Note: Monotonicity: Adding input facts cannot invalidate an output fact already derived. This concerns program results, not increasing timestamps or the monotonic-reads session guarantee. [calm-overview] Execution: The formal model uses connected networks and fair runs: nodes keep taking steps and buffered messages are eventually delivered. Coordination-free does not mean communication-free or that every node immediately knows the complete answer. [calm-transducers] Design: Proving reachability from received edges differs from declaring an object unreachable while edges may still arrive. Reclaiming tombstoned data can require later coordination even when foreground updates do not. [calm-overview] Sources and caveats: - Source synthesis of the specified formal model and its engineering interpretation; not a runtime performance or fault-tolerance guarantee. Related terms: - [cap-theorem](https://hesela.dev/terms/cap-theorem/) - [invariant-confluence](https://hesela.dev/terms/invariant-confluence/) - [monotonic-reads](https://hesela.dev/terms/monotonic-reads/) - [eventual-consistency](https://hesela.dev/terms/eventual-consistency/) Citations: - [calm-overview] Hellerstein and Alvaro. Keeping CALM: When Distributed Consistency is Easy. arXiv:1901.01930v2 (2019), sections 1.3-2.2 and 3.4. https://arxiv.org/pdf/1901.01930v2 (accessed 2026-11-10) - [calm-transducers] Ameloot, Neven and Van den Bussche. Relational transducers for declarative networking. arXiv:1012.2858v1, sections 4-6. https://arxiv.org/pdf/1012.2858v1 (accessed 2026-11-10) ### Calvin URL: https://hesela.dev/terms/calvin/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Status: research Record updated: 2026-11-16 Calvin is a research transaction scheduling and replication architecture that orders transaction inputs before executing them with deterministic concurrency control. Note: The sequencer logs and replicates inputs; schedulers enforce an equivalent serial order while allowing concurrent execution. Agreement precedes lock acquisition, removing a separate distributed commit phase from the lock-holding interval. This does not remove replication, communication or recovery. Deterministic business-rule aborts remain possible. Recovery uses replicas or replay from checkpoints and retained input history. [calvin-2012] The scheduler needs read/write sets in advance. Optimistic Lock Location Prediction uses a preliminary reconnaissance read to discover dependent accesses, then rechecks the prediction during ordered execution. A changed dependency triggers a restart; the preliminary read is not the transaction's authoritative read. [calvin-2014] The 2014 evaluation compares deterministic and nondeterministic locking within one prototype. Its no-commit-protocol baseline is deliberately unsafe, used to isolate overhead, not a deployable alternative. Delayed dependent reads add reconnaissance work; slow partitions can propagate stalls because a replica cannot independently shed agreed work by aborting it. [determinism-evaluation] Limitations: - The TODS dependent-transaction experiment uses artificial replication delays and single-partition transactions; it is not a measured WAN deployment of that workload. (sources: [calvin-2014]) - Lower contention or fewer commit messages does not guarantee lower end-to-end latency; preprocessing and dependency prediction have costs. (sources: [determinism-evaluation]) Sources and caveats: - Primary-source synthesis of the 2012 design and two distinct 2014 studies. No Calvin execution, benchmark reproduction or failure injection was performed. Related terms: - [two-phase-commit](https://hesela.dev/terms/two-phase-commit/) - [two-phase-locking](https://hesela.dev/terms/two-phase-locking/) - [hyder](https://hesela.dev/terms/hyder/) - [slog-geo-replicated-transactions](https://hesela.dev/terms/slog-geo-replicated-transactions/) Citations: - [calvin-2012] Thomson et al. Calvin: Fast Distributed Transactions for Partitioned Database Systems. SIGMOD 2012, sections 1.3-3.2 and 5. https://www.cs.umd.edu/~abadi/papers/calvin-sigmod12.pdf (accessed 2026-11-16) - [calvin-2014] Thomson et al. Fast Distributed Transactions and Strongly Consistent Replication for OLTP Database Systems. TODS 39(2), 2014, sections 3.2.1 and 7.4. https://www.cs.umd.edu/~abadi/papers/calvin-tods14.pdf (accessed 2026-11-16) - [determinism-evaluation] Ren et al. An Evaluation of the Advantages and Disadvantages of Deterministic Database Systems. PVLDB 7(10), 2014, sections 3.1 and 3.5-3.7. https://www.cs.umd.edu/~abadi/papers/determinism-eval.pdf (accessed 2026-11-16) ### Canvas URL: https://hesela.dev/terms/canvas/ Also known as: Canvas remote memory Status: research Record updated: 2026-11-16 Canvas is a research remote-memory swap system that isolates application swap paths and adapts allocation, prefetching and RDMA scheduling to reduce interference. Note: Mechanism: Canvas separates swap partitions, caches and RDMA scheduling by application. Reserving swap entries reduces repeat allocation locking; pressure releases reservations. Kernel prefetching can call on a modified runtime for semantic patterns. Scheduling balances applications and the timeliness of demand versus speculative reads. [paper] Evaluation scope: NSDI 2023 experiments used two machines, 25%/50% local working-set budgets and ten runs per application. Isolation-only and fully optimized configurations are different treatments. These results do not establish durability or adversarial security isolation. [paper] Percentage-point audit: Figure 14(b), GraphX-CC, reports contribution 52.1% to 62.8% and accuracy 46.9% to 52.4%. These are +10.7 and +5.5 percentage points, or approximately +20.5% and +11.7% relative changes. The paper's nearby percentage wording should not merge these denominators. Neither metric is application speedup. Contribution divides swap-cache-hit faults by all faults; accuracy divides those hits by prefetches. [paper] [arithmetic] [code] Activation boundary: The pinned scheduler initialization waits for configuration. The configuration helper calls the custom policy and application-configuration syscalls; loading the module alone is not evidence that the scheduler is active. This is static source inspection, not an observed running kernel. [scheduler] [configuration] Reproduction boundary: The author instructions target Linux 5.5, cgroup-v1 and a specific MLNX_OFED release. The remote-swap instructions also offer BACKEND=DRAM for local-memory debugging; that path cannot measure network performance. Historical kernel-install and reboot recipes are not safe production-host setup advice. [readme] [backend] Sources and caveats: - Primary-source synthesis, static code inspection and deterministic arithmetic, not a native Canvas run or benchmark replication. - Published rounded percentages do not recover event counts, run-level variation or confidence intervals; no statistical significance is inferred. - Pinned repository contents do not prove the exact configuration used for the published experiments. Related terms: - [fastswap](https://hesela.dev/terms/fastswap/) - [hermit](https://hesela.dev/terms/hermit/) Citations: - [paper] Wang et al. Canvas: Isolated and Adaptive Swapping for Multi-Applications on Remote Memory. NSDI 2023, pp. 161-179; sections 4-6 and figure 14(b). https://www.usenix.org/system/files/nsdi23-wang-chenxi.pdf (accessed 2026-11-16) - [readme] Canvas authors: pinned supported environment and cgroup-v1 setup. https://github.com/uclasystem/canvas/blob/4c51f0b9aa9081ae3ffefac7ad57d1bf1217094c/README.md (accessed 2026-11-16) - [backend] Canvas authors: scheduler activation and local-DRAM debugging backend. https://github.com/uclasystem/canvas/blob/4c51f0b9aa9081ae3ffefac7ad57d1bf1217094c/remoteswap/README.md (accessed 2026-11-16) - [scheduler] Canvas authors: rswap_scheduler_init and deferred configuration. https://github.com/uclasystem/canvas/blob/4c51f0b9aa9081ae3ffefac7ad57d1bf1217094c/remoteswap/client/rswap_scheduler.c (accessed 2026-11-16) - [configuration] Canvas authors: configuration helper and custom syscalls. https://github.com/uclasystem/canvas/blob/4c51f0b9aa9081ae3ffefac7ad57d1bf1217094c/remoteswap/configure/apply.c (accessed 2026-11-16) - [arithmetic] Hesela: explicit denominators from rounded figure 14(b) inputs. https://hesela.dev/research/canvas-prefetch-metrics.json (accessed 2026-11-16) - [code] Hesela: executable percentage-point and relative-change audit. https://hesela.dev/research/canvas-prefetch-metrics.mjs (accessed 2026-11-16) ### CAP theorem URL: https://hesela.dev/terms/cap-theorem/ Also known as: Brewer's theorem, Consistency, availability and partition tolerance Status: unknown Record updated: 2026-11-10 The CAP theorem rules out guaranteeing both linearizable read/write behavior and completion of every read/write request received by a non-failing node when communication may remain partitioned. Note: Formal scope: Gilbert and Lynch consider a read/write object in an asynchronous network that can lose arbitrarily many messages. Availability requires eventual operation completion, without a fixed response-time bound; consistency means linearizability, not a general claim about database constraints. [gilbert-lynch] Interpretation: The result depends on the service specification. A constant-returning service requiring no coordination is outside this read/write impossibility. A reachable majority serving requests does not establish completion for clients at every non-failing component. [cap-perspectives] Design: Choosing two letters is not a complete storage contract. Brewer recommends explicit partition behavior and recovery planning; choices can differ by operation or data. Neither the theorem nor an availability label establishes crash durability. [brewer-cap] Operational boundary: A response-time budget can trigger partition handling on a slow but connected network. Nodes need not make this decision simultaneously; a timeout is not proof of physical disconnection. [brewer-cap] Sources and caveats: - Primary-source synthesis of the formal read/write model and its design implications; not a cluster experiment or product classification. Related terms: - [network-partition](https://hesela.dev/terms/network-partition/) - [linearizability](https://hesela.dev/terms/linearizability/) - [storage-availability](https://hesela.dev/terms/storage-availability/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [data-durability](https://hesela.dev/terms/data-durability/) - [calm-theorem](https://hesela.dev/terms/calm-theorem/) - [invariant-confluence](https://hesela.dev/terms/invariant-confluence/) Citations: - [gilbert-lynch] Gilbert and Lynch. Brewer's Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services (2002), sections 2.1-2.3 and 3.1. https://www.comp.nus.edu.sg/~gilbert/pubs/BrewersConjecture-SigAct.pdf (accessed 2026-11-10) - [cap-perspectives] Seth Gilbert and Nancy A. Lynch. Perspectives on the CAP Theorem (2012), section 2. https://groups.csail.mit.edu/tds/papers/Gilbert/Brewer2.pdf (accessed 2026-11-10) - [brewer-cap] Eric Brewer. CAP Twelve Years Later: How the Rules Have Changed. Computer, February 2012, pp. 23-25. https://sites.cs.ucsb.edu/~rich/class/cs293b-cloud/papers/brewer-cap.pdf (accessed 2026-11-10) - [hesela-partition-policy] Hesela: Storage fencing, CAP and partition-time operation policy. https://hesela.com/analyses/storage-fencing-stale-writes/#cap-operation-policy (accessed 2026-11-10) ### CAR (CLOCK with Adaptive Replacement) URL: https://hesela.dev/terms/car-replacement/ Also known as: CAR, CLOCK with Adaptive Replacement Status: research Record updated: 2026-11-07 CAR is an adaptive cache replacement policy combining CLOCK reference bits with histories of recently evicted pages. Note: Resident pages occupy T1 and T2; B1 and B2 retain identities without cached payloads. Hits set a reference bit instead of immediately moving a recency-list entry. History hits adjust the target for T1. [car-slides] A history hit remains a cache miss because B1 and B2 lack the payload. Figure 2 performs replacement before adapting p: a hit in B1 raises p (capped at capacity), while a hit in B2 lowers it (floored at zero); the returning page enters T2 with bit zero. Here p is an eviction target, not a fixed partition. Replacement rechecks the current T1 length against max(1, p) on each visit, so promotion can switch the scanned list. [car-paper] Figure 2 line 29 clears a referenced T1 page's bit before moving it to T2; line 34 sends a T2 victim to B2. Section III.B instead says one and B1 at those points. Hesela follows Figure 2 and records these as editorial discrepancies, not author-confirmed errata. [car-paper] Take c=2, p=0, T1=[C:1] and T2=[B:1], with list heads at the left. Figure 2 evicts C after 3 visits; retaining the promoted bit evicts B after 4. This is an offline transition check, not a full CAR implementation or a performance benchmark. [hesela-car-steps] Cheap hit updates do not imply constant work on a miss. For one Figure 2 replacement with c resident pages and no concurrent hits, at most c + 1 head visits suffice: each initially set bit can be cleared once before eviction. All-set T2 reaches that bound. This is a derived operation count, not a latency guarantee. [hesela-car-code] [hesela-car-tests] Advantages: - Avoids the hit-path recency-list movement of conventional LRU. (sources: [car-slides]) Limitations: - The paper gives single-threaded pseudocode and describes serialized misses; this is not a complete lock-free cache. (sources: [car-paper]) - CART adds temporal filtering and is a different algorithm, not another name for CAR. (sources: [car-paper]) Sources and caveats: - Source review plus constructed transitions; no author benchmark reproduction or concurrency measurement. Related terms: - [clock-replacement](https://hesela.dev/terms/clock-replacement/) - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [cart-replacement](https://hesela.dev/terms/cart-replacement/) Citations: - [car-paper] Bansal and Modha. CAR: Clock with Adaptive Replacement. FAST 2004, section III.B and Figure 2 lines 29/34; section IV. https://www.usenix.org/events/fast04/tech/full_papers/bansal/bansal.pdf (accessed 2026-11-02) - [car-slides] Bansal and Modha. CAR: CLOCK with ADAPTIVE REPLACEMENT. Author presentation, FAST 2004. https://theory.stanford.edu/~sbansal/pubs/fast04ppt.pdf (accessed 2026-11-02) - [hesela-car-steps] Hesela: constructed CAR replacement steps, Figure 2 versus prose controls. https://hesela.dev/research/car-replacement-steps.json (accessed 2026-10-30) - [hesela-car-code] Hesela: dependency-free replacement-step source, not a complete CAR simulator. https://hesela.dev/scripts/car-replacement-step.mjs (accessed 2026-10-30) - [hesela-car-tests] Hesela: standalone CAR transition equivalence and offline visit-bound checks. https://hesela.dev/scripts/car-replacement-step.test.mjs (accessed 2026-10-30) ### Carbink URL: https://hesela.dev/terms/carbink/ Status: research Record updated: 2026-11-15 Carbink is a research far-memory runtime that protects remotely stored spans with erasure coding. Note: Mechanism: Applications use remotable pointers. Equal-sized spans leave local memory in coded batches, but return individually; remote compaction reclaims the resulting holes. [carbink] Failure boundary: Memory-node loss triggers reconstruction. Compute-node loss instead releases its remote allocations; application recovery requires a separate mechanism such as checkpointing. Byzantine and partial-network failures are outside the model. [carbink] Design versus prototype: The design assumes a replicated memory manager. The evaluated prototype used an unreplicated manager, static assignment and no planned-failure handling. The paper omits detailed concurrent-failure handling. [carbink] Evaluation scope: Eight same-rack machines used 50 Gbps NICs. Compared coding schemes ran inside the Carbink runtime; the EC-Split baseline follows Hydra's approach, not an independently deployed Hydra stack. These are historical research results, not general performance guarantees. [carbink] Hydra contrast: Hydra splits each page into k data fragments and r parity fragments. In failure-recovery mode, writes wait for all k+r fragments; reads can reconstruct from the first k of k+delta requested fragments. Its EC-only mode completes after k writes without the same resilience guarantee. Availability therefore depends on the completion rule, not just the presence of parity. [hydra] Engineering interpretation: Ask which component may fail, which metadata survives, and when protection becomes effective. Remote redundancy alone does not establish durable application recovery. Sources and caveats: - Primary-source synthesis; no native Carbink or Hydra execution, RDMA experiment or benchmark replication was performed. - The final paragraph is an engineering interpretation, not a measured reliability result. Related terms: - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [aifm](https://hesela.dev/terms/aifm/) - [hydra-remote-memory](https://hesela.dev/terms/hydra-remote-memory/) Citations: - [carbink] Zhou et al. Carbink. OSDI 2022, pp. 55-71; sections 3.1, 3.4-3.5, 4-5. https://www.usenix.org/system/files/osdi22-zhou-yang.pdf (accessed 2026-11-15) - [hydra] Lee et al. Hydra. FAST 2022, pp. 181-198; sections 4.1.1-4.1.2. https://www.usenix.org/system/files/fast22-lee.pdf (accessed 2026-11-15) ### CART (CAR with Temporal Filtering) URL: https://hesela.dev/terms/cart-replacement/ Also known as: CART, CAR with Temporal Filtering, CLOCK with Adaptive Replacement and Temporal Filtering Status: research Record updated: 2026-11-07 CART is a cache replacement policy that extends CAR with an adaptive filter for distinguishing short-term reuse from longer-term utility. Note: Repeated accesses in a short burst need not predict future reuse; CART addresses this distinction rather than merely counting hits. It is a separate algorithm, not an alias for CAR. [cart-slides] T1 and T2 hold payloads; B1 and B2 hold only identities. An additional S/L filter bit records utility class. A resident hit sets the reference bit, not the filter bit. The temporal window is represented by the adaptive T1 population, not a fixed duration in seconds. [cart-paper] A B1 history hit is not the only route to L. Figure 3 line 30 can reclassify a referenced S page while rotating it within T1 when |T1| >= min(p + 1, |B1|). This occurs during replacement scanning. The earlier prose's history-only explanation is therefore incomplete; this is a source-reading observation, not an author-confirmed erratum. [cart-paper] The executable boundary check isolates that predicate. With |T1|=2, p=2 and |B1|=4 it is false; changing |B1| to 2 makes it true. For p=5/2, |T1|=3 and |B1|=4 it remains false even though |T1| > p. These are constructed inputs, not a cache workload, and no reachability or hit-ratio claim is made. [cart-example] Limitations: - The study uses cold-start, read-only trace simulation after upstream cache filtering; it does not establish universal superiority or measured concurrent implementation speed. (sources: [cart-paper]) - The downloadable check covers one predicate, not full CART state transitions, history management, target rounding or a production implementation. (sources: [cart-code]) Sources and caveats: - Primary-source synthesis and constructed exact-arithmetic checks; no reproduction of the authors' traces or independent peer review. Related terms: - [car-replacement](https://hesela.dev/terms/car-replacement/) - [clock-replacement](https://hesela.dev/terms/clock-replacement/) - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) Citations: - [cart-paper] Bansal and Modha. CAR: Clock with Adaptive Replacement. FAST 2004, section IV, Figure 3 line 30 and section V.A. https://www.usenix.org/events/fast04/tech/full_papers/bansal/bansal.pdf (accessed 2026-11-07) - [cart-slides] Bansal and Modha. FAST 2004 author presentation, slide 32: CART temporal filtering. https://theory.stanford.edu/~sbansal/pubs/fast04ppt.pdf (accessed 2026-11-07) - [cart-example] Hesela: constructed CART filter-boundary inputs and exact results. https://hesela.dev/research/cart-filter/examples.json (accessed 2026-11-07) - [cart-code] Hesela: exact predicate check and its scope, not a complete CART implementation. https://hesela.dev/research/cart-filter/model.py (accessed 2026-11-07) ### Causal consistency URL: https://hesela.dev/terms/causal-consistency/ Status: unknown Record updated: 2026-11-16 Causal consistency requires reads to respect dependencies between operations while allowing concurrent writes to be ordered differently by different observers. Note: Program order, a read taking its value from a write, and transitivity establish potential causality. For read/write registers, each process must have a legal view of its own operations and all writes that preserves this order. A read returns the value of the latest preceding write to that key in that view, or the initial value if none exists. [causal-memory] Concurrent means unordered by causality, not simultaneous on a clock. Plain causal consistency does not require one shared order of concurrent writes. An overwritten intermediate value can remain unread. [causal-memory] Causal+ additionally requires convergent conflict handling. The 2011 COPS design checks dependencies before exposing replicated writes, and its COPS-GT extension adds consistent multi-key reads. The model assumes communication between threads passes through the store. [cops] The COPS client tracks key/version pairs rather than fetching each value's full dependency list. After a put, its context retains only that put, which transitively represents its earlier dependencies. COPS-GT keeps additional dependency information for get transactions. [cops] An ordering guarantee alone is not a durability promise. A documented causal-session configuration permits acknowledged writes to roll back. [causal-durability] Sources and caveats: - Ahamad et al. (1995), sections 1, 2 and 4, and COPS (2011), sections 3-4.6 and Appendix A, establish the scoped definitions. The PDF filename containing 1996 does not change the printed publication year. - The MongoDB documentation supplies a configuration-specific rollback example, not a claim that every causal implementation rolls back writes. - No system execution or benchmark reproduction was performed. Status is unknown because this is a semantic guarantee, not a product lifecycle. Related terms: - [session-guarantees](https://hesela.dev/terms/session-guarantees/) - [eventual-consistency](https://hesela.dev/terms/eventual-consistency/) - [read-atomic-isolation](https://hesela.dev/terms/read-atomic-isolation/) - [lamport-clock](https://hesela.dev/terms/lamport-clock/) - [happened-before](https://hesela.dev/terms/happened-before/) - [version-vector](https://hesela.dev/terms/version-vector/) - [dotted-version-vector](https://hesela.dev/terms/dotted-version-vector/) - [fuzzylog](https://hesela.dev/terms/fuzzylog/) Citations: - [causal-memory] Ahamad et al. Causal memory: definitions, implementation, and programming. Distributed Computing 9, 37-49 (1995), sections 1, 2 and 4. https://i2docker.moves.rwth-aachen.de/i2/fileadmin/user_upload/documents/Seminar_MCMM11/Causal_memory_1996.pdf (accessed 2026-11-10) - [cops] Lloyd et al. Don't Settle for Eventual: Scalable Causal Consistency for Wide-Area Storage with COPS. SOSP 2011, sections 3, 4.3, 4.4 and 4.6. https://pages.cs.wisc.edu/~remzi/Classes/739/Papers/cops-sosp11.pdf (accessed 2026-11-10) - [causal-durability] MongoDB Manual: Causal Consistency and Read and Write Concerns; durability and rollback. https://www.mongodb.com/docs/manual/core/causal-consistency-read-write-concerns/ (accessed 2026-11-10) - [hesela-causal-visibility] Hesela: Replica repair and causal visibility. https://hesela.com/analyses/replica-repair-coverage/#causal-visibility (accessed 2026-11-10) ### Cause-specific hazard URL: https://hesela.dev/terms/cause-specific-hazard/ Related analysis: https://hesela.com/analyses/backblaze-age-missing-data-audit/ Status: shipping Record updated: 2026-11-05 A cause-specific hazard is the instantaneous rate of one event type among units still free of all modeled first events. Note: Rate: Its units are inverse time, unlike cumulative incidence. A cause-specific Cox fit can code competing events as censored when removing those units from the risk set. This estimates a rate among event-free units, not lifetime with the competing event eliminated. [andersen-competing] Probability: The cumulative incidence also depends on the other cause-specific hazards; a separate Kaplan-Meier complement is not its estimator. [therneau-competing] Latent failure-time independence is not needed for these observed-process quantities. Ordinary loss-to-follow-up still requires appropriate censoring assumptions. [andersen-competing] Integrating this rate gives H_k(t); do not transform it as 1 - exp(-H_k(t)) and label the result the observed probability of cause k. That probability also weights each increment by survival from all competing events. [therneau-competing] Related terms: - [competing-risks](https://hesela.dev/terms/competing-risks/) - [cumulative-incidence-function](https://hesela.dev/terms/cumulative-incidence-function/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [cumulative-hazard](https://hesela.dev/terms/cumulative-hazard/) Citations: - [therneau-competing] Therneau, Crowson and Atkinson: Multi-state models and competing risks (12 January 2026), sections 2.1-2.2 and 3. https://stat.ethz.ch/R-manual/R-patched/library/survival/doc/compete.pdf (accessed 2026-10-16) - [andersen-competing] Andersen, Geskus, de Witte and Putter (2012): Competing risks in epidemiology: possibilities and pitfalls, DOI 10.1093/ije/dyr213. https://pmc.ncbi.nlm.nih.gov/articles/PMC3396320/ (accessed 2026-10-16) ### Concise Binary Object Representation URL: https://hesela.dev/terms/cbor/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: CBOR, RFC 8949 Status: unknown Record updated: 2026-11-21 CBOR is an extensible binary serialization format for structured values, including native byte strings, arrays, maps and tagged data. Note: Model: CBOR builds on JSON-like structured values but represents binary data directly and uses tags for additional interpretation. A schema is not required to decode the basic representation. [cbor-overview] Encoding: Preferred serialization alone is not deterministic. Core deterministic encoding forbids indefinite lengths and sorts encoded map keys bytewise; length-first ordering is a different profile. Numeric and tag choices also require agreement. [cbor-rfc] Validity: Byte strings and text strings differ. Duplicate map keys are invalid, while host-language equality may collapse distinct keys. Generic string equality does not normalize Unicode. [cbor-rfc] Storage: Preserve the encoding profile with a content-addressed manifest. A decoder accepting bytes does not establish the application's identity or freshness requirements. This is an engineering inference, not a durability guarantee. [cbor-example] Sources and caveats: - Primary-source synthesis; selected map-ordering examples are not a complete encoder, conformance suite or storage benchmark. Related terms: - [data-serialization](https://hesela.dev/terms/data-serialization/) - [json-canonicalization-scheme](https://hesela.dev/terms/json-canonicalization-scheme/) Citations: - [cbor-overview] CBOR project overview: binary data, structured values and tags. https://cbor.io/ (accessed 2026-11-21) - [cbor-rfc] RFC 8949: sections 4.1-4.2.3, 5.3 and 5.6.1. https://www.rfc-editor.org/rfc/rfc8949.html (accessed 2026-11-21) - [cbor-example] Hesela: CBOR encoding profiles before content hashing. https://hesela.com/analyses/checksums-identity-and-lost-writes/#cbor-profiles (accessed 2026-11-21) ### Cacheline-Conscious Extendible Hashing URL: https://hesela.dev/terms/cceh/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: CCEH Status: research Record updated: 2026-11-28 CCEH is a persistent-memory hash index that groups cacheline-sized buckets into segments addressed through a directory. Note: Segments shrink the directory but enlarge the unit of splitting. Ordered metadata updates and directory recovery replace explicit logging in the paper's design. [cceh-paper] Lazy deletion leaves migrated records in the old segment. After the ordered pointer/depth changes, their hash prefixes no longer match that segment and later insertions can reuse those slots. A paused reader holding the old segment address could otherwise miss a migrated key after its former slot is overwritten. The default design protects this reuse with reader/writer locks; the copy-on-write variant has a different concurrency contract. [cceh-paper] The linked constructed example counts stored copies separately from logical entries; it is not a crash test or physical-write measurement. [hesela-membership] Limitations: - The original evaluation emulates persistent memory with DRAM; lookup probing can access additional cachelines. (sources: [cceh-paper]) - Dash evaluates a modified CCEH implementation on Optane, including allocation and reclamation repairs. (sources: [dash-paper]) Sources and caveats: - Primary-source review of FAST 2019 sections 3-6 and Dash sections 1.1, 6.1-6.2; no benchmark or crash-test reproduction. Historical implementation observations are not a claim about current repository defects. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [fptree](https://hesela.dev/terms/fptree/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [dash](https://hesela.dev/terms/dash/) - [viper](https://hesela.dev/terms/viper/) Citations: - [hesela-membership] Hesela: constructed CCEH membership states, source and limits. https://hesela.dev/research/cceh-membership.json (accessed 2026-11-27) - [cceh-paper] Moohyeon Nam, Hokeun Cha, Young-ri Choi, Sam H. Noh and Beomseok Nam. Write-Optimized Dynamic Hashing for Persistent Memory. FAST 2019, pp. 31-44, sections 3-6. https://www.usenix.org/system/files/fast19-nam.pdf (accessed 2026-11-28) - [dash-paper] Lu, Hao, Wang and Lo. Dash: Scalable Hashing on Persistent Memory. PVLDB 13(8), 2020, sections 1.1, 6.1-6.2. DOI: 10.14778/3389133.3389134. https://www.vldb.org/pvldb/vol13/p1147-lu.pdf (accessed 2026-11-13) - [hesela-pmem] Hesela: CCEH lookup, split and recovery boundaries. https://hesela.com/analyses/pmem-persistence-domains-dax/#cceh (accessed 2026-11-13) ### CCFS URL: https://hesela.dev/terms/ccfs/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Crash-Consistent File System Status: research Record updated: 2026-12-01 CCFS is a research filesystem that preserves update order within application-selected streams while allowing independent streams to commit separately. Note: Streams reduce false write dependencies: forcing one application's work need not flush unrelated work. CCFS adapts ext4 using hybrid-granularity journaling and order-preserving delayed allocation. This is a historical research design, not a stock ext4 option. [ccfs-fast] Independence has limits. Creating a file depends on creation of its parent directory; pending related operations can temporarily merge streams. A stream identifies work, not permanent file ownership. [ccfs-tos] The default API honors fsync. Its optional IGNORE_FSYNC mode requires explicit streamsync calls wherever durability is promised; ordering alone permits lost recent work. [ccfs-tos] Limitations: - Hesela's finite example checks logical prerequisites only; it does not reproduce CCFS crash recovery or performance. (sources: [hesela]) - Different stream IDs do not isolate shared data: the prototype relates updates to the same regular file, explicit inode attributes, or the same directory-entry name. (sources: [ccfs-tos]) Sources and caveats: - Reviewed full papers, including API, implementation, evaluation and limitations. No native CCFS execution. Related terms: - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) Citations: - [ccfs-fast] Pillai et al. Application Crash Consistency and Performance with CCFS. FAST 2017, pp. 181-196. https://www.usenix.org/conference/fast17/technical-sessions/presentation/pillai (accessed 2026-12-01) - [ccfs-tos] Pillai et al. CCFS, extended article. ACM TOS 13(3), 2017, article 19; sections 3.2, 3.5, 4.1 and 5. DOI: 10.1145/3119897. https://research.cs.wisc.edu/adsl/Publications/ccfs-tos17.pdf (accessed 2026-12-01) - [hesela] Hesela: CCFS stream dependencies and a finite recovery-state example. https://hesela.com/analyses/storage-consistency-ordering/#ccfs-streams (accessed 2026-12-01) ### Acting set (Ceph) URL: https://hesela.dev/terms/ceph-acting-set/ Related analysis: https://hesela.com/analyses/storage-availability-correlated-failures/ Also known as: Ceph acting set Status: shipping Record updated: 2026-10-16 In Ceph, the acting set is the ordered OSD list responsible for a placement group at a particular map epoch. Note: It normally matches the up set but can be overridden through PG temp. Membership is not proof that every member has the latest contents. [ceph-peering] The up set is the CRUSH result for an epoch, while the acting set is the ordered list actually responsible for the PG, whose first member is the primary that accepts client writes. In the documented example the mapping [3,1,2] puts an empty osd.3 first, so PG temp [1,2,3] makes osd.1 primary while osd.3 is backfilled, after which the override is dropped. [ceph-peering] The code requests a PG temp change whenever the wanted acting set differs from the current one and clears it when the wanted set equals the up set. [cephcode] No write is acknowledged until every acting member has persisted it, so peering needs only one reachable member of each earlier acting set to find all acknowledged writes. [ceph-peering] A PG stays active while at least min_size members are available, for example 2 of 3 with size 3 and min_size 2. [cephpools] The original design paper describes the same ordered OSD list and primary-driven peering without using the term acting set. [rados2007] Limitations: - With min_size 1 a single remaining acting member still accepts I/O, leaving one copy of the data. (sources: [cephpools]) - Recovery is refused when the wanted acting set has fewer members than min_size, unless an option allows recovery below it. (sources: [cephcode]) Sources and caveats: - The peering documentation and the source code are project material and define the feature, so they are not independent of the design; the 2007 design paper is university work. - The documentation is for the Squid release and the code is v19.2.0; the 2007 paper describes an early version and predates the terms up set, acting set and PG temp. - The [3,1,2] and [1,2,3] case is the documentation example, not a measurement; the 2-of-3 case follows from size 3 and min_size 2 in the pool documentation. - Stretch-mode pools and erasure-coded shards were not studied. Related terms: - [placement-group](https://hesela.dev/terms/placement-group/) - [ceph-up-set](https://hesela.dev/terms/ceph-up-set/) - [ceph-peering](https://hesela.dev/terms/ceph-peering/) Citations: - [ceph-peering] Ceph Squid developer documentation: Peering, concepts. https://docs.ceph.com/en/squid/dev/peering/ (accessed 2026-10-13) - [hesela-availability] Storage availability and correlated failures: placement boundaries. https://hesela.com/analyses/storage-availability-correlated-failures/ (accessed 2026-10-13) - [rados2007] Weil, Brandt, Miller, Maltzahn. RADOS: A Scalable, Reliable Storage Service for Petabyte-scale Storage Clusters. PDSW 2007, sections 2.2 and 3.4. https://ceph.com/assets/pdfs/weil-rados-pdsw07.pdf (accessed 2026-10-16) - [cephcode] Ceph v19.2.0 source: src/osd/PeeringState.cc (choose_acting) and src/osd/OSDMap.cc (_get_temp_osds). https://github.com/ceph/ceph/blob/v19.2.0/src/osd/PeeringState.cc (accessed 2026-10-16) - [cephpools] Ceph Squid documentation: Pools, size and min_size. https://docs.ceph.com/en/squid/rados/operations/pools/ (accessed 2026-10-16) ### Ceph deep scrub URL: https://hesela.dev/terms/ceph-deep-scrub/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: Deep scrubbing (Ceph) Status: shipping Record updated: 2026-11-13 Ceph deep scrub reads placement-group object data and checks it using checksums, beyond the metadata comparisons of a light scrub. Note: In Ceph Squid, a light scrub compares object sizes and attributes; deep scrub additionally reads data for checksum verification. The configured interval is a scheduling input, not evidence that a scan completed. [ceph-squid-schedule] The active state permits requests and clean describes the required replication count. Neither establishes when a deep scrub last completed. The deep state describes checking in progress, not a successful result. [ceph-squid-states] For replicated pools, pg repair can mark an inconsistent copy missing so recovery can reconstruct it; repair and recovery are distinct steps. For the documented erasure-coded and BlueStore cases, automatic scrub repair is disabled by default in Squid and, when enabled, is limited by a configured damaged-object threshold. [ceph-squid-repair] [ceph-squid-schedule] A read_error in a shard report calls for investigation of the underlying storage. Preserve the affected PG and object, shard errors, scan completion and subsequent recovery outcome before concluding that an inconsistency was resolved. [ceph-squid-repair] Historically, the 2007 RADOS design kept a log of expected object versions even when replicas were missing. Peering reconciled that history before recovery; this is architectural context, not a description of Squid's scrub implementation. [rados-pdsw07] Limitations: - Scrubbing competes with client work, so increasing its frequency can affect cluster performance. (sources: [ceph-squid-schedule]) Sources and caveats: - Version-scoped documentation review of Ceph Squid, not a running-cluster experiment or a measured reduction in data loss. - The distinction between active+clean and completed checksum verification follows from the separately documented PG states. [ceph-squid-states] Related terms: - [placement-group](https://hesela.dev/terms/placement-group/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [checksum](https://hesela.dev/terms/checksum/) - [ceph-acting-set](https://hesela.dev/terms/ceph-acting-set/) Citations: - [ceph-squid-schedule] Ceph Squid: OSD Config Reference, light/deep scrubbing and automatic repair controls. https://docs.ceph.com/en/squid/rados/configuration/osd-config-ref/#scrubbing (accessed 2026-11-13) - [ceph-squid-states] Ceph Squid: Placement Group States, active, clean, scrubbing, deep and repair. https://docs.ceph.com/en/squid/rados/operations/pg-states/ (accessed 2026-11-13) - [ceph-squid-repair] Ceph Squid: Troubleshooting PGs, inconsistent shards and More Information on PG Repair. https://docs.ceph.com/en/squid/rados/troubleshooting/troubleshooting-pg/#more-information-on-pg-repair (accessed 2026-11-13) - [rados-pdsw07] Weil et al. (PDSW 2007): RADOS, sections 3.4 and 3.4.1. https://ceph.com/assets/pdfs/weil-rados-pdsw07.pdf (accessed 2026-11-13) - [hesela-scrub] Hesela: Ceph scrub coverage, placement-group state and recovery evidence. https://hesela.com/analyses/scrubbing-detection-not-durability/#ceph-deep-scrub (accessed 2026-11-13) ### Peering (Ceph) URL: https://hesela.dev/terms/ceph-peering/ Related analysis: https://hesela.com/analyses/storage-availability-correlated-failures/ Also known as: Ceph PG peering Status: shipping Record updated: 2026-10-22 Ceph peering brings the OSDs that store a placement group into agreement about the state of its objects and the metadata associated with them. Note: Peering is driven by the primary, the first member of the acting set. It uses recent OSD maps to list the past intervals since the last epoch started, and it must reach at least one OSD from each of those acting sets before peering can succeed. It then gathers PG info and any missing log entries so that its PG log includes the newest write. [ceph-peering] [rados] This works because no write is acknowledged to a client until every member of the acting set has persisted it. Entries that only some OSDs remember after a failure were never acknowledged, so they are treated as divergent history and discarded. [ceph-peering] Agreement does not mean all copies are current. Missing objects are copied later by recovery, in the background, while the primary already accepts writes. A typical replicated pool keeps 3 replicas (size = 3). A PG with fewer copies than the pool's min_size stays peered and cannot serve client I/O, although recovery may continue. [ceph-peering] [ceph-pools] [ceph-pg-states] Advantages: - After a node restart or other short outage, recent PG logs are enough to resynchronise replicas without listing the full PG contents. (sources: [rados]) Limitations: - Changes to a PG can be made only after successful peering, and every PG whose OSD list changes in a map update must peer again. (sources: [ceph-peering], [rados]) Sources and caveats: - ceph-peering is the Ceph Squid developer page on peering, read in full: Concepts and Description of the Peering Process. - ceph-pg-states was read in its list of states; ceph-pools in its introduction and in the size and min_size entries. - rados is the PDSW 2007 paper by Weil, Leung, Brandt and Maltzahn (University of California, Santa Cruz), read in section 3.4.1, Peering. - The acknowledgement rule, past intervals and divergent entries come from ceph-peering. Notify messages and log-based resynchronisation come from rados. - 3 replicas is the pools page's example of a typical configuration, quoted as an example rather than as a default. Related terms: - [placement-group](https://hesela.dev/terms/placement-group/) - [ceph-acting-set](https://hesela.dev/terms/ceph-acting-set/) Citations: - [ceph-peering] Ceph Squid developer documentation: Peering, concepts. https://docs.ceph.com/en/squid/dev/peering/ (accessed 2026-10-22) - [ceph-pg-states] Ceph Squid documentation: Placement Group States. https://docs.ceph.com/en/squid/rados/operations/pg-states/ (accessed 2026-10-22) - [hesela-availability] Storage availability and correlated failures: placement boundaries. https://hesela.com/analyses/storage-availability-correlated-failures/ (accessed 2026-10-13) - [rados] Weil, Leung, Brandt and Maltzahn. RADOS: A Scalable, Reliable Storage Service for Petabyte-scale Storage Clusters. PDSW 2007, section 3.4.1. https://ceph.io/assets/pdfs/weil-rados-pdsw07.pdf (accessed 2026-10-22) - [ceph-pools] Ceph Squid documentation: Pools, size and min_size. https://docs.ceph.com/en/squid/rados/operations/pools/ (accessed 2026-10-22) ### Up set (Ceph) URL: https://hesela.dev/terms/ceph-up-set/ Related analysis: https://hesela.com/analyses/storage-availability-correlated-failures/ Also known as: Ceph up set Status: shipping Record updated: 2026-10-22 In Ceph, the up set is the ordered OSD list assigned to a placement group by CRUSH for a particular map epoch. Note: It describes placement, not completed data transfer; an explicit PG temp override can make the acting set differ. [ceph-peering] The up set equals the acting set except when PG temp overrides the acting set in the OSD map, and an interval is a run of map epochs in which neither set changes for the placement group. [ceph-peering] The up set is not raw CRUSH output: an explicit administrator mapping replaces it when present, down or missing OSDs are removed, and primary affinity is applied. [osdmap] Order carries meaning by pool type. For replication a failed device is skipped and later ones shift left, so the next holder becomes primary, but for erasure coding each position stores different data, so a failed slot is marked empty and the others keep their rank. [crush] [osdmap] A failed device stays in the hierarchy so that only its data moves, the minimum fraction w_failed / W, so one failure among 100 equally weighted devices remaps 1% of the data. [crush] Advantages: - Gives a deterministic, ordered target list per placement group and epoch, which any client or OSD holding the map can compute. (sources: [ceph-peering], [crush]) Limitations: - A separate primary override can make the acting primary differ from the first OSD of the up set. (sources: [osdmap]) Sources and caveats: - The documentation and code are the project's own and describe the Squid branch on the access date; behaviour may change. - The CRUSH paper is by the system's original university authors and predates the explicit-mapping and primary-affinity steps, which are taken from the code only. - The 1% figure is arithmetic on the paper's idealised bound w_failed / W and says nothing about repair time. - No cited source measures how often the up and acting sets differ in practice. Related terms: - [placement-group](https://hesela.dev/terms/placement-group/) - [ceph-acting-set](https://hesela.dev/terms/ceph-acting-set/) Citations: - [ceph-peering] Ceph Squid developer documentation: Peering, concepts. https://docs.ceph.com/en/squid/dev/peering/ (accessed 2026-10-13) - [hesela-availability] Storage availability and correlated failures: placement boundaries. https://hesela.com/analyses/storage-availability-correlated-failures/ (accessed 2026-10-13) - [osdmap] Ceph Squid branch src/osd/OSDMap.cc: _apply_upmap, _raw_to_up_osds, _get_temp_osds and _pg_to_up_acting_osds. https://github.com/ceph/ceph/blob/squid/src/osd/OSDMap.cc (accessed 2026-10-16) - [crush] Weil, Brandt, Miller and Maltzahn. CRUSH: Controlled, Scalable, Decentralized Placement of Replicated Data. ACM/IEEE SC 2006, sections 3.2-3.3. https://ceph.com/assets/pdfs/weil-crush-sc06.pdf (accessed 2026-10-16) ### Clean-First Dirty-Clustered (CFDC) URL: https://hesela.dev/terms/cfdc/ Also known as: CFDC Status: research Record updated: 2026-10-31 Clean-First Dirty-Clustered (CFDC) is a database buffer replacement policy combining clean-page preference with clustered dirty-page eviction. Note: CFDC separates a working region from a priority region. The latter has a clean queue and dirty-page clusters grouped by page-number range. Within a cluster, pages retain entry order, not address order. If no clean victim is available, eviction takes a page from the lowest-priority cluster. [ou] After a victim is selected, that cluster's priority becomes zero, encouraging subsequent evictions from it. This is not an immediate sorted whole-cluster write: the paper leaves batching and padding as future work. Maintaining cluster priorities also has a CPU cost. [ou] In the database experiment on a 32 GB SLC SATA SSD, CFDC flushed more pages than CFLRU but achieved higher throughput through cheaper page flushes. Neither write count nor hit ratio alone determines elapsed time. The tested device, workload and statically chosen window limit generalization; the paper does not establish superiority over every flash-aware policy. [ou] The paper first separates clean and dirty queues to remove clean-page searches while retaining its CFLRU baseline's hit and write behavior. This implementation improvement is separate from dirty clustering: CFDC adds cluster-based victim selection afterward. Fewer search steps alone do not establish a better eviction policy. [ou] Limitations: - Logical page-number proximity does not expose physical NAND placement behind an FTL, so locality-based write savings remain device- and workload-dependent. (sources: [ou]) Sources and caveats: - Historical database-buffer experiment; no modern-device speedup or replication is claimed. - Hesela's accompanying accounting model implements only fixed-window CFLRU, not CFDC. - The tested database engine was XTC and the SSD was a MTRON MSP-SATA7525. [ou] Related terms: - [cflru](https://hesela.dev/terms/cflru/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [locality-of-reference](https://hesela.dev/terms/locality-of-reference/) - [write-combining](https://hesela.dev/terms/write-combining/) Citations: - [ou] Yi Ou, Theo Harder and Peiquan Jin. CFDC: A Flash-aware Replacement Policy for Database Buffer Management. DaMoN 2009, sections 3-5. https://event.cwi.nl/damon2009/DaMoN09-FlashReplacementPolicy.pdf (accessed 2026-10-31) ### CFexpress URL: https://hesela.dev/terms/cfexpress/ Status: shipping Record updated: 2026-10-22 CFexpress is a removable memory-card standard that carries the NVMe protocol over PCIe in Type A, B and C form factors with 1, 2 and 4 PCIe lanes. Note: Version 2.0 (2019) defines Type A at 20 x 28 x 2.8 mm with one PCIe Gen 3 lane, Type B at 38.5 x 29.8 x 3.8 mm with two and Type C at 54 x 74 x 4.8 mm with four, all using NVMe 1.3, for theoretical maxima of 1,000, 2,000 and 4,000 MB/s. [c3] Version 1.0 (2017) defined only Type B with NVMe 1.2, at 8 Gbit/s per lane. [c4] Type B shares the dimensions and connector of the older XQD card, and version 4.0 followed in 2023. [c2] NVMe gives the card fixed-length commands, an efficient queuing model, few non-cacheable PCIe accesses per command and mature drivers. [c3] It also brings hot-plug, low-power link states, host memory buffer, boot partitions, write protect, replay-protected memory and data-placement interfaces. [c4] A Video Performance Guarantee certifies a minimum sustained write speed. [c2] Sources and caveats: - The specifications are member-only and were not consulted; figures come from CompactFlash Association material (c2, c3) and an NVM Express slide deck (c4). - c3 is the 1 March 2019 press release as republished by a newswire. - Speeds are theoretical bus maxima, not card performance. - c4 gives Type B length as 29.6 mm and c3 as 29.8 mm; unresolved without the specification. - c2 stated that no cameras or cards used Type C when consulted (October 2026); capacity figures in c4 (July 2022) are not repeated. - No cited source gives latency, endurance or thermal data. - Arithmetic: 8 Gbit/s / 8 = 1 GB/s per lane. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [sd-express](https://hesela.dev/terms/sd-express/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [nvme-base-spec](https://hesela.dev/terms/nvme-base-spec/) Citations: - [c1] CFexpress. https://en.wikipedia.org/wiki/CFexpress (accessed 2026-03-26) - [c2] Card Types: CFexpress, CompactFlash Association. https://compactflash.org/card-types/ (accessed 2026-10-16) - [c3] The CompactFlash Association Announces CFexpress 2.0 Specification. https://www.businesswirechina.com/en/news/39927.html (accessed 2026-10-16) - [c4] A Survey of Form Factors for NVM Express. https://nvmexpress.org/wp-content/uploads/A-Survey-of-Form-Factors-for-NVM-Express%C2%AE.pdf (accessed 2026-10-16) ### Clean-First LRU (CFLRU) URL: https://hesela.dev/terms/cflru/ Also known as: CFLRU, Clean First Least Recently Used Status: research Record updated: 2026-11-02 Clean-First LRU (CFLRU) is a buffer replacement policy that prefers clean victims within a bounded least-recently-used window. Note: On a full-cache miss, search from the LRU end for the oldest clean page inside the window; otherwise evict the LRU page. A larger window considers more clean candidates but can displace reusable pages. [park] The paper's trace simulations weighted writes eight times reads. Its Linux 2.4.28 evaluation used emulated flash and disabled read-ahead in the CFLRU variants. Weighted replacement cost is not measured SSD throughput, and the static simulation reported the best tested window. [park] Accounting example, not a device measurement: with three initially empty slots, writes to page A and reads of B, C, D leave one backing-page write under either LRU or a full clean-first window after a final drain. CFLRU merely postpones it. Rewriting A before that drain lets CFLRU combine the updates into one write while LRU needs two. These results assume write allocation, no intervening flush and successful serial operations. The method, code, tests and exact traces are downloadable. [accounting] Another constructed trace saves one backing write but adds one read. Under a constant per-operation cost model, its ranking reverses with the write/read cost ratio; this is not an SSD timing prediction. [examples] A constructed window sweep increases drained writes from 4 to 5 at the same 6 reads when the window grows from two to three slots. Both runs finish with the same dirty residents. Local clean-victim preference does not guarantee fewer total writes over a trace. [examples] Replacing partial writes with full-page overwrites in one paired trace preserves hits and victims but shifts the model's cost crossover from w=r to w=2r. Misses need not equal backing reads: this variant assumes complete coverage without fetching old data. [accounting] Limitations: - A dirty-flag probe count excludes page lookup, recency maintenance and allocation; it does not measure total CPU work or make implementations with the same victim decisions equally fast. (sources: [model]) - The replay's dirty-page index avoids scanning clean residents during flush, but adds membership metadata and bookkeeping on dirty-state transitions and evictions. (sources: [model]) - Keeping dirty pages cached is not durable commit. Ext4's default journal covers metadata rather than file contents; a journaling filesystem is not a blanket guarantee for retained dirty user data. (sources: [ext4-journal]) Sources and caveats: - Historical research policy, not a claim about current Linux reclaim or any shipping SSD. - The accounting example is an original deterministic model at /research/clean-first-accounting/model.mjs with downloadable tests and inputs; it is not a paper replication or a NAND-write measurement. Related terms: - [cfdc](https://hesela.dev/terms/cfdc/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [write-amplification](https://hesela.dev/terms/write-amplification/) Citations: - [park] Seon-yeong Park, Dawoon Jung, Jeong-uk Kang, Jin-soo Kim and Joonwon Lee. CFLRU: A Replacement Algorithm for Flash Memory. CASES 2006, sections 3-6. https://www.cecs.uci.edu/~papers/esweek06/cases/p234.pdf (accessed 2026-10-31) - [accounting] Hesela. Clean-first accounting: method, assumptions and reproduction instructions. https://hesela.dev/research/clean-first-accounting/README.md (accessed 2026-10-31) - [model] Hesela. Dependency-free fixed-window CFLRU accounting model. https://hesela.dev/research/clean-first-accounting/model.mjs (accessed 2026-10-31) - [examples] Hesela. CFLRU/LRU traces, window sweep and write-coverage comparison, with backing-read and final-drain accounting. https://hesela.dev/research/clean-first-accounting/examples.json (accessed 2026-10-31) - [tests] Hesela. Portable tests including an independent timestamp-based oracle. https://hesela.dev/research/clean-first-accounting/model.test.mjs (accessed 2026-10-31) - [ext4-journal] Linux kernel documentation. Ext4 journal: metadata, file-data modes and committed recovery scope. https://docs.kernel.org/filesystems/ext4/journal.html (accessed 2026-11-02) ### cgroup v2 I/O controller URL: https://hesela.dev/terms/cgroup-v2-io-controller/ Related analysis: https://hesela.com/analyses/linux-process-io-accounting/ Also known as: cgroup I/O controller, io.max, io.stat Status: shipping Record updated: 2026-11-30 The cgroup v2 I/O controller accounts for and regulates block-device I/O for hierarchical groups of Linux processes. Note: io.stat reports device-keyed byte and operation counts. io.max sets directional bytes-per-second and IOPS limits; temporary bursts are permitted. [cgroup-io] Buffered writeback needs filesystem support. Its ownership is per inode, can switch between groups, and can misattribute concurrent cross-group writers. This differs from per-process accounting. [cgroup-writeback] IOCost models request cost rather than equating bytes or operation counts with device occupancy; its memory-reclaim path can issue over-budget I/O on credit to avoid blocking another group. This is a source-described control mechanism, not a host measurement. [iocost] io.prio.class changes request priority classes under its selected policy; it is separate from io.max rate limiting and can alter the class requested by a thread. [cgroup-io] Latency protection: io.latency can throttle eligible peers with higher numeric or unset targets when a protected group misses its target. Linux v6.12 uses different sample checks for nonrotational and other devices; its counters are not application p99 measurements. [iolatency-code] Limitations: - These counters do not certify crash durability. (sources: [cgroup-io]) Sources and caveats: - Source synthesis from Linux 6.12 documentation; no new host measurements or universal performance guarantee. Related terms: - [pressure-stall-information](https://hesela.dev/terms/pressure-stall-information/) - [process-io-accounting](https://hesela.dev/terms/process-io-accounting/) - [bfq](https://hesela.dev/terms/bfq/) - [linux-io-priority](https://hesela.dev/terms/linux-io-priority/) - [iocost](https://hesela.dev/terms/iocost/) - [dirty-page-throttling](https://hesela.dev/terms/dirty-page-throttling/) Citations: - [cgroup-io] Linux 6.12: cgroup v2 I/O interface and writeback. https://docs.kernel.org/6.12/admin-guide/cgroup-v2.html#io-interface-files (accessed 2026-11-03) - [cgroup-writeback] Linux 6.12: cgroup writeback ownership. https://docs.kernel.org/6.12/admin-guide/cgroup-v2.html#writeback (accessed 2026-11-03) - [iocost] Heo et al.: IOCost, ASPLOS 2022, sections 3.2-3.5; DOI 10.1145/3503222.3507727. https://www.cs.cmu.edu/~dskarlat/publications/iocost_asplos22.pdf (accessed 2026-11-04) - [iolatency-code] Linux v6.12: blk-iolatency.c, peer targets, latency_sum_ok and iolatency_pd_stat. https://github.com/torvalds/linux/blob/v6.12/block/blk-iolatency.c (accessed 2026-11-16) ### Chain replication URL: https://hesela.dev/terms/chain-replication/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Status: research Record updated: 2026-11-30 Chain replication orders replicas so that updates enter at a head, propagate along the chain and complete at a tail that also serves queries. Note: The original OSDI 2004 protocol assumes fail-stop servers and reliable FIFO links. With an object on t servers, up to t-1 of them can fail without compromising availability. A master changes membership, and the prototype replicates that master using Paxos. These are protocol assumptions, not arbitrary-partition availability or multi-object transaction guarantees. [chain-paper] In the paper's simulation with 1 ms per message, an update on a three-server chain takes 94 ms against 7 ms for a query. A tail failure makes processing unavailable for 2 message delivery delays, against 5 for a primary failure under primary/backup. [chain-paper] CRAQ extends this design by letting any node answer reads of clean object versions, so the original tail-only rule is not universal across chain-based protocols. [craq-paper] Advantages: - The head computes each update once and forwards the resulting state, so other replicas only apply writes and the update itself may be non-deterministic. (sources: [chain-paper]) Limitations: - In the original design every query goes to the tail, so adding replicas increases failure tolerance without adding query-serving nodes. (sources: [chain-paper]) Sources and caveats: - chain-paper re-read 2026-10-23 for the fail-stop model, t-1 tolerance, the section 5.1 simulation latencies and the outage comparison. craq-paper re-read for clean-version reads. - A companion analysis on replication acknowledgements is listed but not used in prose. - The read-your-writes entry links here because a reply comes from the tail, which also serves queries, so a client's later query reflects its acknowledged update. read-your-writes is added to related for the reciprocal relation. Related terms: - [synchronous-replication](https://hesela.dev/terms/synchronous-replication/) - [linearizability](https://hesela.dev/terms/linearizability/) - [ceph-peering](https://hesela.dev/terms/ceph-peering/) - [craq](https://hesela.dev/terms/craq/) - [read-your-writes](https://hesela.dev/terms/read-your-writes/) - [assise](https://hesela.dev/terms/assise/) - [corfu](https://hesela.dev/terms/corfu/) - [replex](https://hesela.dev/terms/replex/) - [chained-declustering](https://hesela.dev/terms/chained-declustering/) Citations: - [chain-paper] Robbert van Renesse and Fred B. Schneider: Chain Replication, OSDI 2004, pp. 91-104. https://www.usenix.org/legacy/events/osdi04/tech/full_papers/renesse/renesse.pdf (accessed 2026-10-23) - [hesela-replication] Replication acknowledgements: received, durable, applied. https://hesela.com/analyses/replication-acknowledgements-durability-lag/ (accessed 2026-10-12) - [craq-paper] Jeff Terrace and Michael J. Freedman: Object Storage on CRAQ, USENIX ATC 2009. https://www.usenix.org/legacy/event/usenix09/tech/full_papers/terrace/terrace.pdf (accessed 2026-10-23) ### Chained declustering URL: https://hesela.dev/terms/chained-declustering/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Status: research Record updated: 2026-11-30 Chained declustering places two copies of each data partition on successive nodes of a logical cycle. Note: The primary and backup fragments follow the same partitioning rule, offset by one node. Failure handling can reassign read responsibility without moving stored data; equal-load examples assume uniform access. Losing both neighboring hosts makes their shared fragment unavailable. Logical neighbors need not be physically adjacent. [hsiao-manuscript] This placement scheme does not specify chain replication's head-to-tail update protocol. [chain-paper] Parity declustering instead spreads parity groups over a larger disk pool. [holland1992] Hesela's six-node example enumerates all 64 failed-node subsets. Of the 15 unordered pairs, six remove both copies of a fragment; nine leave at least one copy of every fragment. These are exact configuration counts, not observed failure rates. The model has no repair, write protocol or failure probabilities. [hesela-example] Sources and caveats: - The author bibliography identifies an ICDE February 1990 publication. The linked 30-page manuscript contains draft placeholders; its exact edition and identity with the June 1989 TR854 cited by Petal remain unverified. - Hesela's enumeration is a synthetic placement calculation, not a reproduction of performance or availability measurements. Related terms: - [chain-replication](https://hesela.dev/terms/chain-replication/) - [parity-declustering](https://hesela.dev/terms/parity-declustering/) - [petal](https://hesela.dev/terms/petal/) Citations: - [hsiao-manuscript] Hui-I Hsiao and David J. DeWitt: Chained Declustering, author-hosted manuscript, sections 3-5. https://pages.cs.wisc.edu/~dewitt/includes/paralleldb/dbengin90.pdf (accessed 2026-11-30) - [author-bibliography] David J. DeWitt: publication list, ICDE February 1990 entry. https://pages.cs.wisc.edu/~dewitt/includes/publications.html (accessed 2026-11-30) - [chain-paper] Van Renesse and Schneider: Chain Replication, OSDI 2004, section 3. https://www.usenix.org/legacy/events/osdi04/tech/full_papers/renesse/renesse_html/ (accessed 2026-11-30) - [holland1992] Holland and Gibson: Parity Declustering, ASPLOS 1992, section 2. https://pdl.cmu.edu/PDL-FTP/Declustering/ASPLOS.pdf (accessed 2026-11-30) - [hesela-example] Hesela: six-node replica placement enumeration and tests. https://hesela.dev/research/chained-declustering/README.md (accessed 2026-11-30) ### CHAMELEON URL: https://hesela.dev/terms/chameleon/ Also known as: CHAMELEON storage resource arbitrator Status: research Record updated: 2026-12-02 CHAMELEON is a storage resource arbitrator that combines learned performance models, constrained optimization and incremental I/O throttling. Note: Its SLA bounds average I/O latency while request rate stays below a specified limit. The prototype evaluates it every 60 seconds; this is not a tail-latency or per-request deadline guarantee. [chameleon05] Component, workload and action models inform rate limits. Feedback applies them incrementally, and low model confidence triggers fixed heuristics. The confidence score multiplies inverse prediction standard deviations; it is not a calibrated probability of SLA compliance. [chameleon05] The evaluated system used a 24-drive RAID-1 LUN accessed as a raw device, removing host I/O caching. Its reported 3-14 minute correction times concern those experiments, not a universal recovery bound. [chameleon05] Hippodrome searches storage layouts and migrates data rather than selecting I/O throttle values. [hippodrome02] Sources and caveats: - Source review covers the full USENIX HTML paper. The probability qualification interprets the score's definition in section 4.4; no SLA-probability calibration experiment is claimed. [chameleon05] Related terms: - [hippodrome](https://hesela.dev/terms/hippodrome/) - [facade](https://hesela.dev/terms/facade/) Citations: - [chameleon05] Uttamchandani et al. CHAMELEON: A Self-Evolving, Fully-Adaptive Resource Arbitrator for Storage Systems. USENIX ATC 2005, sections 2-7. https://www.usenix.org/legacy/events/usenix05/tech/general/full_papers/uttamchandani/uttamchandani_html/paper.html (accessed 2026-12-02) - [hippodrome02] Anderson et al. Hippodrome: Running Circles Around Storage Administration. FAST 2002, sections 3-4. https://www.usenix.org/legacy/publications/library/proceedings/fast02/full_papers/andersonHIP/andersonHIP.pdf (accessed 2026-12-02) - [analysis] Hesela: workload feedback and configuration validation. https://hesela.com/analyses/disk-model-demerit-validation/#hippodrome (accessed 2026-12-02) ### Changed block tracking URL: https://hesela.dev/terms/changed-block-tracking/ Related analysis: https://hesela.com/analyses/qcow2-backing-chain-verification/ Also known as: CBT, changed-block tracking Status: shipping Record updated: 2026-10-28 Changed block tracking records written regions of a block device relative to a tracking boundary so a backup can select those regions. Note: A libvirt checkpoint identifies a change-tracking boundary without capturing guest state. Recovery still needs the backup payload and its required predecessors. Application quiescing is a separate capture decision. [libvirt-state-capture] Libvirt associates checkpoint names with per-disk QEMU bitmaps. Before selecting an incremental, its documented checks require an active-image bitmap, a contiguous same-name bitmap subchain, recording state and no inconsistency. Preserve this tracking lineage when changing overlays; a readable disk chain alone is insufficient. [libvirt-bitmap-chain] Related terms: - [dirty-bitmap](https://hesela.dev/terms/dirty-bitmap/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [qcow2](https://hesela.dev/terms/qcow2/) - [snapshot](https://hesela.dev/terms/snapshot/) - [application-quiescing](https://hesela.dev/terms/application-quiescing/) - [dm-era](https://hesela.dev/terms/dm-era/) Citations: - [libvirt-bitmap-chain] libvirt: incremental backup internals, checkpoint relationships and bitmap health. https://libvirt.org/kbase/internals/incremental-backup.html (accessed 2026-10-28) - [libvirt-state-capture] libvirt: domain state capture, quiescing and checkpoint APIs. https://libvirt.org/kbase/domainstatecapture.html (accessed 2026-10-28) ### NAND channel URL: https://hesela.dev/terms/channel-nand/ Status: shipping Record updated: 2026-10-20 A NAND channel is a communication path between an SSD controller and flash components sharing its transfer resources. Note: Independent connections permit concurrent transfers; adding flash components to a shared bus does not increase that bus's bandwidth. Internal cell-array operations and register-to-controller transfers are different stages, and scheduling may overlap them. More channels do not themselves shorten an individual NAND operation. Agrawal and colleagues analyze these architectural tradeoffs using trace-driven simulation; their historical component timings are not current-device specifications. Realized performance depends on workload, data placement, controller resources and the host interface. A NAND channel is not a host PCIe lane, and channel count alone does not determine application latency. [agrawal-atc08] Advantages: - Independent paths can expose parallel work across flash components. (sources: [agrawal-atc08]) - Interleaving can overlap internal operations and transfers when hardware constraints permit. (sources: [agrawal-atc08]) Limitations: - Flash components sharing a channel compete for its transfer bandwidth. (sources: [agrawal-atc08]) - Workload and data placement can prevent available parallelism from being used. (sources: [agrawal-atc08]) Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [flash-controller](https://hesela.dev/terms/flash-controller/) - [ssd](https://hesela.dev/terms/ssd/) - [3d-nand](https://hesela.dev/terms/3d-nand/) - [die-stacking](https://hesela.dev/terms/die-stacking/) - [open-channel-ssd](https://hesela.dev/terms/open-channel-ssd/) - [nvme](https://hesela.dev/terms/nvme/) - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [nand-target](https://hesela.dev/terms/nand-target/) - [nand-logical-unit](https://hesela.dev/terms/nand-logical-unit/) - [nand-plane](https://hesela.dev/terms/nand-plane/) Citations: - [c1] Solid-state drive (Wikipedia), sections on the controller and internal parallelism. https://en.wikipedia.org/wiki/Solid-state_drive (accessed 2026-10-11) - [c2] Open NAND Flash Interface Working Group (Wikipedia). https://en.wikipedia.org/wiki/Open_NAND_Flash_Interface (accessed 2026-10-11) - [agrawal-atc08] Nitin Agrawal, Vijayan Prabhakaran, Ted Wobber, John D. Davis, Mark Manasse and Rina Panigrahy. Design Tradeoffs for SSD Performance. USENIX ATC 2008, sections 2.1-2.2, 3.3 and 4.1. https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal_html/index.html (accessed 2026-10-12) ### Character device URL: https://hesela.dev/terms/character-device/ Also known as: character special file, character-special file Status: shipping Record updated: 2026-11-15 A character device is an operating-system device interface accessed through a character-special file, with supported operations determined by the device implementation. Note: Identity: On Linux, S_ISCHR(st_mode) tests for the character-special file type S_IFCHR. Its st_rdev holds the represented device number; st_dev instead identifies the filesystem device containing the inode. [inode] Node and driver: mknod() creates a filesystem node and records its major/minor device numbers. The kernel's cdev_add() separately makes a character device live, and cdev_init() associates its file operations. Creating a node alone is not evidence of working hardware or an available driver. [mknod] [cdev] Removal boundary: Linux 6.12 cdev_del() prevents new opens of that registered device, but already-open instances can still call its file operations after removal returns. Deregistration is not automatic revocation of existing handles; continued callability does not promise successful I/O or surviving hardware. [cdev] Operations: /dev/null and /dev/zero both discard writes; reads return EOF from /dev/null and zero-valued bytes from /dev/zero. These examples do not store the written payload. [null] Seeking support depends on the device; the character-special type alone does not promise seeking, buffering, one-byte transfers or persistence. [lseek] [cdev] Metadata reuse: In Linux 6.12 OverlayFS, a whiteout can use a character-special node numbered 0:0 or a zero-size regular file carrying trusted.overlay.whiteout. The marker suppresses a matching lower-layer name and is hidden in the merged view; it is not an ordinary data-device interface. [overlayfs] Limitations: - File type and device numbers do not establish a working driver, physical hardware or durable storage. - The documented Linux examples do not define every operating system's device contract. Sources and caveats: - Primary-source documentation synthesis, not a device, mounted-overlay or crash experiment. - Concrete file types, identity fields and whiteout encodings are scoped to the cited Linux interfaces. Related terms: - [block-device](https://hesela.dev/terms/block-device/) - [inode](https://hesela.dev/terms/inode/) - [whiteout](https://hesela.dev/terms/whiteout/) Citations: - [inode] Linux man-pages: inode(7), file type and represented-device identity. https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-11-15) - [mknod] Linux man-pages: mknod(2), device-node creation and device numbers. https://man7.org/linux/man-pages/man2/mknod.2.html (accessed 2026-11-15) - [cdev] Linux 6.12 kernel API: character-device registration and file operations. https://docs.kernel.org/6.12/core-api/kernel-api.html#char-devices (accessed 2026-11-15) - [null] Linux man-pages: null(4), null and zero device behavior. https://man7.org/linux/man-pages/man4/null.4.html (accessed 2026-11-15) - [lseek] Linux man-pages: lseek(2), device-specific seek support. https://man7.org/linux/man-pages/man2/lseek.2.html (accessed 2026-11-15) - [overlayfs] Linux 6.12: Overlay Filesystem, whiteouts and opaque directories. https://docs.kernel.org/6.12/filesystems/overlayfs.html#whiteouts-and-opaque-directories (accessed 2026-11-15) - [hesela] Hesela: device-node type is not a payload or durability contract. https://hesela.com/analyses/atomic-rename-directory-durability/#character-device-identity (accessed 2026-11-15) ### Character encoding URL: https://hesela.dev/terms/character-encoding/ Also known as: Text encoding Status: shipping Record updated: 2026-11-21 A character encoding specifies how text is represented using coded values and their storage or interchange representation. Note: Layers: Unicode distinguishes code points, encoding forms that map scalar values to code units, and encoding schemes that serialize code units as bytes. UTF-8, UTF-16 and UTF-32 are different representations of Unicode text. A code point, code unit and byte are not interchangeable counting units. [unicode-encoding] Counting: UTF-8 stores U+0041 in one byte and U+20AC in three. A user-perceived character can contain several code points, so neither byte count nor code-point count is a universal display-character count. Specify the unit when sizing a text field or comparing names. [rfc-utf8] [unicode-graphemes] Recovery: Record the encoding and decoding-error policy with text-bearing metadata. Replacing undecodable input can discard distinctions in the original bytes; a readable display string is not automatically a reversible filename identifier. Keep the original representation when byte identity is required. [hesela-filenames] Limitations: - An encoding label does not establish Unicode normalization, case-insensitive equality or a filesystem's filename comparison policy. Sources and caveats: - Source-reviewed terminology with constructed text examples, not storage-device measurements. Related terms: - [ascii](https://hesela.dev/terms/ascii/) - [utf-32](https://hesela.dev/terms/utf-32/) - [utf-8](https://hesela.dev/terms/utf-8/) - [unicode-normalization](https://hesela.dev/terms/unicode-normalization/) - [byte](https://hesela.dev/terms/byte/) - [byte-order](https://hesela.dev/terms/byte-order/) - [filename-collision](https://hesela.dev/terms/filename-collision/) - [unicode-scalar-value](https://hesela.dev/terms/unicode-scalar-value/) - [grapheme-cluster](https://hesela.dev/terms/grapheme-cluster/) - [iso-8859-1](https://hesela.dev/terms/iso-8859-1/) - [windows-1252](https://hesela.dev/terms/windows-1252/) - [csv](https://hesela.dev/terms/csv/) Citations: - [unicode-encoding] Unicode 17.0.0: chapter 3, sections 3.9 and 3.10, encoding forms and schemes. https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-3/ (accessed 2026-11-17) - [rfc-utf8] RFC 3629: section 3, UTF-8 definition. https://www.rfc-editor.org/rfc/rfc3629.html#section-3 (accessed 2026-11-17) - [unicode-graphemes] Unicode Standard Annex 29 revision 47: grapheme cluster boundaries. https://www.unicode.org/reports/tr29/tr29-47.html#Grapheme_Cluster_Boundaries (accessed 2026-11-17) - [hesela-filenames] Hesela: filename identity and backup restores. https://hesela.com/analyses/filename-identity-backup-restores/#text-encoding (accessed 2026-11-17) ### Charge trap flash URL: https://hesela.dev/terms/charge-trap-flash/ Also known as: CTF Status: shipping Record updated: 2026-10-17 A flash cell design that stores charge in localized traps within an insulating material rather than on a conductive floating gate. Note: Charge storage and vertical stacking are separate design choices. In the 3D charge-trap structures studied by Luo et al., neighboring cells share a trapping layer; neighbor state affects retention loss. This is not the same event as interference during programming. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [floating-gate](https://hesela.dev/terms/floating-gate/) - [3d-nand](https://hesela.dev/terms/3d-nand/) - [retention-interference](https://hesela.dev/terms/retention-interference/) - [early-retention-loss](https://hesela.dev/terms/early-retention-loss/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [v-nand](https://hesela.dev/terms/v-nand/) - [lateral-charge-spreading](https://hesela.dev/terms/lateral-charge-spreading/) Citations: - [c1] Charge trap flash. https://en.wikipedia.org/wiki/Charge_trap_flash (accessed 2026-03-26) - [luo] Luo, Ghose, Cai, Haratsch and Mutlu. Improving 3D NAND Flash Memory Lifetime by Tolerating Early Retention Loss and Process Variation. POMACS author manuscript, 2018, sections 4.1-4.4. https://ghose.cs.illinois.edu/papers/18sigmetrics_3dflash.pdf (accessed 2026-10-11) - [micron2020] Micron. 176-layer NAND announcement, 9 November 2020: transition to charge trap and replacement gate. https://investors.micron.com/news/press-release/2020/Micron-Ships-Worlds-First-176-Layer-NAND-Delivering-A-Breakthrough-in-Flash-Memory-Performance-and-Density-11-09-2020/default.aspx (accessed 2026-10-11) - [hesela3d] Hesela: 3D NAND retention, cell architecture and evidence limits. https://hesela.com/analyses/3d-nand-retention-evidence/ (accessed 2026-10-11) ### Che approximation URL: https://hesela.dev/terms/che-approximation/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: Characteristic-time approximation, TTL approximation for LRU Status: research Record updated: 2026-11-21 The Che approximation estimates LRU hit probabilities by replacing random, object-dependent eviction times with a common deterministic characteristic time. Note: For independent Poisson requests with rates lambda_i and an equal-size, fully associative LRU cache of C objects, choose T so that sum_i (1 - exp(-lambda_i T)) = C. Then h_i = 1 - exp(-lambda_i T); request hit ratio is sum_i lambda_i h_i / sum_i lambda_i, not the unweighted mean. T is in seconds when rates are per second. This common-time form discards object-specific cutoffs. [fricker] With two objects requested at rates 2 and 1 per second and one slot, Che predicts 53.93% hits; exact stationary LRU gives 55.56%. A one-slot hit requires consecutive requests to match, so its exact probability is (2/3)^2 + (1/3)^2 = 5/9. These are constructed model probabilities. [example] For reset-on-request TTL with inter-request CDF F_i, occupancy is lambda_i times the integral of 1 - F_i(t) from 0 to T. Hit probability is F_i(T), away from expiry ties. Poisson arrivals make them coincide; general renewal arrivals need not. [renewal] An object requested once per second with stationary random phase and a half-second TTL is resident half the time, but every request misses. This TTL example does not describe LRU. [example] The linked code compares the common-time equation with exact stationary recency-order enumeration for small catalogues. A small numerical root residual does not bound the model's difference from LRU. [code] Limitations: - Convergence requires growing caches and catalogues, independent stationary request processes and further regularity/popularity assumptions; it is not an exactness guarantee for a fixed small cache. (sources: [convergence]) - Variable-size byte-capacity equations additionally ignore object-boundary effects; correlated or changing requests and cache hierarchies require separate modelling. (sources: [fricker], [renewal]) Sources and caveats: - Selected full-text methods and limitations read in three primary papers; no original workload or hardware benchmark reproduced. - The name refers to Che, Tung and Wang (2002); the common-time equations here are verified from the explicitly versioned 2012 treatment, not a claimed reading of the original 2002 paper. - Exact recency-order enumeration is Hesela's independent small-state arithmetic control, not the cited papers' experimental implementation. Related terms: - [independent-reference-model](https://hesela.dev/terms/independent-reference-model/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) - [average-eviction-time](https://hesela.dev/terms/average-eviction-time/) - [tsetlin-library](https://hesela.dev/terms/tsetlin-library/) Citations: - [fricker] Fricker, Robert and Roberts. A versatile and accurate approximation for LRU cache performance. arXiv:1202.3974v1 (2012), sections 2-4. https://arxiv.org/pdf/1202.3974v1 (accessed 2026-11-19) - [renewal] Martina, Garetto and Leonardi. A unified approach to the performance analysis of caching systems. arXiv:1307.6702v6 (2016), sections II-IV.A. https://arxiv.org/pdf/1307.6702v6 (accessed 2026-11-19) - [convergence] Jiang, Nain and Towsley. On the Convergence of the TTL Approximation for an LRU Cache. arXiv:1707.06204v4 (2018), sections 2-4. https://arxiv.org/pdf/1707.06204v4 (accessed 2026-11-19) - [example] Hesela. Constructed common-time, exact-LRU and periodic-TTL controls, with explicit units and assumptions. https://hesela.dev/research/che-approximation/evidence.json (accessed 2026-11-19) - [code] Hesela. Dependency-free arithmetic and exact small-catalogue stationary LRU enumeration. https://hesela.dev/research/che-approximation/model.mjs (accessed 2026-11-19) - [tests] Hesela. Analytic, rate-scaling, monotonicity and invalid-input tests. https://hesela.dev/research/che-approximation/model.test.mjs (accessed 2026-11-19) - [observatory] Hesela. Storage cache models and workload assumptions. https://hesela.com/analyses/ssd-mapping-cache-hmb/ (accessed 2026-11-19) ### Checkpoint starvation URL: https://hesela.dev/terms/checkpoint-starvation/ Related analysis: https://hesela.com/analyses/sqlite-wal-checkpoint-starvation/ Also known as: SQLite WAL checkpoint starvation Status: shipping Record updated: 2026-11-28 Checkpoint starvation is sustained inability to finish or reset a database log checkpoint because the required progress conditions keep being obstructed. Note: In SQLite WAL, retained reader snapshots can constrain backfill and recycling while later writes continue. [sqlite-wal] A two-case observation separates a pinned transaction from an idle open connection; it is not a production failure-rate study. [hesela-observation] A PASSIVE result can report busy=0 with fewer checkpointed frames than current log frames. [sqlite-checkpoint-pragma] A completed or cancelled backup can leave a source read that the caller opened earlier. In 84 synthetic runs on two builds, that read retained WAL history after backup cleanup; a reader-only control did the same. BEGIN alone did not pin a read between steps. Per-schema transaction state distinguishes it from BEGIN plus SELECT. [retention-data] [txn-state] journal_size_limit=0 did not cap the live WAL in those fixtures: required frames remained until the owned read ended. The setting controls retained file size around reset, not an unconditional quota. File length is not physical I/O or a timing measurement. [journal-limit] [retention] Ending starvation is not history erasure. In a separate SQLite 3.45.1 deletion fixture with core secure_delete ON, a pinned reader caused a busy TRUNCATE result. After reader release, FULL and RESTART completed but retained the deleted token in the WAL. Successful TRUNCATE shortened that logical file to zero; an earlier backup still returned the original row. These are stages of one controlled lifecycle, not independent trials or a media-sanitization test. [deletion-data] RESTART prepares the log for reuse by the next writer; TRUNCATE additionally shortens it on success. Historical WAL bytes need not survive reuse indefinitely. Do not delete a live WAL manually. [deletion-contract] [sqlite-wal] close_v2 can retain a reader. [close-lifecycle-contract] Limitations: - A large WAL file alone does not identify starvation; file length can remain high after progress. (sources: [sqlite-wal]) - Checkpoint counters include earlier backfill, not just new work per call. (sources: [deletion-contract]) - WAL frame validity requires matching salts and cumulative checksums; stored residue alone does not establish replay eligibility. (sources: [deletion-wal-format]) - An unfinalized statement can delay destruction without pinning a snapshot: unstepped, drained and reset SELECT controls allowed TRUNCATE in the recorded fixtures. (sources: [close-lifecycle-data]) Sources and caveats: - The deletion fixture does not run a subsequent writer/reset; residue after reuse was not measured. [deletion-data] - Twelve native C-API schedules per build on SQLite 3.45.1 and 3.54.1; an active SELECT prevented TRUNCATE completion after close_v2 returned OK. No crash, performance or failure-rate measurement. [close-lifecycle-data] - A separate C observer matched all 48 executions (12 schedules, two recorded engine binaries, two harness compiler modes). Same host and binaries, with the earlier packet visible; not external peer review, field samples or power-loss evidence. [close-native-data] Related terms: - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [sqlite-wal-end-mark](https://hesela.dev/terms/sqlite-wal-end-mark/) - [sqlite-online-backup](https://hesela.dev/terms/sqlite-online-backup/) - [sqlite-transaction-state](https://hesela.dev/terms/sqlite-transaction-state/) - [sqlite-snapshot-handle](https://hesela.dev/terms/sqlite-snapshot-handle/) Citations: - [sqlite-wal] SQLite: Write-Ahead Logging, sections 2, 6 and 11. https://www.sqlite.org/wal.html (accessed 2026-10-14) - [sqlite-checkpoint-pragma] SQLite: PRAGMA wal_checkpoint, three-column result. https://www.sqlite.org/pragma.html#pragma_wal_checkpoint (accessed 2026-10-14) - [hesela-readers] SQLite WAL checkpoint starvation: success is not completion. https://hesela.com/analyses/sqlite-wal-checkpoint-starvation/ (accessed 2026-10-14) - [hesela-observation] Hesela: measured SQLite WAL-reader observations and limits. https://hesela.dev/research/sqlite-wal-readers.json (accessed 2026-10-14) - [retention-data] Hesela: two-build source-read retention experiment, derived summary and receipt hashes. https://hesela.dev/research/sqlite-backup-retention/summary.json (accessed 2026-10-21) - [journal-limit] SQLite: PRAGMA journal_size_limit, retained file size and reset. https://sqlite.org/pragma.html#pragma_journal_size_limit (accessed 2026-10-21) - [txn-state] SQLite: per-schema transaction state. https://sqlite.org/c3ref/txn_state.html (accessed 2026-10-21) - [retention] Hesela: source-read ownership after backup cleanup, method and limitations. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#sqlite-backup-retention (accessed 2026-10-21) - [deletion-contract] SQLite: checkpoint modes, completion and truncation. https://www.sqlite.org/c3ref/wal_checkpoint_v2.html (accessed 2026-10-30) - [deletion-data] Hesela: generated SQLite deletion observations, two retained runs and explicit limits. https://hesela.dev/research/sqlite-deletion-scope/summary.json (accessed 2026-10-30) - [deletion-package] Hesela: standalone SQLite deletion evidence, code and 42 raw files. https://hesela.dev/research/sqlite-deletion-scope/package.zip (accessed 2026-10-30) - [deletion-wal-format] SQLite Database File Format: WAL frame validity and reset (sections 4.1 and 4.4). https://sqlite.org/fileformat2.html#walreset (accessed 2026-10-30) - [close-lifecycle-contract] SQLite C API: closing a connection and deferred destruction. https://sqlite.org/c3ref/close.html (accessed 2026-11-09) - [close-lifecycle-data] Hesela: twelve native close-lifecycle schedules on each of two SQLite builds. https://hesela.dev/research/sqlite-close-lifecycle/summary.json (accessed 2026-11-09) - [close-lifecycle-package] Hesela: SQLite close-lifecycle sources, raw observations and replay code. https://hesela.dev/research/sqlite-close-lifecycle/package.zip (accessed 2026-11-09) - [close-native-data] Hesela: separate native C verification of the existing close-lifecycle schedules. https://hesela.dev/research/sqlite-close-native-verification/summary.json (accessed 2026-11-09) - [close-native-package] Hesela: both close-lifecycle observers, retained results and source snapshots. https://hesela.dev/research/sqlite-close-native-verification/package.zip (accessed 2026-11-09) ### Checksum URL: https://hesela.dev/terms/checksum/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Data checksum Status: shipping Record updated: 2026-11-22 A checksum is a value computed from specified data and later compared with a reference value to detect changes. Note: A checksum names a checking role, not a security level. Storage systems can use a CRC or a cryptographic digest in that role. Btrfs supports both categories. State the covered bytes, algorithm and location of the reference value; disagreement alone does not identify which copy is correct. [nist-checksum] [btrfs-checksumming] Constructed same-length CRC collisions distinguish burst span from changed-bit count in the linked experiment. [hesela-crc] XZ listing can display a stored checksum without testing the payload. In a nine-fixture native study on XZ Utils/liblzma 5.4.5, a one-bit payload mutation left the verbose listing unchanged but failed full testing. An absent data check and an explicitly ignored check are different policies; correct output bytes can also precede a failed final check. These are designed controls on one build, not corruption-rate estimates. [xz-list-source] [xz-manual-source] [hesela-xz] CPIO crc uses a byte sum, not a CRC. In controlled GNU cpio 2.15 runs, detected checksum errors produced diagnostics but exit status zero. The tested libarchive 3.7.2 reader did not check that sum. Algorithm, reader policy and failure signalling are separate properties. [cpio-format] [cpio-gnu-source] [cpio-libarchive] [hesela-cpio] RocksDB v10.10.1 separates verification from byte provenance: fill_cache=false prevents cache filling, not lookup of existing entries. Its SST data-block verifier can use a configured persistent cache; serialized hits run trailer verification when verify_checksums=true (the default), while uncompressed hits return before that comparison. A cache may supply separate checks. This source review does not establish a fresh physical-media read or report an engine experiment. [rocks-read-options] [rocks-block-reader] [rocks-block-fetcher] Limitations: - CRC error-detection properties depend on the polynomial, message length and error model; CRC is not an authentication mechanism. (sources: [rfc3385]) - A valid checksum alone does not establish the requested address, committed generation or successful repair. (sources: [hesela-integrity]) - A matching checksum does not establish that filesystem metadata relationships are consistent. (sources: [recon12]) - A checksum can protect a representation after numerical conversion has already changed the intended source values. (sources: [hesela-hdf5-cast]) - A liblzma check-type notification is not a completed comparison. In the v5.4.5 streaming API, LZMA_CONCATENATED requires LZMA_FINISH before LZMA_STREAM_END can be returned; filling an output buffer is not that completion signal. (sources: [xz-api-source]) - In XZ for Java 1.10, SingleXZInputStream completion covers one stream, whereas XZInputStream processes concatenated input. Reading the expected decoded length alone can leave footer validation unfinished; a short positive read can precede a pending exception. (sources: [xz-java-single], [xz-java-file]) - A checksum diagnostic need not prevent output: the tested GNU cpio 2.15 stdout and disk-extraction modes exposed the altered bytes. Stage and verify output before irreversible downstream use; this is not an atomicity or durability guarantee. (sources: [cpio-gnu-source], [hesela-cpio]) - RocksDB's block_protection_bytes_per_key creates a reference on block load. It does not enable the separate memtable or write-batch protection settings, nor establish the application's intended value. (sources: [rocks-memory-protection]) - RocksDB v10.10.1 DB::VerifyChecksum() forwards the supplied ReadOptions. With verify_checksums=false, the data-block fetcher skips its trailer checksum comparison; parsing and I/O errors remain possible. The method name alone does not establish an executed comparison. (sources: [rocks-verify-dispatch], [rocks-block-reader], [rocks-block-fetcher]) - RocksDB v10.10.1 takes the block checksum type from the SST footer. With verify_checksums=true and kNoChecksum, the computation returns constant zero and does not hash the payload; a trailer comparison still occurs. Success is not payload-integrity evidence. BlockBasedTableOptions::checksum defaults to kXXH3 for newly created files, not a retrofit of existing SSTs. (sources: [rocks-checksum-reader], [rocks-checksum-format], [rocks-checksum-options]) - In libFLAC 1.4.3 and 1.5.0 controls, seeking to sample zero disabled MD5 comparison while the setting getter stayed true and all samples were returned. Reset restored checking; a fresh enabled pass rejected the wrong reference at finish. Reusing the decoder after finish requires enabling the setting again before initialization, because finish restores constructor defaults. (sources: [flac-api-contract], [hesela-flac]) - Equal FLAC sample digests do not bind sample-rate or channel-mask metadata. Identical digest inputs can describe different durations or speaker assignments without a hash collision. (sources: [flac-format-contract], [hesela-flac]) - The tested FLAC CLI accepted an unset sample MD5 with a warning; -w rejected it. Warning policy does not establish whole-file identity. (sources: [flac-cli-policy], [hesela-flac]) - A bounded OpenZFS zfs-2.3.4 scalar-function study gives identical four-word Fletcher-4 checksums for [0,4,0,4,0] and [1,0,6,0,1]. Six bits change while the original reference stays fixed. The signed difference [1,-4,6,-4,1] cancels the four position moments without overflow. This is constructed algorithm-level evidence, not a mounted-pool test or hardware-error frequency estimate. A 256-bit stored result alone does not establish a universal 2^-256 miss probability. Exact inputs, controls, source pins and an offline replay bundle are linked. (sources: [fletcher4-code], [fletcher4-packet]) - In two constructed SQLite 3.45.1 captures, a three-byte BLOB change preserved the original WAL checksums and a later committed marker; integrity_check returned ok. A one-byte rejection control recovered the old base state, also structurally ok. Matching checksums and structural checks alone establish neither the intended value nor its generation. A direct-C follow-through on SQLite 3.45.1 and 3.51.0 completed all 16 backups; cold main-file-only copies retained these discrepancies while integrity_check stayed ok. Copying fidelity is not source correctness. (sources: [sqlite-wal-format], [sqlite-wal-neutral], [sqlite-backup-contract], [sqlite-backup-evidence]) Sources and caveats: - XZ: nine designed synthetic fixtures, 36 reader observations per capture, two retained repeats on one XZ Utils/liblzma 5.4.5 binary; no field rate or independent replication. Evidence: https://hesela.dev/research/xz-verification/README.md - CPIO: eleven synthetic regular-file fixtures, 55 native reader operations per retained capture and same-host replays. GNU cpio 2.15 / libarchive 3.7.2; not a field-rate or kernel-boot experiment. https://hesela.dev/research/cpio-checksum-contract/README.md - FLAC: six synthetic files and 84 native operations across libFLAC 1.4.3 and 1.5.0; same-host reproduction of documented behavior, not field rates or independent peer replication. Evidence: https://hesela.dev/research/flac-verification/PUBLICATION.md - Fletcher-4: nine constructed configurations, pinned scalar functions and a fixed reference. No mounted pool, field-rate estimate or independent peer replication. https://hesela.dev/research/fletcher4/results.json - Fletcher-4 source pins, licensing and claim limits: https://hesela.dev/research/fletcher4/sources.json - SQLite WAL: four designed cases in each of two captured SQLite 3.45.1 fixtures; original fields and exact payloads retained. No power loss, random-fault estimate or independent-person replication. https://hesela.dev/research/sqlite-wal-neutral/results.json - SQLite backup follow-through: two frozen captures x four designed cases x two engine builds. All 16 copies completed; only intact controls matched both expected payload and marker. One host, no field rate or independent-person replication. https://hesela.dev/research/sqlite-wal-backup/summary.json Related terms: - [silent-data-corruption](https://hesela.dev/terms/silent-data-corruption/) - [refs-integrity-streams](https://hesela.dev/terms/refs-integrity-streams/) - [fits-checksum](https://hesela.dev/terms/fits-checksum/) - [full-object-checksum](https://hesela.dev/terms/full-object-checksum/) - [composite-checksum](https://hesela.dev/terms/composite-checksum/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [btrfs-nodatasum](https://hesela.dev/terms/btrfs-nodatasum/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [dm-integrity](https://hesela.dev/terms/dm-integrity/) - [lz4-frame](https://hesela.dev/terms/lz4-frame/) - [block-independent-compression](https://hesela.dev/terms/block-independent-compression/) - [cyclic-redundancy-check](https://hesela.dev/terms/cyclic-redundancy-check/) - [crc32c](https://hesela.dev/terms/crc32c/) - [hamming-distance](https://hesela.dev/terms/hamming-distance/) - [algebraic-signature](https://hesela.dev/terms/algebraic-signature/) - [npy](https://hesela.dev/terms/npy/) - [npz](https://hesela.dev/terms/npz/) - [warc-revisit-record](https://hesela.dev/terms/warc-revisit-record/) - [hexadecimal](https://hesela.dev/terms/hexadecimal/) - [file-signature](https://hesela.dev/terms/file-signature/) - [adler-32](https://hesela.dev/terms/adler-32/) - [fletcher-checksum](https://hesela.dev/terms/fletcher-checksum/) Citations: - [nist-checksum] NIST CSRC glossary: checksum (definitions with source attribution). https://csrc.nist.gov/glossary/term/checksum (accessed 2026-10-12) - [btrfs-checksumming] Btrfs documentation: Checksumming, algorithm choices and verification boundary. https://btrfs.readthedocs.io/en/latest/Checksumming.html (accessed 2026-10-12) - [rfc3385] RFC 3385: iSCSI CRC/Checksum Considerations, sections 1-2 and 10 (historical error-model analysis). https://www.rfc-editor.org/rfc/rfc3385.html (accessed 2026-10-12) - [hesela-integrity] Hesela: Why a valid checksum can still return the wrong data. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-10-12) - [recon12] Fryer et al. Recon: Verifying File System Consistency at Runtime. FAST 2012, sections 2, 4.1 and 5. https://www.usenix.org/legacy/events/fast/tech/full_papers/Fryer2-16-12.pdf (accessed 2026-10-13) - [hesela-crc] Hesela: CRC polynomials, constructed error patterns and exact small-code enumeration. https://hesela.com/analyses/crc-polynomials-error-patterns/ (accessed 2026-10-18) - [hesela-hdf5-cast] Hesela: HDF5 integer casts and checksum-protected representations. https://hesela.com/analyses/checksums-identity-and-lost-writes/#hdf5-integer-conversion (accessed 2026-10-20) - [xz-list-source] XZ v5.4.5 list.c: parse_check_value and parse_details. https://raw.githubusercontent.com/tukaani-project/xz/49053c0a649f4c8bd2b8d97ce915f401fbc0f3d9/src/xz/list.c (accessed 2026-10-24) - [xz-manual-source] XZ v5.4.5 manual: test/list modes, data-check policy and --ignore-check. https://raw.githubusercontent.com/tukaani-project/xz/49053c0a649f4c8bd2b8d97ce915f401fbc0f3d9/src/xz/xz.1 (accessed 2026-10-24) - [hesela-xz] Hesela: XZ stored checks, executed checks and intended stream sequence. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#xz-verification (accessed 2026-10-24) - [xz-api-source] liblzma v5.4.5 container.h: decoder notifications and concatenated-stream completion. https://raw.githubusercontent.com/tukaani-project/xz/49053c0a649f4c8bd2b8d97ce915f401fbc0f3d9/src/liblzma/api/lzma/container.h (accessed 2026-10-24) - [xz-java-single] XZ for Java 1.10: SingleXZInputStream completion and pending-exception contract. https://raw.githubusercontent.com/tukaani-project/xz-java/0f5ee02ca950b5e7cdadf89f8c314388092ad64c/src/org/tukaani/xz/SingleXZInputStream.java (accessed 2026-10-24) - [xz-java-file] XZ for Java 1.10: XZInputStream concatenation and input-end handling. https://raw.githubusercontent.com/tukaani-project/xz-java/0f5ee02ca950b5e7cdadf89f8c314388092ad64c/src/org/tukaani/xz/XZInputStream.java (accessed 2026-10-24) - [cpio-format] Linux v6.8 initramfs format: c_magic and c_chksum. https://www.kernel.org/doc/html/v6.8/driver-api/early-userspace/buffer-format.html (accessed 2026-10-25) - [cpio-gnu-source] GNU cpio 2.15 source: copyin.c lines 523-545 and 1561-1568; paxexit*.c. https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.bz2 (accessed 2026-10-25) - [cpio-libarchive] libarchive v3.7.2 CPIO reader: format detection, header_newc and read_data. https://github.com/libarchive/libarchive/blob/v3.7.2/libarchive/archive_read_support_format_cpio.c (accessed 2026-10-25) - [hesela-cpio] Hesela: CPIO checksum scope, reader policy and failure signalling. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#cpio-checksum-contract (accessed 2026-10-25) - [rocks-read-options] RocksDB v10.10.1 options.h: ReadOptions checksum and cache-insertion controls. https://raw.githubusercontent.com/facebook/rocksdb/4595a5e95ae8525c42e172a054435782b3479c57/include/rocksdb/options.h (accessed 2026-11-01) - [rocks-block-reader] RocksDB v10.10.1 BlockBasedTable: cache lookup and VerifyChecksumInBlocks. https://raw.githubusercontent.com/facebook/rocksdb/4595a5e95ae8525c42e172a054435782b3479c57/table/block_based/block_based_table_reader.cc (accessed 2026-11-01) - [rocks-block-fetcher] RocksDB v10.10.1 BlockFetcher: uncompressed, serialized and file read paths. https://raw.githubusercontent.com/facebook/rocksdb/4595a5e95ae8525c42e172a054435782b3479c57/table/block_fetcher.cc (accessed 2026-11-01) - [rocks-memory-protection] RocksDB v10.10.1 AdvancedColumnFamilyOptions: separate block and memtable per-key protection controls. https://raw.githubusercontent.com/facebook/rocksdb/4595a5e95ae8525c42e172a054435782b3479c57/include/rocksdb/advanced_options.h (accessed 2026-11-01) - [rocks-verify-dispatch] RocksDB v10.10.1 DBImpl::VerifyChecksum and VerifyChecksumInternal: ReadOptions forwarding to SST verification. https://raw.githubusercontent.com/facebook/rocksdb/4595a5e95ae8525c42e172a054435782b3479c57/db/db_impl/db_impl.cc (accessed 2026-11-01) - [rocks-checksum-reader] RocksDB v10.10.1 VerifyBlockChecksum: footer algorithm, context-adjusted trailer comparison. https://raw.githubusercontent.com/facebook/rocksdb/4595a5e95ae8525c42e172a054435782b3479c57/table/block_based/reader_common.cc (accessed 2026-11-01) - [rocks-checksum-format] RocksDB v10.10.1 ComputeBuiltinChecksum: payload-independent kNoChecksum result. https://raw.githubusercontent.com/facebook/rocksdb/4595a5e95ae8525c42e172a054435782b3479c57/table/format.cc (accessed 2026-11-01) - [rocks-checksum-options] RocksDB v10.10.1 BlockBasedTableOptions: checksum selection for new SST files. https://raw.githubusercontent.com/facebook/rocksdb/4595a5e95ae8525c42e172a054435782b3479c57/include/rocksdb/table.h (accessed 2026-11-01) - [flac-api-contract] Xiph libFLAC decoder API: configured MD5 flag, seek/reset and finish. https://xiph.org/flac/api/group__flac__stream__decoder.html (accessed 2026-11-02) - [flac-format-contract] RFC 9639: FLAC sample MD5 and channel-mask interpretation, sections 8.2 and 8.6.2. https://www.rfc-editor.org/rfc/rfc9639.html (accessed 2026-11-02) - [flac-cli-policy] Xiph FLAC CLI manual: test mode and warnings-as-errors. https://xiph.org/flac/documentation_tools_flac.html (accessed 2026-11-02) - [hesela-flac] Hesela: FLAC decoder history, checksum scope and preservation policy. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#flac-verification (accessed 2026-11-02) - [fletcher4-code] OpenZFS zfs-2.3.4: pinned scalar Fletcher-4 functions and overflow arithmetic. https://github.com/openzfs/zfs/blob/34f96a15c73eab27dd6ad17bb5f1263bf26e37d7/module/zcommon/zfs_fletcher.c (accessed 2026-11-15) - [fletcher4-packet] Hesela: pinned Fletcher-4 scalar study, exact results, controls and offline replay (synthetic algorithm fixtures). https://hesela.dev/research/fletcher4/reproduce.zip (accessed 2026-11-15) - [sqlite-wal-format] SQLite file format: WAL checksum recurrence and frame coverage, sections 4.1-4.2. https://www.sqlite.org/fileformat2.html#walformat (accessed 2026-11-17) - [sqlite-wal-neutral] Hesela: SQLite WAL checksum-neutral native fixtures, controls and offline replay. https://hesela.dev/research/sqlite-wal-neutral/reproduce.zip (accessed 2026-11-17) - [sqlite-backup-contract] SQLite C Backup API: completed copying versus finish status. https://www.sqlite.org/c3ref/backup_finish.html (accessed 2026-11-17) - [sqlite-backup-evidence] Hesela: 16 direct-C backups, exact output images and two-build reproduction supplement. https://hesela.dev/research/sqlite-wal-backup/reproduce.zip (accessed 2026-11-17) ### Chimp compression URL: https://hesela.dev/terms/chimp-compression/ Also known as: Chimp128 Status: research Record updated: 2026-11-17 Chimp is a lossless floating-point time-series compression method that encodes XOR residuals using compact leading-zero categories and selective trailing-zero removal. Note: Mechanism: The basic method uses two-bit cases and eight leading-zero categories. Its binary64 variant removes trailing zeros when their count exceeds six; otherwise those bits remain in the payload. [paper] [code] History: Chimp128 adds a bounded history and a low-bit lookup to find an earlier reference. It does not exhaustively compare all 128 predecessors on every input. Reference identifiers and lookup memory have costs. [paper] Counterexample: In the synthetic ledger, a residual with 16 leading and 7 trailing zeros costs 52 bits in the tail branch, versus 50 with an already reusable leading category. A threshold rule need not minimize each individual encoding decision. [ledger] Data domain: The pinned Java decoder reserves the raw word 0x7ff8000000000000 as an end marker. That NaN payload cannot be treated as an ordinary sample by this decoder; the XOR operation itself does not impose that restriction. [decoder] Sources and caveats: - Paper DOI: 10.14778/3551793.3551852. Its evaluation uses 14 time-series and five other datasets with 1000-value blocks, not every telemetry population. - Source inspection, not native execution, establishes the implementation-specific sentinel boundary. It is not a claim that every Chimp format rejects that word. - The synthetic ledger excludes terminators and byte padding and does not implement Chimp128 or decode a stream. No paper benchmark or speedup is reproduced. Related terms: - [gorilla-compression](https://hesela.dev/terms/gorilla-compression/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) Citations: - [paper] Liakos, Papakonstantinopoulou and Kotidis, Chimp, PVLDB 15(11), 3058-3070 (2022). https://www.vldb.org/pvldb/vol15/p3058-liakos.pdf (accessed 2026-11-17) - [code] Chimp Java encoder: leading buckets and state updates, pinned 320d397. https://github.com/panagiotisl/chimp/blob/320d397157c7e0696b3c64dc1711fc17a3add3da/src/main/java/gr/aueb/delorean/chimp/Chimp.java (accessed 2026-11-17) - [decoder] Chimp Java decoder: NAN_LONG end-of-stream sentinel, pinned 320d397. https://github.com/panagiotisl/chimp/blob/320d397157c7e0696b3c64dc1711fc17a3add3da/src/main/java/gr/aueb/delorean/chimp/ChimpDecompressor.java (accessed 2026-11-17) - [ledger] Hesela: exact XOR-window and restart accounting. https://hesela.dev/research/xor-window/README.md (accessed 2026-11-17) ### chmod URL: https://hesela.dev/terms/chmod/ Also known as: change file mode, fchmod, fchmodat Status: shipping Record updated: 2026-11-16 chmod changes a file's permission and special mode bits without changing its owner or group. Note: Mode and identity: chmod() names a file by pathname and follows a final symbolic link, while fchmod() uses an open descriptor. The caller normally needs ownership or CAP_FOWNER on Linux. These calls change file metadata, not the descriptor's read/write access mode. [chmod] ACL interaction: where a Linux access ACL has a mask, the group mode bits represent ACL_MASK rather than the owning-group entry. A mode change can therefore alter effective permissions for named users and groups while their entries remain stored. Without a mask, group bits correspond to ACL_GROUP_OBJ. [acl] Special bits: when the caller lacks CAP_FSETID and the file group is outside its effective and supplementary groups, Linux clears a requested setgid bit without reporting an error. Later writes may also clear setuid/setgid execution bits. Check the resulting state, not just a successful return. [chmod] Retained access: a narrower mode is not a universal revocation mechanism. Local open descriptions may retain access, while Linux documents server-side NFS checks that affect already-open files. Ownership changes and final mode/ACL restoration must be coordinated. [chmod] [hesela-acl] Link metadata: Linux ordinary symbolic links retain mode 0777; these bits do not control access and cannot be changed. Link ownership still matters to sticky-directory and protected-symlink rules. [symlink] Limitations: - Permission bits do not encode every filesystem or security-policy access check. Sources and caveats: - Documentation synthesis of Linux behavior, not a new experiment. The linked analysis separately reports its existing local ACL and retained-access observations. - The syscall family is described here; command-line symbolic-mode parsing and recursive traversal options have separate utility contracts. Related terms: - [chown](https://hesela.dev/terms/chown/) - [acl-mask](https://hesela.dev/terms/acl-mask/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [symbolic-link](https://hesela.dev/terms/symbolic-link/) Citations: - [chmod] Linux man-pages: chmod(2), mode changes, special bits and NFS. https://man7.org/linux/man-pages/man2/chmod.2.html (accessed 2026-11-16) - [acl] Linux ACL project: acl(5), correspondence between ACL entries and permission bits. https://man7.org/linux/man-pages/man5/acl.5.html (accessed 2026-11-16) - [hesela-acl] Hesela: restoring Linux ACLs and retained-access observations. https://hesela.com/analyses/posix-acl-restore-permissions/ (accessed 2026-11-16) - [symlink] Linux man-pages: symlink(7), link metadata and pathname components. https://man7.org/linux/man-pages/man7/symlink.7.html (accessed 2026-11-16) ### Chopper URL: https://hesela.dev/terms/chopper/ Also known as: Chopper block-allocation diagnosis Status: research Record updated: 2026-11-21 Chopper is a filesystem diagnostic framework that samples workload and environment factors to expose unexpected block-allocation layouts. Note: The FAST 2015 study used Latin hypercube sampling and sensitivity analysis with 16,384 experimental treatments on Linux 3.12.5. Its d-span response measures spatial spread in bytes, not elapsed time; a multi-file treatment contributes its largest file d-span. The tail across selected treatments is not a production request-latency percentile. [paper] Equal d-span can hide different internal layouts. The pinned monitor computes an outer endpoint difference for selected leaf extents. [code] In the linked synthetic example, two four-block files each span 32,768 bytes but have two versus four contiguous runs. No device latency is calculated. [example] The author artifact includes workload generation, layout collection and analysis. Creating and mounting experimental filesystems requires a disposable environment; its historical setup is not a safe command to run against existing data. [artifact] Limitations: - Results from the historical kernel do not establish defects in current ext4 or XFS. - An allocation-layout proxy cannot by itself predict latency on a particular storage stack. Sources and caveats: - Source review and original synthetic arithmetic only; no Chopper benchmark, kernel patch or physical-device experiment was run. - Example endpoints are half-open byte intervals. It illustrates information loss in a span metric, not a byte-for-byte replay of every historical filesystem parser. Related terms: - [filesystem-aging](https://hesela.dev/terms/filesystem-aging/) - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [dynamic-layout-score](https://hesela.dev/terms/dynamic-layout-score/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [paper] He et al. Reducing File System Tail Latencies with Chopper. FAST 2015, pp. 119-133, sections 2.1-2.4 and 3.1.1. https://files.usenix.org/s3fs-public/cdn/fast15-paper-he.pdf (accessed 2026-11-21) - [code] Chopper ef41fc432e4d: Monitor.py, get_d_span_from_extent_list and per-file d-span output. https://github.com/junhe/chopper/blob/ef41fc432e4d124bcc1b8a4b24f9a89bc27a73b9/src/MWpyFS/Monitor.py (accessed 2026-11-21) - [artifact] Chopper ef41fc432e4d: author tutorial, experimental setup and worker isolation. https://github.com/junhe/chopper/blob/ef41fc432e4d124bcc1b8a4b24f9a89bc27a73b9/README.md (accessed 2026-11-21) - [example] Hesela: exact synthetic layouts with equal spatial span and unequal contiguous-run counts. https://hesela.dev/research/chopper-layout.mjs (accessed 2026-11-21) ### chown URL: https://hesela.dev/terms/chown/ Also known as: change file ownership, fchown, lchown, fchownat Status: shipping Record updated: 2026-11-16 chown changes a file's owning user or group identity and can also change security-relevant metadata. Note: Object selection: chown() follows a final symbolic link, lchown() changes the link itself, and fchown() uses an open descriptor. Passing -1 for an owner or group argument leaves that identifier unchanged. Recursive traversal is a command-line utility option, not a property of the syscall. [chown] Authority: Linux requires CAP_CHOWN for arbitrary owner changes. A file owner can select a group they belong to; arbitrary group changes require privilege. Group ownership is separate from group permission bits and from named ACL entries. [chown] [acl] Security metadata: changing an executable file's owner or group can clear setuid/setgid execution bits and file capabilities. The documented non-group-executable setgid exception prevents treating this as a rule that every ownership change clears both bits. [chown] Restore order: complete ownership changes before final permission restoration, with authority for the remaining operations. The install implementation follows that ordering because ownership changes can clear special bits. Coordinate the final mode with the intended access ACL, since group bits may represent its mask; verify all final metadata and operation results. This is not a complete restore or durability protocol. [install] [acl] Path boundary: fchownat() with AT_SYMLINK_NOFOLLOW selects the final link, not a no-symlink policy for earlier components. A directory descriptor anchors relative lookup, not confinement: absolute paths ignore it. [chown] [symlink] Limitations: - An identical numeric owner/group pair does not establish identical identity mapping between hosts. Sources and caveats: - Documentation and implementation review, not an ownership-switching experiment. Linux-specific privilege and special-bit rules must not be generalized to every operating system. - The syscall family is described here; recursive ownership-changing utilities and identity mapping require their own controls. Related terms: - [chmod](https://hesela.dev/terms/chmod/) - [setgid-directory](https://hesela.dev/terms/setgid-directory/) - [symbolic-link](https://hesela.dev/terms/symbolic-link/) Citations: - [chown] Linux man-pages: chown(2), owner/group changes and security metadata. https://man7.org/linux/man-pages/man2/chown.2.html (accessed 2026-11-16) - [acl] Linux ACL project: acl(5), owner/group roles and ACL mask. https://man7.org/linux/man-pages/man5/acl.5.html (accessed 2026-11-16) - [install] GNU coreutils 9.5: install.c, change_attributes ordering. https://raw.githubusercontent.com/coreutils/coreutils/v9.5/src/install.c (accessed 2026-11-16) - [hesela-acl] Hesela: restoring Linux ACLs and recovery metadata. https://hesela.com/analyses/posix-acl-restore-permissions/ (accessed 2026-11-16) - [symlink] Linux man-pages: symlink(7), link metadata and pathname components. https://man7.org/linux/man-pages/man7/symlink.7.html (accessed 2026-11-16) ### Chunk fragmentation URL: https://hesela.dev/terms/chunk-fragmentation/ Also known as: deduplication fragmentation Status: research Record updated: 2026-11-17 Chunk fragmentation is the dispersion of chunks needed by a deduplicated restore across storage containers or an order poorly matched to the restore sequence. Note: In an inline design retaining one physical instance per unique chunk, later backups can refer to chunks written into many earlier containers; rewriting schemes can deliberately retain extra copies. [lillibridge2013] With 4 MB containers, a RAID 6 group of 10 drives at 100 MB/s each reads a whole container in about 4 ms, while one seek costs about 10 ms, so restore speed depends mainly on how many containers must be read per restored megabyte. [lillibridge2013] Two forms have different costs. Most chunks of a sparse container are never used by the restore, so reading it amplifies I/O, and one study counts a container as sparse below a utilization threshold such as 50%. Chunks of an out-of-order container are needed at separate points of the stream, which costs repeated reads only when the restore cache is smaller than the cache threshold. A larger cache helps the second form but not the first. [fu2014] This is not NAND erase-block fragmentation. Restore sparsity and reclamation liveness use different reference sets. A chunk unused by one restore can still belong to another retained backup. Mixed live/dead containers can require copying live payload before their unused payload is released. The linked synthetic example separates these bytes from deleted logical bytes; it is not a product benchmark. [hesela-reclamation] Advantages: - Separating sparse from out-of-order containers shows whether rewriting chunks or enlarging the restore cache is the matching remedy. (sources: [fu2014]) - Counting containers read per restored megabyte gives a restore-speed estimate that the deduplication ratio alone does not provide. (sources: [lillibridge2013]) Limitations: - Rewriting duplicates to reduce fragmentation spends space: giving up about 8% of deduplication bought a 2-6X restore speed-up in one evaluation. (sources: [lillibridge2013]) - HAR reports 0.45-1.99% rewritten payload relative to total backup input, but 11.66-74.31% more written payload relative to its no-rewriting baseline across the three datasets. Restore gains use container-read speed factor, not measured elapsed time. (sources: [fu2014]) - In the studied inline design, newer backups reuse chunks scattered through older containers, so testing an early backup alone can miss later restore costs; this age trend is not universal across deduplication architectures. (sources: [lillibridge2013]) Sources and caveats: - lillibridge2013 is the FAST 2013 paper on restore speed with inline chunk-based deduplication, read for container size, seek arithmetic and the effects of caching, capping and assembly. - fu2014 is the USENIX ATC 2014 paper, re-read for the sparse and out-of-order container classes, the utilization threshold and the cache-threshold condition. - The full-backup entry links here because restoring a full backup from a deduplicated store reads chunks written by earlier backups. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [container-capping](https://hesela.dev/terms/container-capping/) - [forward-assembly-area](https://hesela.dev/terms/forward-assembly-area/) - [idedup](https://hesela.dev/terms/idedup/) - [destor](https://hesela.dev/terms/destor/) - [revdedup](https://hesela.dev/terms/revdedup/) Citations: - [fu2014] Fu et al. Accelerating Restore and Garbage Collection in Deduplication-based Backup Systems via Exploiting Historical Information. USENIX ATC 2014, secs. 3-6. https://files.usenix.org/s3fs-public/cdn/atc14-paper-fu_min.pdf (accessed 2026-10-23) - [hesela-dedup-restore] Deduplication ratio does not predict restore cost. https://hesela.com/analyses/deduplication-restore-fragmentation/ (accessed 2026-10-11) - [lillibridge2013] Lillibridge, Eshghi and Bhagwat. Improving Restore Speed for Backup Systems that Use Inline Chunk-Based Deduplication. USENIX FAST 2013. https://www.usenix.org/system/files/conference/fast13/fast13-final124.pdf (accessed 2026-10-23) - [hesela-reclamation] Hesela: backup deletion and reclaimable containers. https://hesela.com/analyses/deduplication-restore-fragmentation/#reclamation (accessed 2026-10-23) ### Class prevalence URL: https://hesela.dev/terms/class-prevalence/ Related analysis: https://hesela.com/analyses/ml-disk-failure-prediction/ Also known as: positive-class prevalence, class proportion Status: shipping Record updated: 2026-11-23 Class prevalence is the proportion of observations belonging to a specified class in a defined population or evaluation sample. Note: For a nonempty binary sample, positive prevalence = (TP + FN) / (TP + FP + FN + TN). Predicting every observation positive gives precision equal to that prevalence, which is where a precision-recall curve starts at recall 1. [sklearn-pr-curve] A random classifier has the same precision, so the precision-recall baseline is P / (P + N) and moves with the class ratio. [saito2015] [prg2015] Under a fixed decision rule and unchanged class-conditional feature distributions, changing only prevalence preserves population true and false positive rates while precision can change. Finite-sample estimates can still vary. This condition is satisfied by label shift; an arbitrary fleet change need not satisfy it. [lipton-icml18] With 80% recall and 10% FPR, precision is about 89% at a 1:1 ratio but about 44% at 1 positive per 10 negatives. Sampling more failures changes the evaluation prevalence and may change precision, and a balanced test sample does not directly establish deployment alert quality. [saito2015] For storage, specify whether an observation is a drive or a drive-day window, and whether positive means failure within a stated horizon. This proportion is not an annualized failure rate. Advantages: - A target prevalence and transferable class-conditional operating rates determine expected precision without retraining. (sources: [fawcett2006], [lipton-icml18]) Limitations: - Prevalence measured on one window or fleet need not hold later, because class distributions can shift over time and between sites. (sources: [fawcett2006]) - Areas under precision-recall curves from samples with different prevalence are not directly comparable. (sources: [saito2015]) Sources and caveats: - sklearn-pr-curve re-read 2026-10-23 for the first precision value equal to class balance at recall 1. - saito2015 re-read 2026-10-23 for the P / (P + N) baseline and its effect on the area under the precision-recall curve. - fawcett2006 read 2026-10-23, section 4.2, for column-ratio invariance, the 1:10 skew example and the reported range of class skews. - prg2015 read 2026-10-23, section 2, for the random-classifier precision baseline. - The 89% and 44% values are arithmetic from the stated rates, not reported results. - The direct-standardization entry links here because it adjusts rates for population composition, and prevalence is the composition term that changes precision between an evaluation sample and a target population. - A companion analysis on disk failure prediction is listed but not used in prose. - 2026-11-23: qualified rate transfer using Lipton et al. assumption A.1 and Lemma 1; preserved the earlier 89%/44% arithmetic and all stable IDs. Related terms: - [precision](https://hesela.dev/terms/precision/) - [recall](https://hesela.dev/terms/recall/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [average-precision](https://hesela.dev/terms/average-precision/) - [drive-day](https://hesela.dev/terms/drive-day/) - [afr](https://hesela.dev/terms/afr/) - [f1-score](https://hesela.dev/terms/f1-score/) - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [probability-calibration](https://hesela.dev/terms/probability-calibration/) - [direct-standardization](https://hesela.dev/terms/direct-standardization/) - [label-shift](https://hesela.dev/terms/label-shift/) Citations: - [sklearn-pr-curve] scikit-learn: precision_recall_curve; the all-positive endpoint. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.precision_recall_curve.html (accessed 2026-10-23) - [saito2015] Saito and Rehmsmeier. The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets. PLOS ONE, 2015. https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0118432 (accessed 2026-10-23) - [hesela-prediction] Hesela: disk failure prediction, metric denominators and a synthetic alert-count example. https://hesela.com/analyses/ml-disk-failure-prediction/ (accessed 2026-10-12) - [fawcett2006] Fawcett. An introduction to ROC analysis. Pattern Recognition Letters 27 (2006) 861-874, section 4.2. DOI: 10.1016/j.patrec.2005.10.010. https://people.inf.elte.hu/kiss/11dwhdm/roc.pdf (accessed 2026-10-23) - [prg2015] Flach and Kull. Precision-Recall-Gain Curves: PR Analysis Done Right. NeurIPS 2015, section 2. https://proceedings.neurips.cc/paper_files/paper/2015/file/33e8075e9970de0cfea955afd4644bb2-Paper.pdf (accessed 2026-10-23) - [lipton-icml18] Lipton, Wang and Smola. Detecting and Correcting for Label Shift with Black Box Predictors. ICML 2018, assumptions A.1-A.3 and Lemma 1. https://proceedings.mlr.press/v80/lipton18a/lipton18a.pdf (accessed 2026-11-23) ### CLAY code URL: https://hesela.dev/terms/clay-code/ Also known as: coupled-layer code, Clay codes Status: limited Record updated: 2026-11-22 A CLAY code is a vector MDS erasure code that couples layers of scalar codes to support exact repair with partial-fragment reads. Note: The construction separates recoverability from its efficient repair path. When d is below n-1, the selected helpers must include the surviving nodes in the failed node's construction group; arbitrary d survivors need not support that path. This is a coding group, not a rack-placement rule. [clay] For n=k+m and q=d-k+1, Ceph v18.2.7 pads the construction to the next multiple of q, then omits the added zero-valued data nodes. The sub-chunk count is q^ceil(n/q). With k=10, m=4 and d=13, two virtual nodes give 256 sub-chunks, not 4^3.5=128. The real layout still stores 14 fragments for 10 data fragments. [ceph-clay-source] The single-loss helper-byte budget dS/q assumes S bytes per lost fragment and an eligible repair path. It excludes forwarding the rebuilt fragment. Separate logical helper bytes, network transfers and physical reads. [clay] Ceph's development manual marks the plugin deprecated since Umbrella, with removal planned for Vampire. That release policy is separate from the code's mathematical properties. [ceph-clay-manual] Limitations: - Sub-chunk alignment, helper availability and the implementation's repair path can prevent theoretical byte savings from becoming faster recovery. (sources: [clay]) Sources and caveats: - Primary-source synthesis of FAST 2018 sections 3-5 and Appendix A; Ceph v18.2.7 parse and repair-selection source inspected. No codec or cluster benchmark was executed. - Shortening and byte arithmetic are reproduced by /research/clay-shortening.mjs and its tests; the parameter helper is not a Ceph profile validator. Related terms: - [drboost](https://hesela.dev/terms/drboost/) - [minimum-storage-regenerating-code](https://hesela.dev/terms/minimum-storage-regenerating-code/) - [subpacketization](https://hesela.dev/terms/subpacketization/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) Citations: - [clay] Vajha et al. Clay Codes: Moulding MDS Codes to Yield an MSR Code. FAST 2018, sections 3-5 and Appendix A. https://www.usenix.org/system/files/conference/fast18/fast18-vajha.pdf (accessed 2026-11-22) - [ceph-clay-source] Ceph v18.2.7: ErasureCodeClay::parse, shortening and sub-chunk count. https://github.com/ceph/ceph/blob/v18.2.7/src/erasure-code/clay/ErasureCodeClay.cc (accessed 2026-11-22) - [ceph-clay-manual] Ceph development documentation: CLAY plugin lifecycle and profile guidance; accessed 2026-11-22. https://docs.ceph.com/en/latest/rados/operations/erasure-code-clay/ (accessed 2026-11-22) - [hesela-accounting] Hesela: CLAY shortening examples and repair accounting. https://hesela.com/analyses/lrc-repair-costs-locality/#clay-shortening (accessed 2026-11-22) ### Clear sanitization URL: https://hesela.dev/terms/clear-sanitization/ Also known as: Clear sanitization method Status: shipping Record updated: 2026-10-14 Clear sanitization uses logical operations across all user-addressable storage locations to resist simple, non-invasive recovery through the device interface available to the user, such as the host interface. Note: NIST SP 800-88 Rev. 2 section 3.1.1 limits this method to the user-interface recovery boundary; it is not a claim that every physical flash cell has been erased. SSD remapping and spare capacity can keep older data outside host-addressable locations. Repeated host overwrites do not establish purge assurance. The selected technique must suit the medium and the required confidentiality protection. [nist-r2] Advantages: - Typically preserves the medium for reuse when an appropriate clear technique can be applied. (sources: [nist-r2]) Limitations: - Does not promise resistance to laboratory recovery from inaccessible flash areas; an inoperable device may prevent a suitable logical overwrite. (sources: [nist-r2]) Related terms: - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [purge-sanitization](https://hesela.dev/terms/purge-sanitization/) - [destroy-sanitization](https://hesela.dev/terms/destroy-sanitization/) - [sanitization-verification](https://hesela.dev/terms/sanitization-verification/) - [sanitization-validation](https://hesela.dev/terms/sanitization-validation/) - [ftl](https://hesela.dev/terms/ftl/) Citations: - [nist-r2] NIST SP 800-88 Rev. 2 (2025), Guidelines for Media Sanitization, 3.1.1, printed pages 8-10. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf (accessed 2026-10-14) - [hesela] Hesela: SSD sanitization: why TRIM and a successful command are not enough. https://hesela.com/analyses/ssd-sanitization-trim-evidence/ (accessed 2026-10-14) ### clearerr URL: https://hesela.dev/terms/clearerr/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: clearerr(), clearerr(3) Status: shipping Record updated: 2026-10-21 clearerr is a C standard-I/O operation that clears a stream's error and end-of-file indicators. Note: The function returns no value. With a valid stream it does not change errno; clearing stream indicators is separate from resetting that variable. [linux-status] This is a status operation, not an output replay, a file synchronization request or a repair protocol. The pinned glibc implementation locks the stream, clears its indicators and unlocks it. Preserve the original failure before resetting state, and decide separately how the application will recover. [glibc-clearerr] In Hesela's cross-libc probe, clearerr changed the recorded error indicator from set to clear after failed output. The underlying sink was still /dev/full, which rejects writes with ENOSPC. A cleared flag therefore did not mean that output had reached storage or that the failing condition had disappeared. [hesela-cross-libc] [linux-full] Limitations: - Clearing indicators does not repair failed output or prove persistence. Related terms: - [ferror](https://hesela.dev/terms/ferror/) - [fwrite](https://hesela.dev/terms/fwrite/) - [fflush](https://hesela.dev/terms/fflush/) - [fclose](https://hesela.dev/terms/fclose/) - [fsync](https://hesela.dev/terms/fsync/) Citations: - [linux-status] Linux man-pages: ferror(3), clearerr(3) and errno. https://man7.org/linux/man-pages/man3/ferror.3.html (accessed 2026-10-21) - [glibc-clearerr] glibc 2.39: clearerr implementation. https://raw.githubusercontent.com/bminor/glibc/glibc-2.39/libio/clearerr.c (accessed 2026-10-21) - [linux-full] Linux man-pages: full(4), a device that rejects writes. https://man7.org/linux/man-pages/man4/full.4.html (accessed 2026-10-21) - [hesela-cross-libc] Hesela: cross-libc fwrite observations and stream error history. https://hesela.com/analyses/fsync-failure-retry-durability/#fwrite-libc (accessed 2026-10-21) ### CLFLUSHOPT URL: https://hesela.dev/terms/clflushopt/ Also known as: Cache Line Flush Optimized, optimized cache-line flush Status: shipping Record updated: 2026-11-28 CLFLUSHOPT is an x86 instruction that invalidates a CPU cache line across its coherence domain and writes back any modified contents. Note: Support is advertised by CPUID leaf 7, subleaf 0, EBX bit 23. Speculative refills can occur around invalidation, so a later cache miss is not guaranteed. [intel-sdm-cl] Multiple flushes can overlap. A following SFENCE supplies the ordering needed before relying on their completion in the persistent-memory protocol. This is a CPU-cache operation, not a storage-device cache-flush command. [pmem-glossary] Use the persistence function for the actual mapping. Persisting a range neither combines it into a transaction nor prevents some stores from becoming durable earlier. [pmdk-persist] Sources and caveats: - Instruction semantics follow Intel SDM revision 093. PMDK API behavior is pinned to version 1.13.1, not asserted to be the latest release. - Source synthesis only; no persistent-memory device, power-cut experiment or latency measurement. Related terms: - [clwb](https://hesela.dev/terms/clwb/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) - [adr](https://hesela.dev/terms/adr/) - [eadr](https://hesela.dev/terms/eadr/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [sfence](https://hesela.dev/terms/sfence/) Citations: - [intel-sdm-cl] Intel SDM 093, Vol. 2A: CLFLUSHOPT (3-146) and CLWB (3-154). https://cdrdv2-public.intel.com/929353/253666-093-sdm-vol-2a.pdf (accessed 2026-11-28) - [pmem-glossary] PMem project glossary: CLWB, CLFLUSHOPT, ADR, eADR and fences. https://pmem.io/glossary/ (accessed 2026-11-28) - [pmdk-persist] PMDK 1.13.1: pmem2_get_persist_fn, flush/drain and non-transactional semantics. https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/pmem2_get_persist_fn.3.md (accessed 2026-11-28) - [hesela-pmem] Hesela: Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/#cache-line-writeback (accessed 2026-11-28) ### Cliffhanger URL: https://hesela.dev/terms/cliffhanger/ Also known as: Cliffhanger cache allocation Status: research Record updated: 2026-11-29 Cliffhanger is a cache-memory allocator that combines shadow-queue feedback with adaptive partitioning to cross performance cliffs. Note: Shadow hits estimate the benefit of more resident capacity without retaining the evicted payload. Allocation moves memory among slab classes or applications on one server; cliff handling splits a queue and adjusts its request share and capacity. A ghost hit is not a payload hit. [paper] The hill-climbing argument assumes increasing, concave hit-rate curves. A flat region before a sharp rise can hide useful capacity from a local gradient. Cliff scaling addresses that shape without first constructing the complete curve. [paper] Constructed LRU example: A cycles through eight equal-size keys eight times; B requests one other key 16 times. Both start empty. With eight total slots, allocations A/B = 4/4, 5/3, 6/2 and 7/1 all give 15 hits in 80 requests. Allocation 8/0 gives 56/80. A rule that accepts only immediately improving one-slot moves stops at 4/4 despite the better endpoint. This is not a Cliffhanger reproduction. [example] Cold and warm differ: A alone at eight slots gives 56/64 hits from empty. Excluding its first eight requests as warm-up gives 56/56 scored hits; at seven slots it gives 0/56. Report initial state and scoring window alongside capacity. [example] Arithmetic check: using hit/miss latencies of 200/10,000 us, a hit-ratio increase from 98.2% to 99.2% changes the weighted mean from 376.4 to 278.4 us. That is 26.0% less latency or 1.352x speedup, not the introduction's claimed latency reduction of over 35%. This is a simple mixture, not an end-to-end measurement. [paper] [example] Limitations: - The implementation enables cliff scaling only above 1,000 items and is designed to scale a single cliff efficiently; the eight-key example does not test that implementation. (sources: [paper], [example]) Sources and caveats: - The original NSDI paper was read beyond its abstract. No reported throughput, memory-saving or miss-reduction percentage is generalized to current systems. - The finite traces are synthetic interpretation controls, not the paper's traces, an implementation of its adaptive allocator or an SSD benchmark. - The arithmetic check concerns the introduction's motivating example only; it does not re-evaluate the reported workload results. Related terms: - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [robinhood-caching](https://hesela.dev/terms/robinhood-caching/) Citations: - [paper] Cidon, Eisenman, Alizadeh and Katti. Cliffhanger: Scaling Performance Cliffs in Web Memory Caches. NSDI 2016, pp. 379-392, sections 1 and 3.4-5.3. https://www.usenix.org/system/files/conference/nsdi16/nsdi16-paper-cidon.pdf (accessed 2026-11-19) - [venue] USENIX. Cliffhanger, NSDI 2016: publisher record and proceedings metadata. https://www.usenix.org/conference/nsdi16/technical-sessions/presentation/cidon (accessed 2026-11-19) - [example] Hesela. Synthetic LRU capacity sweep, allocation plateau and cold/warm scoring counts. https://hesela.dev/research/cliffhanger/evidence.json (accessed 2026-11-19) - [code] Hesela. Bounded exact LRU interpreter and deterministic evidence generator. https://hesela.dev/research/cliffhanger/model.mjs (accessed 2026-11-19) - [tests] Hesela. Independent reuse-distance oracle and invalid-input regression tests. https://hesela.dev/research/cliffhanger/model.test.mjs (accessed 2026-11-19) - [context] Hesela. Cache sizing and workload boundaries. https://hesela.com/analyses/ssd-mapping-cache-hmb/#reuse-distance (accessed 2026-11-19) ### Clio URL: https://hesela.dev/terms/clio/ Also known as: Clio disaggregated memory Status: research Record updated: 2026-11-15 Clio is a research disaggregated-memory system that combines a client library with hardware memory nodes for address translation, protection and remote access. Note: Architecture: CBoard separates a hardware data path from software control on ARM. CLib manages client-side request ordering. The design is not ordinary one-sided RDMA on a memory server. [paper] Address trade-off: Hash-bucket overflow is avoided when allocating virtual addresses, moving retries to allocation rather than lookup. A requested fixed address is not always available. [paper] Retry boundary: Memory nodes retain recent write identifiers and atomic results. The described buffer covers two retries; exhaustion is reported to the application, not an unlimited exactly-once guarantee. [paper] Failure boundary: Request retransmission is not recovery from a failed memory node. The paper leaves built-in failure handling and replicated-write primitives for future work. [paper] Measurement boundary: Figure 8 uses 1 KB requests and reaches a 9.4 Gbps end-to-end testbed ceiling. Figure 9 exceeds 110 Gbps for large requests using on-board traffic generation that bypasses the 10 Gbps port. These are different measurement paths. Figure 6 labels ASIC latency as projected. [paper] Reproduction scope: The guide selects microbenchmarks, not every application or on-board experiment. Switched and direct-connected setups differ; the split cable adds latency. [artifact] Build boundary: The guide targets Vivado/HLS 2019.1.3, Scala, ARM cross-compilation and host software. Other Vivado versions may need IP changes. [build] API naming: The header declares legomem_alloc, legomem_read, legomem_write_sync and legomem_write_async, not the paper's ralloc/rread/rwrite names. Declarations alone do not prove implementation guarantees. [api] Sources and caveats: - Primary-source synthesis of the final paper and pinned author documentation/header. No FPGA, RDMA, Clio runtime or benchmark was executed by Hesela. - Throughput numbers are author-reported, not Hesela measurements. No confidence intervals or general production-speed advantage are inferred. - The code revision is a reproducible inspection target, not proof that it produced every result in the paper. Related terms: - [infiniswap](https://hesela.dev/terms/infiniswap/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) Citations: - [paper] Guo et al. Clio: A Hardware-Software Co-Designed Disaggregated Memory System. ASPLOS 2022, pp. 417-433; sections 4.2, 4.5, 5, 7, 9. https://cseweb.ucsd.edu/~yiying/clio-asplos22.pdf (accessed 2026-11-15) - [artifact] Clio authors: artifact evaluation scope, selected microbenchmarks and two testbed configurations, pinned revision 7908c3a. https://github.com/WukLab/Clio/blob/7908c3a022fd356cd54616630fcddf59f7f3fd95/Documentation/asplos-ae.md (accessed 2026-11-15) - [build] Clio authors: hardware, ARM and host compilation prerequisites, pinned revision 7908c3a. https://github.com/WukLab/Clio/blob/7908c3a022fd356cd54616630fcddf59f7f3fd95/Documentation/compile.md (accessed 2026-11-15) - [api] Clio authors: public host API declarations, pinned revision 7908c3a. https://github.com/WukLab/Clio/blob/7908c3a022fd356cd54616630fcddf59f7f3fd95/host/api.h (accessed 2026-11-15) ### CLOCK-Pro URL: https://hesela.dev/terms/clock-pro/ Also known as: CLOCK-Pro replacement Status: research Record updated: 2026-11-07 CLOCK-Pro is an adaptive page-replacement policy combining CLOCK reference bits with bounded history of evicted pages. Note: Three hands manage hot pages, resident cold victims and cold-page test periods. Eviction can discard a cold page's data while retaining its metadata for a later reuse test. A nonresident history match still requires a page fetch. [clockpro] The cold-page target increases after reuse within a test period and decreases when a test expires without reuse; these observations include resident and nonresident cold pages. [clockpro] For m resident pages, Section 4.2 permits at most m nonresident cold records: at most 2m tracked identities, not 2m payload pages or a byte bound. [clockpro] A test period follows hand movement, not a wall-clock timeout. Resident hits set reference bits; exact access order is not maintained. The reuse-distance reasoning is approximate, not an exact LRU stack-distance measurement. [clockpro] Advantages: - Retained history lets replacement react to reuse after eviction. (sources: [clockpro]) Limitations: - The historical Linux 2.4.21 prototype does not establish present-day implementation behavior or universal speedups. (sources: [clockpro]) Sources and caveats: - Primary-source review, not a reproduction or deployment recommendation. Related terms: - [clock-replacement](https://hesela.dev/terms/clock-replacement/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [lirs-replacement](https://hesela.dev/terms/lirs-replacement/) - [reuse-distance](https://hesela.dev/terms/reuse-distance/) Citations: - [clockpro] Jiang, Chen and Zhang. CLOCK-Pro: An Effective Improvement of the CLOCK Replacement. USENIX ATC 2005, sections 4.1-4.4, footnotes 3-4 and 5.2. https://www.usenix.org/legacy/events/usenix05/tech/general/full_papers/jiang/jiang.pdf (accessed 2026-11-07) - [hesela] Hesela: cache-history matches versus resident hits. https://hesela.com/analyses/sieve-cache-eviction-traces/#history (accessed 2026-10-24) ### CLOCK cache replacement URL: https://hesela.dev/terms/clock-replacement/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: CLOCK, second-chance replacement, FIFO reinsertion Status: research Record updated: 2026-11-15 CLOCK is a cache replacement policy that gives referenced entries another chance by clearing their reference state during an eviction scan. Note: CLOCK keeps cached pages in a circular buffer with one reference bit each. A hit sets the bit, and on a miss the hand clears set bits as it passes and evicts the first page whose bit is already clear. Setting a reference bit avoids the shared recency-list movement of conventional LRU. This removes that source of hit-path contention, not every synchronization requirement of a complete concurrent cache. [car2004] Dating from 1968, it approximates LRU but remains scan-vulnerable. [car2004] [clockpro2005] Second Chance, CLOCK and FIFO-Reinsertion are implementations of the same eviction algorithm. SIEVE also keeps one visited bit per object but leaves a retained object in its old position instead of reinserting it among new objects. On 1559 traces from 7 sources it had a lower miss ratio than the best of the other tested algorithms on more than 45% of them. [sieve2024] Initial reference state and counter width can differ across implementations, so a comparison needs these settings as well as capacity and request order. Approximate recency does not make CLOCK identical to exact LRU. In the published three-slot, empty-cache replay with immediate fills and CLOCK init_freq=0, n_bit_counter=1, AABCDA gives CLOCK two hits and LRU one; AABCDB reverses that result. These are constructed traces, not timing measurements. [replay] DULO's simulation uses CLOCK while labelling it LRU; that baseline must be distinguished from exact-LRU replay and from its separate Linux prototype. [dulo2005] This bit-only rule describes cache eviction; the 1981 virtual-memory formulation also defers replacement of dirty victims until cleaning. [wsclock1981] Advantages: - A hit costs only setting a bit, and in virtual memory the hardware can set it. (sources: [car2004]) Limitations: - Long scans can displace reusable entries; scan resistance requires more than basic second-chance replacement. (sources: [car2004], [clockpro2005]) - A single reference bit cannot distinguish one recent access from many, so frequency is ignored. (sources: [car2004]) - Miss handling can take longer when the hand has to clear many set bits before it finds a victim. (sources: [car2004]) Sources and caveats: - car2004 is the FAST 2004 paper on CLOCK with adaptive replacement, read in sections I and II for the CLOCK description, its origin and its weaknesses. - clockpro2005 is the USENIX 2005 paper on an improved CLOCK, read in sections 1 and 2 for the hand and reference-bit mechanism and its relation to LRU. - sieve2024 is the NSDI 2024 paper, read for the equivalence of CLOCK variants, the retained-object position and the trace evaluation. - The ghost-cache-entry entry links here because improved CLOCK variants add records of recently evicted pages to the basic clock. - 2026-10-24: qualified the hit-path lock claim; CAR sections I.B-I.C discuss recency-list contention, not a universal lock-free cache guarantee. CLOCK-Pro is indexed separately. Related terms: - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [clock-pro](https://hesela.dev/terms/clock-pro/) - [car-replacement](https://hesela.dev/terms/car-replacement/) - [wise-ordering-for-writes](https://hesela.dev/terms/wise-ordering-for-writes/) - [wsclock](https://hesela.dev/terms/wsclock/) - [dulo](https://hesela.dev/terms/dulo/) - [leanstore](https://hesela.dev/terms/leanstore/) Citations: - [authors] Yang and colleagues. SIEVE: Cache eviction can be simple, effective, and scalable. USENIX ;login:, 16 June 2024. Author explanation of list ordering. https://www.usenix.org/publications/loginonline/sieve-cache-eviction-can-be-simple-effective-and-scalable (accessed 2026-10-17) - [replay] Hesela: explicit CLOCK settings and complete constructed-trace hit/miss outcomes. https://hesela.dev/research/sieve-traces.json (accessed 2026-10-17) - [car2004] Bansal and Modha. CAR: Clock with Adaptive Replacement. USENIX FAST 2004, sections I-II. https://www.usenix.org/legacy/events/fast04/tech/full_papers/bansal/bansal.pdf (accessed 2026-10-23) - [clockpro2005] Jiang, Chen and Zhang. CLOCK-Pro: An Effective Improvement of the CLOCK Replacement. USENIX Annual Technical Conference 2005, sections 1-2. https://www.usenix.org/legacy/event/usenix05/tech/general/full_papers/jiang/jiang.pdf (accessed 2026-10-23) - [sieve2024] Zhang, Yang, Yue, Vigfusson and Rashmi. SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches. USENIX NSDI 2024. https://www.usenix.org/system/files/nsdi24-zhang-yazhuo.pdf (accessed 2026-10-23) - [wsclock1981] Richard W. Carr and John L. Hennessy. WSClock - A Simple and Effective Algorithm for Virtual Memory Management. SOSP 1981, pp. 87-95. https://cseweb.ucsd.edu/classes/wi19/cse221-a/papers/carr81.pdf (accessed 2026-10-31) - [dulo2005] Jiang et al. DULO: An Effective Buffer Cache Management Scheme to Exploit Both Temporal and Spatial Locality. FAST 2005, sections 3, 4.1.1, 4.2.2. https://www.usenix.org/event/fast05/tech/full_papers/jiang/jiang.pdf (accessed 2026-10-30) ### Close-on-exec URL: https://hesela.dev/terms/close-on-exec/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: FD_CLOEXEC, O_CLOEXEC Status: shipping Record updated: 2026-11-05 Close-on-exec is a per-file-descriptor flag that causes that descriptor to be closed when its process successfully replaces its program image with an exec-family operation. Note: Lifetime: FD_CLOEXEC does not close a descriptor at fork. The child initially retains its inherited reference; successful exec closes the child's descriptor when the flag is set. An exec failure that returns to the caller, such as ENOENT for a missing executable, leaves the descriptor open. The parent's reference remains separate. [fd-flags] [fork-api] Creation: open(..., O_CLOEXEC) sets the flag as part of descriptor creation. Opening first and setting FD_CLOEXEC later with fcntl leaves a window in which another thread can fork and exec with the descriptor still inheritable. O_CLOEXEC names the creation option, not an open-file-description status flag. [open-api] Aliases: raw Linux dup clears close-on-exec on the new descriptor even when the original has it set. dup3(oldfd, newfd, O_CLOEXEC) sets it on a distinct target. Both descriptors still share the open file description and its offset. Closing one at exec does not close a surviving unmarked alias or undo earlier writes. [dup-api] [hesela-inheritance] Failure boundary: an execve failure after the old image has been torn down can terminate the process instead of returning to its caller. The ENOENT example covers a returned failure, not every possible exec failure. [exec-api] Limitations: - Close-on-exec is inheritance control, not a data flush or a complete process-isolation mechanism. Sources and caveats: - API behavior is scoped to the cited Linux interfaces; high-level language runtimes may create non-inheritable descriptors by default. Related terms: - [file-descriptor](https://hesela.dev/terms/file-descriptor/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [close](https://hesela.dev/terms/close/) - [file-offset](https://hesela.dev/terms/file-offset/) Citations: - [fd-flags] Linux man-pages: F_GETFD(2const), descriptor flags and exec outcome. https://man7.org/linux/man-pages/man2/F_GETFD.2const.html (accessed 2026-11-05) - [open-api] Linux man-pages: open(2), O_CLOEXEC and atomic descriptor creation. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-11-05) - [dup-api] Linux man-pages: dup(2), descriptor-local flags and dup3. https://man7.org/linux/man-pages/man2/dup.2.html (accessed 2026-11-05) - [fork-api] Linux man-pages: fork(2), inherited descriptors and shared open file descriptions. https://man7.org/linux/man-pages/man2/fork.2.html (accessed 2026-11-05) - [hesela-inheritance] Hesela: Descriptor inheritance across program replacement. https://hesela.com/analyses/fsync-failure-retry-durability/#close-on-exec (accessed 2026-11-05) - [exec-api] Linux man-pages: execve(2), failures past program-image teardown. https://man7.org/linux/man-pages/man2/execve.2.html (accessed 2026-11-05) ### Close-to-open consistency URL: https://hesela.dev/terms/close-to-open-consistency/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: CTO consistency, close-to-open cache consistency Status: shipping Record updated: 2026-10-23 Close-to-open consistency is a file-sharing cache policy that combines writeback at close with validation at a later open to support visibility of updates between sequential users. Note: An already-open reader is a different case from a new opener. Concurrent access needs application coordination; CTO alone does not serialize simultaneous writers. [nfs-client] Linux documents NFSv3 open-time checks and close-time writeback. An open sends GETATTR or ACCESS regardless of cached-attribute freshness, and a close writes back pending changes, which also lets close(2) report write errors. Without a new open, revalidation follows the attribute cache timers, by default 3 to 60 seconds for regular files and 30 to 60 seconds for directories. [nfs-client] NFSv4 delegations can avoid repeated validation and defer writeback. An open under an OPEN delegation needs no validation message, and data written under a write delegation need not reach the server until recall. Persistence still depends on the applicable protocol and error handling. [rfc8881] Advantages: - Sequential sharing gets fresh data at open without forcing every read to contact the server. (sources: [nfs-client]) Limitations: - Linux cto/nocto options differ by version: the NFSv4 setting concerns directories, not file-data caching. (sources: [nfs-client]) - An application that keeps a file open across another client's update can read stale data until the attribute cache expires. (sources: [nfs-client]) Sources and caveats: - nfs-client is the nfs(5) manual page for Debian trixie, re-read 2026-10-23 for the close-to-open section and the acregmin, acregmax, acdirmin and acdirmax defaults. - rfc8881 is RFC 8881, re-read at section 10.4 for open delegations. rfc7530 stays listed for the NFSv4.0 caching model. - A companion analysis of NFS stable writes is listed but not used for any fact here. - The nfs-silly-rename entry links here because silly rename keeps an already-open file usable after unlink, a case the open-time check does not cover. Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-attribute-cache](https://hesela.dev/terms/nfs-attribute-cache/) - [nfs-delegation](https://hesela.dev/terms/nfs-delegation/) - [nfs-commit](https://hesela.dev/terms/nfs-commit/) - [nfs-lookup-cache](https://hesela.dev/terms/nfs-lookup-cache/) Citations: - [nfs-client] nfs-utils nfs(5), Debian trixie: data and metadata coherence and version-specific cto/nocto options. https://manpages.debian.org/trixie/nfs-common/nfs.5.en.html (accessed 2026-10-23) - [rfc7530] Haynes and Noveck (editors). NFS Version 4 Protocol. RFC 7530, sections 10.3, 10.4 and 10.6 (NFSv4.0). https://datatracker.ietf.org/doc/html/rfc7530#section-10 (accessed 2026-10-14) - [rfc8881] Noveck and Lever (editors). NFS Version 4 Minor Version 1 Protocol. RFC 8881, sections 10.3-10.6 (NFSv4.1). https://www.rfc-editor.org/rfc/rfc8881.html#section-10 (accessed 2026-10-23) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-14) ### close URL: https://hesela.dev/terms/close/ Also known as: close(), close(2) Status: shipping Record updated: 2026-10-17 close is an operation that releases a file descriptor so its number can be allocated again. Note: A zero return does not establish file durability. Check close errors as well as the preceding writes and synchronization: delayed write errors can surface at close. [linux-close] Linux releases a valid descriptor before later close processing can fail; retrying the same number can therefore close an unrelated file that reused it. EBADF instead means the descriptor was invalid. This release order is visible in the v6.12 syscall. [linux-close-source] POSIX.1-2024 differs from Linux for EINTR: where that error is permitted, the descriptor remains open, whereas EINPROGRESS means it was closed with completion continuing asynchronously. For the descriptor left open after EINTR, POSIX leaves it unspecified whether calls other than close or posix_close can use it without error. Linux also releases the descriptor on EINTR. Recovery code must follow its target platform's contract. [posix-close] [linux-close] Limitations: - Descriptor release does not prove that earlier writes survived a failure. - Closing a descriptor is not a general cancellation mechanism for another thread's I/O. Related terms: - [file-descriptor](https://hesela.dev/terms/file-descriptor/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [fsync](https://hesela.dev/terms/fsync/) - [fdatasync](https://hesela.dev/terms/fdatasync/) - [writeback-error](https://hesela.dev/terms/writeback-error/) Citations: - [linux-close] Linux man-pages 6.19: close(2). https://man7.org/linux/man-pages/man2/close.2.html (accessed 2026-10-17) - [posix-close] POSIX.1-2024: close(), DESCRIPTION and RATIONALE. https://pubs.opengroup.org/onlinepubs/9799919799/functions/close.html (accessed 2026-10-17) - [linux-close-source] Linux v6.12: close syscall releases the descriptor before flushing. https://github.com/torvalds/linux/blob/v6.12/fs/open.c#L1552 (accessed 2026-10-17) - [hesela-close] Hesela: Closing a descriptor is not a durability acknowledgement. https://hesela.com/analyses/fsync-failure-retry-durability/#close-errors (accessed 2026-10-17) ### Closed-loop load URL: https://hesela.dev/terms/closed-loop-load/ Also known as: Closed workload model Status: unknown Record updated: 2026-10-31 A closed-loop load model uses a fixed client population whose next request follows completion of a previous request, optionally after think time. Note: The model fits when that feedback matches the application, such as a fixed set of users who each wait for a reply and think before the next request. A longer response also slows future arrivals, which changes the question compared with independent demand. [schroeder] With one outstanding request per client, N bounds the total queued and executing requests, not their response times. NSDI 2006 reported much lower mean response times in its closed-model case studies and significant differences even at N = 1000. Those comparisons depend on the studied load, service demands and scheduling; the population bound alone is not a universal latency comparison. [schroeder] Many load testers are closed-loop by construction because worker threads block on each request, so each thread is exactly one potentially outstanding request. In an ISCA 2016 comparison, closed-loop runs with 4, 8 and 12 connections showed far fewer outstanding requests than an open-loop run at 80% utilization, which biased tail latency low. [treadmill] Counterexample: One client issues one request at time zero, with 1 ms of normal service. Adding a 59,999 ms service pause makes its response time 60,000 ms while only one request is outstanding. Any larger pause extends the response without increasing the population. This constructed example uses Hesela's existing timing model; it is not a measured storage latency. [hesela-model] Think time: For a steady-state fixed population, N = X x (R + Z), where X is achieved completions per second and R and Z are mean response and think time in seconds. With N = 32, R = 2 ms and Z = 2 ms, X = 8,000/s and average in-flight occupancy X x R = 16, not 32. These are illustrative inputs, not a prediction that a device sustains that rate. [mit-performance] Advantages: - One outstanding request per client bounds this closed population's queued and executing requests by N. It does not guarantee timely completion or prevent a stalled test. (sources: [schroeder]) Limitations: - NSDI 2006 found less benefit from favoring short jobs in its closed workloads; compare scheduling policies under the arrival model and parameter range relevant to the application. (sources: [schroeder]) Sources and caveats: - schroeder is the NSDI 2006 paper by Schroeder, Wierman and Harchol-Balter (Carnegie Mellon University), read in sections 1 to 5. - treadmill is the ISCA 2016 paper by Zhang, Mars and Tang (University of Michigan) and Meisner (Facebook), read in sections 1 and 2 from an author-hosted copy. - The order of magnitude and the MPL of 1000 come from schroeder. 4, 8 and 12 connections and 80% utilization come from treadmill, Figure 1. - The single-client stall and N=32 think-time examples are explicit Hesela constructions, not values reported by NSDI 2006 or ISCA 2016. A count bound does not become a response-time guarantee. Related terms: - [open-loop-load](https://hesela.dev/terms/open-loop-load/) - [coordinated-omission](https://hesela.dev/terms/coordinated-omission/) - [queue-depth](https://hesela.dev/terms/queue-depth/) Citations: - [schroeder] Schroeder, Wierman and Harchol-Balter. Open Versus Closed: A Cautionary Tale. USENIX NSDI 2006, sections 1-5. https://www.usenix.org/legacy/events/nsdi06/tech/full_papers/schroeder/schroeder_html/index.html (accessed 2026-10-31) - [hesela-latency] Hesela: synthetic arrival cohorts, timing boundaries and percentile pooling. https://hesela.com/analyses/storage-latency-coordinated-omission/ (accessed 2026-10-11) - [treadmill] Zhang, Meisner, Mars and Tang. Treadmill: Attributing the Source of Tail Latency through Precise Load Testing and Statistical Inference. ISCA 2016. https://www.jasonmars.org/wp-content/uploads/2020/04/ISCA.2016.47.pdf (accessed 2026-10-22) - [hesela-model] Hesela deterministic FIFO timing model: closed mode with durationMs=1, intervalMs=1, serviceMs=1 and pauseMs=59999. https://hesela.dev/research/latency-measurement.mjs (accessed 2026-10-31) - [mit-performance] MIT 6.826, Principles of Computer Systems (2006), Handout 10: Performance, printed page 9, Servers with finite load. https://web.mit.edu/6.826/archive/S06-www/notes/HO10.pdf (accessed 2026-10-31) ### Clover URL: https://hesela.dev/terms/clover/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: Clover key-value store Status: research Record updated: 2026-11-15 Clover is a research key-value store that separates direct access to passive disaggregated persistent memory from metadata management on dedicated servers. Note: In the ATC 2020 design, new values are written out of place, then linked into a version chain with RDMA compare-and-swap. Cached cursors and asynchronous shortcuts reduce traversal; a shortcut need not identify the newest version. Metadata servers allocate space and reclaim versions. [atc20] The evaluation used DRAM as PM and ordinary RDMA writes as a stand-in for durable writes. Its performance results are not measurements of persistence on real PM hardware. [atc20] Remote persistence also depends on the protected components, DDIO and operation ordering, not simply an RDMA completion. [remote19] The pinned tutorial separates metadata, compute and memory-node roles, with memcached distributing RDMA connection metadata. The benchmark replays pre-generated YCSB traces rather than invoking YCSB directly. [code20] Limitations: - Single-entry atomicity is not a multi-key transaction guarantee; write contention can add chain walks and retries. (sources: [atc20]) Sources and caveats: - Primary-paper and pinned-author-code review. No Clover deployment, power-failure test or performance reproduction was performed. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) Citations: - [atc20] Tsai, Shan and Zhang. Disaggregating Persistent Memory and Controlling Them Remotely. USENIX ATC 2020, sections 3-6, pp. 33-48. https://files.usenix.org/s3fs-public/cdn/atc20-tsai.pdf (accessed 2026-11-15) - [remote19] Sanidhya Kashyap, Dai Qin, Steve Byan, Virendra J. Marathe and Sanketh Nalli. Correct, Fast Remote Persistence. arXiv:1909.02092v1, sections 2-3. https://arxiv.org/html/1909.02092v1 (accessed 2026-11-15) - [code20] WukLab pDPM: Clover tutorial, roles and trace-based YCSB setup; commit 5c68507ef617d297727aa9e26a7ee60d0b1901e7. https://github.com/WukLab/pDPM/blob/5c68507ef617d297727aa9e26a7ee60d0b1901e7/Documentation/clover.md (accessed 2026-11-15) ### Pairs cluster bootstrap URL: https://hesela.dev/terms/cluster-bootstrap/ Related analysis: https://hesela.com/analyses/ssd-correlated-failures-nodes-racks/ Also known as: Cluster bootstrap, Clustered bootstrap, Group bootstrap Status: shipping Record updated: 2026-11-19 The pairs cluster bootstrap resamples whole observed groups with replacement and recomputes a statistic while retaining each selected group's members. Note: For G observed groups, sample G group identities with replacement, retaining every member each time a group is selected. With unequal group sizes, the resulting row count can vary. Recalculate the chosen statistic and its denominator in each resample; a pooled device proportion is not generally an equally weighted mean of rack proportions. [cameron-miller-2015] [rsample-patterns] Whole-group resampling preserves observed within-group dependence. Inference still requires a defensible sampling design and independent sampling units at the chosen level. Rack boundaries may be crossed by shared power, firmware or time effects; a rack label does not establish independence. Few clusters can make inference unreliable despite many resamples. [cameron-miller-2015] The pairs variant differs from wild cluster bootstrap, which uses cluster-level perturbations rather than redrawing whole groups. Neither the name nor the choice of groups guarantees confidence-interval coverage. [cameron-miller-2015] Grouping is also distinct from stratification, which samples within designated strata. [rsample-groups] Sources and caveats: - Cameron and Miller discuss statistical methodology, mainly regression, not measured storage reliability. Applying the grouping cautions to drives and racks is a methodological interpretation. Related terms: - [bootstrap](https://hesela.dev/terms/bootstrap/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [design-effect](https://hesela.dev/terms/design-effect/) Citations: - [cameron-miller-2015] Cameron and Miller (2015): A Practitioner's Guide to Cluster-Robust Inference, sections II.F and VI. https://www.econ.ucdavis.edu/faculty/cameron/research/Cameron_Miller_JHR_2015_February.pdf (accessed 2026-11-19) - [rsample-groups] rsample: Group Bootstraps and grouped sampling with replacement. https://rsample.tidymodels.org/reference/group_bootstraps.html (accessed 2026-11-19) - [rsample-patterns] rsample: Common Resampling Patterns, grouped resampling and unequal group sizes. https://rsample.tidymodels.org/articles/Common_Patterns.html (accessed 2026-11-19) ### Clustered index URL: https://hesela.dev/terms/clustered-index/ Related analysis: https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ Also known as: Clustering index Status: shipping Record updated: 2026-11-18 A clustered index stores a table's rows in a key-ordered index structure that serves as the table's main storage organization. Note: InnoDB uses the primary key for clustering, otherwise the first UNIQUE index whose key columns are all NOT NULL, otherwise a generated hidden row identifier. [innodb-indexes] Clustering and the logical primary-key constraint are different concepts. PostgreSQL indexes are separate from the heap, even when enforcing a primary key. CLUSTER physically reorders that heap once; subsequent writes do not maintain the clustering order. [pg-secondary] [pg-cluster] SQLite WITHOUT ROWID uses a primary-key index b-tree for the table itself. Record payload can occur in internal cells as well as leaves, so leaf-only storage is not a universal property of clustered layouts. [sqlite-format] Storage order is not a SQL result-order guarantee. SQLite requires an ORDER BY clause when a defined output order is needed. [sqlite-order] B-trees do not imply row-oriented storage: Graefe's columnar design uses common logical row tags across separate trees. Its slot-derived tag compression depends on consecutive tags; gaps require additional handling. [graefe-columnar] Sources and caveats: - Cross-engine source synthesis, scoped to MySQL 8.4, PostgreSQL 18 and SQLite's documented file format. No new engine execution or performance measurement. Related terms: - [secondary-index](https://hesela.dev/terms/secondary-index/) - [b-tree](https://hesela.dev/terms/b-tree/) - [sqlite-without-rowid](https://hesela.dev/terms/sqlite-without-rowid/) Citations: - [innodb-indexes] MySQL 8.4: Clustered and Secondary Indexes. https://dev.mysql.com/doc/refman/8.4/en/innodb-index-types.html (accessed 2026-11-18) - [pg-secondary] PostgreSQL 18: Index-Only Scans and Covering Indexes. https://www.postgresql.org/docs/18/indexes-index-only-scans.html (accessed 2026-11-18) - [pg-cluster] PostgreSQL 18: CLUSTER, one-time ordering and locking. https://www.postgresql.org/docs/18/sql-cluster.html (accessed 2026-11-18) - [sqlite-format] SQLite file format: table storage and secondary-index row locators. https://www.sqlite.org/fileformat.html#representation_of_sql_indices (accessed 2026-11-18) - [sqlite-order] SQLite SELECT: ORDER BY and undefined result order. https://www.sqlite.org/lang_select.html#orderby (accessed 2026-11-18) - [graefe-columnar] Goetz Graefe: Efficient columnar storage in B-trees, sections 1 and 3-4. https://sigmodrecord.org/publications/sigmodRecord/0703/03.article-graefe.pdf (accessed 2026-11-18) ### CLWB URL: https://hesela.dev/terms/clwb/ Also known as: Cache Line Write Back, cache-line writeback instruction Status: shipping Record updated: 2026-11-28 CLWB is an x86 instruction that writes a modified CPU cache line back to memory while allowing it to remain cached. Note: Retention is optional: hardware may invalidate the line. Support is advertised by CPUID leaf 7, subleaf 0, EBX bit 24. [intel-sdm-cl] For an ADR-backed persistent-memory mapping, cache-line writeback and a following SFENCE can establish persistence. Detected eADR can remove explicit writebacks, but not the required ordering. Instruction support alone does not establish either platform contract. [pmem-glossary] A persistence operation does not make a multi-line update atomic. Data can reach persistence before an explicit request, so recovery must tolerate intermediate states. [pmdk-persist] Sources and caveats: - Instruction semantics follow Intel SDM revision 093. PMDK API behavior is pinned to version 1.13.1, not asserted to be the latest release. - Source synthesis only; no persistent-memory device, power-cut experiment or latency measurement. Related terms: - [clflushopt](https://hesela.dev/terms/clflushopt/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) - [adr](https://hesela.dev/terms/adr/) - [eadr](https://hesela.dev/terms/eadr/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [assise](https://hesela.dev/terms/assise/) - [sfence](https://hesela.dev/terms/sfence/) Citations: - [intel-sdm-cl] Intel SDM 093, Vol. 2A: CLFLUSHOPT (3-146) and CLWB (3-154). https://cdrdv2-public.intel.com/929353/253666-093-sdm-vol-2a.pdf (accessed 2026-11-28) - [pmem-glossary] PMem project glossary: CLWB, CLFLUSHOPT, ADR, eADR and fences. https://pmem.io/glossary/ (accessed 2026-11-28) - [pmdk-persist] PMDK 1.13.1: pmem2_get_persist_fn, flush/drain and non-transactional semantics. https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/pmem2_get_persist_fn.3.md (accessed 2026-11-28) - [hesela-pmem] Hesela: Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/#cache-line-writeback (accessed 2026-11-28) ### Conventional magnetic recording (CMR) URL: https://hesela.dev/terms/cmr/ Technology reference: https://hesela.com/tech/cmr/ Also known as: non-shingled PMR Status: shipping Record updated: 2026-10-19 Conventional magnetic recording (CMR) is a non-shingled HDD track layout that permits sector updates without overlap-driven rewrites. Note: CMR describes track layout, while PMR and longitudinal recording describe magnetization orientation. These are different classification axes, not a CMR-after-longitudinal succession. [n3] [pmr-hgst-2007] Heat assistance is separate too: HAMR CMR drives combine both properties. [n2] In-place update capability does not mean every host write immediately becomes a physical overwrite at its final location. A drive-managed SMR disk can also accept random writes; that interface does not prove non-shingled media. Physical bands and logical zones are distinct concepts. [snia-smr-models] Repeated writes can disturb adjacent data on CMR as well as SMR; firmware may refresh affected tracks. The layout is not a guarantee of refresh-free operation or constant latency. [kowles] Skylight's FAST 2015 experiments used two drive-managed SMR devices and three emulated designs. Controlled I/O and head-motion observations exposed persistent disk caches followed by band cleaning, illustrating why random-write acceptance is not evidence of CMR. These findings describe the tested devices. [skylight-fast15] Advantages: - Avoids the overlap-driven rewrite dependency of shingled recording. (sources: [n3]) Limitations: - The CMR label supplies no threshold for deciding when firmware must refresh disturbed tracks. (sources: [kowles]) Sources and caveats: - Retained the legacy alias non-shingled PMR for lookup compatibility; the definition does not restrict CMR to one magnetization orientation. - Removed the supersedes longitudinal-recording edge: it confused track layout with magnetization orientation. - The 2014 SNIA tutorial is used for physical/logical distinctions, not current revision-specific command requirements. Related terms: - [pmr](https://hesela.dev/terms/pmr/) - [smr](https://hesela.dev/terms/smr/) - [hdd](https://hesela.dev/terms/hdd/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [rotational-media](https://hesela.dev/terms/rotational-media/) - [adjacent-track-interference](https://hesela.dev/terms/adjacent-track-interference/) - [ati-refresh](https://hesela.dev/terms/ati-refresh/) - [longitudinal-recording](https://hesela.dev/terms/longitudinal-recording/) - [hamr](https://hesela.dev/terms/hamr/) Citations: - [c1] Shingled magnetic recording. https://en.wikipedia.org/wiki/Shingled_magnetic_recording (accessed 2026-03-26) - [n2] Seagate — CMR and SMR hard drive list. https://www.seagate.com/products/cmr-smr-list/ (accessed 2026-10-19) - [n3] Zoned Storage — SMR introduction (CMR vs overlapping tracks). https://zonedstorage.io/docs/introduction/smr (accessed 2026-10-19) - [kowles] Andrew Kowles (Seagate). Techniques for Shingled Disks: A View From Inside. SNIA SDC EMEA 2018, slide 6. https://www.snia.org/sites/default/files/SDCEMEA/2018/Presentations/Techniques-for-Shingled-Disks-SNIA-SDC-EMEA-2018.pdf (accessed 2026-10-19) - [pmr-hgst-2007] HGST: Perpendicular Magnetic Recording Technology, November 2007, sections 1.2-1.3 and Figure 1. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/white-paper/white-paper-pmr.pdf (accessed 2026-10-19) - [snia-smr-models] Mary Dunn and Timothy Feldman: Shingled Magnetic Recording - Models, Standardization, and Applications, SNIA 2014, slides 11-14 and 20. https://www.snia.org/sites/default/files/Dunn-Feldman_SNIA_Tutorial_Shingled_Magnetic_Recording-r7_Final.pdf (accessed 2026-10-19) - [skylight-fast15] Aghayev and Desnoyers. Skylight: A Window on Shingled Disk Operation. FAST 2015, sections 4.3-4.5 and Table 3. https://files.usenix.org/s3fs-public/cdn/fast15-paper-aghayev.pdf (accessed 2026-10-19) ### Code rate URL: https://hesela.dev/terms/code-rate/ Related analysis: https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ Also known as: coding rate, ECC code rate Status: shipping Record updated: 2026-11-22 For a block code encoding k equal-size information symbols into n encoded symbols of the same size, code rate is the dimensionless ratio k/n. Note: For 0 < k <= n, the redundancy fraction of encoded length is (n-k)/n = 1-R, while extra encoded size relative to the information payload is (n-k)/k = 1/R-1. At R=4/5 these are 20% and 25%, respectively. Neither ratio measures an SSD's complete capacity overhead. [rfc5510] For the linear code defined by Hx^T=0, k=n-rank(H), with rank computed over the code's finite field. An m-row matrix gives R=1-m/n only when those checks are independent; duplicate or dependent rows add no independent constraints. [forney2005] Rate alone does not specify correction capability or read cost. In a 2011 NAND simulation, BCH dimensions (n,k)=(9152,8256) and LDPC dimensions (9118,8225) yield different exact rates that both round to 0.9021. The comparison also depends on the selected codes, channel and decoder inputs. [wang2011] Sources and caveats: - The denominator identities are arithmetic for fixed-length equal-size symbols; RFC 5510 specifies a packet-erasure scheme, not SSD capacity accounting. - The 2011 comparison is a Gaussian-channel simulation, not measured performance of current NAND devices. Related terms: - [codeword](https://hesela.dev/terms/codeword/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [ldpc](https://hesela.dev/terms/ldpc/) - [bch-code](https://hesela.dev/terms/bch-code/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [soft-decision-decoding](https://hesela.dev/terms/soft-decision-decoding/) - [stopping-redundancy](https://hesela.dev/terms/stopping-redundancy/) Citations: - [rfc5510] RFC 5510 (2009): Reed-Solomon FEC schemes, sections 3.1-3.2, symbol definitions and code rate. https://www.rfc-editor.org/rfc/rfc5510.html#section-3.1 (accessed 2026-11-07) - [forney2005] G. D. Forney, MIT 6.451 (2005), sections 6.2.2 and 13.1: dual dimension and dependent parity checks. https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf (accessed 2026-11-07) - [wang2011] Wang et al., GLOBECOM 2011, section IV: BCH and LDPC code dimensions and decoding comparison. https://www.seas.ucla.edu/csl/files/publications/Jiadong_GC2011.pdf (accessed 2026-11-07) - [hesela-ldpc] Hesela: LDPC in NAND, the read cost of confidence. https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ (accessed 2026-11-07) ### Codeword (storage ECC) URL: https://hesela.dev/terms/codeword/ Related analysis: https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ Also known as: ECC codeword Status: shipping Record updated: 2026-11-07 A storage ECC codeword is an encoded unit representing a data chunk together with error-correction redundancy. Note: A NAND page can hold multiple codewords. Codeword length and protected payload length are different quantities when redundancy is included; report which one a size or error-rate denominator uses. A codeword is not automatically a sector, NAND page or erase block. [cai2017] Limitations: - A count of failed codewords does not count every erroneous bit in those words. (sources: [cai2017]) Related terms: - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [ldpc](https://hesela.dev/terms/ldpc/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [bit-error-rate](https://hesela.dev/terms/bit-error-rate/) - [subpacketization](https://hesela.dev/terms/subpacketization/) - [bch-code](https://hesela.dev/terms/bch-code/) - [error-syndrome](https://hesela.dev/terms/error-syndrome/) - [code-rate](https://hesela.dev/terms/code-rate/) Citations: - [cai2017] Cai et al. Error Characterization, Mitigation, and Recovery in Flash Memory Based Solid-State Drives (2017), sections II.C and VI.C. https://research.ece.cmu.edu/safari/pubs/1706.08642.pdf (accessed 2026-10-12) - [hesela-ldpc] Hesela: LDPC in NAND, the read cost of confidence. https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ (accessed 2026-10-12) ### CodingSets URL: https://hesela.dev/terms/codingsets/ Also known as: CodingSets placement Status: research Record updated: 2026-11-15 CodingSets is Hydra's placement scheme that restricts erasure-coded fragments to extended server groups while choosing less-loaded members. Note: Mechanism: CodingSets partitions servers into k+r+l-node groups. Each codeword uses k+r less-loaded members of one group; l adds placement choices. Hydra reports calculated large-cluster loss probabilities, not incident rates. [hydra] Origins: Copysets concerns replication rather than coded fragments. It separates loss frequency from magnitude and supports rack-constrained placement. [copysets] Exact example: Six equal-sized 2+1 stripes on six nodes store three fragments per node. Concentrated placement repeats two disjoint triples; spread placement uses six cyclic triples. For all 15 equally likely two-node failures, any-stripe loss occurs in 6/15 versus 12/15 cases. Each layout has 18 stripe-loss occurrences: mean 1.2 stripes per case, but 3 versus 1.5 conditional on any loss. Repeated placements hold distinct data. [results] Rack control: Instead weight the three rack outages {0,1}, {2,3}, {4,5} equally. Both layouts lose 6 stripes across three cases. A layout repeating {0,2,4} and {1,3,5} loses none. Its mean is still 1.2 under uniform two-node failures. Expected-loss invariance therefore needs a specified failure distribution. [results] Limits: These static layouts are not a full CodingSets load-balancing simulation. A stripe is unavailable with fewer than two surviving current fragments; this is not proof of permanent data loss. No repair, corruption, write race, fallback or outage duration is modeled. Exact inputs, cases and tests are downloadable. [model] [results] [tests] Probability: The section-5 power expression treats overlapping minimal failure subsets as independent; it is not an exact union probability for fixed-count failures. Exact node-disjoint-group counts use integer coefficients. [occupancy] Limitations: - For two disjoint, fully populated 2+1 groups, all 20 equally likely three-node failure sets make a stripe unavailable: 100%, versus 78.4% from the power expression. This is an exact constructed example, not a fleet measurement. [occupancy-results] - For 100 disjoint, fully populated 8+2 groups and ten uniformly chosen failed nodes, the exact probability is 0.834065%, versus 0.862885% from the power expression (rounded). The expression is neither a universal upper nor lower bound. [occupancy-results] Sources and caveats: - Primary-source synthesis with an original finite example, not a native Hydra deployment or replication of the papers' performance results. - Uniform scenario weights are constructed assumptions; no fleet failure rates, confidence intervals or availability SLA are inferred. - The occupancy audit assumes node-disjoint groups and uniform fixed-count failures. Its 1,000-node examples use l=0, not Figure 15's l=2 baseline; no practical ranking reversal is established. [occupancy] - With l>0, exceeding a group's parity threshold is only an upper envelope for stripe unavailability unless actual fragment placements cover every dangerous subset. Overlapping groups require a different count. [occupancy] - The original placement evidence is unchanged. The exact occupancy results and two independently implemented counting methods are included in the reproducible package. [occupancy-package] Related terms: - [hydra-remote-memory](https://hesela.dev/terms/hydra-remote-memory/) - [failure-domain](https://hesela.dev/terms/failure-domain/) Citations: - [hydra] Lee et al. Hydra: Resilient and Highly Available Remote Memory. FAST 2022, sections 5 and 7.2.1. https://www.usenix.org/system/files/fast22-lee.pdf (accessed 2026-11-15) - [copysets] Cidon et al. Copysets: Reducing the Frequency of Data Loss in Cloud Storage. ATC 2013, sections 4.1 and 4.3. https://files.usenix.org/s3fs-public/cdn/atc13-cidon.pdf (accessed 2026-11-15) - [results] Hesela: exact placement cases, event counts and conditional loss-size results. https://hesela.dev/research/codingsets-placement.json (accessed 2026-11-15) - [model] Hesela: standalone finite placement model, assumptions and reproduction command. https://hesela.dev/research/codingsets-placement.mjs (accessed 2026-11-15) - [tests] Hesela: exact arithmetic, exhaustive subset and invalid-input regression tests. https://hesela.dev/research/codingsets-placement.test.mjs (accessed 2026-11-15) - [occupancy] Hesela: exact fixed-count occupancy derivation, assumptions and reproduction instructions. https://hesela.dev/research/codingsets-occupancy/README.md (accessed 2026-11-15) - [occupancy-results] Hesela: exact integer counts, rational probabilities and formula comparisons. https://hesela.dev/research/codingsets-occupancy/results.json (accessed 2026-11-15) - [occupancy-package] Hesela: complete offline calculation, tests, independent oracle and source metadata. https://hesela.dev/research/codingsets-occupancy/reproduce.zip (accessed 2026-11-15) ### Coefficient of variation URL: https://hesela.dev/terms/coefficient-of-variation/ Also known as: CV Status: research Record updated: 2026-11-19 The coefficient of variation expresses standard deviation relative to the mean, usually for ratio-scale data with a meaningful zero. Note: The sample CV is s / mean, where s uses the n - 1 variance denominator. It is dimensionless; multiplying by 100 expresses it as a percentage for positive means. A zero mean makes the ratio undefined, and near-zero means make it unstable. [nist-cv] Synthetic latencies [1, 2, 3] ms have sample s = 1 ms and CV = 1/2. Adding 100 ms to each observation leaves s unchanged but gives CV = 1/102. Converting milliseconds to microseconds preserves CV; adding a delay does not. Lower relative spread alone is not lower latency. [nist-cv] [hesela-spread] CV summarizes spread relative to a mean, not the standard error of that mean or an upper latency percentile. Comparisons still require matching measurement boundaries and request populations. [nist-cv] Related terms: - [median-absolute-deviation](https://hesela.dev/terms/median-absolute-deviation/) - [quantile](https://hesela.dev/terms/quantile/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [standard-deviation](https://hesela.dev/terms/standard-deviation/) Citations: - [nist-cv] NIST Dataplot: Coefficient of Variation. https://itl.nist.gov/div898/software/dataplot/refman2/auxillar/coefvari.htm (accessed 2026-11-19) - [hesela-spread] Hesela: robust and relative latency spread, fixed arithmetic and reproducible code. https://hesela.com/analyses/storage-latency-coordinated-omission/#robust-relative-spread (accessed 2026-11-19) ### Cold archive tier URL: https://hesela.dev/terms/cold-archive/ Related article: https://hesela.com/tech/hot-warm-cold/ Also known as: cold storage tier Status: shipping Record updated: 2026-11-04 A cold archive tier is a storage class for rarely accessed data whose retention and retrieval requirements govern its design. Note: Cold and archive are not interchangeable access guarantees. One block-blob service keeps Cold online but requires Archive payloads to be rehydrated before reads. Some metadata remains available during archiving. [azure-tiers] Pergamum proposes cached-signature comparisons while disks are off; full scrubbing reads the disk blocks. Cached agreement cannot expose unread payload changes before a fresh media read. Section 5.3 excludes scrubbing and consistency checking from the evaluated prototype, so these mechanisms are not measured prototype capabilities. [c3] A minimum billable duration concerns charges, not a retention lock. Verify deletion protection, recovery copies and the restoration path separately from the storage tier. [azure-tiers] Object count and payload-size distribution also affect billing. Distinguish per-object size floors from separately billed metadata; neither specifies physical media allocation. [s3-pricing] Restoration also has a lifetime. S3 Glacier Flexible Retrieval and Deep Archive make a temporary readable copy without changing the object's storage class. S3 Intelligent-Tiering archive restoration instead moves the object to Frequent Access and does not accept a Days parameter. Check completion and expiry, not only request acceptance. [s3-restore] Shared-resource limits also constrain archive access; a rack-wide count can miss a local conflict. Pelican's rules count both spinning and spinning-up disks. [c2] Advantages: - Maintaining metadata in non-volatile memory can avoid some spin-ups for metadata operations. (sources: [c3]) Limitations: - A powered-down disk may remain attached to a networked system, so power state alone does not establish an air gap. (sources: [c3]) - Restoration delay and retrieval charges must be included in recovery planning. (sources: [azure-tiers]) Sources and caveats: - Pergamum is the FAST 2008 disk-based research system. Sections 4.2 and 4.3.2 distinguish signature comparison from media scrubbing. - The unobserved-payload limitation follows from the mechanism; no new hardware experiment is claimed. - The Azure example concerns block-blob service semantics, not all archival media or a universal cold-access delay. - The prototype limitation is explicit in section 5.3; mechanism coverage is separate from implementation evaluation. Related terms: - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [tape](https://hesela.dev/terms/tape/) - [lto](https://hesela.dev/terms/lto/) - [object-storage](https://hesela.dev/terms/object-storage/) - [air-gap-backup](https://hesela.dev/terms/air-gap-backup/) - [warm-storage](https://hesela.dev/terms/warm-storage/) - [hot-storage](https://hesela.dev/terms/hot-storage/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [storage-resource-domain](https://hesela.dev/terms/storage-resource-domain/) - [minimum-storage-duration](https://hesela.dev/terms/minimum-storage-duration/) - [minimum-billable-object-size](https://hesela.dev/terms/minimum-billable-object-size/) - [algebraic-signature](https://hesela.dev/terms/algebraic-signature/) - [lustre-hsm](https://hesela.dev/terms/lustre-hsm/) - [lustre-hsm-release](https://hesela.dev/terms/lustre-hsm-release/) - [pelican](https://hesela.dev/terms/pelican/) Citations: - [c1] Cold archive tier. https://en.wikipedia.org/wiki/Cold_data (accessed 2026-03-26) - [c2] Balakrishnan et al.: Pelican: A Building Block for Exascale Cold Data Storage, USENIX OSDI 2014 (research prototype paper). https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-balakrishnan.pdf (accessed 2026-10-16) - [c3] Storer et al., Pergamum, FAST 2008, sections 4.1-4.3.2 and 5.3. https://www.usenix.org/legacy/event/fast08/tech/full_papers/storer/storer.pdf (accessed 2026-10-23) - [azure-tiers] Microsoft Learn: Access tiers for blob data, online tiers, archive and billing. https://learn.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview (accessed 2026-10-22) - [s3-restore] Amazon S3 User Guide: Working with archived objects, temporary copies and Intelligent-Tiering. https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html (accessed 2026-10-23) - [s3-pricing] Amazon S3 pricing: object-size floors and archive metadata. https://aws.amazon.com/s3/pricing/ (accessed 2026-10-23) ### Collective I/O URL: https://hesela.dev/terms/collective-io/ Also known as: collective file I/O, collective MPI-IO Status: research Record updated: 2026-12-02 Collective I/O is file access coordinated across a group of processes, allowing their requests to be considered together. Note: In MPI, the collective group comes from the communicator used to open the file, through a duplicate associated with its handle. Other arguments can differ unless the operation requires agreement. Matching collective operations must occur in the same order across the group. [mpi][order] Participation does not guarantee aggregation: ROMIO can service a collective call with individual accesses when collective buffering is disabled or its heuristic chooses that path. Two-phase I/O is one implementation strategy, not another name for every collective operation. [hints] The implementation may wait for every member to enter before making progress. A fast process can therefore wait for a late participant even when the storage device is idle. [progress] The linked example separates file-read bytes, file-read calls and cross-rank payload. None alone predicts elapsed time. [example] Sources and caveats: - MPI 4.1 semantics and the dated ROMIO guide are separate evidence scopes; library configuration is not an interface guarantee. Related terms: - [mpi-file-view](https://hesela.dev/terms/mpi-file-view/) - [two-phase-io](https://hesela.dev/terms/two-phase-io/) - [data-sieving](https://hesela.dev/terms/data-sieving/) - [disk-directed-io](https://hesela.dev/terms/disk-directed-io/) Citations: - [mpi] MPI 4.1, Collective File Operations. https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node386.htm (accessed 2026-12-02) - [order] MPI 4.1, Correctness: ordering of collective calls. https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node172.htm (accessed 2026-12-02) - [hints] ROMIO users guide, Hints (2016): collective-buffering controls. https://ftp.mcs.anl.gov/pub/romio/users-guide/node6.html (accessed 2026-12-02) - [progress] MPI 4.1, Progress: collective file routines. https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node385.htm (accessed 2026-12-02) - [example] Hesela: cyclic-read request and redistribution accounting. https://hesela.dev/research/collective-io/README.md (accessed 2026-12-02) ### Comma-free code URL: https://hesela.dev/terms/comma-free-code/ Also known as: Comma-free dictionary, Self-synchronizing block code Status: research Record updated: 2026-11-18 A comma-free code uses equal-length words so that no shifted word-length window across two codewords is itself a codeword. Note: Alignment: The condition includes two identical words. In an uncorrupted concatenation, finding a complete codeword identifies a boundary without a delimiter. This is the fixed-length convention, not a synonym for every prefix code. [golomb1958] Example: The binary dictionary {001, 011} has eight shifted windows across its four ordered word pairs, none valid. With enough valid continuation, a scanner starting anywhere needs at most five observed bits to include a complete word. The suffix 01 alone is too short. [example] Integrity: Changing 001 to 011 by one bit preserves codeword validity. Both words can also lose one bit and yield 01, so this dictionary cannot correct every single deletion even with the original width known. Synchronization and correction are separate requirements. [example] Distinctions: The complete two-bit prefix code parses an alternating stream as 01 or, one bit later, 10 indefinitely. Conversely, {001, 011} is comma-free but not cross-bifix-free: suffix 01 of 001 equals prefix 01 of 011. The latter condition forbids every proper prefix/suffix overlap. [example] [blackburn2015] Storage: SATA uses K28.5 in ALIGN for alignment, not arbitrary valid 8b/10b words. Repeated D10.2 words also produce valid shifted words. During speed negotiation, the specification recommends checking whole ALIGN primitives, not just their comma. [sata35] [example] Limitations: - The example carries one source bit in three stored bits before framing or outer protection; it is neither a compressor nor a noisy-channel recovery guarantee. (sources: [example]) Sources and caveats: - Primary-source synthesis and exact finite enumeration of 65,808 nonempty binary dictionaries, not a media experiment or a new general theorem. - Status research describes the storage-coding context; the mathematical definition is established. The construction does not identify a deployed storage format. Related terms: - [huffman-coding](https://hesela.dev/terms/huffman-coding/) - [tunstall-coding](https://hesela.dev/terms/tunstall-coding/) - [varshamov-tenengolts-code](https://hesela.dev/terms/varshamov-tenengolts-code/) - [sata](https://hesela.dev/terms/sata/) Citations: - [golomb1958] Golomb, Gordon and Welch: Comma-Free Codes, Canadian Journal of Mathematics 10 (1958), 202-209, section 1. https://doi.org/10.4153/CJM-1958-023-9 (accessed 2026-11-18) - [blackburn2015] Simon R. Blackburn: Non-overlapping codes, arXiv:1303.1026v3 (2015), introduction. https://arxiv.org/abs/1303.1026v3 (accessed 2026-11-18) - [example] Hesela: exhaustive small comma-free dictionaries, phase recovery and error counterexamples. https://hesela.dev/research/comma-free-codes/README.md (accessed 2026-11-18) - [sata35] SATA-IO: Serial ATA Revision 3.5 Gold (2020), sections 4.1.1.11, 4.1.1.16-17, 8.4.4.1 and 9.3.3.5. https://sata-io.org/system/files/specifications/SerialATA_Revision_3_5_Gold.pdf (accessed 2026-11-18) ### Command-based switching (SATA) URL: https://hesela.dev/terms/command-based-switching/ Related article: https://hesela.com/tech/sata/ Also known as: SATA CBS Status: shipping Record updated: 2026-11-12 Command-based switching restricts outstanding commands behind a SATA port multiplier to one downstream device at a time. Note: The host completes work for the selected device before issuing commands to another target. This restriction concerns the target, not a universal one-command queue. [sata-switching] AHCI explicitly permits NCQ operation in this mode, with the active queue drained before changing targets. [ahci-switching] A busy target can delay access to other attached drives even while those drives could perform work independently. [switching-context] Sources and caveats: - SATA-IO sections were checked through indexed primary-specification text; direct PDF retrieval was unavailable. [sata-switching] Related terms: - [sata-port-multiplier](https://hesela.dev/terms/sata-port-multiplier/) - [fis-based-switching](https://hesela.dev/terms/fis-based-switching/) - [native-command-queuing](https://hesela.dev/terms/native-command-queuing/) - [ahci](https://hesela.dev/terms/ahci/) Citations: - [sata-switching] SATA-IO Serial ATA Revision 2.6, section 16.7, page 545: command-based and FIS-based switching. https://sata-io.org/system/files/specifications/SerialATA_Revision_2_6_Gold.pdf (accessed 2026-10-19) - [ahci-switching] Intel AHCI 1.3.1, sections 3.1.1, 3.3.7, 3.3.16 and 9: capabilities and port-multiplier operation. https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1-3-1.pdf (accessed 2026-10-19) - [switching-context] Scott Knowlton, Synopsys: Understanding SATA FIS-Based Switching (2013), connectivity and shared bandwidth. https://www.chipestimate.com/Understanding-SATA-FIS-Based-Switching/Synopsys/Technical-Article/2013/01/22 (accessed 2026-10-19) ### Command descriptor block (CDB) URL: https://hesela.dev/terms/command-descriptor-block/ Related article: https://hesela.com/tech/scsi/ Also known as: CDB, SCSI CDB Status: shipping Record updated: 2026-10-28 A command descriptor block (CDB) is the byte-encoded description of a SCSI command. Note: Command and data: The CDB identifies a command and is distinct from its associated data payload. Common fixed-length formats are 6, 10, 12 and 16 bytes; the operation and command set determine the layout. [snia-cdb] [linux-guide] Interpretation: Decode the command using the applicable device command set, such as SBC for block devices or SSC for sequential-access devices. A shared SCSI transport does not make their operations interchangeable. [t10-architecture] Transfer counts: For direct-access block devices, legacy READ(6) uses a one-byte transfer-length field where zero specifies 256 logical blocks. READ(10) uses a two-byte block count where zero requests no logical blocks. These are requested block counts, not CDB byte lengths or proof of completed transfer. Linux v6.12 decodes the two forms accordingly. [read-count-manual] [read-count-linux] Measurement: The sg_read zero-block mode times command overhead using READ(10), READ(12) or READ(16). Its completed-command rate does not establish a user-data byte rate; READ(6) does not share that zero-block interpretation. [read-count-tool] Sources and caveats: - The listed fixed lengths are examples, not an exhaustive limit on SCSI command formats. - The zero-count contrast concerns direct-access block commands, not tape READ(6). The cited manual labels block READ(6) obsolete; support is not implied for every device. [read-count-manual] Related terms: - [scsi](https://hesela.dev/terms/scsi/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [logical-unit-number](https://hesela.dev/terms/logical-unit-number/) - [scsi-check-condition](https://hesela.dev/terms/scsi-check-condition/) Citations: - [snia-cdb] SNIA dictionary: Command Descriptor Block. https://www.snia.org/education/online-dictionary/term/command-descriptor-block (accessed 2026-10-20) - [linux-guide] Linux SCSI Interfaces Guide: protocol versus bus and subsystem layers. https://docs.kernel.org/driver-api/scsi.html (accessed 2026-10-20) - [t10-architecture] T10: SCSI standards architecture and command families. https://www.t10.org/drafts.htm (accessed 2026-10-20) - [read-count-manual] Seagate SCSI Commands Reference Manual, Rev. L (2020), sections 3.17-3.18. https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068L.pdf (accessed 2026-10-28) - [read-count-linux] Linux v6.12: scsi_trace_rw6 and scsi_trace_rw10 transfer-count decoding. https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/scsi/scsi_trace.c (accessed 2026-10-28) - [read-count-tool] sg3_utils v1.48: sg_read(8), zero-block command-overhead timing. https://raw.githubusercontent.com/hreinecke/sg3_utils/v1.48/doc/sg_read.8 (accessed 2026-10-28) ### Command duration limit URL: https://hesela.dev/terms/command-duration-limit/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: Command Duration Limits, CDL, Device duration limit Status: shipping Record updated: 2026-10-16 A command duration limit is a device-side policy selected by a descriptor index for supported storage commands. Note: Linux v6.12 I/O-priority hints 1 through 7 select duration-limit descriptors on supporting ATA/SCSI devices when CDL is enabled. The hint is an index, not seconds, and is separate from scheduling class and priority level. [c1] The cdl_supported attribute reports capability; cdl_enable controls activation and is documented as off by default. In the v6.12 SCSI disk driver, sd_cdl_dld() selects zero unless support, activation and a valid request hint are all present. Enabling CDL alone does not assign every request a nonzero descriptor. [c2] [c3] The descriptor and device contract determine the applicable policy. Its index alone does not specify the duration or establish a host deadline, final write outcome or durable completion. [c4] In Linux v6.12, ABORTED_COMMAND with ASC/ASCQ 2E/01-03 and COMPLETED with 55/0A both receive SCSIML_STAT_DL_TIMEOUT. SCSI suppresses retries for this classification; the internal SUCCESS return is not I/O success. [c5] The completion path maps that classification to BLK_STS_DURATION_LIMIT and then -ETIME, distinct from BLK_STS_TIMEOUT's -ETIMEDOUT. This source-level mapping does not promise unchanged errors at the application or rule out retries above SCSI. [c6] [c7] Sources and caveats: - Linux behavior is scoped to v6.12 source and ABI documentation, not every deployed kernel or storage transport. - Source review only; no device CDL configuration or fault-injection test was performed. Related terms: - [error-recovery-control](https://hesela.dev/terms/error-recovery-control/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [scsi](https://hesela.dev/terms/scsi/) - [sata](https://hesela.dev/terms/sata/) Citations: - [c1] Linux v6.12: include/uapi/linux/ioprio.h, device duration-limit hints. https://raw.githubusercontent.com/torvalds/linux/v6.12/include/uapi/linux/ioprio.h (accessed 2026-10-16) - [c2] Linux v6.12: sysfs-block-device ABI, cdl_supported and cdl_enable. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/testing/sysfs-block-device (accessed 2026-10-16) - [c3] Linux v6.12: drivers/scsi/sd.c, sd_cdl_dld(). https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/scsi/sd.c (accessed 2026-10-16) - [c4] Hesela: Storage timeouts and uncertain completion. https://hesela.com/analyses/storage-timeouts-uncertain-completion/ (accessed 2026-10-16) - [c5] Linux v6.12: scsi_check_sense() and scsi_noretry_cmd(). https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/scsi/scsi_error.c (accessed 2026-10-16) - [c6] Linux v6.12: scsi_result_to_blk_status(). https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/scsi/scsi_lib.c (accessed 2026-10-16) - [c7] Linux v6.12: blk_errors[] and blk_status_to_errno(). https://raw.githubusercontent.com/torvalds/linux/v6.12/block/blk-core.c (accessed 2026-10-16) ### LSM compaction URL: https://hesela.dev/terms/compaction/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: LSM-tree compaction Status: shipping Record updated: 2026-11-10 LSM compaction reorganizes sorted storage components, commonly merging selected runs or SST files and removing obsolete entries when visibility rules permit. Note: Compaction is not compression: it changes the organization and retained versions of data, whereas compression changes their representation. A snapshot can keep an older version necessary. Background merges consume CPU and I/O even when foreground queries perform no writes. [rocks-overview] Some nonoverlapping files can move between levels without rewriting their contents, so compaction need not rewrite every selected byte. [rocks-compaction] A strategy specifies trigger, layout, granularity and data-movement policy, not just leveled versus tiered organization. [compaction-design] RocksDB can apply write backpressure when background work falls behind. Its pending-compaction-byte estimate is specifically a leveled-compaction property, not a universal measure of all compaction strategies. [properties] Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sstable](https://hesela.dev/terms/sstable/) - [leveled-compaction](https://hesela.dev/terms/leveled-compaction/) - [tiered-compaction](https://hesela.dev/terms/tiered-compaction/) - [database-write-amplification](https://hesela.dev/terms/database-write-amplification/) - [pending-compaction-bytes](https://hesela.dev/terms/pending-compaction-bytes/) - [rocksdb-write-stall](https://hesela.dev/terms/rocksdb-write-stall/) - [vt-tree](https://hesela.dev/terms/vt-tree/) Citations: - [rocks-overview] RocksDB project. Overview: multi-threaded compaction and snapshot visibility. https://github.com/facebook/rocksdb/wiki/RocksDB-Overview (accessed 2026-10-14) - [rocks-compaction] RocksDB project. Compaction: leveled, tiered and hybrid policies. https://github.com/facebook/rocksdb/wiki/Compaction (accessed 2026-10-14) - [compaction-design] Sarkar, Staratzis, Zhu and Athanassoulis. Constructing and Analyzing the LSM Compaction Design Space. PVLDB 14(11), 2216-2229 (2021), DOI: 10.14778/3476249.3476274; updated arXiv:2202.04522v2 (2022), sections 2-5. https://arxiv.org/abs/2202.04522v2 (accessed 2026-10-14) - [hesela] Hesela. Bloom filters: optimize the lookup, not each filter; compaction and measurement boundaries. https://hesela.com/analyses/bloom-filters-lsm-read-cost/ (accessed 2026-10-14) - [properties] RocksDB v10.10.1. Pending compaction bytes and write-control properties. https://github.com/facebook/rocksdb/blob/v10.10.1/include/rocksdb/db.h#L1263 (accessed 2026-10-15) ### Compare-and-swap URL: https://hesela.dev/terms/compare-and-swap/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: CAS, Compare-and-set Status: shipping Record updated: 2026-12-05 Compare-and-swap is an atomic conditional update that replaces a stored value only if it matches an expected value and reports the comparison outcome or observed value. Note: The comparison and update must be indivisible; separate GET and PUT requests leave a race. Value equality misses A-B-A changes. A timeout can leave completion unknown. This CAS is not content-addressable storage. [etcd-guarantees] As a shared-memory object, a CAS register has infinite consensus number. A sentinel-initialized register supports wait-free agreement for any number of processes. Read/write registers have 1; test-and-set, swap and fetch-and-add have 2. Combining those weaker operations cannot implement wait-free CAS for 3 or more processes. [herlihy-waitfree] etcd transactions compare value, version, creation or modification revision with equal, greater, less or not-equal tests, then execute one branch atomically. Modification increments the version; deletion resets it to 0. VERSION can repeat after recreation, even with different bytes. CREATE guards the observed lifetime but allows in-place writes. MOD guards the last modification: use the key's mod_revision, not the response header's store revision. [etcd-api] [etcd-compare-3616] In 40 prescribed cases repeated in three fresh etcd 3.6.16 clusters, VERSION accepted recreation, CREATE accepted in-place changes, and MOD rejected both. Unrelated-key writes passed every tested guard. These are controlled observations, not failure rates. [hesela-incarnation] Snapshot restore creates a new logical cluster and may move revisions backward. These guards need an explicit recovery policy and do not fence external writes. [etcd-recovery] Advantages: - A single guarded transaction both checks and writes, and the store revision advances only once for all requests inside it, so its events share one revision. (sources: [etcd-api]) Limitations: - Requests inside one transaction may not share keys between puts and deletes, so a single guarded step cannot both rewrite and remove the same key. (sources: [etcd-api]) Sources and caveats: - herlihy-waitfree read 2026-10-23, sections 3.1 to 3.3, for the consensus-number hierarchy, Theorem 5 and Corollary 3. - etcd-api re-read 2026-10-23 for the Compare message, key metadata fields and transaction semantics. - The snapshot-isolation entry links here because its commit rule rejects a transaction when a concurrent committed one wrote the same data, a per-item conflict test akin to a revision compare. - Two companion analyses on ordering and on device-level conditional updates are listed but not used in prose. - 2026-11-29: three fresh local etcd 3.6.16 clusters, 40 cases per run. Raw captures, revised verifier and limitations in the linked evidence packet. No recovery or fault-rate experiment. Related terms: - [aba-problem](https://hesela.dev/terms/aba-problem/) - [linearizability](https://hesela.dev/terms/linearizability/) - [serializability](https://hesela.dev/terms/serializability/) - [conditional-write](https://hesela.dev/terms/conditional-write/) - [nvme-compare-and-write](https://hesela.dev/terms/nvme-compare-and-write/) - [write-skew](https://hesela.dev/terms/write-skew/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [scsi-compare-and-write](https://hesela.dev/terms/scsi-compare-and-write/) - [llama](https://hesela.dev/terms/llama/) - [gryff](https://hesela.dev/terms/gryff/) - [pineapple](https://hesela.dev/terms/pineapple/) - [sinfonia](https://hesela.dev/terms/sinfonia/) - [content-addressed-storage](https://hesela.dev/terms/content-addressed-storage/) Citations: - [etcd-api] etcd v3.6 documentation: Key-Value pair metadata and Transaction. https://etcd.io/docs/v3.6/learning/api/ (accessed 2026-10-23) - [etcd-guarantees] etcd v3.6 API guarantees: durability, strict serializability and operation completion. https://etcd.io/docs/v3.6/learning/api_guarantees/ (accessed 2026-10-12) - [hesela-consistency] Storage consistency: ordering is not a transaction or a durability promise. https://hesela.com/analyses/storage-consistency-ordering/ (accessed 2026-10-12) - [hesela-fused] Hesela: NVMe conditional updates and complete constructed schedules. https://hesela.com/analyses/storage-consistency-ordering/#nvme-fused (accessed 2026-10-21) - [herlihy-waitfree] Herlihy. Wait-Free Synchronization. ACM TOPLAS 13(1), 1991, sections 3.1 to 3.3. https://cs.brown.edu/~mph/Herlihy91/p124-herlihy.pdf (accessed 2026-10-23) - [etcd-compare-3616] etcd v3.6.16, txn.go: applyCompare and compareKV, commit 0b065e61c679ea81f6862bb24c9815f7fc673966. https://github.com/etcd-io/etcd/blob/0b065e61c679ea81f6862bb24c9815f7fc673966/server/etcdserver/txn/txn.go (accessed 2026-11-28) - [etcd-recovery] etcd v3.6 disaster recovery: Revision Difference and Restoring from snapshot. https://etcd.io/docs/v3.6/op-guide/recovery/ (accessed 2026-11-28) - [hesela-incarnation] Hesela: native etcd key-incarnation conditions, captures and reproducibility method. https://hesela.dev/research/etcd-key-incarnation/README.md (accessed 2026-11-29) ### Compensation log record URL: https://hesela.dev/terms/compensation-log-record/ Also known as: CLR Status: shipping Record updated: 2026-10-30 A compensation log record is a redo-only log record that describes an action taken to undo an update and points to where rollback should continue. Note: Compensation records are redo-only: recovery may redo a compensation but never undoes it. PrevLSN follows the transaction log chain, while the UndoNxtLSN field of a compensation record points to the predecessor of the update being undone. A rollback interrupted by a crash, or a nested rollback, therefore resumes there and bypasses work already compensated. [aries-beyond] In the original method each update record is matched with at most 1 compensation record, regardless of how many times restart recovery runs, which bounds logging during rollback. A durable compensation record can survive while its page update does not; the redo pass, one of 3 restart passes, restores that update before rollback continues. If the record was volatile and is lost, that progress is not preserved. [aries] Because the record describes the action actually performed, an undo need not touch the page of the original update: a B+-tree key inserted on page 10 may be removed from page 20 after another transaction moved it. These are original repeating-history semantics, not a claim that every write-ahead log uses compensation records. [aries-beyond] Advantages: - Compensation records carry only redo information, so on average a rollback consumes about half the log space of the forward processing it reverses. (sources: [aries]) - A dummy compensation record closing a nested top action lets a later rollback skip a completed structure change, such as a page split, while that change stays durable. (sources: [aries-beyond]) Limitations: - Rollback still writes log records, so a system short of log space must reserve enough space to roll back every running transaction. (sources: [aries]) Sources and caveats: - aries re-read 2026-10-23 for the one-record-per-update bound, the restart passes, the half-space rollback estimate and log-space reservation. - aries-beyond re-read 2026-10-23, sections 3.2.1-3.2.3, for UndoNxtLSN chaining, logical undo and nested top actions. - A companion analysis with a synthetic rollback trace is listed but not used in prose. Related terms: - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [log-sequence-number](https://hesela.dev/terms/log-sequence-number/) - [page-lsn](https://hesela.dev/terms/page-lsn/) - [fuzzy-checkpoint](https://hesela.dev/terms/fuzzy-checkpoint/) - [point-in-time-recovery](https://hesela.dev/terms/point-in-time-recovery/) - [physiological-logging](https://hesela.dev/terms/physiological-logging/) Citations: - [aries] Mohan, Haderle, Lindsay, Pirahesh and Schwarz. ARIES. ACM TODS 17(1), 1992, sections 3, 5.2 and 6.2-6.3. https://www.cs.cmu.edu/~15849g/readings/mohan92.pdf (accessed 2026-10-23) - [aries-beyond] C. Mohan. Repeating History Beyond ARIES. VLDB 1999, sections 3.2.1-3.2.3. https://www.vldb.org/conf/1999/P1.pdf (accessed 2026-10-23) - [hesela-wal] Hesela: ARIES rollback progress, with a synthetic executable trace. https://hesela.com/analyses/wal-checkpoints-torn-pages/#aries-rollback (accessed 2026-10-15) ### Competing risks URL: https://hesela.dev/terms/competing-risks/ Related analysis: https://hesela.com/analyses/backblaze-age-missing-data-audit/ Also known as: Competing events Status: shipping Record updated: 2026-10-29 Competing risks are mutually exclusive first-event types for which occurrence of one prevents the others from being the first event in the defined process. Note: For a storage cohort whose endpoint is failure before permanent withdrawal from service, documented retirement is a competing event; study end is censoring. This is a modeling example, not a classification of every disappearance in a drive log. [therneau-competing] A hypothetical lifetime under continued service is a different target: merely censoring retired drives does not identify it without further assumptions. Unknown gaps and temporary removal need separate handling. [andersen-competing] Related terms: - [cumulative-incidence-function](https://hesela.dev/terms/cumulative-incidence-function/) - [cause-specific-hazard](https://hesela.dev/terms/cause-specific-hazard/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [informative-censoring](https://hesela.dev/terms/informative-censoring/) - [aalen-johansen-estimator](https://hesela.dev/terms/aalen-johansen-estimator/) Citations: - [therneau-competing] Therneau, Crowson and Atkinson: Multi-state models and competing risks (12 January 2026), sections 2.1-2.2 and 3. https://stat.ethz.ch/R-manual/R-patched/library/survival/doc/compete.pdf (accessed 2026-10-16) - [andersen-competing] Andersen, Geskus, de Witte and Putter (2012): Competing risks in epidemiology: possibilities and pitfalls, DOI 10.1093/ije/dyr213. https://pmc.ncbi.nlm.nih.gov/articles/PMC3396320/ (accessed 2026-10-16) ### Completion latency (fio) URL: https://hesela.dev/terms/completion-latency/ Also known as: clat Status: shipping Record updated: 2026-11-18 Completion latency in fio is the engine-dependent interval from submission of an I/O unit to observation of its completion. Note: For asynchronous I/O, observation includes fio reaping the completion; clat is not necessarily time spent only inside a storage device [fio]. Pool compatible clat means using their own sample counts; a zero-sample mean does not measure zero latency [fio-stat]. A completion-latency log can contain individual observations or per-direction window summaries, depending on log_avg_msec and log_window_value. With averaging, a row is not one completed operation; partial windows are flushed at job completion. The timestamp is in milliseconds while latency values are in nanoseconds. [fio-log-format] Hesela's pinned null-engine fixture retains raw reports and logs, checks counts per direction, and reconstructs every histogram bin for its per-I/O runs. Its window-mean controls demonstrate that a reduced log row count need not mean fewer histogram observations. It is a reporting-consistency check, not a storage performance result. [hesela-log-check] Related terms: - [submission-latency](https://hesela.dev/terms/submission-latency/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [iops](https://hesela.dev/terms/iops/) - [latency-histogram-bin](https://hesela.dev/terms/latency-histogram-bin/) - [closed-loop-load](https://hesela.dev/terms/closed-loop-load/) - [service-time](https://hesela.dev/terms/service-time/) - [queueing-delay](https://hesela.dev/terms/queueing-delay/) Citations: - [fio] fio documentation: interpreting slat, clat and lat; engine-dependent timing boundaries. https://fio.readthedocs.io/en/master/fio_doc.html (accessed 2026-10-13) - [fio-stat] fio 3.41 source: stat.c, add_ddir_lat_json and add_ddir_status_json; latency sample counts and directional runtime denominators. https://github.com/axboe/fio/blob/fio-3.41/stat.c#L1410-L1600 (accessed 2026-10-13) - [hesela-populations] Hesela: fio summaries, latency sample populations and runtime denominators; synthetic examples. https://hesela.com/analyses/storage-latency-coordinated-omission/#fio-populations (accessed 2026-10-13) - [fio-log-format] fio 3.41 pinned HOWTO: log_avg_msec, log_entries and Log File Formats; partial windows and per-direction rows. https://github.com/axboe/fio/blob/ed675d3477a70a42d2e757b713f6c7125a27cdca/HOWTO.rst#log-file-formats (accessed 2026-10-21) - [hesela-log-check] Hesela: executed fio 3.41 null-engine log/histogram reconciliation, raw evidence and replay checker. https://hesela.com/analyses/storage-latency-coordinated-omission/#native-log-check (accessed 2026-10-21) ### Composite checksum URL: https://hesela.dev/terms/composite-checksum/ Also known as: Multipart composite checksum, COMPOSITE checksum Status: shipping Record updated: 2026-11-30 A composite checksum is an object-level integrity value formed by combining the ordered checksums of the object's upload parts under a specified construction. Note: S3 distinguishes COMPOSITE from FULL_OBJECT. [aws-s3-upload-checksums] For multipart SHA-256, the documented construction hashes the concatenated binary part digests and returns the Base64 digest with a part-count suffix; hashing the assembled file once is a different construction. [aws-s3-checksum-tutorial] For completed-object verification, request ObjectParts, ObjectSize and Checksum through GetObjectAttributes. Unrequested attributes are omitted. Use the same selected non-null version for metadata and payload requests where available. [aws-object-attributes] [aws-s3-get-object] If IsTruncated is true, continue with NextPartNumberMarker as the next request's PartNumberMarker. TotalPartsCount counts all parts, not just the current page. Boto3 uses this name; the raw XML element is PartsCount. [aws-object-attributes] [aws-boto3-attributes] For general-purpose buckets, Parts can be absent when no additional checksum was applied; absence is not proof of an empty object. [aws-attribute-parts] Verification guidance: retain ordered part identities and byte sizes, reject duplicate identities or an incomplete reported part count, and check their total against ObjectSize and received length. Hash the received bytes at those boundaries. Recombining server-reported digests alone checks metadata consistency, not the downloaded payload. [aws-object-part] [aws-s3-checksum-tutorial] Advantages: - Part checksums can be validated independently before their ordered digests are combined into the object's composite checksum. (sources: [aws-s3-checksum-tutorial]) Limitations: - Verification requires the original part boundaries, part order and specified algorithm; a different multipart layout can change the value without changing the assembled bytes. (sources: [aws-s3-checksum-tutorial]) - For S3 GetObject, request ChecksumMode ENABLED and inspect ChecksumType alongside the algorithm field; the ETag is a separate validator, not a substitute checksum. (sources: [aws-s3-get-object]) Sources and caveats: - Expanded from official AWS API documentation reviewed 2026-11-29. Verification recommendations are a source-based synthesis, not an executed S3 downloader or cloud-service experiment. Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [full-object-checksum](https://hesela.dev/terms/full-object-checksum/) - [multipart-upload](https://hesela.dev/terms/multipart-upload/) - [entity-tag](https://hesela.dev/terms/entity-tag/) - [object-storage](https://hesela.dev/terms/object-storage/) - [base64](https://hesela.dev/terms/base64/) - [crc-concatenation](https://hesela.dev/terms/crc-concatenation/) Citations: - [aws-s3-upload-checksums] Amazon S3: Checking object integrity for data uploads, full-object and composite checksum types. https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity-upload.html (accessed 2026-10-16) - [aws-s3-checksum-tutorial] Amazon S3 tutorial: Upload an object through multipart upload and verify its data integrity, step 9. https://docs.aws.amazon.com/AmazonS3/latest/userguide/tutorial-s3-mpu-additional-checksums.html (accessed 2026-10-16) - [aws-s3-get-object] Amazon S3 API Reference: GetObject, checksum mode, checksum type and ETag. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html (accessed 2026-10-16) - [hesela-checksum-scope] Hesela: Object ETags, multipart checksum scope and download verification. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#download-verification (accessed 2026-10-16) - [aws-object-attributes] Amazon S3 API: GetObjectAttributes, selected metadata and version ID. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html (accessed 2026-11-29) - [aws-attribute-parts] Amazon S3 API: GetObjectAttributesParts, continuation and absent part metadata. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributesParts.html (accessed 2026-11-29) - [aws-object-part] Amazon S3 API: ObjectPart, part identity and byte size. https://docs.aws.amazon.com/AmazonS3/latest/API/API_ObjectPart.html (accessed 2026-11-29) - [aws-boto3-attributes] Boto3: get_object_attributes response structure and TotalPartsCount. https://docs.aws.amazon.com/boto3/latest/reference/services/s3/client/get_object_attributes.html (accessed 2026-11-30) ### Composite index URL: https://hesela.dev/terms/composite-index/ Also known as: Multicolumn index, Multi-column index, Compound index Status: shipping Record updated: 2026-11-18 A composite index is a database index whose search key contains more than one column or expression. Note: In a B-tree on (a, b), a orders entries first and b breaks ties under the comparison rules. Reversing keys changes the ordering. SQL still needs ORDER BY for output order. [sqlite-planner] Leading equalities and the first range bound a conventional B-tree lookup; later conditions can filter entries. A missing leading equality does not make every lookup impossible: SQLite and PostgreSQL 18 can choose skip scans across leading-key groups. Statistics and costs affect that choice. [sqlite-skip] [pg-multi] Separate single-column indexes are different structures. PostgreSQL can combine row-location bitmaps but loses index ordering. SQLite does not generally intersect separate indexes for AND-connected terms. [pg-combine] [sqlite-planner] UNIQUE(a, b) constrains combinations under the comparison rules, not each key individually. SQLite NOCASE folds ASCII only. NULL-bearing pairs may repeat, while GROUP BY groups NULLs together. PostgreSQL offers NULLS NOT DISTINCT. [sqlite-create] [sqlite-types] [sqlite-group] [pg-unique] Multiple key columns differ from included payload columns. Multicolumn GiST, GIN and BRIN have access-method-specific rules; B-tree ordering does not describe all of them. [pg-multi] Sources and caveats: - Primary-documentation synthesis. The linked five-query SQLite demonstration uses 400 constructed rows and tests answers independently of plan text; it is not a performance benchmark or PostgreSQL execution. [hesela] - EXPLAIN QUERY PLAN output is diagnostic and can change between SQLite releases. [sqlite-eqp] - Historical context: System R retained alternatives for useful output orders and compared their costs with unordered access plus sorting. This 1979 design is not a claim about the internals of current SQLite or PostgreSQL. [selinger] - A separate four-fixture, 48-insert SQLite control records full typed rows and exact errors; nullable UNIQUE acceptance differs from a GROUP BY duplicate audit. This is not a recovery or timing test. [unique-evidence] Related terms: - [b-tree](https://hesela.dev/terms/b-tree/) Citations: - [sqlite-planner] SQLite: Query Planning, multicolumn keys and search/sort. https://www.sqlite.org/queryplanner.html (accessed 2026-11-18) - [sqlite-skip] SQLite: Query Optimizer Overview, skip-scan optimization. https://www.sqlite.org/optoverview.html#the_skip_scan_optimization (accessed 2026-11-18) - [sqlite-create] SQLite: CREATE INDEX, key expressions and uniqueness. https://www.sqlite.org/lang_createindex.html (accessed 2026-11-18) - [pg-multi] PostgreSQL 18: Multicolumn Indexes, key versus payload and scan bounds. https://www.postgresql.org/docs/18/indexes-multicolumn.html (accessed 2026-11-18) - [pg-combine] PostgreSQL 18: Combining Multiple Indexes, bitmap ordering. https://www.postgresql.org/docs/18/indexes-bitmap-scans.html (accessed 2026-11-18) - [pg-unique] PostgreSQL 18: Unique Indexes, combinations and NULLS NOT DISTINCT. https://www.postgresql.org/docs/18/indexes-unique.html (accessed 2026-11-18) - [sqlite-eqp] SQLite: EXPLAIN QUERY PLAN, diagnostic output stability. https://www.sqlite.org/eqp.html (accessed 2026-11-18) - [selinger] Selinger et al. (1979): Access Path Selection in a Relational Database Management System, SIGMOD, sections 4-5; DOI 10.1145/582095.582099. https://cs.stanford.edu/people/chrismre/cs345/rl/selinger.pdf (accessed 2026-11-18) - [hesela] Hesela: composite-index key order and native SQLite controls. https://hesela.com/analyses/sqlite-index-runtime-dependencies/#composite-index-order (accessed 2026-11-18) - [sqlite-types] SQLite Datatypes: BINARY and ASCII-only NOCASE collation. https://www.sqlite.org/datatype3.html#collation (accessed 2026-11-18) - [sqlite-group] SQLite SELECT: NULL equality and collation in GROUP BY. https://www.sqlite.org/lang_select.html#resultset (accessed 2026-11-18) - [unique-evidence] Hesela: composite UNIQUE, NULL grouping and native replay. https://hesela.dev/research/unique-equality/README.md (accessed 2026-11-18) ### Compression dictionary URL: https://hesela.dev/terms/compression-dictionary/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: External compression dictionary Status: shipping Record updated: 2026-11-22 A compression dictionary supplies reusable prior content or coding state that an encoder and decoder use to represent data more compactly. Note: Zstandard accepts raw-content and formatted dictionaries. A zero ZSTD_getDictID_fromFrame result can mean no dependency, omitted ID, insufficient bytes or invalid input; it does not prove independence. [zstd-api] Raw-dictionary controls returned wrong bytes without a checksum; the checked version rejected that mismatch. A formatted-dictionary control retained ID 123456 with changed content: unchecked output was wrong, while changing only the ID caused rejection. A numeric ID is not a digest. [hesela-zstd] In liblz4 1.9.4, the dictionary API uses supplied bytes without comparing their identity to the frame ID. Different or omitted IDs decoded correctly with the same bytes; block-only checks allowed wrong-dictionary output. [lz4-api] [lz4-implementation] [hesela-lz4] liblz4 1.9.4 retains the initialization-time dictionary pointer within a frame; a later argument does not rebind it. Mutating retained bytes can alter independent-block output. Keep bytes stable; completion clears the binding, so supply the selected dictionary again for each dependent frame. [lz4-api] [lz4-implementation] [hesela-lz4] For zlib, DICTID is Adler-32 over the preset dictionary; the trailer checks decoded content. The API requires the original dictionary. A constructed control completes with three wrong output bytes despite both checks passing: a designed collision, not a failure-rate estimate or codec defect. Bind exact dictionary and intended output to trusted metadata; a digest needs a trusted reference. [zlib-rfc1950] [zlib-dictionary-api] [hesela-zlib-evidence] Sources and caveats: - Separate raw-content and formatted-dictionary experiments use deliberate dependency mutations on one CLI build, not a measured field-failure rate or naturally occurring ID/hash collision. - The LZ4 supplement is a distinct one-build API experiment; its Dict-ID behavior must not be inferred from Zstandard's formatted-dictionary checks. - A separate 16-case two-block lifecycle supplement deliberately replaces an argument or mutates retained bytes. Allocations remain live; no use-after-free, concurrency, performance or field-rate result is claimed. - Ten synthetic multi-frame controls use the same dictionary across data frames; skipped metadata is outside the payload-only acceptance rule. No cross-dictionary switching or wrapper-wide behavior is inferred. - The zlib supplement retains an unchanged 45-byte stream and a deliberately checksum-preserving dictionary substitution. Eight controls run through C, Python and Node; these are not independent random trials, and C/Python use the same system library. Related terms: - [zstandard](https://hesela.dev/terms/zstandard/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [restore-test](https://hesela.dev/terms/restore-test/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [zstandard-dictionary-id](https://hesela.dev/terms/zstandard-dictionary-id/) - [lz4-frame](https://hesela.dev/terms/lz4-frame/) - [block-independent-compression](https://hesela.dev/terms/block-independent-compression/) - [virtual-executable-archive](https://hesela.dev/terms/virtual-executable-archive/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [fsst](https://hesela.dev/terms/fsst/) - [re-pair](https://hesela.dev/terms/re-pair/) - [tunstall-coding](https://hesela.dev/terms/tunstall-coding/) - [byte-pair-encoding](https://hesela.dev/terms/byte-pair-encoding/) - [lz78](https://hesela.dev/terms/lz78/) - [lzw](https://hesela.dev/terms/lzw/) - [adler-32](https://hesela.dev/terms/adler-32/) Citations: - [zstd-api] Zstandard v1.5.7 API manual: dictionary identification and decompression. https://github.com/facebook/zstd/blob/v1.5.7/doc/zstd_manual.html (accessed 2026-10-17) - [hesela-zstd] Hesela: Compressed archives, dictionary dependencies and validation coverage. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ (accessed 2026-10-17) - [lz4-api] LZ4 v1.9.4 frame API: dictionary identification and memory lifetime. https://github.com/lz4/lz4/blob/v1.9.4/lib/lz4frame.h (accessed 2026-10-22) - [lz4-implementation] LZ4 v1.9.4 implementation: frame Dict-ID parsing and LZ4F_decompress_usingDict. https://github.com/lz4/lz4/blob/v1.9.4/lib/lz4frame.c (accessed 2026-10-22) - [hesela-lz4] Hesela: LZ4 frame checks, dictionary selection and completion. https://hesela.com/analyses/lz4-frame-checks-block-order/ (accessed 2026-10-22) - [zlib-rfc1950] RFC 1950: zlib DICTID, decoded Adler-32 and checksum recurrence, sections 2.2 and 9. https://www.rfc-editor.org/rfc/rfc1950 (accessed 2026-11-03) - [zlib-dictionary-api] zlib 1.3.1 manual: deflateSetDictionary and inflateSetDictionary. https://zlib.net/manual.html (accessed 2026-11-03) - [hesela-zlib-evidence] Hesela: eight designed zlib dictionary checksum controls, frozen inputs and replay. https://hesela.dev/research/zlib-dictionary-alias/README.md (accessed 2026-11-03) ### Compression ratio URL: https://hesela.dev/terms/compression-ratio/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: Data compression ratio Status: unknown Record updated: 2026-11-17 Compression ratio divides the byte count before compression by the corresponding byte count after compression, using a declared accounting scope. Note: Convention: With input B and output C, the convention is B / C, not the retained fraction C / B. SNIA uses the uncompressed-to-compressed convention. A 2:1 ratio means half the input bytes remain; a ratio below 1:1 indicates expansion. [ratio-snia] Accounting: Specify whether output includes format headers, dictionaries, padding and allocation overhead. The selected byte population and compression settings belong with the ratio. No finite ratio exists when the denominator is zero; an empty input and empty output give 0/0, not an observed saving. Product scope: For non-snapshots, OpenZFS 2.3 distinguishes compressratio for used space from refcompressratio for referenced space; descendants and clone sharing affect the former. These are not interchangeable observations. [ratio-zfs] Selected data: A reported compression ratio may cover only data selected as compressible. Do not silently extend that result to excluded bytes. [ratio-vsan] Composition: In a deduplication-then-compression model, measure compression on the retained unique data. Multiplying a ratio for all original copies by a deduplication ratio can count overlapping savings twice. The linked capacity analysis provides an exact constructed counterexample, not a compressor benchmark. Sources and caveats: - Definition and accounting guidance are an original synthesis; ratios describe byte sizes, not fidelity, throughput, restore speed or future capacity. - No native compressor, ZFS pool or vSAN experiment was run for this entry. - The selected-population example follows Broadcom's vSAN ESA 9.1 counter definitions, not a universal convention. [ratio-vsan] Related terms: - [data-reduction-ratio](https://hesela.dev/terms/data-reduction-ratio/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [transparent-compression](https://hesela.dev/terms/transparent-compression/) - [deduplication-ratio](https://hesela.dev/terms/deduplication-ratio/) Citations: - [ratio-snia] SNIA Dictionary: compression ratio and data deduplication ratio, generated 17 November 2026. https://www.snia.org/sites/default/files/snia-dictionary-pdf/SNIADictionary.pdf (accessed 2026-11-17) - [ratio-zfs] OpenZFS 2.3 zfsprops(7): compressratio, refcompressratio and logicalused. https://openzfs.github.io/openzfs-docs/man/v2.3/7/zfsprops.7.html (accessed 2026-11-17) - [ratio-vsan] Broadcom KB 315553: vSAN ESA 9.1 space-efficiency counter populations. https://knowledge.broadcom.com/external/article/315553 (accessed 2026-11-17) ### Computational storage drive URL: https://hesela.dev/terms/computational-storage/ Related article: https://hesela.com/tech/nvme/ Also known as: CSD, computational storage Status: limited Record updated: 2026-12-02 A computational storage drive combines persistent data storage with compute engines that execute supported storage-associated functions. Note: Computational storage is the broader architecture, not a synonym for a drive. SNIA distinguishes a computational storage drive, which includes persistent data storage, from a computational storage processor, which supplies computation for associated storage without providing persistent data storage. A computational storage array is a storage array containing one or more compute engines. [c2] Compute engines, such as CPUs or FPGAs, run functions including compression, erasure coding and encryption. A drive can still serve ordinary storage requests through its existing host interface. [c2] For I/O controllers supporting the NVMe Computational Programs Command Set revision 1.3, Execute Program is mandatory but Load Program is optional (section 2.7.1). Device-defined programs are supplied by the namespace and cannot be changed by the host; downloadable programs require a supported type. Inspect the Program List and Downloadable Program Types List for that compute namespace, not merely the NVMe label. [c3] Loading, activation and execution are distinct operations. Execution requires the program to be activated on the target compute namespace. The Program List reports activation status when its query was processed; that status may have changed by the time the host uses it (sections 2.1.4.2 and 4.1.4.1). Downloading does not necessarily reserve compute resources; activation may reserve them. Host-loaded programs and activation state are cleared on power-on resets (sections 4.2.1 and 4.2.3). Flush has no effect on compute namespaces (section 2.2), so it cannot make this program state survive that reset. This program-state rule does not describe the persistence of every output dataset. [c3] Advantages: - Implementations supporting the NVMe Computational Programs Command Set can expose program operations through that standard interface. (sources: [c3]) Limitations: - Engine environments differ, from operating systems and containers to eBPF and FPGA bitstreams, and how a processor associates with its storage is implementation specific, which limits portability. (sources: [c2]) - Conformance means tracking several separately revised documents. (sources: [c2], [c3]) - A common command interface does not establish that an arbitrary host binary is accepted or portable between devices. (sources: [c2], [c3]) - The HotStorage 2019 virtual-object prototype uses a vendor-specific EXEC and temporary extent/length descriptions; it is not the standardized NVMe Execute Program interface. (sources: [c4]) - FIEMAP-based block-device access while the filesystem is mounted is undefined in Linux 6.12; FIEMAP_FLAG_SYNC does not waive that restriction, and encoded extents need separate handling. (sources: [c5]) - Programmability does not define a threat model: Willow assumes an uncompromised host kernel, while IceClave considers hostile platform operators. (sources: [willow], [iceclave-threat]) Sources and caveats: - Architecture and command semantics reviewed against SNIA 1.2 and NVMe Computational Programs 1.3; these specifications are not performance measurements. No device experiment, speedup or output-durability result is claimed. - The established computational-storage slug and broad alias are retained for compatibility; the definition follows the record's existing drive-specific title. - The original HotStorage 2019 paper, sections 3.1-3.2, is a research design, not a generic Linux filesystem integration recipe. The Linux 6.12 FIEMAP contract is checked separately. No performance number or raw-block experiment is adopted. [c4] [c5] Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [iceclave](https://hesela.dev/terms/iceclave/) - [willow](https://hesela.dev/terms/willow/) - [flash-cosmos](https://hesela.dev/terms/flash-cosmos/) - [parabit](https://hesela.dev/terms/parabit/) - [active-disks](https://hesela.dev/terms/active-disks/) Citations: - [c1] Computational storage drive. https://en.wikipedia.org/wiki/Computational_storage (accessed 2026-03-26) - [c2] SNIA Computational Storage Architecture and Programming Model, Version 1.2, 21 April 2026. https://www.snia.org/sites/default/files/technical-work/computational/release/SNIA-Computational-Storage-Architecture-and-Programming-Model-1.2.pdf (accessed 2026-10-31) - [c3] NVM Express Computational Programs Command Set 1.3 (31 July 2026); copyright 2008-2026 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Computational-Programs-Command-Set-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-11-01) - [c4] Adams, Keys and Mesnier, Respecting the block interface - computational storage using virtual objects, HotStorage 2019, sections 3.1-3.2. https://www.usenix.org/system/files/hotstorage19-paper-adams.pdf (accessed 2026-11-01) - [c5] Linux 6.12, Fiemap Ioctl: Request Basics and Extent Mapping, including FIEMAP_EXTENT_ENCODED. https://docs.kernel.org/6.12/filesystems/fiemap.html (accessed 2026-11-01) - [willow] Seshadri et al. Willow: A User-Programmable SSD. OSDI 2014, pp. 67-80, sections 2.6, 3, 4.2 and 4.6. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-seshadri.pdf (accessed 2026-11-17) - [iceclave-threat] Xue et al. Building A Trusted Execution Environment for In-Storage Computing. arXiv:2205.06361v1 (2022), section 2. https://arxiv.org/html/2205.06361v1 (accessed 2026-11-17) ### NVMe compute namespace URL: https://hesela.dev/terms/compute-namespace/ Related article: https://hesela.com/tech/nvme/ Also known as: compute namespace Status: limited Record updated: 2026-11-02 An NVMe compute namespace provides a target for program execution rather than an ordinary logical-block storage volume. Note: Scope: In Computational Programs 1.3, compute namespaces are not associated with NVM Sets or Endurance Groups. Their supported program types and reachable memory namespaces can differ. [programs13] Discovery: Use namespace identification and command-set-specific Identify data, then inspect program capabilities and the Reachability Groups and Reachability Associations logs. A compute namespace can reach zero or more memory namespaces; sharing a controller does not establish reachability. [programs13] Addressing: A Program Index (PIND) selects a program within one compute namespace. Memory Range Set identifiers are also local to that namespace. Equal identifiers in different namespaces do not establish a shared program or memory-range set. [programs13] Limitations: - An NVMe label does not establish support for arbitrary executable formats. (sources: [programs13]) Sources and caveats: - Version-pinned specification review, not a hardware test or a claim of universal device support. - The controller-sharing caution follows from namespace-specific reachability requirements. [programs13] Related terms: - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme-nsid](https://hesela.dev/terms/nvme-nsid/) - [computational-storage](https://hesela.dev/terms/computational-storage/) - [nvme](https://hesela.dev/terms/nvme/) Citations: - [programs13] NVM Express Computational Programs 1.3, sections 2.1.1-2.1.4 and 2.1.6.1. Copyright 2008-2026 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Computational-Programs-Command-Set-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-11-02) ### Concurrent positioning range (ATA) URL: https://hesela.dev/terms/concurrent-positioning-range/ Related article: https://hesela.com/tech/dual-actuator/ Also known as: Concurrent Positioning Ranges log Status: shipping Record updated: 2026-10-23 An ATA concurrent positioning range is a contiguous logical-block range reported as supporting positioning concurrently with other reported ranges. Note: A dual-actuator SATA product manual identifies the Concurrent Positioning Ranges log at address 47h and maps the first and second 50% of its LBA space to separate actuators. It refers to ACS-5 revision 6 or later for the log format. ATA logical-block counts must use the device's current logical-block size. [sata-manual] Linux independent_access_ranges instead reports each range's first sector and nr_sectors in normalized 512-byte sectors, regardless of the device block size. The ranges do not overlap and together cover the whole capacity. Do not substitute one unit for the other. [linux-abi] Advantages: - A host scheduler can dispatch requests to different reported ranges in parallel, because the device can execute them concurrently. (sources: [linux-abi]) Limitations: - The ranges belong to one device presented to the host, so they are not separate volumes. (sources: [sata-manual]) Sources and caveats: - sata-manual is a dual-actuator SATA product manual, Rev. A, re-read 2026-10-23 at sections 2.2.1 and 2.2.2 for the 47h log page and the 50% LBA split. - linux-abi is the Linux 6.14 stable ABI page, re-read for independent_access_ranges, the 512-byte unit and the non-overlap rule. - The seek-time entry links here because concurrent positioning lets two seeks proceed at once on separate actuators. Related terms: - [dual-actuator](https://hesela.dev/terms/dual-actuator/) - [independent-access-range](https://hesela.dev/terms/independent-access-range/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [sata](https://hesela.dev/terms/sata/) Citations: - [sata-manual] Seagate Exos 2X18 SATA product manual, Rev. A, sections 2.2.1 and 2.2.2. https://www.seagate.com/content/dam/seagate/migrated-assets/www-content/manuals/exos-x-2x18/pdf/203859600a.pdf (accessed 2026-10-23) - [linux-abi] Linux 6.14 stable ABI: 512-byte independent access range units. https://docs.kernel.org/6.14/admin-guide/abi-stable.html#abi-sys-block-disk-queue-independent-access-ranges (accessed 2026-10-23) ### Concurrent prefix recovery URL: https://hesela.dev/terms/concurrent-prefix-recovery/ Related analysis: https://hesela.com/analyses/wal-checkpoints-torn-pages/ Also known as: CPR Status: shipping Record updated: 2026-11-14 Concurrent prefix recovery identifies durable operation prefixes separately for each client session rather than by one global issue-time cutoff. Note: The 2019 protocol chooses the session boundaries jointly; independent arbitrary cutoffs are not a substitute for its consistency protocol. [cpr-paper] API boundary: FasterKV documents a commit point with UntilSerialNo and optional excluded pending operations. An exception below the frontier is not durable merely because its number is small. [faster-cpr-docs] Waiting for durability: the pinned WaitForCommitAsync implementation checks the frontier and an empty exclusion list, completes pending synchronous operations and requires asynchronous operations to have been awaited. It does not initiate a checkpoint itself. [faster-cpr-code] The linked Hesela example accounts for invented operation identities; it does not execute FASTER or prove checkpoint consistency. [hesela-cpr] Limitations: - The paper's checkpoint protocol and the documented exception-bearing API must not be treated as identical abstractions. (sources: [cpr-paper], [faster-cpr-docs]) Sources and caveats: - Historical protocol and documented API reviewed separately; no implementation execution or performance reproduction. Related terms: - [hybrid-log](https://hesela.dev/terms/hybrid-log/) - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) - [group-commit](https://hesela.dev/terms/group-commit/) Citations: - [cpr-paper] Prasaad, Chandramouli and Kossmann. Concurrent Prefix Recovery: Performing CPR on a Database. SIGMOD 2019, sections 2, 4.3 and 7; DOI 10.1145/3299869.3300090. https://www.microsoft.com/en-us/research/wp-content/uploads/2019/01/cpr-sigmod19.pdf (accessed 2026-11-14) - [faster-cpr-docs] FasterKV Checkpointing and Recovery: session commit points and pending-operation exceptions; documentation dated 6 May 2021. https://microsoft.github.io/FASTER/docs/fasterkv-recovery/ (accessed 2026-11-14) - [faster-cpr-code] FASTER ClientSession.cs, commit 332ea7da532a688acf648ee60c4f63a1caeaf1f7, WaitForCommitAsync lines 955-984. https://github.com/microsoft/FASTER/blob/332ea7da532a688acf648ee60c4f63a1caeaf1f7/cs/src/core/ClientSession/ClientSession.cs#L955-L984 (accessed 2026-11-14) - [hesela-cpr] Hesela: recovery receipts, exception holes and replay accounting. https://hesela.com/analyses/wal-checkpoints-torn-pages/#concurrent-prefix-recovery (accessed 2026-11-14) ### Conditional write URL: https://hesela.dev/terms/conditional-write/ Also known as: Conditional object write Status: shipping Record updated: 2026-10-15 A conditional write changes a resource only when a server-evaluated precondition, such as a matching entity tag or the absence of a current object, holds. Note: For Amazon S3 general-purpose buckets, If-Match on PutObject or CompleteMultipartUpload compares the current destination object's ETag, while If-None-Match: * requires no current object. This is an object-level precondition, not a multi-object transaction or a test that no intervening write ever happened. Client-side checking followed by an unconditional upload does not provide the same protection. An ETag condition validates the representation under the service's ETag rules, not every metadata field or application invariant. Advantages: - An If-Match precondition can reject a stale replacement instead of silently overwriting a representation whose validator has changed. (sources: [c1], [c2]) - If-None-Match: * lets an S3 writer require that the destination has no current object at the write operation, without a separate check-then-create race. (sources: [c1], [c2]) Limitations: - A mismatched ETag or an existing current object under If-None-Match: * causes S3 to return 412; a conflicting operation can return 409, and blindly refreshing the ETag without reconciling stale content can lose an update. (sources: [c3], [c6]) - After a 409 from CompleteMultipartUpload, S3 requires a new upload ID and re-upload of every part; retry rules therefore differ from PutObject. (sources: [c3], [c4]) - In versioned S3 buckets, If-None-Match: * permits a write when the current version is a delete marker, even if older versions remain; If-Match fails with 404 when there is no current object or the current version is a delete marker. (sources: [c2]) - Strong S3 read-after-write consistency does not make a separate read-modify-write sequence atomic, and S3 does not provide atomic updates across multiple keys. (sources: [c5], [c6]) Related terms: - [object-storage](https://hesela.dev/terms/object-storage/) - [entity-tag](https://hesela.dev/terms/entity-tag/) - [multipart-upload](https://hesela.dev/terms/multipart-upload/) - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) - [delete-marker](https://hesela.dev/terms/delete-marker/) Citations: - [c1] RFC 9110: HTTP Semantics, conditional requests. https://www.rfc-editor.org/rfc/rfc9110.html#section-13 (accessed 2026-10-12) - [c2] Amazon S3: How to prevent object overwrites with conditional writes. https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-writes.html (accessed 2026-10-12) - [c3] Amazon S3 API Reference: PutObject. https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html (accessed 2026-10-12) - [c4] Amazon S3 API Reference: CompleteMultipartUpload. https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html (accessed 2026-10-12) - [c5] Amazon S3: Data consistency model. https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html#ConsistencyModel (accessed 2026-10-12) - [c6] Object ETags: checksums and conditional writes are different. https://hesela.com/analyses/object-etags-checksums-conditional-writes/ (accessed 2026-10-12) ### Confidence calibration URL: https://hesela.dev/terms/confidence-calibration/ Status: shipping Record updated: 2026-11-23 Confidence calibration requires predictions sharing a reported confidence to have a matching frequency of correct class predictions. Note: For predicted class C, confidence S and observed label Y, the population condition is P(Y=C | S)=S, almost surely. For a class-probability vector, C is an argmax chosen with a declared tie rule and S is its probability. Confidence ECE groups S and compares accuracy with mean confidence. [guo] Pooling different predicted classes can conceal opposite errors; retaining the predicted label gives a different calibration requirement. [gupta-ramdas] Consider twenty synthetic binary observations: ten forecasts p=0.1 with no positive outcomes, and ten forecasts p=0.9 with eight positive outcomes. With class 1 predicted for p>=0.5, every confidence is 0.9 and 18/20 decisions are correct. Exact-confidence ECE is therefore 0. Yet the two predicted-label groups have accuracies 1 and 0.8; their count-weighted absolute confidence error is 0.1. Grouping by event probability also gives 0.1. [worked] A drive-failure probability and confidence that the chosen class is correct answer different questions. Specify which one a calibration chart evaluates. Finite sample agreement alone cannot establish a population property. [vaicenavicius] Limitations: - A low pooled score need not imply reliable probabilities within each predicted class. (sources: [gupta-ramdas]) Sources and caveats: - Reviewed 2026-11-23: full primary-source sections identified in citations; terminology follows Gupta and Ramdas, not papers that use top-label as a synonym for pooled confidence. - The twenty observations are a synthetic arithmetic example, not measured drive failures or a reproduction of neural-network benchmarks. Public code uses exact fractions and explicit positive-class tie breaking. Related terms: - [probability-calibration](https://hesela.dev/terms/probability-calibration/) - [expected-calibration-error](https://hesela.dev/terms/expected-calibration-error/) - [brier-score](https://hesela.dev/terms/brier-score/) - [top-label-calibration](https://hesela.dev/terms/top-label-calibration/) Citations: - [guo] Guo, Pleiss, Sun and Weinberger. On Calibration of Modern Neural Networks. ICML 2017, section 2 equations 1-3. https://proceedings.mlr.press/v70/guo17a/guo17a.pdf (accessed 2026-11-23) - [gupta-ramdas] Gupta and Ramdas. Top-label calibration and multiclass-to-binary reductions. ICLR 2022; arXiv v4, section 2 equations 1-4 and Remark 2. https://arxiv.org/pdf/2107.08353v4 (accessed 2026-11-23) - [vaicenavicius] Vaicenavicius et al. Evaluating model calibration in classification. AISTATS 2019, sections 3.1-3.2 and 4.1. https://proceedings.mlr.press/v89/vaicenavicius19a/vaicenavicius19a.pdf (accessed 2026-11-23) - [worked] Hesela: exact synthetic confidence, top-label and binary-event calibration example; model.py, test_model.py and results.json. https://hesela.dev/research/calibration-conditioning/results.json (accessed 2026-11-23) ### Confidence interval URL: https://hesela.dev/terms/confidence-interval/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Status: shipping Record updated: 2026-11-19 A confidence interval is a set of parameter values produced by a procedure with a stated repeated-sampling coverage under specified model and sampling assumptions. Note: A 95% confidence procedure targets coverage of the fixed parameter in 95% of repeated samples under its assumptions; an exact discrete procedure can have coverage above that nominal level. The observed interval either contains the parameter or does not. Its confidence level is not a posterior probability assigned to that parameter. [nist-confidence] A one-sided upper bound and the upper endpoint of an equal-tailed two-sided interval use different tail probabilities. For 95% confidence these are 0.05 and 0.025 respectively. State the interval method, the parameter being bounded, the observation horizon or exposure, and the assumptions. Sampling uncertainty does not include unmodelled selection bias, dependence or systematic measurement error. [nist-binomial] [hesela-methods] Pointwise coverage at a fixed sample size does not guarantee coverage over repeated looks. Stopping at the first favorable bound can increase error. A confidence sequence provides coverage across time under its own assumptions. For prespecified looks, valid error levels summing to alpha control error by the union bound, without independent looks. [howard-2021] [nist-bonferroni] A clean streak selected by restarting after failures is not a fixed sample. Record the reset rule and prior failures. A firmware or population change requires a new inferential target and design. [nist-binomial] [nist-reliability-planning] A pointwise interval for survival at a prespecified time also differs from a simultaneous confidence band over the survival curve. Connecting pointwise endpoints in a plot does not grant whole-curve coverage. Greenwood-based limits additionally depend on the chosen transformation and sampling assumptions. [sawyer-greenwood] Limitations: - A prediction interval targets a future observation or statistic, while a statistical tolerance interval targets at least a stated population fraction with separately specified confidence. Rescaling a rate confidence interval by fixed future exposure bounds the expected count under that model, not the realized count. [nist-prediction] Related terms: - [selection-bias](https://hesela.dev/terms/selection-bias/) - [statistical-power](https://hesela.dev/terms/statistical-power/) - [p-value](https://hesela.dev/terms/p-value/) - [jackknife](https://hesela.dev/terms/jackknife/) - [binomial-proportion](https://hesela.dev/terms/binomial-proportion/) - [poisson-rate-model](https://hesela.dev/terms/poisson-rate-model/) - [afr](https://hesela.dev/terms/afr/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [greenwood-variance](https://hesela.dev/terms/greenwood-variance/) - [bootstrap](https://hesela.dev/terms/bootstrap/) - [cluster-bootstrap](https://hesela.dev/terms/cluster-bootstrap/) - [standard-error](https://hesela.dev/terms/standard-error/) - [prediction-interval](https://hesela.dev/terms/prediction-interval/) - [tolerance-interval](https://hesela.dev/terms/tolerance-interval/) - [confidence-sequence](https://hesela.dev/terms/confidence-sequence/) Citations: - [nist-confidence] NIST e-Handbook: Confidence limits and repeated-sampling interpretation. https://www.itl.nist.gov/div898/handbook/eda/section3/eda352.htm (accessed 2026-10-17) - [nist-binomial] NIST e-Handbook: Exact binomial confidence intervals. https://www.itl.nist.gov/div898/handbook/prc/section2/prc241.htm (accessed 2026-10-17) - [hesela-methods] Hesela: AFR is a rate, not a one-year failure probability. https://hesela.com/analyses/afr-rate-not-probability/ (accessed 2026-10-17) - [howard-2021] Howard et al. (2021): Time-uniform, nonparametric, nonasymptotic confidence sequences; DOI 10.1214/20-AOS1991. https://arxiv.org/html/1810.08240v6 (accessed 2026-11-07) - [nist-bonferroni] NIST e-Handbook 7.4.7.3: Bonferroni's method, general inequality. https://itl.nist.gov/div898/handbook/prc/section4/prc473.htm (accessed 2026-11-07) - [nist-reliability-planning] NIST e-Handbook 8.3.1: How do you plan a reliability assessment test? https://www.itl.nist.gov/div898/handbook/apr/section3/apr31.htm (accessed 2026-11-07) - [sawyer-greenwood] Sawyer (2003): The Greenwood and Exponential Greenwood Confidence Intervals in Survival Analysis, equations 1.2-1.3. https://www.math.wustl.edu/~sawyer/handouts/greenwood.pdf (accessed 2026-11-19) - [nist-prediction] NIST e-Handbook 4.1.3.2: Prediction and interval targets. https://www.itl.nist.gov/div898/handbook/pmd/section1/pmd132.htm (accessed 2026-11-19) ### Confidence sequence URL: https://hesela.dev/terms/confidence-sequence/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: time-uniform confidence sequence, anytime-valid confidence sequence Status: research Record updated: 2026-11-19 A confidence sequence is a sequence of confidence sets whose simultaneous coverage of the target at all monitored times is at least a stated level, under specified assumptions. Note: For a fixed target theta, the guarantee is P(theta belongs to C_t for every t >= 1) >= 1 - alpha. Separate coverage at each fixed sample size is weaker. Optional stopping can use observations collected so far without invalidating a suitable confidence sequence. [ramdas-savi] Time-uniform coverage also protects selecting an earlier interval from the same valid sequence after seeing the history: miscoverage at that selected time implies miscoverage at some time. This is unconditional coverage over repeated procedures, not a posterior probability or guaranteed coverage conditional on a favorable stopping signal. [howard-cs] Selecting a favorable method or device-model target after inspecting results needs separate justification. The observation model still matters: a method calibrated for independent, constant-risk endpoints does not automatically handle shared failures, censoring or changing populations. [ramdas-savi] A finite set of planned looks can instead allocate error levels whose sum is at most alpha. This controls that set by the union bound without independent looks; it does not by itself authorize unlimited further looks. [nist-bonferroni] Limitations: - Time-uniform validity does not require the interval width to shrink to zero. [howard-cs] Sources and caveats: - Methodological definition, not a device measurement or an implemented confidence-sequence estimator. The related AFR analysis retains its separate exact finite-look example. Related terms: - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [binomial-proportion](https://hesela.dev/terms/binomial-proportion/) - [p-value](https://hesela.dev/terms/p-value/) Citations: - [howard-cs] Howard et al. (2021): Time-uniform, nonparametric, nonasymptotic confidence sequences; equation 1, Lemma 3. https://arxiv.org/html/1810.08240v6 (accessed 2026-11-19) - [ramdas-savi] Ramdas et al. (2023): Game-Theoretic Statistics and Safe Anytime-Valid Inference; sections 2.8 and 6.4. https://arxiv.org/html/2210.01948v2 (accessed 2026-11-19) - [nist-bonferroni] NIST e-Handbook 7.4.7.3: Bonferroni's method, general inequality. https://www.itl.nist.gov/div898/handbook/prc/section4/prc473.htm (accessed 2026-11-19) ### Conflict-free replicated data type URL: https://hesela.dev/terms/conflict-free-replicated-data-type/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Also known as: CRDT Status: unknown Record updated: 2026-11-20 A conflict-free replicated data type permits local updates and guarantees convergence under specified merge and delivery rules. Note: Convergence: Replicas incorporating the same updates have equivalent states. State-based designs use inflationary updates and a least-upper-bound merge. Operation-based designs instead require compatible operations and delivery guarantees; the original model assumes reliable, causal, exactly-once delivery. [crdt-sss] Counter: A grow-only counter retains one component per replica, increments only the local component, merges by componentwise maximum and queries the sum. Fixed distinct identities and non-overflowing counters matter. Replaying a state does not add its increments twice; executing a client increment twice is two updates. [crdt-study] Storage: Convergence does not itself make an acknowledgement durable; persistent storage is a separate implementation choice. Delta delivery requirements also depend on the data type. An UpdateTimeout is not rollback evidence. [crdt-durability] Bounds: A convergent counter does not automatically preserve an inventory limit. A bounded counter distributes rights, so local availability depends on the rights held at that replica. [crdt-bounds] Sources and caveats: - Primary-source synthesis of the 2011 convergence models and counter construction; no distributed implementation or benchmark was run. - The linked counter illustration adapts RR7506 section 3.1.2. Finite arithmetic tests check the example, not a replication protocol. Related terms: - [bounded-counter](https://hesela.dev/terms/bounded-counter/) - [eventual-consistency](https://hesela.dev/terms/eventual-consistency/) - [anti-entropy-repair](https://hesela.dev/terms/anti-entropy-repair/) Citations: - [crdt-sss] Shapiro et al. Conflict-free Replicated Data Types. SSS 2011, sections 2.2-2.4. https://www.lip6.fr/Marc.Shapiro/papers/2011/CRDTs_SSS-2011.pdf (accessed 2026-11-20) - [crdt-study] Shapiro et al. A comprehensive study of Convergent and Commutative Replicated Data Types. RR7506 (2011), section 3.1.2. https://perso.lip6.fr/Marc.Shapiro/papers/2011/Comprehensive-CRDTs-RR7506-2011-01.pdf (accessed 2026-11-20) - [crdt-durability] Akka 2.11.0 documentation: Distributed Data, Durable Storage and Delta CRDTs (version displayed at access). https://doc.akka.io/libraries/akka-core/current/typed/distributed-data.html (accessed 2026-11-20) - [crdt-bounds] Balegas et al. Extending Eventually Consistent Cloud Databases for Enforcing Numeric Invariants (2015), sections II-IV. https://arxiv.org/pdf/1503.09052v1 (accessed 2026-11-20) ### Confusion matrix URL: https://hesela.dev/terms/confusion-matrix/ Related analysis: https://hesela.com/analyses/ml-disk-failure-prediction/ Also known as: classification confusion matrix Status: shipping Record updated: 2026-11-22 A confusion matrix tabulates predicted labels against observed labels for a specified set of classification decisions. Note: Axis labels matter: scikit-learn places observed classes in rows and predictions in columns, while Fawcett's Figure 1 uses the transposed convention. With rows = observed, columns = predicted and class order [0, 1], the binary matrix is [[TN, FP], [FN, TP]], where 1 is the positive class. [matrix-api] [fawcett] Keep raw counts alongside normalized values. Row normalization conditions on the observed class, column normalization on the predicted class, and whole-matrix normalization on all included observations. A 2-by-2 array without its class order and axis convention is ambiguous. [matrix-api] For drive prediction, specify the failure label, prediction horizon, threshold and observation unit. A matrix of daily decisions is not a count of distinct drives or replacement actions. Unresolved outcomes must not silently become healthy labels; retain the exclusion and follow-up rules. This is an application of the counting definition, not a performance claim. [fawcett] In a synthetic 10,000-decision example, [[9801, 99], [10, 90]] yields 90 true alerts, 99 false alerts and 10 missed positives. The negative-class denominator is 9900; the alert denominator is 189. [worked] Sources and caveats: - Reviewed 2026-11-22: Fawcett section 2 and Figure 1, plus the confusion_matrix API documentation. - Storage-specific reporting guidance is Hesela's application of the counting definition. Worked counts are synthetic, with exact rational checks. Related terms: - [specificity](https://hesela.dev/terms/specificity/) - [balanced-accuracy](https://hesela.dev/terms/balanced-accuracy/) - [precision](https://hesela.dev/terms/precision/) - [recall](https://hesela.dev/terms/recall/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) - [prediction-cadence](https://hesela.dev/terms/prediction-cadence/) Citations: - [matrix-api] scikit-learn: confusion_matrix; axis conventions, label order and normalization. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.confusion_matrix.html (accessed 2026-11-22) - [fawcett] Fawcett (2006). An introduction to ROC analysis, section 2 and Figure 1. DOI: 10.1016/j.patrec.2005.10.010. https://www.math.ucdavis.edu/~saito/data/roc/fawcett-roc.pdf (accessed 2026-11-22) - [worked] Hesela: synthetic classification counts, exact fractions and edge-case checks. https://hesela.dev/research/classification-denominators/results.json (accessed 2026-11-22) ### Consensus URL: https://hesela.dev/terms/consensus/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Distributed consensus Status: unknown Record updated: 2026-11-20 Consensus is a distributed agreement problem in which processes decide an admissible value without conflicting decisions under stated failure and progress assumptions. Note: Agreement constrains conflicting decisions, validity constrains the chosen value, and termination requires progress under the model's assumptions. For basic Paxos, only a proposed value may be chosen; choice requires the specified acceptance quorum. Individual acceptance must not be confused with quorum choice. [paxos-simple] One instance chooses one value. Repeated instances can order a log for state-machine replication; crash-recovery implementations must retain the required protocol state before acknowledging it. [paxos-simple] FLP rules out guaranteed deterministic termination in every admissible fully asynchronous execution with one possible crash. It does not say practical consensus never finishes. [flp-paper] Sources and caveats: - Primary-source synthesis, not a new proof or an executed cluster experiment. The exact validity, agreement and progress requirements depend on the specified consensus model. Related terms: - [state-machine-replication](https://hesela.dev/terms/state-machine-replication/) - [raft](https://hesela.dev/terms/raft/) - [paxos](https://hesela.dev/terms/paxos/) - [flp-impossibility](https://hesela.dev/terms/flp-impossibility/) - [crash-recovery](https://hesela.dev/terms/crash-recovery/) - [safety-property](https://hesela.dev/terms/safety-property/) - [liveness-property](https://hesela.dev/terms/liveness-property/) - [byzantine-failure](https://hesela.dev/terms/byzantine-failure/) Citations: - [paxos-simple] Leslie Lamport. Paxos Made Simple (2001), sections 2.1, 2.5 and 3. https://lamport.azurewebsites.net/pubs/paxos-simple.pdf (accessed 2026-11-16) - [flp-paper] Fischer, Lynch and Paterson. Impossibility of Distributed Consensus with One Faulty Process. JACM 32(2), 374-382 (1985), sections 2-3; DOI 10.1145/3149.214121. https://groups.csail.mit.edu/tds/papers/Lynch/jacm85.pdf (accessed 2026-11-16) ### Consistency group URL: https://hesela.dev/terms/consistency-group/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: storage consistency group Status: shipping Record updated: 2026-11-13 A consistency group is a defined set of storage volumes or units coordinated to preserve dependent write order during snapshot or replication operations. Note: Capture scope: Coordinated snapshots preserve a shared storage-level capture point across the selected members, which unrelated per-volume captures do not guarantee. A documented implementation fences writes while taking member snapshots. [ontap-group] [ontap-write-order] Application state: Storage coordination does not itself prepare application buffers or transactions. The 9.18.1 snapshot API treats its crash-consistent and application-consistent type labels identically inside the storage system; host coordination remains separate. [ontap-group-snapshots] Membership: The documented cloud batch operation covers selected block volumes attached to one instance, with optional root or data-volume exclusions. A required log on an excluded volume is outside that capture. If one member snapshot fails, the remaining snapshots in this batch enter error state. These are operation-specific rules. [ebs-create-snapshots] [ebs-multi-volume] Limitations: - In the documented 9.18.1 API, deleting a constituent snapshot invalidates the group snapshot for group restore; a failed restore does not roll back volumes already restored. (sources: [ontap-group-snapshots]) Sources and caveats: - The 9.12.1 and 9.18.1 API examples describe NetApp ONTAP; the single-instance batch example describes Amazon EBS. Their failure handling is not a universal consistency-group contract. - Documentation review only; no snapshot, replication or restore operation was executed. Related terms: - [snapshot](https://hesela.dev/terms/snapshot/) - [application-consistent-snapshot](https://hesela.dev/terms/application-consistent-snapshot/) - [application-quiescing](https://hesela.dev/terms/application-quiescing/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [backup](https://hesela.dev/terms/backup/) - [restore-test](https://hesela.dev/terms/restore-test/) Citations: - [ontap-group] NetApp ONTAP 9.12.1 REST API: consistency-group write fencing. https://docs.netapp.com/us-en/ontap-restapi-9121/manage_application_consistency_groups.html (accessed 2026-11-13) - [ontap-group-snapshots] NetApp ONTAP 9.18.1 REST API: snapshot types, member deletion and failed group restores. https://docs.netapp.com/us-en/ontap-restapi-9181/application_consistency-groups_consistency_group.uuid_snapshots_endpoint_overview.html (accessed 2026-11-13) - [ebs-multi-volume] AWS: multi-volume EBS snapshot membership and failure handling. https://docs.aws.amazon.com/ebs/latest/userguide/ebs-create-snapshots.html (accessed 2026-11-13) - [ebs-create-snapshots] AWS CLI: create-snapshots, crash-consistency across selected volumes. https://docs.aws.amazon.com/cli/latest/reference/ec2/create-snapshots.html (accessed 2026-11-13) - [ontap-write-order] NetApp: SnapMirror active sync, consistency groups and dependent write order. https://docs.netapp.com/us-en/ontap/snapmirror-active-sync/index.html (accessed 2026-11-13) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-27) ### Consistent cut URL: https://hesela.dev/terms/consistent-cut/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Status: unknown Record updated: 2026-11-16 A consistent cut is a selection of initial prefixes of process histories that contains every causal predecessor of each included event. Note: A cut selects how far each process history is included. It is consistent when an included event never depends on an excluded event. Process-local order, message sending before receipt, and transitivity define the happened-before relation used here. [global-states] [lamport-clocks] A message receipt cannot be included if its send is excluded. The reverse is allowed: an included send with an excluded receipt represents a message in transit in the associated channel state. Including neither event or both events also satisfies this single-message condition. Other events and dependencies still require checking. [global-states] This is a logical boundary, not a requirement that all process states were captured at one wall-clock instant. The original Chandy-Lamport snapshot algorithm records a compatible global state while computation continues, assuming reliable FIFO channels and finite delivery delays. Its progress and reachability conditions belong to the algorithm, not to the definition of a consistent cut. [chandy-lamport] Recovery inference: causal closure alone does not establish transaction completion, durable storage or a successful restore. A cut can include an unfinished transaction; a recovery protocol must preserve or reconstruct the state it needs. The single-message example is illustrative, not a captured execution or a restore experiment. [global-states] [chandy-lamport] Sources and caveats: - The author-hosted global-state chapter supplies the prefix-cut and causal-closure definitions; Lamport supplies the event relation. Chandy-Lamport supplies the snapshot and channel-state interpretation. - This record describes a mathematical property, not a product lifecycle, snapshot implementation or backup certification. Recovery implications are engineering inferences; no native distributed-system experiment was performed. Related terms: - [distributed-snapshot](https://hesela.dev/terms/distributed-snapshot/) - [happened-before](https://hesela.dev/terms/happened-before/) Citations: - [global-states] Babaoğlu and Marzullo: Consistent Global States of Distributed Systems: Fundamental Concepts and Mechanisms, sections 4.5-4.6. https://www.cs.unibo.it/~babaoglu/papers/pdf/global-states.pdf (accessed 2026-11-16) - [lamport-clocks] Lamport (1978): Time, Clocks, and the Ordering of Events in a Distributed System, Communications of the ACM 21(7), 558-565; happened-before relation. https://lamport.azurewebsites.net/pubs/time-clocks.pdf (accessed 2026-11-16) - [chandy-lamport] Chandy and Lamport (1985): Distributed Snapshots: Determining Global States of Distributed Systems, ACM TOCS 3(1), 63-75, sections 2-4. https://lamport.azurewebsites.net/pubs/chandy.pdf (accessed 2026-11-16) ### Consumer SSD URL: https://hesela.dev/terms/consumer-ssd/ Technology reference: https://hesela.com/tech/consumer-ssd/ Related analysis: https://hesela.com/analyses/ssd-steady-state-is-not-a-timer/ Also known as: client SSD Status: shipping Record updated: 2026-10-19 An SSD intended for personal computers and other client devices rather than shared server workloads. Note: SNIA SSS PTS 2.0.2 classifies client and enterprise use by application environment. Its performance tests do not certify reliability or data integrity. Retain the workload, preparation and cache settings when comparing results. [snia] A NAND write cache is distinct from DRAM used by the controller. A documented QLC drive uses a variable SLC buffer; a separate client-drive datasheet lists DRAM and qualifies write results as cache-active. That revision supplies no after-cache write-rate figure. [qvo-cache] [samsung-990] Endurance and warranty are model-specific. The cited client-drive warranty ends coverage at its time or TBW limit, whichever comes first; it does not establish an exact failure time or a rule for every client SSD. [samsung-990] A volatile write-back cache may acknowledge a write before persistence. Linux documents flush and FUA mechanisms for reaching nonvolatile storage. Those semantics do not establish a particular device's emergency-power hardware, and the client label does not establish whether that hardware is present. [linux-cache] Historical fault tests are not a census of current client drives. FAST 2013 tested 15 SSDs from five vendors using raw-device synchronized direct I/O and physical power cuts; 13 exhibited failure behavior. The selected devices and repeated fault cycles do not estimate a consumer-market failure probability. [zheng-power] Sources and caveats: - Primary sources support the expanded notes; legacy references remain for compatibility. - Samsung examples refer to the cited product documents, not a survey of consumer SSDs. - No drive benchmark or power-loss experiment was performed for this record. Related terms: - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [sata](https://hesela.dev/terms/sata/) - [nvme](https://hesela.dev/terms/nvme/) - [tlc](https://hesela.dev/terms/tlc/) - [qlc](https://hesela.dev/terms/qlc/) - [trim](https://hesela.dev/terms/trim/) - [ssd-steady-state](https://hesela.dev/terms/ssd-steady-state/) - [ssd-preconditioning](https://hesela.dev/terms/ssd-preconditioning/) - [ssd](https://hesela.dev/terms/ssd/) - [tlc-ssd](https://hesela.dev/terms/tlc-ssd/) - [slc-cache](https://hesela.dev/terms/slc-cache/) - [dram-cache-ssd](https://hesela.dev/terms/dram-cache-ssd/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [tbw](https://hesela.dev/terms/tbw/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) Citations: - [c1] Solid-state drive. https://en.wikipedia.org/wiki/Solid-state_drive (accessed 2026-03-26) - [n2] NVM Express — overview (client and enterprise PCIe SSD interface). https://nvmexpress.org/wp-content/uploads/NVMe_Overview.pdf (accessed 2026-10-07) - [n3] SNIA — Emerald device classification context. https://www.snia.org/emerald (accessed 2026-10-07) - [snia] SNIA. Solid State Storage Performance Test Specification, version 2.0.2 (1 October 2020), definitions 2.1.1, 2.1.3, 2.1.6, 2.1.13, 2.1.18 and 2.1.24. https://www.snia.org/sites/default/files/2025-02/SNIA-SSS-PTS-2.0.2.pdf (accessed 2026-10-11) - [hesela-steady-state] Hesela: SSD steady state is not a timer. https://hesela.com/analyses/ssd-steady-state-is-not-a-timer/ (accessed 2026-10-11) - [samsung-990] Samsung: 990 PRO datasheet rev. 1.0 (2022), p. 3, DRAM, warranty and footnotes 3, 4, 6. https://download.semiconductor.samsung.com/resources/data-sheet/Samsung_NVMe_SSD_990_PRO_Datasheet_Rev.1.0_10129514072296.pdf (accessed 2026-10-19) - [qvo-cache] Samsung: 860 QVO white paper (June 2019), p. 4, Intelligent TurboWrite and Table 2. https://download.semiconductor.samsung.com/resources/white-paper/Samsung_SSD_860_QVO_White_paper.pdf (accessed 2026-10-19) - [linux-cache] Linux v6.12 documentation: Explicit volatile write back cache control, cache flush and FUA sections. https://www.kernel.org/doc/html/v6.12/block/writeback_cache_control.html (accessed 2026-10-19) - [zheng-power] Zheng et al.: Understanding the Robustness of SSDs under Power Fault, FAST 2013, pp. 271-284, sections 3-5. https://www.usenix.org/system/files/conference/fast13/fast13-final80.pdf (accessed 2026-10-19) ### Container capping URL: https://hesela.dev/terms/container-capping/ Status: research Record updated: 2026-10-22 Container capping limits the old containers referenced by a backup segment by storing selected duplicate chunks again. Note: A locality-versus-space trade-off, not a cap on total repository containers. [lillibridge2013] The backup stream is cut into segments of about 20 MB, roughly 5,000 chunks. For each segment the old containers, about 4 MB each, are ranked by how many of the segment's chunks they hold, and the top T are kept. Duplicates found in other containers are stored again in the open container, so each segment's recipe refers to at most T old containers plus 1 to 5 new ones. [lillibridge2013] With a 128 MB restore cache, giving up 2% of deduplication bought a 4.0 times restore speed-up on a workgroup data set and 8% bought 6.4 times, but with a 1 GB cache only 1.7 and 2.3 times. Over 480 backups fragmentation grew 11 times without capping, 6 times with 90 containers per segment and 1.4 times with 10. [lillibridge2013] At most T + 5 containers per 20 MB segment bounds the speed factor below by 20 / (T + 5), 0.8 for T = 20. A 2015 study classes rewriting as the design dimension that trades deduplication ratio for restore speed and implements capping in an open-source test platform, whose code keeps the T containers that hold most of a buffer of pending chunks and marks the other duplicates for rewriting. [fu2015] [destor] Advantages: - Combined with a forward assembly area for restore, capping gave larger speed-ups than either technique alone. (sources: [lillibridge2013]) Limitations: - Each segment is capped on its own, which overlooks the relationship between consecutive segments. (sources: [destor]) - On a two-year synthetic data set, a 23% deduplication loss bought 8.8 times with a 128 MB cache but only 5.0 times with 1 GB. (sources: [lillibridge2013]) - Ingestion needs an extra segment-sized buffer per stream and must still look up chunk locations before the cap is applied. (sources: [lillibridge2013]) Sources and caveats: - The capping paper is by authors at a storage-company research laboratory (HP Labs); its performance numbers come from two data sets and one LRU restore-cache model. - The independent 2015 study and its platform describe and implement capping but do not reproduce the capping numbers; its 27.69% loss for a 2.8 times speed-up concerns a different rewriting algorithm. - Speed is the paper proxy, the inverse of mean containers read per MB restored; the 24 ms per container used to convert it to MB/s is the paper's illustrative assumption. - Arithmetic: 20 MB / 4 KB = 5,120 chunks; 20 / (T + 5) is 1.33 for T = 10 and 0.21 for T = 90, ignoring cache hits across segments; at about 41.7 MB/s per unit these floors are about 56, 33 and 8.8 MB/s. - The deduplication-loss percentages are the paper's cumulative factors. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [chunk-fragmentation](https://hesela.dev/terms/chunk-fragmentation/) Citations: - [lillibridge2013] Lillibridge, Eshghi and Bhagwat. Improving Restore Speed for Backup Systems that Use Inline Chunk-Based Deduplication. USENIX FAST 2013. https://www.usenix.org/system/files/conference/fast13/fast13-final124.pdf (accessed 2026-10-11) - [hesela-dedup-restore] Deduplication ratio does not predict restore cost. https://hesela.com/analyses/deduplication-restore-fragmentation/ (accessed 2026-10-11) - [fu2015] Fu et al. Design Tradeoffs for Data Deduplication Performance in Backup Workloads. USENIX FAST 2015. https://www.usenix.org/system/files/conference/fast15/fast15-paper-fu.pdf (accessed 2026-10-16) - [destor] destor deduplication test platform, src/cap_rewrite.c, master branch (last commit April 2016). https://github.com/fomy/destor/blob/master/src/cap_rewrite.c (accessed 2026-10-16) ### Content-addressed storage URL: https://hesela.dev/terms/content-addressed-storage/ Related analysis: https://hesela.com/analyses/content-defined-chunking-boundaries/ Also known as: Content-addressable storage, CAS Status: shipping Record updated: 2026-11-18 Content-addressed storage retrieves data using identifiers derived from its content under specified encoding and hashing rules. Note: A content address names a representation rather than a storage location. Venti used block fingerprints for lookup, duplicate coalescing and read verification. Its lookup key paired the fingerprint with an 8-bit client-supplied type; the server did not interpret that type's data format. Its 2002 SHA-1 assumptions are historical, not a current security recommendation. [venti] Git hashes an object header containing type and byte length, a NUL byte, and the payload. A blob omits its filename; a tree associates names and modes with object IDs. Equal file bytes therefore need not mean equal directory objects. [git-objects] Chunking chooses the bytes to identify; content addressing names the resulting representation. IPFS root identifiers also depend on chunking, graph layout, codec and hash choices. Identical file bytes alone do not fix one identifier across different import settings. [ipfs-address] The acronym CAS also means compare-and-swap, an unrelated conditional-update operation. Limitations: - A retained identifier does not retain the addressed data. IPFS pinning protects against a node's garbage collection, not every cause of unavailability. (sources: [ipfs-persistence]) - Deduplication benefits depend on repeated content and system policy; a content address alone gives no physical-space saving or restore-speed estimate. (sources: [venti]) Sources and caveats: - Primary-source synthesis; historical Venti properties are not universal requirements of content-addressed systems. No native IPFS or Venti experiment was run. Related terms: - [content-identifier](https://hesela.dev/terms/content-identifier/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [deduplication](https://hesela.dev/terms/deduplication/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) Citations: - [git-objects] Git Book: Git Objects, object storage and tree entries. https://git-scm.com/book/en/v2/Git-Internals-Git-Objects (accessed 2026-11-18) - [ipfs-address] IPFS documentation: content addressing, root blocks and import parameters. https://docs.ipfs.tech/concepts/content-addressing/ (accessed 2026-11-18) - [ipfs-persistence] IPFS documentation: persistence, garbage collection and pinning. https://docs.ipfs.tech/concepts/persistence/ (accessed 2026-11-18) - [venti] Quinlan and Dorward. Venti: a new approach to archival storage. FAST 2002, sections 3 and 7. https://www.usenix.org/legacy/event/fast02/quinlan/quinlan_html/index.html (accessed 2026-11-18) ### Content-aware FTL URL: https://hesela.dev/terms/content-aware-ftl/ Also known as: CAFTL, Content-aware flash translation layer Status: research Record updated: 2026-11-08 A content-aware flash translation layer uses data fingerprints to share duplicate pages and suppress redundant writes inside an SSD. Note: In the CAFTL research design, inline deduplication can avoid programming a duplicate. Background deduplication merges copies already stored; it cannot undo their earlier writes. A bounded fingerprint store and sampling can miss duplicates, so this is best-effort reduction. [caftl] Shared pages use logical-to-virtual-to-physical mapping. Relocation updates the shared virtual mapping, while an exact reference count prevents reclamation until no logical page refers to the physical page. The fingerprint cache's popularity counter is a separate quantity, not the reclamation authority. [caftl] CRC32 pre-hashing only screens candidates before the design's SHA-1 fingerprint comparison; CRC equality alone does not authorize sharing. The historical SHA-1 assumption is not a current security recommendation. [caftl] [nist-hash] Limitations: - Deduplication savings do not by themselves give total device write amplification or prove power-loss safety. (sources: [caftl]) Sources and caveats: - CAFTL was evaluated with 11 workload traces in a DiskSim-based simulator, not a modern SSD endurance trial. Section 3.3.2 assumes capacitor-backed journal flushing. [caftl] Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [deduplication](https://hesela.dev/terms/deduplication/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) Citations: - [caftl] Chen, Luo and Zhang. CAFTL: A Content-Aware Flash Translation Layer Enhancing the Lifespan of Flash Memory based Solid State Drives. FAST 2011, sections 3-4. https://www.usenix.org/legacy/events/fast11/tech/full_papers/Chen.pdf (accessed 2026-11-08) - [nist-hash] NIST CSRC. Hash Functions: SHA-1 deprecation and collision resistance. https://csrc.nist.gov/projects/hash-functions (accessed 2026-11-08) ### Content-based sampling (deduplication) URL: https://hesela.dev/terms/content-based-sampling/ Also known as: Fingerprint-based sampling, Deduplication estimation Status: research Record updated: 2026-11-22 Content-based sampling selects blocks by a predicate on their content fingerprints so identical blocks share the same sampling decision. Note: Estimation: Scan every block fingerprint, retain selected distinct identities and scale their total bytes by the inverse selection probability. A small retained sample does not remove the initial full scan. Xie et al. use a modulo filter and adapt its selectivity as the sample grows. [xie2013] Units: For a fixed divisor M, unique payload is estimated as M times the selected distinct bytes. Variable-size blocks require byte weighting. The paper calls unique bytes divided by original bytes a deduplication ratio; a reduction factor uses the reciprocal, and saved fraction subtracts that share from one. [xie2013] Uncertainty: Accuracy relies on fingerprint uniformity, negligible collisions and enough selected distinct content. Taking a reciprocal of an unbiased unique-byte estimate does not make the reduction-factor estimate unbiased. A zero sample cannot establish that no unique data exists. [xie2013] [example] Worked example: For six equal blocks A,A,A,A,B,C, averaging the within-sample saved fraction over every two-position sample gives 20%, while the full population saves 50%. This demonstrates a naive extrapolation error, not a measured backup workload. [example] Position sampling has another limit: different full populations can yield identical probability laws for a small sampled frequency histogram, despite different unique-byte totals. This concerns inference from sampled positions, not the full fingerprint scan used above. Hesela provides an exact two-position example and a three-position control. [identifiability] Sources and caveats: - Primary-paper source review; the online system and reported performance were not reproduced. [xie2013] - The exact example uses independent identity selection at fixed probability 1/2, not the paper's adaptive algorithm, a hash implementation or a confidence-interval estimator. [example] Related terms: - [deduplication-ratio](https://hesela.dev/terms/deduplication-ratio/) - [sparse-indexing](https://hesela.dev/terms/sparse-indexing/) - [sampling-design](https://hesela.dev/terms/sampling-design/) - [duplication-frequency-histogram](https://hesela.dev/terms/duplication-frequency-histogram/) Citations: - [xie2013] Xie, Condict and Shete. Estimating Duplication by Content-based Sampling. USENIX ATC 2013, pp. 181-186. https://www.usenix.org/system/files/conference/atc13/atc13-xie.pdf (accessed 2026-11-22) - [example] Hesela: exact occurrence-sampling and fixed-probability content-sampling examples, method and tests. https://hesela.dev/research/dedup-estimation/README.md (accessed 2026-11-22) - [identifiability] Hesela: identical sample histogram laws, different deduplication savings; exact derivation and executable controls. https://hesela.dev/research/dedup-estimation/IDENTIFIABILITY.md (accessed 2026-11-22) ### Content-defined chunking URL: https://hesela.dev/terms/content-defined-chunking/ Also known as: CDC Status: shipping Record updated: 2026-11-11 Content-defined chunking divides a byte stream using content-dependent boundary rules rather than only fixed offsets. Note: The aim is to retain reusable chunks despite shifted offsets; minimum-size suppression and maximum-size forced cuts can disrupt resynchronization. Boundary selection is separate from checking whole-chunk identity. [lbfs] File framing matters: restarting at each file and chunking one concatenated stream can produce different reusable units. In a deterministic four-file example, reversing unchanged files preserves 152072 of 152072 reusable bytes with per-file chunking, but 110326 of 152072 bytes with concatenated framing. Every terminal chunk is included; these synthetic counts are not a workload savings estimate. [framing] Repetitive-input control: a constant-byte stream can force repeated maximum-length cuts even with a much smaller requested average. The complete 256-byte-value test in fastcdc-py 1.7.0 explains both 255 maximum-length cases and the 0x5D transient exception. Low boundary diversity does not by itself imply poor deduplication or compression. [repeated-study] Fixed partitioning alone does not describe a synchronization algorithm. Rsync can search for its fixed-length basis blocks at arbitrary source offsets. In Hesela's 36-case native-rsync experiment, forced delta transfer after a one-byte prefix insertion retained all 262144 basis bytes as matches at both tested block sizes. [delta-study] Equal entropy can hide different partitions: two synthetic 1048576-byte XOR-255 complements preserve substring equality within each stream, yet pinned optimized RAM at horizon 327 yields 1757 versus 3197 chunks without a cap. Ordered-byte comparisons change; these are occurrences, not unique stored objects or capacity savings. [ram-source] [ram-study] In the rare-high partition, 10.42% of chunks exceed 1308 B but contain 38.51% of bytes. [ram-exposure] Limitations: - Uniform logical-byte selection sees a containing-chunk mean of sum(length squared)/sum(length), not the occurrence mean. All positive lengths, including terminal chunks, count. [size-bias] - Byte-weighted tails count all logical bytes inside long chunks, not just bytes beyond the threshold; they do not estimate workload latency, capacity savings or edit amplification. [ram-exposure] Sources and caveats: - Synthetic examples use the pinned pure-Python implementation with source hashes, exact byte equality and all terminal chunks; no speed or real-backup savings claim. [framing] - The RAM experiment uses constructed byte strings and unmodified Rust library revision 06e9a82f7e6575b47aeefcc005ed5a3393a79ff6; it is not a paper-performance replication. [ram-study] - RAM's uniform-IID mean averages conditional waiting times; the 2026 analysis distinguishes this from inverting mean success probability. The native variant and effective prefix length must also be recorded. [ram-comparison] Related terms: - [metadedup](https://hesela.dev/terms/metadedup/) - [deduplication](https://hesela.dev/terms/deduplication/) - [fastcdc](https://hesela.dev/terms/fastcdc/) - [rolling-hash](https://hesela.dev/terms/rolling-hash/) - [chunk-fragmentation](https://hesela.dev/terms/chunk-fragmentation/) - [gear-hash](https://hesela.dev/terms/gear-hash/) - [delta-synchronization](https://hesela.dev/terms/delta-synchronization/) - [deduplication-side-channel](https://hesela.dev/terms/deduplication-side-channel/) - [content-addressed-storage](https://hesela.dev/terms/content-addressed-storage/) - [content-identifier](https://hesela.dev/terms/content-identifier/) Citations: - [lbfs] Muthitacharoen, Chen and Mazieres. A Low-bandwidth Network File System. SOSP 2001, sections 3.1.1-3.1.3. https://pdos.csail.mit.edu/papers/lbfs:sosp01/lbfs.pdf (accessed 2026-10-12) - [hesela-cdc] Content-defined chunking: boundaries are not identity. https://hesela.com/analyses/content-defined-chunking-boundaries/ (accessed 2026-10-12) - [framing] Hesela. Deterministic FastCDC framing experiment: byte counts and complete chunk manifests. https://hesela.dev/research/fastcdc-framing/results.json (accessed 2026-10-16) - [repeated-study] Hesela. Exhaustive constant-byte FastCDC experiment: pinned 1.7.0 Python API, source hashes, exact reconstruction and independent recurrence checks. https://hesela.dev/research/gear-repeated/results.json (accessed 2026-10-20) - [delta-study] Hesela: native rsync after shifted offsets, with exact byte checks. https://hesela.com/analyses/rsync-delta-shifted-blocks/ (accessed 2026-10-20) - [ram-comparison] Gregoriadis et al. Benchmarking Content-Defined Chunking Algorithms for Data Deduplication. arXiv:2610.13704v1, IV-C and Appendix B. https://arxiv.org/pdf/2610.13704v1 (accessed 2026-11-10) - [ram-source] cdchunking-rs, revision 06e9a82f7e6575b47aeefcc005ed5a3393a79ff6: RAMChunker and MaybeOptimizedRAMChunker. https://github.com/mrd0ll4r/cdchunking-rs/blob/06e9a82f7e6575b47aeefcc005ed5a3393a79ff6/src/ram.rs (accessed 2026-11-10) - [ram-study] Hesela. Native RAM boundary experiment: 120 observations, source hashes, complete chunk lengths and analytical controls. https://hesela.dev/research/ram-calibration/results.json (accessed 2026-11-10) - [size-bias] Karl Sigman. Batch arrivals (2009), page 2, equations 3-4: discrete size bias and the second-moment ratio. https://www.columbia.edu/~ks20/stochastic-I/stochastic-I-BA.pdf (accessed 2026-11-11) - [ram-exposure] Hesela. Exact byte-weighted exposure derived from six frozen RAM partitions, with a separate IID model. https://hesela.dev/research/ram-calibration/byte-exposure/results.json (accessed 2026-11-11) ### Content Identifier (CID) URL: https://hesela.dev/terms/content-identifier/ Related analysis: https://hesela.com/analyses/content-defined-chunking-boundaries/ Also known as: CID, IPFS CID Status: shipping Record updated: 2026-11-18 A Content Identifier (CID) is a typed content address that combines a content hash with information identifying the encoded data's format. Note: Binary CIDv1 consists of version, codec and multihash fields. The multihash identifies the hash algorithm and digest length. A multibase prefix appears only in a text representation, so different base strings can represent the same binary CID. [cid-spec] CIDv0 has implicit version and dag-pb codec. Its binary form is a 34-byte multihash: the bytes 0x12 and 0x20 identify SHA-256 and a 32-byte digest, followed by that digest. It does not carry the explicit CIDv1 fields. [cid-spec] A file imported into IPFS may become a graph of chunks. Its root CID identifies the encoded root block, not generally the digest of the original whole file. Changing chunking or graph construction can change the root for identical file bytes; for a single raw block, its digest component can equal the whole-file hash, but the complete CID still carries identifying metadata. [ipfs-address] Limitations: - A CID's existence does not prove that a reachable node still stores the data or all graph dependencies. (sources: [ipfs-persistence]) Sources and caveats: - CID format details checked against the maintained IPFS specification dated 26 June 2026. Content authentication also requires a trusted expected identifier; naming alone does not establish its origin. Related terms: - [content-addressed-storage](https://hesela.dev/terms/content-addressed-storage/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) Citations: - [cid-spec] IPFS CID specification: binary fields, string representations and CIDv0. https://specs.ipfs.tech/cid/ (accessed 2026-11-18) - [ipfs-address] IPFS documentation: content addressing, root blocks and import parameters. https://docs.ipfs.tech/concepts/content-addressing/ (accessed 2026-11-18) - [ipfs-persistence] IPFS documentation: persistence, garbage collection and pinning. https://docs.ipfs.tech/concepts/persistence/ (accessed 2026-11-18) ### Content sniffing URL: https://hesela.dev/terms/content-sniffing/ Also known as: MIME sniffing, MIME type sniffing Status: shipping Record updated: 2026-11-23 Content sniffing is the process of using resource bytes and contextual metadata to determine a media type for processing. Note: Supplied versus computed: WHATWG distinguishes a supplied MIME type from the type computed for a resource. Sniffing rules depend on context, such as image loading versus browsing. The result selects an interpretation; it is not a full format-validation or integrity check. [whatwg-sniffing] Historical evidence: Barth, Caballero and Song analyzed four browser implementations and compared their sniffers with upload filters. Their IEEE S&P 2009 paper identified interpretation disagreements and proposed avoiding privilege escalation and using prefix-disjoint signatures. Those findings concern historical implementations, not a measured vulnerability in current browsers. [sniffing-2009] Storage consequence: Preserving identical object bytes does not preserve the HTTP processing contract when delivery metadata changes. Record and verify Content-Type separately from the checksum. RFC 9110 identifies Content-Type as a singleton; a comma-joined pair of types is not a valid list-valued alternative. [http-content-type] Scope: Neither a filename extension nor a matched prefix proves the entire object is well formed. Correct type metadata, integrity verification and validation of the selected format answer different questions. Do not use a successful type guess as an archive-restore acceptance test. [http-content-type] Sources and caveats: - Primary-source synthesis of HTTP semantics, the WHATWG processing model and historical browser research; no new browser-security experiment or fleet measurement. Related terms: - [media-type](https://hesela.dev/terms/media-type/) - [file-signature](https://hesela.dev/terms/file-signature/) - [object-storage](https://hesela.dev/terms/object-storage/) Citations: - [whatwg-sniffing] WHATWG MIME Sniffing: resource metadata, computed types and context-specific sniffing. https://mimesniff.spec.whatwg.org/ (accessed 2026-11-23) - [sniffing-2009] Barth, Caballero and Song (IEEE S&P 2009): Secure Content Sniffing for Web Browsers, sections 2-3. https://bitblaze.cs.berkeley.edu/papers/mimesniff_oakland09.pdf (accessed 2026-11-23) - [http-content-type] RFC 9110, section 8.3: Content-Type. https://www.rfc-editor.org/rfc/rfc9110.html#section-8.3 (accessed 2026-11-23) - [hesela-context] Hesela: identify the format, then validate the file. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#format-identification (accessed 2026-11-23) ### Controller Memory Buffer (CMB) URL: https://hesela.dev/terms/controller-memory-buffer/ Also known as: CMB Status: shipping Record updated: 2026-10-28 Controller Memory Buffer is an optional NVMe mechanism that exposes controller-resident memory for host use through PCIe. Note: The controller advertises supported uses, which may include queues, descriptors or transfer data. HMB instead assigns host memory to the controller. CMB is not a synonym for an SSD's private DRAM cache. [nvme] The CMBSZ register at offset 3Ch reports a 20-bit size in units from 4 KiB to 64 GiB, each 16 times the previous one. Five flags cover submission queues, completion queues, PRP or SGL lists, read data and write data. If offset plus size exceeds the PCIe BAR, the usable size is limited by the BAR length. [nvme] Contents are undefined after a controller reset, a function level reset or enabling the controller memory space, so host software initializes the buffer before use. A submission queue placed there lets the host write whole commands into controller memory and saves one controller read across PCIe. [nvme] The Linux v6.16 PCIe driver computes the unit as 2^(12+4*SZU) bytes and places I/O submission queues in the buffer by default when the queue flag is set. It shrinks queue depth to fit and falls back to host memory below 64 entries. [linux-pci] Advantages: - Supported queue and descriptor placement can avoid fetching these structures from host memory. (sources: [nvme]) - For small writes the host can place data directly in controller memory instead of having the controller fetch it. (sources: [nvme]) Limitations: - Available uses depend on controller capability flags; CMB does not itself establish persistent-memory or power-loss-protection guarantees. (sources: [nvme]) - The Linux driver offers the buffer for peer-to-peer DMA only when both read and write data flags are set, and skips it when size or BAR start is misaligned. (sources: [linux-pci]) Sources and caveats: - nvme is NVM Express 1.4a, reread on the access date in section 3.1.12 (CMBSZ) and section 4.7. - linux-pci is drivers/nvme/host/pci.c at tag v6.16, read in nvme_map_cmb, nvme_cmb_size_unit, nvme_cmb_qdepth and nvme_alloc_sq_cmds. - 3Ch, 20 bits, 4 KiB, 64 GiB, 16 times and five flags come from nvme. 2^(12+4*SZU) and 64 entries come from linux-pci. Related terms: - [hmb](https://hesela.dev/terms/hmb/) - [nvme](https://hesela.dev/terms/nvme/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [dram-cache-ssd](https://hesela.dev/terms/dram-cache-ssd/) - [nvme-persistent-memory-region](https://hesela.dev/terms/nvme-persistent-memory-region/) Citations: - [nvme] NVM Express 1.4a (9 March 2020), sections 4.7 and 4.8: CMB and PMR. Copyright 2007-2020 NVM Express, Inc. https://www.nvmexpress.org/wp-content/uploads/NVM-Express-1_4a-2020.03.09-Ratified.pdf (accessed 2026-10-22) - [hesela-hmb] Hesela: Host Memory Buffer (HMB). https://hesela.com/tech/hmb/ (accessed 2026-10-18) - [linux-pci] Linux v6.16 drivers/nvme/host/pci.c: CMB mapping, size units and submission-queue placement. https://github.com/torvalds/linux/blob/v6.16/drivers/nvme/host/pci.c (accessed 2026-10-22) ### Convergent encryption URL: https://hesela.dev/terms/convergent-encryption/ Related analysis: https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/ Also known as: content-hash keying Status: research Record updated: 2026-11-04 Convergent encryption derives an encryption key from content so that matching plaintext can produce matching data ciphertext for deduplication. Note: One early design encrypts file data under a cryptographically strong hash of the plaintext, then encrypts that hash separately under each authorized reader's public key. Identical files yield identical data ciphertext, so a host without user keys can store them once, plus a small amount of space per reader key. Equality of plaintexts is leaked deliberately. Measurements of 550 desktop file systems found that almost half of occupied space was reclaimable by removing duplicate files. [farsite2002] The scheme is deterministic and keyless, so security holds only for unpredictable messages. A file drawn from a known set of n candidates is recovered with n offline encryptions and a ciphertext comparison. A content hash is therefore not an independently secret key. A server-aided variant obtains message-derived keys from an authenticated, rate-limited key server, and for a 1 MB file reported bandwidth overhead under 1% and store-time overhead near 17%. [dupless2013] Assess unpredictability at every independently testable unit, not only the actual matching unit. A block drawn from a tiny known set can remain guessable despite high whole-file uncertainty. Xu, Chang and Zhou also analyze a file-level scheme whose per-block proof commitments permit candidate tests: file-level deduplication alone does not eliminate this exposure. Inspect what the proof transcript makes testable. [xu2013-weak-leakage] DupLESS's Bounded policy limits requests per client per fixed epoch, not the spacing between guesses. A candidate set within the remaining quota can be tested without quota-imposed waiting; new epochs or additional compromised clients provide further budgets. [dupless2013] Advantages: - Deduplication works across users who never share a key, because the data ciphertext depends only on the plaintext. (sources: [farsite2002]) Limitations: - Predictable content such as form letters with a few variable fields remains open to brute-force confirmation. (sources: [dupless2013]) Sources and caveats: - farsite2002 re-read 2026-10-23 for the key wrapping, the leaked equality and the 550-system duplicate measurement. - dupless2013 read 2026-10-23 for the offline brute-force argument and the server-aided overheads. - mle2013 is listed but not used in prose, because its archive host served an automated browser check on 2026-10-23. - A companion analysis on encrypted deduplication is listed but not used in prose. - Author-hosted 2013 ASIA CCS PDF reviewed 2026-11-04, SHA-256 b441a4209cbdac5ce4cae48f4ade763e154586bec69f68e596ebbc5ab2d998d2; sections 1.1.3, 2.5 and 3.3. - Section 2.5 analyzes file-level deduplication with independently testable per-block commitments. This is the paper's protocol analysis, not a measured attack on a current provider. - DupLESS section 5 re-read 2026-11-04 for per-client epochs and small candidate sets; independent client budgets follow from that policy, not a measured attack. Related terms: - [metadedup](https://hesela.dev/terms/metadedup/) - [deduplication](https://hesela.dev/terms/deduplication/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [oblivious-prf](https://hesela.dev/terms/oblivious-prf/) - [deduplication-side-channel](https://hesela.dev/terms/deduplication-side-channel/) - [proof-of-ownership](https://hesela.dev/terms/proof-of-ownership/) Citations: - [farsite2002] Douceur, Adya, Bolosky, Simon and Theimer. Reclaiming Space from Duplicate Files in a Serverless Distributed File System. ICDCS 2002, section 3. https://www.microsoft.com/en-us/research/wp-content/uploads/2002/01/ICDCS2002.pdf (accessed 2026-10-23) - [mle2013] Bellare, Keelveedhi and Ristenpart. Message-Locked Encryption and Secure Deduplication. EUROCRYPT 2013; full-version record, ePrint 2012/631. https://eprint.iacr.org/2012/631 (accessed 2026-10-18) - [hesela-dedup-security] Hesela: Encrypted deduplication: who can test a file guess? https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/ (accessed 2026-10-18) - [dupless2013] Bellare, Keelveedhi and Ristenpart. DupLESS: Server-Aided Encryption for Deduplicated Storage. USENIX Security 2013, sections 1-3, 5 and 8. https://files.usenix.org/s3fs-public/cdn/sec13-paper_bellare.pdf (accessed 2026-11-04) - [xu2013-weak-leakage] Xu, Chang and Zhou. Weak Leakage-Resilient Client-side Deduplication of Encrypted Data in Cloud Storage. ASIA CCS 2013; DOI 10.1145/2484313.2484340. https://www.comp.nus.edu.sg/~changec/publications/2013_asiaccs.pdf (accessed 2026-11-04) ### Coordinated omission URL: https://hesela.dev/terms/coordinated-omission/ Status: unknown Record updated: 2026-11-20 Coordinated omission is a measurement bias in which a workload generator or sampler misses observations because its activity depends on the slow responses being measured. Note: A correct histogram of issued requests need not describe independent arrivals; synthetic correction must state its expected-interval assumption. A generator that sends a request on a connection only after the previous response arrives measures each request from its actual send time. During a slow period it issues fewer requests, so the slow period contributes few samples and most high-latency artifacts are left out. [wrk2] One remedy keeps a constant request schedule and measures latency from the time each request should have been sent. In a quiet run with a worst case of 11 ms, the 99th percentile measured this way was about 2 times the uncorrected value. A single 1.4 s pause of the server made the corrected 99th percentile about 200 times larger. [wrk2] Another remedy corrects the histogram afterwards. Suppose samples are taken every 10 ms, 10,000 samples read 1 ms over 100 s, and then a 100 s pause yields one 100 s sample. The raw histogram puts about 99.99% of results at 1 ms or below, while filling in values every 10 ms during the pause puts only about 50% there. [hdr] For a 10 ms expected interval, 11 ms adds no entry; 20 ms adds one at 10 ms in HdrHistogram 2.2.2. Use recording-time or post-recording correction, not both. [hdr-expansion] In a deterministic FIFO example, 190 closed-loop requests become 199 histogram entries after 10 ms correction: p99 is 91 ms, versus 83 ms for 200 independent arrivals. Added entries are not additional observed requests or independent measurements. [hesela-latency] Post-recording uses bin upper endpoints. [hdr-iterator] Advantages: - Measuring from the intended send time keeps stalls in the latency distribution without changing the server under test. (sources: [wrk2]) Limitations: - Fully asynchronous generation that ignores previous responses avoids the bias only for non-blocking protocols or one request per connection. (sources: [wrk2]) - Synthetic correction depends on the expected interval and must not be applied twice for the same omission; entry counts do not establish issued-request counts. (sources: [hdr-expansion], [hesela-latency]) - In HdrHistogram 2.2.2, post-recording correction expands occupied-bin upper endpoints, not recovered raw observations. Quantization can therefore change the expansion relative to recording-time correction; preserve the correction stage and histogram precision. (sources: [hdr-expansion], [hdr-iterator]) Sources and caveats: - wrk2 is the maintainer documentation of a constant-throughput load generator by Gil Tene, reread on the access date in its section on the latency measurement technique. - hdr is the maintainer documentation of a histogram library, reread in its section on corrected versus raw value recording. - 11 ms, 2 times, 1.4 s and 200 times come from wrk2. 10 ms, 10,000 samples, 1 ms, 100 s, 99.99% and 50% come from hdr. - Both are maintainer documents, not peer-reviewed studies and not storage benchmarks. - The 2026-10-26 supplement checks a pinned Java recording method against 5228 exact lists. The 190/199/200 entries and 91/83 ms comparison uses Hesela's existing deterministic model, not hardware or a reproduction of NSDI 2006. - The correction-order caveat is inferred from addWhileCorrectingForCoordinatedOmission and AbstractHistogramIterator.getValueIteratedTo at the same pinned commit. It is a source review, not an executed post-recording histogram comparison. Related terms: - [open-loop-load](https://hesela.dev/terms/open-loop-load/) - [closed-loop-load](https://hesela.dev/terms/closed-loop-load/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [backpressure](https://hesela.dev/terms/backpressure/) - [admission-control](https://hesela.dev/terms/admission-control/) Citations: - [wrk2] Gil Tene, wrk2: scheduled-arrival latency and coordinated omission; maintainer documentation, not an SSD benchmark. https://github.com/giltene/wrk2 (accessed 2026-10-22) - [hdr] HdrHistogram maintainers: corrected versus raw value recording and expected sampling intervals. https://github.com/HdrHistogram/HdrHistogram#corrected-vs-raw-value-recording-calls (accessed 2026-10-22) - [hesela-latency] Hesela: synthetic arrival cohorts, timing boundaries and percentile pooling. https://hesela.com/analyses/storage-latency-coordinated-omission/ (accessed 2026-10-11) - [hesela-model] Hesela synthetic timing records: model parameters, full request cohorts and SHA-256 provenance. https://hesela.dev/research/latency-measurement.json (accessed 2026-10-11) - [hdr-expansion] HdrHistogram 2.2.2 pinned AbstractHistogram source: recording expansion and exclusive correction APIs. https://github.com/HdrHistogram/HdrHistogram/blob/3ae7ae18d81887484974011c1c7a2bdc9178ab09/src/main/java/org/HdrHistogram/AbstractHistogram.java#L441-L772 (accessed 2026-10-26) - [hdr-iterator] HdrHistogram 2.2.2 pinned iterator: occupied-bin upper endpoints used by post-recording correction. https://github.com/HdrHistogram/HdrHistogram/blob/3ae7ae18d81887484974011c1c7a2bdc9178ab09/src/main/java/org/HdrHistogram/AbstractHistogramIterator.java#L69-L127 (accessed 2026-10-26) ### copy_file_range URL: https://hesela.dev/terms/copy-file-range/ Related analysis: https://hesela.com/analyses/file-clones-deferred-copy-cost/ Status: shipping Record updated: 2026-11-09 copy_file_range is a Linux system call that copies a requested file range in the kernel and reports the number of bytes actually copied. Note: A successful call may copy fewer bytes than requested, and zero can indicate EOF. Implementations may accelerate copying with reflinks or server-side copy; success alone does not identify physical allocation. Sparse holes can expand. [linux-cfr] The call exists since Linux 4.5, and its flags argument must be 0. Linux 5.3 reworked the implementation, and from 5.3 to 5.18 the kernel copied across filesystems even without their support, which on some virtual filesystems reported success without copying. Since 5.19 a cross-filesystem copy needs two filesystems of the same type that implement it. [linux-cfr] In Linux v6.16 the kernel tries the filesystem's own copy method first, then a clone of the range on the same superblock, then an in-kernel splice copy. The clone and splice paths cap one call at MAX_RW_COUNT, INT_MAX rounded down to a page boundary, which is 2,147,479,552 bytes with 4 KiB pages. [read-write] [fs-header] Source and destination positions are selected independently. A NULL off_in or off_out uses and advances that file's current position; a non-NULL pointer advances the supplied value instead, leaving that file position unchanged. Distinct caller-owned offset variables can isolate range selection from shared descriptor cursors, but do not freeze source bytes or prevent overlapping destination writes. [linux-cfr] After a positive short return, continue from the updated offsets and subtract the copied count from the remaining work. Zero for a positive-count request indicates EOF: stop instead of retrying without progress. Resetting explicit offsets selects the original range again. Duplicating a descriptor alone does not provide a separate file position. [linux-cfr] [dup-cursors] Advantages: - Avoids moving data through user-space buffers. (sources: [linux-cfr]) Limitations: - glibc 2.27 to 2.29 supplied a user-space fallback, but since glibc 2.30 the function fails with ENOSYS on kernels without the system call. (sources: [linux-cfr]) - On Linux 6.8.0-147-generic, EFAULT from a read-only explicit offset can follow copied bytes and an update to the other cursor. Blind retry can duplicate data or overwrite the previous output. (sources: [hesela-copyback], [linux-copyback]) - O_APPEND on the destination open file description is rejected with EBADF, even when an explicit destination offset is supplied. (sources: [linux-cfr]) Sources and caveats: - linux-cfr is the Linux man-pages copy_file_range(2) page, read in full on the access date. - read-write is fs/read_write.c at tag v6.16, read in vfs_copy_file_range and the copy_file_range system call. - fs-header is include/linux/fs.h at tag v6.16, read for the MAX_RW_COUNT definition. - 4.5, 5.3, 5.18, 5.19 and the glibc versions come from linux-cfr. 2,147,479,552 bytes is INT_MAX & PAGE_MASK with 4096-byte pages, from fs-header. - The copyback supplement uses deliberately invalid caller offset buffers on one host, not a device-failure model or a guarantee about every error. Related terms: - [reflink](https://hesela.dev/terms/reflink/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [fideduperange](https://hesela.dev/terms/fideduperange/) - [file-offset](https://hesela.dev/terms/file-offset/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [sendfile](https://hesela.dev/terms/sendfile/) Citations: - [linux-cfr] Linux man-pages: copy_file_range(2), independent offsets, short copies and append restriction. https://man7.org/linux/man-pages/man2/copy_file_range.2.html (accessed 2026-11-09) - [hesela-clones] Hesela: Fast file clones and deferred copying costs. https://hesela.com/analyses/file-clones-deferred-copy-cost/ (accessed 2026-10-15) - [read-write] Linux v6.16 fs/read_write.c: vfs_copy_file_range fallback order. https://github.com/torvalds/linux/blob/v6.16/fs/read_write.c (accessed 2026-10-22) - [fs-header] Linux v6.16 include/linux/fs.h: MAX_RW_COUNT. https://github.com/torvalds/linux/blob/v6.16/include/linux/fs.h (accessed 2026-10-22) - [dup-cursors] Linux man-pages: dup(2), shared open file descriptions and file offsets. https://man7.org/linux/man-pages/man2/dup.2.html (accessed 2026-11-09) - [hesela-copyback] Hesela: native offset-copyback failures, observed bytes and unsafe retries. https://hesela.com/analyses/zero-copy-source-lifetime/#offset-copyback-failure (accessed 2026-11-09) - [linux-copyback] Linux v6.8: transfer and caller-offset copyback. https://github.com/torvalds/linux/blob/e8f897f4afef0031fe618a8e94127a0934896aba/fs/read_write.c (accessed 2026-11-09) ### Copy-on-abundant-write URL: https://hesela.dev/terms/copy-on-abundant-write/ Related analysis: https://hesela.com/analyses/file-clones-deferred-copy-cost/ Status: research Record updated: 2026-11-05 Copy-on-abundant-write is a research cloning policy that buffers changes to a clone and unshares data only after enough changes accumulate to justify copying. Note: The policy comes from BetrFS 0.5, a write-optimized file system whose B-epsilon-tree was turned into a directed acyclic graph so that clones can share nodes. A clone is persisted by writing a message into the root, and later small changes stay as buffered messages instead of forcing an immediate copy. [fast2020] A shared node is copied only when it must become simple, with a reference count of 1, before messages are flushed into it. That happens when enough messages accumulate in its parent, the abundant-write case, or when background healing must split or merge the node, so structural maintenance can also require unsharing. Nodes are typically 2 to 4 MiB, which makes early copying costly. [fast2020] It is not a generic Linux reflink option. The reflink interface only requires that writes to a shared region stay private to the written file, without fixing when or at what granularity data is copied, and disk filesystems generally require block-aligned ranges. [ficlone] Advantages: - In the paper's container-creation test, cloning was up to two orders of magnitude faster than a simple recursive copy. (sources: [fast2020]) Limitations: - Renames and clones change tree topology, so the design needs extra structures, GOTO messages and translation prefixes, to correct stale keys in shared data. (sources: [fast2020]) Sources and caveats: - fast2020 is the FAST 2020 paper How to Copy Files by Zhan et al. (University of North Carolina at Chapel Hill, Rutgers, Stony Brook and others), read in sections 1 to 4. - ficlone is the Linux man-pages entry ioctl_ficlonerange(2), read in its description and errors. - The reference-count condition, healing-triggered unsharing, 2 to 4 MiB nodes and the two-orders-of-magnitude result come from fast2020. The private-write rule and block alignment come from ficlone. Related terms: - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [reflink](https://hesela.dev/terms/reflink/) - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [fideduperange](https://hesela.dev/terms/fideduperange/) - [copy-on-close](https://hesela.dev/terms/copy-on-close/) Citations: - [fast2020] Zhan et al., How to Copy Files, FAST 2020, sections 1-4. https://files.usenix.org/s3fs-public/cdn/fast20-zhan.pdf (accessed 2026-10-22) - [hesela-clones] Hesela: Fast file clones and deferred copying costs. https://hesela.com/analyses/file-clones-deferred-copy-cost/ (accessed 2026-10-15) - [ficlone] Linux man-pages: ioctl_ficlonerange(2), share data of one file with another. https://man7.org/linux/man-pages/man2/ioctl_ficlone.2.html (accessed 2026-10-22) ### Copy-on-close URL: https://hesela.dev/terms/copy-on-close/ Related analysis: https://hesela.com/analyses/file-clones-deferred-copy-cost/ Status: unknown Record updated: 2026-11-05 Copy-on-close defers filling an edited shared file's unchanged regions from shared storage until all users have closed it. Note: Windows 2000 Single Instance Storage (SIS) keeps edits private while unchanged regions use its common store. After users close a modified file, a worker copies the remaining clean regions. Closing therefore does not certify completed materialization. If allocation runs out, the unfinished file retains its reparse point and common-store dependency. [sis2000] FAST 2020 contrasts this whole-file unsharing policy with copy-on-abundant-write, which batches changes before copying shared nodes. The two policies have different triggers. [fast2020] Advantages: - A complete overwrite avoids copying the old contents during materialization. (sources: [sis2000]) Limitations: - A small edit can leave most of the file to be copied; background work must be included when assessing lifecycle cost. (sources: [sis2000], [fast2020]) - This is a historical SIS mechanism, not a claim about current Windows support or generic close-call durability. (sources: [sis2000]) Sources and caveats: - Historical source review of the SIS paper, especially sections 2.3.3-2.3.5, cross-checked against FAST 2020 section 6. No SIS workload or storage-failure experiment was run; current platform support was not assessed. Related terms: - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [copy-on-abundant-write](https://hesela.dev/terms/copy-on-abundant-write/) - [reflink](https://hesela.dev/terms/reflink/) - [sis-link](https://hesela.dev/terms/sis-link/) Citations: - [sis2000] Bolosky, Corbin, Goebel and Douceur (2000). Single Instance Storage in Windows 2000, USENIX Windows Systems Symposium, pp. 13-24, sections 2.3.3-2.3.5. https://www.usenix.org/legacy/publications/library/proceedings/usenix-win2000/full_papers/bolosky/bolosky_html/index.html (accessed 2026-11-05) - [fast2020] Zhan et al. (2020). How to Copy Files, FAST 2020, section 6: file or directory clones. https://files.usenix.org/s3fs-public/cdn/fast20-zhan.pdf (accessed 2026-11-05) - [hesela-clones] Hesela: Fast file clones: where the copying cost goes. https://hesela.com/analyses/file-clones-deferred-copy-cost/#copy-on-close (accessed 2026-11-05) ### Copy-on-read URL: https://hesela.dev/terms/copy-on-read/ Related analysis: https://hesela.com/analyses/qcow2-backing-chain-verification/ Status: shipping Record updated: 2026-11-05 Copy-on-read is a virtual-disk mode that copies inherited data into an overlay's storage when that data is read. Note: QEMU and libvirt expose copy-on-read as an optional mode, disabled by default. It avoids repeated backing reads; a speedup is workload-dependent. [qemu-copy-options] [libvirt-copy-on-read] A workload containing only guest reads differs from a read-only block node: QEMU v8.2.2 rejects its copy-on-read opening flag on such a node. Read-triggered materialization changes storage without a guest write. [qemu-copy-open] [qemu-copy-io] In eight offline configurations run twice, a 512-byte read localized 65,536 bytes with standard 64-KiB clusters, or 4,096 with extended L2 and 128-KiB clusters. Ordinary reads left the data inherited. These are logical map lengths, not physical write or allocation counts. Zero input used zero mappings; complete exports and bases stayed unchanged. The backing filename and unread dependencies remained. [hesela-copy-native] Tang's 2011 FVD paper distinguishes read-triggered copying from prefetching untouched regions. Its PostMark comparison disabled both features: its reported advantage is not a copy-on-read speedup. [tang-fvd] The separate QEMU copy-on-read filter can limit copying to an inclusive bottom allocation-bearing node. Deeper data can remain inherited. Neither enabling the mode nor a successful partial read proves a self-contained, authentic recovery image. Preserve remaining backing dependencies. [qemu-copy-filter] [qemu-copy-io] FVD's section 3.2 permits copied data to remain absent from the durable bitmap: after a host crash, the unchanged base can supply the same contents again. This is a source-retention argument for that design, not a QCOW2 persistence guarantee or evidence that the base can be removed. [tang-fvd] Sources and caveats: - QEMU v8.2.2/libvirt and USENIX ATC 2011 source review. Eight synthetic offline configurations run twice on Ubuntu qemu-utils 1:8.2.2+ds-0ubuntu1.18; no VM, crash, performance or application-recovery experiment. - Executable hashes, command receipts, maps, full-content hashes and reproduction code are published with the existing QCOW2 analysis. Related terms: - [qcow2](https://hesela.dev/terms/qcow2/) - [qcow2-backing-chain](https://hesela.dev/terms/qcow2-backing-chain/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) Citations: - [qemu-copy-options] QEMU v8.2.2: copy-on-read drive option and default. https://github.com/qemu/qemu/blob/v8.2.2/qemu-options.hx (accessed 2026-11-05) - [libvirt-copy-on-read] libvirt domain XML: disk driver copy_on_read attribute. https://libvirt.org/formatdomain.html#hard-drives-floppy-disks-cdroms (accessed 2026-11-05) - [qemu-copy-open] QEMU v8.2.2 block.c: copy-on-read opening checks. https://github.com/qemu/qemu/blob/v8.2.2/block.c (accessed 2026-11-05) - [qemu-copy-io] QEMU v8.2.2 block/io.c: bdrv_co_do_copy_on_readv. https://github.com/qemu/qemu/blob/v8.2.2/block/io.c (accessed 2026-11-05) - [hesela-qcow2-copy] Hesela: QCOW2 backups and read-triggered materialization. https://hesela.com/analyses/qcow2-backing-chain-verification/#copy-on-read (accessed 2026-11-05) - [hesela-copy-native] Hesela: eight offline QEMU read-materialization configurations, command receipts and full-content hashes. https://hesela.dev/research/copy-on-read/observations.json (accessed 2026-11-05) - [tang-fvd] Chunqiang Tang (2011), FVD, USENIX ATC 11, sections 3 and 4. https://www.usenix.org/legacy/event/atc11/tech/final_files/Tang.pdf (accessed 2026-11-05) - [qemu-copy-filter] QEMU v8.2.2 QAPI: BlockdevOptionsCor and optional bottom boundary. https://github.com/qemu/qemu/blob/v8.2.2/qapi/block-core.json (accessed 2026-11-05) ### Copy-on-write (storage) URL: https://hesela.dev/terms/copy-on-write/ Status: shipping Record updated: 2026-11-21 A technique that writes modified blocks to new locations instead of overwriting in place. Note: For shared file data, writes must preserve the other file's contents and may require new allocation. Linux provides an unshare-range operation to prepare shared extents before later writes. Logical isolation does not create a separate failure domain. In Btrfs, nodatacow for newly created files also implies nodatasum; changing write placement can therefore change integrity coverage. In ZFS, copy-on-write transaction-group commit and intent logging solve different persistence steps; copy-on-write alone does not mean each system-call return is durable. [zfs-txg] Btrfs also has a tree-log path and a full transaction-commit path for fsync; copy-on-write does not mean recovery needs no log. [btrfs-log] Related terms: - [snapshot](https://hesela.dev/terms/snapshot/) - [ssd](https://hesela.dev/terms/ssd/) - [file-storage](https://hesela.dev/terms/file-storage/) - [reflink](https://hesela.dev/terms/reflink/) - [btrfs-nodatasum](https://hesela.dev/terms/btrfs-nodatasum/) - [zfs-transaction-group](https://hesela.dev/terms/zfs-transaction-group/) - [copy-on-abundant-write](https://hesela.dev/terms/copy-on-abundant-write/) - [btrfs-tree-log](https://hesela.dev/terms/btrfs-tree-log/) - [lvm](https://hesela.dev/terms/lvm/) - [btrfs-read-only-subvolume](https://hesela.dev/terms/btrfs-read-only-subvolume/) - [thin-pool-metadata](https://hesela.dev/terms/thin-pool-metadata/) - [copy-on-close](https://hesela.dev/terms/copy-on-close/) - [falloc-fl-unshare-range](https://hesela.dev/terms/falloc-fl-unshare-range/) Citations: - [c1] Copy-on-write (storage). https://en.wikipedia.org/wiki/Copy-on-write (accessed 2026-03-26) - [ficlone] Linux man-pages: FICLONE and FICLONERANGE sharing semantics. https://man7.org/linux/man-pages/man2/ioctl_ficlone.2.html (accessed 2026-10-13) - [fallocate] Linux man-pages: fallocate(2), unshare-range contract. https://man7.org/linux/man-pages/man2/fallocate.2.html (accessed 2026-10-13) - [hesela-allocation] Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ (accessed 2026-10-13) - [btrfs-mount] Btrfs documentation: btrfs(5), datacow/nodatacow and datasum/nodatasum. https://btrfs.readthedocs.io/en/latest/btrfs-man5.html (accessed 2026-10-13) - [zfs-txg] OpenZFS 2.3.4: txg.c, transaction-group lifecycle and synchronization. https://github.com/openzfs/zfs/blob/zfs-2.3.4/module/zfs/txg.c (accessed 2026-10-14) - [btrfs-log] Linux v6.16: Btrfs tree-log.c, design comment and replay implementation. https://github.com/torvalds/linux/blob/v6.16/fs/btrfs/tree-log.c (accessed 2026-10-15) ### Copy-up (OverlayFS) URL: https://hesela.dev/terms/copy-up/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: copy up, OverlayFS copy-up Status: shipping Record updated: 2026-11-04 Copy-up creates an upper-layer counterpart for a lower-layer object when an OverlayFS operation requires it. Note: Writable opens, metadata changes and hard-link creation can trigger copy-up. Metadata-only copy-up can defer regular-file data, so an upper entry is not proof that its payload has moved. [linux-overlayfs-612] Linux v6.12 tries cloning before copying file data. A new upper file therefore need not have independently allocated data blocks. A truncating open can set the transferred length to zero; copy-up is not an archival preservation operation. [linux-overlayfs-copy-up-612] Advantages: - Allows changes through the upper layer without rewriting the lower object. Limitations: - The operation and configured features determine which metadata and data move. - An upper-layer counterpart is not by itself a complete backup. Sources and caveats: - Source review of Linux 6.12 documentation and implementation; no mounted-overlay, restore or crash experiment. Related terms: - [overlayfs](https://hesela.dev/terms/overlayfs/) - [metacopy](https://hesela.dev/terms/metacopy/) Citations: - [linux-overlayfs-612] Linux 6.12: Overlay Filesystem, non-directories and metadata-only copy-up. https://docs.kernel.org/6.12/filesystems/overlayfs.html#metadata-only-copy-up (accessed 2026-11-04) - [linux-overlayfs-copy-up-612] Linux v6.12: OverlayFS copy-up eligibility, data transfer and truncation. https://github.com/torvalds/linux/blob/v6.12/fs/overlayfs/copy_up.c (accessed 2026-11-04) ### CORFU URL: https://hesela.dev/terms/corfu/ Also known as: Clusters of Raw Flash Units Status: research Record updated: 2026-11-16 CORFU is a distributed shared-log design that separates allocation of log positions from replicated writes to a flash cluster. Note: Clients map log positions to replica sets using a projection. A sequencer allocates positions without carrying the payload; obtaining a token does not complete an append. [nsdi12] Client-driven chain replication writes replicas in order. A reader that does not know whether an append completed must consult the chain tail. A stalled writer can leave a hole: fill completes an existing prefix value or writes a junk marker if the first replica is unwritten. [nsdi12] Hole filling is not a perfect failure detector; a slow token holder can still compete with a filler. Write-once semantics at the first replica prevent both values from winning. An unwritten tail does not prove that the earlier replicas contain no data; filling may complete their existing value. [nsdi12] Reconfiguration seals the old projection before installing its successor, rejecting stale operations on affected units. Sequencer allocation alone is not the safety mechanism. [nsdi12] The sequencer reduces contention but is not required for safety or progress in the paper's design. Reconfiguration still needs a durable, write-once sequence of projections, the auxiliary, for which the paper lists a disk volume, a Paxos state machine or a static-projection CORFU instance. Removing the sequencer from the payload path does not remove that coordination dependency. [nsdi12] Benchmark scope: section 5.2 uses 32 server-attached SSDs, but emulates writes to avoid wear. Reads access prewritten SSD data. The roughly 180,000 appends/s ceiling for 4 KB entries in Figure 7 is not measured durable-flash write throughput. [nsdi12] Sources and caveats: - Historical design synthesis from the full NSDI 2012 paper; no hardware reproduction or current-product performance claim. Related terms: - [tango](https://hesela.dev/terms/tango/) - [chain-replication](https://hesela.dev/terms/chain-replication/) - [hyder](https://hesela.dev/terms/hyder/) - [scalog](https://hesela.dev/terms/scalog/) - [vcorfu](https://hesela.dev/terms/vcorfu/) - [delos](https://hesela.dev/terms/delos/) Citations: - [nsdi12] Balakrishnan et al. CORFU: A Shared Log Design for Flash Clusters. NSDI 2012, pp. 1-14; sections 3.2-3.4 and 5.2. https://www.microsoft.com/en-us/research/wp-content/uploads/2012/04/corfumain-final.pdf (accessed 2026-11-16) ### CKD DASD URL: https://hesela.dev/terms/count-key-data/ Also known as: count-key-data, CKD Status: limited Record updated: 2026-10-22 Count-key-data (CKD) is the mainframe disk track format in which each record has a count area, an optional key area and a data area instead of a fixed-size sector. Note: Each CKD track starts at an index point and a home address that identifies the track and its status, followed by record zero (R0), a track descriptor record without a key. Every later record has a count area, an optional key area and a data area, separated by gaps and protected by checking information. The count area holds the record identifier CCHHR (cylinder, head, record) and the key and data lengths. If the home address flags a track as defective, record zero holds the address of the alternate track, whose record zero points back. [c2] A 1974 manual describes an eleven-byte count area of flag, cylinder, head, record number (1 to 255), key length (1 byte), data length (2 bytes) and cyclic check. Keys run from 1 to 255 bytes, count-data records have key length 0, data can reach 65,535 bytes in theory, and record zero has key length 0 and data length 8. [c3] Emulator disk images use an 8-byte count field (CC, HH, R, KL, DL) followed by key and data, with eight FFh bytes marking end of track. [c4] For the removable-pack disks in that manual, a track holds at most 13,030 data bytes and a 19-track cylinder 247,570 bytes, which needs one unkeyed record per track, because each extra record adds markers, a count area and gaps. Gap lengths differ per device, so each device has its own capacity formula. Unkeyed 200-byte records fit 28 per track, about 43% of the maximum, and 200-byte records with 8-byte keys fit 13, about 20%. [c3] Advantages: - The key area lets a record be located by its key rather than only by its position on the track. (sources: [c3]) Limitations: - Records are addressed by physical cylinder, head and record number, which ties data set layout to device geometry. (sources: [c2], [c3]) Sources and caveats: - c2 is IBM z/OS 3.1 documentation; c3 is IBM manual GC20-1649-8 (February 1974), read as a scan on bitsavers.org. - c4 is Hercules emulator documentation (2003), not a standard; no independent standard for the format was found. - Capacity figures in c3 are for an early-1970s device generation, not current devices. - Emulation of CKD geometry on current storage subsystems is not described by the cited documents. - Arithmetic: 28 x 200 = 5,600 bytes (43% of 13,030); 13 x 200 = 2,600 bytes (20%). Related terms: - [mainframe-dasd](https://hesela.dev/terms/mainframe-dasd/) - [ficon](https://hesela.dev/terms/ficon/) Citations: - [c1] CKD DASD. https://en.wikipedia.org/wiki/Count_key_data (accessed 2026-03-26) - [c2] Volume layout and record formats on CKD devices, z/OS 3.1 documentation. https://www.ibm.com/docs/en/zos/3.1.0?topic=reference-volume-layout-record-formats-ckd-devices (accessed 2026-10-16) - [c3] Introduction to IBM Direct-Access Storage Devices and Organization Methods, GC20-1649-8. https://bitsavers.org/pdf/ibm/dasd/GC20-1649-8_Introduction_to_IBM_Direct-Access_Storage_Devices_and_Organization_Methods_197402.pdf (accessed 2026-10-16) - [c4] cckd(4): Hercules Compressed CKD DASD image file. https://linux.die.net/man/4/cckd (accessed 2026-10-16) ### Count-Min sketch URL: https://hesela.dev/terms/count-min-sketch/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: CM sketch, CountMinSketch Status: research Record updated: 2026-11-20 A Count-Min sketch summarizes a stream using hashed counter rows and estimates an item's frequency from the minimum of its addressed counters. Note: Basic updates add the same weight to one counter per row. With nonnegative true key frequencies, exact arithmetic and no aging or saturation, collisions can only inflate an estimate. The minimum reduces inflation but does not guarantee correct ordering between items. Deletions are allowed if true frequencies remain nonnegative. Nonnegative bucket values alone do not prove this. [cm] Width and depth set an additive error bound relative to current total stream mass for a fixed query, with probability over the hash choice. This is not a fixed percentage error for every rare key or a simultaneous guarantee for every key and time. Capped, aged cache-policy counters cannot automatically inherit the cumulative-count guarantee. [cm] [caffeine] Basic sketches with the same dimensions and hash functions combine by counter-wise addition, not sums of minimum estimates. Key encoding and counted units must also agree. Merging overlapping observations counts them again: this is addition, not deduplication. Saturation, rounding and data-dependent updates require separate analysis. [cm] Conservative update: for positive weight c, raise each addressed counter to max(counter, minimum + c), using the pre-update minimum. Compatible insertion-only sketches can still be added: estimates remain between true counts and basic Count-Min estimates, but need not match one-stream replay. [cu] Windowing: subtracting cumulative conservative snapshots can undercount. With A=(0,0) and B=(0,1), after A then B, subtracting the A snapshot gives B an estimate of 0, not 1. Removing an immutable bucket from its exact table sum is a different, valid operation. [cu-evidence] Sources and caveats: - The linked author manuscript is dated 16 December 2003; the journal article appeared in Journal of Algorithms 55(1), 58-75 (2005), DOI 10.1016/j.jalgor.2003.12.001. - Basic linear counters allow valid deletions; conservative-update guarantees here require positive updates, compatible addresses and exact unsaturated arithmetic. No claim covers arbitrary cache-policy variants. - The linked evidence uses constructed two-row, two-column examples and exact integer enumeration, not a workload sample or a measured error probability. It also checks weighted updates against repeated unit increments. - Conservative-update row totals need not equal each other or the sum of input weights. Retain total stream mass separately when interpreting the additive error bound. [cu] [cu-evidence] Related terms: - [count-sketch](https://hesela.dev/terms/count-sketch/) - [turnstile-stream](https://hesela.dev/terms/turnstile-stream/) - [tinylfu](https://hesela.dev/terms/tinylfu/) - [cache-admission](https://hesela.dev/terms/cache-admission/) Citations: - [cm] Cormode and Muthukrishnan. The Count-Min Sketch and its Applications. Author preprint, 16 Dec 2003, sections 2-4.1 and 6. https://www.cs.ox.ac.uk/people/graham.cormode/pubs/papers/cm-full.pdf (accessed 2026-11-07) - [caffeine] Caffeine project. Efficiency: Window TinyLFU and its 4-bit Count-Min frequency sketch. https://github.com/ben-manes/caffeine/wiki/Efficiency (accessed 2026-10-29) - [cu] Goyal, Daume III and Cormode. Sketch Algorithms for Estimating Point Queries in NLP. EMNLP-CoNLL 2012, sections 2 and 2.2. https://aclanthology.org/D12-1100/ (accessed 2026-11-20) - [cu-evidence] Hesela. Conservative Count-Min: merge, snapshot subtraction and weighted-update evidence. Exact model and tests. https://hesela.dev/research/count-min-conservative/reproduction.zip (accessed 2026-11-20) ### CountSketch URL: https://hesela.dev/terms/count-sketch/ Related analysis: https://hesela.com/analyses/time-series-rollups-versioned-changes/ Also known as: Count Sketch, Count-Sketch Status: research Record updated: 2026-11-20 CountSketch is a randomized linear summary that estimates individual frequencies using hashed buckets, random signs and the median of signed row estimates. Note: Each row adds sign(key) times the update to one bucket; a query multiplies that bucket by the same sign before taking the row median. Error can be positive or negative. The counter array alone answers supplied-key queries; discovering frequent identities needs an additional mechanism. [ccf] For a fixed query and frequency vector, standard bounds scale with its Euclidean norm, not the queried count alone. At a common failure probability, the usual bounds need width proportional to 1/epsilon^2 for CountSketch versus 1/epsilon for ordinary Count-Min. A smaller norm alone therefore does not establish a winner at equal memory. They require suitable random bucket/sign families and independent row repetitions; they are not deterministic guarantees for every key and time. [synopses] Compatible arrays add or subtract when dimensions, key encoding and bucket/sign maps agree and arithmetic does not overflow or saturate. Combine arrays, not their median estimates. Subtracting a known contribution is different from discovering what to remove. [ccf] In a constructed collision, true counts x=5 and y=3 yield an x estimate of 2 with opposite signs or 8 with matching signs in every row. These fixed maps illustrate two-sided error, not its probability. An identical final count vector can also represent different event-time histories. [example] Sources and caveats: - The original paper's sections 3-4 describe CountSketch, candidate tracking and subtraction between streams. Its top-item algorithm is more than a counter array. [ccf] - The linked survey manuscript contains placeholder cover metadata; no publication date or DOI is inferred from that cover. [synopses] - The exact examples use BigInt and deliberately chosen finite maps. They implement neither production hashing nor an empirical error study. [example] Related terms: - [turnstile-stream](https://hesela.dev/terms/turnstile-stream/) - [count-min-sketch](https://hesela.dev/terms/count-min-sketch/) Citations: - [ccf] Charikar, Chen and Farach-Colton. Finding Frequent Items in Data Streams. Sections 3-4, including additive sketches and frequency changes. https://www.cs.princeton.edu/courses/archive/spring04/cos598B/bib/CharikarCF.pdf (accessed 2026-11-20) - [synopses] Cormode, Garofalakis, Haas and Jermaine. Synopses for Massive Data. Author manuscript, sections 5.2, 5.3.2 and 5.3.2.1. https://www.cs.ox.ac.uk/people/graham.cormode/pubs/papers/FnT.pdf (accessed 2026-11-20) - [example] Hesela. Exact signed-frequency and expiration examples, with executable tests. Constructed finite maps, not random-hash validation. https://hesela.dev/research/countsketch/model.test.mjs (accessed 2026-11-20) ### Counter Stacks URL: https://hesela.dev/terms/counter-stacks/ Also known as: counter stack, counter stack stream Status: research Record updated: 2026-11-18 Counter Stacks estimates LRU miss-ratio curves using compact histories of distinct-block counts over overlapping time intervals. Note: Mechanism: counters start at different times; finite differences reveal reuse in the ideal exact matrix. The practical method combines downsampling, pruning and HyperLogLog. Its retained stream supports time slicing, shifting and workload combination. [paper] Joining has a boundary: the paper's addition-based operation assumes disjoint block sets. Counter estimation error is separate from this identity assumption. [paper] Constructed example: two streams each read their single block twice, interleaved. Each stream reports one distinct block whether their blocks are shared or different. In a one-entry LRU cache, the shared-block merge misses 1/4 requests; the disjoint merge misses 4/4. Adding counts gives two in both cases, which is wrong for the shared union. Counts alone cannot recover the missing overlap information. [example] Window example: score only the last AB of ABAB in a two-entry cache. Keeping the preceding AB as warm-up gives 0/2 misses; replaying the last AB from empty gives 2/2. Neither denominator includes warm-up requests. State the initialization separately from the scoring window. [example] Limits: a compact locality summary is not a lossless trace or a prediction of storage latency. The linked evaluator is a bounded exact teaching model, not practical Counter Stacks, a device benchmark or a replication of the paper's accuracy results. [code] Sources and caveats: - Source review covers the original method, joining assumption and evaluation limits. The USENIX proceedings identify the October 2014 conference; no invention date is asserted. - Synthetic evidence uses exact integer counts. No author code, MSR traces, probabilistic counters or measured speedup are reproduced. Related terms: - [working-set](https://hesela.dev/terms/working-set/) - [reuse-distance](https://hesela.dev/terms/reuse-distance/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) Citations: - [paper] Wires, Ingram, Drudi, Harvey and Warfield. Characterizing Storage Workloads with Counter Stacks. OSDI 2014, pp. 335-349, sections 3-6. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-wires.pdf (accessed 2026-11-18) - [venue] USENIX. OSDI 2014 publisher record, authors and proceedings metadata. https://www.usenix.org/conference/osdi14/technical-sessions/presentation/wires (accessed 2026-11-18) - [example] Hesela. Exact synthetic identity and initial-state counterexamples with explicit denominators. https://hesela.dev/research/counter-stacks/evidence.json (accessed 2026-11-18) - [code] Hesela. Bounded exact distinct-count matrix and LRU scoring evaluator. https://hesela.dev/research/counter-stacks/model.mjs (accessed 2026-11-18) - [tests] Hesela. Independent LRU oracle and exhaustive short-trace checks. https://hesela.dev/research/counter-stacks/model.test.mjs (accessed 2026-11-18) ### Counting Bloom filter URL: https://hesela.dev/terms/counting-bloom-filter/ Status: shipping Record updated: 2026-10-23 A counting Bloom filter tracks approximate set membership with counters that support insertions and deletions through matched increments and decrements. Note: Correct deletion requires an outstanding insertion, not merely a positive lookup. Exact counters preserve colliding live keys, but clipping overflow loses multiplicity and can later yield false negatives. In the original cache-sharing design, only counter transitions between 0 and 1 change the bit array that peers receive. [summary-cache] Counter width and overflow policy are part of the contract. With 4 bits per counter, overflow requires some counter to reach 16, and with k at most (ln 2)m/n the probability is at most 1.37 × 10^-15 × m for m counters. A counter left at its maximum after overflow can cause a later false negative only if deletions bring it to 0 while a live key still maps to it. [bloom-survey] In one scaling example, a 2 MB filter for about 1 million pages needed another 8 MB for its local counters, so the counters can outweigh the bit array that is shared. [summary-cache] Advantages: - Deletion support lets a filter follow a changing set without periodic rebuilding from the full key list. (sources: [bloom-survey]) Limitations: - The overflow bound assumes near-random hashing and bounded set size, and it grows to 1.37 × 10^-15 × mt over a history of t sets. (sources: [bloom-survey]) Sources and caveats: - summary-cache read 2026-10-23 from an open university mirror, sections on counters, scalability and prototype, for the 4-bit analysis and the 2 MB and 8 MB example. - bloom-survey read 2026-10-23, section 2.5, for the overflow bound and the saturating-counter behaviour. - A companion analysis with fixed-address retention examples is listed but not used in prose. Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [stable-bloom-filter](https://hesela.dev/terms/stable-bloom-filter/) - [cuckoo-filter](https://hesela.dev/terms/cuckoo-filter/) - [blocked-bloom-filter](https://hesela.dev/terms/blocked-bloom-filter/) - [counting-quotient-filter](https://hesela.dev/terms/counting-quotient-filter/) Citations: - [summary-cache] Fan, Cao, Almeida and Broder. Summary Cache: A Scalable Wide-Area Web Cache Sharing Protocol. ToN 8(3), 2000. DOI: 10.1109/90.851975. https://www.cse.iitb.ac.in/~cs641/references/bak-03-summary-cache.pdf (accessed 2026-10-23) - [hesela] Hesela. Filter retention and counting: fixed-address counterexamples. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#retention (accessed 2026-10-17) - [bloom-survey] Broder and Mitzenmacher. Network Applications of Bloom Filters: A Survey. Internet Mathematics 1(4), 485-509, section 2.5. https://www.eecs.harvard.edu/~michaelm/postscripts/im2005b.pdf (accessed 2026-10-23) ### Counting quotient filter URL: https://hesela.dev/terms/counting-quotient-filter/ Also known as: CQF Status: research Record updated: 2026-11-10 A counting quotient filter is a quotient-filter variant that encodes fingerprint multiplicities with variable-sized counters and rank-and-select metadata. Note: The design packs counters into remainder slots rather than storing a separate copy for every duplicate. Its approximate counts can overestimate a key's true multiplicity when distinct keys share a fingerprint. [cqf-paper] With the tested default-hash mode, 5 copies of one key and 2 of a colliding key return 7 for either key, including after a resize. Deletion needs an exact outstanding-insertion history: a positive approximate count alone is insufficient. This is a deliberately selected native contract test, not a measured error rate. [hesela-cqf] The pinned API also offers invertible hashing for an appropriately bounded key domain; that is a different contract from compressing arbitrary keys. [cqf-code] The pinned qf_delete_key_value reads the approximate count and removes that whole fingerprint/value count. In default-hash mode this does not isolate one original key from another colliding key. Use a decrement bounded by the intended key's known outstanding insertions; this qualification is source-derived, not another native test. [cqf-code] Sources and caveats: - Paper mechanism and native author-library execution are distinguished; no throughput, persistence, concurrency or FPR benchmark. Related terms: - [quotient-filter](https://hesela.dev/terms/quotient-filter/) - [counting-bloom-filter](https://hesela.dev/terms/counting-bloom-filter/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) Citations: - [cqf-paper] Pandey, Bender, Johnson and Patro. A General-Purpose Counting Filter: Making Every Bit Count. SIGMOD 2017, 775-787, sections 3-4. DOI: 10.1145/3035918.3035963. https://users.cs.utah.edu/~pandey/courses/cs6968/spring23/papers/cqf.pdf (accessed 2026-11-02) - [cqf-code] CQF author implementation, commit 68939f587b0f33f8c45be4f0e2a18e12bffa9fa6: hash modes and update/query API. https://github.com/saltsystemslab/cqf/tree/68939f587b0f33f8c45be4f0e2a18e12bffa9fa6 (accessed 2026-11-03) - [hesela-cqf] Hesela. Quotient filters: exact fingerprints, approximate keys. Native source checks and replay files. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#quotient-counts (accessed 2026-11-02) ### Covariate shift URL: https://hesela.dev/terms/covariate-shift/ Related analysis: https://hesela.com/analyses/cloud-disk-error-prediction/ Also known as: input distribution shift Status: unknown Record updated: 2026-11-23 Covariate shift is a change in the distribution of input features while the conditional distribution of the outcome given those features stays unchanged. Note: For source P and target Q, covariate shift assumes P(Y | X) = Q(Y | X), while P(X) and Q(X) differ. Class prevalence can change too. This differs from label shift, which holds P(X | Y) fixed. [sugiyama-jmlr07] [lipton-icml18] For a fixed predictor and integrable loss, target expected loss equals the source expectation of w(X) times loss, with w(x) = Q(x)/P(x), provided target feature support is covered by source support. A source-only average without these weights generally evaluates a different population. [sugiyama-jmlr07] In a constructed two-stratum population, event probabilities stay 1/10 in A and 4/5 in B; the same rule alerts only on B. Changing the A:B mixture from 1:1 to 9:1 changes recall from 8/9 to 8/17 and false-positive rate from 2/11 to 2/83. Weights 9/5 for A and 1/5 for B recover the target confusion probabilities exactly. These are synthetic population probabilities, not observed disk counts. [worked-example] A change in device mix alone does not establish unchanged conditional failure risk. Keep features, event definition, horizon and prediction rule explicit. [lipton-icml18] An exact iid sampling control draws two observations with replacement from that constructed source population. The expected weighted true-positive mean is 2/25 and the expected weighted positive mean is 17/100, whose ratio is the target recall 8/17. But expected sample weighted recall, conditional on a nonzero denominator, is 1208/1395. A zero-positive sample occurs with probability 121/400 and has undefined recall, not zero recall. The control enumerates all 16 ordered outcome sequences; it is not an observed sample or a general bias bound. [finite-sample] Limitations: - No source reweighting can recover outcomes in a feature region with positive target probability but zero source probability. (sources: [sugiyama-jmlr07]) - Large or estimated weights can make finite-sample estimates unstable; the population identity does not guarantee unbiased finite-sample recall ratios or validate the unchanged-conditional assumption. (sources: [sugiyama-jmlr07]) Sources and caveats: - 2026-11-23: read Sugiyama et al. sections 2.1-2.2 and 3 for the invariant outcome conditional, finite known density-ratio assumption, risk identity and finite-sample variance limits. - 2026-11-23: read Lipton et al. section 1 to distinguish covariate from label shift. Device-mix and horizon cautions are storage-specific applications of those assumptions, not findings about Azure. - The two-stratum example is exact rational arithmetic independently checked by a separate read-only agent. It is not sampled data, a paper replication, a fleet estimate or an empirical uncertainty interval. - 2026-11-23: added an original finite-sample ratio control, checking 16 ordered sequences against an independent closed-form calculation. Zero denominators are reported explicitly; no empirical uncertainty or hardware conclusion is claimed. Related terms: - [label-shift](https://hesela.dev/terms/label-shift/) Citations: - [sugiyama-jmlr07] Sugiyama, Krauledat and Mueller (2007). Covariate Shift Adaptation by Importance Weighted Cross Validation. JMLR 8:985-1005, sections 2.1-2.2 and 3, Lemma 1. https://jmlr.org/papers/volume8/sugiyama07a/sugiyama07a.pdf (accessed 2026-11-23) - [lipton-icml18] Lipton, Wang and Smola (2018). Detecting and Correcting for Label Shift with Black Box Predictors. ICML, section 1: contrasting conditional assumptions. https://proceedings.mlr.press/v80/lipton18a/lipton18a.pdf (accessed 2026-11-23) - [worked-example] Hesela: exact synthetic covariate-shift confusion probabilities and importance weights; CC0 replay and tests. https://hesela.dev/research/covariate-shift/results.json (accessed 2026-11-23) - [cloud-reading] Hesela: cloud disk-error prediction and why feature-mixture changes do not establish rate transfer. https://hesela.com/analyses/cloud-disk-error-prediction/#covariate-shift-heading (accessed 2026-11-23) - [finite-sample] Hesela: exact enumeration showing a ratio of unbiased weighted means need not be unbiased; two iid draws from the synthetic example. https://hesela.dev/research/covariate-shift/finite-sample.json (accessed 2026-11-23) ### Covering index URL: https://hesela.dev/terms/covering-index/ Also known as: index coverage Status: shipping Record updated: 2026-11-18 A covering index supplies the data values needed by a particular query from index entries, without base-table access to obtain those values. Note: Coverage depends on the query, not just the index name. Adding an output column or a filter on a value absent from the index can remove coverage. SQLite illustrates this by appending output columns to a multi-column index. [sqlite-covering] PostgreSQL can carry non-key payload with INCLUDE. In UNIQUE (x) INCLUDE (y), uniqueness applies to x alone; y is not a search key. Wide payload duplicates storage and can exceed the index tuple size limit. B-tree deduplication is unavailable when an index has a non-key column. [pg-include] Coverage does not promise zero heap fetches. PostgreSQL may visit the heap to check visibility when its all-visible map bit is clear. The planner must also support and choose the access path. Partial-index membership can establish a predicate without storing its column. [pg-covering] Covering describes available query values, not a checksum, a content-verification operation or a measured speedup. The linked analysis separates these questions. [hesela-coverage] Sources and caveats: - Primary-source synthesis; PostgreSQL INCLUDE and visibility behavior scoped to version 18 documentation, separate from the analysis's earlier PostgreSQL 16.15 experiments. No benchmark or new PostgreSQL execution. Related terms: - [b-tree](https://hesela.dev/terms/b-tree/) - [postgresql-index-only-scan](https://hesela.dev/terms/postgresql-index-only-scan/) - [secondary-index](https://hesela.dev/terms/secondary-index/) - [predicate-selectivity](https://hesela.dev/terms/predicate-selectivity/) Citations: - [sqlite-covering] SQLite Query Planning: covering indexes. https://www.sqlite.org/queryplanner.html#covidx (accessed 2026-11-18) - [pg-covering] PostgreSQL 18: Index-Only Scans and Covering Indexes. https://www.postgresql.org/docs/18/indexes-index-only-scans.html (accessed 2026-11-18) - [pg-include] PostgreSQL 18: CREATE INDEX, INCLUDE. https://www.postgresql.org/docs/18/sql-createindex.html (accessed 2026-11-18) - [hesela-coverage] Hesela: PostgreSQL TOAST and index read coverage. https://hesela.com/analyses/postgresql-toast-read-coverage/ (accessed 2026-11-18) ### CRAQ URL: https://hesela.dev/terms/craq/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: Chain Replication with Apportioned Queries Status: research Record updated: 2026-11-16 CRAQ is a chain-replication extension that distributes strongly consistent single-object reads across replicas using version-state checks. Note: A clean latest version can be read locally; a dirty one requires the tail's committed version number. Retained local bytes supply the response. Dirty is local knowledge: commitment can precede the returning acknowledgement. [craq-paper] The published prototype stores objects in memory; protocol commitment does not establish disk persistence. [craq-paper] In the optional eventual mode, the newest local version may be uncommitted, and switching replicas can reverse reads. Joining replicas withhold reads until synchronized. [craq-paper] A delayed version reply can race local reclamation. In the archived code, the extended read handler can substitute the newest pending payload on a missing-version path while keeping the queried version label. [craq-code] Sources and caveats: - Protocol, weaker modes, prototype and join behavior from sections 2.3, 2.4, 5.2 and 5.3. [craq-paper] - The archived-code observation is source review, not a running-cluster reproduction. The companion synthetic model isolates selection and omits transport and storage callbacks. [craq-code] Related terms: - [chain-replication](https://hesela.dev/terms/chain-replication/) - [linearizability](https://hesela.dev/terms/linearizability/) - [synchronous-replication](https://hesela.dev/terms/synchronous-replication/) - [eventual-consistency](https://hesela.dev/terms/eventual-consistency/) - [harmonia](https://hesela.dev/terms/harmonia/) - [hermes-replication](https://hesela.dev/terms/hermes-replication/) Citations: - [craq-paper] Jeff Terrace and Michael J. Freedman: Object Storage on CRAQ, USENIX ATC 2009. https://www.usenix.org/legacy/event/usenix09/tech/full_papers/terrace/terrace.pdf (accessed 2026-10-22) - [hesela-replication] Hesela: Replication acknowledgements: received, durable, applied. https://hesela.com/analyses/replication-acknowledgements-durability-lag/#craq (accessed 2026-10-22) - [craq-code] CRAQ archived implementation: chain_node.Tc, commit c394900b4da3 (2012). https://github.com/jterrace/craq/blob/c394900b4da384abc7af2a2723140c693778e767/chain_node.Tc (accessed 2026-10-23) ### Crash consistency URL: https://hesela.dev/terms/crash-consistency/ Also known as: crash consistency Status: shipping Record updated: 2026-12-01 Crash consistency is the property that persistent state remains within an application's allowed recovery states after an unexpected interruption. Note: It is distinct from preserving every acknowledged update: an older, internally consistent state may still violate durability. Pillai et al. distinguish persistence ordering and atomicity, while SQLite documents a concrete rollback-journal protocol. Filesystem metadata consistency alone does not establish that an application's multi-file transaction committed. Related terms: - [durable-linearizability](https://hesela.dev/terms/durable-linearizability/) - [journal-checkpoint](https://hesela.dev/terms/journal-checkpoint/) - [journal-revoke-record](https://hesela.dev/terms/journal-revoke-record/) - [ext4-fast-commit](https://hesela.dev/terms/ext4-fast-commit/) - [fsync](https://hesela.dev/terms/fsync/) - [writeback-error](https://hesela.dev/terms/writeback-error/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [bounded-crash-testing](https://hesela.dev/terms/bounded-crash-testing/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) - [torn-write](https://hesela.dev/terms/torn-write/) - [full-page-write](https://hesela.dev/terms/full-page-write/) - [snapshot](https://hesela.dev/terms/snapshot/) - [application-consistent-snapshot](https://hesela.dev/terms/application-consistent-snapshot/) - [rollback-journal](https://hesela.dev/terms/rollback-journal/) - [hot-journal](https://hesela.dev/terms/hot-journal/) - [sqlite-super-journal](https://hesela.dev/terms/sqlite-super-journal/) - [soft-updates](https://hesela.dev/terms/soft-updates/) - [pactree](https://hesela.dev/terms/pactree/) - [twizzler](https://hesela.dev/terms/twizzler/) - [squirrelfs](https://hesela.dev/terms/squirrelfs/) - [persistent-block-cache](https://hesela.dev/terms/persistent-block-cache/) - [ananke](https://hesela.dev/terms/ananke/) - [membrane](https://hesela.dev/terms/membrane/) - [ccfs](https://hesela.dev/terms/ccfs/) Citations: - [pillai-2014] Pillai et al. (OSDI 2014): All File Systems Are Not Created Equal. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-pillai.pdf (accessed 2026-10-10) - [sqlite-atomic] SQLite: Atomic Commit. https://www.sqlite.org/atomiccommit.html (accessed 2026-10-10) - [hesela-fsync] Hesela: Why retrying a failed fsync does not prove durability. https://hesela.com/analyses/fsync-failure-retry-durability/ (accessed 2026-10-10) - [hesela-rename] Hesela: Atomic rename is not a durable commit. https://hesela.com/analyses/atomic-rename-directory-durability/ (accessed 2026-10-11) - [hesela] Hesela. Crash-consistency tests: the oracle is part of the result. https://hesela.com/analyses/crash-testing-oracles-and-bounds/ (accessed 2026-10-12) ### Crash-consistent filesystem repair URL: https://hesela.dev/terms/crash-consistent-filesystem-repair/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: Crash-safe filesystem repair Status: research Record updated: 2026-12-04 Crash-consistent filesystem repair preserves a recoverable repair state when a failure interrupts the checker's own metadata updates. Note: The repair path has its own persistence obligations. FAST 2018's rfsck-lib records repair updates in a redo log, makes them durable, then applies them to the image. Ordered safe transactions allow completed groups to be replayed after interruption. [rfsck18] An undo file is a different promise. The e2fsprogs v1.47.3 e2fsck manual explicitly excludes recovery from power or system crashes using its -z undo file. The presence of saved old blocks therefore does not establish crash-safe repair. [e2fsck1473] Recovery also requires the correct target. e2undo normally refuses a log whose saved superblock does not match the target filesystem. Its -n mode performs a dry run; -f disables the identity safeguard. Neither option adds a durability guarantee. [e2undo1473] Advantages: - A repair protocol can retain completed work across interruptions instead of restarting every check. (sources: [rfsck18]) Limitations: - The rfsck prototype was evaluated under a clean power-fault model and limited test images, not all possible corruptions. (sources: [rfsck18]) - A repair log does not by itself prove that repaired contents are the application's intended data. (sources: [rfsck18]) Sources and caveats: - Source synthesis; no new device measurement or reproduction of the checker experiments. - FAST 2018 sections 3.2, 5.3 and 7; version-pinned upstream e2fsprogs manuals. Related terms: - [wafl-iron](https://hesela.dev/terms/wafl-iron/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [sqck](https://hesela.dev/terms/sqck/) - [ffsck](https://hesela.dev/terms/ffsck/) - [e2undo](https://hesela.dev/terms/e2undo/) Citations: - [rfsck18] Gatla et al. Towards Robust File System Checkers. FAST 2018, pp. 105-122; sections 3-7. https://www.usenix.org/system/files/conference/fast18/fast18-gatla.pdf (accessed 2026-11-12) - [e2fsck1473] e2fsprogs v1.47.3: e2fsck(8), mounted filesystems and -z undo_file. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.3/e2fsck/e2fsck.8.in (accessed 2026-11-12) - [e2undo1473] e2fsprogs v1.47.3: e2undo(8), matching the log to the filesystem and dry-run mode. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.3/misc/e2undo.8.in (accessed 2026-11-12) ### Crash-corruption ambiguity URL: https://hesela.dev/terms/crash-corruption-ambiguity/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: Crash-corruption entanglement Status: research Record updated: 2026-11-12 Crash-corruption ambiguity occurs when the same observed stored state is consistent with both an interrupted update and corruption after persistence. Note: A log-entry checksum mismatch can come from a crash during the update or from corruption after safe persistence. If the small, atomically written persist record is absent, a crash explains it and the partial entry can be discarded. If the record is present and the two writes were not ordered, a final entry cannot be attributed, although a later entry or record proves corruption. A replicated design marks such an entry corrupted for distributed recovery rather than discarding acknowledged data. [par] A study injecting single file-system faults into eight widely used distributed storage systems found that recovery code often conflates the two problems: a mismatch caused by corruption triggered crash recovery, which could roll back a committed, acknowledged transaction. It also cites a field study of 1.53 million disk drives over 41 months in which more than 400,000 blocks had checksum mismatches. [fault-study] Advantages: - Correct attribution lets a node discard a crash-torn tail locally and avoid an unnecessary distributed recovery. (sources: [par]) Limitations: - Ordering an entry before its persist record would remove the ambiguity but needs an additional expensive fsync in the critical path of every log update. (sources: [par]) Sources and caveats: - par read 2026-10-23, section 3.3.3, for the persist-record logic and the unresolvable final entry. - fault-study read 2026-10-23, sections 2 and 4.2, for the eight-system fault study and the cited checksum-mismatch field data. - Both papers describe protocol models and fault injection, not present-day field failure rates. - A companion analysis with a constructed one-byte example is listed but not used in prose. Related terms: - [journal-checksum](https://hesela.dev/terms/journal-checksum/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [checksum](https://hesela.dev/terms/checksum/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [torn-write](https://hesela.dev/terms/torn-write/) - [doublewrite-buffer](https://hesela.dev/terms/doublewrite-buffer/) - [protocol-aware-recovery](https://hesela.dev/terms/protocol-aware-recovery/) Citations: - [par] Alagappan et al., Protocol-Aware Recovery for Consensus-Based Storage, FAST 2018, section 3.3.3. https://www.usenix.org/system/files/conference/fast18/fast18-alagappan.pdf (accessed 2026-10-23) - [hesela] Hesela: Ext4 replay, checksum failure paths and ambiguous tails. https://hesela.com/analyses/ext4-journal-replay-revocation/ (accessed 2026-10-17) - [fault-study] Ganesan et al. Redundancy Does Not Imply Fault Tolerance: Analysis of Distributed Storage Reactions to Single Errors and Corruptions. FAST 2017. https://files.usenix.org/s3fs-public/cdn/fast17-ganesan.pdf (accessed 2026-11-12) ### Crash Hoare Logic URL: https://hesela.dev/terms/crash-hoare-logic/ Also known as: CHL Status: research Record updated: 2026-12-04 Crash Hoare Logic extends Hoare-style program specifications with crash conditions, recovery execution and logical address spaces for reasoning about persistent state. Note: In FSCQ, an interrupted operation must leave a state admitted by recovery's precondition. Recovery must preserve that admission condition if it too is interrupted. This permits repeated recovery attempts. [fscq-cacm] The authors distinguish this recovery use of idempotence from the mathematical property of repeating a completed function. A complete-run retry check alone does not cover interrupted recovery. [fscq-cacm] Completion and recovery can have different postconditions. The paper's two-block example requires both updates on ordinary completion, while recovery can admit either complete version. [fscq] CHL is a specification and proof framework, not a universal durability policy. The later DFSCQ system uses deferred writes and a different metadata-prefix contract. [dfscq] The original FSCQ disk model assumes atomic sector writes and excludes torn sectors. This is an assumption of that instantiation, not a limitation of CHL as a specification language. [fscq] Advantages: - Makes the obligations for recovery-time crashes explicit. (sources: [fscq]) Limitations: - A correctness theorem remains relative to its specification, modeled primitives and trusted implementation components. (sources: [fscq]) Sources and caveats: - Primary-source synthesis and a separate synthetic redo illustration; no FSCQ installation, Coq proof rerun or power-loss experiment by Hesela. Related terms: - [crash-refinement](https://hesela.dev/terms/crash-refinement/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [idempotency](https://hesela.dev/terms/idempotency/) - [fscq](https://hesela.dev/terms/fscq/) Citations: - [fscq] Chen et al. Using Crash Hoare Logic for Certifying the FSCQ File System. SOSP 2015; sections 3.2, 3.4, 4.3 and 6. DOI: 10.1145/2815400.2815402. https://pdos.csail.mit.edu/papers/fscq:sosp15.pdf (accessed 2026-12-04) - [fscq-cacm] Chajed et al. Certifying a File System Using Crash Hoare Logic: Correctness in the Presence of Crashes. CACM 60(4), 2017; section 3. DOI: 10.1145/3051092. https://pdos.csail.mit.edu/papers/cacm-fscq.pdf (accessed 2026-11-13) - [dfscq] Chen et al. Verifying a high-performance crash-safe file system using a tree specification. SOSP 2017; sections 1 and 4. DOI: 10.1145/3132747.3132776. https://pdos.csail.mit.edu/papers/dfscq.pdf (accessed 2026-11-13) - [hesela] Hesela: Recovery must remain restartable while it runs. https://hesela.com/analyses/crash-testing-oracles-and-bounds/#recovery-reentry (accessed 2026-11-13) ### Crash-recovery model URL: https://hesela.dev/terms/crash-recovery/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Crash recovery model, Crash-restart model Status: unknown Record updated: 2026-11-30 The crash-recovery model allows a process to stop and later resume under an explicit contract for which state survives the crash. Note: Unlike crash-stop, recovery permits the same process to return. In the 1998 model, identities are fixed, recovery is locally recognized, volatile state is lost, and explicitly saved stable state can survive. [act98] An unstable process crashes and recovers infinitely often; a finite restart trace cannot establish that whole-execution classification. Fair-loss links do not promise delivery of each message. [act98] Stable-state writes and message sends are separate actions. Recovery therefore needs an ordering contract, not merely persistent media. [act98] Raft's currentTerm, votedFor and log are persistent state; relevant changes precede RPC responses. Recovered participation still requires the protocol's rules. [raft-paper] The author's errata qualify lastApplied: its lifetime must match the state machine's. A durable state machine needs durable applied progress; treating the index as always volatile is unsafe. [raft-errata] A valid local file checksum need not establish freshness. Paxos Made Live explicitly excludes old-state rollback from that check. Its separately ordered database-checksum comparison addresses replica divergence. Neither check alone restores voting authority after lost protocol state. [paxos-made-live] Sources and caveats: - Primary-source model synthesis, not a protocol implementation, failure experiment or proof of the paper's consensus bounds. Related terms: - [stable-storage](https://hesela.dev/terms/stable-storage/) - [consensus](https://hesela.dev/terms/consensus/) - [raft](https://hesela.dev/terms/raft/) - [crash-stop](https://hesela.dev/terms/crash-stop/) - [paxos](https://hesela.dev/terms/paxos/) - [ananke](https://hesela.dev/terms/ananke/) - [membrane](https://hesela.dev/terms/membrane/) Citations: - [act98] Aguilera, Chen and Toueg. Failure Detection and Consensus in the Crash-Recovery Model. DISC 1998, pp. 231-245, sections 2.1-2.4. https://www.microsoft.com/en-us/research/wp-content/uploads/1998/09/disc98_recovery.pdf (accessed 2026-11-20) - [raft-paper] Ongaro and Ousterhout. In Search of an Understandable Consensus Algorithm, extended version (2014), Figure 2 and sections 5.5-5.6. https://raft.github.io/raft.pdf (accessed 2026-11-20) - [raft-errata] Diego Ongaro. Consensus: Bridging Theory and Practice, author errata for Figure 3.1 (Chapter 3), repository revision 0c10ea1b53d73bf6d163bdde8e4141a1cbd8f36a. https://github.com/ongardie/dissertation/blob/0c10ea1b53d73bf6d163bdde8e4141a1cbd8f36a/README.md#chapter-3-basic-raft-algorithm (accessed 2026-11-20) - [applied-progress] Hesela. Constructed application-progress recovery controls: consistent recovery, replay and skipped effects. https://hesela.dev/research/crash-recovery/README.md (accessed 2026-11-20) - [paxos-made-live] Chandra, Griesemer and Redstone. Paxos Made Live. PODC 2007, sections 5.1 and 6.2, footnotes 2-3; DOI 10.1145/1281100.1281103. https://15799.courses.cs.cmu.edu/fall2013/static/papers/p398-chandra.pdf (accessed 2026-11-21) ### Crash refinement URL: https://hesela.dev/terms/crash-refinement/ Related analysis: https://hesela.com/analyses/crash-testing-oracles-and-bounds/ Status: research Record updated: 2026-12-04 Crash refinement relates an implementation to a specification by requiring crash-free equivalence and permitting no additional observable outcomes after modeled crashes and recovery. Note: Yggdrasil defines the relation from equivalent consistent states and includes recovery idempotence. Equivalence is specified, not raw disk-byte identity. [yggdrasil] In Yxv6, validating the free-block or free-inode candidate protects allocation safety without proving that the search succeeds whenever space is available. A refinement result must be read alongside the operation's permitted failures and resource guarantees. [yggdrasil] A proof does not repair an inadequate specification or certify unverified integration code. The released artifact warns about both boundaries. [yggdrasil-artifact] Advantages: - Supports modular verification against explicit storage contracts. (sources: [yggdrasil]) Limitations: - Yggdrasil's evaluated prototype assumes atomic block writes and does not verify concurrent execution. (sources: [yggdrasil]) Sources and caveats: - Literature review; no theorem-prover rerun, filesystem execution or hardware validation by Hesela. Related terms: - [bounded-crash-testing](https://hesela.dev/terms/bounded-crash-testing/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [crash-hoare-logic](https://hesela.dev/terms/crash-hoare-logic/) - [perennial](https://hesela.dev/terms/perennial/) Citations: - [yggdrasil] Sigurbjarnarson et al. Push-Button Verification of File Systems via Crash Refinement. OSDI 2016, pp. 1-16; sections 2-3, 4.2, 4.5 and 6. https://unsat.cs.washington.edu/papers/sigurbjarnarson-yggdrasil.pdf (accessed 2026-10-24) - [yggdrasil-artifact] Yggdrasil authors. README: guarantees, version differences and limitations; revision e1de61d798acafb9ae2d8387d176c4b091773623. https://github.com/uw-unsat/yggdrasil/blob/e1de61d798acafb9ae2d8387d176c4b091773623/README (accessed 2026-10-24) - [hesela] Hesela. Crash-consistency tests: the oracle is part of the result. https://hesela.com/analyses/crash-testing-oracles-and-bounds/#crash-refinement (accessed 2026-10-24) ### Crash-stop failure model URL: https://hesela.dev/terms/crash-stop/ Also known as: crash-stop model Status: unknown Record updated: 2026-11-20 Crash-stop is a process-failure model in which a process follows its algorithm until it halts and then takes no further steps for the rest of the modeled execution. Note: In Chandra and Toueg's model, the crashed-process set can only grow, and a process does not recover. Correct processes never crash during that execution. Failure detection is modeled separately and may be mistaken; a crash assumption alone supplies neither an accurate detector nor a detection deadline. [ct96] Constructed example: observer A sends a probe at tick 5 and times out at tick 10. B may have crashed at tick 7, or its reply may simply arrive at tick 12. A has the same local history at the deadline in both cases. Even a reply at tick 12 can have been sent before B crashed. These are illustrative logical ticks, not measured latency or a failure probability. Executable traces include a timely-reply control. [hesela-traces] The historical fail-stop processor additionally specifies failure-status detection and accessible stable storage. Its recovery discussion allows restarting a computation on repaired hardware; that is not permission for a crashed process to resume inside this crash-stop execution. [ss83] [s84] Storage durability, corruption behavior and fencing of a suspected writer need explicit contracts beyond this process model. A restart requires a recovery model or an explicitly identified new process incarnation, with its state and membership rules defined. [ct96] Limitations: - The finite traces illustrate an observation ambiguity. They do not prove a general impossibility theorem, implement consensus or evaluate a real failure detector. (sources: [hesela-traces]) Sources and caveats: - Uses the no-recovery failure pattern of Chandra and Toueg (1996), section 2.1. - Hesela's deterministic traces are constructed examples with explicit message ordering; no measured population or empirical failure rate is asserted. Related terms: - [fail-stop](https://hesela.dev/terms/fail-stop/) - [perfect-failure-detector](https://hesela.dev/terms/perfect-failure-detector/) - [failure-detector](https://hesela.dev/terms/failure-detector/) - [crash-recovery](https://hesela.dev/terms/crash-recovery/) Citations: - [ct96] T. D. Chandra and S. Toueg. Unreliable Failure Detectors for Reliable Distributed Systems. JACM 43(2), 225-267, 1996; sections 1 and 2.1-2.4. https://www.cs.utexas.edu/~lorenzo/corsi/cs380d/papers/p225-chandra.pdf (accessed 2026-11-20) - [ss83] Schlichting and Schneider. Fail-Stop Processors: An Approach to Designing Fault-Tolerant Computing Systems. TOCS 1983, sections 2 and 3.1. https://www.cs.cornell.edu/fbs/publications/Fail_Stop.pdf (accessed 2026-11-20) - [s84] F. B. Schneider. Byzantine Generals in Action: Implementing Fail-Stop Processors. TOCS 2(2), 145-154, 1984; sections 1-2. https://pages.cs.wisc.edu/~dusseau/Classes/CS739-S06/Papers/ByzGensInAction.pdf (accessed 2026-11-20) - [hesela-traces] Hesela: constructed observer traces for crash, delay and an in-flight reply; executable example, not a hardware experiment. https://hesela.dev/research/fail-stop/README.md (accessed 2026-11-20) ### Crash-test oracle URL: https://hesela.dev/terms/crash-test-oracle/ Related analysis: https://hesela.com/analyses/crash-testing-oracles-and-bounds/ Also known as: recovery correctness checker Status: research Record updated: 2026-12-05 A crash-test oracle is a checker that decides whether a recovered state satisfies the specified correctness and durability contract. Note: The allowed outcome can depend on which durable acknowledgements were observed before the fault. Merely opening recovered files does not check that contract; ALICE requires application-specific checkers. Record successful restart, structural correctness and user-data correctness as separate outcomes; a restart-only check cannot establish all three. ALICE's 2014 evaluation checked documented invariants when clear and otherwise typical user expectations. Table 3(b) marks the latter separately; its 60 static vulnerabilities are not all violations of documented application guarantees. Name the contract and recovery steps used by each checker. [pillai] ALICE supplies each checker with a crash-state directory and the standard-output history up to that crash. Inference: use the matching acknowledgement history, not the completed workload log. Applications requiring the original absolute path need relocation; those that cannot run concurrently may require serial checking despite separate candidate directories. [alice-docs] The observation format is part of the contract. Witcher's pinned comparator ignores decode errors and normalizes newlines; a UTF-8 source-method probe accepts some byte-different files as equal text. This conditional boundary does not establish a missed bug in its evaluated workloads. [witcher-observation] Limitations: - Trace coverage limits what a checker can validate: the public ALICE recorder omits memory-mapped writes even though the paper's version traced them. (sources: [alice-artifact]) Related terms: - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [bounded-crash-testing](https://hesela.dev/terms/bounded-crash-testing/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [fault-model](https://hesela.dev/terms/fault-model/) - [fault-injection](https://hesela.dev/terms/fault-injection/) - [crash-refinement](https://hesela.dev/terms/crash-refinement/) - [semantic-filesystem-fuzzing](https://hesela.dev/terms/semantic-filesystem-fuzzing/) - [alice](https://hesela.dev/terms/alice/) - [dm-log-writes](https://hesela.dev/terms/dm-log-writes/) - [witcher](https://hesela.dev/terms/witcher/) Citations: - [pillai] Pillai et al. All File Systems Are Not Created Equal: On the Complexity of Crafting Crash-Consistent Applications. OSDI 2014; sections 3-4. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-pillai.pdf (accessed 2026-11-12) - [alice-docs] University of Wisconsin-Madison ADSL. ALICE user documentation: checker contract and caveats. https://research.cs.wisc.edu/adsl/Software/alice/doc/adsl-doc.html (accessed 2026-11-12) - [hesela] Hesela. Crash-consistency tests: the oracle is part of the result. https://hesela.com/analyses/crash-testing-oracles-and-bounds/ (accessed 2026-10-12) - [alice-artifact] ALICE documentation at commit 6afda210b96b: ignore_mmap and the released-tool limitations, chapters 2 and 4. https://github.com/madthanu/alice/blob/6afda210b96baa2b0b277505d72742420ba89b68/README.md (accessed 2026-11-30) - [witcher-observation] Hesela: pinned Witcher output-comparator probe, byte inputs and reproduction limits. https://hesela.dev/research/witcher/README.md (accessed 2026-12-05) ### CRC burst error URL: https://hesela.dev/terms/crc-burst-error/ Related analysis: https://hesela.com/analyses/crc-polynomials-error-patterns/ Also known as: Error burst Status: shipping Record updated: 2026-11-20 A CRC burst error is a bit-inversion pattern whose span extends from its first changed bit through its last in a specified processing order. Note: Span includes unchanged interior bits; Hamming weight counts only changed bits. An exact-span burst has its first and last bits changed. For a degree-r CRC generator with constant term one, every nonzero burst of span at most r is detected. Peterson and Brown prove this and count the longer undetectable patterns in Theorems 5-6; the result does not require a primitive polynomial. [peterson-brown] At one fixed placement, a span-b burst with b >= 2 has 2^(b-2) possible shapes because its endpoints are fixed. If the interior bits flip independently with probability 0.5, the miss probability is zero for b <= r, 2^-(r-1) for b = r+1, and 2^-r for b > r+1. These are probabilities over exact-span shapes, not over arbitrary flips in a b-bit window. [peterson-brown] For a fixed 33-bit payload window under either CRC-32 or CRC-32C, the generator itself is the only nonzero undetectable mask. Fair independent flips across all 33 positions therefore give an undetected-corruption probability of 1/2^33 per window draw. Given any corruption it is 1/(2^33-1); given both endpoints changed it is 1/2^31. The covered length, reference checksum and all other bits stay unchanged. Hesela derives these distinct denominators by explicit counting. [hesela-burst] Biased flips also change the comparison. With endpoints forced to change and independent interior flip probability p, the 33-bit miss probability is p^(w-2)*(1-p)^(33-w), where w is the generator's weight. The IEEE and Castagnoli weights are 15 and 18. At p=0.1 the IEEE value is 729 times the Castagnoli value; at p=0.9 the comparison reverses. These hypothetical distributions illustrate sensitivity, not observed device error rates or overall polynomial superiority. [hesela-burst] Advantages: - A short-burst detection guarantee can be checked from the generator degree and nonzero constant term without estimating a channel failure rate. (sources: [peterson-brown]) Limitations: - An exact-span probability fixes the endpoint changes; treating all positions in a window as random changes the population and denominator. (sources: [peterson-brown], [hesela-burst]) - CRC processing order need not match physical damage adjacency, and real faults need not follow independent interior flips. (sources: [hesela-crc], [rfc3385]) Sources and caveats: - Peterson and Brown's original page 231 defines endpoints and proves the burst counts; the reprint is in a 1972 Canadian Department of Communications volume, PDF page 108. - RFC 3385 section 3 discusses multiple probability models. We define endpoint conditioning explicitly rather than leaving the (b:p) summary to supply the denominator. - Hesela's versioned model uses exact rational arithmetic and independent exhaustive small-code tests. The 32-bit results are algebraic calculations, not exhaustive enumeration or device measurements. - Refinement on 2026-11-20: separate exact span, fixed window and fixed window given nonzero corruption; retain the existing term identity. Related terms: - [cyclic-redundancy-check](https://hesela.dev/terms/cyclic-redundancy-check/) - [crc32c](https://hesela.dev/terms/crc32c/) - [hamming-distance](https://hesela.dev/terms/hamming-distance/) Citations: - [rfc3385] Sheinwald et al. RFC 3385: iSCSI CRC/Checksum Considerations, sections 2-3 (2002). https://www.rfc-editor.org/rfc/rfc3385.html (accessed 2026-10-23) - [hesela-crc] Hesela: CRC polynomials, constructed error patterns and exact small-code enumeration. https://hesela.com/analyses/crc-polynomials-error-patterns/ (accessed 2026-10-18) - [koopman] Koopman. 32-Bit Cyclic Redundancy Codes for Internet Applications. DSN 2002, sections 1-2. https://users.ece.cmu.edu/~koopman/networks/dsn02/dsn02_koopman.pdf (accessed 2026-10-23) - [peterson-brown] Peterson and Brown. Cyclic Codes for Error Detection (1961), p. 231, Theorems 5-6; archived reprint, PDF p. 108. https://publications.gc.ca/collections/collection_2020/isde-ised/Co22/Co22-315-1972-1-eng.pdf#page=108 (accessed 2026-11-20) - [hesela-burst] Hesela: CRC burst populations, exact arithmetic and exhaustive small-code controls. https://hesela.dev/research/crc-burst-conditioning/README.md (accessed 2026-11-20) ### CRC concatenation URL: https://hesela.dev/terms/crc-concatenation/ Also known as: CRC combination, CRC combine Status: shipping Record updated: 2026-11-23 CRC concatenation derives a checksum of ordered joined byte sequences from their compatible CRC values and segment lengths without rereading the payload. Note: A polynomial shift accounts for the suffix length before the two CRCs are combined. Initialization and final-XOR conventions must agree. Plain XOR of independently computed part checksums is not the concatenation operation. [kadatch-jenkins] For zlib's IEEE CRC-32, crc32_combine takes CRC(A), CRC(B) and the byte length of B. It returns CRC(A followed by B). CRC-32C needs its own polynomial and compatible implementation; the two 32-bit checksums are not interchangeable. [zlib-api] [crc32c] The native example splits the ASCII bytes 123456789 in all 55 three-part layouts, including empty parts. Both valid groupings produce cbf43926. A grouped suffix needs its complete length: combining A with B+C uses len(B)+len(C). Reordering parts, using a wrong length, XORing checksums or checksumming digest bytes gives different results in the selected controls. [replay] The result covers the original byte stream, unlike a hash of its part digests. Chunk boundaries may change without changing that full-object value. Keeping old part checksums does not verify current stored bytes; even correct combination preserves existing CRC collisions. [zlib-api] [replay] Sources and caveats: - This is a source synthesis and deterministic native-library replay, not a new CRC algorithm or a reproduction of the paper's performance measurements. - The recorded library reports zlib 1.3; the cited 1.3.1 API documents the same nonnegative-length concatenation contract. The checker reports its actual loaded version. - The finite tests cover 65,536 two-byte inputs, 55 layouts of one nine-byte message, five selected invalid constructions and a constructed collision. They do not estimate physical corruption rates. Related terms: - [cyclic-redundancy-check](https://hesela.dev/terms/cyclic-redundancy-check/) - [crc32c](https://hesela.dev/terms/crc32c/) - [full-object-checksum](https://hesela.dev/terms/full-object-checksum/) - [composite-checksum](https://hesela.dev/terms/composite-checksum/) Citations: - [kadatch-jenkins] Kadatch and Jenkins: Everything we know about CRC but afraid to forget (2010), sections 3.1-3.3. https://github.com/madler/zlib/blob/v1.3.1/doc/crc-doc.1.0.pdf (accessed 2026-11-23) - [zlib-api] zlib 1.3.1 zlib.h: crc32, crc32_combine and crc32_combine_op contracts. https://github.com/madler/zlib/blob/v1.3.1/zlib.h (accessed 2026-11-23) - [crc32c] RFC 7143: iSCSI CRC-32C polynomial and digest conventions, section 13.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-13.1 (accessed 2026-11-23) - [replay] Hesela native CRC concatenation replay: inputs, grouping checks and limitations. https://hesela.dev/research/crc-concatenation/README.txt (accessed 2026-11-23) - [results] Hesela CRC concatenation: exact native replay results. https://hesela.dev/research/crc-concatenation/results.json (accessed 2026-11-23) - [code] Hesela CRC concatenation: standalone native-library probe. https://hesela.dev/research/crc-concatenation/probe.py (accessed 2026-11-23) - [tests] Hesela CRC concatenation: exhaustive two-byte and collision regression tests. https://hesela.dev/research/crc-concatenation/test_probe.py (accessed 2026-11-23) ### CRC-32C URL: https://hesela.dev/terms/crc32c/ Related analysis: https://hesela.com/analyses/crc-polynomials-error-patterns/ Also known as: Castagnoli CRC, CRC32C Status: shipping Record updated: 2026-10-19 CRC-32C is a 32-bit cyclic redundancy check using the Castagnoli generator polynomial. Note: The full polynomial representation is 0x11EDC6F41, including its leading degree-32 term. iSCSI specifies this generator and publishes digest test vectors; their serialized bytes must not be confused with a checksum API's integer display. [rfc7143] A constructed 18-bit change spanning 33 processing bits preserves the CRC-32C value in Hesela's experiment. A separate 36-bit change over a 65-bit span preserves both CRC-32C and IEEE CRC-32; these are deterministic counterexamples, not measured collision frequencies. [hesela-crc] Limitations: - CRC-32C and IEEE CRC-32 are different functions, not interchangeable names for a 32-bit checksum. (sources: [rfc7143], [hesela-crc]) Related terms: - [cyclic-redundancy-check](https://hesela.dev/terms/cyclic-redundancy-check/) - [checksum](https://hesela.dev/terms/checksum/) - [iscsi](https://hesela.dev/terms/iscsi/) - [crc-burst-error](https://hesela.dev/terms/crc-burst-error/) - [hamming-distance](https://hesela.dev/terms/hamming-distance/) Citations: - [rfc7143] Chadalapaka et al. RFC 7143: iSCSI consolidated specification, section 13.1 and Appendix A.4 (2014). https://www.rfc-editor.org/rfc/rfc7143.html (accessed 2026-10-18) - [hesela-crc] Hesela: CRC polynomials, constructed error patterns and exact small-code enumeration. https://hesela.com/analyses/crc-polynomials-error-patterns/ (accessed 2026-10-18) ### Credit starvation URL: https://hesela.dev/terms/credit-starvation/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: BB-credit starvation, Transmit-credit stall Status: unknown Record updated: 2026-10-19 Credit starvation is a transmission stall in which a Fibre Channel sender has a frame ready but no available buffer-to-buffer credit. Note: An idle zero-credit snapshot does not establish a stall. Keep event counts separate from time spent waiting and inspect both link directions. [credits] Starvation describes an observation, not its cause; it does not establish cyclic buffer deadlock. See the worked credit-window examples on the companion technology card. [hesela-window] Sources and caveats: - Source review and operational definition. This is a condition, not a technology lifecycle classification or field-incidence estimate. Related terms: - [buffer-to-buffer-credit](https://hesela.dev/terms/buffer-to-buffer-credit/) - [buffer-cycle-deadlock](https://hesela.dev/terms/buffer-cycle-deadlock/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [fc-frame](https://hesela.dev/terms/fc-frame/) Citations: - [credits] Cisco MDS 9000 Interfaces Configuration Guide, Release 9.x: Configuring Interface Buffers. https://www.cisco.com/c/en/us/td/docs/dcn/mds9000/sw/9x/configuration/interfaces/cisco-mds-9000-nx-os-interfaces-configuration-guide-9x/configuring_interface_buffers.html (accessed 2026-10-19) - [hesela-window] Hesela: Fibre Channel, sizing the credit window. https://hesela.com/tech/fibre-channel/#credit-window (accessed 2026-10-19) ### NAND cross-temperature effect URL: https://hesela.dev/terms/cross-temperature-effect/ Status: shipping Record updated: 2026-10-29 The NAND cross-temperature effect is the change in read behavior associated with programming and subsequently reading a cell at different temperatures. Note: Keep programming temperature, storage history and reading temperature separate. An et al. measured a 24-layer device during cooling and used TCAD to interpret channel effects; their near-zero net threshold shift at one condition did not mean zero charge loss [an2023]. This is not a universal SSD failure rate or a thermal-throttling threshold. Luo et al. disable on-chip compensation for their baseline and distinguish chip errors from simulated response times. Their P90 summarizes temperature-point means, not individual requests [luo2026]. Keep these boundaries when transferring a result to an SSD. MB-RRVC uses the page's programming temperature, current read temperature, block P/E count, program state and layer position; device-specific model parameters must be re-extracted (sections 2-3) [luo2026]. A current temperature reading alone does not supply the earlier programming temperature. This is an implementation input requirement, not proof that a host-visible health log records the required history. The approximately 960 B estimate covers the tested chip's model table and coefficients; program-temperature metadata is discussed separately (section 4.2) [luo2026]. Do not treat this as a measured total per-drive controller-memory cost. Channel current rises with temperature, so a cell read hotter than it was programmed appears to have a lower threshold voltage. In the worst tested pair, predicted reference offsets cut raw bit error rate from 24.28% to 0.44% [luo2026]. Advantages: - In the tested chip the mean threshold shift tracked the program-to-read temperature difference roughly linearly between -40 and 120 °C, so a compact per-device coefficient table can replace blind read retries. (sources: [luo2026]) Limitations: - The magnitude depends on device structure, stored state, wear and sensing policy. - Chip-level observations do not prescribe a safe operating temperature for a complete SSD. - The drift direction is not fixed: cells programmed at 120 °C and cooled to a 30 °C read over 4 hours showed a rising threshold voltage, while cells programmed at 30 °C showed a falling one. Sources and caveats: - An et al.: Micromachines 14(12), 2199, sections 2.1-2.2; DOI 10.3390/mi14122199. Original source URL and access date retained. - Luo et al.: IEICE Electronics Express 23(18), 20260379, sections 2-4.2; DOI 10.1587/elex.23.20260379. Publisher full-text HTML reviewed; no hardware experiment or SSDsim replay. - Luo et al. sections 2 to 4 were read 2026-10-23 in the DOI copy for the channel-current explanation, the -40 to 120 °C range, the linear tracking and the 24.28% to 0.44% error rates. - An et al. sections 2 and 3 were read 2026-10-23 in an open repository copy for the 30 and 120 °C programming conditions and the 4-hour cool-down. - The layer-to-layer-process-variation entry links here because layer position is one input of the compensation model. - A companion analysis is listed but not used in prose. Related terms: - [data-retention](https://hesela.dev/terms/data-retention/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) - [read-retry](https://hesela.dev/terms/read-retry/) - [3d-nand](https://hesela.dev/terms/3d-nand/) - [layer-to-layer-process-variation](https://hesela.dev/terms/layer-to-layer-process-variation/) Citations: - [an2023] An et al. Effects of Poly-Si Grain Boundary on Retention Characteristics under Cross-Temperature Conditions in 3-D NAND Flash Memory (2023). https://doi.org/10.3390/mi14122199 (accessed 2026-10-13) - [hesela] 3D NAND retention: layer count is not a reliability rating. https://hesela.com/analyses/3d-nand-retention-evidence/#cross-temperature (accessed 2026-10-13) - [luo2026] Luo et al. Model-based read-reference-voltage compensation for cross-temperature reliability in 3D TLC NAND flash memory (2026). https://globals.ieice.org/en_publications/elex/10.1587/elex.23.20260379/_f (accessed 2026-10-28) ### CrossFS (OSDI 2020) URL: https://hesela.dev/terms/crossfs/ Also known as: CrossFS, Cross-layered Direct-Access File System Status: research Record updated: 2026-12-01 CrossFS is a research filesystem that orders I/O through file-descriptor queues across user-space, kernel and firmware components. Note: Disjoint updates can use separate FD-queues. Overlapping updates require ordering through an inode interval tree; this is not lock-free access. The OS still sets up queues and credentials. [paper] A file fsync places barriers across that inode's queues, so an empty issuing queue cannot bypass earlier writes elsewhere. The design logs references to persistent queue payloads instead of copying those payloads into the firmware journal. [paper] FirmFS was emulated as a kernel driver using host CPU cores and persistent memory. These measurements are not results from firmware running on a commercial SSD. Memory mapping remained future work. [paper] In the pinned source, CRFS_OPENCLOSE_OPT returns a pooled buffer before the _NVMFDQ allocator branch. Enabling _NVMFDQ alone while leaving that option enabled still selects the pool. An isolated four-configuration probe reproduces the branch selection, not storage durability. [make] [code] [probe] [results] The setup guide permits tmpfs for a quick queue-allocation trial. Volatile backing does not acquire power-loss persistence from a compiler flag. The README also reports incomplete bare-metal crash/recovery testing. [readme] The 2020 direct-access design is distinct from the 2026 CrossFS paper about cross-domain CRDT metadata synchronization. [namesake] Sources and caveats: - The full OSDI 2020 paper and pinned 2022 source snapshot were reviewed. The snapshot is not established as the exact experimental revision. - The probe compiles one unchanged source function with stub allocators and locks. It tests control flow, not allocator correctness, persistence, recovery or benchmark performance. - Only the 2026 namesake's publisher metadata and abstract support disambiguation; its methods and results are not evaluated. Related terms: - [splitfs](https://hesela.dev/terms/splitfs/) - [strata](https://hesela.dev/terms/strata/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) Citations: - [paper] Ren, Min and Kannan. CrossFS: A Cross-layered Direct-Access File System. OSDI 2020, pp. 137-154, sections 4-6. https://www.usenix.org/conference/osdi20/presentation/ren (accessed 2026-12-01) - [readme] CrossFS authors. README at 4ea9c88a84f90d039b32962d0ac7822025188136: setup and limitations. https://github.com/RutgersCSSystems/CrossFS/blob/4ea9c88a84f90d039b32962d0ac7822025188136/README.md (accessed 2026-12-01) - [make] CrossFS authors. libfs/Makefile at 4ea9c88a84f90d039b32962d0ac7822025188136: compile-time options. https://github.com/RutgersCSSystems/CrossFS/blob/4ea9c88a84f90d039b32962d0ac7822025188136/libfs/Makefile (accessed 2026-12-01) - [code] CrossFS authors. libfs/crfslibio.c at 4ea9c88a84f90d039b32962d0ac7822025188136: vfio_get_fd_queue_buffer. https://github.com/RutgersCSSystems/CrossFS/blob/4ea9c88a84f90d039b32962d0ac7822025188136/libfs/crfslibio.c#L1157 (accessed 2026-12-01) - [probe] Hesela: isolated CrossFS allocation-branch probe, method and reproduction commands. https://hesela.dev/research/crossfs/README.md (accessed 2026-12-01) - [results] Hesela: four allocation configurations, zero-page controls and source hashes. https://hesela.dev/research/crossfs/results.json (accessed 2026-12-01) - [namesake] Ke et al. CrossFS: Improving Cross-Domain File System Performance with CRDT-Based Metadata Synchronization. TOS 2026. https://doi.org/10.1145/3777470 (accessed 2026-12-01) - [hesela] Hesela: persistent-memory domains, Strata and SplitFS. https://hesela.com/analyses/pmem-persistence-domains-dax/ (accessed 2026-12-01) ### CRUSH URL: https://hesela.dev/terms/crush-placement/ Related analysis: https://hesela.com/analyses/storage-availability-correlated-failures/ Also known as: Controlled Replication Under Scalable Hashing, CRUSH placement Status: shipping Record updated: 2026-11-07 CRUSH is a deterministic, pseudorandom placement algorithm that maps an identifier to storage targets using a weighted cluster hierarchy and placement rules. Note: Clients derive targets from a map and rule without a per-object directory. A rule selects distinct items of the requested type. The 2006 design retries collisions, failed devices and overloaded targets; failed devices remain in the hierarchy so only their data moves. [crush-paper] Rules can separate replicas or encoded shards across hosts, racks or shared power. CRUSH provides placement, not an erasure code, consensus or an availability guarantee. [ceph-crush] Straw2 is local to a single bucket. With other inputs fixed, winner changes involve the reweighted item, possibly a subtree. This is not a whole-hierarchy guarantee that each move touches the reweighted leaf. The original paper's section 3.3 describes the separate ancestor-weight effect; its straw algorithm predates straw2. [crush-paper] [ceph-crush] ceph osd crush reweight changes a CRUSH capacity weight; ceph osd reweight uses a 0-to-1 override without changing ancestor bucket weights. These interventions differ. [ceph-control] In v19.2.0, straw2 can use position-dependent weights and substitute hash IDs. The returned item still comes from the bucket's item array; an alternate hash ID is not a replacement OSD destination. Keep these inputs fixed in weight-only comparisons. [ceph-straw2-source] Advantages: - For the same input, rule and map, clients compute the same targets; the paper reports mapping times in the tens of microseconds in its tests. (sources: [crush-paper]) - The paper reports constant-time uniform-bucket selection and logarithmic-time tree-bucket selection; uniform-bucket changes reshuffle data. In its 1,000-device benchmark, marking half failed increased mapping time by 71%. (sources: [crush-paper]) Limitations: - In the paper's capacity-addition model, the ideal moved fraction is added weight divided by final total weight; doubling capacity moves half the data. Hierarchy and bucket choices can add movement. Ceph also limits retries, with legacy choose_total_tries 19 and 50 suggested for typical clusters. (sources: [crush-paper], [ceph-crush]) - Placement across modeled domains reduces correlated-loss exposure, but the paper leaves the size of that gain unquantified without real failure data. (sources: [crush-paper]) - Bucket-local movement minimization is not a cluster-wide migration bound; a placement result does not establish completed migration or repair. (sources: [crush-paper], [ceph-crush]) Sources and caveats: - crush-paper re-read 2026-10-23, sections 3.2, 3.3, 4.2 and 4.3, for rule steps, the three retry causes, movement bounds, bucket costs and the 71% failed-device figure. - ceph-crush re-read 2026-10-23 for hierarchy factors, straw2 and the choose_total_tries tunable. - The mean-time-to-data-loss entry links here because the paper names its future need for real failure data before quantitative models can estimate the effect of placement on mean time to data loss. - A companion analysis on correlated failures is listed but not used in prose. - 2026-11-07: reconciled the hierarchy supplement with later production prose and relations; reviewed SC2006 section 3.3, Squid weight/override documentation and v19.2.0 choose arguments. No Ceph execution or new fleet measurement. Related terms: - [rush-placement](https://hesela.dev/terms/rush-placement/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [placement-group](https://hesela.dev/terms/placement-group/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [mean-time-to-data-loss](https://hesela.dev/terms/mean-time-to-data-loss/) Citations: - [crush-paper] Weil, Brandt, Miller and Maltzahn, CRUSH: Controlled, Scalable, Decentralized Placement of Replicated Data, SC 2006, sections 3 to 4.3. https://ceph.io/assets/pdfs/weil-crush-sc06.pdf (accessed 2026-11-07) - [ceph-crush] Ceph Squid documentation: CRUSH Maps, hierarchy and placement rules. https://docs.ceph.com/en/squid/rados/operations/crush-map/ (accessed 2026-11-07) - [hesela-availability] Storage availability and correlated failures: placement boundaries. https://hesela.com/analyses/storage-availability-correlated-failures/ (accessed 2026-10-13) - [ceph-straw2-source] Ceph v19.2.0 mapper.c: get_choose_arg_weights, get_choose_arg_ids and bucket_straw2_choose. https://github.com/ceph/ceph/blob/v19.2.0/src/crush/mapper.c (accessed 2026-11-07) - [ceph-control] Ceph Squid Control Commands: CRUSH weights and OSD override reweight. https://docs.ceph.com/en/squid/rados/operations/control/ (accessed 2026-11-07) ### Cryptographic erase URL: https://hesela.dev/terms/cryptographic-erase/ Also known as: Crypto erase, CE Status: shipping Record updated: 2026-11-12 Cryptographic erase sanitizes the keys protecting encrypted target data so that recovering the plaintext becomes infeasible. Note: This can sanitize access without rewriting every ciphertext block. It requires suitable cryptography and key management, coverage of the target data before sanitization, and sanitization of all copies of the target cryptographic keys. Deleting an account password is not automatically key sanitization. Sensitive plaintext stored since the last appropriate sanitization needs a different suitable treatment; encryption enabled only before disposal does not retroactively protect those remnants. NIST SP 800-88 Rev. 2 section 3.2.2 footnote 10 qualifies the prior-plaintext condition by the last appropriate sanitization. [nist-r2] Sanitizing a wrapping or master key also requires eliminating lower-level keys and any previously unwrapped copies that remain usable, including copies in memory or encryption-engine registers; external key copies must be accounted for. [nist-r2] A saved LUKS header illustrates the distinction. An old valid credential can still recover its volume key after live keyslot changes or erasure. That retained recovery path must be included in the assessment; a live password rejection alone is insufficient evidence. [luks-backup-v270] A filesystem keyring status is narrower than this sanitization decision. Removing an fscrypt key can leave other users' claims or in-use file keys, and freed plaintext caches need not be wiped. [fscrypt-source] Command scope: Identify which key level is sanitized. With several data-encryption keys, establish whether the selected command covers all required keys or needs additional actions. Key-storage failure reporting is part of this assessment. [nist-r2] Advantages: - Can avoid a full-media rewrite when its cryptographic prerequisites are satisfied. (sources: [nist-r2]) Limitations: - Backups or escrow copies of keys need separate assessment; ciphertext remains, so required long-term confidentiality also matters. (sources: [nist-r2]) Related terms: - [self-encrypting-drive](https://hesela.dev/terms/self-encrypting-drive/) - [sanitize-nvme](https://hesela.dev/terms/sanitize-nvme/) - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [secure-erase](https://hesela.dev/terms/secure-erase/) - [purge-sanitization](https://hesela.dev/terms/purge-sanitization/) - [sanitization-verification](https://hesela.dev/terms/sanitization-verification/) - [sanitization-validation](https://hesela.dev/terms/sanitization-validation/) - [luks-header-backup](https://hesela.dev/terms/luks-header-backup/) - [luks-keyslot](https://hesela.dev/terms/luks-keyslot/) - [fscrypt](https://hesela.dev/terms/fscrypt/) - [inline-encryption](https://hesela.dev/terms/inline-encryption/) - [history-independence](https://hesela.dev/terms/history-independence/) - [envelope-encryption](https://hesela.dev/terms/envelope-encryption/) - [key-rotation](https://hesela.dev/terms/key-rotation/) Citations: - [nist-r2] NIST SP 800-88 Rev. 2 (2025), sections 3.2.3, 3.2.5 (items 4, 9-10) and 4.5. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf (accessed 2026-11-10) - [hesela] Hesela: SSD sanitization: why TRIM and a successful command are not enough. https://hesela.com/analyses/ssd-sanitization-trim-evidence/ (accessed 2026-10-10) - [luks-backup-v270] cryptsetup v2.7.0: header backup warning. https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.7.0/man/cryptsetup-luksHeaderBackup.8.adoc (accessed 2026-10-21) - [fscrypt-source] Linux v6.12: fscrypt key removal and kernel-memory threat model. https://docs.kernel.org/6.12/filesystems/fscrypt.html (accessed 2026-10-22) ### Cryptographic hash function URL: https://hesela.dev/terms/cryptographic-hash/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Cryptographic digest function Status: shipping Record updated: 2026-11-17 A cryptographic hash function deterministically produces a digest and is designed to resist preimage, second-preimage and collision attacks. Note: Preimage search starts from a target digest; second-preimage search starts from a specified input; collision search may choose both distinct inputs. Designed resistance is not a promise that collisions do not exist. [nist-hash] An unkeyed digest does not authenticate its own origin: replacing both data and the expected digest can preserve a match. HMAC adds a shared secret to authentication; hashing is not encryption. [rfc2104] Limitations: - Algorithm choice, output length and known attacks determine useful security; a matching digest is not proof of storage durability. (sources: [nist-hash], [hesela-integrity]) Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [deduplication](https://hesela.dev/terms/deduplication/) - [hmac](https://hesela.dev/terms/hmac/) - [replay-attack](https://hesela.dev/terms/replay-attack/) - [json-canonicalization-scheme](https://hesela.dev/terms/json-canonicalization-scheme/) - [content-addressed-storage](https://hesela.dev/terms/content-addressed-storage/) - [content-identifier](https://hesela.dev/terms/content-identifier/) Citations: - [nist-hash] NIST CSRC glossary: cryptographic hash function and security properties. https://csrc.nist.gov/glossary/term/cryptographic_hash_function (accessed 2026-10-12) - [rfc2104] RFC 2104: HMAC, sections 1-2 (construction, not current algorithm selection advice). https://www.rfc-editor.org/rfc/rfc2104.html (accessed 2026-10-12) - [hesela-integrity] Hesela: Why a valid checksum can still return the wrong data. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-10-12) ### Cryptographic nonce URL: https://hesela.dev/terms/cryptographic-nonce/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Nonce Status: shipping Record updated: 2026-11-21 A cryptographic nonce is an input value whose required uniqueness scope is specified by the cryptographic construction that uses it. Note: For RFC 5116's AES-GCM profiles, encryption must not reuse a nonce under one key; repeated decryption is different. Those profiles fix the nonce at 12 octets. Section 3.2 recommends support for a 4-octet counter, giving 2^32 values per fixed field; distinct encryptors sharing a key need distinct fixed fields. [rfc5116] VM rollback can cause reuse by restoring earlier encryption state. [rfc5116] SP 800-38D likewise caps a key at 2^32 encryptions unless only deterministic 96-bit IVs are used. [sp800-38d] XTS sector-number tweaks have a different contract and must not be treated as GCM nonces; the plain64 generator uses the sector as a 64-bit value, and the cited disk-encryption design recommends at least 128 bits for its stored random IV. [broz2018] Advantages: - A counter-based nonce needs only a per-key sequence, not a random source, and the counter may skip values without breaking uniqueness. (sources: [rfc5116]) Limitations: - A nonce is not itself a freshness policy that rejects old, valid ciphertext. (sources: [rfc5116]) - For CBC and CFB, an IV need not be secret but must be unpredictable before it is generated for the plaintext; later storage beside ciphertext is not itself a violation. (sources: [sp800-38a]) Sources and caveats: - rfc5116 is RFC 5116, re-read for the 12-octet nonce length, section 3.2 nonce formation and the VM rollback warning in section 8. - broz2018 is the 2018 arXiv paper on authenticated full-disk encryption, re-read for the plain64 generator, the GCM reuse warning and the 128-bit random-IV guidance. - sp800-38d is NIST SP 800-38D, read for the 96-bit IV recommendation and the section 8.3 invocation limit. - The dm-integrity entry links here because its per-sector metadata can hold the random IVs whose size and reuse rules are described here. - The IV secrecy statement and four-octet counter scope were corrected against SP 800-38A Appendix C and RFC 5116 section 3.2 on 2026-11-21. - The general IV correction does not endorse the paper's random-IV generator for CBC; that paper restricts the generator's supported modes. [broz2018] Related terms: - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [xts-aes](https://hesela.dev/terms/xts-aes/) - [snapshot](https://hesela.dev/terms/snapshot/) - [replay-attack](https://hesela.dev/terms/replay-attack/) - [zfs-raw-send](https://hesela.dev/terms/zfs-raw-send/) - [aes-gcm-siv](https://hesela.dev/terms/aes-gcm-siv/) Citations: - [rfc5116] RFC 5116: nonce requirements, GCM reuse and VM rollback, sections 2.1, 3.1, 5.1.1 and 8. https://www.rfc-editor.org/rfc/rfc5116.html (accessed 2026-10-23) - [broz2018] Broz, Patocka and Matyas: Practical cryptographic data integrity protection with full disk encryption, 2018, sections 2.4 and 3.3. https://arxiv.org/pdf/1807.00309v1 (accessed 2026-10-23) - [hesela-encryption] Hesela: Nonce reuse is not ciphertext replay. https://hesela.com/analyses/checksums-identity-and-lost-writes/#nonce-reuse (accessed 2026-10-15) - [sp800-38d] NIST SP 800-38D: GCM and GMAC, IV lengths and section 8.3 invocation limit. https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf (accessed 2026-10-23) - [sp800-38a] NIST SP 800-38A: CBC/CFB IV requirements and Appendix C on generation. https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38a.pdf (accessed 2026-11-21) ### Comma-separated values (CSV) URL: https://hesela.dev/terms/csv/ Related analysis: https://hesela.com/analyses/sqlite-import-numeric-precision/ Also known as: CSV, Comma-separated values, Comma separated values Status: shipping Record updated: 2026-11-22 CSV is a text format for tabular records whose fields are separated by commas and can be quoted to contain delimiters or line breaks. Note: Syntax: RFC 4180 describes a common CSV format and registers text/csv; it is Informational, not an Internet Standard. Quoted fields can contain commas and line breaks, and embedded double quotes are doubled. A physical line is therefore not necessarily a complete record. [csv-rfc] Interpretation: Agree on character encoding, delimiter, quoting, header presence and column meanings. CSV field syntax alone does not define application data types or a universal NULL representation. A valid parse does not establish a valid database import; strict parser mode does not enforce column count. [csv-rfc] [csv-python] Conversion: The default Python CSV reader returns strings; QUOTE_NONNUMERIC converts unquoted fields to floating-point values. Preserve identifiers as text before applying explicit validation. The default writer maps None to an empty string, losing the distinction from empty text. [csv-python] Recovery: Preserve both original bytes and the interpretation contract. The existing CSV restore experiment separates null-aware input from a rewrite that already discarded missingness; a later reader cannot infer the lost distinction from those bytes alone. [csv-recovery] Limitations: - Quoting protects field boundaries, not numeric precision, schema conformance or recovery of values discarded by an earlier conversion. Sources and caveats: - Source synthesis linked to the existing CSV recovery experiment; no new dataset, format-wide benchmark or claim that all CSV dialects follow RFC 4180. Related terms: - [data-serialization](https://hesela.dev/terms/data-serialization/) - [character-encoding](https://hesela.dev/terms/character-encoding/) - [sqlite-type-affinity](https://hesela.dev/terms/sqlite-type-affinity/) Citations: - [csv-rfc] RFC 4180: common CSV format and text/csv registration, sections 2 and 3. https://www.rfc-editor.org/rfc/rfc4180.html (accessed 2026-11-21) - [csv-python] Python 3.12: CSV reader, writer and dialect contracts. https://docs.python.org/3.12/library/csv.html (accessed 2026-11-21) - [csv-recovery] Hesela: CSV restoration and NULL fidelity across reader and rewrite boundaries. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#csv-null-fidelity (accessed 2026-11-21) ### ctFS URL: https://hesela.dev/terms/ctfs/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: contiguous file system (ctFS) Status: research Record updated: 2026-11-14 ctFS is a research persistent-memory file system that places each file in a contiguous virtual address range and uses hardware address translation for access. Note: Physical pages need not be contiguous. Persistent page tables preserve mappings; ordinary DRAM page tables supply the hardware MMU. Growing a file can exchange mappings instead of copying its existing payload. [ctfs-author] The paper separates sync-mode persistence from strict-mode atomic data writes. Staging and pswap provide the latter; unaligned boundary fragments still need copying. This is an operation-level contract, not a transaction spanning arbitrary calls. [ctfs-paper] At revision 664a8b7, ctfs_config.h comments out CTFS_ATOMIC_WRITE. The ctfs_pwrite dispatcher selects its atomic path only when that macro is defined. Record the effective build configuration before attributing strict-mode guarantees to a binary. [ctfs-config] [ctfs-dispatch] The released prototype expects a modified kernel and Optane persistent-memory hardware. It is not an ordinary ext4 mount option. [ctfs-readme] Limitations: - The paper's user-space protection targets accidental bugs, not malicious applications. (sources: [ctfs-paper]) Sources and caveats: - Primary-source synthesis and pinned-code inspection on 2026-11-14; no ctFS execution, crash injection or performance reproduction. Related terms: - [splitfs](https://hesela.dev/terms/splitfs/) Citations: - [ctfs-paper] Li et al. ctFS. USENIX FAST 2022, pp.35-50, sections 3.1-3.6 and 5. https://www.usenix.org/system/files/fast22-li.pdf (accessed 2026-11-14) - [ctfs-author] Li et al. ctFS: Converting File Index Traversals to Hardware Memory Translation. USENIX ;login: Online, 2022. https://www.usenix.org/publications/loginonline/ctfs-converting-file-index-traversals-hardware-memory-translation-through (accessed 2026-11-14) - [ctfs-config] ctFS 664a8b7: ctfs_config.h, commented atomic-write configuration. https://github.com/robinlee09201/ctFS/blob/664a8b7941c8039a2c45783cc249aa32be1780c6/ctfs_config.h#L1-L5 (accessed 2026-11-14) - [ctfs-dispatch] ctFS 664a8b7: ctfs_pwrite dispatch and atomic-write implementation. https://github.com/robinlee09201/ctFS/blob/664a8b7941c8039a2c45783cc249aa32be1780c6/ctfs_func.c#L506-L512 (accessed 2026-11-14) - [ctfs-readme] ctFS 664a8b7: prototype requirements and tested environment. https://github.com/robinlee09201/ctFS/blob/664a8b7941c8039a2c45783cc249aa32be1780c6/README.md (accessed 2026-11-14) ### Cuckoo filter URL: https://hesela.dev/terms/cuckoo-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: Cuckoo membership filter Status: shipping Record updated: 2026-12-02 A cuckoo filter is an approximate-membership structure that stores short fingerprints in candidate buckets and supports insertion, lookup and deletion subject to its update contract. Note: A positive lookup does not prove an outstanding insertion. Deleting an absent or already-deleted key can remove another key's fingerprint. [redis-cf-delete] One fingerprint per successful insertion preserves a colliding live key after a legitimate deletion. [cuckoo-paper] Suppressing insertion after a positive lookup is unsafe if later deletions must preserve distinct keys. [redis-cf-addnx] The pinned-library experiment forces collisions, not a measured frequency or paper-benchmark reproduction. [hesela-cuckoo] Relocation needs a reversible alternate-bucket calculation: applying it twice with the same fingerprint must return to the starting bucket. The pinned reference library maintains this round trip with a power-of-two bucket count. [cuckoo-code] Boskov and colleagues study a modified implementation that permits other counts; XOR followed by modulo can then relocate a fingerprint outside its lookup pair. This is construction-specific, not a universal false-negative rate. [cuckoo-bucket-study] Adaptive variants can change fingerprints after an exact backing-set check detects a false positive; the original keys are kept separately. This is not the fixed-fingerprint library tested above. The JEA construction uses full-key bucket locations independent of the selected fingerprint, avoiding partial-key addressing because changing that fingerprint could change the alternate bucket. [acf-design] Adaptation can expose membership information through changing answers. Persistent false positives remain possible, so repeated positives alone are not proof of membership. The privacy study distinguishes known-hash extraction from weaker probabilistic inference and excludes insertions during extraction. Its findings are not a universal extraction rate. [acf-privacy] Related terms: - [vacuum-filter](https://hesela.dev/terms/vacuum-filter/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [ribbon-filter](https://hesela.dev/terms/ribbon-filter/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [stable-bloom-filter](https://hesela.dev/terms/stable-bloom-filter/) - [counting-bloom-filter](https://hesela.dev/terms/counting-bloom-filter/) - [blocked-bloom-filter](https://hesela.dev/terms/blocked-bloom-filter/) - [binary-fuse-filter](https://hesela.dev/terms/binary-fuse-filter/) Citations: - [cuckoo-paper] Fan, Andersen, Kaminsky and Mitzenmacher. Cuckoo Filter: Practically Better Than Bloom. CoNEXT 2014, section 3. DOI: 10.1145/2674005.2674994. https://www.cs.cmu.edu/~binfan/papers/conext14_cuckoofilter.pdf (accessed 2026-10-16) - [cuckoo-code] efficient/cuckoofilter, commit 917583d6abef692dfa8e14453bd77d6e0b61eef3. CuckooFilter Add, Contain, Delete and victim-cache accounting. https://github.com/efficient/cuckoofilter/blob/917583d6abef692dfa8e14453bd77d6e0b61eef3/src/cuckoofilter.h (accessed 2026-10-16) - [redis-cf-delete] Redis command reference. CF.DEL: deletion precondition and false-negative warning. Documentation review, not a Redis execution test. https://redis.io/docs/latest/commands/cf.del/ (accessed 2026-10-16) - [redis-cf-addnx] Redis command reference. CF.ADDNX: fingerprint matches can suppress insertion. Documentation review, not a Redis execution test. https://redis.io/docs/latest/commands/cf.addnx/ (accessed 2026-10-16) - [hesela-cuckoo] Hesela. Cuckoo deletion contracts, controlled-collision experiment and reproduction instructions. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#cuckoo-deletion (accessed 2026-10-16) - [cuckoo-bucket-study] Boskov, Trachtenberg and Starobinski. Birdwatching: False Negatives In Cuckoo Filters. CoNEXT 2020 Student Workshop, sections 3-4. DOI: 10.1145/3426746.3434063. https://people.bu.edu/staro/cuckoo_filter_workshop_paper.pdf (accessed 2026-11-05) - [acf-design] Mitzenmacher, Pontarelli and Reviriego. Adaptive Cuckoo Filters. ACM JEA 25 (2020), article 1.1, section 3. DOI: 10.1145/3339504. https://iris.uniroma1.it/retrieve/e383532c-7015-15e8-e053-a505fe0a3de9/3339504.pdf (accessed 2026-11-05) - [acf-privacy] Reviriego et al. On the Privacy of Adaptive Cuckoo Filters: Analysis and Protection. IEEE TIFS 19 (2024), sections III-V. DOI: 10.1109/TIFS.2024.3404868. https://oa.upm.es/81968/1/ACF_Privacy-T-IFS-14693-2022-final.pdf (accessed 2026-11-05) ### Cumulative hazard URL: https://hesela.dev/terms/cumulative-hazard/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: Cumulative hazard function, Integrated hazard Status: shipping Record updated: 2026-11-05 Cumulative hazard is the time integral of a hazard rate for a specified event and clock. Note: For an absolutely continuous event time with S(0) = 1 and S(t) > 0, H(t) = integral from 0 to t of h(v) dv = -ln S(t). It is dimensionless, nondecreasing and can exceed one; it is not a failure probability. F(t) = 1 - exp(-H(t)). [nist-hazard] For a surviving drive at age a, an additional u units of survival has probability exp(-(H(a + u) - H(a))) = S(a + u) / S(a), for u >= 0 and positive survival at both endpoints. Keep the population, event and time origin fixed. This identity does not require constant hazard. [nist-hazard] [nist-survival] With competing first events, H refers to the all-cause hazard when S means freedom from every event. A cause-specific cumulative hazard H_k(t) = integral from 0 to t of h_k(v) dv is not generally -ln(1 - CIF_k(t)): the cumulative incidence depends on all competing hazards through S. These are probability-model identities, not a fitted drive model or a rule equating finite-sample estimators. [therneau-competing] For ordinary right-censored samples, the Nelson-Aalen estimate sums event-count/risk-set fractions, while Kaplan-Meier multiplies their survival complements. Thus exponentiating minus the former need not reproduce the latter. Record which estimator and tie convention produced each reported curve; the continuous-model identity above does not require those estimates to coincide. [survfit-estimators] Related terms: - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [nelson-aalen-estimator](https://hesela.dev/terms/nelson-aalen-estimator/) - [survival-function](https://hesela.dev/terms/survival-function/) - [cause-specific-hazard](https://hesela.dev/terms/cause-specific-hazard/) - [cumulative-incidence-function](https://hesela.dev/terms/cumulative-incidence-function/) - [afr](https://hesela.dev/terms/afr/) Citations: - [nist-hazard] NIST e-Handbook 8.1.2.3: Failure (or hazard) rate; integral and negative-log identities. https://www.itl.nist.gov/div898/handbook/apr/section1/apr123.htm (accessed 2026-11-05) - [nist-survival] NIST e-Handbook 8.1.2.2: Reliability or survival function. https://www.itl.nist.gov/div898/handbook/apr/section1/apr122.htm (accessed 2026-11-05) - [therneau-competing] Therneau, Crowson and Atkinson: Multi-state models and competing risks (12 January 2026), section 2.1, equation 3. https://stat.ethz.ch/R-manual/R-devel/library/survival/doc/compete.pdf (accessed 2026-11-05) - [survfit-estimators] R survival: survfit.formula documentation, stype/ctype and Details (Kaplan-Meier versus exponentiated cumulative hazard). https://stat.ethz.ch/R-manual/R-devel/library/survival/html/survfit.formula.html (accessed 2026-11-05) ### Cumulative incidence function URL: https://hesela.dev/terms/cumulative-incidence-function/ Related analysis: https://hesela.com/analyses/backblaze-age-missing-data-audit/ Also known as: CIF Status: shipping Record updated: 2026-10-29 A cumulative incidence function gives the probability that a specified event type occurs by a given time before any competing event. Note: Probability: F_k(t) = P(T <= t, J = k), where T is the first-event time and J its type; it is dimensionless and is not conditional on remaining event-free at t. The Aalen-Johansen estimator includes all competing exits. A failure-only Kaplan-Meier complement generally overestimates this probability. [therneau-competing] Censoring: Without early censoring, the estimate reduces to the fraction entering that state. With earlier loss to follow-up, it uses the changing risk sets instead; dividing observed failures by the starting cohort is not generally equivalent. Population interpretation still requires appropriate censoring assumptions. [therneau-competing] Sources and caveats: - The scikit-survival tutorial is retained as further reading; the mathematical definition follows the survival vignette. The linked Hesela examples are synthetic, not fleet estimates. Related terms: - [competing-risks](https://hesela.dev/terms/competing-risks/) - [cause-specific-hazard](https://hesela.dev/terms/cause-specific-hazard/) - [kaplan-meier-estimator](https://hesela.dev/terms/kaplan-meier-estimator/) - [survival-function](https://hesela.dev/terms/survival-function/) - [aalen-johansen-estimator](https://hesela.dev/terms/aalen-johansen-estimator/) Citations: - [therneau-competing] Therneau, Crowson and Atkinson: Multi-state models and competing risks (2026), section 2.1. https://stat.ethz.ch/R-manual/R-patched/library/survival/doc/compete.pdf (accessed 2026-10-16) - [sksurv-competing] scikit-survival 0.28.0: Analysis of Competing Risks. https://scikit-survival.readthedocs.io/en/v0.28.0/user_guide/competing-risks.html (accessed 2026-10-16) ### Cumulus URL: https://hesela.dev/terms/cumulus/ Also known as: Cumulus backup Status: research Record updated: 2026-12-02 Cumulus is a research backup system that shares immutable objects across snapshots using a generic whole-file storage interface. Note: Design: The FAST 2009 system uses put, get, list and delete, with backup logic at the client. It groups objects into segments and reuses unchanged file regions. [fast09] Cleaning: Marking a poorly utilized segment as expired stops future reuse; later backups upload needed data again. Existing snapshots still point to the old segment. Deletion must wait until no retained snapshot requires it. [fast09] Trade-off: A higher cleaning threshold can reduce dead space yet increase duplicate copies across retained snapshots. The journal study separates these costs; minimizing the newest snapshot's footprint need not minimize the retained collection. [tos09] Format: A snapshot descriptor lists required segments and points to its root metadata. References can select byte ranges of an object. Snapshot independence is therefore not independence from shared storage objects. [format] Worked example: A 100-byte segment holds 80 retained bytes and 20 obsolete bytes. Copying the 80 bytes creates 180 stored bytes while an earlier snapshot still needs the old segment. Expiring the last such snapshot reduces the total to 80. These are synthetic payload counts, excluding metadata, compression and encryption. [example] Advantages: - Local client indexes are not required to restore a snapshot, though losing them can reduce subsequent backup efficiency. (sources: [tos09]) Limitations: - The design does not coordinate deduplication between separate backup clients. (sources: [tos09]) - A partially used object does not permit deleting its containing segment. (sources: [format]) Sources and caveats: - The FAST study used a 157-day research-fileserver trace and a 223-day personal-computer trace; its simulator omitted compression, metadata and sub-file changes. [fast09] - The TOS article expands the FAST paper; they are not independent replications. No Cumulus binary, historical trace or current cloud price was measured here. [tos09] - The format documentation retains the older LBS name. The worked example is an original set-accounting model, not the Cumulus cleaner or a repository deletion tool. [format] [example] Related terms: - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [snapshot](https://hesela.dev/terms/snapshot/) Citations: - [fast09] Vrable, Savage and Voelker. Cumulus: Filesystem Backup to the Cloud. FAST 2009, sections 3-5, pp. 225-238. https://www.usenix.org/legacy/events/fast09/tech/full_papers/vrable/vrable_html/index.html (accessed 2026-12-02) - [tos09] Vrable, Savage and Voelker. Cumulus: Filesystem Backup to the Cloud. ACM TOS 5(4), article 14, 2009. DOI 10.1145/1629080.1629084. https://cseweb.ucsd.edu/~voelker/pubs/cumulus-tos09.pdf (accessed 2026-12-02) - [format] Cumulus backup format documentation: LBS Snapshot v0.8, object references and snapshot descriptors. https://www.sysnet.ucsd.edu/projects/cumulus/doc/format.txt (accessed 2026-12-02) - [example] Hesela: Cumulus retention and segment accounting, constructed example and executable checks. https://hesela.dev/research/cumulus-retention/README.md (accessed 2026-12-02) - [context] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-12-02) ### Curie-temperature distribution URL: https://hesela.dev/terms/curie-temperature-distribution/ Related article: https://hesela.com/tech/hamr/ Also known as: Curie temperature dispersion, Tc distribution Status: research Record updated: 2026-10-16 Curie-temperature distribution is the spread of ferromagnetic transition temperatures across the grains of a recording medium. Note: Grain-size variation can produce this spread through finite-size effects [binh-finite-size-2022]. It is not the spatial temperature variation created by the laser. The cited FePt study used nominally 10 nm-high grains with lateral sizes from 1 to 10 nm and repeated each Monte Carlo calculation 20 times; its small-grain crossover is specific to the modeled geometry. State whether a reported spread is in kelvin or normalized to a mean. Related terms: - [hamr](https://hesela.dev/terms/hamr/) - [hamr-thermal-gradient](https://hesela.dev/terms/hamr-thermal-gradient/) - [transition-jitter](https://hesela.dev/terms/transition-jitter/) Citations: - [binh-finite-size-2022] Binh, Ruta, Hovorka, Evans and Chantrell: The Influence of Finite-size Effects on the Curie Temperature of L10-FePt, arXiv:2207.11831v1 (2022); section III, Tables 1-2 and Figure 7. https://arxiv.org/html/2207.11831v1 (accessed 2026-10-16) ### CURP URL: https://hesela.dev/terms/curp/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: Consistent Unordered Replication Protocol Status: research Record updated: 2026-11-16 CURP overlaps primary execution with unordered recording at witnesses, using commutativity to preserve consistent recovery. Note: Completion: The primary-backup design needs the primary result and acceptance by every required witness for its fast path. A rejection or unavailable witness requires backup synchronization. Witnesses accept only requests that commute with their retained set, using operation parameters rather than database state. [curp-paper] Recovery: Restore a backup, freeze one available witness, then replay its requests with duplicate suppression. Witness records may overlap updates already in the backup. RIFL binds request IDs and results atomically to the mutation, allowing replay to identify completed work. [curp-paper] [rifl-paper] Reads: A primary must synchronize before answering a read that conflicts with an unsynced update. A primary reply alone does not certify witness acceptance. [curp-slides] Limitations: - The protocol assumes fail-stop failures, not Byzantine behavior. [curp-paper] Sources and caveats: - Source review of the 2019 protocol and its 2015 duplicate-suppression dependency; no prototype execution or latency reproduction. Related terms: - [synchronous-replication](https://hesela.dev/terms/synchronous-replication/) - [asynchronous-replication](https://hesela.dev/terms/asynchronous-replication/) - [retry-deduplication](https://hesela.dev/terms/retry-deduplication/) - [linearizability](https://hesela.dev/terms/linearizability/) - [harmonia](https://hesela.dev/terms/harmonia/) - [rifl](https://hesela.dev/terms/rifl/) Citations: - [curp-paper] Seo Jin Park and John Ousterhout: Exploiting Commutativity For Practical Fast Replication, NSDI 2019, pp. 47-64, sections 3.1-3.6. https://www.usenix.org/system/files/nsdi19-park.pdf (accessed 2026-11-13) - [curp-slides] Park and Ousterhout: CURP presentation, NSDI 2019, slides 8-14. https://www.usenix.org/sites/default/files/conference/protected-files/nsdi19_slides_park.pdf (accessed 2026-11-13) - [rifl-paper] Lee et al.: Implementing Linearizability at Large Scale and Low Latency, SOSP 2015, sections 3-4; DOI 10.1145/2815400.2815416. https://web.stanford.edu/~ouster/cgi-bin/papers/rifl.pdf (accessed 2026-11-13) ### CXL memory pooling URL: https://hesela.dev/terms/cxl-memory-pooling/ Related article: https://hesela.com/tech/cxl-memory/ Also known as: Pooled FAM Status: unknown Record updated: 2026-11-16 CXL memory pooling allocates device-attached capacity among hosts while assigning each pooled memory region to one host at a time. Note: Pooling redistributes capacity; sharing permits concurrent access to the same region. In the CXL 2.0 pooling model, one device physical location maps to only one host's host-managed device memory (HDM). A multi-logical device can serve several hosts without giving them the same bytes. [pooling] [tutorial] Address interleaving is independent of pooling. Shared link bandwidth is also distinct from shared memory ownership: the fabric manager configures bandwidth allocation for logical devices. Neither a larger pool nor interleaving alone establishes a latency improvement. [pooling] Sources and caveats: - Source synthesis of Consortium explainers, not a normative specification review, interoperability test or native CXL experiment. - Status is unknown because these sources establish mechanisms, not current market availability. Synchronization and durability boundaries are engineering distinctions, not measured results. Related terms: - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [cxl-memory-sharing](https://hesela.dev/terms/cxl-memory-sharing/) - [cxl-type-3-device](https://hesela.dev/terms/cxl-type-3-device/) - [hdm-decoder](https://hesela.dev/terms/hdm-decoder/) - [pond](https://hesela.dev/terms/pond/) - [memory-stranding](https://hesela.dev/terms/memory-stranding/) Citations: - [pooling] CXL Consortium: CXL 2.0 memory pooling Q&A, part 2 (21 May 2021); physical-location ownership and independent interleaving. https://computeexpresslink.org/blog/cxl-2-0-specification-memory-pooling-questions-from-the-webinar-part-2-2391/ (accessed 2026-11-16) - [tutorial] CXL Consortium: Flash Memory Summit tutorial (August 2023), slides 27-28; pooled/shared FAM and two coherence models. https://computeexpresslink.org/wp-content/uploads/2023/12/CXL_FMS-2023-Tutorial_FINAL.pdf (accessed 2026-11-16) ### CXL memory sharing URL: https://hesela.dev/terms/cxl-memory-sharing/ Related article: https://hesela.com/tech/cxl-memory/ Also known as: Shared FAM Status: unknown Record updated: 2026-11-16 CXL memory sharing allows multiple hosts to access the same device-attached memory region concurrently under a specified coherence model. Note: CXL 3.0 extends pooling with cross-host sharing. Hardware coherence maintains cached copies across hosts. [sharing] This describes cache coherence, not an application transaction or crash-recovery guarantee. The Consortium tutorial distinguishes software-managed coherence from multi-host hardware coherence. The fabric manager selects the model. Software ownership coordination is outside the specification; hardware coherence requires device tracking, an HDM-DB mapping and a back-invalidation (BI) channel. Shared does not automatically mean hardware-coherent. [tutorial] The Consortium also describes a vendor prototype using a CXL 2.0 switch with software-supported sharing. This is a software-assisted prototype; it does not establish standardized hardware-coherent sharing on CXL 2.0 systems. [prototype] Sources and caveats: - Source synthesis of Consortium explainers, not a normative specification review, interoperability test or native CXL experiment. - Status is unknown because these sources establish mechanisms, not current market availability. Synchronization and durability boundaries are engineering distinctions, not measured results. Related terms: - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [cxl-memory-pooling](https://hesela.dev/terms/cxl-memory-pooling/) - [cxl-type-3-device](https://hesela.dev/terms/cxl-type-3-device/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) Citations: - [sharing] CXL Consortium: Compute Express Link 3.0 white paper, page 3; cross-host hardware-coherent sharing. https://computeexpresslink.org/wp-content/uploads/2023/12/CXL_3.0_white-paper_FINAL.pdf (accessed 2026-11-16) - [tutorial] CXL Consortium: Flash Memory Summit tutorial (August 2023), slides 27-28; pooled/shared FAM and two coherence models. https://computeexpresslink.org/wp-content/uploads/2023/12/CXL_FMS-2023-Tutorial_FINAL.pdf (accessed 2026-11-16) - [prototype] CXL Consortium: XConn CXL 2.0 memory pooling/sharing prototype (30 November 2023); software-supported demonstration. https://computeexpresslink.org/resource/xconn-technologies-cxl-2-0-memory-pooling-sharing-using-xconn-switch/ (accessed 2026-11-16) ### CXL memory expansion URL: https://hesela.dev/terms/cxl-memory/ Technology reference: https://hesela.com/tech/cxl-memory/ Also known as: CXL-attached memory Status: shipping Record updated: 2026-11-16 CXL memory expansion adds device-attached memory to a host's address space for coherent access through CXL.mem. Note: Type-3 expanders use CXL.io and CXL.mem, not the device-originated CXL.cache role. The host can still cache their memory. Capacity may be volatile, persistent, or both; coherent access is not a power-loss survival guarantee. [types] [devices-617] Linux 6.17 offers application-managed mmap() access through /dev/daxN.Y, or dax_kmem conversion into hotplug blocks for the kernel page allocator. Firmware, kernel-build and boot settings can also expose system RAM during early boot. NUMA association alone does not establish page-allocator availability. [dax-617] [boot-617] Possible NUMA nodes are identified during early boot; memory tiers group nodes with online memory by performance. HMAT/CDAT information can distinguish their tier from the default DRAM tier. ZONE_MOVABLE excludes most kernel allocations. [boot-617] A 2023 study evaluated three expanders individually on one platform. In memo's batched temporal-load test, latency was 35 percent above remote-socket DDR5 for one device and about 2 and 3 times its latency for the others. All-read bandwidth efficiencies were 70, 46, 47 and 20 percent of theoretical bandwidth for remote DDR5 and the three devices. With all pages on the first expander, a key-value workload with equal reads and updates had p99 latency 10, 73 and 105 percent above all-local-DDR allocation at 25,000, 45,000 and 85,000 target queries per second. [c5] CXL 2.0 pooling permits each physical memory location to be mapped to at most one host at a time. CXL 3.0 supports shared regions with software-managed or multi-host hardware coherence; sharing does not automatically select the hardware-coherent model. Neither model replaces application synchronization or guarantees crash consistency. Check system-wide feature support. [pooling] [sharing] [tutorial] Limitations: - In the 2023 study, Caption improved throughput of the mcf and roms mix by 24 percent over the better of the tested all-DDR and 50:50 DDR:CXL static policies. A separate DLRM result was 4 percent lower than the 50:50 policy. The figure's normalization and the textual best-baseline comparison are distinct; the gain is workload-specific, not universal. (sources: [c5]) - In Linux 6.17, when global and per-device memmap_on_memory are not both enabled, a large movable pool needs local ZONE_NORMAL capacity for its memory map. Enabling both reserves hotplugged capacity for metadata; high-latency metadata access can have performance costs. (sources: [hotplug-617]) - For Linux 6.17 hotplug, ZONE_NORMAL capacity should be treated as permanently attached to the allocator. ZONE_MOVABLE helps retain removability, but successful offlining is not guaranteed. DAX-added capacity is driver-managed and excluded from kexec placement because a device reset can overwrite the new kernel; this does not guarantee application data retention. (sources: [hotplug-617]) - On the study's Sapphire Rapids platform with four-way sub-NUMA clustering, a 32 MB buffer fit the socket-wide cache but exceeded one node's cache. MLC reported 41 ns for CXL-A placement versus 76.8 ns for local DDR placement. These are cache-mediated observations, not isolated off-chip memory latency; other active SNC nodes could reduce the cache advantage. (sources: [c5]) Sources and caveats: - This record uses CXL Consortium explainers and version-pinned Linux 6.17 documentation, not a direct review of the normative CXL specification. Legacy citation identifiers remain stable. - The kernel documentation was written by kernel developers, some employed by hardware makers. - The measurement study is by two universities with two co-authors at a processor maker lab, so it is not fully vendor-independent. - Device and platform results come from one 2023 platform generation with three particular devices; PCIe 4.0 against DDR4 latency and energy figures are quoted by the study from other works. - Arithmetic: 22 / 6 is about 3.7 for the cited DDR4-to-PCIe-4.0 energy-per-bit ratio, not the reverse. These are cited background estimates, not this study's measurements. [c5] - No cost, price or market claims are made. - Architecture and OS exposure are scoped to Linux 6.17 documentation, not an October 2026 support matrix. The 2023 benchmark is version-pinned to arXiv v4 and its tested platform, not generalized to current CXL devices. - The limits of coherency and NUMA association are engineering inferences from the separate access, allocation and persistence mechanisms, not measured durability results. - The v4 introduction summarizes tail-latency increases as 10-82 percent, while section 5.1/Figure 6a reports Redis YCSB-A p99 increases of 10, 73 and 105 percent. The note follows the detailed experiment. [c5] - The PCIe per-lane and DDR per-pin rates quoted in section 1 use different denominators; dividing 16 by 3.2 does not establish a like-for-like per-pin advantage. [c5] Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [storage-class-memory](https://hesela.dev/terms/storage-class-memory/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [cxl-type-3-device](https://hesela.dev/terms/cxl-type-3-device/) - [hdm-decoder](https://hesela.dev/terms/hdm-decoder/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [dax](https://hesela.dev/terms/dax/) - [device-dax](https://hesela.dev/terms/device-dax/) - [pond](https://hesela.dev/terms/pond/) - [memory-stranding](https://hesela.dev/terms/memory-stranding/) - [cxl-memory-pooling](https://hesela.dev/terms/cxl-memory-pooling/) - [cxl-memory-sharing](https://hesela.dev/terms/cxl-memory-sharing/) Citations: - [c1] CXL memory expansion. https://en.wikipedia.org/wiki/Compute_Express_Link (accessed 2026-03-26) - [c2] Compute Express Link: Devices and Protocols, The Linux Kernel documentation. https://docs.kernel.org/driver-api/cxl/devices/device-types.html (accessed 2026-10-16) - [c3] Compute Express Link: Linux Init (Early Boot), The Linux Kernel documentation. https://docs.kernel.org/driver-api/cxl/linux/early-boot.html (accessed 2026-10-16) - [c4] Compute Express Link: Memory Hotplug, The Linux Kernel documentation. https://docs.kernel.org/driver-api/cxl/linux/memory-hotplug.html (accessed 2026-10-16) - [c5] Demystifying CXL Memory with Genuine CXL-Ready Systems and Devices, Y. Sun et al., arXiv:2303.15375v4, 2023. https://arxiv.org/abs/2303.15375v4 (accessed 2026-10-29) - [dax-617] Linux 6.17: DAX Driver Operation, Device DAX and kmem conversion. https://docs.kernel.org/6.17/driver-api/cxl/linux/dax-driver.html (accessed 2026-10-27) - [boot-617] Linux 6.17: Linux Init, early-boot RAM, NUMA nodes and memory tiers. https://docs.kernel.org/6.17/driver-api/cxl/linux/early-boot.html (accessed 2026-10-27) - [devices-617] Linux 6.17: Devices and Protocols, CXL.mem and Type-3 capacity. https://docs.kernel.org/6.17/driver-api/cxl/devices/device-types.html (accessed 2026-10-27) - [types] CXL Consortium: Introducing CXL 3.1, webinar Q&A (2024), traditional device types. https://computeexpresslink.org/blog/introducing-the-cxl-3-1-specification-webinar-qa-recap-2307/ (accessed 2026-10-27) - [physical] CXL Consortium: Supporting Persistent Memory, webinar Q&A (2021). https://computeexpresslink.org/blog/questions-from-the-compute-express-link-cxl-supporting-persistent-memory-webinar-2407/ (accessed 2026-10-27) - [pooling] CXL Consortium: CXL 2.0 memory pooling, webinar Q&A, part 2 (2021). https://computeexpresslink.org/blog/cxl-2-0-specification-memory-pooling-questions-from-the-webinar-part-2-2391/ (accessed 2026-10-27) - [sharing] CXL Consortium: Compute Express Link 3.0 white paper, page 3, shared memory. https://computeexpresslink.org/wp-content/uploads/2023/12/CXL_3.0_white-paper_FINAL.pdf (accessed 2026-10-27) - [hotplug-617] Linux 6.17: Memory Hotplug, memory-map placement and enabling settings. https://docs.kernel.org/6.17/driver-api/cxl/linux/memory-hotplug.html (accessed 2026-10-29) - [tutorial] CXL Consortium: Flash Memory Summit tutorial (August 2023), slides 27-28; pooled/shared FAM and two coherence models. https://computeexpresslink.org/wp-content/uploads/2023/12/CXL_FMS-2023-Tutorial_FINAL.pdf (accessed 2026-11-16) ### CXL Type-3 device URL: https://hesela.dev/terms/cxl-type-3-device/ Related article: https://hesela.com/tech/cxl-memory/ Also known as: CXL Type 3 memory device Status: shipping Record updated: 2026-11-16 A CXL Type-3 device exposes host-managed device memory through CXL.mem and implements CXL.io without CXL.cache. Note: Type 3 identifies a memory target rather than the CXL.cache source role of Type 2. [c1] Its capacity may be volatile, persistent, or both. [c2] A simple expander adds local capacity; a switched topology can pool capacity from multiple devices. Device type alone does not establish which switching, partitioning or multi-host features a deployment supports. [c2] In Linux 6.17, /dev/cxl/memN is a management mailbox. Applications access capacity through a configured memory region, not through that mailbox interface. [c3] Sources and caveats: - Device classification follows the CXL Consortium's traditional Type-3 role; newer peer-to-peer features should be checked separately. [c1] - Micron identifies CZ120 as CXL 2.0 Type 3 and separately states production-volume availability. This supports shipping memory expanders, not universal optional fabric features. [c4] [c5] Related terms: - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [hdm-decoder](https://hesela.dev/terms/hdm-decoder/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [cxl-memory-pooling](https://hesela.dev/terms/cxl-memory-pooling/) - [cxl-memory-sharing](https://hesela.dev/terms/cxl-memory-sharing/) Citations: - [c1] CXL Consortium: Introducing CXL 3.1, webinar Q&A (2024), traditional device types. https://computeexpresslink.org/blog/introducing-the-cxl-3-1-specification-webinar-qa-recap-2307/ (accessed 2026-10-27) - [c2] Linux 6.17: Devices and Protocols, CXL memory and Type-3 devices. https://docs.kernel.org/6.17/driver-api/cxl/devices/device-types.html (accessed 2026-10-27) - [c3] Linux 6.17: CXL Driver Operation, Decoders and Regions. https://docs.kernel.org/6.17/driver-api/cxl/linux/cxl-driver.html (accessed 2026-10-27) - [c4] Micron: CZ120 qualification milestone and production-volume availability through OEM channels. https://www.micron.com/about/press/news/micron-first-to-achieve-qualification-sample-milestone (accessed 2026-10-27) - [c5] Micron: CZ120 launch announcement, August 7, 2023, CXL 2.0 Type-3 support. https://investors.micron.com/news/press-release/2023/Micron-Launches-Memory-Expansion-Module-Portfolio-to-Accelerate-CXL-2-0-Adoption-08-07-2023/default.aspx (accessed 2026-10-27) ### Cyclic redundancy check URL: https://hesela.dev/terms/cyclic-redundancy-check/ Related analysis: https://hesela.com/analyses/crc-polynomials-error-patterns/ Also known as: CRC Status: shipping Record updated: 2026-10-27 A cyclic redundancy check is an error-detection code computed using polynomial division over binary coefficients. Note: Specify the generator, protected length and bit conventions; output width alone does not define detection coverage. [rfc3385] Hesela supplies deliberately constructed, same-length payload changes with unchanged CRC values, including a common-multiple pattern that passes both IEEE CRC-32 and CRC-32C. The examples do not estimate collision frequencies or establish independence between checks. [hesela-crc] For n codeword bits including the CRC, let A_w count undetectable masks of w flipped bits. With independent flips of the same probability p at every position (0 <= p <= 1), the per-codeword undetected-corruption probability is sum(w=1..n) A_w * p^w * (1-p)^(n-w). The zero mask is excluded. Conditioning on at least one flip divides this result by 1-(1-p)^n; it is undefined at p=0. These are error-model probabilities, not measured failure rates. [rfc3385] Limitations: - A CRC does not authenticate data against intentional modification. (sources: [rfc3385]) Sources and caveats: - RFC 3385 section 3 gives the independent-bit model. The probability given any corruption follows by conditioning on at least one flipped bit; burst and selected-pattern distributions require separate treatment. Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [crc32c](https://hesela.dev/terms/crc32c/) - [crc-burst-error](https://hesela.dev/terms/crc-burst-error/) - [hamming-distance](https://hesela.dev/terms/hamming-distance/) - [crc-concatenation](https://hesela.dev/terms/crc-concatenation/) Citations: - [rfc3385] Sheinwald et al. RFC 3385: iSCSI CRC/Checksum Considerations, sections 2-3 and 10 (2002). https://www.rfc-editor.org/rfc/rfc3385.html (accessed 2026-10-18) - [hesela-crc] Hesela: CRC polynomials, constructed error patterns and exact small-code enumeration. https://hesela.com/analyses/crc-polynomials-error-patterns/ (accessed 2026-10-18) ### D-GRAID URL: https://hesela.dev/terms/d-graid/ Also known as: Degrades Gracefully RAID Status: research Record updated: 2026-12-02 D-GRAID is a research storage-array design that combines fault-isolated placement and selective metadata replication to preserve access to surviving files after excess failures. Note: The FAST 2004 Alexander prototype supported ext2 and VFAT with RAID-0 or RAID-1 user-data layouts; RAID-5 support was future work. Replicated naming metadata keeps surviving files reachable, while additional striped copies recover parallelism lost by fault-isolated placement. [dgraid04] Its live-block recovery conservatively includes possibly live blocks because delayed filesystem updates can make on-disk allocation information stale. This is a filesystem-aware prototype, not OpenZFS dRAID or a generic degraded-array state. [dgraid04] [zconcepts23] FAST 2005 extended D-GRAID beneath Predator/SHORE: query dependencies determine useful fragments, including table-index pairs and join groups. Log snooping follows WAL sequence order; query access correlations require extra DBMS statistics. Its availability study used 16 disks without user-data redundancy, while timing tests used four disks. These are separate experiments, not fleet measurements. [dbaware05] Limitations: - Partial availability depends on surviving metadata and file placement; it does not guarantee that every file survives. (sources: [dgraid04]) - Database page collocation assumes compatible clustering; remapping writes to surviving disks requires available free space. (sources: [dbaware05]) Related terms: - [degraded-array](https://hesela.dev/terms/degraded-array/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [draid](https://hesela.dev/terms/draid/) - [distributed-spare](https://hesela.dev/terms/distributed-spare/) Citations: - [dgraid04] Sivathanu, Prabhakaran, A. C. Arpaci-Dusseau and R. H. Arpaci-Dusseau. Improving Storage System Availability with D-GRAID. FAST 2004, sections 3, 5-7 and 9. https://www.usenix.org/legacy/events/fast04/tech/sivathanu/sivathanu.pdf (accessed 2026-11-09) - [zconcepts23] OpenZFS 2.3 zpoolconcepts(7): dRAID virtual devices and hot spares. https://openzfs.github.io/openzfs-docs/man/v2.3/7/zpoolconcepts.7.html (accessed 2026-11-09) - [hesela-rebuild] Hesela: partial file availability, dRAID and recovery milestones. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#dgraid-availability (accessed 2026-11-09) - [dbaware05] Sivathanu, Bairavasundaram, A. C. Arpaci-Dusseau and R. H. Arpaci-Dusseau. Database-Aware Semantically-Smart Storage. FAST 2005, sections 3.2 and 4. https://www.usenix.org/legacy/event/fast05/tech/full_papers/sivathanu_db/sivathanu_db.pdf (accessed 2026-12-02) ### D-SPTF URL: https://hesela.dev/terms/d-sptf/ Related analysis: https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/ Also known as: Distributed Shortest-Positioning Time First Status: research Record updated: 2026-11-30 D-SPTF is a decentralized storage protocol that coordinates replicated read queues using cache hits and predicted disk positioning times. Note: A cache miss is forwarded to replica holders. Claims remove competing queued reads; concurrent bids prefer shorter positioning time, then lower brick ID. Pre-scheduling provides a short coordination window. [dsptf] Delayed or lost claims can still cause duplicate work. A claimant that fails before replying requires client timeout and retry. This is not an exactly-once guarantee. [dsptf] The ASPLOS 2004 evaluation uses DiskSim, not a deployed fleet. Modern SSD performance is not established. [dsptf] Sources and caveats: - Primary-paper review; no simulator rerun or hardware experiment. Related terms: - [adaptive-replica-selection](https://hesela.dev/terms/adaptive-replica-selection/) - [tied-request](https://hesela.dev/terms/tied-request/) - [seek-time](https://hesela.dev/terms/seek-time/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [shortest-positioning-time-first](https://hesela.dev/terms/shortest-positioning-time-first/) Citations: - [dsptf] Lumb, Golding and Ganger. D-SPTF: Decentralized Request Distribution in Brick-based Storage Systems. ASPLOS 2004, sections 3-5. https://www.pdl.cmu.edu/PDL-FTP/SelfStar/dsptf-asplos04.pdf (accessed 2026-11-09) ### D2FQ URL: https://hesela.dev/terms/d2fq/ Also known as: Device-Direct Fair Queueing Status: research Record updated: 2026-11-19 D2FQ is a research I/O scheduler that selects NVMe priority queues using per-flow virtual time to reduce host-side scheduling overhead. Note: Queue selection: completed bytes divided by flow weight advance virtual time. Each submission chooses a high, medium or low queue according to its lead over the global reference, avoiding a separate host staging step. Class weights adapt as contention changes. [slides] Arbitration counts commands, not bytes. Assigning a tenant a fixed queue priority therefore does not itself ensure weighted bandwidth sharing when request sizes or competing flow counts differ. D2FQ uses queue classes dynamically rather than dedicating one class to each tenant. [slides] Tuning: tighter virtual-time thresholds can improve short-term fairness but worsen tail latency. These thresholds are service-accounting distances, not time limits on request completion. [paper] Limitations: - Requires usable NVMe weighted round-robin support; the prototype does not use the urgent class. (sources: [paper]) - Short-term unfairness is evaluated empirically without a theoretical upper bound. (sources: [paper]) Sources and caveats: - Full-paper and presentation review; no D2FQ execution, hardware measurement or replication. - Evaluation used Linux 5.3.10 and an 800 GB Z-SSD; the NVMe-oF RAM disk tested scalability only, without WRR. [paper] Related terms: - [jains-fairness-index](https://hesela.dev/terms/jains-fairness-index/) - [flashfq](https://hesela.dev/terms/flashfq/) - [flin](https://hesela.dev/terms/flin/) - [nvme-submission-queue](https://hesela.dev/terms/nvme-submission-queue/) Citations: - [paper] Woo et al. D2FQ: Device-Direct Fair Queueing for NVMe SSDs. FAST 2021, pp. 403-415, sections 2.3-4. https://files.usenix.org/s3fs-public/cdn/fast21-woo.pdf (accessed 2026-11-16) - [slides] Woo et al. D2FQ, FAST 2021 presentation, slides 7-22. https://www.usenix.org/sites/default/files/conference/protected-files/fast21_slides_woo.pdf (accessed 2026-11-16) - [record] USENIX FAST 2021: D2FQ publication record. https://www.usenix.org/conference/fast21/presentation/woo (accessed 2026-11-16) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-11-16) ### Daisy Bloom filter URL: https://hesela.dev/terms/daisy-bloom-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Status: research Record updated: 2026-11-12 A Daisy Bloom filter varies each key's hash-probe count using input and query distributions to reduce space under a query-weighted error bound. Note: Mechanism: Different keys can use different numbers of bit probes, including zero probes that always answer positive. Insertions and queries use the same per-key rule, preserving positive answers for inserted keys. [daisy-paper] Error denominator: Definition 1 weights absent-key false positives by their probability among all queries. It does not divide by the probability of querying an absent key. Consequently, its bound is neither a per-key error bound nor necessarily the same percentage among negative queries. [daisy-paper] Model: The input set comes from n independent draws with replacement from P; queries follow Q. Theorem 4 assumes sum(p_x*q_x) <= epsilon/n and holds with high probability over the sampled sets. It bounds Daisy operations by ceil(log2(1/epsilon)); the separate constant-time construction is not the Daisy bit-array design. [daisy-paper] Model implication: The overlap condition also gives E[Pr(query is present)] <= n*sum(p_x*q_x) <= epsilon, by a union bound over sampled inputs. Hit-heavy synthetic examples illustrate denominator arithmetic, not typical inputs from this low-overlap model. Accounting: The analysis assumes constant-time access to distribution probabilities and excludes the oracle's storage. Practical comparisons must include that information and its lookup cost. [daisy-paper] Sources and caveats: - Primary-source synthesis of the published SWAT 2024 paper, not an implementation benchmark or a claim of production deployment. - The linked worked example is synthetic denominator arithmetic, not execution of the Daisy construction. [hesela-daisy] Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [learned-bloom-filter](https://hesela.dev/terms/learned-bloom-filter/) Citations: - [daisy-paper] Bercea, Houen and Pagh. Daisy Bloom Filters. SWAT 2024. DOI: 10.4230/LIPIcs.SWAT.2024.9. Definition 1, sections 1.1 and 5. https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.SWAT.2024.9 (accessed 2026-11-12) - [hesela-daisy] Hesela: Daisy filters and the error denominator. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#daisy-denominator (accessed 2026-11-12) ### Dash persistent hashing URL: https://hesela.dev/terms/dash/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: Dash-EH, Dash-LH Status: research Record updated: 2026-11-13 Dash is a persistent-memory hashing design that combines fingerprints, bucket load balancing and optimistic concurrency with deferred segment recovery. Note: Dash-EH uses extendible hashing, while Dash-LH uses linear hashing. Fingerprints avoid unnecessary key reads; matching candidates still require key comparison. [dash-paper] After a crash, segment repair runs on first access. Version-counter wraparound requires a broader reset. [dash-paper] An independent evaluation times process restart until requests can be served, not full repair of every segment. Process termination does not reproduce power loss. [hash-evaluation] Limitations: - Performance and restart timings depend on the tested implementation, hardware and workload. (sources: [dash-paper], [hash-evaluation]) Sources and caveats: - Source review of the 2020 design and 2021 independent evaluation; no benchmark replication or power-cut experiment. Related terms: - [cceh](https://hesela.dev/terms/cceh/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) Citations: - [dash-paper] Lu, Hao, Wang and Lo. Dash: Scalable Hashing on Persistent Memory. PVLDB 13(8), 2020, sections 4.2-4.8 and 6.8. DOI: 10.14778/3389133.3389134. https://www.vldb.org/pvldb/vol13/p1147-lu.pdf (accessed 2026-11-13) - [hash-evaluation] Hu et al. Persistent Memory Hash Indexes: An Experimental Evaluation. PVLDB 14(5), 2021, sections 3.3 and 4.9. DOI: 10.14778/3446095.3446101. https://www.vldb.org/pvldb/vol14/p785-chen.pdf (accessed 2026-11-13) - [hesela-pmem] Hesela: Dash recovery measurement boundaries. https://hesela.com/analyses/pmem-persistence-domains-dax/#dash-recovery (accessed 2026-11-13) ### DAT cartridge URL: https://hesela.dev/terms/dat-cartridge/ Also known as: DDS cartridge, 4 mm DAT tape Status: eol Record updated: 2026-10-22 A DAT cartridge is a 3.81 mm magnetic tape cassette recorded by helical scan in the DDS format, standardised by ECMA from 1990 and reaching 12 GB native on 125 m tape in DDS-3. Note: ECMA-170 (1992) specifies the cartridge with 60 m and 90 m tapes, Type A of 13 µm thickness and up to 60.5 m, Type B of 9 µm and up to 92.0 m. The family began with ECMA-139 (1990, ISO/IEC 10777) and continued with Data/DAT, DDS-DC and Data/DAT-DC, helical scan with new tape types allowing over 1 GB of user data. [ecma-170] DDS-3 (ECMA-236, 1996) on 125 m tape doubles linear density and uses more of each track for data, giving three times the DDS-2 capacity for a given length, 12 GB uncompressed or typically 24 to 36 GB compressed, a 2:1 to 3:1 ratio. Average track pitch is 9.053 µm and maximum density 5,999.7 flux transitions per millimetre, a bit cell of 0.1666 µm. [ecma-236] Each recorded cartridge carries one format, marked by recognition holes on the case, and a DDS-3 drive is not required to handle earlier formats. [ecma-236] Linux drives DAT through the generic SCSI tape driver, usually in variable-block mode with fairly large blocks for acceptable SCSI transfer rates, and on DDS drives the first partition set by the partition command is physically first. [linux-st-man] [linux-st] The DDS-3 ISO standard was confirmed in 2020. [iso-15521] Advantages: - Drive-side compression on DAT drives is supported through the same generic driver. (sources: [linux-st-man]) Sources and caveats: - The sources give no transfer rates, error rates, media life or end-of-production date, so the eol status rests on no production notice. - Arithmetic: 24 / 12 = 2 and 36 / 12 = 3. Related terms: - [tape](https://hesela.dev/terms/tape/) - [helical-scan](https://hesela.dev/terms/helical-scan/) - [dlt](https://hesela.dev/terms/dlt/) - [scsi](https://hesela.dev/terms/scsi/) Citations: - [c1] DAT cartridge. https://en.wikipedia.org/wiki/Digital_Audio_Tape (accessed 2026-03-26) - [ecma-170] ECMA-170, 1st edition, June 1992. 3,81 mm Wide Magnetic Tape Cartridge, Helical Scan Recording, DDS Format Using 60 m and 90 m Tapes. https://ecma-international.org/publications-and-standards/standards/ecma-170/ (accessed 2026-10-16) - [ecma-236] ECMA-236, 1st edition, June 1996. 3,81 mm Wide Magnetic Tape Cartridge, Helical Scan Recording, DDS-3 Format Using 125 m Tapes. https://www.ecma-international.org/wp-content/uploads/ECMA-236_1st_edition_june_1996.pdf (accessed 2026-10-16) - [linux-st-man] Linux man-pages: st(4), SCSI tape device. https://man7.org/linux/man-pages/man4/st.4.html (accessed 2026-10-16) - [linux-st] Linux kernel documentation: The SCSI Tape Driver. https://docs.kernel.org/scsi/st.html (accessed 2026-10-16) - [iso-15521] ISO/IEC 15521:1998. DDS-3 format using 125 m length tapes, ISO catalogue page. https://www.iso.org/standard/28109.html (accessed 2026-10-16) ### Data Center Bridging (DCB) URL: https://hesela.dev/terms/data-center-bridging/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: DCB Status: shipping Record updated: 2026-11-28 Data Center Bridging is a family of Ethernet enhancements for converged data-center networks with different traffic requirements. Note: Roles: PFC controls link-level congestion loss; Enhanced Transmission Selection assigns bandwidth among traffic classes; congestion notification and neighbor capability/configuration exchange address other parts of network operation. [dcb-scope] Interpretation: DCB is not a storage command protocol or another name for FCoE. Identify the supported features and their configuration instead of treating a DCB label as an end-to-end service guarantee. [dcb-scope] Related terms: - [priority-flow-control](https://hesela.dev/terms/priority-flow-control/) - [fcoe](https://hesela.dev/terms/fcoe/) - [fcoe-initialization-protocol](https://hesela.dev/terms/fcoe-initialization-protocol/) - [dcbx](https://hesela.dev/terms/dcbx/) Citations: - [dcb-scope] IEEE 802.1: Addressing and Data Center Bridging, enhancement roles. https://1.ieee802.org/dcb/ (accessed 2026-11-02) ### Data durability URL: https://hesela.dev/terms/data-durability/ Related analysis: https://hesela.com/analyses/s3-durability-eleven-nines-derivation/ Also known as: durability Status: unknown Record updated: 2026-11-16 Data durability is the ability of a storage system to preserve data over a stated period and within a specified failure model. Note: Preserving data and maintaining access are different goals. An intact copy can outlive a failed access path without being immediately reachable by its host. The tolerated failures and recovery mechanism must be specified. [snia-durability-availability] Object-storage durability targets can be published alongside separate availability and zone-coverage properties. A target is not an observed loss sample, and equal target percentages do not establish equal disaster coverage. [aws-s3-classes] When comparing estimates, record whether the event is first loss or lost volume, and whether the denominator is objects, bytes or systems. The companion analysis separates those questions from access-error arithmetic. Sources and caveats: - Conceptual definition; not a claim of measured reliability. The SNIA source discusses persistent-memory recovery, not a certification for all storage systems. Related terms: - [storage-availability](https://hesela.dev/terms/storage-availability/) - [mean-time-to-data-loss](https://hesela.dev/terms/mean-time-to-data-loss/) - [normalized-magnitude-data-loss](https://hesela.dev/terms/normalized-magnitude-data-loss/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [data-integrity](https://hesela.dev/terms/data-integrity/) - [sinfonia](https://hesela.dev/terms/sinfonia/) Citations: - [snia-durability-availability] SNIA: NVM PM Remote Access for High Availability, May 2019, section 4.1, pp. 13-15 (non-normative whitepaper). https://www.snia.org/sites/default/files/2024-12/SNIA-NVM-PM-Remote-Access-for-High-Availability-WP.pdf (accessed 2026-10-22) - [aws-s3-classes] AWS S3 User Guide: storage-class design targets and zone coverage. https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html (accessed 2026-10-22) ### Data Integrity Extensions (DIX) URL: https://hesela.dev/terms/data-integrity-extensions/ Related analysis: https://hesela.com/analyses/protection-information-escape-tags/ Also known as: DIX Status: shipping Record updated: 2026-11-13 Data Integrity Extensions let host software exchange protection information with a storage controller using metadata buffers separate from the data buffers. Note: DIX covers host-to-controller metadata exchange, while DIF covers the controller-to-target segment. Either can operate without the other; a DIF-capable disk alone does not establish host participation. Separate host scatter-gather lists preserve ordinary data-buffer layout. [dix-origin] Linux v6.12 distinguishes insertion, stripping and passing of PI. With host-side PI only, reads insert it and writes strip it; with target-side PI only, reads strip it and writes insert it. With both segments participating, reads and writes pass PI. These names describe the controller operation, not a guarantee that every check ran. [scsi-operations] Operation selection and check flags are separate. In the cited SCSI path, BIP_CTRL_NOCHECK suppresses controller-check requests and BIP_DISK_NOCHECK changes target checking. Record the actual command flags and where PI was generated before describing the protected path as application-to-media. [scsi-selection] A host guard need not be the on-disk CRC. The original design describes an optional IP checksum on the host segment, with controller conversion to CRC for the disk and the reverse on reads. Linux v6.12 selects the host IP or CRC profile from the adapter guard capability. A DIX label therefore does not specify one checksum algorithm for both segments; this is not a current adapter-support or performance claim. [dix-origin] [scsi-host-profile] Sources and caveats: - Terminology follows the original 2008 design paper; operation names and flags are scoped to Linux v6.12 SCSI, not NVMe commands or a current hardware-support matrix. - This is a source synthesis, not a controller experiment; no corruption-detection rate or performance claim is inferred. Related terms: - [protection-information](https://hesela.dev/terms/protection-information/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [pi-guard-tag](https://hesela.dev/terms/pi-guard-tag/) - [pi-reference-tag](https://hesela.dev/terms/pi-reference-tag/) - [sas](https://hesela.dev/terms/sas/) Citations: - [dix-origin] Petersen (2008), Linux Data Integrity Extensions, Linux Symposium vol. 2, sections 3, 3.1 and 4, pp. 152-153. https://oss.oracle.com/~mkp/docs/ols2008-petersen.pdf (accessed 2026-11-13) - [scsi-operations] Linux v6.12, SCSI protection operations and separate protection flags (GPL-2.0). https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/scsi/scsi_cmnd.h (accessed 2026-11-13) - [scsi-selection] Linux v6.12, sd_prot_op and sd_setup_protect_cmnd: operation selection and check masks (GPL-2.0-only). https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/scsi/sd.c (accessed 2026-11-13) - [scsi-host-profile] Linux v6.12, sd_dif_config_host: host-side IP or CRC integrity profile selection (GPL-2.0-only). https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/scsi/sd_dif.c (accessed 2026-11-13) ### Data integrity URL: https://hesela.dev/terms/data-integrity/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Status: unknown Record updated: 2026-11-17 Data integrity is the property that data has not undergone unintended or unauthorized alteration, destruction or loss. Note: Scope: Integrity concerns preservation of data, not whether the original values were true. A faithfully stored incorrect measurement can remain unchanged. State the protected data, allowed changes and observation boundary. [nist-integrity] [rfc4949] Storage checks: A checksum over a block can match an old block after a lost write. Identity and version checks answer different questions, and detecting a mismatch does not establish successful recovery. These distinctions are explicit in a model of single-error RAID protection. [parity] Trust: A mechanism intended to detect accidental errors does not necessarily protect against deliberate modification. If an attacker can replace both data and an unkeyed digest, a matching result does not establish authenticity. [rfc4949] Use: Durability describes preservation over time and specified failures; availability describes access. Those goals overlap with integrity but do not replace a check that the returned object has the expected identity and state. [hesela-integrity] Research boundary: FAST 2026 distinguishes a direct-I/O userspace PI interface from experimental filesystem-managed PI; the latter is not established as generally available by the paper. [linux-pi2026] Sources and caveats: - Terminology synthesis, not a storage certification. NIST lists context-dependent definitions; RFC 4949 is Informational and its terminology recommendations are the author's, not an IETF standard. - The FAST 2008 examples concern the paper's stated model; no new device experiment or failure-rate measurement is reported. Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [silent-data-corruption](https://hesela.dev/terms/silent-data-corruption/) - [data-durability](https://hesela.dev/terms/data-durability/) - [storage-availability](https://hesela.dev/terms/storage-availability/) - [metadata](https://hesela.dev/terms/metadata/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [lost-write](https://hesela.dev/terms/lost-write/) - [message-authentication-code](https://hesela.dev/terms/message-authentication-code/) - [data-serialization](https://hesela.dev/terms/data-serialization/) Citations: - [nist-integrity] NIST CSRC glossary: data integrity; definitions and source attribution. https://csrc.nist.gov/glossary/term/data_integrity (accessed 2026-11-15) - [rfc4949] RFC 4949: data integrity, data integrity service and checksum entries (Informational glossary). https://www.rfc-editor.org/rfc/rfc4949.html (accessed 2026-11-15) - [parity] Krioukov et al. Parity Lost and Parity Regained. FAST 2008, sections 2.3 and 4.3-4.6. https://www.usenix.org/legacy/event/fast08/tech/full_papers/krioukov/krioukov_html/main.html (accessed 2026-11-15) - [hesela-integrity] Hesela: Why a valid checksum can still return the wrong data. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-11-15) - [linux-pi2026] Gupta et al. Advancing Data Integrity in Linux. FAST 2026, sections 5.2, 6.1 and 8. https://www.usenix.org/system/files/fast26-gupta.pdf (accessed 2026-11-15) ### Data-reduction ratio URL: https://hesela.dev/terms/data-reduction-ratio/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: DRR Status: unknown Record updated: 2026-11-17 A data-reduction ratio compares the logical data represented with its corresponding stored footprint under a stated accounting convention. Note: Calculation: Divide logical bytes by corresponding stored bytes using the same data population, time and units. A 2:1 ratio means 50% savings against the logical baseline. A zero-footprint sample provides no finite ratio for planning. Scope: Reports differ in whether they count retained copies, metadata and allocation avoidance. Unwritten thin address space is not evidence of compressed data; identify what each counter includes. [ontap-capacity] Aggregation: For non-overlapping populations with matching accounting, sum logical and stored bytes separately. Two hypothetical 100 TB logical populations occupying 100 TB and 25 TB give 200 / 125 = 1.6:1, not the mean 2.5:1. Shared deduplicated blocks need a pool total or an allocation that counts each block once. This is arithmetic, not an array measurement. Population: A ratio for reducible data only excludes the unreducible portion. Do not apply it to the whole workload without accounting for that omitted data. [powerstore-reduction] Incoming mix: Let f be the fraction of incoming logical bytes reduced at ratio r, with the rest costing 1:1. For additive footprints, physical bytes per logical byte are (1 - f) + f / r. At f = 0.5 and r = 4, the ratio is 1 / 0.625 = 1.6:1. This hypothetical model fixes old data and overhead; it excludes shared blocks, new metadata, retained-version growth and competing writers. It is not a product counter formula or a capacity guarantee. Sources and caveats: - Terminology follows the cited accounting convention; no storage-array measurement or capacity guarantee is implied. - NetApp documents that ONTAP 9.13.1 and later exclude snapshots and thin provisioning from its data-reduction ratio; earlier displays differ. [ontap-capacity] Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [transparent-compression](https://hesela.dev/terms/transparent-compression/) - [usable-capacity](https://hesela.dev/terms/usable-capacity/) - [effective-capacity](https://hesela.dev/terms/effective-capacity/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [duplication-frequency-histogram](https://hesela.dev/terms/duplication-frequency-histogram/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [compression-ratio](https://hesela.dev/terms/compression-ratio/) - [deduplication-ratio](https://hesela.dev/terms/deduplication-ratio/) Citations: - [ontap-capacity] NetApp ONTAP: capacity reporting and measurements. https://docs.netapp.com/us-en/ontap/concepts/capacity-measurements.html (accessed 2026-10-22) - [powerstore-reduction] Dell PowerStore Monitoring: overall and reducible data-reduction ratios. https://www.dell.com/support/manuals/en-us/powerstore-9000/pwrstr-monitoring/data-reduction?guid=guid-db85dda3-fe0d-40f1-bd9a-703696fda302&lang=en-us (accessed 2026-10-23) ### Flash data retention URL: https://hesela.dev/terms/data-retention/ Status: shipping Record updated: 2026-11-18 Flash data retention is the ability of programmed NAND data to remain recoverable over time without refresh under specified wear, storage and read conditions. Note: Retention age measures time since programming, not drive power-on age. Early retention loss and read-reference adaptation complicate interpreting error behavior from wear alone. Programming temperature, storage-temperature history and reading temperature are distinct conditions; a near-zero net threshold shift can conceal opposing charge-loss and channel contributions in the studied 3D NAND device [an2023]. SSD-level qualification is distinct from a cell-level retention observation: the historical JESD218 explanation requires a specified powered-off retention interval as part of the endurance rating. A TBW figure without its qualification conditions does not specify an archival lifetime for arbitrary temperature and wear histories. [seagate-rating] See the distinction between rated writes and observed survival. [hesela-rating] Retention policy: Active refresh requires power. [fcr-retention] Retention-relaxation designs track data that outlive their initial guarantee and protect them before expiry. A short overwrite interval in a write stream does not describe every live byte on the device, so those traces do not justify a blanket archival-retention claim. [liu-retention] Sources and caveats: - The SSD qualification description is from Seagate TP618 (2010), not a review of the current full JESD218 standard. [seagate-rating] Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [qlc](https://hesela.dev/terms/qlc/) - [early-retention-loss](https://hesela.dev/terms/early-retention-loss/) - [read-retry](https://hesela.dev/terms/read-retry/) - [read-disturb](https://hesela.dev/terms/read-disturb/) - [retention-interference](https://hesela.dev/terms/retention-interference/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [cross-temperature-effect](https://hesela.dev/terms/cross-temperature-effect/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) - [nand-dwell-time](https://hesela.dev/terms/nand-dwell-time/) - [nand-self-recovery](https://hesela.dev/terms/nand-self-recovery/) - [nand-thermal-annealing](https://hesela.dev/terms/nand-thermal-annealing/) - [tbw](https://hesela.dev/terms/tbw/) - [jedec-solid-state](https://hesela.dev/terms/jedec-solid-state/) - [flash-correct-and-refresh](https://hesela.dev/terms/flash-correct-and-refresh/) - [warm](https://hesela.dev/terms/warm/) - [retention-relaxation](https://hesela.dev/terms/retention-relaxation/) - [retention-failure-recovery](https://hesela.dev/terms/retention-failure-recovery/) - [retention-optimized-reading](https://hesela.dev/terms/retention-optimized-reading/) - [accelerated-life-testing](https://hesela.dev/terms/accelerated-life-testing/) - [acceleration-factor](https://hesela.dev/terms/acceleration-factor/) Citations: - [luo] Luo et al. Improving 3D NAND Flash Memory Lifetime by Tolerating Early Retention Loss and Process Variation. POMACS 2018, sections 4.1, 4.3-4.4. https://ghose.cs.illinois.edu/papers/18sigmetrics_3dflash.pdf (accessed 2026-10-11) - [c1] Flash data retention. https://en.wikipedia.org/wiki/Flash_memory (accessed 2026-03-26) - [hesela] Hesela: NAND read-retry and evidence boundaries. https://hesela.com/analyses/nand-read-retry-latency/ (accessed 2026-10-11) - [heatwatch] Luo, Ghose, Cai, Haratsch and Mutlu. HeatWatch. HPCA 2018, sections 3.1-3.4 and 4.2. DOI: 10.1109/HPCA.2018.00050. https://ghose.cs.illinois.edu/papers/18hpca_heatwatch.pdf (accessed 2026-10-11) - [hesela3d] Hesela: 3D NAND retention, cell architecture and evidence limits. https://hesela.com/analyses/3d-nand-retention-evidence/ (accessed 2026-10-11) - [an2023] An et al. Effects of Poly-Si Grain Boundary on Retention Characteristics under Cross-Temperature Conditions in 3-D NAND Flash Memory. Micromachines 2023. https://doi.org/10.3390/mi14122199 (accessed 2026-10-13) - [hesela-recovery] Hesela: 3D NAND retention, self-recovery and thermal annealing evidence. https://hesela.com/analyses/3d-nand-retention-evidence/#self-recovery (accessed 2026-10-16) - [seagate-rating] Seagate. Establishing Industry Endurance Standards for Solid State Storage. TP618, November 2010, pp. 2-3. https://www.seagate.com/files/staticfiles/docs/pdf/whitepaper/tp618-ssd-tech-paper-us.pdf (accessed 2026-10-17) - [hesela-rating] Hesela. SSD wear indicators: rated TBW, qualification and host-write normalization. https://hesela.com/analyses/ssd-wear-out-failure-signatures/#rated-tbw (accessed 2026-10-17) - [liu-retention] Liu, Yang and Wu. Optimizing NAND Flash-Based SSDs via Retention Relaxation. FAST 2012, sections 4-6. https://www.usenix.org/event/fast12/tech/full_papers/Liu.pdf (accessed 2026-11-08) - [fcr-retention] Cai et al. Flash Correct-and-Refresh. ICCD 2012, sections IV-VI. DOI: 10.1109/ICCD.2012.6378623. https://people.inf.ethz.ch/omutlu/pub/flash-correct-and-refresh_iccd12.pdf (accessed 2026-11-08) ### Data sanitization URL: https://hesela.dev/terms/data-sanitization/ Status: shipping Record updated: 2026-12-02 Media sanitization is a process that makes recovery of target data infeasible for a specified level of effort. Note: NIST SP 800-88 Rev. 2 (September 2025) supersedes Rev. 1 and distinguishes clear, purge and destroy. Choose a method for the information sensitivity, media and intended reuse. Verification checks the operation's outcome; validation decides whether the evidence and remaining confidentiality risk are acceptable. For clear and purge, the guidance does not require elaborate post-sanitization content sampling unless organizational policy does. The method (clear, purge or destroy) is distinct from a technology-specific technique; Rev. 2 leaves most such technique details to standards such as IEEE 2883 or another standard accepted by organizational policy. [nist-r2] Advantages: - A documented sanitization record connects device identity, technique, tool version, verification and validation. (sources: [nist-r2]) Limitations: - A success message alone is not a universal certification of sanitization; investigate errors, anomalies and unsuitable techniques before release. (sources: [nist-r2]) Related terms: - [secure-erase](https://hesela.dev/terms/secure-erase/) - [sanitize-nvme](https://hesela.dev/terms/sanitize-nvme/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) - [trim](https://hesela.dev/terms/trim/) - [clear-sanitization](https://hesela.dev/terms/clear-sanitization/) - [purge-sanitization](https://hesela.dev/terms/purge-sanitization/) - [destroy-sanitization](https://hesela.dev/terms/destroy-sanitization/) - [sanitization-verification](https://hesela.dev/terms/sanitization-verification/) - [sanitization-validation](https://hesela.dev/terms/sanitization-validation/) - [self-encrypting-drive](https://hesela.dev/terms/self-encrypting-drive/) - [host-protected-area](https://hesela.dev/terms/host-protected-area/) - [device-configuration-overlay](https://hesela.dev/terms/device-configuration-overlay/) - [accessible-max-address-configuration](https://hesela.dev/terms/accessible-max-address-configuration/) - [nand-page-scrubbing](https://hesela.dev/terms/nand-page-scrubbing/) - [faded](https://hesela.dev/terms/faded/) Citations: - [nist-r2] NIST SP 800-88 Rev. 2 (2025), Guidelines for Media Sanitization, sections 3 and 4.5. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf (accessed 2026-10-14) - [hesela] Hesela: SSD sanitization: why TRIM and a successful command are not enough. https://hesela.com/analyses/ssd-sanitization-trim-evidence/ (accessed 2026-10-10) ### Data scrubbing URL: https://hesela.dev/terms/data-scrubbing/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: Disk scrubbing, Storage scrubbing Status: shipping Record updated: 2026-11-26 Data scrubbing is proactive verification of stored data to discover errors before ordinary access requires the affected content. Note: Verification layer and repair behavior matter. Media verification, parity checks and filesystem checksum scans are not equivalent. Btrfs mounting can replay a tree log even when the mount is read-only; this is a separate write boundary from the later scrub. [btrfs-mount] A mean inspection frequency can conceal long gaps. The same number of checks over the same window can produce different waits to detection; retain completed per-block verification intervals and coverage, not only scheduled job dates. [hesela-intervals] The selection rule also matters: a fixed-size uniform random subset and one equally long contiguous window need not have the same chance of finding clustered damage. Retain the sampled set and actual completed coverage; changing read order alone is distinct from replacing selected positions. [hesela-design] Read-only host traffic does not promise zero internal NAND programs. Repeated physical reads can disturb other cells, and controller relocation may program fresh pages. Planar MLC characterization establishes this mechanism, not a universal failure rate or safe scrub interval. Keep requested scan bytes, completed verification and internal maintenance separate. [cai-dsn15] Retain the observation cutoff and unfinished per-block gap as well as completed intervals. Dropping that gap changes the time window used to average hypothetical detection waits; treating the cutoff as a check invents completed verification. Missing log records cannot establish that no scan occurred. [hesela-censored] In NAND deletion research, page scrubbing instead reprograms a physical page to obscure old data. That destructive operation is distinct from the integrity checks described here. [wei-delete] Limitations: - Detection alone does not supply a valid replacement copy; repair depends on available redundancy. (sources: [zfs]) - Linux MD check is not guaranteed to be read-only for every RAID level. (sources: [md]) - Btrfs read-only scrub on a read-write mount can still write internally; it is not a full filesystem consistency check. (sources: [btrfs-scrub]) - Btrfs status can describe an old or cancelled run; resume does not initiate a new pass after a completed scrub. (sources: [btrfs-scrub]) Related terms: - [power-state-break-even-time](https://hesela.dev/terms/power-state-break-even-time/) - [read-after-write-verification](https://hesela.dev/terms/read-after-write-verification/) - [scsi-verify](https://hesela.dev/terms/scsi-verify/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [staggered-scrubbing](https://hesela.dev/terms/staggered-scrubbing/) - [raid-5](https://hesela.dev/terms/raid-5/) - [checksum](https://hesela.dev/terms/checksum/) - [resilver](https://hesela.dev/terms/resilver/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [btrfs-nodatasum](https://hesela.dev/terms/btrfs-nodatasum/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [btrfs-tree-log](https://hesela.dev/terms/btrfs-tree-log/) - [adaptive-scrubbing](https://hesela.dev/terms/adaptive-scrubbing/) - [mean-time-to-detection](https://hesela.dev/terms/mean-time-to-detection/) - [zfs-error-scrub](https://hesela.dev/terms/zfs-error-scrub/) - [interval-censoring](https://hesela.dev/terms/interval-censoring/) - [inspection-paradox](https://hesela.dev/terms/inspection-paradox/) - [sampling-design](https://hesela.dev/terms/sampling-design/) - [read-reclaim](https://hesela.dev/terms/read-reclaim/) - [read-disturb](https://hesela.dev/terms/read-disturb/) - [md-mismatch-count](https://hesela.dev/terms/md-mismatch-count/) - [patrol-read](https://hesela.dev/terms/patrol-read/) - [raid-consistency-check](https://hesela.dev/terms/raid-consistency-check/) - [opportunistic-scrubbing](https://hesela.dev/terms/opportunistic-scrubbing/) - [zfs-pool-checkpoint](https://hesela.dev/terms/zfs-pool-checkpoint/) - [ceph-deep-scrub](https://hesela.dev/terms/ceph-deep-scrub/) - [nand-page-scrubbing](https://hesela.dev/terms/nand-page-scrubbing/) Citations: - [zfs] OpenZFS master documentation: zpool-scrub(8), description and operation boundaries (retrieved 11 October 2026). https://openzfs.github.io/openzfs-docs/man/master/8/zpool-scrub.8.html (accessed 2026-10-11) - [md] Linux kernel documentation: RAID arrays, sync_action and mismatch_cnt (retrieved 11 October 2026). https://docs.kernel.org/admin-guide/md.html (accessed 2026-10-11) - [hesela-scrub] Hesela: Scrubbing, detection time and repair boundaries. https://hesela.com/analyses/scrubbing-detection-not-durability/ (accessed 2026-10-11) - [btrfs-scrub] Btrfs documentation: btrfs-scrub(8), checksum exclusions and read-only limitations. https://btrfs.readthedocs.io/en/latest/btrfs-scrub.html (accessed 2026-10-16) - [btrfs-mount] Btrfs documentation: btrfs(5), tree logging and rescue mount options. https://btrfs.readthedocs.io/en/latest/btrfs-man5.html (accessed 2026-10-15) - [hesela-intervals] Hesela: exact inspection-interval worksheet and storage assumptions. https://hesela.com/analyses/scrubbing-detection-not-durability/#interval-variability (accessed 2026-10-17) - [hesela-design] Hesela: sampling-design counterexample, derivation and enumerated tests. https://hesela.com/analyses/scrubbing-detection-not-durability/#sampling-design (accessed 2026-10-18) - [cai-dsn15] Cai et al., Read Disturb Errors in MLC NAND Flash Memory, DSN 2015, sections 2.3 and 3. https://users.ece.cmu.edu/~omutlu/pub/flash-read-disturb-errors_dsn15.pdf (accessed 2026-10-19) - [hesela-censored] Hesela: unfinished inspection windows, exact bounds and independent timeline tests. https://hesela.com/analyses/scrubbing-detection-not-durability/#unfinished-window (accessed 2026-10-20) - [wei-delete] Wei et al. Reliably Erasing Data from Flash-Based Solid State Drives. FAST 2011, sections 4.2-4.4. https://www.usenix.org/legacy/events/fast11/tech/full_papers/Wei.pdf (accessed 2026-11-22) ### Data serialization URL: https://hesela.dev/terms/data-serialization/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Serialization, Data serialisation, Serialisation Status: unknown Record updated: 2026-11-21 Data serialization converts structured values into a sequential text or binary representation for storage or transmission. Note: Representation: A format defines representable values; an application supplies further meaning and constraints. CBOR separates its generic data model from application-specific models and byte encodings. Successful parsing does not establish application validity. [serialization-cbor] Text and bytes: JSON represents a value as text; UTF-8 is required for exchange outside a closed ecosystem. Binary formats such as CBOR specify bytes directly. Serialization is not transaction serializability, compression or encryption. [serialization-json] [serialization-cbor] Round trips: Types and values survive only as far as the format and language mapping allow. Python's JSON encoder converts supported non-string dictionary keys to strings, so encoding followed by decoding need not reproduce the original dictionary. [serialization-python-json] Numeric precision also depends on the decoder; JSON permits implementations to limit it. [serialization-json] Byte identity: Whitespace and string escapes can give the same JSON value different bytes. Protocol Buffers' deterministic output is not canonical across schema, build or library changes. A protocol can instead define a deterministic CBOR profile; the chosen rules still matter. [serialization-json] [serialization-protobuf] [serialization-cbor] Recovery: Preserve the representation version and required interpretation metadata. Decide whether acceptance requires original bytes, decoded values or application invariants; these are different checks. Bound input size and decoder resources for untrusted data. [serialization-cbor] Sources and caveats: - Source synthesis with selected JSON worked examples, not a general canonicalization algorithm or a storage benchmark. - The recovery checklist is an engineering inference from format and interpretation requirements, not a guarantee made by every serializer. Related terms: - [cbor](https://hesela.dev/terms/cbor/) - [i-json](https://hesela.dev/terms/i-json/) - [metadata](https://hesela.dev/terms/metadata/) - [byte-order](https://hesela.dev/terms/byte-order/) - [data-integrity](https://hesela.dev/terms/data-integrity/) - [sqlite-serialization](https://hesela.dev/terms/sqlite-serialization/) - [json-canonicalization-scheme](https://hesela.dev/terms/json-canonicalization-scheme/) - [variable-length-integer](https://hesela.dev/terms/variable-length-integer/) - [zigzag-encoding](https://hesela.dev/terms/zigzag-encoding/) - [base64](https://hesela.dev/terms/base64/) - [base64url](https://hesela.dev/terms/base64url/) - [json-text-sequence](https://hesela.dev/terms/json-text-sequence/) - [newline-delimited-json](https://hesela.dev/terms/newline-delimited-json/) - [protocol-buffers](https://hesela.dev/terms/protocol-buffers/) - [csv](https://hesela.dev/terms/csv/) - [media-type](https://hesela.dev/terms/media-type/) - [file-signature](https://hesela.dev/terms/file-signature/) Citations: - [serialization-json] RFC 8259: JSON grammar, numbers, strings and UTF-8 exchange, sections 2, 5, 6, 7 and 8.1. https://www.rfc-editor.org/rfc/rfc8259.html (accessed 2026-11-17) - [serialization-cbor] RFC 8949: CBOR data models, deterministic encoding, validity and security, sections 2, 4.2, 5.3 and 10. https://www.rfc-editor.org/rfc/rfc8949.html (accessed 2026-11-17) - [serialization-protobuf] Protocol Buffers: Proto Serialization Is Not Canonical. https://protobuf.dev/programming-guides/serialization-not-canonical/ (accessed 2026-11-17) - [serialization-python-json] Python 3.12: json.dumps, supported dictionary keys and round-trip behavior. https://docs.python.org/3.12/library/json.html#json.dumps (accessed 2026-11-17) ### Data sieving URL: https://hesela.dev/terms/data-sieving/ Also known as: I/O data sieving Status: research Record updated: 2026-12-02 Data sieving serves a noncontiguous file request by transferring larger contiguous spans and extracting or replacing the requested portions in memory. Note: ROMIO's 1999 implementation bounds temporary buffers and processes large request extents in parts. Extra bytes in gaps can outweigh the benefit of fewer calls. Independent writes use locked read-modify-write to preserve gap contents against concurrent updates. [romio99] Collective I/O can combine complementary requests across processes; it is distinct from independently sieving each process's request. [romio99] Example: four 4 KiB ranges beginning at 0, 16, 32 and 48 KiB contain 16 KiB of useful data. One spanning read transfers 52 KiB: 3.25 times the useful bytes. With starts 1 MiB apart, the span becomes 3076 KiB, or 192.25 times the same useful bytes. The linked example calculates buffer-limited alternatives. [example] These are logical transfer counts, not device I/O measurements or predicted speedups. Cache state, filesystem splitting, concurrency and copy costs remain outside the example. [example] Sources and caveats: - Historical implementation review plus a constructed byte-accounting example; not a measurement of a current MPI library. Related terms: - [disk-directed-io](https://hesela.dev/terms/disk-directed-io/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [collective-io](https://hesela.dev/terms/collective-io/) - [two-phase-io](https://hesela.dev/terms/two-phase-io/) Citations: - [romio99] Thakur, Gropp and Lusk. Data Sieving and Collective I/O in ROMIO. Frontiers 1999, pp. 182-189, sections 3-5. https://web.cels.anl.gov/~thakur/papers/romio-coll.pdf (accessed 2026-12-02) - [example] Hesela: bounded-span byte accounting, runnable example and limitations. https://hesela.dev/research/noncontiguous-io/README.md (accessed 2026-12-02) ### Database checkpoint URL: https://hesela.dev/terms/database-checkpoint/ Related analysis: https://hesela.com/analyses/wal-checkpoints-torn-pages/ Also known as: WAL checkpoint Status: shipping Record updated: 2026-11-14 A database checkpoint records engine-defined recovery state to bound or reduce the work needed after a crash. Note: PostgreSQL recovery uses the redo position associated with a checkpoint. SQLite checkpointing transfers committed page content from WAL to the main database file, and readers can delay completion. These mechanisms are not identical, and a checkpoint does not create an independent backup. ARIES fuzzy checkpoints record recovery metadata without requiring dirty-page writes during the checkpoint. In our controlled WAL experiment, PASSIVE returned busy=0 while backfill was incomplete; ending the read transaction allowed completion without closing its connection. [hesela-readers] Advantages: - Can reduce the amount of log replay required after a crash. (sources: [pg-checkpoints]) Limitations: - More frequent PostgreSQL checkpoints can increase data-page flushing and full-page-image WAL traffic. (sources: [pg-checkpoints]) Related terms: - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [full-page-write](https://hesela.dev/terms/full-page-write/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [fuzzy-checkpoint](https://hesela.dev/terms/fuzzy-checkpoint/) - [rollback-journal](https://hesela.dev/terms/rollback-journal/) - [sqlite-super-journal](https://hesela.dev/terms/sqlite-super-journal/) - [checkpoint-starvation](https://hesela.dev/terms/checkpoint-starvation/) - [sqlite-wal-end-mark](https://hesela.dev/terms/sqlite-wal-end-mark/) - [zfs-intent-log](https://hesela.dev/terms/zfs-intent-log/) - [hybrid-log](https://hesela.dev/terms/hybrid-log/) - [concurrent-prefix-recovery](https://hesela.dev/terms/concurrent-prefix-recovery/) Citations: - [pg-checkpoints] PostgreSQL 18: WAL Configuration. https://www.postgresql.org/docs/18/wal-configuration.html (accessed 2026-10-11) - [pg-archive] PostgreSQL 18: Continuous Archiving and Point-in-Time Recovery. https://www.postgresql.org/docs/18/continuous-archiving.html (accessed 2026-10-11) - [sqlite-wal] SQLite: Write-Ahead Logging (unversioned documentation). https://sqlite.org/wal.html (accessed 2026-10-11) - [hesela-wal] WAL, checkpoints and torn pages: three different recovery guarantees. https://hesela.com/analyses/wal-checkpoints-torn-pages/ (accessed 2026-10-11) - [aries] Mohan et al. ARIES. ACM TODS 17(1), 1992, pp. 121-122, section 5.4. https://www.cs.cmu.edu/~15849g/readings/mohan92.pdf (accessed 2026-10-12) - [hesela-readers] Hesela: SQLite WAL checkpoint starvation observations. https://hesela.com/analyses/sqlite-wal-checkpoint-starvation/ (accessed 2026-10-14) ### Database write amplification URL: https://hesela.dev/terms/database-write-amplification/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Status: shipping Record updated: 2026-11-13 Database byte write amplification is storage-engine output bytes written divided by logical input bytes over a stated interval and accounting boundary. Note: Specify whether input counts keys, values or both, and whether output includes WAL, compaction and value-store cleaning. This ratio is distinct from host-to-NAND write amplification. [wisckey] Aggregate compatible measurements by adding their output and input byte counters, then dividing the totals. An arithmetic mean of per-batch ratios generally gives a different answer; weighting those ratios by their input bytes recovers the aggregate. Keep log-only cleaning ratios separate from whole-engine amplification. [hesela-kv] TRIAD's paper reports (flushed bytes + compacted bytes) / flushed bytes. That denominator is not logical application input. Reducing both counted byte totals proportionally leaves this ratio unchanged; retain the original counters when comparing work. [triad-paper] Related terms: - [write-amplification](https://hesela.dev/terms/write-amplification/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [compaction](https://hesela.dev/terms/compaction/) - [read-amplification](https://hesela.dev/terms/read-amplification/) - [space-amplification](https://hesela.dev/terms/space-amplification/) - [value-log](https://hesela.dev/terms/value-log/) - [triad](https://hesela.dev/terms/triad/) - [rum-conjecture](https://hesela.dev/terms/rum-conjecture/) Citations: - [wisckey] Lu et al. WiscKey: Separating Keys from Values in SSD-conscious Storage. FAST 2016, pp. 133-148, sections 3.2-3.3. https://files.usenix.org/s3fs-public/cdn/fast16-papers-lu.pdf (accessed 2026-11-11) - [hesela-kv] Key-value separation: the cleaning bill moves elsewhere. https://hesela.com/analyses/key-value-separation-cleaning-cost/ (accessed 2026-10-19) - [triad-paper] Balmau et al. TRIAD. USENIX ATC 2017, pp. 363-375; sections 4.1-4.3 and 5.1-5.3. https://www.usenix.org/system/files/conference/atc17/atc17-balmau.pdf (accessed 2026-11-10) ### Direct Access URL: https://hesela.dev/terms/dax/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: DAX, filesystem DAX Status: shipping Record updated: 2026-11-16 Direct Access is a Linux mechanism that lets suitable memory-like storage serve file data without an intervening page-cache copy. Note: For memory-like block devices, page-cache pages would be unnecessary copies of the storage, so DAX performs reads and writes directly against the device and maps it into userspace for file mappings. It does not by itself flush CPU caches or establish application crash consistency. [dax-docs] The kernel documentation lists 5 filesystems with DAX support, namely ext2, ext4, xfs, virtiofs and erofs, and requires a filesystem block size equal to the kernel PAGE_SIZE. On ext4 and xfs the persistent FS_XFLAG_DAX preference and the active S_DAX state are distinct. The options dax=inode, the default, dax=never and dax=always decide how the preference applies, and statx reports the active state through STATX_ATTR_DAX. [dax-docs] MAP_SYNC, available since Linux 4.15, adds a mapping guarantee used with appropriate CPU instructions rather than making every store automatically durable. [mmap-docs] Namespace mode also matters: ndctl sector mode disables DAX while a Block Translation Table provides atomic sector updates. That protection is not added beneath a DAX mapping, and sector atomicity is not an arbitrary multi-sector transaction guarantee. [ndctl-mode] Namespace reconfiguration is not a data-preserving mode switch. The ndctl --reconfig operation destroys and recreates the namespace. Transfer existing contents through backup and restore; old bytes that remain visible do not establish preservation. [ndctl-mode] Advantages: - Avoids holding a second copy of file data in DRAM, so mapped access reaches the storage media directly. (sources: [dax-docs]) Limitations: - Setting FS_XFLAG_DAX on an existing file does not immediately change its S_DAX state, so the effective mode must be checked rather than assumed. (sources: [dax-docs]) - Without struct page support, memory mapped from a DAX file fails get_user_pages, and RDMA, sendfile and splice on it do not work. (sources: [dax-docs]) Sources and caveats: - dax-docs is the Linux kernel documentation page Direct Access for files, re-read on 2026-10-22 in the motivation, usage and implementation sections. - The 5 filesystems, the PAGE_SIZE block-size rule, the dax= options and the struct page restriction come from dax-docs. - mmap-docs is the Linux man-pages mmap(2) page, re-read on 2026-10-22, and is the source of Linux 4.15. - ndctl-mode documents the sector/BTT incompatibility with DAX; it does not imply that the backup-energy source changes the namespace access mode. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [map-sync](https://hesela.dev/terms/map-sync/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) - [nvdimm-n](https://hesela.dev/terms/nvdimm-n/) - [device-dax](https://hesela.dev/terms/device-dax/) - [nova](https://hesela.dev/terms/nova/) - [splitfs](https://hesela.dev/terms/splitfs/) - [aerie](https://hesela.dev/terms/aerie/) - [kuco](https://hesela.dev/terms/kuco/) - [nova-fortis](https://hesela.dev/terms/nova-fortis/) - [madfs](https://hesela.dev/terms/madfs/) - [winefs](https://hesela.dev/terms/winefs/) Citations: - [dax-docs] Linux kernel documentation. Direct Access for files: motivation, usage, S_DAX state and struct page limits. https://docs.kernel.org/filesystems/dax.html (accessed 2026-10-22) - [mmap-docs] Linux man-pages. mmap(2), MAP_SYNC and MAP_SHARED_VALIDATE. https://man7.org/linux/man-pages/man2/mmap.2.html (accessed 2026-10-22) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/ (accessed 2026-10-13) - [ndctl-mode] ndctl-create-namespace(1): sector, fsdax and devdax modes; BTT disables DAX. https://github.com/pmem/ndctl/blob/main/Documentation/ndctl/ndctl-create-namespace.txt (accessed 2026-11-03) ### Data Center Bridging Exchange (DCBX) URL: https://hesela.dev/terms/dcbx/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: DCBX, Data Center Bridging Exchange, Data Center Bridging Capabilities Exchange Status: shipping Record updated: 2026-11-28 DCBX is an LLDP-based protocol that exchanges Data Center Bridging capabilities and configuration between directly connected Ethernet peers. Note: DCBX carries configuration in LLDP type-length-value records (TLVs); PFC pauses transmission for selected priorities and ETS allocates bandwidth among traffic classes. Exchanging settings does not itself perform either data-path function. [ieee-dcb] [cx-dcbx] The feature records have different roles. ETS has separate configuration and recommendation TLVs; its willing field belongs to the configuration TLV. OpenLLDP describes PFC willingness and a tie-break when both peers are willing. Its APP TLV makes application-priority information available for applications to use; an advertisement alone does not prove that traffic was classified accordingly. [ets-tlv] [pfc-tlv] [app-tlv] IEEE and pre-standard CEE modes need compatible peer configuration. The AOS-CX 10.16 guide for the 8400 documents DCBX as disabled by default and dependent on LLDP, with the switch advertising that it will not adopt its peer's configuration. Those are platform-specific behaviors, not universal DCBX defaults. [cx-dcbx] For diagnosis, distinguish local advertised, received peer and effective settings. Successful exchange on one link does not establish lossless operation across a path, successful FIP login or durable storage writes. This follows from the separate protocol roles, not from a switch experiment. [ieee-dcb] [cx-dcbx] Sources and caveats: - Architecture and implementation-documentation synthesis; no packet capture, interoperability test or storage-durability experiment. - The willing attribute is feature-specific; ETS recommendation and APP must not be described as having the same field. [ets-tlv] [app-tlv] Related terms: - [data-center-bridging](https://hesela.dev/terms/data-center-bridging/) - [priority-flow-control](https://hesela.dev/terms/priority-flow-control/) - [fcoe](https://hesela.dev/terms/fcoe/) Citations: - [ieee-dcb] IEEE 802.1 DCB task-group overview: discovery, PFC and ETS roles. https://1.ieee802.org/dcb/ (accessed 2026-11-28) - [cx-dcbx] HPE AOS-CX 10.16 QoS Guide, 8400: DCBx operation and guidelines. https://arubanetworking.hpe.com/techdocs/AOS-CX/10.16/HTML/qos_8400/Content/Chp_DCB/dcb.htm (accessed 2026-11-28) - [ets-tlv] Intel OpenLLDP, pinned b3b93169: lldptool-ets attributes and operation. https://github.com/intel/openlldp/blob/b3b931697a13e9eecd51c19f83a0f23f2ddab1ec/docs/lldptool-ets.8 (accessed 2026-11-28) - [pfc-tlv] Intel OpenLLDP, pinned b3b93169: lldptool-pfc attributes and operation. https://github.com/intel/openlldp/blob/b3b931697a13e9eecd51c19f83a0f23f2ddab1ec/docs/lldptool-pfc.8 (accessed 2026-11-28) - [app-tlv] Intel OpenLLDP, pinned b3b93169: lldptool-app attributes and operation. https://github.com/intel/openlldp/blob/b3b931697a13e9eecd51c19f83a0f23f2ddab1ec/docs/lldptool-app.8 (accessed 2026-11-28) ### ddrescue mapfile URL: https://hesela.dev/terms/ddrescue-mapfile/ Related analysis: https://hesela.com/analyses/ddrescue-image-provenance/ Also known as: ddrescue recovery map Status: shipping Record updated: 2026-10-21 A ddrescue mapfile records input byte ranges and their rescue states so copying can resume without rereading ranges marked finished. Note: The data-block list records input offsets, lengths and states including non-tried, non-trimmed, non-scraped, bad-sector or finished. Preserve input/output offsets and the original map with its corresponding image version. A finished state is recovery bookkeeping, not comparison against a trusted digest. [gnu] Generate mode reconstructs an approximate map by treating nonzero output sectors as finished. Old destination bytes can be mistaken for recovered data, while genuine zero sectors can be treated as non-tried. Sparse output requires an empty or zeroed destination. [gnu] A controlled 4096-byte example reached a complete map after resume while 512 stale bytes remained from earlier sparse writes into a nonzero file. Another pair had identical image bytes but different acquisition coverage. These are constructed software cases, not hardware failure rates. [experiment] Advantages: - Retains interval-level progress for interrupted rescue operations. (sources: [gnu]) Limitations: - A completion check applies only to its selected rescue domain. (sources: [gnu]) Sources and caveats: - GNU 1.30 manual and implementation reviewed; twelve cases repeated from a pinned source build. [gnu] [experiment] Related terms: - [sparse-file](https://hesela.dev/terms/sparse-file/) - [checksum](https://hesela.dev/terms/checksum/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [guid-partition-table](https://hesela.dev/terms/guid-partition-table/) Citations: - [gnu] GNU ddrescue 1.30 manual: mapfile structure, generate mode and ddrescuelog. https://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html (accessed 2026-10-18) - [experiment] Hesela: ddrescue image provenance, twelve controlled cases. https://hesela.dev/datasets/ddrescue-image-provenance/ (accessed 2026-10-18) ### DDSketch URL: https://hesela.dev/terms/ddsketch/ Related analysis: https://hesela.com/analyses/time-series-rollups-versioned-changes/ Also known as: Distributed Distribution Sketch Status: research Record updated: 2026-11-20 DDSketch is a mergeable quantile sketch that uses indexed value bins to control relative-value error, subject to its mapping and storage limits. Note: The original positive-value construction uses fixed logarithmic bins. Its unbounded form supports insertion, deletion and merging; bounded variants collapse bins and can lose the stated accuracy for affected quantiles. Uncollapsed bins still approximate values. [ddsketch-paper] The reviewed Java implementation requires equal index mappings when merging and adds observation counts. Its weighted accept method rejects negative counts; the paper's deletion capability is not permission to pass negative weights to this API. Its quantile selection uses q*(n-1), not the nearest-rank ceil(q*n) convention. [ddsketch-java] Memory and accuracy depend on the store. An unbounded dense store grows with the covered value range; capped stores collapse extreme indexes when necessary. Keep the mapping, store policy and representable range with serialized data. [ddsketch-stores] A successful merge does not establish disjoint observation coverage or resolve a revised window. This is a provenance requirement inferred from additive counts, not an implementation defect. Sources and caveats: - Source review of the 2019 paper and Java implementation pinned to 0f403e84572be0c38e5a3e955986c4f436404204; no DDSketch execution or performance benchmark. Related terms: - [quantile-sketch](https://hesela.dev/terms/quantile-sketch/) - [quantile](https://hesela.dev/terms/quantile/) - [latency-histogram-bin](https://hesela.dev/terms/latency-histogram-bin/) Citations: - [ddsketch-paper] Masson, Rim and Lee. DDSketch. PVLDB 12(12), 2195-2205, 2019; sections 1-2. DOI 10.14778/3352063.3352135. https://www.vldb.org/pvldb/vol12/p2195-masson.pdf (accessed 2026-11-20) - [ddsketch-java] DataDog sketches-java, commit 0f403e84572be0c38e5a3e955986c4f436404204: DDSketch accept, mergeWith and getValueAtQuantile. https://github.com/DataDog/sketches-java/blob/0f403e84572be0c38e5a3e955986c4f436404204/src/main/java/com/datadoghq/sketch/ddsketch/DDSketch.java (accessed 2026-11-20) - [ddsketch-stores] DataDog sketches-java, commit 0f403e84572be0c38e5a3e955986c4f436404204: DDSketches mapping and bounded/unbounded store contracts. https://github.com/DataDog/sketches-java/blob/0f403e84572be0c38e5a3e955986c4f436404204/src/main/java/com/datadoghq/sketch/ddsketch/DDSketches.java (accessed 2026-11-20) ### Deallocated read behavior URL: https://hesela.dev/terms/deallocated-read-behavior/ Also known as: Read after deallocation Status: shipping Record updated: 2026-10-23 The interface-defined data or error returned when a host reads a deallocated logical block. Note: In NVMe 1.4a, DLFEAT describes deallocated data values and DULBE controls the supported deallocated/unwritten-block error. This concerns the logical interface, not direct inspection of physical media. DLFEAT is not a Boolean zero-read flag, and support for DULBE is not its current enablement. [nvme-1-4a] In NVM Command Set 1.1, a successful Dataset Management command need not deallocate the requested blocks. For blocks actually deallocated or unwritten, supported and enabled DULBE causes a read error. Otherwise, DRB in DLFEAT reports all-00h or all-FFh data; when DRB is zero (not reported), this revision allows either pattern. Subsequent reads remain deterministic until a write. These guarantees do not apply to ranges merely submitted for deallocation. [nvme-nvm-1-1] Limitations: - Linux discard_zeroes_data always returns zero and should not be used to infer readback semantics. (sources: [linux-abi]) Related terms: - [discard](https://hesela.dev/terms/discard/) - [trim](https://hesela.dev/terms/trim/) - [scsi-unmap](https://hesela.dev/terms/scsi-unmap/) - [nvme](https://hesela.dev/terms/nvme/) - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [nvme-dlfeat](https://hesela.dev/terms/nvme-dlfeat/) - [nvme-dulbe](https://hesela.dev/terms/nvme-dulbe/) - [nvme-write-zeroes](https://hesela.dev/terms/nvme-write-zeroes/) Citations: - [nvme-1-4a] NVM Express 1.4a: sections 6.7, 6.7.1.1 and Figure 247. https://nvmexpress.org/wp-content/uploads/NVM-Express-1_4a-2020.03.09-Ratified.pdf (accessed 2026-10-11) - [linux-abi] Linux 6.12: stable sysfs block ABI, discard attributes. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-10-11) - [hesela-discard] Hesela: Discard is not zeroing. https://hesela.com/analyses/discard-is-not-zeroing/ (accessed 2026-10-11) - [nvme-nvm-1-1] NVM Express NVM Command Set 1.1: Dataset Management, sections 3.3.3 and 3.3.3.2.1. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.1-2024.08.05-Ratified.pdf (accessed 2026-10-18) ### Decompression bomb URL: https://hesela.dev/terms/decompression-bomb/ Also known as: compression bomb Status: unknown Record updated: 2026-10-17 A decompression bomb is compressed input that expands into disproportionately large output and can exhaust resources when decoding is insufficiently bounded. Note: A valid compressed stream can amplify storage or memory demand without malformed data or nested archives. The risk is excessive resource use relative to the application's limits, not a universal compression-ratio threshold. [cwe409] Controls: Limit cumulative decoded bytes and processing time independently of decoder history memory. Apply output accounting across concatenated frames, not just the first frame. A decoded-size header is not a trusted allocation instruction. [zstd-api] A bounded synthetic CLI probe decoded 4 MiB from two small-window frames under a 1 MiB decoder-memory setting. This illustrates why a window limit is not an output quota, not an attack against a deployed system. [hesela-resources] Sources and caveats: - CWE-409 describes the general weakness; the CLI observation is a fixed-input demonstration on Zstandard 1.5.5, not evidence of a vulnerability in the codec. - Output and time budgets are engineering guidance, not a claim that the linked harness safely accepts untrusted input. Related terms: - [zstandard](https://hesela.dev/terms/zstandard/) - [zstd-window-size](https://hesela.dev/terms/zstd-window-size/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) Citations: - [cwe409] MITRE CWE-409: Improper Handling of Highly Compressed Data (Data Amplification). https://cwe.mitre.org/data/definitions/409.html (accessed 2026-10-17) - [zstd-api] Zstandard v1.5.7 API manual: frame content size and ZSTD_d_windowLogMax. https://facebook.github.io/zstd/doc/api_manual_v1.5.7.html (accessed 2026-10-17) - [hesela-resources] Hesela: Zstandard decoder windows versus decoded-output budgets. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#resources (accessed 2026-10-17) ### Deduplication ratio URL: https://hesela.dev/terms/deduplication-ratio/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: Data deduplication ratio, Dedup ratio Status: unknown Record updated: 2026-11-22 Deduplication ratio compares bytes required without duplicate sharing with bytes required after duplicate sharing for the same stated population and accounting scope. Note: Scope: This ratio isolates deduplication rather than crediting compression or unwritten thin-provisioned space. Declare which stored versions, matching domain and overhead are included. SNIA distinguishes deduplication-only reduction from other space-saving effects. [ratio-snia] Payload convention: For exact matching with one stored copy per distinct identity, divide all occurrence bytes by unique payload bytes. For equal-length chunks, the occurrence-count ratio gives the same result; otherwise calculate from byte totals rather than assuming count ratios are equivalent. References, indexes, replicas and allocation padding are outside this payload-only calculation; include them separately for an all-in footprint. Recipe cost: A reference per occurrence grows with logical content even when unique payload stays fixed. Recipe compression changes that cost. [ratio-recipes] Selected objects: A reported deduplication ratio may cover only deduplication-eligible objects. That selection is not automatically the compressible-data population used by a reported compression ratio. [ratio-vsan] Stage boundary: Let L be all occurrence bytes, U unique bytes before compression, and C their compressed bytes. For positive denominators, (L / U) * (U / C) = L / C. This cancellation requires the same U, time and accounting boundary; separately reported dashboard ratios do not establish those conditions. Limits: A zero denominator does not provide a finite sizing ratio. The ratio alone establishes neither restore locality nor the additional bytes freed by deleting one retained version. Shared content can remain referenced by another version. Sources and caveats: - The L/U and U/C example is dimensional accounting for a stated deduplication-then-compression model, not a claim about every product's processing order. - No measured array result, deduplication benchmark or capacity guarantee is implied. - The selected-population example follows Broadcom's vSAN ESA 9.1 counter definitions, not a universal convention. [ratio-vsan] Related terms: - [data-reduction-ratio](https://hesela.dev/terms/data-reduction-ratio/) - [deduplication](https://hesela.dev/terms/deduplication/) - [compression-ratio](https://hesela.dev/terms/compression-ratio/) - [content-based-sampling](https://hesela.dev/terms/content-based-sampling/) Citations: - [ratio-snia] SNIA Dictionary: compression ratio and data deduplication ratio, generated 17 November 2026. https://www.snia.org/sites/default/files/snia-dictionary-pdf/SNIADictionary.pdf (accessed 2026-11-17) - [ratio-vsan] Broadcom KB 315553: vSAN ESA 9.1 space-efficiency counter populations. https://knowledge.broadcom.com/external/article/315553 (accessed 2026-11-17) - [ratio-recipes] Meister, Brinkmann and Suss, File Recipe Compression in Data Deduplication Systems, FAST 2013, sections 1-3. https://www.usenix.org/system/files/conference/fast13/fast13-final54.pdf (accessed 2026-11-17) ### Deduplication side channel URL: https://hesela.dev/terms/deduplication-side-channel/ Related analysis: https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/ Also known as: duplicate-presence oracle Status: research Record updated: 2026-10-23 A deduplication side channel leaks information about stored content through observable behavior caused by duplicate detection. Note: In a source-side, cross-user setting, upload suppression can reveal prior content presence without identifying its owner. Server-side matching after a complete upload removes that particular signal, not every possible side channel. The observations concern historical service versions, not present-day provider behavior. [harnik2010] Repeating the test over candidate versions turns presence detection into content recovery. A 4-digit PIN needs 10,000 candidate documents and a contract with 301 possible salary values needs 301. Aborting an upload right after the signal leaves no copy, so the test can be repeated, and a pair of candidate files can carry one bit of a covert channel per backup. [harnik2010] A fixed threshold such as 10 copies before upload suppression is insecure, because an attacker can see whether suppression starts one upload early. The proposed fix draws a secret per-file threshold uniformly from 2 to d, for example d = 20, and suppresses upload only once that many clients hold the file. [harnik2010] A later server-aided design avoids the signal by deduplicating only on the server. [dupless2013] Advantages: - Server-side-only deduplication removes the upload-suppression signal while keeping storage savings. (sources: [dupless2013]) Limitations: - The randomized threshold forgoes bandwidth savings for the first uploads of every file. (sources: [harnik2010]) Sources and caveats: - harnik2010 re-read 2026-10-23 for the three attacks, the PIN and salary examples and the randomized threshold. - dupless2013 read 2026-10-23 for its treatment of client-side deduplication as a side channel. - A companion analysis on encrypted deduplication is listed but not used in prose. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [convergent-encryption](https://hesela.dev/terms/convergent-encryption/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [proof-of-ownership](https://hesela.dev/terms/proof-of-ownership/) Citations: - [harnik2010] Harnik, Pinkas and Shulman-Peleg. Side channels in cloud services, the case of deduplication in cloud storage (2010), sections 2-3. https://www.pinkas.net/PAPERS/hps.pdf (accessed 2026-10-23) - [hesela-dedup-security] Hesela: Encrypted deduplication: who can test a file guess? https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/ (accessed 2026-10-18) - [dupless2013] Bellare, Keelveedhi and Ristenpart. DupLESS: Server-Aided Encryption for Deduplicated Storage. USENIX Security 2013, section 2. https://files.usenix.org/s3fs-public/cdn/sec13-paper_bellare.pdf (accessed 2026-10-23) ### Data deduplication URL: https://hesela.dev/terms/deduplication/ Also known as: dedup Status: shipping Record updated: 2026-12-04 Data deduplication replaces duplicate content with references to shared stored blocks or chunks within a defined matching scope. Note: Sharing content does not determine physical replica count or guarantee fast restores. Restore locality and cache behavior must be assessed separately from capacity savings. Matching scope, index cost and handling of existing data are implementation-specific; these boundaries depend on the filesystem. [openzfs-dedup] [hesela-dedup-restore] Chunk boundaries are another independent choice. Copying snapshots between repositories with different chunker parameters can reduce reuse; the documented setup copies parameters when initializing a destination. [restic-copy] Confidentiality also depends on the matching layer: a trusted client's plaintext index is not cross-user ciphertext matching. [hesela-dedup-security] Candidate-limited lookup can retain duplicates that a complete index would find; sparse indexing makes this trade-off explicit. [lillibridge2009] Deduplicating sampled positions need not recover the full population's ratio; a duplication-frequency histogram records the observed repetition distribution. [harnik2016] Deleting a backup need not release its logical size. Chunks may still be shared, and unreferenced payload can remain inside live containers. Snapshot removal with forget and collection with prune are separate operations. [restic-pruning] A last-reference marker alone also cannot resolve every selective-retention policy; the linked derivation states the exact chronological-suffix condition. [hesela-reclamation] Collection policy can leave unused payload after a successful run. Borg 1.4.1 documents a default 10% segment-compaction threshold; compact --dry-run does nothing rather than forecasting reclaimable space. [borg-compaction] Chunk-audit coverage does not determine incomplete-file impact. [hesela-audit-impact] Sources and caveats: - The snapshot-removal and pruning distinction refers to restic v0.19.1 at the pinned documentation commit. [restic-pruning] - The audit examples use synthetic equal-size chunks, not fleet loss rates. Historical replication work weighted chunks by dependent files or bytes. [bhagwat2006] Related terms: - [hash-challenges](https://hesela.dev/terms/hash-challenges/) - [metadedup](https://hesela.dev/terms/metadedup/) - [resemblance-detection](https://hesela.dev/terms/resemblance-detection/) - [delta-compression](https://hesela.dev/terms/delta-compression/) - [hyperloglog](https://hesela.dev/terms/hyperloglog/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) - [object-storage](https://hesela.dev/terms/object-storage/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [chunk-fragmentation](https://hesela.dev/terms/chunk-fragmentation/) - [container-capping](https://hesela.dev/terms/container-capping/) - [forward-assembly-area](https://hesela.dev/terms/forward-assembly-area/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [rolling-hash](https://hesela.dev/terms/rolling-hash/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [convergent-encryption](https://hesela.dev/terms/convergent-encryption/) - [deduplication-side-channel](https://hesela.dev/terms/deduplication-side-channel/) - [proof-of-ownership](https://hesela.dev/terms/proof-of-ownership/) - [sparse-indexing](https://hesela.dev/terms/sparse-indexing/) - [fideduperange](https://hesela.dev/terms/fideduperange/) - [duplication-frequency-histogram](https://hesela.dev/terms/duplication-frequency-histogram/) - [warc-revisit-record](https://hesela.dev/terms/warc-revisit-record/) - [zfs-deduplication-table](https://hesela.dev/terms/zfs-deduplication-table/) - [idedup](https://hesela.dev/terms/idedup/) - [destor](https://hesela.dev/terms/destor/) - [revdedup](https://hesela.dev/terms/revdedup/) - [dedupsearch](https://hesela.dev/terms/dedupsearch/) - [idea-index](https://hesela.dev/terms/idea-index/) - [deduplication-ratio](https://hesela.dev/terms/deduplication-ratio/) - [content-addressed-storage](https://hesela.dev/terms/content-addressed-storage/) - [birthday-bound](https://hesela.dev/terms/birthday-bound/) - [minhash](https://hesela.dev/terms/minhash/) - [jaccard-similarity](https://hesela.dev/terms/jaccard-similarity/) - [gogetafs](https://hesela.dev/terms/gogetafs/) Citations: - [hesela-dedup-security] Hesela: Encrypted deduplication: who can test a file guess? https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/ (accessed 2026-10-18) - [c1] Data deduplication. https://en.wikipedia.org/wiki/Data_deduplication (accessed 2026-03-26) - [openzfs-dedup] OpenZFS documentation: Deduplication. https://openzfs.github.io/openzfs-docs/Basic%20Concepts/Data%20Storage/Deduplication.html (accessed 2026-10-11) - [hesela-dedup-restore] Deduplication ratio does not predict restore cost. https://hesela.com/analyses/deduplication-restore-fragmentation/ (accessed 2026-10-11) - [restic-copy] Restic 0.19.1 documentation: Ensuring deduplication for copied snapshots. https://restic.readthedocs.io/en/stable/045_working_with_repos.html#ensuring-deduplication-for-copied-snapshots (accessed 2026-10-12) - [hesela-cdc] Content-defined chunking: boundaries are not identity. https://hesela.com/analyses/content-defined-chunking-boundaries/ (accessed 2026-10-12) - [lillibridge2009] Lillibridge et al. Sparse Indexing: Large Scale, Inline Deduplication Using Sampling and Locality. USENIX FAST 2009, pp. 111-123. https://www.usenix.org/legacy/event/fast09/tech/full_papers/lillibridge/lillibridge.pdf (accessed 2026-10-19) - [harnik2016] Harnik, Khaitzin and Sotnikov. Estimating Unseen Deduplication. FAST 2016, sections 2.1 and 3.3. https://files.usenix.org/s3fs-public/cdn/fast16-papers-harnik.pdf (accessed 2026-11-11) - [restic-pruning] Restic v0.19.1: snapshot removal and pruning. https://github.com/restic/restic/blob/6aa3a516ce654808a1f28f9fa21e9b7c8e6e90bf/doc/060_forget.rst (accessed 2026-10-23) - [hesela-reclamation] Hesela: backup deletion and reclaimable containers. https://hesela.com/analyses/deduplication-restore-fragmentation/#reclamation (accessed 2026-10-23) - [borg-compaction] Borg 1.4.1: compact threshold and dry-run behavior. https://borgbackup.readthedocs.io/en/1.4.1/usage/compact.html (accessed 2026-10-23) - [hesela-audit-impact] Hesela: exact synthetic chunk-audit and restore-impact examples, code, native probe and source provenance. https://hesela.dev/research/dedup-audit-impact/README.md (accessed 2026-11-22) - [bhagwat2006] Bhagwat et al. Providing High Reliability in a Minimum Redundancy Archival Storage System. MASCOTS 2006, sections 4-6. https://www.crss.us/pub/bhagwat-mascots06.html (accessed 2026-11-22) ### DedupSearch URL: https://hesela.dev/terms/dedupsearch/ Also known as: deduplication-aware keyword search Status: research Record updated: 2026-11-17 DedupSearch is a two-phase research algorithm that scans unique stored chunks for byte strings and then resolves matches to logical files. Note: The physical phase records complete matches and boundary prefixes and suffixes; the logical phase follows file recipes to join partial matches in file order. Physical adjacency alone cannot establish a cross-chunk match. [elias2022] Unlike a persistent inverted index, the result database is built for the submitted keywords. Recipe traversal and partial-result storage remain costs even when duplicate payload is scanned only once. The evaluation includes text, source code and binary VM backups, not just natural-language terms. [elias2022] Sources and caveats: - Full-text source review, especially sections 3, 5 and 6; no native DedupSearch benchmark or paper-result reproduction. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [destor](https://hesela.dev/terms/destor/) - [idea-index](https://hesela.dev/terms/idea-index/) Citations: - [elias2022] Elias et al. DedupSearch: Two-Phase Deduplication Aware Keyword Search. FAST 2022, pp. 233-246. https://www.usenix.org/system/files/fast22-elias.pdf (accessed 2026-11-17) - [hesela] Hesela: searching shared chunks and reconstructing file boundaries. https://hesela.com/analyses/deduplication-restore-fragmentation/#dedup-aware-search (accessed 2026-11-17) ### Default ACL URL: https://hesela.dev/terms/default-acl/ Related analysis: https://hesela.com/analyses/posix-acl-restore-permissions/ Also known as: POSIX default access control list Status: shipping Record updated: 2026-11-15 A default ACL is a directory-associated permission template used to initialize the access ACL of newly created child objects. Note: Creation: on Linux, a default ACL replaces normal umask processing, but requested creation-mode bits still constrain the inherited access ACL. This differs from the ACL mask itself. [umask] Measured contrast: with umask 0077, a requested 0666 creation yielded 0600 without a default ACL but 0660 with the probe's template. Requesting 0600 under the template retained the named entry while masking its permissions to zero. [hesela-acl] Recovery scope: preserve directory defaults separately from current file ACLs when future child creation is part of the required behavior. Do not assume changing a default retroactively updates existing children. [acl] Limitations: - Preserving metadata alone does not establish successful access under the destination's identities and security policy. Related terms: - [posix-access-control-list](https://hesela.dev/terms/posix-access-control-list/) - [acl-mask](https://hesela.dev/terms/acl-mask/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [umask](https://hesela.dev/terms/umask/) - [setgid-directory](https://hesela.dev/terms/setgid-directory/) Citations: - [acl] Linux ACL project: acl(5), permission-bit correspondence and object creation. https://man7.org/linux/man-pages/man5/acl.5.html (accessed 2026-10-19) - [umask] Linux man-pages: umask(2), interaction with default ACLs. https://www.man7.org/linux/man-pages/man2/umask.2.html (accessed 2026-10-19) - [hesela-acl] Restoring Linux ACLs: identical bytes, different permissions. https://hesela.com/analyses/posix-acl-restore-permissions/ (accessed 2026-10-19) ### Default object retention (S3) URL: https://hesela.dev/terms/default-object-retention/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: S3 bucket default retention, DefaultRetention Status: shipping Record updated: 2026-10-20 Default object retention is an S3 bucket rule that supplies retention settings to new object versions when the upload omits explicit retention settings. Note: Changing a bucket default does not protect or revise existing versions; those require a separate retention operation. [s3-existing-retention] An authorized upload's explicit mode and period override the default, so the default alone is not an enforced minimum. It may also initialize variable retention through an event hold. [configure] Advantages: - A bucket-level rule can assign retention to new uploads without repeating settings in each upload request. (sources: [s3-default-api]) Limitations: - Replicated source retention controls override destination defaults; without source controls, the configured destination default applies if present. (sources: [s3-replica-retention]) - Event-hold policy conditions check supplied request values, not inherited defaults; control permission to change bucket configuration separately. (sources: [manage]) Related terms: - [object-lock](https://hesela.dev/terms/object-lock/) - [object-versioning](https://hesela.dev/terms/object-versioning/) - [legal-hold](https://hesela.dev/terms/legal-hold/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) Citations: - [s3-existing-retention] AWS Storage Blog: Applying Amazon S3 Object Lock at scale for petabytes of existing data. https://aws.amazon.com/blogs/storage/applying-amazon-s3-object-lock-at-scale-for-petabytes-of-existing-data/ (accessed 2026-10-20) - [s3-default-api] Amazon S3 API: PutObjectLockConfiguration. https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectLockConfiguration.html (accessed 2026-10-20) - [s3-replica-retention] Amazon S3: What does Amazon S3 replicate? Object Lock retention precedence. https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-what-is-isnot-replicated.html (accessed 2026-10-20) - [configure] Amazon S3: Configuring S3 Object Lock. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html (accessed 2026-10-20) - [manage] Amazon S3: Object Lock considerations. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html (accessed 2026-10-20) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-20) ### Disk defect skipping URL: https://hesela.dev/terms/defect-skipping/ Related article: https://hesela.com/tech/ibm-3340-winchester/ Also known as: IBM 3340 defect skipping Status: unknown Record updated: 2026-11-10 Disk defect skipping formats a record around a known defective medium region so that normal reads bypass a gap instead of storing customer data there. Note: In the IBM 3340 design, factory tests located defects and the track home address recorded their displacement. Formatting either split a record field or enlarged an existing gap. This is distinct from correcting corrupted bits or relocating a logical sector to spare storage. Mulvany (1974, pp. 502-504) reports 128 bytes reserved on each 3348 track and a maximum allowed defect length of 16 bytes. Formatting the affected record required an extra revolution; subsequent normal reads and update writes did not incur that formatting step. These are constraints of that design, not specifications for current HDDs or a field failure-rate measurement. Advantages: - The controller attachment microprogram hid the gap handling from system and user software. (sources: [mulvany1974]) Limitations: - Factory-known defect avoidance did not eliminate ECC or provide an unlimited mechanism for newly developing defects. (sources: [mulvany1974]) Related terms: - [winchester-architecture](https://hesela.dev/terms/winchester-architecture/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [count-key-data](https://hesela.dev/terms/count-key-data/) - [sector-slipping](https://hesela.dev/terms/sector-slipping/) Citations: - [mulvany1974] R. B. Mulvany, Engineering Design of a Disk Storage Facility with Data Modules, IBM J. Res. Dev. 18(6), 489-505 (1974); pp. 489-494, 502-504. https://www.mirrorservice.org/sites/www.bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/186/ibmrd1806D.pdf (accessed 2026-10-11) ### DEFLATE URL: https://hesela.dev/terms/deflate/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: Deflate, raw DEFLATE Status: shipping Record updated: 2026-11-30 DEFLATE is a lossless compressed-data format combining length-distance references and Huffman coding, with an additional uncompressed block form. Note: Compressed blocks use fixed or dynamic Huffman codes; stored blocks carry uncompressed bytes. Match lengths are 3-258 bytes and backward distances are 1-32768 bytes. The distance limit bounds history, not stream length. Only stored blocks have a 65535-byte data limit. [rfc1951] Raw DEFLATE has no wrapper payload checksum. The zlib format adds Adler-32 and can identify a preset dictionary; gzip adds a member header, CRC32 and uncompressed size modulo 2^32. These formats are not interchangeable decoder inputs. [rfc1950] [rfc1952] A match can overlap the output it creates. A length 5 at distance 2 after XY appends XYXYX. Decoding therefore needs evolving history, not just a frozen copy of earlier bytes. [rfc1951] zlib Z_SYNC_FLUSH byte-aligns output but retains history. Z_FULL_FLUSH also resets history for later decoding. Both emit 00 00 ff ff; inflateSync finds only a candidate, not a certified restart. [zlib-restart] In synthetic native-zlib controls, the full-flush suffix decoded correctly; the sync-flush suffix failed without history. A literal marker inside stored data even led to Z_STREAM_END with no input left, but yielded DECOY instead of the original payload. Decoder completion alone cannot establish the original boundary. [restart-results] Rapidgzip accepts prefetched chunks by the preceding chunk's actual end offset. Its seek index retains bit offsets, decoded offsets and history windows. Plausible block discovery and validated stream position are separate steps. [rapidgzip] Limitations: - Huffman coding is block-local, but references can cross block boundaries; locating a block does not guarantee independent decoding. [rfc1951] - A wrapper checksum can detect corruption only when checked; RFC 1952 permits a compliant gzip decoder to skip its trailer. It does not authenticate the archive. [rfc1950] [rfc1952] Sources and caveats: - Primary-format synthesis, not a performance benchmark or a historical claim about first implementation. RFC 1951 is Informational. - Restart controls use synthetic raw-DEFLATE inputs and native zlib 1.3, not a Rapidgzip benchmark or a measurement of corruption frequency. Related terms: - [gzip](https://hesela.dev/terms/gzip/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) - [block-independent-compression](https://hesela.dev/terms/block-independent-compression/) - [zip-archive](https://hesela.dev/terms/zip-archive/) - [checksum](https://hesela.dev/terms/checksum/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [huffman-coding](https://hesela.dev/terms/huffman-coding/) - [lz77](https://hesela.dev/terms/lz77/) - [adler-32](https://hesela.dev/terms/adler-32/) Citations: - [rfc1951] RFC 1951: DEFLATE format, sections 2 and 3.2-3.3 (Informational, May 1996). https://www.rfc-editor.org/rfc/rfc1951.html (accessed 2026-11-11) - [rfc1950] RFC 1950: zlib wrapper, dictionary identifier and Adler-32, section 2.2. https://www.rfc-editor.org/rfc/rfc1950.html (accessed 2026-11-11) - [rfc1952] RFC 1952: gzip member header and trailer, section 2.3.1. https://www.rfc-editor.org/rfc/rfc1952.html (accessed 2026-11-11) - [hesela-archives] Hesela: DEFLATE blocks, history and wrappers. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#deflate-foundations (accessed 2026-11-11) - [zlib-restart] zlib 1.3 API: deflate flush modes and inflateSync candidate search. https://github.com/madler/zlib/blob/v1.3/zlib.h (accessed 2026-11-30) - [restart-results] Hesela: native zlib restart controls, results and reproduction instructions. https://hesela.dev/research/deflate-restart/README.md (accessed 2026-11-30) - [rapidgzip] Knespel and Brunst: Rapidgzip (HPDC 2023), sections 1.2-1.3 and 3. https://arxiv.org/html/2308.08955v1 (accessed 2026-11-30) ### Degaussing URL: https://hesela.dev/terms/degaussing/ Status: shipping Record updated: 2026-10-22 Degaussing applies a strong magnetic field matched to a medium's coercivity to disrupt recorded magnetization, sanitizing suitable tape and disk media but not flash. Note: NIST SP 800-88 Rev. 2 treats degaussing as a possible purge technique, not an approved destroy technique. The field must match the medium's coercivity, its ability to resist demagnetization, and too weak a field can leave data recoverable. Servo damage can make a drive inoperable without sanitizing it, flash is not sanitized at all, and many existing degaussers lack the force for higher-coercivity recording. [nist-r2] Degausser ratings in oersteds must equal or exceed those of the media. In a 2021 evaluated list degaussers carried 3,000 Oe for tape and 5,000 Oe for longitudinal and perpendicular disks, against 3,000 Oe for LTO-6 and LTO-7, 2,800 Oe for LTO-4 and LTO-5, 1,850 Oe for DLT and 520 Oe for a legacy mainframe cartridge. Disk ratings rose from 2,200 Oe for drives of 1995 or earlier to 5,000 Oe for 2004-2005. [nsa-epl] Evaluation accepts only degaussers producing at least 30,000 gauss throughout the chamber, enough for most commercial media in 2020 though heat- and microwave-assisted recording will need more, and requires 40 devices per hour for electromagnetic and 100 for permanent-magnet units. [nsa-req] For classified hard disks degaussing must be followed by physically deforming the platters, making it a step before destruction rather than a replacement. [nsa-epl] Advantages: - Suitable media are purged without relying on the host data interface. (sources: [nist-r2]) Limitations: - Loss of device usability is not proof of successful sanitization. (sources: [nist-r2]) - Listed equipment is not guaranteed to keep performing and should be re-tested with an approved field verification device. (sources: [nsa-epl]) Sources and caveats: - The NSA/CSS evaluation documents govern classified media of one government; their requirements are not general rules. - Ratings come from the October 2021 edition of the evaluated list; later editions may differ. Related terms: - [tape](https://hesela.dev/terms/tape/) - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [purge-sanitization](https://hesela.dev/terms/purge-sanitization/) - [destroy-sanitization](https://hesela.dev/terms/destroy-sanitization/) - [sanitization-verification](https://hesela.dev/terms/sanitization-verification/) - [sanitization-validation](https://hesela.dev/terms/sanitization-validation/) - [hdd](https://hesela.dev/terms/hdd/) - [lto](https://hesela.dev/terms/lto/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) - [clear-sanitization](https://hesela.dev/terms/clear-sanitization/) Citations: - [c1] Degaussing. https://en.wikipedia.org/wiki/Degaussing (accessed 2026-03-26) - [nist-r2] NIST SP 800-88 Rev. 2 (2025). Guidelines for Media Sanitization, section 3.1.2. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf (accessed 2026-10-14) - [nsa-req] NSA/CSS Requirements for Magnetic Degaussers, 2021, sections 3, 4.5 and 4.6. https://www.nsa.gov/portals/75/documents/resources/everyone/media-destruction/NSA_CSS%20Requirements%20for%20Magnetic%20Degaussers.pdf (accessed 2026-10-16) - [nsa-epl] NSA/CSS Evaluated Products List for Magnetic Degaussers, October 2021. https://media.defense.gov/2021/Oct/05/2002867895/-1/-1/0/NSAEPLMAGNETICDEGAUSSERSJOCT2021.PDF (accessed 2026-10-16) ### Degraded array URL: https://hesela.dev/terms/degraded-array/ Related analysis: https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/ Also known as: Degraded RAID, Degraded mode Status: shipping Record updated: 2026-11-09 A degraded array is a redundant storage array operating with less than its configured healthy redundancy because one or more members are unavailable or not fully synchronized. Note: Degraded does not mean that every additional failure is survivable: remaining tolerance depends on the redundancy group and which members or blocks are affected [zconcepts]. In Linux MD, degraded counts missing members and decreases as devices become active; a dirty and degraded RAID5 or RAID6 array may have untrustworthy parity, so normal assembly can be refused [md]. A one-member-degraded RAID 6 and a one-member-degraded RAID 5 do not have the same remaining protection. Record the level, missing members and unreadable fragments in the affected stripe before interpreting a read error [hesela-parity]. Limitations: - Continued access is not evidence that every stored block is readable or that full redundancy has returned. (sources: [zconcepts]) Related terms: - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [hot-spare](https://hesela.dev/terms/hot-spare/) - [resilver](https://hesela.dev/terms/resilver/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-6](https://hesela.dev/terms/raid-6/) - [raid-10](https://hesela.dev/terms/raid-10/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [d-graid](https://hesela.dev/terms/d-graid/) Citations: - [zconcepts] OpenZFS 2.3: zpoolconcepts(7), device failure and hot spares. https://openzfs.github.io/openzfs-docs/man/v2.3/7/zpoolconcepts.7.html (accessed 2026-10-13) - [md] Linux 6.12 documentation: RAID arrays, recovery, resync and degraded state. https://docs.kernel.org/6.12/admin-guide/md.html (accessed 2026-10-13) - [hesela-rebuild] Hesela: RAID rebuild read-error models and resilver boundaries. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/ (accessed 2026-10-13) - [hesela-parity] Hesela: RAID 5/6 capacity and per-stripe recovery boundaries. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#parity-budget-heading (accessed 2026-10-15) ### Delayed allocation URL: https://hesela.dev/terms/delayed-allocation/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: delalloc Status: shipping Record updated: 2026-10-21 A filesystem allocation strategy that defers choosing physical storage locations for data already accepted into its buffered write path. Note: Linux FIEMAP marks such extents DELALLOC and UNKNOWN; UNKNOWN alone does not identify delayed allocation. An unwritten extent already has allocation. Deferred placement does not by itself establish whether accounting space was reserved, nor prove persistence. Linux v6.8 ext4_file_getattr includes reserved delayed-allocation blocks in the reported block count. In Hesela's same-host observation, this count stayed unchanged while synchronization removed DELALLOC from the returned mapping. Related terms: - [file-extent](https://hesela.dev/terms/file-extent/) - [unwritten-extent](https://hesela.dev/terms/unwritten-extent/) - [file-preallocation](https://hesela.dev/terms/file-preallocation/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [writeback-error](https://hesela.dev/terms/writeback-error/) - [fsync](https://hesela.dev/terms/fsync/) - [fiemap](https://hesela.dev/terms/fiemap/) - [ext4-auto-da-alloc](https://hesela.dev/terms/ext4-auto-da-alloc/) - [ext4-data-journal](https://hesela.dev/terms/ext4-data-journal/) Citations: - [fiemap] Linux 6.12: FIEMAP extent states and mapping flags. https://docs.kernel.org/6.12/filesystems/fiemap.html (accessed 2026-10-16) - [hesela-allocation] Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ (accessed 2026-10-16) - [ext4-getattr] Linux v6.8 source: ext4_file_getattr includes delayed-allocation reservations. https://github.com/torvalds/linux/blob/v6.8/fs/ext4/inode.c#L5215-L5244 (accessed 2026-10-16) - [hesela-observer-data] Hesela: nine-file FIEMAP observation with code and environment. https://hesela.dev/research/fiemap-observer.json (accessed 2026-10-16) ### Delayed cache hit URL: https://hesela.dev/terms/delayed-hit/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: Delayed hit Status: research Record updated: 2026-11-08 A delayed cache hit is a request for a nonresident object that waits for an earlier fetch of that object to complete. Note: Delayed hits measure waiting, not saved backend fetches; coalescing is a separate rule. [delayed-lower] [latency-pipeline] With a fetch latency of 10 timesteps, a miss at T = 3 is served at T = 13; requests for the same object at T = 5 and T = 11 join that fetch and still wait 8 and 2 timesteps. A count based on hit rate alone would score both later requests as hits. [delayed-paper] When delayed hits are modeled, a latency-optimal offline schedule reduced average latency by up to 45% relative to the hit-rate-optimal offline algorithm, and online heuristics that weigh aggregate delay improved latency by up to 40%. [delayed-paper] A resident hit can suppress a demand fetch that would have helped later requests after eviction, so gaining a resident hit need not reduce total latency. This non-antimonotonicity differs from a capacity anomaly. [delayed-lower] A constructed one-slot example with 18 prescribed requests and a fixed 10 ms fetch delay has ten resident hits and 45 ms total waiting, or eleven resident hits and 60 ms waiting, depending on first-fill admission. Both schedules issue three backend fetches. These are explicit schedule calculations, not hardware observations or general advice to bypass hits. [hesela] The 2020 model forwards every nonresident request, then a return serves all queued requests for that item. Requests precede retrievals; latency from 1 through Z - 1 defines a delayed hit, without implying coalescing. [delayed-lower] The 2026 model permits one outstanding fetch per object; later requests wait without refetching. [latency-pipeline] Hesela instead coalesces fetches and completes them before equal-time requests; in-flight buffers do not consume the resident slot. This is not a replay of the 2020 model. [hesela] Advantages: - Counting delayed hits separately explains the gap between the true hit rate and the miss rate in a request-latency distribution. (sources: [delayed-paper]) Limitations: - The latency-minimizing policy depends on the ratio of fetch latency to request spacing; in one small example it changed between ratios of 1, 5, 17 and 22. (sources: [delayed-paper]) Sources and caveats: - delayed-paper re-read 2026-10-23, sections 1 to 3, for the 10-timestep example, the 45% and 40% figures and the ratio example. - A companion analysis with a constructed four-read example is listed but not used in prose. - 2026-11-06: reviewed Manohar and Williams sections 1.1, 2 and 4; companion arithmetic uses explicitly coalesced fetches and completion-before-arrival timing, not an exact replay of their discrete model. - 2026-11-08: corrected the definition's mandatory fetch-suppression claim against Manohar and Williams section 2.1 and Keren et al. section 1.1. Source comparison only; existing timing examples and their conventions are unchanged. Related terms: - [request-coalescing](https://hesela.dev/terms/request-coalescing/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [farthest-in-future-replacement](https://hesela.dev/terms/farthest-in-future-replacement/) Citations: - [delayed-paper] Atre et al. Caching with Delayed Hits. SIGCOMM 2020, sections 1 to 3. DOI 10.1145/3387514.3405883. https://www.cs.cmu.edu/~weinaw/pdf/delayed-hits.pdf (accessed 2026-10-23) - [hesela] Hesela: single-object waiting and a one-slot admission/timing comparison, with event ledgers and executable checks. https://hesela.com/analyses/sieve-cache-eviction-traces/#delayed-hits (accessed 2026-11-06) - [delayed-lower] Peter Manohar and Jalani Williams. Lower Bounds for Caching with Delayed Hits. arXiv:2006.00376v1, 2020; sections 1.1, 2 and 4. https://arxiv.org/pdf/2006.00376v1 (accessed 2026-11-08) - [latency-pipeline] Keren, Einziger and Scalosub. Latency-Aware Caching with Delayed Hits: From Bursty Traffic to Pipeline Architectures. NSDI 2026, section 1.1, pp. 2390-2391. https://www.usenix.org/system/files/nsdi26-keren.pdf (accessed 2026-11-08) ### Delete marker URL: https://hesela.dev/terms/delete-marker/ Related analysis: https://hesela.com/analyses/object-etags-checksums-conditional-writes/ Also known as: S3 delete marker Status: shipping Record updated: 2026-11-04 A delete marker is a payload-free S3 version that makes a key appear deleted when the marker is current. Note: Scope: S3 general-purpose buckets. A marker has a key and version ID, but no object data or ACL. A current marker produces a documented 404 on GET without versionId; explicitly requesting the marker version produces 405. Both carry x-amz-delete-marker: true. [s3-markers] Replication: V2 rules containing Filter do not replicate user-created markers by default; eligible non-tag-based rules can enable this. Legacy V1 rules without Filter replicate user-created markers for matching keys. [s3-replication-deletes] Advantages: - Version-aware listing distinguishes delete markers from retained data versions that an ordinary current-object listing does not expose. (sources: [s3-list-versions]) Limitations: - In a suspended bucket, a simple DELETE replaces any null data version with a null marker; that payload is not retained by the marker. (sources: [s3-suspended-delete]) - Removing a current marker can expose an older version, but cannot recover permanently removed bytes; another remaining marker can still hide data. (sources: [s3-marker-removal]) - Access restrictions can return authorization errors, so a bare HTTP status does not establish the complete version history. (sources: [get]) - Lifecycle-created markers are not replicated even when marker replication is enabled; tag-based rules do not support marker replication. (sources: [s3-marker-replication]) - Delete-marker replication is outside S3 Replication Time Control's 15-minute SLA. (sources: [s3-marker-replication]) Related terms: - [object-versioning](https://hesela.dev/terms/object-versioning/) - [object-version-id](https://hesela.dev/terms/object-version-id/) - [conditional-write](https://hesela.dev/terms/conditional-write/) Citations: - [s3-markers] Amazon S3: Working with delete markers. https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html (accessed 2026-10-15) - [s3-list-versions] Amazon S3 API: ListObjectVersions. https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions.html (accessed 2026-10-15) - [s3-suspended-delete] Amazon S3: Deleting objects from versioning-suspended buckets. https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectsfromVersioningSuspendedBuckets.html (accessed 2026-10-15) - [s3-marker-removal] Amazon S3: Managing delete markers. https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingDelMarkers.html (accessed 2026-10-15) - [get] Amazon S3 API: GetObject. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html (accessed 2026-10-15) - [hesela-object] Hesela: Object ETags, checksums and conditional writes. https://hesela.com/analyses/object-etags-checksums-conditional-writes/ (accessed 2026-10-15) - [s3-replication-deletes] Amazon S3: How delete operations affect replication. https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-what-is-isnot-replicated.html (accessed 2026-11-04) - [s3-marker-replication] Amazon S3: Replicating delete markers between buckets. https://docs.aws.amazon.com/AmazonS3/latest/userguide/delete-marker-replication.html (accessed 2026-11-04) ### Delete persistence latency URL: https://hesela.dev/terms/delete-persistence-latency/ Status: shipping Record updated: 2026-10-29 In delete-aware LSM research, delete persistence latency is the delay from inserting a tombstone to removing the entries it invalidates through compaction. Note: This is a reclamation metric, not the time to durably log a delete or erase every physical copy. Section 3.2.4 models O(T^(L-1) x P x B / I) for leveling and O(T^L x P x B / I) for tiering: T is size ratio, L disk levels, P buffer pages, B entries per page and I unique entries inserted per second. These are asymptotic expressions, not measured deadlines. [lethe] FADE allocates a deletion threshold D_th across levels, with longer TTLs for larger levels. For three TTL terms in ratio 1:10:100 summing to 86,400 s, rounding gives 778, 7,784 and 77,838 s. This reconstructed allocation follows the sum constraint, not a literal transcription of the printed d0 formula. [lethe] At D_th = 50% of the experiment's run-time, Figure 6(E) reports about 40,000 markers, or 40% of all inserted tombstones, in RocksDB files older than D_th. Lethe met the threshold in that experiment. This file-age summary is not a retained event-by-event latency dataset. [lethe] Cassandra 5.0.0 instead uses a default 864,000 s grace period before purge eligibility. Expiry alone is insufficient: compaction must include relevant older data, and only_purge_repaired_tombstones adds a repair condition when enabled. This retention floor is not a cleanup deadline. [cassdocs] Lethe+ has no TTL-based memtable flush: its persistence statement covers tombstones already flushed to disk. Tombstone age still starts at insertion into the memory buffer, not at flush. TTL checks run after buffer flushes, so the stated bound can become D_th + epsilon; the margin depends on the flush interval. An idle, unflushed memtable needs a separate progress policy before an end-to-end deadline can be asserted. [lethe-plus] Advantages: - Compacting invalidated entries earlier improved point lookups by up to 17% in the authors' evaluation. (sources: [lethe]) Limitations: - Tree reclamation alone does not remove WAL records; Lethe describes a separate WAL purge/copy routine. Backups, replicas, snapshots and remapped flash need their own retention controls. (sources: [lethe]) Sources and caveats: - SIGMOD 2020 section 5 uses synthetic 1 GB data, 1 KB entries, a 1 MB buffer, ratio 10, 2% to 10% deletes, WAL disabled, compactions prioritized over writes and lookups after population. It does not establish synchronous-delete crash durability. - The abstract's 4% to 25% write-amplification increase is a summary across the study, not a measurement paired specifically with Figure 6(E)'s 50% threshold. - The abstract reports 1.17 to 1.4 times higher read throughput; the listed advantage follows section 5.1 and Figure 6(D), not an independent measurement. - Section 4.1.2 prints a d0 denominator inconsistent with its L-term sum. The illustrative allocation normalizes weights 1, 10 and 100, then rounds to whole seconds. - The pinned Cassandra documentation supplies the default grace period and optional repaired-data condition; neither is a recommendation to lower retention. - Lethe+ sections 4.1.2, 4.1.3 and 4.1.5 exclude TTL-based memtable flushing, age tombstones from buffer insertion, and qualify checks by flush cadence. The idle-buffer consequence is an engineering inference; no idle-system benchmark or post-flush clock reset is claimed. - Lethe 2020 section 4.1.5 describes WAL retention separately; section 5 disables WAL for the experiment. A described maintenance mechanism is not evidence of WAL-enabled crash testing. Related terms: - [lsm-tombstone](https://hesela.dev/terms/lsm-tombstone/) - [range-tombstone](https://hesela.dev/terms/range-tombstone/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [secondary-range-delete](https://hesela.dev/terms/secondary-range-delete/) Citations: - [lethe] Sarkar et al. Lethe: A Tunable Delete-Aware LSM Engine. SIGMOD 2020, arXiv:2006.04777v4, sections 3.2.4, 4.1 and 5. https://arxiv.org/pdf/2006.04777v4 (accessed 2026-10-29) - [writes] RocksDB project. Basic Operations: synchronous and non-sync writes. https://github.com/facebook/rocksdb/wiki/Basic-Operations (accessed 2026-10-12) - [hesela] LSM tombstones: deleted is not yet reclaimed. https://hesela.com/analyses/lsm-tombstones-delete-persistence/ (accessed 2026-10-12) - [lsmsurvey] Luo and Carey. LSM-based Storage Techniques: A Survey. arXiv 1812.07527v3, 2019. https://arxiv.org/pdf/1812.07527v3 (accessed 2026-10-16) - [cassdocs] Apache Cassandra 5.0.0. Tombstones: grace period and purge eligibility. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/managing/operating/compaction/tombstones.adoc (accessed 2026-10-29) - [lethe-plus] Sarkar et al. Enabling Timely and Persistent Deletion in LSM-Engines. ACM TODS 48(3), Article 8 (2023), sections 4.1.2, 4.1.3 and 4.1.5. https://doi.org/10.1145/3599724 (accessed 2026-10-29) - [lethe-plus-text] Sarkar et al. Author-hosted full text of the 2023 Lethe+ article, sections 4.1.2-4.1.5. https://ssd-brandeis.github.io/assets/pdf/Enabling_Timely_and_Persistent_Deletion_in_LSM-Engines.pdf (accessed 2026-10-29) ### Delos URL: https://hesela.dev/terms/delos/ Also known as: Delos virtual consensus Status: shipping Record updated: 2026-11-16 Delos is a replicated-database platform that separates shared-log reconfiguration from pluggable ordering protocols and composes application services from log-structured engines. Note: VirtualLog maps successive address ranges to Loglets. Changing the active Loglet requires sealing it, reading its tail and conditionally updating the versioned MetaStore mapping. The MetaStore still needs fault-tolerant consensus; virtualization relocates that responsibility rather than eliminating it. [osdi20] A successful seal prevents new appends from being acknowledged, not all subsequent physical writes. Repair can make unacknowledged entries durable and advance a sealed Loglet's tail. Fixed segment bounds keep those extra entries outside the VirtualLog. [osdi20] The 2021 design adds stackable engines above the shared log. BaseEngine applies an entry and advances its playback cursor in the same LocalStore transaction. LocalStore flushing can lag the durable shared log; replay restores that materialized state. A successful sync supplies a linearizable read snapshot, not merely a cached local read. [sosp21] Exception handling depends on determinism. An expected deterministic application exception can roll back its nested work while lower engines retain progress. A non-deterministic storage exception, such as running out of space on one replica, requires stopping that replica to avoid divergent state. [sosp21] Log reclamation combines constraints: each engine forwards the minimum of its own safe prefix and the upstream limit. Durable playback, completed log backup and snapshot-backup progress can each delay trimming. Installing a new engine uses a rolling deployment followed by a logged activation command, so replicas begin changing state at a consistent position. The paper does not provide native sharding or cross-shard transactions. [sosp21] Limitations: - NativeLoglet needs its sequencer for appends, while seal and checkTail remain available with a responding majority. StripedLoglet waits for preceding positions across all stripes before acknowledging an append; one failed stripe can therefore stop the composed log. The 2020 design virtualizes total ordering, not arbitrary partially ordered protocols. (sources: [osdi20]) Sources and caveats: - Source-based synthesis of the 2020 and 2021 designs, not a benchmark replication or failure-injection experiment. - The shipping classification records the papers' production deployment reports; it does not verify the platform's current deployment or availability to external users. Related terms: - [corfu](https://hesela.dev/terms/corfu/) - [tango](https://hesela.dev/terms/tango/) - [raft](https://hesela.dev/terms/raft/) - [boki](https://hesela.dev/terms/boki/) Citations: - [osdi20] Balakrishnan et al. Virtual Consensus in Delos. OSDI 2020, pp. 617-632; sections 3.2-3.4 and 4.2. https://maheshba.bitbucket.io/papers/delos-osdi2020.pdf (accessed 2026-11-16) - [sosp21] Balakrishnan et al. Log-structured Protocols in Delos. SOSP 2021; sections 3.1-3.4 and 4.1-4.2. DOI: 10.1145/3477132.3483544. https://maheshba.bitbucket.io/papers/delos-sosp2021.pdf (accessed 2026-11-16) ### Delta compression URL: https://hesela.dev/terms/delta-compression/ Also known as: Byte-level delta encoding, File differencing Status: shipping Record updated: 2026-11-22 Delta compression encodes target bytes using reusable source bytes and instructions that reconstruct the target. Note: Representation: VCDIFF defines ADD for literal bytes, RUN for repetitions of a byte and COPY for previously available bytes. COPY can reference source data or earlier target data. The format separates decoding from the encoder's matching and window-selection algorithms. [rfc] Dependency: A delta that refers to an external source needs the correct source bytes for reconstruction. Retaining only the delta is insufficient. An encoding with no external source can instead act as ordinary compression. [rfc] Scope: Byte-level differencing is distinct from subtracting adjacent numeric values. Resemblance detection chooses a candidate base; a delta format describes how the target is reconstructed. Delta synchronization is a transfer workflow, not a synonym for either the candidate-selection algorithm or the stored representation. [rfc] Sources and caveats: - VCDIFF is one standardized delta format; this definition does not require every delta compressor to use VCDIFF. [rfc] Related terms: - [resemblance-detection](https://hesela.dev/terms/resemblance-detection/) - [finesse](https://hesela.dev/terms/finesse/) - [delta-encoding](https://hesela.dev/terms/delta-encoding/) - [delta-synchronization](https://hesela.dev/terms/delta-synchronization/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [deduplication](https://hesela.dev/terms/deduplication/) Citations: - [rfc] Korn, MacDonald, Mogul and Vo. RFC 3284: The VCDIFF Generic Differencing and Compression Data Format, sections 1, 3 and 6. https://www.rfc-editor.org/rfc/rfc3284.html (accessed 2026-11-22) ### Delta encoding URL: https://hesela.dev/terms/delta-encoding/ Related analysis: https://hesela.com/analyses/time-series-rollups-versioned-changes/ Also known as: Differential integer encoding Status: shipping Record updated: 2026-11-17 Delta encoding represents a numeric sequence using an initial value and differences between successive values. Note: Transform: Subtract each preceding value and retain the first value for reconstruction. Small differences can suit compact integer codes; differencing alone does not establish a byte saving. [parquet-delta] Parquet: DELTA_BINARY_PACKED subtracts a block minimum from adjacent differences, then bit-packs residuals. This is not delta-of-delta encoding. Its INT32/INT64 arithmetic requires two's-complement wrapping on overflow. [parquet-delta] Scope: Numeric differencing is distinct from file-level delta synchronization, differential backups and Elias delta codes. Sources and caveats: - Primary-source synthesis. The linked exact-integer illustration is not a Parquet encoder or a compression benchmark. Related terms: - [delta-compression](https://hesela.dev/terms/delta-compression/) - [gorilla-compression](https://hesela.dev/terms/gorilla-compression/) - [delta-of-delta-encoding](https://hesela.dev/terms/delta-of-delta-encoding/) - [parquet](https://hesela.dev/terms/parquet/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) Citations: - [parquet-delta] Apache Parquet format: DELTA_BINARY_PACKED encoding. https://parquet.apache.org/docs/file-format/data-pages/encodings/#delta-encoding-delta_binary_packed--5 (accessed 2026-11-17) ### Delta-of-delta encoding URL: https://hesela.dev/terms/delta-of-delta-encoding/ Related analysis: https://hesela.com/analyses/time-series-rollups-versioned-changes/ Also known as: Double-delta encoding, Second-order delta encoding Status: shipping Record updated: 2026-11-17 Delta-of-delta encoding represents a numeric sequence using initial state and differences between successive first differences. Note: State: Reconstruct a sequence from its initial value, first difference and subsequent second differences. Constant intervals produce zeros; irregular spacing changes the residuals. [gorilla] Gorilla: Section 4.1.1 applies this idea to timestamps with block-specific initial state and variable-length codes. It is separate from the paper's XOR representation of floating-point values. Workload results are not universal compression guarantees. [gorilla] Scope: Parquet's subtraction of a block minimum from first differences is a different operation. [parquet-delta] Integrity: In Hesela's exact-integer illustration, an initial-value error a and interval error b give reconstruction error a + i*b at sample i (numbered from zero), with unchanged second differences. Checking residuals alone cannot establish sequence identity; include decoding state and interpretation or verify the reconstructed representation. This is a mathematical example, not a fault-rate measurement. [hesela-delta] Sources and caveats: - Source synthesis plus a separately labeled mathematical illustration; no Gorilla implementation, throughput measurement or fault experiment. Related terms: - [delta-encoding](https://hesela.dev/terms/delta-encoding/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) Citations: - [gorilla] Pelkonen et al., Gorilla: A Fast, Scalable, In-Memory Time Series Database, PVLDB 8(12), 2015, section 4.1.1. https://www.vldb.org/pvldb/vol8/p1816-teller.pdf (accessed 2026-11-17) - [parquet-delta] Apache Parquet format: DELTA_BINARY_PACKED encoding. https://parquet.apache.org/docs/file-format/data-pages/encodings/#delta-encoding-delta_binary_packed--5 (accessed 2026-11-17) - [hesela-delta] Hesela: timestamp decoding-state derivation and downloadable exact-integer tests. https://hesela.com/analyses/time-series-rollups-versioned-changes/#delta-state (accessed 2026-11-17) ### Delta synchronization URL: https://hesela.dev/terms/delta-synchronization/ Related analysis: https://hesela.com/analyses/rsync-delta-shifted-blocks/ Also known as: delta sync, delta transfer Status: shipping Record updated: 2026-10-20 Delta synchronization updates a receiver's data by transferring a representation of changes that can reuse data already available to the receiver. Note: Rsync illustrates an asymmetric design: the receiver describes blocks of its basis file, while the sender searches its new file for reusable content and emits references plus literals. Fixed-length basis blocks do not restrict the sender to aligned offsets. [algorithm] Measured example: in the forced-delta subset of 36 controlled local rsync 3.2.7 transfers, a one-byte prefix insertion required one literal byte and reused 262144 bytes with either 512-byte or 4096-byte blocks. An interior insertion broke one block. Smaller blocks reduced literals but increased the reported two-direction protocol sum in that fixture. These are synthetic observations, not throughput estimates. [study] A delta is meaningful relative to its basis. Reduced literal payload does not establish fewer disk reads, lower CPU cost, durable media writes or a restorable application. Local-path rsync normally selects whole-file mode; file selection and delta transfer are separate choices. The separate 42-case selection experiment shows why an equal-size file can be skipped even with different bytes, including changes confined to the fractional part of its modification time. See rsync-quick-check for timestamp precision and option precedence. [manual] Related terms: - [delta-compression](https://hesela.dev/terms/delta-compression/) - [rolling-hash](https://hesela.dev/terms/rolling-hash/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [deduplication](https://hesela.dev/terms/deduplication/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [rsync-quick-check](https://hesela.dev/terms/rsync-quick-check/) - [inode-change-time](https://hesela.dev/terms/inode-change-time/) Citations: - [algorithm] Tridgell and Mackerras. The rsync algorithm. ANU TR-CS-96-05, June 1996 (HTML algorithm section). https://rsync.samba.org/tech_report/node2.html (accessed 2026-10-20) - [manual] Rsync 3.2.7 manual: whole-file, block-size, ignore-times, checksum-choice and statistics. https://github.com/RsyncProject/rsync/blob/v3.2.7/rsync.1.md (accessed 2026-10-20) - [study] Hesela: rsync shifted-block experiment and reproduction bundle. https://hesela.com/analyses/rsync-delta-shifted-blocks/ (accessed 2026-10-20) ### Dentry URL: https://hesela.dev/terms/dentry/ Also known as: Linux dentry, directory cache entry Status: shipping Record updated: 2026-12-01 A dentry is an in-memory Linux VFS object that associates a pathname component and parent with an inode or records the absence of an associated inode. Note: Identity: Dentries live in RAM, not on disk. Several dentries can refer to one inode, as with hard links; the cache object is distinct from a filesystem's stored directory record. [linux-vfs-dentry] Lookup: A positive dentry has an associated inode. A negative dentry has no associated inode and can cache a name's absence; a cache miss supplies no existence answer. Resolving that miss needs further lookup. Network and clustered filesystems can require revalidation of cached information. [linux-dcache-lookup] Concurrency: A referenced negative dentry can become positive while its parent is unlocked. Cached absence therefore does not reserve a pathname or make a later create conditional on the earlier lookup. [linux-negative-dentry] Beyond lookup speed: The dcache also connects names to mount topology and participates in concurrency control. Removing cached values does not remove those responsibilities. [linux-dcache-lookup] Limitations: - A cached name-to-inode association does not establish crash durability. Sources and caveats: - Source review scoped to Linux v6.16 documentation and implementation at commit 038d61fd642278bab63ee8ef722c50d10ab01e8f. No native kernel experiment or cache-performance measurement. - See the namespace analysis for the separate creation and persistence contracts: https://hesela.com/analyses/atomic-rename-directory-durability/#dentry-cache Related terms: - [inode](https://hesela.dev/terms/inode/) - [path-resolution](https://hesela.dev/terms/path-resolution/) - [hard-link](https://hesela.dev/terms/hard-link/) - [nfs-lookup-cache](https://hesela.dev/terms/nfs-lookup-cache/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [filesystem](https://hesela.dev/terms/filesystem/) - [directory](https://hesela.dev/terms/directory/) - [virtual-filesystem](https://hesela.dev/terms/virtual-filesystem/) - [byvfs](https://hesela.dev/terms/byvfs/) Citations: - [linux-vfs-dentry] Linux v6.16: VFS dcache and inode objects. https://github.com/torvalds/linux/blob/038d61fd642278bab63ee8ef722c50d10ab01e8f/Documentation/filesystems/vfs.rst (accessed 2026-11-08) - [linux-dcache-lookup] Linux v6.16: pathname lookup, cache absence and revalidation. https://github.com/torvalds/linux/blob/038d61fd642278bab63ee8ef722c50d10ab01e8f/Documentation/filesystems/path-lookup.rst (accessed 2026-11-08) - [linux-negative-dentry] Linux v6.16: unlocked lookup helpers and changing negative dentries. https://github.com/torvalds/linux/blob/038d61fd642278bab63ee8ef722c50d10ab01e8f/fs/namei.c (accessed 2026-11-08) ### Design effect URL: https://hesela.dev/terms/design-effect/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: DEFF Status: shipping Record updated: 2026-11-19 A design effect compares an estimator's variance under a sampling design with its variance under a specified simple-random-sampling reference. Note: A design effect belongs to an estimator, outcome and reference design, not to a dataset alone. Variance inflation by D corresponds to a standard-error multiplier sqrt(D), not D. [statcan-design] For the equally weighted mean of N observations in fixed independent groups of sizes m_g, assume a common marginal variance and common within-group pair correlation rho. Summing covariances gives D = 1 + rho * (sum(m_g^2)/N - 1) relative to N independent observations with that variance. Equal sizes m reduce this to 1 + (m - 1) * rho. The unequal-size expression weights large groups more heavily. [cameron-miller-2015] [hesela-design-effect] Here N/D is a variance-equivalent sample size for this mean. It is not a count of independent groups, a degree of freedom or permission to substitute N/D into an exact binomial interval. Other weights, unequal risks, censoring or dependence across groups need a different model. Rack membership alone does not establish independence. [hesela-design-effect] Sources and caveats: - The storage example is an exact calculation under specified covariance assumptions, not a measured intraclass correlation or a survey-design estimate for a real fleet. Related terms: - [cluster-bootstrap](https://hesela.dev/terms/cluster-bootstrap/) - [sampling-design](https://hesela.dev/terms/sampling-design/) Citations: - [statcan-design] Survey Methodology (2020): Considering interviewer and design effects when planning sample sizes, section 1. https://www150.statcan.gc.ca/n1/pub/12-001-x/2020001/article/00005/01-eng.htm (accessed 2026-11-19) - [cameron-miller-2015] Cameron and Miller (2015): A Practitioner's Guide to Cluster-Robust Inference, sections II.B and VI. https://www.econ.ucdavis.edu/faculty/cameron/research/Cameron_Miller_JHR_2015_February.pdf (accessed 2026-11-19) - [hesela-design-effect] Hesela: fixed-group covariance calculation, estimator scope and unequal group sizes. https://hesela.com/analyses/afr-rate-not-probability/#design-effect (accessed 2026-11-19) ### Destor URL: https://hesela.dev/terms/destor/ Also known as: DeFrame, Deduplication Framework Status: research Record updated: 2026-11-17 Destor is a research platform for comparing chunk-level backup deduplication designs across indexing, rewriting and restore-cache choices. Note: The FAST 2015 paper calls the framework DeFrame and links Destor. Its design space separates logical backup order from physical container layout, and exact from sampled indexing. Rewriting can change which index and restore policy works best. [paper] Measurement: the paper's restore-speed proxy is restored MB per container read, not MB/s. Its workloads comprise 258 kernel versions, 127 virtual-machine images and 212 database snapshots; their results do not establish a universal policy ranking. [paper] Pinned implementation: with LRU restore and simulation level RESTORE or higher, container metadata is fetched instead of payload. Output files are opened only in NO mode, yet a throughput field is still printed. A timing from simulated restore is not end-to-end recovery throughput. [restore] [config] Table check: RDB entries 2.26 and 0.50 yield a 4.52x restore-proxy ratio, inconsistent with the 2.8x improvement stated in section 4.6. Deduplication ratios 39.10 and 28.28 imply about 38.3% more stored data for equal input, not the 27.7% ratio decrease. The linked calculation uses the rounded table entries. [paper] [calculation] Limitations: - The reference implementation does not guarantee consistency after a crash, does not support concurrent backup and restore, and its container-marker reclamation assumes FIFO backup deletion. (sources: [implementation]) Sources and caveats: - The full FAST 2015 paper was read and Table 4 was checked visually. Source synthesis and arithmetic only: no Destor execution, workload replay, hardware benchmark or independent-person review. - Implementation claims refer to commit c4a8f792abc866d085177a24a95c13d6576e96c0, not an asserted artifact version from the 2015 experiments. Destor is GPL-3.0; no implementation code is redistributed here. - The calculation compares EDPL with HAR+EDPL at fixed logical input. It excludes metadata, padding, compression and garbage-collection policy, and does not resolve the paper's table/prose discrepancy. Related terms: - [finesse](https://hesela.dev/terms/finesse/) - [deduplication](https://hesela.dev/terms/deduplication/) - [chunk-fragmentation](https://hesela.dev/terms/chunk-fragmentation/) - [sparse-indexing](https://hesela.dev/terms/sparse-indexing/) - [dedupsearch](https://hesela.dev/terms/dedupsearch/) - [idea-index](https://hesela.dev/terms/idea-index/) Citations: - [paper] Fu et al. Design Tradeoffs for Data Deduplication Performance in Backup Workloads. FAST 2015, pp. 331-344. https://www.usenix.org/system/files/conference/fast15/fast15-paper-fu.pdf (accessed 2026-11-17) - [record] USENIX FAST 2015 publication record, authors and proceedings metadata. https://www.usenix.org/conference/fast15/technical-sessions/presentation/fu (accessed 2026-11-17) - [implementation] Destor README: research platform and implementation limitations, pinned revision. https://github.com/fomy/destor/blob/c4a8f792abc866d085177a24a95c13d6576e96c0/README.md (accessed 2026-11-17) - [config] Destor configuration: simulation-level and restore-cache settings, pinned revision. https://github.com/fomy/destor/blob/c4a8f792abc866d085177a24a95c13d6576e96c0/destor.config (accessed 2026-11-17) - [restore] Destor restore implementation: metadata-only LRU, output-file conditions and reported metrics. https://github.com/fomy/destor/blob/c4a8f792abc866d085177a24a95c13d6576e96c0/src/do_restore.c (accessed 2026-11-17) - [calculation] Hesela: FAST 2015 Table 4 inputs, ratio calculations and limitations (JSON). https://hesela.dev/research/destor-tradeoffs.json (accessed 2026-11-17) - [code] Hesela: executable Table 4 ratio calculations (JavaScript). https://hesela.dev/research/destor-tradeoffs.mjs (accessed 2026-11-17) - [hesela-dedup-restore] Hesela: Deduplication ratio does not predict restore cost. https://hesela.com/analyses/deduplication-restore-fragmentation/ (accessed 2026-11-17) ### Destroy sanitization URL: https://hesela.dev/terms/destroy-sanitization/ Also known as: Destroy sanitization method Status: shipping Record updated: 2026-10-14 Destroy sanitization makes target-data recovery infeasible even with current state-of-the-art laboratory techniques and leaves the medium incapable of storing data again. Note: NIST SP 800-88 Rev. 2 section 3.1.3 requires both recovery resistance and loss of storage usability. A broken enclosure or controller does not show that the data-bearing medium was sanitized. Partial damage, including a drilled hole, can leave recoverable portions; suitable destruction depends on the medium and applicable technique requirements. Degaussing is not an approved destroy technique in the cited revision. [nist-r2] Advantages: - Can address media for which an appropriate logical sanitization technique cannot be applied. (sources: [nist-r2]) Limitations: - Precludes reuse of the data-bearing medium, and visible damage alone is not evidence that the required destruction outcome was achieved. (sources: [nist-r2]) Related terms: - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [clear-sanitization](https://hesela.dev/terms/clear-sanitization/) - [purge-sanitization](https://hesela.dev/terms/purge-sanitization/) - [sanitization-verification](https://hesela.dev/terms/sanitization-verification/) - [sanitization-validation](https://hesela.dev/terms/sanitization-validation/) - [degaussing](https://hesela.dev/terms/degaussing/) Citations: - [nist-r2] NIST SP 800-88 Rev. 2 (2025), Guidelines for Media Sanitization, 3.1.2-3.1.3 and 4.5.1, printed pages 10-11 and 24. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf (accessed 2026-10-14) - [hesela] Hesela: SSD sanitization: why TRIM and a successful command are not enough. https://hesela.com/analyses/ssd-sanitization-trim-evidence/ (accessed 2026-10-14) ### Detectability URL: https://hesela.dev/terms/detectability/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: Detectable execution, Operation detectability Status: research Record updated: 2026-11-28 Detectability lets recovery determine whether a crash-interrupted operation took effect and retrieve its result when applicable. Note: Durable linearizability preserves completed operations but does not itself resolve an interrupted call for its caller. Detectable execution adds outcome recovery, for example through a persistent per-thread announcement recording the intended operation and its result. [queue18] In the UDSS specification used by Dhoked and colleagues, resolve returns the caller's latest effective operation, its invocation tag and response. Tags distinguish calls with identical results, even after another process changes the shared state. If the interrupted call did not take effect, resolve may identify an earlier call; the caller must check its identity and tag. This is one interface specification, not a universal API. The paper's construction requires a process interrupted inside its detectable update to finish resolve before calling any other operation on that same object. Completing recovery is a precondition, not an optional diagnostic step. [detect24] Recovering a multi-call workflow also needs control-flow information. Memento combines tracked operations and checkpoints with deterministic replay; knowing one call's outcome does not make several calls a single atomic transaction. Its checkpoint primitive records a read-only expression's result; the expression may be evaluated again after interruption before that result is recorded. This does not authorize replaying arbitrary external side effects. [memento23] Advantages: - A recovering caller can distinguish an effective operation from one that did not take effect without relying only on the object's current value. (sources: [queue18], [detect24]) Limitations: - System-wide and independent process crashes require different implementation assumptions; detectability alone does not choose a failure model. (sources: [detect24]) Sources and caveats: - Primary-source synthesis of operation-outcome recovery, not a hardware experiment or a proof for a deployed implementation. - The UDSS resolve interface is scoped to OPODIS 2024 section 2; the Memento framework supplies the separate program-recovery example. Related terms: - [durable-linearizability](https://hesela.dev/terms/durable-linearizability/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [strict-linearizability](https://hesela.dev/terms/strict-linearizability/) - [nesting-safe-recoverable-linearizability](https://hesela.dev/terms/nesting-safe-recoverable-linearizability/) Citations: - [queue18] Friedman et al. A Persistent Lock-Free Queue for Non-Volatile Memory. PPoPP 2018, section 2.3. DOI: 10.1145/3178487.3178490. https://csaws.cs.technion.ac.il/~erez/Papers/nvm-queue-full.pdf (accessed 2026-11-14) - [detect24] Dhoked et al. RMR-Efficient Detectable Objects for Persistent Memory and Their Applications. OPODIS 2024, sections 1-2 and 4.1, Assumption 1. https://drops.dagstuhl.de/storage/00lipics/lipics-vol324-opodis2024/html/LIPIcs.OPODIS.2024.5/LIPIcs.OPODIS.2024.5.html (accessed 2026-11-14) - [memento23] Cho et al. Memento: A Framework for Detectable Recoverability in Persistent Memory. PLDI 2023, sections 1-3. DOI: 10.1145/3591232. https://www.soundandcomplete.org/papers/PLDI2023/memento.pdf (accessed 2026-11-14) ### Detoasting URL: https://hesela.dev/terms/detoasting/ Related analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Also known as: PostgreSQL detoasting Status: shipping Record updated: 2026-10-21 Detoasting retrieves or expands a PostgreSQL TOAST representation into the value representation needed by an operation. Note: A PostgreSQL variable-length datum can be inline, compressed or represented by an external pointer. Detoasting code follows the relevant representation; slice retrieval can avoid fetching an entire uncompressed external value. The work required depends on the caller and storage form, not merely the existence of a table row. [toast] [size] Operations do not all request the same coverage. The bytea octet-length path uses toast_raw_datum_size, reading external size metadata without reconstructing the payload. A whole-value hash and a small substring ask different questions of that same field. This is an implementation-level distinction, not a recommendation to force every query to read all bytes. [length] [size] Partial or metadata-only reads should not be counted as complete-value integrity checks. The linked experiment preserves successful-query status separately from an expected-content digest comparison and records read failures as having no digest. [hesela-toast] Related terms: - [postgresql-toast](https://hesela.dev/terms/postgresql-toast/) - [checksum](https://hesela.dev/terms/checksum/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [postgresql-index-only-scan](https://hesela.dev/terms/postgresql-index-only-scan/) Citations: - [toast] PostgreSQL 16: TOAST, on-disk storage and EXTERNAL strategy. https://www.postgresql.org/docs/16/storage-toast.html (accessed 2026-10-21) - [length] PostgreSQL REL_16_15: varlena.c, byteaoctetlen and bytea_substring. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/utils/adt/varlena.c (accessed 2026-10-21) - [size] PostgreSQL REL_16_15: detoast.c, toast_raw_datum_size. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/access/common/detoast.c (accessed 2026-10-21) - [hesela-toast] Hesela: PostgreSQL TOAST read-coverage observations and code. https://hesela.dev/datasets/postgresql-toast-read-coverage/ (accessed 2026-10-21) ### dev_loss_tmo (transport device loss) URL: https://hesela.dev/terms/dev-loss-tmo/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: Device-loss timeout Status: shipping Record updated: 2026-10-24 In Linux's Fibre Channel transport, dev_loss_tmo is the interval in seconds for retaining a missing remote target before device-removal processing. Note: Linux v6.12 separates device-loss work from fail-fast work; target removal affects the operating system's devices, not erasure of the stored data. It does not establish whether an earlier write executed. [linux-fc-timers] The reviewed multipath manual applies this setting to FC and SAS, not every transport. With positive fast_io_fail_tmo and finite no_path_retry N, multipathd keeps dev_loss_tmo larger than N times polling_interval. Premature removal while I/O remains queued can deadlock. Inspect the effective settings together. [multipath-man] These FC path-loss timers do not trigger if the remote port is never reported lost, even when SCSI commands hang. The manual discusses eh_deadline for that different condition and warns that its HBA reset affects all target paths on the adapter. [multipath-man] Sources and caveats: - The FC definition follows Linux v6.12. FC/SAS applicability and queue-budget coordination follow the pinned multipath-tools manual. Non-erasure and uncertain-write conclusions are editorial interpretation, not measured outcomes. Related terms: - [fast-io-fail-tmo](https://hesela.dev/terms/fast-io-fail-tmo/) - [no-path-retry](https://hesela.dev/terms/no-path-retry/) - [multipath-io](https://hesela.dev/terms/multipath-io/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [sas](https://hesela.dev/terms/sas/) Citations: - [linux-fc-timers] Linux v6.12: FC transport loss, fail-fast and target-removal work. https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/scsi/scsi_transport_fc.c (accessed 2026-10-23) - [multipath-man] multipath-tools: multipath.conf(5), no_path_retry and FC timeout options; pinned commit d53932bdbee02f440518ea384e63d7c4d3f66685. https://github.com/opensvc/multipath-tools/blob/d53932bdbee02f440518ea384e63d7c4d3f66685/multipath/multipath.conf.5.in (accessed 2026-10-23) - [hesela-timeouts] Storage timeouts: an expired timer is not a cancelled write. https://hesela.com/analyses/storage-timeouts-uncertain-completion/ (accessed 2026-10-23) ### Device Configuration Overlay (DCO) URL: https://hesela.dev/terms/device-configuration-overlay/ Related analysis: https://hesela.com/analyses/ssd-sanitization-trim-evidence/ Also known as: DCO Status: unknown Record updated: 2026-10-24 Device Configuration Overlay is an optional legacy ATA mechanism that can reduce a device's reported capacity and available features. Note: DCO is a device configuration mechanism, not a partition. The documented drive implementation changes reported features and capacity, including the result of READ NATIVE MAX ADDRESS. That result alone therefore need not reveal the unrestricted capacity. [seagate-dco] Removing a capacity restriction is not evidence that data was erased. Do not assume all device erase operations have the same scope: the openSeaChest maintainer distinguishes normal ATA Security Erase from enhanced erase and Sanitize for HPA/DCO. This is a command-scope clarification, not testing of an individual drive. [seagate-erase-scope] In the ATA/ATAPI-6 draft, an accepted DEVICE CONFIGURATION FREEZE LOCK blocks configuration changes and DEVICE CONFIGURATION IDENTIFY until power-down; hardware and software resets do not clear it. An aborted identification request alone does not prove DCO is unsupported. [ata6-draft] Limitations: - Device support and sanitization coverage require device-specific evidence; a feature label does not certify a successful erase. (sources: [nist-r2]) Related terms: - [host-protected-area](https://hesela.dev/terms/host-protected-area/) - [sata](https://hesela.dev/terms/sata/) - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [secure-erase](https://hesela.dev/terms/secure-erase/) - [accessible-max-address-configuration](https://hesela.dev/terms/accessible-max-address-configuration/) Citations: - [seagate-dco] Seagate Laptop HDD Product Manual 100772113 Rev. C (2016), section 11.2.3: DCO capacity and READ NATIVE MAX. https://www.seagate.com/www-content/support-content/samsung/internal-products/spinpoint-m-series/en-us/docs/100772113c.pdf (accessed 2026-10-24) - [seagate-erase-scope] Seagate openSeaChest maintainer clarification (7 January 2021), discussion 52: HPA/DCO versus AMAC erase scope. https://github.com/Seagate/openSeaChest/discussions/52 (accessed 2026-10-24) - [nist-r2] NIST SP 800-88 Rev. 2 (2025), Appendix B: device-specific sanitization implementation and uncovered areas. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf (accessed 2026-10-24) - [hesela] Hesela: SSD sanitization: why TRIM and a successful command are not enough. https://hesela.com/analyses/ssd-sanitization-trim-evidence/ (accessed 2026-10-24) - [ata6-draft] T13 ATA/ATAPI-6 working draft 1410D rev. 3a (2001), sections 8.8.2.8 and 8.8.3.6: DCO freeze and identification. https://www.read.seas.harvard.edu/~kohler/class/04f-aos/ref/hardware/ATA-d1410r3a.pdf (accessed 2026-10-24) ### Device DAX URL: https://hesela.dev/terms/device-dax/ Related article: https://hesela.com/tech/cxl-memory/ Also known as: devdax, device-dax Status: shipping Record updated: 2026-11-11 Device DAX is a Linux character-device interface for mapping a memory region directly into an application without filesystem page-cache buffering. Note: Applications map /dev/daxN.Y with mmap() and manage allocations within that region. This differs from filesystem DAX, which exposes file data, and from dax_kmem, which hands capacity to Linux memory hotplug. [dax-617] [fsdax-617] Hotplug registration is not the same as online System RAM. Blocks must be online before the page allocator can use them; the selected zone controls eligible allocations. A Device DAX device can have a NUMA association, so a node identifier alone does not prove that its capacity is online. [hotplug-617] [daxctl-80] CXL regions reserved by firmware or provisioned after boot can use Device DAX, while firmware can also expose CXL capacity as System RAM during boot. The interface is not restricted to persistent memory: the CXL device may supply volatile capacity. [kconfig-617] [types-617] Advantages: - Applications can explicitly manage a mapped memory region instead of receiving that capacity through the kernel page allocator. (sources: [dax-617]) Limitations: - daxctl v80 documents mode reconfiguration as destructive: existing contents are lost. It is not a data-preserving switch between devdax and system-ram. (sources: [daxctl-80]) - Mapping a volatile CXL region does not make its contents persistent across power loss. (sources: [types-617]) Sources and caveats: - Source-backed description scoped to Linux 6.17 and daxctl v80; no device experiment or current-platform compatibility claim. - The NUMA/allocator distinction is inferred from the documented devdax target_node example and separate memory-block onlining state. - The existing dax identifier retains its filesystem-DAX meaning; device-dax identifies the character-device interface, not a renamed copy. Related terms: - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [dax](https://hesela.dev/terms/dax/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) Citations: - [dax-617] Linux 6.17: DAX Driver Operation, direct mappings and kmem conversion. https://docs.kernel.org/6.17/driver-api/cxl/linux/dax-driver.html (accessed 2026-11-11) - [kconfig-617] Linux 6.17: Device DAX, CXL and KMEM configuration. https://github.com/torvalds/linux/blob/v6.17/drivers/dax/Kconfig (accessed 2026-11-11) - [fsdax-617] Linux 6.17: Direct Access for files, page-cache bypass and file mappings. https://docs.kernel.org/6.17/filesystems/dax.html (accessed 2026-11-11) - [hotplug-617] Linux 6.17: Memory Hotplug, online states and allocation zones. https://docs.kernel.org/6.17/driver-api/cxl/linux/memory-hotplug.html (accessed 2026-11-11) - [daxctl-80] daxctl v80: reconfigure-device, destructive conversion and separate onlining. https://github.com/pmem/ndctl/blob/v80/Documentation/daxctl/daxctl-reconfigure-device.txt (accessed 2026-11-11) - [types-617] Linux 6.17: CXL devices and protocols, volatile and persistent capacity. https://docs.kernel.org/6.17/driver-api/cxl/devices/device-types.html (accessed 2026-11-11) ### Device-managed SMR (DM-SMR) URL: https://hesela.dev/terms/device-managed-smr/ Technology reference: https://hesela.com/tech/device-managed-smr/ Also known as: drive-managed SMR Status: shipping Record updated: 2026-10-19 Device-managed SMR presents a conventional logical-block interface while drive firmware manages data placement and updates on shingled media. Note: Drive-managed SMR accepts ordinary block writes without exposing its band layout as host-managed zones. Firmware performs placement through a shingle translation layer; accepting random writes does not promise CMR-like latency. [zoned] Linux v6.8 also treats host-aware disks as conventional. The queue/zoned value none therefore identifies neither CMR nor DM-SMR uniquely. The separate SCSI zoned_cap attribute reflects advertised capability when available. [linux-sd] [linux-queue] Persistent media staging differs from a volatile write buffer. Cleaning can compete with pending requests. [ext4] A slowdown alone does not establish a command failure. [analysis] Advantages: - Works with legacy software unaware of zoned semantics. (sources: [zoned]) Limitations: - Sustained random writes can trigger internal garbage collection and latency spikes. (sources: [skylight]) Sources and caveats: - Linux claims are pinned to v6.8 and do not make every drive or bridge report a useful zoned_cap value. - The linked analysis separates published device observations from synthetic resource arithmetic. Related terms: - [smr](https://hesela.dev/terms/smr/) - [hm-smr](https://hesela.dev/terms/hm-smr/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [smr-persistent-cache](https://hesela.dev/terms/smr-persistent-cache/) - [garbage-collection-smr](https://hesela.dev/terms/garbage-collection-smr/) - [shingled-band](https://hesela.dev/terms/shingled-band/) - [host-aware-smr](https://hesela.dev/terms/host-aware-smr/) - [shingle-translation-layer](https://hesela.dev/terms/shingle-translation-layer/) Citations: - [c1] Shingled magnetic recording. https://en.wikipedia.org/wiki/Shingled_magnetic_recording (accessed 2026-03-26) - [n2] Zoned Storage — SMR disk models (drive-managed vs zoned). https://zonedstorage.io/docs/getting-started/smr-disk (accessed 2026-10-07) - [n3] Zoned Storage — SMR introduction (drive-managed model). https://zonedstorage.io/docs/introduction/smr (accessed 2026-10-07) - [n4] Western Digital — WD Red SMR vs CMR NAS drive information. https://support-en.wd.com/app/answers/detailweb/a_id/29458 (accessed 2026-10-07) - [skylight] Aghayev and Desnoyers: Skylight, FAST 2015, sections 4.5-4.6. https://files.usenix.org/s3fs-public/cdn/fast15-paper-aghayev.pdf (accessed 2026-10-15) - [zoned] Zoned Storage: Shingled Magnetic Recording Hard Disks. https://zonedstorage.io/docs/introduction/smr (accessed 2026-10-15) - [analysis] Hesela: SMR stalls, cache limits and the errors SMART can miss. https://hesela.com/analyses/smr-drive-failure-signatures/ (accessed 2026-10-15) - [linux-sd] Linux v6.8: sd_read_block_characteristics and zoned_cap_show. https://raw.githubusercontent.com/torvalds/linux/v6.8/drivers/scsi/sd.c (accessed 2026-10-19) - [linux-queue] Linux v6.8: queue_zoned_show. https://raw.githubusercontent.com/torvalds/linux/v6.8/block/blk-sysfs.c (accessed 2026-10-19) - [ext4] Aghayev et al.: Evolving Ext4 for Shingled Disks, FAST 2017, section 4.3. https://files.usenix.org/s3fs-public/cdn/fast17-aghayev.pdf (accessed 2026-10-19) ### Device-mapper URL: https://hesela.dev/terms/device-mapper/ Also known as: Device Mapper, Linux device-mapper Status: shipping Record updated: 2026-12-01 Device-mapper is a Linux kernel framework that implements virtual block devices through target-specific mappings of their address ranges. Note: LVM is a userspace volume-management system that uses device-mapper; it is not the kernel framework itself. The selected target determines what a mapping does. The linear target translates an address range onto a range in another block device, while dm-crypt adds encryption. [lvm] [linear] [crypt] A dmsetup table describes each segment with a start, length, target type and target parameters. Table start and length use 512-byte sectors; the linear target's backing offset uses the same unit. These are address units, not a declaration that the device has 512-byte physical sectors. Linux exposes logical and physical block sizes separately. [dmsetup] [block-abi] A linear mapping alone adds neither redundant copies nor thin-provisioning behavior. Capacity and failure guarantees depend on the selected targets and backing stack, not the presence of a /dev/mapper name. [linear] [lvm] Mapping generators need their own checks. The pinned Linux v6.12 reversal tutorial subtracts a chunk when a partial tail remains after truncation. In an arithmetic-only replay, 8192 input sectors produce one loop iteration but 8193 produce zero. This is a documentation-example observation, not a kernel-driver defect or a live device test. [linear-v612] [reversal-evidence] Sources and caveats: - Source synthesis from Linux kernel documentation and LVM2 manuals; no block devices were created or modified. - The framework is distinct from individual targets and from the userspace tools that configure them. - The v6.12 tutorial arithmetic was reproduced with Perl 5.38.2; source SHA-256 and the original twelve observations are retained. No blockdev or dmsetup command was executed. Related terms: - [lvm](https://hesela.dev/terms/lvm/) - [volume-manager](https://hesela.dev/terms/volume-manager/) - [dm-crypt](https://hesela.dev/terms/dm-crypt/) - [dm-zero](https://hesela.dev/terms/dm-zero/) - [dm-error](https://hesela.dev/terms/dm-error/) - [dm-striped](https://hesela.dev/terms/dm-striped/) - [dm-linear](https://hesela.dev/terms/dm-linear/) - [dm-log-writes](https://hesela.dev/terms/dm-log-writes/) - [dm-era](https://hesela.dev/terms/dm-era/) Citations: - [lvm] LVM2 lvm(8): userspace volume management and kernel Device Mapper. https://man7.org/linux/man-pages/man8/lvm.8.html (accessed 2026-11-29) - [linear] Linux kernel: dm-linear range translation and backing offset. https://docs.kernel.org/admin-guide/device-mapper/linear.html (accessed 2026-11-29) - [crypt] Linux v6.12: dm-crypt encryption target. https://docs.kernel.org/6.12/admin-guide/device-mapper/dm-crypt.html (accessed 2026-11-29) - [dmsetup] LVM2 dmsetup(8): logical devices, table format and sector units. https://man7.org/linux/man-pages/man8/dmsetup.8.html (accessed 2026-11-29) - [block-abi] Linux v6.10 stable ABI: logical_block_size and physical_block_size. https://www.kernel.org/doc/html/v6.10/admin-guide/abi-stable.html (accessed 2026-11-29) - [hesela-capacity] Hesela: device-mapper address units and capacity layers. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/#device-mapper (accessed 2026-11-29) - [linear-v612] Linux v6.12 linear.rst: pinned reversal tutorial, lines 47-56. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/linear.rst (accessed 2026-11-30) - [reversal-evidence] Hesela: twelve native arithmetic observations, independent integer oracle and replay instructions. https://hesela.dev/research/dm-linear-reversal/README.md (accessed 2026-11-30) ### DFSCQ URL: https://hesela.dev/terms/dfscq/ Also known as: Deferred-write FSCQ Status: research Record updated: 2026-12-04 DFSCQ is a verified research filesystem that permits deferred durability while specifying crash outcomes through ordered metadata and independently persisted file data. Note: DFSCQ defers writes: metadata persists in order, while file data may persist out of order. [dfscq17] Its fsync flushes all pending metadata, including unrelated directories. This is not a portable Linux guarantee. fdatasync needs block stability: the block list must grow monotonically across possible metadata states. Truncating breaks this; a log flush restores it. [dfscq17] [linux-fsync] A, B and C are distinct storage blocks; list position gives the logical offset. Truncate A,B to A, then regrow to A,C. Both endpoints have two blocks. Length alone misses the changed mapping: the model reports B at offset 1 as uncovered. A modeled log flush retains only A,C; it does not simulate data writes. This is not a DFSCQ reproduction. [block-model] [block-results] Hash nontermination is a proof convention: a modeled collision does not return. The runtime function does not loop on collisions. The paper bridges this gap with a collision-resistance assumption, not a collision detector. [dfscq17] The pinned interpreter uses CRC32 for Hash and Hash2. This is a revision-specific source observation, not a reproduction of the evaluated binary. The toy hash walkthrough is not a DFSCQ execution or collision-rate estimate. [hash-runtime] [hash-guide] Unmaintained prototype; Haskell/FUSE components are unverified. [artifact] Limitations: - The system and specification are single-threaded; the proof does not cover concurrent system calls. (sources: [dfscq17]) - Log bypass avoids the journal for data writes, not the buffer cache; it is distinct from direct I/O. (sources: [dfscq17]) Sources and caveats: - Primary-source review of the SOSP 2017 contract and implementation discussion, checked against the authors' pinned README and Linux interface documentation. No Coq proof rerun, prototype execution or benchmark replication. Related terms: - [fscq](https://hesela.dev/terms/fscq/) - [crash-hoare-logic](https://hesela.dev/terms/crash-hoare-logic/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [fdatasync](https://hesela.dev/terms/fdatasync/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [direct-io](https://hesela.dev/terms/direct-io/) Citations: - [dfscq17] Chen et al. Verifying a high-performance crash-safe file system using a tree specification. SOSP 2017; sections 4-6. DOI: 10.1145/3132747.3132776. https://pdos.csail.mit.edu/papers/dfscq.pdf (accessed 2026-12-04) - [artifact] FSCQ authors. Research-prototype warning and branch identities. README at revision 2c7ef9c268fd. https://github.com/mit-pdos/fscq/blob/2c7ef9c268fd79a81b26b44ef720f8e6a1e938a0/README.md (accessed 2026-12-04) - [linux-fsync] Linux man-pages: fsync(2), DESCRIPTION; file data, metadata and containing-directory entry. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-12-04) - [hesela-source-map] Hesela: DFSCQ source identity, section locators and review scope. https://hesela.dev/research/dfscq/source-map.json (accessed 2026-12-04) - [block-model] Hesela: file length and block identity, worked guide with executable model and tests. https://hesela.dev/research/dfscq-block-identity/README.md (accessed 2026-12-04) - [block-results] Hesela: generated block-identity walkthrough; pedagogical model, not measured filesystem data. https://hesela.dev/research/dfscq-block-identity/results.json (accessed 2026-12-04) - [hash-runtime] DFSCQ interpreter at revision 2c7ef9c268fd: crc32_word_update and Hash/Hash2 runtime clauses. https://github.com/mit-pdos/fscq/blob/2c7ef9c268fd79a81b26b44ef720f8e6a1e938a0/src/hslib/Interpreter.hs (accessed 2026-12-04) - [hash-guide] Hesela: proof versus runtime hash semantics, pinned source review and executable teaching model. https://hesela.dev/research/dfscq-hash-semantics/README.md (accessed 2026-12-04) ### DFTL URL: https://hesela.dev/terms/dftl/ Also known as: Demand-based Flash Translation Layer Status: research Record updated: 2026-11-09 DFTL is a research flash translation layer that caches selected page-level address mappings in RAM while keeping mapping pages on flash. Note: The Cached Mapping Table holds selected data-page mappings; the Global Translation Directory locates their translation pages. Mapping granularity and RAM residency are separate choices. [dftl2009] An unchanged victim can be discarded without metadata writeback. A modified victim requires a translation-page update and directory adjustment. [dftl2009] Demand caching favors temporal reuse; the original implementation uses segmented LRU. DFTL names a specific design, not every partially cached FTL. [dftl2009] Limitations: - The original evaluation uses FlashSim and workload traces; its results do not establish the performance of current commercial SSDs. (sources: [dftl2009]) Sources and caveats: - Source synthesis from the original paper, sections 3-5; no experiment reproduced here. Related terms: - [global-translation-directory](https://hesela.dev/terms/global-translation-directory/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [page-level-mapping](https://hesela.dev/terms/page-level-mapping/) - [translation-page](https://hesela.dev/terms/translation-page/) - [ftl](https://hesela.dev/terms/ftl/) - [tpftl](https://hesela.dev/terms/tpftl/) - [s-ftl](https://hesela.dev/terms/s-ftl/) Citations: - [dftl2009] Gupta, Kim and Urgaonkar. DFTL: A Flash Translation Layer Employing Demand-based Selective Caching of Page-level Address Mappings. ASPLOS 2009. https://doi.org/10.1145/1508244.1508271 (accessed 2026-11-09) - [mapping-guide] Hesela: SSD mapping caches and host memory. https://hesela.com/analyses/ssd-mapping-cache-hmb/ (accessed 2026-11-09) ### Exponential histogram (DGIM) URL: https://hesela.dev/terms/dgim-exponential-histogram/ Also known as: DGIM, DGIM exponential histogram Status: research Record updated: 2026-11-20 A DGIM exponential histogram approximates recent-stream counts using timestamped buckets whose sizes grow by powers of two. Note: The original counting problem concerns 1-bits among the latest N stream elements. Older equal-size buckets merge, retaining their more recent timestamp. Only the oldest surviving bucket may straddle the window boundary; its partial contribution is estimated. The paper derives a relative-count-error bound with O((1/epsilon) log^2 N) bits of memory. This is a deterministic approximation bound, not a sampling confidence interval. [dgim] Here, bucket size means a count of 1-bits, not a range of measured latencies. The similarly named OpenTelemetry representation partitions measurement magnitudes instead. Choosing either representation does not by itself specify wall-clock windows, handling of late events or the population to count. For storage telemetry, first decide whether the question is how many events occurred recently or how measured durations were distributed. A stream position and a duration value are different coordinates. Related terms: - [opentelemetry-exponential-histogram](https://hesela.dev/terms/opentelemetry-exponential-histogram/) Citations: - [dgim] Datar, Gionis, Indyk and Motwani. Maintaining Stream Statistics over Sliding Windows. SIAM J. Comput. 31(6):1794-1813 (2002), sections 1-2. https://doi.org/10.1137/S0097539701398363 (accessed 2026-11-20) ### NAND die stacking URL: https://hesela.dev/terms/die-stacking/ Related article: https://hesela.com/tech/nand-flash/ Also known as: multi-die NAND package, multi-chip package Status: shipping Record updated: 2026-10-23 NAND die stacking places multiple physical NAND dies in one package to increase capacity per package. Note: Package-level stacking combines separate dies; 3D NAND instead arranges memory cells in layers within a die. A package can use both approaches. [cai-errors] The 2008 design study describes two dies sharing an I/O bus, with separate chip-enable and ready/busy signals. That is a concrete organization, not a definition of all stacked packages. More dies can expose overlapping array work without multiplying the bandwidth of shared transfer wires. [agrawal-ssd] Keep physical construction separate from interface geometry. ONFI groups logical units into targets, while Linux represents targets, LUNs and planes separately. Package capacity alone cannot reveal those counts or the supported command schedule. [onfi4] [linux612] Historical scope matters. The 2017 survey describes 4-16 chips per SSD, up to 16 dies per chip and 1-4 planes per die in its architectural account; these are not present-day limits. Its superpage parity example assigns one die's contribution to parity and c x d - 1 to data for c chips with d dies each. Recovery depends on that parity organization, not stacking alone. [cai-errors] Advantages: - The survey's superpage-parity design can recover one unavailable die contribution when the remaining contributions and parity are usable; stacking alone supplies no such guarantee. (sources: [cai-errors]) Limitations: - Adding dies does not by itself remove contention on a shared NAND channel. (sources: [agrawal-ssd]) Sources and caveats: - The 2008 paper and 2017 survey describe historical architectures, not present-day stack-height, package-count or timing limits. - Physical packaging and controller-visible addressing are different descriptions; confirm their mapping in the selected component's data sheet. - The error survey is university-led with one drive-maker co-author; it does not establish current packaging limits, price or yield. Related terms: - [3d-nand](https://hesela.dev/terms/3d-nand/) - [v-nand](https://hesela.dev/terms/v-nand/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [nand-target](https://hesela.dev/terms/nand-target/) - [nand-logical-unit](https://hesela.dev/terms/nand-logical-unit/) - [nand-plane](https://hesela.dev/terms/nand-plane/) Citations: - [c1] NAND die stacking. https://en.wikipedia.org/wiki/3D_NAND (accessed 2026-03-26) - [cai-errors] Cai, Ghose, Haratsch, Luo and Mutlu. Errors in Flash-Memory-Based Solid-State Drives: Analysis, Mitigation, and Recovery. arXiv 1711.11427. https://arxiv.org/abs/1711.11427 (accessed 2026-10-16) - [agrawal-ssd] Agrawal et al., Design Tradeoffs for SSD Performance, USENIX ATC 2008. https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal_html/index.html (accessed 2026-10-16) - [onfi4] ONFI 4.0, sections 1.4.1 and 3: NAND target, logical unit and memory organization. https://onfi.org/files/onfi_4_0-gold.pdf (accessed 2026-10-20) - [linux612] Linux v6.12, include/linux/mtd/nand.h: nand_memory_organization, nand_pos and nanddev_target_size. https://raw.githubusercontent.com/torvalds/linux/v6.12/include/linux/mtd/nand.h (accessed 2026-10-20) ### Differential backup URL: https://hesela.dev/terms/differential-backup/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Status: shipping Record updated: 2026-10-23 A differential backup captures changes accumulated since its designated full-backup base, rather than only changes since the preceding differential backup. Note: A contingency-planning guide defines a differential backup as storing files created or modified since the last full backup, so a changed file is saved again in each differential until the next full backup. Restoring needs only the full backup media and the latest differential, whereas an incremental scheme may need every incremental since the full backup. [nist-sp800-34] As arithmetic, a weekly full backup followed by six nightly differentials restores from 2 backup sets, while six nightly incrementals can require 7. One database engine tracks changes per extent, a unit of eight physically contiguous pages, in a bitmap with one bit per extent, and a differential copies every extent marked since its base. [sql-differential] Its size depends on how much data changed since the base, so the older the base, the larger each new differential tends to be. A copy-only full backup does not update that bitmap and does not become a new base. Terminology varies. One storage dictionary calls changes since the last full backup a cumulative incremental backup, while its differential incremental backup copies changes since the latest full or incremental backup, which behaves like an ordinary incremental. [snia-cumulative] [snia-differential] Check which meaning a tool uses before assuming its restore chain. Advantages: - Frequent differentials reduce data-loss exposure when a subset of the data changes often, without repeating full backups. (sources: [sql-differential]) Limitations: - For a read-only database the differential base is recorded outside it and is lost if that database is restored, rebuilt or reattached. (sources: [sql-differential]) Sources and caveats: - nist-sp800-34 read 2026-10-23, section 5.1.2, for the differential definition and restore media. - The 2 versus 7 backup sets for one week is arithmetic, not a measured result. - sql-differential re-read 2026-10-23 for eight-page extents, the differential bitmap, copy-only backups and read-only base metadata. - snia-differential and snia-cumulative read 2026-10-23 for the two dictionary definitions. - The synthetic-full-backup entry links here because a synthetic full is assembled from a base and later change sets, the same base-relative chain this entry defines. - A companion analysis on backup verification is listed but not used in prose. Related terms: - [full-backup](https://hesela.dev/terms/full-backup/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [backup](https://hesela.dev/terms/backup/) - [point-in-time-recovery](https://hesela.dev/terms/point-in-time-recovery/) - [restore-test](https://hesela.dev/terms/restore-test/) - [synthetic-full-backup](https://hesela.dev/terms/synthetic-full-backup/) Citations: - [sql-differential] Microsoft SQL Server: Differential backups and differential bases. https://learn.microsoft.com/en-us/sql/relational-databases/backup-restore/differential-backups-sql-server?view=sql-server-ver17 (accessed 2026-10-23) - [snia-differential] SNIA Dictionary: differential incremental backup. https://www.snia.org/education/online-dictionary/term/differential-incremental-backup (accessed 2026-10-23) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-14) - [nist-sp800-34] NIST SP 800-34 Rev. 1. Contingency Planning Guide for Federal Information Systems, 2010, section 5.1.2: full, incremental and differential backups. https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-34r1.pdf (accessed 2026-10-23) - [snia-cumulative] SNIA Dictionary: cumulative incremental backup. https://www.snia.org/education/online-dictionary/term/cumulative-incremental-backup (accessed 2026-10-23) ### Differential observability URL: https://hesela.dev/terms/differential-observability/ Related analysis: https://hesela.com/analyses/nvme-fail-slow-unseen-by-smart/ Status: unknown Record updated: 2026-11-07 Differential observability is a difference between entities' observations of the same system's health. Note: The gray-failure case is asymmetric: the application observes trouble and the internal observer does not; a detector noticing a problem before an application is affected is a different case. [huang-hotos17] The 2017 model separates an internal observer and a reactor from the applications that use a system. Crossing app and observer views gives four cases: no failure, gray failure, early detection by the observer, and agreed failure such as a crash. Applications usually judge health from end-to-end metrics such as query latency or remote I/O status. [huang-hotos17] The difference is often temporary. As degradation grows the observer also detects the problem, but by then the gray failure may have become a complete failure, and with intermittent faults the transition can repeat. [huang-hotos17] Panorama detected all 15 reproduced gray failures. Section 7.4 reports 0.2-7 s, using the earliest failure-observation timestamp included in the final verdict. That is not a measurement of when a consumer receives the verdict. Baselines missed 14 cases within 300 s; Cassandra's built-in detector caught the remaining case after 86 s. These are selected reproduced cases, not a fleet-wide detection rate. [panorama] Advantages: - Panorama improved several crash-detection times, but the HDFS HA NameNode's built-in detector was slightly faster. In the evaluated optimized implementation, latency increases and throughput reductions were below 3%; without the reporting optimizations, overhead reached 18%. (sources: [panorama]) Limitations: - A system cannot track how every application in a multi-tenant environment uses it, so the gap can be narrowed but not fully removed. (sources: [huang-hotos17]) - Multiple overloaded observers falsely blamed a healthy leader in one test; requester reports can misattribute the cause of poor service. (sources: [panorama]) Sources and caveats: - huang-hotos17, the HotOS 2017 paper by Huang et al. (Microsoft Research, Johns Hopkins University, Microsoft Azure), was reread on the access date in sections 3 and 4. - panorama is the OSDI 2018 paper by Huang, Guo, Lorch, Zhou and Dang (Johns Hopkins University, ByteDance, Microsoft Research, Microsoft), read in the abstract and sections 1, 3 and 7. - OSDI section 7.4 defines the timing endpoint and 300 s baseline window; section 7.6 also reports false conviction with multiple overloaded observers. - The status stays unknown because both sources describe a model and a research prototype, not a measured incidence rate. - Source review on 2026-10-29 checks evaluation sections 7.1, 7.4 and 7.6; it is not a reproduction or a new performance measurement. - The 2026-11-07 source review also checks sections 7.3 and 7.7: crash-detection comparisons have exceptions, and the reported overhead depends on hook coalescing and batched reporting. Related terms: - [gray-failure](https://hesela.dev/terms/gray-failure/) - [fail-slow](https://hesela.dev/terms/fail-slow/) - [phi-accrual-detector](https://hesela.dev/terms/phi-accrual-detector/) Citations: - [huang-hotos17] Huang et al., Gray Failure: The Achilles' Heel of Cloud-Scale Systems, HotOS 2017, sections 3 and 4; DOI 10.1145/3102980.3103005. https://www.microsoft.com/en-us/research/wp-content/uploads/2017/06/paper-1.pdf (accessed 2026-11-07) - [hesela-observers] Hesela: Fail-slow NVMe SSDs: what SMART and heartbeats miss. https://hesela.com/analyses/nvme-fail-slow-unseen-by-smart/ (accessed 2026-10-13) - [panorama] Huang, Guo, Lorch, Zhou and Dang. Capturing and Enhancing In Situ System Observability for Failure Detection. OSDI 2018. https://www.usenix.org/system/files/osdi18-huang.pdf (accessed 2026-11-07) ### Differential RAID URL: https://hesela.dev/terms/differential-raid/ Related analysis: https://hesela.com/analyses/raid-write-penalty-io-not-speed/ Also known as: Diff-RAID Status: research Record updated: 2026-11-03 Differential RAID is a research design that combines uneven parity placement with parity reassignment during replacement to maintain different SSD wear ages. Note: The EuroSys 2010 design targets wear-driven reliability under its model; merely using a dedicated parity drive is insufficient. Full-row writes weaken the intended write imbalance [diffraid2010]. For a worked calculation, distinguish parity share, member writes, NAND erasures and device failure risk. Host-data volume, not the fraction of requests, weights mixtures of small and full-row writes [hesela-placement]. Its simulated data-loss probability is conditional on a member failure or removal and reconstruction, not an annual failure rate. The oldest-member and any-member cases condition on different missing-device choices. Performance measurements disabled XOR computation [diffraid2010]. FAST 2016 found RBER a poor predictor of uncorrectable errors in its custom SSD fleet. This cautions against transferring chip-based predictions to production; it is not a direct Diff-RAID comparison [schroeder2016]. A later model makes the comparison depend on error and repair rates. Its error-dominant case starts Diff-RAID with converged wear ages but RAID-5 with fresh drives: the ranking is not a matched-new-array result [li2013]. Stripe repair and worn-drive replacement are distinct in that model. Replacement is instantaneous and copies erroneous chunks too, rather than clearing existing errors [li2013]. Advantages: - Makes the relationship between redundancy placement and per-member write load explicit Limitations: - Write-count differences do not establish a present-day reliability improvement - Parity reassignment adds replacement work Related terms: - [raid-5](https://hesela.dev/terms/raid-5/) - [full-stripe-write](https://hesela.dev/terms/full-stripe-write/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) Citations: - [diffraid2010] Balakrishnan et al. Differential RAID: Rethinking RAID for SSD Reliability. EuroSys 2010, sections 3-4. https://www.microsoft.com/en-us/research/wp-content/uploads/2010/04/BKPM-Eurosys2010.pdf (accessed 2026-10-27) - [hesela-placement] Hesela: parity placement and per-member writes. https://hesela.com/analyses/raid-write-penalty-io-not-speed/#parity-placement (accessed 2026-10-20) - [schroeder2016] Schroeder, Lagisetty and Merchant. Flash Reliability in Production: The Expected and the Unexpected. FAST 2016, sections 2 and 5.2. https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-10-27) - [li2013] Li, Lee and Lui. Stochastic Analysis on RAID Reliability for Solid-State Drives. arXiv:1304.1863v1 (2013), sections II and V.B, Figure 5. https://arxiv.org/pdf/1304.1863v1 (accessed 2026-11-03) ### Digital sum value URL: https://hesela.dev/terms/digital-sum-value/ Also known as: DSV, Running digital sum, RDS Status: unknown Record updated: 2026-11-23 Digital sum value is the running sum of a specified binary signal represented by +1 for one and -1 for zero. Note: For optical recording, identify the representation first. The transition-indicator stream and its NRZI level stream have different sums. DVD-ROM uses signal-balance control to suppress low-frequency content. [ecma267] With initial level +1, toggling before each 1 and holding on 0, the repeated transition pattern 10010000 yields levels ---+++++. Every eight bits add +2 to the level sum although every transition gap satisfies (2,10). Reversing the initial polarity reverses the sum, not its magnitude. Thus an RLL constraint alone does not ensure balance. [example] The pattern 100100 gives ---+++ under the same convention. Each complete period returns the sum to zero. Inspect the running path as well as the endpoint; a final zero does not bound every earlier excursion. [example] Terminology matters: some constrained-coding literature uses DSV for digital sum variation, the range of running-sum values, rather than the instantaneous sum. State the convention when comparing numbers. [immink1998] Sources and caveats: - The sign convention in the example is explicit and arbitrary. Reversing polarity does not alter transition spacing. - Synthetic sequences are not claimed to be emitted by an EFMPlus encoder; neither their sums nor their run lengths measure optical read quality. Related terms: - [efmplus](https://hesela.dev/terms/efmplus/) - [run-length-limited](https://hesela.dev/terms/run-length-limited/) Citations: - [ecma267] ECMA-267, 2nd edition (1999), clauses 4.4, 20-22 and Annex G. https://www.ecma-international.org/wp-content/uploads/ECMA-267_2nd_edition_december_1999.pdf (accessed 2026-11-23) - [immink1998] Immink, Siegel and Wolf. Codes for Digital Recorders. IEEE TIT 44(6), 2260-2299 (1998), sections III-A and IV-D. https://cmrr-star.ucsd.edu/static/pubs/codes_digital_recorders.pdf (accessed 2026-11-23) - [example] Hesela - finite RLL boundary and NRZI balance examples, generated results. https://hesela.dev/research/efmplus/results.json (accessed 2026-11-23) - [code] Hesela - executable signal model (JavaScript, CC0). https://hesela.dev/research/efmplus/model.js (accessed 2026-11-23) - [tests] Hesela - exhaustive small-word regression tests (Node.js, CC0). https://hesela.dev/research/efmplus/model.test.js (accessed 2026-11-23) ### DiLOS URL: https://hesela.dev/terms/dilos/ Also known as: EagleOS Status: research Record updated: 2026-11-15 DiLOS is a research library operating system that uses a specialized paging path and optional application-aware guides to access disaggregated memory. Note: Mechanism: An OSv-based LibOS replaces the swap cache with unified page-table states. Fetched pages map directly; accessed-bit tracking supplies prefetch feedback. Optional guides use application layouts for prefetching and allocator hints to transfer only occupied page regions. [paper] Compatibility boundary: Unmodified supported ELF binaries do not imply complete Linux compatibility. The prototype lacks fork() and live migration; application-aware guides still require integration work. [paper] Failure boundary: One compute node uses one memory node. Memory-node failure recovery is outside the prototype; remote placement is not a durability guarantee. [paper] Comparison boundary: DiLOS-TCP is RDMA with 14,000 added cycles per completion, not a TCP implementation. The paper reports five-run means on a two-node 100 GbE RoCE testbed; workload, memory budget and prefetcher matter. [paper] Reproduction trap: The pinned config-bench.sh sets TRIES=1. Its quicksort driver sources that file and loops over TRIES, memory sizes and prefetchers. An unchanged default run therefore does not recreate the paper's five repetitions. This difference is not evidence that the published measurements used one run. [config] [quicksort] Artifact scope: The author README identifies EagleOS as an anonymized DiLOS name and specifies Ubuntu 18.04 plus separate compute/memory-node setup. Its root-level installation, reboot and dataset-preparation commands are historical reproduction instructions, not a deployment guide for an existing production host. [readme] Sources and caveats: - Primary-source synthesis and static script inspection, not a native DiLOS execution, RDMA benchmark or crash-recovery experiment. - The repetition mismatch compares a documented method with the pinned artifact default. Actual experiment configuration and raw run histories were not established. Related terms: - [aifm](https://hesela.dev/terms/aifm/) - [fastswap](https://hesela.dev/terms/fastswap/) Citations: - [paper] Yoon, Ok, Oh, Moon and Kwon. DiLOS. EuroSys 2023; sections 4-6. DOI: 10.1145/3552326.3567488. https://yoon.ws/publication/dilos-eurosys23.pdf (accessed 2026-11-15) - [config] DiLOS authors: benchmark repetition configuration, pinned revision 1a0e414. https://github.com/ANLAB-KAIST/dilos/blob/1a0e4146f9cfe06b03012ab01aa1ac3cd1c2a161/scripts/config-bench.sh (accessed 2026-11-15) - [quicksort] DiLOS authors: quicksort driver and repetition loop, pinned revision 1a0e414. https://github.com/ANLAB-KAIST/dilos/blob/1a0e4146f9cfe06b03012ab01aa1ac3cd1c2a161/scripts/bench-quicksort.sh (accessed 2026-11-15) - [readme] DiLOS authors: artifact identity, environment and setup, pinned revision 1a0e414. https://github.com/ANLAB-KAIST/dilos/blob/1a0e4146f9cfe06b03012ab01aa1ac3cd1c2a161/README.md (accessed 2026-11-15) ### Direct-attached storage URL: https://hesela.dev/terms/direct-attached-storage/ Related article: https://hesela.com/tech/sas/ Also known as: DAS, direct attached storage Status: shipping Record updated: 2026-10-25 Direct-attached storage (DAS) is storage connected locally to, and dedicated to, a server. Note: DAS describes the server-to-storage attachment, not a recording medium or a file-sharing protocol. The local connection can lead to an external SAS enclosure through a host bus adapter or RAID controller; direct attachment does not mean that the drives must be inside the server. [snia-das] [external-sas] NAS describes file access offered to network clients. A server can read locally attached disks while exporting their file system through NFS or SMB. Those are different interfaces in the same installation; a NAS server can also use other backing storage. A SAN is a storage-focused network, commonly but not necessarily providing block services. [snia-nas] [rhel-layers] [snia-san] The DAS label alone does not determine host count at enclosure level. Documented SAS expansion configurations include multiple directly attached hosts, with zoning to partition drives or cluster software to coordinate shared access. The cited enclosure guide allows unzoned multi-host sharing with HBAs, not RAID controllers. Check which devices are assigned to which hosts rather than treating a shelf as one indivisible device. [external-sas] Shared-device visibility does not coordinate file-system caches. Cluster file systems add coordination above block access. In Frangipani's historical design, a writer flushed dirty blocks before handing off its lock, while releasing a lock invalidated the associated cache entry. This illustrates a separate software responsibility, not a guarantee supplied by SAS. [rhel-layers] [frangipani-coherence] Advantages: - External drive expansion can use a compatible SAS HBA or RAID adapter without adding a network file-service interface to that attachment. (sources: [external-sas]) Limitations: - In the documented SAS configurations, multiple paths are managed by RAID-controller firmware or host multipathing software. (sources: [external-sas]) Sources and caveats: - The definition follows the current SNIA device-level meaning; enclosure documentation uses DAS more broadly for supported multi-host configurations. [snia-das] [external-sas] - LP0512 describes withdrawn Lenovo D1212/D1224 products and is an architecture example, not a product recommendation or a universal host-count limit. [external-sas] Related terms: - [nas](https://hesela.dev/terms/nas/) - [san](https://hesela.dev/terms/san/) - [block-storage](https://hesela.dev/terms/block-storage/) - [sas](https://hesela.dev/terms/sas/) - [hba](https://hesela.dev/terms/hba/) - [disk-shelf](https://hesela.dev/terms/disk-shelf/) Citations: - [snia-das] SNIA dictionary: Direct Attached Storage. https://www.snia.org/education/online-dictionary/term/direct-attached-storage (accessed 2026-10-25) - [snia-nas] SNIA dictionary: Network Attached Storage. https://www.snia.org/education/online-dictionary/term/network-attached-storage (accessed 2026-10-25) - [snia-san] SNIA dictionary: Storage Area Network. https://www.snia.org/education/online-dictionary/term/storage-area-network (accessed 2026-10-25) - [external-sas] Lenovo Press LP0512: D1212 and D1224 enclosures, host connectivity (withdrawn products). https://lenovopress.lenovo.com/lp0512-lenovo-storage-d1212-d1224-drive-enclosures (accessed 2026-10-25) - [rhel-layers] Red Hat Enterprise Linux 10: Overview of available file systems, local and network file systems. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/managing_file_systems/overview-of-available-file-systems (accessed 2026-10-25) - [frangipani-coherence] Thekkath, Mann and Lee, Frangipani: A Scalable Distributed File System, SOSP 1997, sections 2.1, 5 and 6. https://pdos.csail.mit.edu/archive/6.824-2004/papers/thekkath-frangipani.pdf (accessed 2026-10-25) ### Direct-I/O alignment URL: https://hesela.dev/terms/direct-io-alignment/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: DIO alignment Status: shipping Record updated: 2026-10-22 Direct-I/O alignment is the per-file constraint on memory addresses, file offsets and I/O segment lengths used for direct transfers. Note: On Linux, inspect the returned statx mask before interpreting alignment fields. An absent STATX_DIOALIGN bit means unknown, whereas reported zero base fields mean unsupported direct I/O. A nonzero read-specific field can relax read offset and length requirements without relaxing memory alignment. [statx-2] STATX_DIOALIGN is supported on block devices since Linux 6.1 and on regular files of ext4, f2fs and xfs since the same release. The read-specific field is supported by xfs on regular files since Linux 6.14. [statx-2] Without that query, alignment can only be inferred from the filesystem, file, device and kernel version. Linux 2.4 filesystems on block devices typically required multiples of the filesystem block size, often 4096 bytes. Linux 2.6.0 relaxed this to the logical block size, typically 512 bytes. Misaligned requests may fail with EINVAL or fall back to buffered I/O, and the Linux NFS client imposes no alignment. [open-2] Advantages: - Makes direct-transfer eligibility explicit instead of assuming a universal sector size. (sources: [statx-2], [open-2]) Limitations: - Alignment metadata does not prove execution mode, atomicity or durability. (sources: [statx-2]) - Some filesystems serve misaligned direct requests through buffered I/O instead of failing them, so a completed request does not prove that the page cache was bypassed. (sources: [open-2]) Sources and caveats: - statx-2 and open-2 are the Linux man-pages statx(2) and open(2) pages, read in the field descriptions and the O_DIRECT notes. - Linux 6.1, Linux 6.14 and the per-filesystem support come from statx-2. - 4096 bytes, 512 bytes, Linux 2.4 and 2.6.0, EINVAL and the NFS client rule come from open-2. Related terms: - [direct-io](https://hesela.dev/terms/direct-io/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [page-cache](https://hesela.dev/terms/page-cache/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [io-request-size](https://hesela.dev/terms/io-request-size/) Citations: - [statx-2] Linux man-pages: statx(2), returned masks and direct-I/O alignment fields. https://man7.org/linux/man-pages/man2/statx.2.html (accessed 2026-10-22) - [open-2] Linux man-pages: open(2), O_DIRECT alignment notes. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-22) ### Direct I/O URL: https://hesela.dev/terms/direct-io/ Also known as: O_DIRECT Status: shipping Record updated: 2026-11-30 Direct I/O is a file-access mode, such as Linux O_DIRECT, that requests I/O through user-space buffers while minimizing use of the local operating-system page cache. Note: Linux O_DIRECT has been supported since 2.4.10. It transfers through user-space buffers to reduce local page-cache use. Performance is workload-dependent; keep it an optional optimization. O_DIRECT alone lacks O_SYNC durability semantics. [c1] Alignment varies by filesystem and kernel. Historical Linux 2.4 generally used filesystem-block alignment (often 4096 bytes); 2.6.0 relaxed this to logical-device blocks (often 512 bytes). These are not universal defaults. Misalignment may fail with EINVAL or use buffering; unsupported filesystems can reject open() with EINVAL. Since 6.1, statx can report per-file requirements. Check returned mask bits: absent STATX_DIOALIGN means unknown; reported zero base fields mean unsupported. Read-specific alignment does not relax buffer alignment. [c1] [statx-2] NFS O_DIRECT bypasses only the client page cache; the flag is not sent to the server. OpenZFS v2.3 can verify in-flight direct-write buffers and report errors through zpool status -d; such errors alone do not identify media damage. [open-current] [openzfs-dio] A failed direct write can partially modify the attempted range. Treat it as potentially inconsistent: the error alone neither proves corruption nor gives a completed-byte count. Positive short results report transferred bytes, not by themselves durability. Interpret errno and the failure stage separately. [write-errors] Linux v6.17 iomap tracks bio errors separately from submitted size; completion can return an error instead of that total, with filesystem hooks participating. Retain intended offset, length and payload for recovery rather than assuming rollback. [iomap-dio-errors] NFSD v7.2 can fall back from server DONTCACHE to buffering; client O_DIRECT does not select that policy. [nfsd-vfs-72] Advantages: - Avoids double buffering when an application, such as a database, manages its own cache - Can bypass the local page cache where the filesystem supports direct I/O; remote-server and device caches are separate. - Linux 6.1 and later can report alignment requirements per file via statx() STATX_DIOALIGN Limitations: - Performance depends on request sizes, caching and concurrency; compare equivalent workloads and completion requirements. - Not a durability guarantee by itself; O_SYNC must be added to guarantee data and metadata transfer - Offset, length and buffer alignment rules vary by filesystem and kernel; misaligned I/O can fail with EINVAL or fall back to buffered I/O - Mixing O_DIRECT with buffered I/O or mmap on the same file is discouraged, and private-buffer O_DIRECT I/O must not run concurrently with fork() Sources and caveats: - The error explanation is based on Linux man-pages and the v6.17 iomap implementation, not native fault injection or measured persisted-byte coverage. [write-errors] [iomap-dio-errors] - NFSD supplement: source review pinned to Linux v7.2, not a feature-introduction date, server benchmark or cache-residency measurement. Related terms: - [evfs-event-driven](https://hesela.dev/terms/evfs-event-driven/) - [block-storage](https://hesela.dev/terms/block-storage/) - [ssd](https://hesela.dev/terms/ssd/) - [fsync](https://hesela.dev/terms/fsync/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [write-through-cache](https://hesela.dev/terms/write-through-cache/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [512e](https://hesela.dev/terms/512e/) - [4kn-native](https://hesela.dev/terms/4kn-native/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [nvme](https://hesela.dev/terms/nvme/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [fault-injection](https://hesela.dev/terms/fault-injection/) - [direct-io-alignment](https://hesela.dev/terms/direct-io-alignment/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [page-cache](https://hesela.dev/terms/page-cache/) - [nfs-attribute-cache](https://hesela.dev/terms/nfs-attribute-cache/) - [rwf-hipri](https://hesela.dev/terms/rwf-hipri/) - [kvell](https://hesela.dev/terms/kvell/) - [file-flag-no-buffering](https://hesela.dev/terms/file-flag-no-buffering/) - [rwf-dontcache](https://hesela.dev/terms/rwf-dontcache/) - [zicio](https://hesela.dev/terms/zicio/) Citations: - [c1] open(2) — open, openat, creat (Linux man-pages, O_DIRECT section; Debian bookworm manpages-dev). https://manpages.debian.org/bookworm/manpages-dev/open.2.en.html (accessed 2026-10-11) - [open-current] Linux man-pages open(2), Debian trixie: O_DIRECT and NFS client/server cache scope. https://manpages.debian.org/trixie/manpages-dev/open.2.en.html (accessed 2026-10-12) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-12) - [openzfs-dio] OpenZFS v2.3 zfs(4), zfs_vdev_direct_write_verify: in-flight buffer verification. https://openzfs.github.io/openzfs-docs/man/v2.3/4/zfs.4.html#zfs_vdev_direct_write_verify (accessed 2026-10-14) - [statx-2] Linux man-pages: statx(2), returned masks and direct-I/O alignment fields. https://man7.org/linux/man-pages/man2/statx.2.html (accessed 2026-10-14) - [hesela-alignment] O_DIRECT alignment: query the file, not a fixed block size. https://hesela.com/analyses/o-direct-alignment-by-kernel/ (accessed 2026-10-14) - [write-errors] Linux man-pages 6.19: write(2), return values and direct-I/O error warning. https://man7.org/linux/man-pages/man2/write.2.html (accessed 2026-11-08) - [iomap-dio-errors] Linux v6.17: iomap direct-I/O submission, bio error collection and completion. https://github.com/torvalds/linux/blob/v6.17/fs/iomap/direct-io.c (accessed 2026-11-08) - [nfsd-modes-72] Linux v7.2 NFSD IO MODES: experimental server read/write policy and DONTCACHE fallback. https://docs.kernel.org/7.2/filesystems/nfs/nfsd-io-modes.html (accessed 2026-11-28) - [nfsd-vfs-72] Linux v7.2 fs/nfsd/vfs.c: nfsd_iter_read and nfsd_vfs_write capability checks. https://github.com/torvalds/linux/blob/v7.2/fs/nfsd/vfs.c (accessed 2026-11-28) ### DIRECT recovery URL: https://hesela.dev/terms/direct-recovery/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Also known as: Distributed error Isolation and RECovery Techniques Status: research Record updated: 2026-11-22 DIRECT is a research approach that repairs small corrupted regions from distributed replicas while preserving the storage system's update order. Note: DIRECT combines fine-grained data recovery, local metadata redundancy and recovery ordered with writes. Logical replicas can have different physical file layouts, so a damaged block cannot simply be replaced by the same block from another replica. [direct] Its key-value implementation places a patch request in its own Paxos log entry. The donor supplies the preceding log-prefix state; installation is atomic. Keys absent from that complete range are implicit deletions, including deletions whose tombstones have already been compacted away. Affected historical snapshots need separate handling. [direct] An empty complete range and an incomplete scan are different inputs. Only the former supports removing every local key in that range. The executable example compares range replacement with a merge that preserves a deleted key. [demo] Evaluation used injected errors, not a field trial of extended SSD lifetime. [direct] An earlier eight-system study independently showed that replication alone does not guarantee recovery from a single filesystem fault. [faults] Limitations: - Recovery depends on identifying the affected logical range and obtaining an intact donor at the required consistency point. (sources: [direct]) Sources and caveats: - Primary source review, not a DIRECT implementation, hardware experiment or benchmark replication. [direct] - The linked example is an in-memory teaching model. Its complete-range and log-position assertions are assumptions supplied by the caller, not a distributed proof. [demo] Related terms: - [read-repair](https://hesela.dev/terms/read-repair/) - [silent-data-corruption](https://hesela.dev/terms/silent-data-corruption/) - [state-machine-replication](https://hesela.dev/terms/state-machine-replication/) - [lsm-tombstone](https://hesela.dev/terms/lsm-tombstone/) - [sstable](https://hesela.dev/terms/sstable/) Citations: - [direct] Tai et al. Who's Afraid of Uncorrectable Bit Errors? Online Recovery of Flash Errors with Distributed Redundancy. USENIX ATC 2019, sections 3-5. https://www.usenix.org/system/files/atc19-tai.pdf (accessed 2026-11-22) - [faults] Ganesan et al. Redundancy Does Not Imply Fault Tolerance. USENIX FAST 2017. https://www.usenix.org/conference/fast17/technical-sessions/presentation/ganesan (accessed 2026-11-22) - [demo] Hesela: complete-range patch counterexample, executable model and tests. https://hesela.dev/research/direct-recovery/README.md (accessed 2026-11-22) ### Direct standardization URL: https://hesela.dev/terms/direct-standardization/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: Direct rate standardization Status: shipping Record updated: 2026-10-20 Direct standardization compares populations by applying the same reference weights to their stratum-specific rates. Note: The reference weights are nonnegative and sum to one; the same strata and weights must be used for each comparison. NCHS describes this approach for age-adjusted population rates. A standardized rate is a comparison summary rather than the study population's crude rate. [nchs-standardization] For exposure-based storage rates, Hesela uses a declared reference drive-time distribution and rates in failures per 100 drive-years. The synthetic example gives 4% and 3% under equal age-band weights, while the observed aggregates of the invented inputs are 2.4% and 4.6%. No human population standard is applied to disks, and these are not failure probabilities. [hesela-composition] Missing or zero exposure does not provide a zero rate. State the target population, age-band definitions, coverage and sparse strata. Common weights do not by themselves control other differences or turn an observational comparison into a causal estimate. [hesela-composition] Related terms: - [afr](https://hesela.dev/terms/afr/) - [drive-day](https://hesela.dev/terms/drive-day/) - [simpsons-paradox](https://hesela.dev/terms/simpsons-paradox/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) Citations: - [nchs-standardization] Klein and Schoenborn (2001): Age Adjustment Using the 2000 Projected U.S. Population, Statistical Notes 20, p. 5. https://www.cdc.gov/nchs/data/statnt/statnt20.pdf (accessed 2026-10-20) - [hesela-composition] Hesela: AFR, fleet composition and common-weight comparison (synthetic example). https://hesela.com/analyses/afr-rate-not-probability/#composition (accessed 2026-10-20) ### Directory enumeration URL: https://hesela.dev/terms/directory-enumeration/ Related analysis: https://hesela.com/analyses/inotify-change-detection/ Also known as: directory listing, directory traversal Status: shipping Record updated: 2026-11-15 Directory enumeration retrieves entries from a directory, while a recursive traversal combines such listings across a tree. Note: Capture scope: a sequence of live directory listings does not inherently identify one point-in-time tree state. In Python, os.walk and os.fwalk expose per-directory results; fwalk supplies a directory descriptor with a limited lifetime. [python-walk] Measured boundary: Hesela's ordered two-directory fixture retained one file but yielded zero or two successful reads when rename crossed the scan frontier. Descriptor-relative reads and unchanged root mtime/ctime did not prevent those outcomes. These local ext4/tmpfs controls are not a backup failure-rate estimate. [hesela-walk] Related terms: - [inotify](https://hesela.dev/terms/inotify/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [inode](https://hesela.dev/terms/inode/) - [snapshot](https://hesela.dev/terms/snapshot/) - [nfs-readdir-cookie](https://hesela.dev/terms/nfs-readdir-cookie/) - [full-path-indexing](https://hesela.dev/terms/full-path-indexing/) - [file-access-time](https://hesela.dev/terms/file-access-time/) - [directory](https://hesela.dev/terms/directory/) Citations: - [python-walk] Python 3.12 documentation: os.walk and os.fwalk. https://docs.python.org/3.12/library/os.html#os.walk (accessed 2026-10-21) - [hesela-walk] Hesela: a completed rescan can still miss a live file. https://hesela.com/analyses/inotify-change-detection/#walk-coverage (accessed 2026-10-21) ### Directory fsync URL: https://hesela.dev/terms/directory-fsync/ Also known as: directory synchronization, parent-directory fsync Status: shipping Record updated: 2026-12-04 Directory fsync is a synchronization request on a directory descriptor, used to persist namespace changes under the filesystem's directory-synchronization contract. Note: On Linux, syncing a file does not necessarily persist its directory entry. With working file and directory synchronization, a replacement within one already durable directory writes and syncs the temporary file, renames it, then syncs the containing directory. [fsync-api] [lwn-moyer] A 2014 study of 11 widely used applications found 60 static crash vulnerabilities, corresponding to 156 dynamic ones and failures in more than 4,000 crash states. Durability loss affected 7 applications, and 6 of them needed fsync calls on directories: three relied on a flushed file's directory entry being persisted implicitly, and four needed other directory fsyncs. In one key-value store, compaction output files whose directory entries were never persisted could vanish after a crash and leave the store unavailable. [alice] The 2014 study found that implicit persistence of a flushed file's directory entry varied with the tested filesystem configuration; its findings do not establish a guarantee for other implementations. [alice] [fsync-api] A successful return still needs an implementation-specific interpretation. In Linux v6.12, FUSE_FSYNCDIR returning ENOSYS sets the connection's no_fsyncdir flag and becomes success; later directory syncs skip that daemon request after the bad-inode check. In libfuse 3.16.2's low-level dispatcher, an absent fsyncdir callback produces ENOSYS. This does not establish whether earlier namespace changes were persisted by another mechanism. Verify the daemon's backing-store contract before acknowledging durable publication. [fuse-dir-source] [libfuse-dispatch] DFSCQ provides a stronger implementation-specific scope: fsync flushes all pending metadata. This is not a portable Linux guarantee. [dfscq17] Advantages: - Explicit directory synchronization makes name persistence a separate checked step instead of relying on implicit persistence of directory entries, provided the implementation supports the required contract. (sources: [fsync-api], [fuse-dir-source]) Limitations: - Safe-rename heuristics, which persist a file's data before a later rename on file systems with delayed allocation, matched only 3 of the 60 vulnerabilities found in the study. (sources: [alice]) - Even with a file system that promises full ordering between system calls, 4 of the 12 durability vulnerabilities in the study remained exposed. (sources: [alice]) - Directory synchronization does not by itself guarantee recursive synchronization of child-file contents or an atomic transaction across multiple directories. (sources: [fsync-api]) - After rename succeeds, a failed directory sync leaves durability unresolved; it does not establish that the visible namespace change was rolled back. (sources: [hesela-rename]) Sources and caveats: - fsync-api is the Linux man-pages 6.19 fsync(2) page, re-read in the DESCRIPTION and ERRORS sections. - alice is the OSDI 2014 paper by University of Wisconsin-Madison authors, read in the abstract and sections 4.2 to 4.4. - lwn-moyer is a September 2011 LWN.net article by Jeff Moyer of Red Hat, read in full. - The study counts vulnerabilities per application and update protocol, so its figures describe the tested versions rather than current releases. - The FUSE qualification is a version-pinned source review of Linux v6.12 fuse_dir_fsync and libfuse 3.16.2 do_fsyncdir, not a mounted-filesystem or crash experiment. Related terms: - [fsync](https://hesela.dev/terms/fsync/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [hard-link](https://hesela.dev/terms/hard-link/) - [unlink](https://hesela.dev/terms/unlink/) - [fflush](https://hesela.dev/terms/fflush/) - [fuse](https://hesela.dev/terms/fuse/) - [o-path](https://hesela.dev/terms/o-path/) - [fdatasync](https://hesela.dev/terms/fdatasync/) - [scalefs](https://hesela.dev/terms/scalefs/) - [dfscq](https://hesela.dev/terms/dfscq/) Citations: - [fsync-api] Linux man-pages 6.19, fsync(2): DESCRIPTION and error handling. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-23) - [hesela-rename] Hesela: Atomic rename is not a durable commit. https://hesela.com/analyses/atomic-rename-directory-durability/ (accessed 2026-10-11) - [alice] Pillai et al. All File Systems Are Not Created Equal: On the Complexity of Crafting Crash-Consistent Applications. OSDI 2014. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-pillai.pdf (accessed 2026-10-23) - [lwn-moyer] Moyer. Ensuring data reaches disk. LWN.net, 7 September 2011. https://lwn.net/Articles/457667/ (accessed 2026-10-23) - [fuse-dir-source] Linux v6.12: fuse_dir_fsync and no_fsyncdir handling. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/dir.c (accessed 2026-10-25) - [libfuse-dispatch] libfuse 3.16.2: do_fsyncdir and an absent low-level callback. https://github.com/libfuse/libfuse/blob/fuse-3.16.2/lib/fuse_lowlevel.c (accessed 2026-10-25) - [dfscq17] Chen et al. Verifying a high-performance crash-safe file system using a tree specification. SOSP 2017, section 4. https://pdos.csail.mit.edu/papers/dfscq.pdf (accessed 2026-12-04) ### Directory search permission URL: https://hesela.dev/terms/directory-search-permission/ Related analysis: https://hesela.com/analyses/posix-acl-restore-permissions/ Also known as: directory execute permission, directory traversal permission Status: shipping Record updated: 2026-11-16 Directory search permission allows names to be looked up within a directory during pathname resolution, independently of listing its entries or accessing file contents. Note: Linux meaning: The directory x permission means search, not execution of a program. Lookup checks the directories actually traversed from its starting point; relative *at() operations may start from a directory descriptor. [search-path] Listing: POSIX.1-2017 opendir() requires search access through the pathname prefix and read access to the directory being listed. Directory read permission alone does not authorize resolving its child names. Search without directory read can permit access by a known name, subject to the remaining checks. [search-opendir] [search-path] File access: Resolving a name does not grant permission to read or modify the target file. A fresh data-access open has its own requested-access checks. Creating a missing file requires parent-directory write permission and pathname search. [search-open] Name removal: unlink() requires parent-directory write and pathname search, not write permission on the target file. Sticky-directory rules, immutable flags and read-only filesystems can still prevent removal. [search-unlink] ACL scope: An access ACL governs the directory itself; a default ACL initializes new children. The ACL mask limits named-user, owning-group and named-group permissions, including search, but does not mask the owner or other entry. [search-acl] Limitations: - These discretionary-permission rules are not a complete authorization model: privilege overrides and additional security controls can change the outcome. - Fresh pathname access and access through already-open file descriptions are distinct; successful lookup is not a backup-completeness or durability guarantee. Sources and caveats: - Primary-source synthesis of Linux manuals and the explicitly labeled POSIX.1-2017 manual reproduction; no new permission experiment was performed. - Human context: https://hesela.com/analyses/posix-acl-restore-permissions/#directory-search Related terms: - [directory](https://hesela.dev/terms/directory/) - [path-resolution](https://hesela.dev/terms/path-resolution/) - [posix-access-control-list](https://hesela.dev/terms/posix-access-control-list/) Citations: - [search-path] Linux man-pages: path_resolution(7), search permissions and lookup start. https://man7.org/linux/man-pages/man7/path_resolution.7.html (accessed 2026-11-16) - [search-opendir] POSIX.1-2017: opendir, directory read and pathname-prefix search. https://man7.org/linux/man-pages/man3/fdopendir.3p.html (accessed 2026-11-16) - [search-open] Linux man-pages: open(2), file access and creation permissions. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-11-16) - [search-unlink] Linux man-pages: unlink(2), name removal and independent restrictions. https://man7.org/linux/man-pages/man2/unlink.2.html (accessed 2026-11-16) - [search-acl] Linux ACL project: acl(5), access ACLs and mask scope. https://man7.org/linux/man-pages/man5/acl.5.html (accessed 2026-11-16) ### Directory URL: https://hesela.dev/terms/directory/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: filesystem directory Status: shipping Record updated: 2026-11-16 A directory is a filesystem object whose entries associate names with files, including other directories. Note: Names: A directory organizes names, not the contents of every file reached through those names. Linux VFS represents directories with inode objects. Several names can reach the same file through hard links; a name is not a separate data copy. [directory-vfs] Identity: The directory, an entry within it and a Linux dentry are different objects. A dentry caches pathname-lookup information in RAM; it is not a stored directory record. The backing filesystem determines how directory information is represented. [directory-vfs] Access: POSIX.1-2017 opendir() requires search access through the path prefix and read access to the directory being listed. Linux uses the directory execute permission bit for search. Listing names and resolving a known name are distinct operations; neither alone grants permission to read the target file. [directory-opendir] [directory-path] Observation: Successive readdir() calls do not promise a point-in-time inventory. POSIX.1-2017 leaves unspecified whether entries added or removed after opendir() or rewinddir() appear in subsequent results. A consistent inventory therefore needs a separately established snapshot or coordination contract. [directory-readdir] Limitations: - A filesystem directory is not the same abstraction as an object-store key prefix. - A completed directory scan does not establish crash persistence or backup completeness. Sources and caveats: - Primary-source synthesis of Linux 6.12 VFS, Linux path-resolution documentation and the explicitly labeled POSIX.1-2017 manual reproduction. No directory, permission or crash experiment was performed. - The consistent-inventory guidance is an engineering inference from the stated API limitation, not an extra POSIX requirement. - Human context: https://hesela.com/analyses/atomic-rename-directory-durability/#directory-foundation Related terms: - [inode](https://hesela.dev/terms/inode/) - [dentry](https://hesela.dev/terms/dentry/) - [path-resolution](https://hesela.dev/terms/path-resolution/) - [directory-enumeration](https://hesela.dev/terms/directory-enumeration/) - [link-count](https://hesela.dev/terms/link-count/) - [setgid-directory](https://hesela.dev/terms/setgid-directory/) - [sticky-bit](https://hesela.dev/terms/sticky-bit/) - [directory-search-permission](https://hesela.dev/terms/directory-search-permission/) Citations: - [directory-vfs] Linux 6.12: VFS directory, inode and dentry objects. https://docs.kernel.org/6.12/filesystems/vfs.html (accessed 2026-11-15) - [directory-opendir] POSIX.1-2017: opendir, search permission and directory read permission. https://man7.org/linux/man-pages/man3/fdopendir.3p.html (accessed 2026-11-15) - [directory-path] Linux man-pages: path_resolution(7), search and target access. https://man7.org/linux/man-pages/man7/path_resolution.7.html (accessed 2026-11-15) - [directory-readdir] POSIX.1-2017: readdir and concurrent additions or removals. https://man7.org/linux/man-pages/man3/readdir.3p.html (accessed 2026-11-15) ### Dirty bitmap URL: https://hesela.dev/terms/dirty-bitmap/ Related analysis: https://hesela.com/analyses/qcow2-backing-chain-verification/ Also known as: block dirty bitmap, QEMU dirty bitmap Status: shipping Record updated: 2026-10-28 A dirty bitmap is a bit vector that marks storage regions written during a tracked interval. Note: For block-change tracking, one bit covers a configured byte range. A smaller write still marks that range; the map is not a byte-by-byte content comparison. QEMU identifies a bitmap by its block node and name. [qemu-bitmaps-101] QEMU v10.1.0 supports transient tracking across image formats; persistence uses QCOW2. An unclean close can make the reloaded bitmap inconsistent and unusable for continued incrementals, without invalidating completed backups. [qemu-bitmaps-101] The QCOW2 in_use flag can indicate outdated tracking data even when bitmap metadata remains structurally well formed. Bitmap data need not be synchronized to the image after every guest write. This does not by itself establish guest-data corruption. [qcow2-bitmaps-101] With bitmap-based backup selection, QEMU distinguishes on-success, never and always synchronization policies. Do not generalize incremental backup failure handling to every policy. [qemu-bitmap-mode-101] Multi-disk scope: QEMU transaction acceptance is not completion of its asynchronous backup jobs. Default individual completion can leave successful and failed disks at different tracking boundaries under on-success bitmap handling; retain a successful incremental that later backups require. Grouped completion coordinates job outcomes, not application quiescing. [qemu-bitmaps-101] [qemu-transaction-101] Related terms: - [changed-block-tracking](https://hesela.dev/terms/changed-block-tracking/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [qcow2](https://hesela.dev/terms/qcow2/) - [backup-verification](https://hesela.dev/terms/backup-verification/) Citations: - [qemu-bitmaps-101] QEMU v10.1.0: dirty bitmaps, granularity, persistence and incremental backup recovery. https://github.com/qemu/qemu/blob/v10.1.0/docs/interop/bitmaps.rst (accessed 2026-10-28) - [qemu-bitmap-mode-101] QEMU v10.1.0 QAPI: BitmapSyncMode and BackupCommon. https://github.com/qemu/qemu/blob/v10.1.0/qapi/block-core.json (accessed 2026-10-28) - [qcow2-bitmaps-101] QEMU v10.1.0 QCOW2 format: bitmap directory and dirty tracking bitmaps. https://github.com/qemu/qemu/blob/v10.1.0/docs/interop/qcow2.rst (accessed 2026-10-28) - [qemu-transaction-101] QEMU v10.1.0 QAPI: asynchronous transaction completion, individual and grouped modes. https://github.com/qemu/qemu/blob/v10.1.0/qapi/transaction.json (accessed 2026-10-28) ### Dirty-page throttling URL: https://hesela.dev/terms/dirty-page-throttling/ Related analysis: https://hesela.com/analyses/linux-process-io-accounting/ Also known as: Linux dirty throttling, dirty-memory throttling Status: shipping Record updated: 2026-11-30 Dirty-page throttling regulates Linux tasks that modify cached file data to restrain dirty-memory accumulation relative to writeback progress. Note: In Linux 6.12, dirty_background_bytes or dirty_background_ratio controls background writeback, while dirty_bytes or dirty_ratio contributes to writer throttling. The settings in each byte/ratio pair are alternatives, not additive: setting one makes its counterpart read as zero. Ratios use eligible available memory, not installed RAM. [dirty-vm] The implementation normally slows writers progressively. It distributes dirty-memory allowances among writeback instances using completion shares, subject to configured bounds; the global threshold is not an exact per-file quota. Writer throttling counts dirty pages plus pages under writeback; background triggering excludes the latter. WBT instead uses block-layer read-latency feedback. [dirty-code] [wbt-code] The age knob dirty_expire_centisecs concerns writeout eligibility; dirty_writeback_centisecs sets periodic wakeups. Both use hundredths of a second. Zero for the wakeup setting disables the periodic trigger, not all writeback. Neither defines a durability deadline: synchronization and its error handling remain separate. [dirty-vm] [dirty-fsync] With supported cgroup writeback, both global and cgroup dirty-memory constraints are evaluated and the more restrictive applies. Byte settings are converted to ratios for groups, not copied as identical byte allowances. Available memory is constrained by memory-controller limits and system clean memory. Inode ownership can misattribute concurrent cross-group writers. [dirty-cgroup] Advantages: - Slows producers as dirty-memory pressure rises, helping balance cached writes against writeback progress. (sources: [dirty-code]) Limitations: - Thresholds and periodic timers do not establish a per-write persistence deadline or application-latency guarantee. (sources: [dirty-code], [dirty-vm], [dirty-fsync]) - Cgroup writeback requires filesystem support and does not precisely attribute simultaneous writers from different groups to one inode. (sources: [dirty-cgroup]) Sources and caveats: - Version-pinned synthesis of Linux 6.12 documentation and upstream implementation; not a claim about every filesystem, distribution or later kernel. - No sysctl changes, kernel experiment, benchmark or recommended tuning values. The fsync manual supplies the separate synchronization contract. Related terms: - [page-cache](https://hesela.dev/terms/page-cache/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [cgroup-v2-io-controller](https://hesela.dev/terms/cgroup-v2-io-controller/) - [linux-writeback-throttling](https://hesela.dev/terms/linux-writeback-throttling/) - [fsync](https://hesela.dev/terms/fsync/) Citations: - [dirty-vm] Linux 6.12 VM sysctl documentation: dirty thresholds, age and periodic writeback. https://docs.kernel.org/6.12/admin-guide/sysctl/vm.html (accessed 2026-11-30) - [dirty-code] Linux v6.12 mm/page-writeback.c: __wb_calc_thresh and balance_dirty_pages. https://github.com/torvalds/linux/blob/v6.12/mm/page-writeback.c (accessed 2026-11-30) - [dirty-cgroup] Linux 6.12 cgroup v2: writeback ownership and dirty-memory constraints. https://docs.kernel.org/6.12/admin-guide/cgroup-v2.html#writeback (accessed 2026-11-30) - [dirty-fsync] Linux man-pages: fsync(2), synchronization, directory entries and errors. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-30) - [wbt-code] Linux v6.12 block/blk-wbt.c: read-latency feedback for write throttling. https://github.com/torvalds/linux/blob/v6.12/block/blk-wbt.c (accessed 2026-11-30) ### Dirty read URL: https://hesela.dev/terms/dirty-read/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Uncommitted read Status: unknown Record updated: 2026-11-13 A dirty read occurs when one transaction reads data written by another transaction before the writer commits. Note: The writer need not eventually abort for the read to be dirty. The relevant boundary is its uncommitted state at the time of the read. A later rollback makes the practical risk explicit, because the reader may already have acted on a value that never became committed. [postgres-isolation] This differs from a nonrepeatable read, where a later statement can observe another transaction's committed change. Reading one's own previous writes is also not a cross-transaction dirty read. Read Committed excludes the phenomenon for ordinary transactional data; Read Uncommitted permits it but an implementation can be stronger. [postgres-isolation] In SQLite, a shared cache and PRAGMA read_uncommitted on the reader are both needed to expose another connection's pending writes. Private-cache readers remain isolated even with the pragma enabled. [sqlite-isolation] [sqlite-read-uncommitted] The companion example observes a pending value and then the original value after rollback. That is an isolation demonstration, not a test of storage persistence or a recommendation to enable shared-cache mode. [hesela-consistency] [sqlite-shared-cache] Berenson et al. distinguish broad P1 from narrow A1: P1 does not require abort, whereas A1 includes a writer abort and reader commit. Checking only rolled-back writes misses the broader phenomenon. [berenson-isolation] Sources and caveats: - Primary-source explanation of cross-transaction visibility. No claim that all engines expose dirty reads when the level is requested; own writes and nontransactional engine objects require separate interpretation. Related terms: - [read-uncommitted-isolation](https://hesela.dev/terms/read-uncommitted-isolation/) - [read-committed-isolation](https://hesela.dev/terms/read-committed-isolation/) Citations: - [postgres-isolation] PostgreSQL 18: Transaction Isolation, Table 13.1 and section 13.2.1. https://www.postgresql.org/docs/18/transaction-iso.html (accessed 2026-11-13) - [sqlite-isolation] SQLite: Isolation Between Database Connections. https://www.sqlite.org/isolation.html (accessed 2026-11-13) - [sqlite-read-uncommitted] SQLite: PRAGMA read_uncommitted. https://www.sqlite.org/pragma.html#pragma_read_uncommitted (accessed 2026-11-13) - [sqlite-shared-cache] SQLite: Shared-Cache Mode, sections 1.1 and 2.2.1-2.3. https://www.sqlite.org/sharedcache.html (accessed 2026-11-13) - [hesela-consistency] Hesela: Read Uncommitted depends on the engine and connection setup. https://hesela.com/analyses/storage-consistency-ordering/#read-uncommitted (accessed 2026-11-13) - [berenson-isolation] Berenson et al. A Critique of ANSI SQL Isolation Levels. SIGMOD 1995; MSR-TR-95-51, section 2.2 and section 3, H1. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-95-51.pdf (accessed 2026-11-13) ### Discard URL: https://hesela.dev/terms/discard/ Status: shipping Record updated: 2026-11-08 A block-storage request indicating that specified logical ranges are no longer needed by the caller. Note: Linux discard is a storage-stack operation, not a synonym for one wire command. Filesystem-aware fstrim selects unused blocks; direct blkdiscard acts on device ranges and can destroy live data. [fstrim] [blkdiscard] Process success alone is insufficient: --dry-run omits FITRIM; --all or --fstab silently ignore specified unsupported/read-only errors; --quiet-unsupported clears unsupported-filesystem failure status. A verbose fstrim byte count describes potential discard, not newly reclaimed physical space, and repeated runs can report the same ranges. With no_discard_passdown, dm-thin removes mappings without forwarding discards to the underlying data device; ignore_discard disables discard support instead. Passdown enabled at table load can be disabled if the backing device lacks support; inspect pool status. Mapping removal and physical-device deallocation are distinct outcomes. [fstrim] [dm-thin-source] Linux reports discard granularity and hardware/software request-size limits. Support at one layer is not proof that a request reaches the final device. Encrypted dm-crypt mappings ignore discard by default; allow_discards enables forwarding, which may reveal allocation patterns when discarded ranges remain identifiable. The documented warning concerns allocation-pattern leakage, not a general confidentiality guarantee. [linux-abi] [dm-crypt-source] Advantages: - A minimum free-extent length can skip fragmented free space to reduce the work of a filesystem trim. (sources: [fstrim]) Limitations: - Zero-filling and secure discard are separate blkdiscard operations; ordinary discard proves neither. (sources: [blkdiscard]) Related terms: - [trim](https://hesela.dev/terms/trim/) - [scsi-unmap](https://hesela.dev/terms/scsi-unmap/) - [nvme](https://hesela.dev/terms/nvme/) - [unmap](https://hesela.dev/terms/unmap/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) - [deallocated-read-behavior](https://hesela.dev/terms/deallocated-read-behavior/) - [dm-crypt](https://hesela.dev/terms/dm-crypt/) - [fitrim](https://hesela.dev/terms/fitrim/) Citations: - [fstrim] util-linux 2.41.2: fstrim manual, verbose output. https://raw.githubusercontent.com/util-linux/util-linux/v2.41.2/sys-utils/fstrim.8.adoc (accessed 2026-10-21) - [blkdiscard] util-linux 2.41.2: blkdiscard manual. https://raw.githubusercontent.com/util-linux/util-linux/v2.41.2/sys-utils/blkdiscard.8.adoc (accessed 2026-10-11) - [hesela-discard] Hesela: Discard is not zeroing. https://hesela.com/analyses/discard-is-not-zeroing/ (accessed 2026-10-11) - [dm-crypt-source] Linux v6.12: dm-crypt, encryption target, integrity metadata and allow_discards. https://docs.kernel.org/6.12/admin-guide/device-mapper/dm-crypt.html (accessed 2026-10-21) - [dm-thin-source] Linux v6.12: thin provisioning, ignore_discard and no_discard_passdown. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/admin-guide/device-mapper/thin-provisioning.rst (accessed 2026-10-21) - [linux-abi] Linux v6.12: stable sysfs block ABI, discard granularity and request limits. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-10-18) ### Discrete-grains model URL: https://hesela.dev/terms/discrete-grains-model/ Related analysis: https://hesela.com/analyses/magnetic-grain-models-sampling/ Also known as: rectangular-grain model Status: research Record updated: 2026-10-20 The discrete-grains model represents a magnetic recording medium as a tiling of grains drawn from a finite set of shapes. Note: A common tileset uses 1 x 1, 1 x 2, 2 x 1 and 2 x 2 rectangles. Grain proportions alone do not specify a distribution over complete tilings. [sampling] In the reviewed raster-write model, a grain takes the polarity of the last bit written to it. Multiple bit locations within one grain therefore do not provide independent stored values. [detector] Geometric model tiles are different from lithographically fabricated magnetic islands in bit-patterned media. [bpm] Sources and caveats: - Scope: the cited rectangular-grain research models, not a manufacturing process or a specification for current HDDs. - Source review only. No detector, sampling algorithm or physical medium was reproduced. Related terms: - [bit-patterned-media](https://hesela.dev/terms/bit-patterned-media/) - [smr](https://hesela.dev/terms/smr/) - [areal-density](https://hesela.dev/terms/areal-density/) Citations: - [sampling] Das and Kashyap. MCMC Methods for Drawing Random Samples from the Discrete-Grains Model of a Magnetic Medium; sections I, III-VI. https://ece.iisc.ac.in/~nkashyap/Papers/discrete_grains_mcmc.final-2col.pdf (accessed 2026-10-20) - [detector] Carosino et al. Iterative Detection and Decoding for the Four-Rectangular-Grain TDMR Model. arXiv:1309.7518v1 (2013), sections II-IV. https://arxiv.org/pdf/1309.7518v1 (accessed 2026-10-20) - [bpm] Albrecht et al. Bit Patterned Magnetic Recording: Theory, Media Fabrication, and Recording Performance. arXiv:1503.06664v1 (2015), section I. https://arxiv.org/pdf/1503.06664v1 (accessed 2026-10-20) ### Disk-directed I/O URL: https://hesela.dev/terms/disk-directed-io/ Also known as: disk directed I/O Status: research Record updated: 2026-12-02 Disk-directed I/O is a parallel-file-system technique in which I/O servers use a disclosed access pattern to control the order and timing of data transfers. Note: Kotz's design gives I/O processors the collective request, rather than exposing only small independent requests. The simulated implementation sorts each disk's block list by physical address and overlaps disk transfer with delivery to the requesting compute processors. [kotz97] Two-phase I/O instead redistributes data among compute processors around a file-I/O phase. In the compared implementation, that client-side library sees logical file layout, not physical disk layout. This is more than choosing a different queue policy. [kotz97] Evaluation used simulated MIMD systems with HP 97560 disks, synthetic matrix patterns and an out-of-core LU computation. Its results are historical model results, not measurements of today's SSDs. Collective synchronization can add waiting when compute work is unbalanced; the paper also discusses noncollective requests. [kotz97] Data sieving addresses a different boundary: combining file spans for a noncontiguous request. It does not by itself give storage servers the full application's transfer plan. [romio99] Sources and caveats: - The 1997 journal article extends the earlier OSDI work; results from different versions are not pooled. Related terms: - [data-sieving](https://hesela.dev/terms/data-sieving/) - [striping](https://hesela.dev/terms/striping/) - [collective-io](https://hesela.dev/terms/collective-io/) - [two-phase-io](https://hesela.dev/terms/two-phase-io/) Citations: - [kotz97] David Kotz. Disk-Directed I/O for MIMD Multiprocessors. ACM TOCS 15(1), February 1997, pp. 41-74, sections 2-6 and 10. https://kotz.cs.dartmouth.edu/research/kotz-jdiskdir/kotz-jdiskdir.pdf (accessed 2026-12-02) - [romio99] Thakur, Gropp and Lusk. Data Sieving and Collective I/O in ROMIO. Frontiers 1999, sections 3-4. https://web.cels.anl.gov/~thakur/papers/romio-coll.pdf (accessed 2026-12-02) ### Disk-head time URL: https://hesela.dev/terms/disk-head-time/ Also known as: HDD disk-head time Status: research Record updated: 2026-11-14 Disk-head time is an estimate of HDD backend work combining per-fetch positioning cost with the transfer cost of bytes actually fetched. Note: The author explanation treats setup and transfer costs together; reducing request misses alone can spend more bandwidth. Demand hits and extra prefetched bytes must therefore be accounted for separately. [baleen-author] Baleen reports the maximum backend utilization over ten-minute windows. Its admission and prefetching policies optimize average disk-head time, not an explicit peak-admission schedule. A pooled average cannot recover a maximum without the window history. [baleen-author] A Hesela constructed ledger gives 90% demand hits with 150 ms of modeled work and 95% hits with 250 ms when expanded fetches transfer more bytes. This is exact hypothetical arithmetic, not a device measurement or a Baleen performance result. [hesela-ledger] Related terms: - [baleen](https://hesela.dev/terms/baleen/) - [byte-hit-ratio](https://hesela.dev/terms/byte-hit-ratio/) - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) - [prefetch-wastage](https://hesela.dev/terms/prefetch-wastage/) Citations: - [baleen-author] Daniel Lin-Kit Wong. Baleen: ML admission & prefetching for flash caches. CMU CSD PhD Blog, 12 January 2024; design and optimization objective. https://www.cs.cmu.edu/~csd-phd-blog/2023/baleen-ml-flash-caching/ (accessed 2026-11-14) - [hesela-ledger] Hesela. Constructed disk-head-time ledgers: assumptions, integer arithmetic and window examples. https://hesela.dev/research/disk-head-time/results.json (accessed 2026-11-14) ### Disk Mimic URL: https://hesela.dev/terms/disk-mimic/ Also known as: Disk Mimic model Status: research Record updated: 2026-12-02 Disk Mimic is a table-based disk model that predicts positioning cost from observed request transitions for use in an online I/O scheduler. Note: The ATC 2003 design indexes observations by signed inter-request distance and the previous/current read-write types. Distance runs from the previous request's last block to the current request's first block. Shortest-mimicked-time-first (SMTF) uses its predictions to select the next request. [paper] Offline probing and online workload observation are alternative training paths; both support predictions during scheduling. The study uses historical traces, simulated disks and a physical disk. Its greedy throughput objective is not a fairness guarantee or a benchmark of current devices. [paper] A conditional mean is not an exact next-request prediction. The dissertation explains that omitted think time and request size depend on the target application; a saturated scheduling workload does not justify dropping those inputs everywhere. [thesis] Hesela's synthetic example gives A a 2/5 chance of costing 1 ms and a 3/5 chance of costing 9 ms; B always costs 6 ms. A has the lower mean, 5.8 ms, yet B is faster in 3/5 of cases. Neither criterion predicts the hidden outcome. This is exact arithmetic, not a drive measurement or a Disk Mimic replication. [example] Sources and caveats: - Historical model and associated scheduling policy are distinct concepts; SMTF is not used as an alias of the model. - The example specifies its own distribution; no fitted device model, trace replay, confidence interval or empirical speedup is claimed. - The paper's physical-drive experiments used an IBM 9LZX. Simulated configurations and historical trace transformations are not current-drive specifications. Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [shortest-positioning-time-first](https://hesela.dev/terms/shortest-positioning-time-first/) - [disk-model-demerit](https://hesela.dev/terms/disk-model-demerit/) Citations: - [paper] Popovici, Arpaci-Dusseau and Arpaci-Dusseau. Robust, Portable I/O Scheduling with the Disk Mimic. USENIX ATC 2003, sections 2-6. https://research.cs.wisc.edu/adsl/Publications/usenix03-disksched.pdf (accessed 2026-12-02) - [thesis] Florentina I. Popovici. Data-Driven Models in Storage System Design. PhD dissertation, Wisconsin-Madison, 2007, chapters 2-3. https://research.cs.wisc.edu/wind/Publications/popovici-thesis07.pdf (accessed 2026-12-02) - [example] Hesela. Mean cost versus probability of being faster: exact synthetic decision example, code and tests. https://hesela.dev/research/disk-mimic/README.md (accessed 2026-12-02) ### Disk-model demerit URL: https://hesela.dev/terms/disk-model-demerit/ Related analysis: https://hesela.com/analyses/disk-model-demerit-validation/ Also known as: demerit figure, latency-distribution demerit Status: research Record updated: 2026-12-02 Disk-model demerit measures the root-mean-square horizontal separation between modeled and reference latency-distribution curves. Note: Demerit reports an absolute time difference and a percentage relative to reference mean I/O time. It compares distributions, not request-paired errors. Kelly et al. (2004) explicitly described the permutation problem. [ruemmler-wilkes] [kelly-model] For equal-size, equally weighted inverse empirical CDFs, squared distance is the mean squared difference of sorted values. Reference [1, 9] ms and modeled [9, 1] ms have zero distribution distance but 8 ms RMS error when positions identify the same requests. [example] Unequal sample sizes require probability-mass weighting. Relative demerit is undefined at zero reference mean, not zero. [example] The 1994 replication report excluded unusually slow requests associated with an unmodeled mechanism. A filtered score describes that selected workload. [kotz-model] A constructed type-1 example has 0.001 ms distribution RMS but 100 ms p99 disagreement, with exceedance fractions differing by one in 10 billion. These are exact multiplicities, not measurements. Report quantile convention and threshold counts. [tail-example] [quantile-types] Pooled distance can hide reversed class predictions or change solely with class proportions. Common weighting removes that proportion difference but still loses labels: retain per-class distances and counts. Reweighting is not a workload intervention; missing classes cannot be inferred. [mixture-example] Exact squared distances still need a range-aware approximate root. Converting the square to float first can yield false zero. The implementation rejects positive roots displayed as zero or infinity; numerical stress cases are not drive measurements. [numeric-example] Independent samples from one population can have positive demerit; it is not a significance test. [null-example] Sources and caveats: - The executable example defines an inverse-ECDF convention explicitly; it does not reproduce either historical simulator or its numerical discretization. - Historical evidence is not a benchmark of current HDDs. The synthetic pairs establish arithmetic properties, not population uncertainty. - Finite-sampling examples assume independent iid draws from the same fair two-point population; they do not calibrate a test for correlated storage traces. [finite-null] Related terms: - [quantile](https://hesela.dev/terms/quantile/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [seek-time](https://hesela.dev/terms/seek-time/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [dixtrac](https://hesela.dev/terms/dixtrac/) - [hippodrome](https://hesela.dev/terms/hippodrome/) Citations: - [ruemmler-wilkes] Chris Ruemmler and John Wilkes. An Introduction to Disk Drive Modeling. IEEE Computer 27(3), March 1994, Traces and Evaluation. https://www.pdl.cmu.edu/Publications/HTML-Papers/DiskModeling/i.shtml (accessed 2026-11-25) - [kotz-model] David Kotz, Song Bac Toh and Sriram Radhakrishnan. A Detailed Simulation Model of the HP 97560 Disk Drive. PCS-TR94-220, July 1994, section 3. https://kotz.cs.dartmouth.edu/research/kotz-diskmodel/kotz-diskmodel.pdf (accessed 2026-11-25) - [example] Hesela. Disk-model demerit: exact empirical-quantile examples, request-paired controls and explicit filtering. https://hesela.dev/research/disk-model-demerit/results.json (accessed 2026-11-25) - [quantile-types] R Core Team. Sample Quantiles: inverse empirical CDF (type 1) and alternative sample-quantile definitions. https://stat.ethz.ch/R-manual/R-devel/library/stats/html/quantile.html (accessed 2026-11-25) - [tail-example] Hesela. Exact count-compressed demerit and p99 controls, with explicit quantile-mass bounds. https://hesela.dev/research/disk-model-demerit/tail-results.json (accessed 2026-11-25) - [kelly-model] Kelly, Cohen, Goldszmidt and Keeton. Inducing Models of Black-Box Storage Arrays. HPL-2004-108 (2004), sections 3.4 and 4.1 (mirror). https://shiftleft.com/mirrors/www.hpl.hp.com/techreports/2004/HPL-2004-108.pdf (accessed 2026-11-25) - [mixture-example] Hesela. Exact labeled-mixture controls separating observed pooling, common-weight pooling and within-class distribution errors. https://hesela.dev/research/disk-model-demerit/mixture-results.json (accessed 2026-11-25) - [numeric-example] Hesela. Checked numerical presentation and extreme-range regression tests for exact demerit calculations. https://hesela.dev/research/disk-model-demerit/README.md (accessed 2026-11-25) - [finite-null] Sommerfeld and Munk. Inference for empirical Wasserstein distances on finite spaces. JRSS B 80 (2018), 219-238; arXiv v2, Theorem 1(c). https://arxiv.org/pdf/1610.03287v2 (accessed 2026-11-25) - [null-example] Hesela. Exact independent-sample null model for two-point latency distributions, with assumptions and reproducible count probabilities. https://hesela.dev/research/disk-model-demerit/NULL_README.md (accessed 2026-11-25) ### Disk partition URL: https://hesela.dev/terms/disk-partition/ Also known as: disk partitioning, partition (disk) Status: shipping Record updated: 2026-11-22 A disk partition is a contiguous range of logical blocks on a block device, described by a partitioning scheme. Note: A partition table records the division into address ranges. The range is not itself a filesystem: partitioning and organizing files are separate layers. [fdisk] GPT entries store an inclusive StartingLBA and EndingLBA. The byte offset is StartingLBA times logical-block bytes, and the length is (EndingLBA - StartingLBA + 1) times logical-block bytes. Physical-sector size is not the multiplier for these addresses. [uefi] Resizing a partition and resizing its filesystem are distinct operations. For ext2/3/4, resize2fs changes the filesystem, not the partition table. Growing the containing range does not by itself make that space usable by the filesystem; shrinking it below the filesystem size can destroy data. [resize] A readable partition table does not establish that the enclosed filesystem or files are intact. Interpreting GPT LBA ranges in an image requires the logical-block size used by that layout. Check the acquired bytes and their interpretation separately. [hesela] Unit trap: blockdev --report labels its partition start in 512-byte sectors; --getsz uses the same fixed unit. Neither count changes to 4096-byte units when --getss reports a 4096-byte logical sector. [units] Sources and caveats: - Documentation synthesis using UEFI 2.10, util-linux v2.40.4 and e2fsprogs v1.47.2; no device repartitioning or recovery experiment. - Contiguity describes the partition's logical address range, not placement on physical media or a volume manager's backing extents. Related terms: - [guid-partition-table](https://hesela.dev/terms/guid-partition-table/) - [block-device](https://hesela.dev/terms/block-device/) - [filesystem](https://hesela.dev/terms/filesystem/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [logical-volume](https://hesela.dev/terms/logical-volume/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) Citations: - [fdisk] util-linux v2.40.4: fdisk, partition tables and block devices. https://raw.githubusercontent.com/util-linux/util-linux/v2.40.4/disk-utils/fdisk.8.adoc (accessed 2026-11-22) - [uefi] UEFI 2.10, section 5.3.3: GPT partition entry ranges. https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html (accessed 2026-11-22) - [resize] e2fsprogs v1.47.2: resize2fs, separate filesystem and partition resizing. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.2/resize/resize2fs.8.in (accessed 2026-11-22) - [hesela] Hesela: acquisition coverage and GPT metadata checks. https://hesela.com/analyses/ddrescue-image-provenance/ (accessed 2026-11-22) - [units] util-linux v2.40.4: blockdev report and sector-size units. https://raw.githubusercontent.com/util-linux/util-linux/v2.40.4/disk-utils/blockdev.8.adoc (accessed 2026-11-22) ### Disk shelf URL: https://hesela.dev/terms/disk-shelf/ Related article: https://hesela.com/tech/sas/ Also known as: drive enclosure, JBOD shelf Status: shipping Record updated: 2026-11-03 A disk shelf is an enclosure that houses storage drives and provides shared power, cooling and connectivity to a host or storage controller. Note: A shelf can house NVMe SSDs with Ethernet-connected shelf modules; the cited NVMe shelf requires RoCE-capable storage ports for the covered systems. SAS attachment and SES management are properties of a design, not consequences of the term disk shelf. [netapp-shelves] [netapp-ns224-ports] One open hardware specification (version 0.5, a draft) builds a JBOD from two identical 1U trays of 15 3.5-inch drives, 30 drives in 2U. Each tray has a drive plane board, two SAS expander boards, a fan control board and six redundant fan modules. [ocp-vault] Each tray connects to servers over x4 SAS 6G links, 24 Gbit/s raw per link, and trays cascade through extra mini-SAS ports. Expander boards, trays, drives and fans can be serviced without taking other trays down. Power is 12 V from rack bus bars, and the operating range is 5 to 35 °C with drives, 10 to 90% non-condensing humidity and 1,000 m altitude. [ocp-vault] In this design, management is in-band through SCSI Enclosure Services, which covers the enclosure's mechanical and electrical environment, indicators and controls. The design uses a standalone SES model polled by host software and supports diagnostic pages 00h, 01h, 02h, 04h, 05h, 07h, 0Ah and 0Eh. [ocp-vault] SES-4 is INCITS 555-2021. [t10-drafts] Linux v6.12 provides one implementation example: its SES driver binds to enclosure-type devices (0x0d) and separates status reads from control writes. These are version-specific driver behaviors, not a complete definition of SES support. [linux-ses] [linux-scsi-proto] Sources and caveats: - The detailed design is one contributor's draft (Open Vault v0.5, contributed to the Open Compute Project by Facebook), so its figures describe that design, not disk shelves in general. - Open Vault specifies SAS and SES for its design; transport and management requirements of other shelves must be checked in their own documentation. - Kernel references are pinned to Linux v6.12. The former timeout/retry summary was removed because retry conditions are implementation-specific. - Arithmetic: 30 drives / 2U = 15 per rack unit; 4 x 6 Gbit/s = 24 Gbit/s before encoding overhead. - NetApp examples establish that shelves are not universally SAS-connected. No throughput, compatibility across vendors or measured availability benefit is inferred. - The NetApp examples are NS224 (NVMe media, Ethernet NSM modules) and DS224C (SAS IOM12 modules). The cited port-preparation guide covers end-of-availability systems. Related terms: - [jbod](https://hesela.dev/terms/jbod/) - [sas-expander](https://hesela.dev/terms/sas-expander/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [sas](https://hesela.dev/terms/sas/) - [scsi](https://hesela.dev/terms/scsi/) - [nvme](https://hesela.dev/terms/nvme/) - [nvme-backplane](https://hesela.dev/terms/nvme-backplane/) - [scsi-enclosure-services](https://hesela.dev/terms/scsi-enclosure-services/) Citations: - [c1] Disk shelf. https://en.wikipedia.org/wiki/Disk_array (accessed 2026-03-26) - [ocp-vault] Open Compute Project. Open Vault Storage Hardware v0.5 specification, draft. https://github.com/facebook/opencompute/blob/master/open_vault/spec/Open_Vault_Storage_Specification_v0.5.pdf (accessed 2026-10-16) - [t10-drafts] T10 Working Drafts index. https://t10.org/drafts.htm (accessed 2026-10-16) - [linux-ses] Linux v6.12 source: drivers/scsi/ses.c. https://github.com/torvalds/linux/blob/v6.12/drivers/scsi/ses.c (accessed 2026-11-03) - [linux-scsi-proto] Linux v6.12 source: include/scsi/scsi_proto.h. https://github.com/torvalds/linux/blob/v6.12/include/scsi/scsi_proto.h (accessed 2026-11-03) - [netapp-shelves] NetApp disk shelves and storage media: NS224 and DS224C specifications. https://www.netapp.com/data-storage/disk-shelves-storage-media/ (accessed 2026-10-24) - [netapp-ns224-ports] NetApp NS224: preparation for end-of-availability systems, RoCE-capable storage ports. https://docs.netapp.com/us-en/ontap-systems/ns224/hot-add-eoa-prepare-overview.html (accessed 2026-10-24) ### DiskSeen URL: https://hesela.dev/terms/diskseen/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Status: research Record updated: 2026-11-30 DiskSeen is a research prefetching scheme that uses logical block layout and access history to predict disk reads. Note: It supplements file-level prefetching, including cross-file and metadata access opportunities. Logical block numbers are not a map of exact physical geometry. [diskseen07] Demand accesses update its history; speculative fetches alone do not count as demand. [diskseen07] While its block-table entry is retained, an unused prefetch can leave prefetched status after eviction. A later file-level candidate is then rejected; on-demand access clears that status. Separate resident and busy bits suppress redundant prefetches, so absent data need not mean absent history. This is the historical coordination rule, not a current Linux guarantee. [diskseen07] Memory partitioning is adaptive, but its feedback is bounded. Two 2,048-entry eviction histories guide prefetch/cache allocation. They missed thrashing in TPC-H Q17. Manually reducing the access-index gap T from 2,048 to 256 reduced the reported slowdown from 10% to 2.6%, relative to stock Linux; it did not produce a speedup. [diskseen07] Limitations: - The prototype lacks adaptive prefetch throttling despite its adaptive memory allocation, and can suffer from stale predictions and excessive history-table memory. (sources: [diskseen07]) Sources and caveats: - Historical single-HDD Linux 2.6.11/ext3 prototype; no modern SSD performance inference or replication. Related terms: - [dulo](https://hesela.dev/terms/dulo/) - [table-based-prefetching](https://hesela.dev/terms/table-based-prefetching/) - [prefetch-wastage](https://hesela.dev/terms/prefetch-wastage/) - [readahead](https://hesela.dev/terms/readahead/) - [borg-block-reorganization](https://hesela.dev/terms/borg-block-reorganization/) - [c-miner](https://hesela.dev/terms/c-miner/) - [quickmine](https://hesela.dev/terms/quickmine/) Citations: - [diskseen07] Ding et al. DiskSeen: Exploiting Disk Layout and Access History to Enhance I/O Prefetch. USENIX ATC 2007, pp. 261-274; sections 2-4, especially 3.5 and 4.3. https://www.usenix.org/event/usenix07/tech/full_papers/ding/ding.pdf (accessed 2026-11-28) - [hesela-layout] Hesela: layout-aware prefetching and the cost of a wrong prediction. https://hesela.com/analyses/o-direct-alignment-by-kernel/#disk-layout-prefetch (accessed 2026-11-09) ### Distributed snapshot URL: https://hesela.dev/terms/distributed-snapshot/ Also known as: global-state snapshot Status: shipping Record updated: 2026-11-16 A distributed snapshot records a coordinated global state of participating processes and their communication channels. Note: In the Chandy-Lamport model, channels are reliable and FIFO with finite delivery delays. A process sends one marker on each outgoing channel after recording its state and before sending further messages there. On its first marker a process records its own state and that channel as empty. For each other incoming channel it records the messages received after its own recording and before the marker on that channel. [chandy-lamport] Every participant must start recording or be reachable from one that does, and markers must be processed in finite time. The recorded global state need not have occurred during the run, but it is reachable from the initial state and the final state is reachable from it, which suffices for detecting stable properties such as termination or deadlock. Collecting records from only reachable participants does not establish a snapshot of a larger disconnected system. This is not a filesystem snapshot or, by itself, a durable backup. [chandy-lamport] A barrier variant for dataflow graphs blocks each input after its barrier until barriers arrive on all inputs. Acyclic topologies then persist only operator states, while cyclic ones also log records arriving on back-edges. Its evaluation processed 1 billion records on clusters of 5 to 40 nodes. [abs] Advantages: - Recording runs concurrently with the underlying computation and does not alter it, so the computation need not be stopped. (sources: [chandy-lamport]) Limitations: - Collecting and assembling the recorded process and channel states is outside the basic protocol and needs a separate algorithm. (sources: [chandy-lamport]) - Blocking an input while waiting for barriers on the others delays and buffers the records on that input. (sources: [abs]) Sources and caveats: - chandy-lamport re-read 2026-10-23 for the marker rules, termination conditions and the reachability theorem. - abs is the 2015 arXiv barrier-snapshot paper, read for the blocking rule, back-edge logging and the evaluation scale. - A companion analysis on snapshot and backup boundaries is listed but not used in prose. - The application-quiescing entry links here because quiescing gives one host a consistent point, while a distributed snapshot records a consistent cut across processes and channels. Related terms: - [snapshot](https://hesela.dev/terms/snapshot/) - [application-consistent-snapshot](https://hesela.dev/terms/application-consistent-snapshot/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [backup](https://hesela.dev/terms/backup/) - [consistent-cut](https://hesela.dev/terms/consistent-cut/) Citations: - [chandy-lamport] Chandy and Lamport (1985): Distributed Snapshots: Determining Global States of Distributed Systems, sections 2-4, ACM TOCS 3(1), 63-75. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/12/Determining-Global-States-of-a-Distributed-System.pdf (accessed 2026-10-23) - [hesela-recovery] Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-13) - [abs] Carbone et al. (2015): Lightweight Asynchronous Snapshots for Distributed Dataflows, arXiv:1506.08603, sections 4 and 7. https://arxiv.org/abs/1506.08603 (accessed 2026-10-23) ### Distributed spare URL: https://hesela.dev/terms/distributed-spare/ Related analysis: https://hesela.com/analyses/parity-declustering-rebuild-load/ Also known as: distributed hot spare Status: shipping Record updated: 2026-11-09 A distributed spare is replacement capacity spread across multiple devices rather than reserved on a single dedicated spare device. Note: It permits reconstruction writes to use multiple destinations; placement constraints and reserved capacity still apply. Holland's illustrative RAID 5 layout reserves a spare unit per stripe; this is not a general rule for declustered arrays. Section 5.3 instead separates static space allocation from failure-dependent assignment and rejects excessive per-stripe reservation. A rebuilt unit must not share a disk with another unit from its stripe [thesis1994]. In a simulated 40-disk array at low declustering ratios, reconstruction took 34 s with distributed sparing against 215 s with a dedicated spare, a factor of 6.3, at up to about 10% worse user response time during the rebuild. At high declustering ratios the surviving disks limit the rebuild and the gain is small. [thesis1994] The inverse relationship between mean time to data loss and mean repair time is a fast-repair approximation for independent exponential disk lifetimes and exponential repairs in a single-erasure-correcting model, not a universal array law [gibson1993]. OpenZFS dRAID integrates distributed spares into its parity groups, rebuilds onto them with a sequential resilver whose speed scales with the number of disks per stripe width, and frees the spare space again once the failed drive is replaced. [openzfs] [zpoolconcepts] With 14 children and 2 spares, the spares take 14.3% of raw capacity. [zfsdraid] Advantages: - Every spindle serves requests in fault-free operation, so the spare's actuator is no longer idle. (sources: [thesis1994]) Limitations: - A distributed spare can be used only by the redundancy group it belongs to. (sources: [openzfs]) - Large accesses can run slower in reconfigured mode, because the rebuilt layout no longer meets the large-access criterion. (sources: [thesis1994]) Sources and caveats: - The benefit numbers are simulation of early-1990s drives by one university research group, not measurements of current arrays or of OpenZFS dRAID, whose documentation publishes no rebuild times. - The OpenZFS documentation and code come from the project that implements the feature. - Arithmetic: 215 / 34 = 6.3; with parity stripes of 5 units in 40 disks, one spare per stripe would reserve 20% where 2.5% is needed; adding one idle disk to 40 gives at most 2.5% more throughput. - Arithmetic: 2 / 14 = 14.3%; usable capacity is (14 - 2) x 8/9 = 10.7 child sizes, 76% of raw, for 8 data and 1 parity devices per group. Related terms: - [parity-declustering](https://hesela.dev/terms/parity-declustering/) - [raid](https://hesela.dev/terms/raid/) - [hot-spare](https://hesela.dev/terms/hot-spare/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [draid](https://hesela.dev/terms/draid/) Citations: - [openzfs] OpenZFS dRAID how-to: Introduction and Rebuilding to a Distributed Spare. https://openzfs.github.io/openzfs-docs/Basic%20Concepts/Pool%20Structure/dRAID%20Howto.html (accessed 2026-10-13) - [hesela-declustering] Parity declustering: less load per disk, not fewer reads. https://hesela.com/analyses/parity-declustering-rebuild-load/ (accessed 2026-10-13) - [thesis1994] Holland. On-Line Data Reconstruction in Redundant Disk Arrays. PhD dissertation, Carnegie Mellon University, 1994, chapter 5. https://www.pdl.cmu.edu/PDL-FTP/Declustering/Thesis.pdf (accessed 2026-11-02) - [holland1992] Holland and Gibson. Parity Declustering for Continuous Operation in Redundant Disk Arrays. ASPLOS 1992. https://www.cs.cmu.edu/~riedel/ftp/Declustering/ASPLOS.pdf (accessed 2026-10-16) - [zpoolconcepts] OpenZFS 2.3.0 zpoolconcepts(7), dRAID section. https://github.com/openzfs/zfs/blob/zfs-2.3.0/man/man7/zpoolconcepts.7 (accessed 2026-10-16) - [zfsdraid] OpenZFS 2.3.0 module/zfs/vdev_draid.c, distributed spare vdev and asize calculation. https://github.com/openzfs/zfs/blob/zfs-2.3.0/module/zfs/vdev_draid.c (accessed 2026-10-16) - [gibson1993] Gibson and Patterson. Designing Disk Arrays for High Data Reliability. JPDC 17 (1993), pp. 4-27; section 4, equations 5-9. https://www.pdl.cmu.edu/PDL-FTP/RAID/JPDC.pdf (accessed 2026-11-02) ### Diva range filter URL: https://hesela.dev/terms/diva-range-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: Diva Status: research Record updated: 2026-11-14 Diva is a dynamic approximate range-emptiness filter that represents variable-length keys using sampled trie keys and compressed infixes. Note: Its error guarantee depends on a defined class of input distributions; dynamic support alone does not promise an unchanged bound after growth. [diva-paper] The reference API takes an infix-size parameter, a seed and a load factor, not an epsilon argument. The example includes unary-counter space in infix_size and sorts keys before bulk loading. Explicit-length overloads accept binary keys containing zero bytes. [diva-api] [diva-example] Sources and caveats: - Source review and published-bound arithmetic; no Diva runtime, FPR measurement or benchmark reproduction. Scope: the 2025 design and pinned code, not Diva++. Related terms: - [grafite-range-filter](https://hesela.dev/terms/grafite-range-filter/) - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) - [aeris-filter](https://hesela.dev/terms/aeris-filter/) Citations: - [diva-paper] Eslami, Bercea and Dayan. Diva. PVLDB 18(11), 3923-3936 (2025), sections 3-5. DOI: 10.14778/3749646.3749664. https://www.vldb.org/pvldb/vol18/p3923-eslami.pdf (accessed 2026-11-14) - [diva-api] Diva author implementation: constructors, RangeQuery and ShrinkInfixSize. Commit d0f85b25a90e00e3aeff4391e2f280d11cacb2af. https://github.com/n3slami/Diva/blob/d0f85b25a90e00e3aeff4391e2f280d11cacb2af/include/diva.hpp (accessed 2026-11-14) - [diva-example] Diva author example: sorted bulk loading, infix-size parameter and explicit-length binary keys. Commit d0f85b25a9. https://github.com/n3slami/Diva/blob/d0f85b25a90e00e3aeff4391e2f280d11cacb2af/examples/example.cpp (accessed 2026-11-14) ### DIXtrac URL: https://hesela.dev/terms/dixtrac/ Status: research Record updated: 2026-12-01 DIXtrac is a disk-characterization tool that extracts layout, timing and cache-policy parameters for detailed HDD models. Note: Targeted SCSI commands through Linux's raw SCSI interface probe geometry, mechanics, caching and command costs. This supplies model inputs rather than a general drive-health score. [project] Geometry inference recognizes a finite catalogue of layouts. Detected adaptive caching can exceed the simulator's representational capabilities. [report] Characterization issues writes that can overwrite user sectors; restoring drive settings does not restore their previous contents. [report] DiskSim 4.0 distributes a DIXtrac source bundle. Archival availability does not establish compatibility with current devices. [disksim] Limitations: - Distribution agreement does not establish accurate timing predictions for individual requests. (sources: [hesela]) Sources and caveats: - Historical source synthesis. No characterization commands, drive measurements or simulator replication were performed. - The December report and earlier project overview describe different historical test populations; their counts are not interchangeable. Related terms: - [disk-model-demerit](https://hesela.dev/terms/disk-model-demerit/) - [seek-time](https://hesela.dev/terms/seek-time/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) Citations: - [project] Carnegie Mellon PDL: DIXtrac project overview (Fall 1999 account). https://www.pdl.cmu.edu/Dixtrac/index.html (accessed 2026-12-01) - [report] Schindler and Ganger. Automated Disk Drive Characterization. CMU-CS-99-176, December 1999, sections 3-6. https://www.pdl.cmu.edu/PDL-FTP/associated/cs-99-176.pdf (accessed 2026-12-01) - [disksim] Carnegie Mellon PDL: DiskSim 4.0 source distributions and reference manual. https://www.pdl.cmu.edu/DiskSim/index.html (accessed 2026-12-01) - [hesela] Hesela: disk characterization and validation boundaries. https://hesela.com/analyses/disk-model-demerit-validation/#dixtrac (accessed 2026-12-01) ### DLT URL: https://hesela.dev/terms/dlt/ Also known as: Digital Linear Tape, SDLT, DLT-S4 Status: eol Record updated: 2026-10-22 Digital Linear Tape (DLT) is a family of half-inch single-reel linear serpentine tape cartridges and drives, standardised by ECMA as DLT 1 to DLT 6 and extended later. Note: The ECMA standards list DLT formats by track count, 48 for DLT 1 (1992), 112 for DLT 2 (1993), 128 for DLT 3 (1994) and DLT 4 (1995), and 208 for DLT 5 (1997) and DLT 6. Tracks are recorded and read in pairs in two groups, one written forward and one in reverse, and capacity grew through more tracks and, from DLT 4, improved tape. [ecma-286] Native capacity was 20 GB for DLT 4 [ecma-231], 35 GB for DLT 5 [ecma-259] and 40 GB for DLT 6, the last two reached by higher recording density and tape speed on the same tape. DLT 6 specifies 557 m of tape and 2,578 flux transitions per millimetre. [ecma-286] The 2006 DLT-S4 drive stores 800 GB native at 60 MB/s over Ultra320 SCSI, 4 Gb Fibre Channel or 3 Gb SAS, and only reads the earlier 300 GB and 160 GB Super DLT cartridges. [dlt-s4-manual] Filling a cartridge takes about 3.7 hours at that rate. By 2004 the maker's own tape-library division sold more LTO than DLT drives, and it signalled a possible move away from the platform. [register-2004] Advantages: - DLT 1 to DLT 6 are public standards, so cartridge and recording layout are documented independently of one maker. (sources: [ecma-286], [ecma-231], [ecma-259]) Limitations: - Compressed capacities assume 2:1 or better and are not guaranteed for any data set. (sources: [dlt-s4-manual], [ecma-231]) Sources and caveats: - Later generations (Super DLT, DLT-S4) are documented only by the drive maker's July 2006 product manual, not by ECMA. - The 2004 market remark is an interview statement by Quantum's European marketing head reported by trade press, not market data. - No source gives reliability, error-rate or lifetime figures for DLT media. - Arithmetic: 800 GB / 60 MB/s = 13,300 s = 3.7 h. Related terms: - [tape](https://hesela.dev/terms/tape/) - [lto](https://hesela.dev/terms/lto/) - [dat-cartridge](https://hesela.dev/terms/dat-cartridge/) - [helical-scan](https://hesela.dev/terms/helical-scan/) - [backup](https://hesela.dev/terms/backup/) Citations: - [c1] DLT. https://en.wikipedia.org/wiki/Digital_Linear_Tape (accessed 2026-03-26) - [ecma-286] Standard ECMA-286 (2nd edition, June 2000): Data interchange on 12,7 mm 208-track magnetic tape cartridges - DLT 6 format. https://ecma-international.org/wp-content/uploads/ECMA-286_2nd_edition_june_2000.pdf (accessed 2026-10-16) - [ecma-231] Standard ECMA-231 (1st edition, December 1995): Data interchange on 12,7 mm 128-track magnetic tape cartridges - DLT 4 format. https://ecma-international.org/wp-content/uploads/ECMA-231_1st_edition_december_1995.pdf (accessed 2026-10-16) - [ecma-259] Standard ECMA-259 (1st edition, June 1997): Data interchange on 12,7 mm 208-track magnetic tape cartridges - DLT 5 format. https://ecma-international.org/wp-content/uploads/ECMA-259_1st_edition_june_1997.pdf (accessed 2026-10-16) - [dlt-s4-manual] Quantum. DLT-S4 Product Manual, 81-81278-01 A01, July 2006. https://qsupport.quantum.com/freedownloads/dlt_s4/DLT-S4_Product_Manual_81-81278-01.pdf (accessed 2026-10-16) - [register-2004] The Register. Tape drives are fast enough, says Quantum. 21 September 2004. https://www.theregister.com/2004/09/21/quantum_new_roadmap/ (accessed 2026-10-16) ### dm-crypt URL: https://hesela.dev/terms/dm-crypt/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Status: shipping Record updated: 2026-11-29 dm-crypt is a Linux device-mapper target that transparently encrypts and decrypts block-device I/O using the kernel cryptographic API. Note: The target is distinct from LUKS metadata and from the userspace cryptsetup utility. Its selected cipher and integrity configuration determine the protection. Linux v6.12 ignores discard by default; allow_discards forwards it and may expose allocation information if discarded ranges can later be identified. [dm-crypt-source] Limitations: - An encryption mapping is not evidence that authentication is enabled. (sources: [dm-crypt-source], [cryptsetup-source]) Related terms: - [fscrypt](https://hesela.dev/terms/fscrypt/) - [luks](https://hesela.dev/terms/luks/) - [xts-aes](https://hesela.dev/terms/xts-aes/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [dm-integrity](https://hesela.dev/terms/dm-integrity/) - [discard](https://hesela.dev/terms/discard/) - [block-storage](https://hesela.dev/terms/block-storage/) - [device-mapper](https://hesela.dev/terms/device-mapper/) Citations: - [dm-crypt-source] Linux v6.12: dm-crypt, encryption target, integrity metadata and allow_discards. https://docs.kernel.org/6.12/admin-guide/device-mapper/dm-crypt.html (accessed 2026-10-15) - [cryptsetup-source] cryptsetup v2.8.1: LUKS extension and experimental authenticated disk encryption. https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.8.1/man/cryptsetup.8.adoc (accessed 2026-10-15) - [hesela-encryption] Hesela: Encryption is not authentication. https://hesela.com/analyses/checksums-identity-and-lost-writes/#encryption-boundaries (accessed 2026-10-15) ### dm-delay URL: https://hesela.dev/terms/dm-delay/ Also known as: Device-mapper delay target Status: shipping Record updated: 2026-11-11 dm-delay is a Linux device-mapper target that delays block I/O submission using configurable read, write and flush classes. Note: Parameters: Each settings group supplies a device, sector offset and delay in milliseconds. Three arguments share one group across classes; six separate reads from writes and flushes; nine give flushes their own group. [delay-doc] Selection: In Linux v6.12, write-direction bios carrying REQ_PREFLUSH select the flush class. A write-direction bio carrying FUA but not REQ_PREFLUSH selects the write class. This concerns flags arriving at the target, not every physical command downstream; the block layer can transform flush and FUA requests. [delay-source] [cache-control] Timing: The target delays submission, not completion for a fixed application-visible interval. Presuspend disables delaying and releases queued bios without waiting for expiry. Record observed timing separately from configured delay. [delay-source] Engine: In v6.12, all configured class delays are below 50 ms for the kernel thread path; otherwise the target uses a timer and workqueue. Expiry uses jiffies. This implementation boundary is not an application latency guarantee. [delay-source] Limitations: - Selective block delays do not establish the cause or field frequency of a hardware slowdown. (sources: [delay-doc]) Sources and caveats: - Implementation reviewed at Linux v6.12 commit adc218676eef25575469234709c2d87185ca223a. - Source review only: no device-mapper target was loaded, no I/O was delayed and no hardware failure rate was measured. Related terms: - [dm-flakey](https://hesela.dev/terms/dm-flakey/) - [fault-injection](https://hesela.dev/terms/fault-injection/) - [fail-slow](https://hesela.dev/terms/fail-slow/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) Citations: - [delay-doc] Linux v6.12: dm-delay parameters. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/delay.rst (accessed 2026-11-11) - [delay-source] Linux v6.12: dm-delay mapping, delayed submission and presuspend. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-delay.c (accessed 2026-11-11) - [cache-control] Linux v6.12: explicit volatile write-back cache control. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/block/writeback_cache_control.rst (accessed 2026-11-11) - [hesela-failslow] Hesela: Fail-slow NVMe SSDs: what SMART and heartbeats miss. https://hesela.com/analyses/nvme-fail-slow-unseen-by-smart/#dm-delay (accessed 2026-11-11) ### dm-dust URL: https://hesela.dev/terms/dm-dust/ Also known as: Device-mapper dust target Status: shipping Record updated: 2026-12-01 dm-dust is a Linux device-mapper target that injects read errors at selected block locations and can clear those injected faults through its write path. Note: Choose block locations and enable the fault state separately; bypass mode forwards I/O without applying the injected failures. This supports preparing test data before activating a fault. Block numbers use the configured block size, not necessarily 512 bytes. [dust-doc] The reviewed Linux v6.12 parser also accepts addbadblock with a write-failure count from 0 to 255; omitting it selects zero. While enabled, a matching mapped write decrements a positive count and fails. A later write at zero removes the entry and is forwarded. Reads keep failing while the entry remains, including when its count has reached zero. These are mapped I/O events, not a guaranteed count of application write calls. [dust-source] Removal happens before lower-device completion. Consequently, an absent bad-block entry cannot establish successful repair, correct bytes or durability. Bypass writes do not consume the counter or remove entries. Use a zero backing-device offset when following the simple examples; v6.12 performs lookup after adding that offset. [dust-source] The write path is selected by bio_data_dir, not payload presence. REQ_OP_DISCARD has write direction but no data payload. A zero-length REQ_OP_WRITE preflush uses the same branch when that bio reaches dust_map and its mapped location matches an enabled entry. Mapper bypass and lower layers can affect delivery; not every application flush reaches this callback. [dust-source] [bio-direction] [block-ops] [dm-empty-flush] CORDS instead injected faults through a FUSE filesystem at application-file offsets. Its FAST 2017 protocol is not reproduced merely by configuring a block target. [cords] Limitations: - Fault injection can damage test data; use only isolated, disposable storage and verify returned data separately from injector state. (sources: [dust-doc], [dust-source]) - Injected read failures do not cover all physical media faults and do not establish their frequency in production. (sources: [cords], [dust-source]) Sources and caveats: - Static source review of Linux v6.12 commit adc218676eef25575469234709c2d87185ca223a; dust_message, dust_map, dust_map_read and __dust_map_write. - No device-mapper target was loaded and no block-device fault was injected. - Human methods discussion: https://hesela.com/analyses/crash-testing-oracles-and-bounds/#addressed-faults - The completion caveat is an inference from removal before remapping, not an observed lower-device failure. - Operation-direction clarification: source-level inference from Linux v6.12 reviewed 2026-12-01, not an observed kernel experiment. No lower-device completion or current-kernel result is claimed. Related terms: - [dm-flakey](https://hesela.dev/terms/dm-flakey/) - [fault-injection](https://hesela.dev/terms/fault-injection/) Citations: - [dust-doc] Linux v6.12: dm-dust target documentation. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/dm-dust.rst (accessed 2026-11-30) - [dust-source] Linux v6.12: dm-dust mapping, write-failure counter and message parser. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-dust.c (accessed 2026-11-30) - [cords] Ganesan et al. Redundancy Does Not Imply Fault Tolerance. FAST 2017, pp. 149-166, sections 3-4. https://www.usenix.org/system/files/conference/fast17/fast17-ganesan.pdf (accessed 2026-11-30) - [bio-direction] Linux v6.12: bio_data_dir and bio_has_data distinguish direction from payload. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/bio.h (accessed 2026-12-01) - [block-ops] Linux v6.12: request operation values and op_is_write. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/blk_types.h (accessed 2026-12-01) - [dm-empty-flush] Linux v6.12: __send_empty_flush and the mapped versus bypassed flush paths. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm.c (accessed 2026-12-01) ### dm-era URL: https://hesela.dev/terms/dm-era/ Also known as: Device-mapper era target Status: shipping Record updated: 2026-12-01 dm-era is a Linux device-mapper target that records which origin-device blocks were written during user-defined eras. Note: Tracking: A 32-bit era counter labels periods of block writes. The checkpoint message may advance the era; read the status rather than assuming it incremented. [era-guide] Capture: take_metadata_snap holds change-tracking metadata for userspace inspection, not the origin's data bytes. A changed-block list does not preserve an earlier payload or establish application consistency. [era-guide] [era-code] Selection: era_invalidate lists blocks that may have changed since the beginning of a selected era. Its manual requires the metadata-snapshot mode when examining active target metadata. A listed block need not contain different bytes from its earlier version. [era-invalidate] History: Commit 2524933307fd fixes stale bitset-cache reuse across consecutive archived writesets for devices with at most 64 tracked blocks. The failure loses write-history information, not necessarily the underlying writes. The fix resets the cache for each writeset and is present in v6.12. [era-cache-fix] [era-code] Limitations: - Writes that bypass the target are outside its observation path; backup payload, tracking lineage and recovery-point consistency need separate checks. (sources: [era-code]) Sources and caveats: - Version scope: Linux v6.12 and thin-provisioning-tools v1.1.0; distribution backports were not surveyed. - The linked model illustrates the historical cache-lifetime defect using synthetic bitmaps. It does not execute kernel code, read device metadata or reproduce a restore. [era-model] Related terms: - [changed-block-tracking](https://hesela.dev/terms/changed-block-tracking/) - [device-mapper](https://hesela.dev/terms/device-mapper/) Citations: - [era-guide] Linux v6.12: dm-era checkpoint and metadata-snapshot interfaces. https://www.kernel.org/doc/html/v6.12/admin-guide/device-mapper/era.html (accessed 2026-12-01) - [era-code] Linux v6.12: dm-era-target.c metadata snapshots and writeset digestion. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-era-target.c (accessed 2026-12-01) - [era-cache-fix] Linux commit 2524933307fd: invalidate bitset cache between archived writesets. https://github.com/torvalds/linux/commit/2524933307fd0036d5c32357c693c021ab09a0b0 (accessed 2026-12-01) - [era-invalidate] thin-provisioning-tools v1.1.0: era_invalidate manual. https://github.com/jthornber/thin-provisioning-tools/blob/b745ab35057bdd0a4f1406938916621dcf2b7ef6/man8/era_invalidate.txt (accessed 2026-12-01) - [era-model] Hesela: bounded writeset-cache illustration and tests. https://hesela.dev/research/dm-era/README.md (accessed 2026-12-01) - [era-recovery] Hesela: snapshots, change tracking and backup recovery boundaries. https://hesela.com/analyses/snapshot-backup-recovery-boundaries/#dm-era-tracking (accessed 2026-12-01) ### dm-error URL: https://hesela.dev/terms/dm-error/ Also known as: device-mapper error target, error target Status: shipping Record updated: 2026-12-01 dm-error is a Linux device-mapper target that fails mapped data I/O instead of supplying data or retaining writes. Note: In Linux v6.12, the bio and request mapping callbacks return DM_MAPIO_KILL. Discard handling is explicitly advertised so a mapped discard fails as I/O rather than merely being unsupported. Optional backing-device arguments supply device limits, not successful read/write forwarding. [dm-error-code] The bio-based core translates DM_MAPIO_KILL into BLK_STS_IOERR. This is an internal block-layer result, not a direct return value from read() or write(). Cached reads and deferred writeback above the target can change what an application observes. [dm-core-flush] Empty flushes follow a separate path: the core skips targets with num_flush_bios equal to zero, and the reviewed error target does not request flush bios. Its failing mapping callbacks therefore do not establish that every application synchronization call must fail. [dm-core-flush] [dm-error-code] Testing scope: IRON File Systems selects faults by block type and workload, and compares faulty runs with fault-free controls. A uniformly failing mapping does not provide that coverage; record which requests actually reached the target. [iron-method] Advantages: - Provides an explicit failing mapping for unavailable logical-volume regions. Limitations: - Is not a probabilistic media-failure model or a complete test of an application's recovery behavior. Sources and caveats: - Source review of Linux v6.12, pinned to commit adc218676eef25575469234709c2d87185ca223a; no device creation or native failure experiment. Related terms: - [device-mapper](https://hesela.dev/terms/device-mapper/) - [dm-zero](https://hesela.dev/terms/dm-zero/) - [dm-flakey](https://hesela.dev/terms/dm-flakey/) Citations: - [dm-error-code] Linux v6.12: error target mapping callbacks and optional device limits. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-target.c (accessed 2026-12-01) - [dm-core-flush] Linux v6.12: bio error completion and empty-flush target selection. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm.c (accessed 2026-12-01) - [iron-method] Prabhakaran et al., IRON File Systems, SOSP 2005, section 4: failure-policy fingerprinting. https://research.cs.wisc.edu/adsl/Publications/iron-sosp05.pdf (accessed 2026-12-01) ### dm-flakey URL: https://hesela.dev/terms/dm-flakey/ Also known as: Device-mapper flakey target Status: shipping Record updated: 2026-12-01 dm-flakey is a Linux device-mapper target that alternates normal block I/O with configured error, write-drop or data-corruption behavior. Note: The up and down intervals select time windows, not an exact number of failed operations. During a down window, error_writes reports a write error, while drop_writes discards writes without reporting that failure. These modes test different recovery assumptions. [flakey-doc] Linux v6.12 modifies matching write-data bios through a private clone. If clone allocation fails, flakey_map falls through to remapping the original bio without the requested byte corruption. Fixed-byte replacement also has no effect when its position lies beyond the bio data or the existing byte already equals the replacement. A configured corruption attempt therefore does not establish altered bytes. [flakey-source] Read selection uses the down state at mapping, not completion time. flakey_end_io considers corruption only after a successful lower-layer read; completion during an up interval does not cancel earlier selection. Matching and replacement conditions still apply. [flakey-source] Rebello et al. used a custom, targeted block injector for filesystem tests, then CuttleFS for application tests. A periodic dm-flakey configuration is not the same experimental protocol. [rebello] Limitations: - Use only disposable, isolated storage: an injector can damage the filesystem and application data being tested. (sources: [flakey-doc]) - The reviewed v6.12 path passes zone-management operations through; it does not inject every command class. (sources: [flakey-source]) Sources and caveats: - Source review of immutable Linux v6.12 commit adc218676eef25575469234709c2d87185ca223a. - No device-mapper target was loaded and no storage fault was injected; the allocation fallback is a control-flow finding, not a measured frequency. Related terms: - [fault-injection](https://hesela.dev/terms/fault-injection/) - [fault-model](https://hesela.dev/terms/fault-model/) - [lost-write](https://hesela.dev/terms/lost-write/) - [writeback-error](https://hesela.dev/terms/writeback-error/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [dm-delay](https://hesela.dev/terms/dm-delay/) - [dm-dust](https://hesela.dev/terms/dm-dust/) - [dm-error](https://hesela.dev/terms/dm-error/) Citations: - [flakey-doc] Linux v6.12: dm-flakey target parameters and feature behavior. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/dm-flakey.rst (accessed 2026-11-07) - [flakey-source] Linux v6.12: dm-flakey byte replacement, cloning and I/O mapping. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-flakey.c (accessed 2026-11-28) - [rebello] Rebello et al., Can Applications Recover from fsync Failures? USENIX ATC 2020, sections 3.2 and 4. https://files.usenix.org/s3fs-public/cdn/atc20-rebello.pdf (accessed 2026-11-07) ### dm-integrity recovery mode URL: https://hesela.dev/terms/dm-integrity-recovery-mode/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: dm-integrity R mode Status: shipping Record updated: 2026-10-23 dm-integrity recovery mode is a Linux device-mapper access mode that bypasses integrity checks and journal replay while disallowing writes through the mapping. Note: Linux v6.12 documents this mode for recovery when ordinary activation fails; obtaining bytes does not authenticate them. [dm-integrity-source] The v6.12 sync_rw_sb implementation also skips superblock MAC checking in this mode. [integrity-code] Because the journal is not replayed, writes held only in journal sections are not applied; each section begins with a 4 KiB metadata area, and each journal data sector keeps 504 bytes of data while its last 8 bytes sit in the journal entry. It is distinct from normal verified read-only access and from recalculation, which generates replacement tags. [dm-integrity-source] Advantages: - Data can still be read from a device whose tags or journal would otherwise prevent activation. (sources: [dm-integrity-source]) Limitations: - The mode reads data as stored and does not repair content or regenerate tags. (sources: [dm-integrity-source]) Sources and caveats: - dm-integrity-source is the Linux v6.12 dm-integrity documentation, re-read 2026-10-23 for the R mode text and the journal section layout. - The freshness and write-blocking caveats follow a companion analysis of integrity recovery, kept as a listed citation. - The btrfs-read-only-subvolume entry links here because both are read-only scopes, and recovery mode additionally skips verification for the whole mapping. Related terms: - [dm-integrity](https://hesela.dev/terms/dm-integrity/) - [block-device-read-only](https://hesela.dev/terms/block-device-read-only/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) Citations: - [dm-integrity-source] Linux v6.12 documentation: dm-integrity, integrity-tag ownership and journal/direct modes. https://docs.kernel.org/6.12/admin-guide/device-mapper/dm-integrity.html (accessed 2026-10-23) - [integrity-code] Linux v6.12 dm-integrity.c: dm_integrity_disable_recalculate and sync_rw_sb. https://github.com/torvalds/linux/blob/v6.12/drivers/md/dm-integrity.c (accessed 2026-10-15) - [hesela-recovery] Hesela: Recovery can stop checking the evidence. https://hesela.com/analyses/checksums-identity-and-lost-writes/#integrity-recovery (accessed 2026-10-15) ### dm-integrity URL: https://hesela.dev/terms/dm-integrity/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Status: shipping Record updated: 2026-10-21 dm-integrity is a Linux device-mapper target that stores per-block integrity tags and can generate and verify them when configured with an internal hash. Note: An upper layer supplying the tags is responsible for checking them; an internal CRC or HMAC has a different threat model. [dm-integrity-source] In authenticated dm-crypt configurations, dm-crypt generates and checks the tags while dm-integrity provides their storage. This does not make every dm-integrity configuration authenticated or encrypted. [dm-crypt-source] Bitmap mode can miss corruption coincident with a crash because dirty-region tags are regenerated. [integritysetup-source] Recovery mode bypasses checking rather than verifying a read-only view. [dm-integrity-source] Journal MAC checks journal addressing; internal-hash replay checks block tags. Superblock read verification requires the configured journal MAC and persisted fixed-HMAC flag, outside recovery mode; a CRC is not adversarial authentication. [integrity-code] Limitations: - Journaled mode couples data and tag updates; direct mode can leave mismatches after a crash. This is not application-level transaction atomicity. (sources: [dm-integrity-source]) - Internal hashing does not itself authenticate the superblock. The Linux v6.12 recalculation guard distinguishes data keys, journal keys and the fixed-HMAC format; the legacy override bypasses this guard. Recalculation is not authentication of earlier contents. (sources: [integrity-code], [integrity-fix]) Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [dm-verity](https://hesela.dev/terms/dm-verity/) - [fs-verity](https://hesela.dev/terms/fs-verity/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [dm-crypt](https://hesela.dev/terms/dm-crypt/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [dm-integrity-recovery-mode](https://hesela.dev/terms/dm-integrity-recovery-mode/) - [replay-attack](https://hesela.dev/terms/replay-attack/) - [rollback-protection](https://hesela.dev/terms/rollback-protection/) - [hmac](https://hesela.dev/terms/hmac/) - [cryptographic-nonce](https://hesela.dev/terms/cryptographic-nonce/) Citations: - [dm-integrity-source] Linux v6.12 documentation: dm-integrity, integrity-tag ownership and journal/direct modes. https://docs.kernel.org/6.12/admin-guide/device-mapper/dm-integrity.html (accessed 2026-10-15) - [hesela-integrity] Hesela: Why a valid checksum can still return the wrong data. https://hesela.com/analyses/checksums-identity-and-lost-writes/#linux-verity (accessed 2026-10-15) - [dm-crypt-source] Linux v6.12: dm-crypt, encryption target, integrity metadata and allow_discards. https://docs.kernel.org/6.12/admin-guide/device-mapper/dm-crypt.html (accessed 2026-10-15) - [integritysetup-source] cryptsetup v2.8.1: integritysetup, bitmap mode, recalculation, recovery and legacy options. https://raw.githubusercontent.com/mbroz/cryptsetup/v2.8.1/man/integritysetup.8.adoc (accessed 2026-10-15) - [integrity-code] Linux v6.12 dm-integrity.c: block checks, journal section MAC, superblock verification and recalculation guard. https://github.com/torvalds/linux/blob/v6.12/drivers/md/dm-integrity.c (accessed 2026-10-15) - [integrity-fix] cryptsetup merge request 128 (2021): HMAC recalculation fix and separate journal/superblock authentication. https://gitlab.com/cryptsetup/cryptsetup/-/merge_requests/128 (accessed 2026-10-15) - [hesela-recovery] Hesela: Recovery can stop checking the evidence. https://hesela.com/analyses/checksums-identity-and-lost-writes/#integrity-recovery (accessed 2026-10-15) - [hesela-journal] Hesela: The journal needs its own protection boundary. https://hesela.com/analyses/checksums-identity-and-lost-writes/#journal-authentication (accessed 2026-10-15) ### dm-linear URL: https://hesela.dev/terms/dm-linear/ Also known as: Device-mapper linear target Status: shipping Record updated: 2026-12-01 dm-linear is a Linux device-mapper target that maps a contiguous logical-sector range onto an equal-length range of one backing block device. Note: Scope: Several linear entries can concatenate backing ranges. Unlike dm-striped, ordinary concatenation does not cycle fixed-size chunks across destinations, but concurrent I/O to different devices remains possible. [linear-guide] [striped-guide] Addressing: For logical start S, length N and backing offset O, sector L in [S, S + N) maps to O + (L - S). These are 512-byte address units, not necessarily the device's logical or physical block size. Core checks also constrain backing capacity and alignment; arithmetic alone does not establish table acceptance. [linear-code] [target-offset] [units] [table-code] Example: With S = 1024, N = 16 and O = 128, logical sectors 1024 through 1039 map to backing sectors 128 through 143. Sector 1040 is outside the entry. Executable arithmetic tests cover boundaries and nonzero starts without loading a mapping. [mapping-example] Aliasing: Two entries on the same backing device, starting at 0 and 16 with length 16 and offset 128, both map their first sector to backing sector 128. They name the same storage, not two independent copies. A write through one alias can replace bytes addressed through another; immediate coherence of buffered reads is not promised. This follows from address translation. [linear-code] [mapping-example] Limits: The target adds neither mirrors nor parity, although lower layers may supply redundancy. Changing the mapping does not itself relocate existing bytes. Logical size does not prove unique backing capacity or independent failure domains. [linear-code] Sources and caveats: - Primary-source synthesis pinned to Linux v6.12; no block devices, filesystems or storage configurations were created or modified. - Aliasing examples are deductions from address translation, not hardware measurements or claims about filesystem cache coherence. - The executable model tests sector arithmetic only; it is not a kernel table validator or a deployment recipe. Related terms: - [device-mapper](https://hesela.dev/terms/device-mapper/) - [dm-striped](https://hesela.dev/terms/dm-striped/) - [lvm](https://hesela.dev/terms/lvm/) - [volume-manager](https://hesela.dev/terms/volume-manager/) Citations: - [linear-guide] Linux v6.12: linear mappings and joining devices. https://docs.kernel.org/6.12/admin-guide/device-mapper/linear.html (accessed 2026-12-01) - [striped-guide] Linux v6.12: striped target and chunk placement. https://docs.kernel.org/6.12/admin-guide/device-mapper/striped.html (accessed 2026-12-01) - [linear-code] Linux v6.12: linear_map_sector and linear_map. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-linear.c (accessed 2026-12-01) - [target-offset] Linux v6.12: dm_target_offset subtracts the target begin. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/device-mapper.h (accessed 2026-12-01) - [units] Linux v6.12: sector_t and 512-byte sector units. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/blk_types.h (accessed 2026-12-01) - [table-code] Linux v6.12: logical adjacency, backing extent and alignment checks. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-table.c (accessed 2026-12-01) - [mapping-example] Hesela: arithmetic-only linear address translation and boundary tests. https://hesela.dev/research/dm-linear/README.md (accessed 2026-12-01) ### dm-log-writes URL: https://hesela.dev/terms/dm-log-writes/ Related analysis: https://hesela.com/analyses/crash-testing-oracles-and-bounds/ Also known as: Device-mapper log-writes target Status: shipping Record updated: 2026-12-01 dm-log-writes is a Linux device-mapper target that records block modifications on a separate device for controlled replay and filesystem checks. Note: Ordinary completed writes wait for a later PREFLUSH. At flush mapping, the target captures the completed-write list; on completion, it queues that captured batch and the flush record. A write completing between those two events is not added retroactively. FUA requests take a separate completion path, while ordinary discards follow the pending-write ordering. [log-doc] [log-source] A mark is an annotation, not a flush. In the reviewed v6.12 log_mark path it joins the logging queue without draining unflushed_blocks. The final teardown marker is different: destruction first moves remaining entries. A replay endpoint therefore needs a stated synchronization contract. [log-source] Record successful synchronization, backing-I/O errors and logger status separately. The v6.12 completion callback does not filter records by the error argument; a log entry is not a successful-write receipt. Treat logging_disabled as an incomplete recording, not a passing test. [log-source] CrashMonkey also records system calls to identify explicitly persisted files and directories for its oracle. A block log by itself does not supply that application-level expectation or reproduce the OSDI 2018 experiment. [mohan] Limitations: - Logging and replay require isolated disposable storage; neither a complete trace nor a passing checker proves all crash states are safe. (sources: [log-doc], [mohan]) Sources and caveats: - Static review of Linux v6.12 commit adc218676eef25575469234709c2d87185ca223a. No kernel target was loaded and no physical storage failure was tested. - Original success-path queue model and tests: https://hesela.dev/research/dm-log-writes/model.mjs and https://hesela.dev/research/dm-log-writes/model.test.mjs. - Human interpretation and limits: https://hesela.com/analyses/crash-testing-oracles-and-bounds/#dm-log-writes Related terms: - [device-mapper](https://hesela.dev/terms/device-mapper/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) Citations: - [log-doc] Linux v6.12: dm-log-writes ordering, marks and replay interface. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/log-writes.rst (accessed 2026-12-01) - [log-source] Linux v6.12: log_writes_map, normal_end_io, log_mark, teardown and logger status. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-log-writes.c (accessed 2026-12-01) - [mohan] Mohan et al. Finding Crash-Consistency Bugs with Bounded Black-Box Crash Testing. OSDI 2018, pp. 33-50, sections 4.4 and 5.1. https://www.usenix.org/system/files/osdi18-mohan.pdf (accessed 2026-12-01) ### dm-striped URL: https://hesela.dev/terms/dm-striped/ Also known as: dm-stripe, Device-mapper striped target Status: shipping Record updated: 2026-12-01 dm-striped is a Linux device-mapper target that distributes consecutive fixed-size chunks cyclically across backing devices without adding redundancy. Note: Scope: The table target is named striped. It implements RAID-0-style placement, not the separate dm-raid target. Striping supplies neither parity nor an extra copy; configured destinations need not be independent physical failure domains. [striped-612] [stripe-code] Geometry: Table addresses, chunk sizes and backing offsets use 512-byte sectors, not physical-sector sizes. The v6.12 guide specifies chunks at least as large as PAGE_SIZE and a segment length divisible by chunk size times destination count. Core checks also constrain backing ranges and alignment. [striped-612] [block-units] [table-code] Mapping uses the sector's offset from this target's start. For relative sector x, N destinations and C-sector chunks, the destination is floor(x/C) mod N. Its sector is the configured backing offset plus floor(x/(N*C))*C + (x mod C). The mapping arithmetic handles non-power-of-two counts and chunks. [stripe-code] [target-offset] The linked arithmetic-only example uses three destinations and 8-sector chunks; 8 sectors is 4 KiB, not a universal PAGE_SIZE. It checks address placement without loading a kernel mapping. Parallel throughput remains workload- and device-dependent; a geometry hint is not a benchmark. [mapping-example] [striped-612] Sources and caveats: - Source synthesis pinned to Linux v6.12; no block device, filesystem or storage configuration was modified. - The PAGE_SIZE minimum is a documentation requirement, not a check performed by stripe_ctr itself; arithmetic validity is not proof of kernel table acceptance. - The constructed example tests target-relative mapping and offset accounting, not device throughput, crash recovery or failure incidence. Related terms: - [device-mapper](https://hesela.dev/terms/device-mapper/) - [raid-0](https://hesela.dev/terms/raid-0/) - [stripe-unit](https://hesela.dev/terms/stripe-unit/) - [dm-unstriped](https://hesela.dev/terms/dm-unstriped/) - [dm-linear](https://hesela.dev/terms/dm-linear/) Citations: - [striped-612] Linux v6.12: dm-stripe target documentation and geometry. https://docs.kernel.org/6.12/admin-guide/device-mapper/striped.html (accessed 2026-12-01) - [stripe-code] Linux v6.12: dm-stripe.c, stripe_ctr, stripe_map_sector and stripe_io_hints. https://github.com/torvalds/linux/blob/v6.12/drivers/md/dm-stripe.c (accessed 2026-12-01) - [block-units] Linux v6.12: 512-byte sector address units in blk_types.h. https://github.com/torvalds/linux/blob/v6.12/include/linux/blk_types.h (accessed 2026-12-01) - [table-code] Linux v6.12: dm-table.c backing capacity and alignment validation. https://github.com/torvalds/linux/blob/v6.12/drivers/md/dm-table.c (accessed 2026-12-01) - [target-offset] Linux v6.12: dm_target_offset in device-mapper.h. https://github.com/torvalds/linux/blob/v6.12/include/linux/device-mapper.h (accessed 2026-12-01) - [mapping-example] Hesela: executable arithmetic-only striped address mapping and independent tests. https://hesela.dev/research/dm-striped/README.md (accessed 2026-12-01) ### dm-switch URL: https://hesela.dev/terms/dm-switch/ Also known as: Device-mapper switch target Status: shipping Record updated: 2026-12-01 dm-switch is a Linux device-mapper target that selects a backing path for each fixed-size region of a logical block device. Note: Routing: The documented two-tier design directs a region toward its owning array member, with multipath below handling routes to that member. Region size and backing offsets use 512-byte sectors. Switching paths does not copy data. [switch-doc] Addressing: Linux v6.12 adds the selected path's starting offset to the target-relative sector; it does not compact regions like striping. [switch-code] Updates: set_region_mappings consumes hexadecimal region and path indices. In v6.12, an invalid later argument can leave earlier entries changed. Message serialization does not provide rollback. The status output does not export the live region map. [switch-doc] [switch-code] Limitations: - Safe routing requires the selected destination to expose the intended logical data; unrelated devices are not interchangeable replicas. (sources: [switch-doc]) Sources and caveats: - Implementation reviewed at Linux v6.12 commit adc218676eef25575469234709c2d87185ca223a. - Source review and a pure integer address model only; no device-mapper mapping was loaded and no I/O or failure was injected. Related terms: - [multipath-io](https://hesela.dev/terms/multipath-io/) - [iscsi](https://hesela.dev/terms/iscsi/) Citations: - [switch-doc] Linux v6.12: dm-switch region routing and two-tier multipath layout. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/switch.rst (accessed 2026-12-01) - [switch-code] Linux v6.12: switch_map, process_set_region_mappings and switch_status. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-switch.c (accessed 2026-12-01) ### dm-unstriped URL: https://hesela.dev/terms/dm-unstriped/ Also known as: Device-mapper unstriped target, dm-unstripe Status: shipping Record updated: 2026-12-01 dm-unstriped is a Linux device-mapper target that exposes one member's address sequence through an existing striped block-device address space. Note: Purpose: Unstriping selects addresses; it does not reconstruct missing bytes, add parity or bypass failure of the backing striped device. [unstriped-doc] [unstripe-code] Geometry: For N members, chunk size C, zero-based member i, backing offset O and a target starting at zero, sector x maps to O + N*C*floor(x/C) + i*C + (x mod C). Units are 512 bytes. Require 0 <= i < N and a positive length divisible by C; check the expanded backing span separately. [unstripe-code] [sector-units] [mapping-example] Example: N=4, C=256, i=2 and O=0 map x=0, 255, 256 and 511 to 512, 767, 1536 and 1791. A 512-sector view reaches beyond backing sector 511. This is integer arithmetic, not a loaded target. [mapping-example] Version boundary: Linux v6.12 uses the incoming bio sector without subtracting the target start. Commit 83c10e8dd436 corrects this using dm_target_offset. At target start 1024, N=2, C=128, i=1 and O=0, the first sector maps to 128 with relative addressing, versus 2176 with the old calculation. This example is address arithmetic, not a kernel test. [unstripe-code] [origin-fix] Validation: Non-power-of-two chunks use division. The v6.12 member-index check is weaker than 0 <= i < N. Its guide's loop example requests length 1 with chunk 256, contradicting the constructor's divisibility check. The later origin fix does not change these constructor checks. No kernel mapping was loaded here. [unstriped-doc] [unstripe-code] [origin-fix] Limitations: - A component-address view does not establish physical isolation, improved latency or missing-member recovery. (sources: [unstriped-doc], [unstripe-code]) Sources and caveats: - Static source comparison: Linux v6.12 commit adc218676eef25575469234709c2d87185ca223a and origin fix 83c10e8dd43628d0bf86486616556cd749a3c310; downstream backport coverage was not surveyed. - Constructed integer mapping checked against independent stripe enumeration. No device-mapper table, block device or filesystem was created or modified. - The arithmetic model rejects invalid member indices even where the reviewed parser does not; it is not a kernel-table validator. - The historical hardware-specific performance example is not generalized to NVMe devices or reported as a Hesela measurement. Related terms: - [dm-striped](https://hesela.dev/terms/dm-striped/) - [device-mapper](https://hesela.dev/terms/device-mapper/) - [raid-0](https://hesela.dev/terms/raid-0/) - [stripe-unit](https://hesela.dev/terms/stripe-unit/) Citations: - [unstriped-doc] Linux v6.12: unstriped target documentation and loop-device example. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/unstriped.rst (accessed 2026-12-01) - [unstripe-code] Linux v6.12: dm-unstripe.c constructor, mapping and device iteration. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-unstripe.c (accessed 2026-12-01) - [sector-units] Linux v6.12: block-layer sector address units. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/blk_types.h (accessed 2026-12-01) - [mapping-example] Hesela: exact inverse-striping arithmetic and independent enumeration tests. https://hesela.dev/research/dm-unstriped/README.md (accessed 2026-12-01) - [raid-context] Hesela: RAID layouts, capacity and inverse striping. https://hesela.com/tech/raid/ (accessed 2026-12-01) - [origin-fix] Linux commit 83c10e8dd436: target-relative unstriped address mapping. https://github.com/torvalds/linux/blob/83c10e8dd43628d0bf86486616556cd749a3c310/drivers/md/dm-unstripe.c (accessed 2026-12-01) ### dm-verity URL: https://hesela.dev/terms/dm-verity/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Status: shipping Record updated: 2026-10-22 dm-verity is a Linux device-mapper target that verifies a read-only block mapping against a trusted cryptographic root hash. Note: The root hash must come from a trusted source; ordinary block checking does not authenticate that source. Optional forward-error correction can recover some damaged data, but recovered bytes must still pass hash verification. [dm-verity-source] The device-mapper status character V reports that checks performed so far succeeded; it does not establish that every block was read. C reports detected corruption. Monitoring must retain the mapping options, because ignore_corruption permits access despite a detected mismatch, while check_at_most_once limits data verification to the first read and does not protect against subsequent online changes. [dm-verity-source] With ignore_zero_blocks, ranges identified by the expected zero-block digest return zeros without verification of the underlying data. Successful reads do not certify those backing bytes. [dm-verity-source] A hash block holds as many digests as fit, so SHA-256 with 4,096-byte blocks gives 128 per block, and 32,768 data blocks need 256 + 2 + 1 = 259 hash blocks, 0.79% of the data. Blocks whose hash block was already verified are checked without walking the tree again. [dm-verity-source] [vtcode] A study of hash trees on fast storage measured a writable binary tree losing about 60% of write-heavy throughput at 16 MB and 75% at 4 TB, while reads stayed cheap because the hash cache hit rate exceeded 99%. [burke] Advantages: - Read-only block verification can authenticate accessed data against a trusted root without reading the whole volume in advance. (sources: [dm-verity-source]) - A pkcs7 signature of the root hash can be checked against a kernel keyring when the kernel is built with that option. (sources: [dm-verity-source]) Limitations: - ignore_corruption permits reads after detected corruption; check_at_most_once reduces protection against online changes. (sources: [dm-verity-source]) - The kernel ignores the on-disk header, so user space has to verify it or pass the parameters on a verified command line. (sources: [dm-verity-source]) Sources and caveats: - The kernel documentation and code are project material for v6.12; newer kernels may differ. - The hash-tree cost study is a university paper that measured a writable binary tree in its own block-device driver on fast local storage, not the kernel target, so it shows hash-tree cost under writes rather than dm-verity cost on a read-only system. - The 60% and 75% losses are for a write-heavy example with a 1% read ratio against an encryption-only baseline; no independent measurement of the kernel target read overhead was found. - Arithmetic from the documentation example: 4,096 / 32 = 128 digests per block; 32,768 / 128 = 256, then 2, then 1, so 259 hash blocks, 0.79% of the data. Related terms: - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [fs-verity](https://hesela.dev/terms/fs-verity/) - [dm-integrity](https://hesela.dev/terms/dm-integrity/) - [rollback-protection](https://hesela.dev/terms/rollback-protection/) - [dynamic-merkle-tree](https://hesela.dev/terms/dynamic-merkle-tree/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [erofs](https://hesela.dev/terms/erofs/) - [squashfs](https://hesela.dev/terms/squashfs/) Citations: - [dm-verity-source] Linux v6.12 documentation: dm-verity, parameters, failure policies and hash-tree format. https://docs.kernel.org/6.12/admin-guide/device-mapper/verity.html (accessed 2026-10-18) - [hesela-integrity] Hesela: Why a valid checksum can still return the wrong data. https://hesela.com/analyses/checksums-identity-and-lost-writes/#verity-read-coverage (accessed 2026-10-18) - [vtcode] Linux v6.12 drivers/md/dm-verity-target.c: tree levels, verification order, corruption modes. https://github.com/torvalds/linux/blob/v6.12/drivers/md/dm-verity-target.c (accessed 2026-10-16) - [burke] Burke, Sheatsley, King, Hines, Swift, McDaniel. On Scalable Integrity Checking for Secure Cloud Disks. USENIX FAST 2025 (arXiv 2405.03830). https://arxiv.org/pdf/2405.03830 (accessed 2026-10-16) ### dm-writecache URL: https://hesela.dev/terms/dm-writecache/ Also known as: device-mapper writecache, LVM writecache Status: shipping Record updated: 2026-12-01 dm-writecache is a Linux device-mapper target that buffers writes on persistent memory or SSD before writing cached data to an underlying device. Note: Read admission: LVM distinguishes writecache from the read/write hot-spot cache type. Origin read misses do not populate writecache; reads can still hit data already cached by writes. [writecache-lvm] [writecache-source] Persistence: A normal block FLUSH commits cache state without requiring every cached block to reach the origin. The administrative flush message instead requests all-block writeback and waits; these are different interfaces. [writecache-source] Cleaning: cleaner stops admitting uncached writes but still caches updates to existing entries to preserve ordering. Enabling it is not evidence that draining has finished; inspect status and follow the documented removal sequence. [writecache-doc] Configuration: The fua and nofua writeback options apply only to persistent-memory mode. nofua uses a subsequent origin flush, not an unconditional omission of persistence handling. [writecache-doc] [writecache-source] Limitations: - A committed cache can remain necessary for recovery while the origin holds older data. The autocommit_time timer queues cache-commit work; it is not an origin-writeback deadline or an application synchronization operation. (sources: [writecache-source]) Sources and caveats: - Version-scoped documentation and source review; no device-mapper target, hardware benchmark or power-loss experiment was run. Related terms: - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [persistent-block-cache](https://hesela.dev/terms/persistent-block-cache/) Citations: - [writecache-doc] Linux v6.12: writecache target, cleaner, commit controls and removal sequence. https://docs.kernel.org/6.12/admin-guide/device-mapper/writecache.html (accessed 2026-12-01) - [writecache-source] Linux v6.12 dm-writecache.c: read routing, cache commit and process_flush_mesg. https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/md/dm-writecache.c (accessed 2026-12-01) - [writecache-lvm] LVM2 v2.03.28 lvmcache(7): distinct cache and writecache LV types. https://raw.githubusercontent.com/lvmteam/lvm2/v2_03_28/man/lvmcache.7_main (accessed 2026-12-01) - [hesela-stability] Hesela: NFS stable writes, cache commits and origin writeback. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-12-01) ### dm-zero URL: https://hesela.dev/terms/dm-zero/ Also known as: device-mapper zero target, zero target Status: shipping Record updated: 2026-12-01 dm-zero is a Linux device-mapper target that supplies zero-filled ordinary reads and silently discards writes. Note: The zero target has no target-specific parameters and retains no written payload. A large mapped address range therefore does not reserve storage. It behaves like a block-device counterpart of /dev/zero, not a writable sparse file. [dm-zero-guide] Linux v6.12 zero_map completes ordinary reads with zeros and silently completes writes and discards. A read bio marked REQ_RAHEAD is instead rejected; other operation types reaching this callback are also rejected. These are target-level behaviors, not guarantees about an application's buffered reads. [dm-zero-code] The documented sparse-device construction puts a snapshot over the zero origin and stores changed chunks on a separate copy-on-write device. That additional layer retains writes; its finite backing space must be monitored. The zero target alone cannot provide this retention. [dm-zero-guide] [dm-snapshot-guide] Advantages: - Provides a zero-valued origin without allocating a matching payload backing device. Limitations: - Neither zero-filled reads nor successful discarded writes demonstrate that previously stored data was erased. Sources and caveats: - Source review of Linux v6.12, pinned to commit adc218676eef25575469234709c2d87185ca223a; no device creation, fault injection or performance experiment. Related terms: - [device-mapper](https://hesela.dev/terms/device-mapper/) - [dm-error](https://hesela.dev/terms/dm-error/) - [snapshot](https://hesela.dev/terms/snapshot/) Citations: - [dm-zero-guide] Linux v6.12: zero target and snapshot-backed sparse devices. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/zero.rst (accessed 2026-12-01) - [dm-zero-code] Linux v6.12: dm-zero ordinary reads, readahead, writes and discard. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/md/dm-zero.c (accessed 2026-12-01) - [dm-snapshot-guide] Linux v6.12: snapshot COW storage, chunks and exhaustion. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/device-mapper/snapshot.rst (accessed 2026-12-01) ### DNA data storage URL: https://hesela.dev/terms/dna-data-storage/ Related analysis: https://hesela.com/analyses/dna-storage-coverage-and-dropout/ Also known as: Molecular DNA storage Status: research Record updated: 2026-11-07 DNA data storage represents digital information in nucleotide sequences that are synthesized, preserved and read back for decoding. Note: One random-access design used primer pairs to select files from a mixed pool: 35 files, about 200 MB, over 13 million oligos and 2 billion nucleotides. Files were retrieved from a 10.3-million-sequence subset. Logical redundancy of 15% for 33 files and 25% for two added 32.2 MB. [organick-preprint] About 723 million reads gave mean coverage 53.8 and standard deviation 48.7 reads per sequence; file means ranged from 6.7 to 298.6. Coverage was approximately gamma-distributed; files decoded without bit errors at median coverage 5x. [organick-preprint] Erlich and Zielinski estimated 1.98 bit/nt under chosen sequence constraints and 1.83 bit/nt after indexing and dropout assumptions: model-dependent values, not universal limits. [erlich2017] Their 2.14x10^6-byte file used 72,000 oligos for 67,088 segments, about 7.3% extra oligos, reaching 1.57 bit/nt over each 152 nt encoded region, 14% below that capacity. A separate dilution series recovered the file at 215 PB/g. [erlich-fountain] Distinct fountain equations can be dependent; singleton-only decoding can stall at full rank. Rank, decoder progress and byte identity are separate checks. [hesela-coverage] In the pinned code, add_seed precedes screen_repeat. Rejection can mark a seed seen without admitting an equation; len_seen_seed is not an accepted-equation count. [dna-glass] Physical redundancy counts molecular copies per intended sequence at a specified stage, not reads. Deeper sequencing cannot restore an identity absent from the sampled material; outer coding may recover the file. [gimpel2023] Advantages: - Fountain decoding does not need every strand: the cited file was recovered after observing 69,870 of the 72,000 synthesized oligos. (sources: [erlich-fountain]) Limitations: - In the cited random-access design, PCR amplification selects a primer-tagged file set rather than a single block. (sources: [organick-preprint]) - Results are laboratory demonstrations on single synthesized pools, not durability or error rates of a deployed storage system. Sources and caveats: - organick-preprint is the 2017 bioRxiv preprint of the random-access study, read in abstract, results and methods. - erlich-fountain is the December 2016 bioRxiv version of the DNA Fountain paper by Columbia University and New York Genome Center authors, read in main text and Table 1. - organick2018 is the later journal version of the random-access study. It was not re-read and is not cited in the note. - The 1.57 bit/nt figure counts the 152 nt part of each oligo before adapter sites extended it to 200 nt, while 215 PB/g comes from a separate dilution experiment. - The empirical pool, read-count, redundancy and density figures above come from published studies; no physical DNA work was done for this entry. - The 2026-10-24 addition reviews glass.pyx at commit 8ee2777aa5e9e101e5d756f7e2449f6672b66f1f; it does not execute that implementation. Hesela's seven algebra cases and finite census have no biological sampling distribution. - 2026-11-07: narrowed the random-access architecture claim, distinguished the encoded 152 nt region from payload alone, and scoped the historical capacity model. The extra-oligo ratio is (72000-67088)/67088, approximately 7.32%, not a guaranteed tolerable dropout fraction. Related terms: - [oligonucleotide-dropout](https://hesela.dev/terms/oligonucleotide-dropout/) - [sequencing-coverage](https://hesela.dev/terms/sequencing-coverage/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [varshamov-tenengolts-code](https://hesela.dev/terms/varshamov-tenengolts-code/) - [dna-physical-redundancy](https://hesela.dev/terms/dna-physical-redundancy/) Citations: - [organick2018] Organick et al. Random access in large-scale DNA data storage. Nature Biotechnology 36, 242-248 (2018). DOI: 10.1038/nbt.4079. https://doi.org/10.1038/nbt.4079 (accessed 2026-10-18) - [hesela-coverage] Hesela: DNA storage, uneven sampling and missing sequences. https://hesela.com/analyses/dna-storage-coverage-and-dropout/ (accessed 2026-10-18) - [organick-preprint] Organick et al. Scaling up DNA data storage and random access retrieval. bioRxiv 114553 (2017). DOI 10.1101/114553. https://doi.org/10.1101/114553 (accessed 2026-10-22) - [erlich-fountain] Erlich and Zielinski. DNA Fountain enables a robust and efficient storage architecture. bioRxiv 074237, version of 4 December 2016. https://doi.org/10.1101/074237 (accessed 2026-10-22) - [dna-glass] TeamErlich/dna-fountain: glass.pyx, commit 8ee2777aa5e9e101e5d756f7e2449f6672b66f1f; add_dna and updateEntry. https://github.com/TeamErlich/dna-fountain/blob/8ee2777aa5e9e101e5d756f7e2449f6672b66f1f/glass.pyx (accessed 2026-10-24) - [gimpel2023] Gimpel et al. A digital twin for DNA data storage based on comprehensive quantification of errors and biases. Nature Communications 14, 6026 (2023). https://pmc.ncbi.nlm.nih.gov/articles/PMC10533828/ (accessed 2026-11-07) - [erlich2017] Erlich and Zielinski. DNA Fountain enables a robust and efficient storage architecture. Science 355, 950-954 (2017). DOI: 10.1126/science.aaj2038. https://doi.org/10.1126/science.aaj2038 (accessed 2026-11-07) ### Physical redundancy (DNA storage) URL: https://hesela.dev/terms/dna-physical-redundancy/ Related analysis: https://hesela.com/analyses/dna-storage-coverage-and-dropout/ Also known as: DNA physical coverage, Molecular copy redundancy Status: research Record updated: 2026-11-07 Physical redundancy in DNA storage is the mean number of molecular copies per intended sequence identity at a specified processing or storage stage. Note: The mean does not specify the copy-number distribution or establish that every identity remains present. Dilution and amplification can change both abundance and dropout. Sequencing coverage instead counts reads, while logical redundancy is introduced by the code. [gimpel2023] State whether copies were measured or modeled, the stage and sample volume, and the intended identity count, including missing identities. These choices are needed to compare physical coverage rather than a survivor-only average. [gimpel2026] Sources and caveats: - Source synthesis from the 2023 workflow study and the 2026 benchmark's dilution and qPCR methods. No new molecular experiment or replication is claimed. Related terms: - [dna-data-storage](https://hesela.dev/terms/dna-data-storage/) - [sequencing-coverage](https://hesela.dev/terms/sequencing-coverage/) - [oligonucleotide-dropout](https://hesela.dev/terms/oligonucleotide-dropout/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) Citations: - [gimpel2023] Gimpel et al. A digital twin for DNA data storage based on comprehensive quantification of errors and biases. Nature Communications 14, 6026 (2023). https://pmc.ncbi.nlm.nih.gov/articles/PMC10533828/ (accessed 2026-11-07) - [gimpel2026] Gimpel et al. Comparison of state-of-the-art error-correction coding for sequence-based DNA data storage. Nature Communications 17, 3963 (2026). https://pmc.ncbi.nlm.nih.gov/articles/PMC13133123/ (accessed 2026-11-07) ### Dotted version vector URL: https://hesela.dev/terms/dotted-version-vector/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Also known as: DVV, Dotted version vectors Status: unknown Record updated: 2026-11-11 A dotted version vector separates an update's unique actor-counter identifier from the version vector summarizing its causal past. Note: The separate identifier is the dot. It can lie beyond the contiguous prefix without including the intervening events. [dvv2010] The 2012 manuscript's constant-time comparison assumes valid causal histories: including an event also includes its past. It is not validation of arbitrary imported metadata. [dvv2012] Riak KV 2.0.4 associates each value with its generating update to avoid false sibling duplication. Clients return the opaque context when updating; real conflicts still need resolution. [riak-dvv] DVVSet is a multi-value representation. The authors' DVVSetAck variant preserves gaps when acknowledging a write, avoiding a context that silently covers unread siblings. This variant is not a universal Riak API promise. [dvvset] Sources and caveats: - Reviewed against the 2010 preprint, separately identified 2012 author manuscript, versioned Riak documentation and commit-pinned author notes. No Riak execution or benchmark replication. Related terms: - [version-vector](https://hesela.dev/terms/version-vector/) - [causal-consistency](https://hesela.dev/terms/causal-consistency/) - [read-repair](https://hesela.dev/terms/read-repair/) Citations: - [dvv2010] Preguica et al. Dotted Version Vectors: Logical Clocks for Optimistic Replication (2010), sections 3-5. https://arxiv.org/abs/1011.5808 (accessed 2026-11-11) - [dvv2012] Preguica et al. Dotted Version Vectors: Efficient Causality Tracking for Distributed Key-Value Stores. Author-hosted manuscript (2012), sections IV-A/B and V. https://gsd.di.uminho.pt/members/vff/dotted-version-vectors-2012.pdf (accessed 2026-11-11) - [riak-dvv] Riak KV 2.0.4: Causal Context, DVVs Versus Vector Clocks and Usage. https://docs.riak.com/riak/kv/2.0.4/learn/concepts/causal-context/ (accessed 2026-11-11) - [dvvset] Ricardo Goncalves: Dotted Version Vector Sets, pinned author notes, including acknowledgement variants. https://github.com/ricardobcl/Dotted-Version-Vectors/blob/27fd1225c10a7dc4890e5e55abddf6db2392f6cc/README.md (accessed 2026-11-11) - [hesela-dotted] Hesela: same server, concurrent versions. https://hesela.com/analyses/replica-repair-coverage/#dotted-history (accessed 2026-11-11) ### Doublewrite buffer URL: https://hesela.dev/terms/doublewrite-buffer/ Related analysis: https://hesela.com/analyses/wal-checkpoints-torn-pages/ Also known as: InnoDB doublewrite, innodb_doublewrite Status: shipping Record updated: 2026-10-16 An InnoDB doublewrite buffer stages data-page copies before their final file writes so crash recovery can repair an incomplete page write. Note: MySQL 8.4 ON and DETECT_AND_RECOVER preserve page content, while DETECT_ONLY preserves metadata without repair bytes. Changes among these enabled modes can be dynamic, but switching between an enabled mode and OFF cannot. [mysql-parameters] In mysql-8.4.0, reduced entries contain tablespace ID, page number and LSN. Recovery can fail on a corrupt page when no full copy has repaired it. A recorded page identity is not a recovery image. [mysql-dblwr-code] Redo logging remains separate: it records changes for replay, whereas the staged page supplies reconstruction material. A successfully repaired page does not decide whether its transaction committed. [mysql-redo] [mysql-recovery] Advantages: - Sequential batching shares synchronization work across pages instead of requiring a separate flush per staged page. (sources: [mysql-doublewrite]) Limitations: - Additional page writes consume bandwidth; the mechanism is not an independent backup or protection against every corruption source. (sources: [mysql-doublewrite]) Sources and caveats: - Behavior is scoped to the MySQL 8.4 manual and mysql-8.4.0 implementation, not all engines or future releases. - The description is a documentation and code review, not a power-loss experiment or throughput benchmark. Related terms: - [torn-write](https://hesela.dev/terms/torn-write/) - [full-page-write](https://hesela.dev/terms/full-page-write/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [crash-corruption-ambiguity](https://hesela.dev/terms/crash-corruption-ambiguity/) Citations: - [mysql-doublewrite] MySQL 8.4: Doublewrite Buffer, page-copy recovery and batched writes. https://dev.mysql.com/doc/refman/8.4/en/innodb-doublewrite-buffer.html (accessed 2026-10-16) - [mysql-redo] MySQL 8.4: Redo Log, recovery records and checkpoint progress. https://dev.mysql.com/doc/refman/8.4/en/innodb-redo-log.html (accessed 2026-10-16) - [mysql-dblwr-code] MySQL mysql-8.4.0: buf0dblwr.cc, reduced_recover and page recovery. https://github.com/mysql/mysql-server/blob/mysql-8.4.0/storage/innobase/buf/buf0dblwr.cc (accessed 2026-10-16) - [mysql-parameters] MySQL 8.4: InnoDB variables, innodb_checksum_algorithm and innodb_doublewrite. https://dev.mysql.com/doc/refman/8.4/en/innodb-parameters.html (accessed 2026-10-16) - [mysql-recovery] MySQL 8.4: InnoDB Recovery, redo application and background transaction rollback. https://dev.mysql.com/doc/refman/8.4/en/innodb-recovery.html (accessed 2026-10-16) - [hesela-wal] Hesela: WAL, checkpoints and torn pages, InnoDB doublewrite. https://hesela.com/analyses/wal-checkpoints-torn-pages/#innodb-doublewrite (accessed 2026-10-16) ### Doubly distorted mirrors URL: https://hesela.dev/terms/doubly-distorted-mirrors/ Also known as: DDM Status: research Record updated: 2026-12-04 Doubly distorted mirrors are a research HDD layout that writes updates to flexible locations on both disks before restoring one fixed-location copy. Note: Placement: an update reaches temporary locations on both disks, then its fixed location on one disk. That disk's temporary copy can then be freed. The ordinary path performs three data writes, not three permanent replicas. [ddm93] Recovery: volatile cache contents alone do not protect an update. Controller recovery rebuilds the distortion map from checkpoints and a journal; a surviving disk needs that mapping rather than a blind physical copy. [ddm93] Cost: writes may share positioning work with reads, but still transfer data. Benefits depend on spare space, request sizes and cache behavior. The 1993 evaluation used simulation, not modern-drive measurements. [ddm93] Comparison: EW-Array separately evaluates foreground completion after one versus two replicas. Placement policy alone does not define durability. [ewarray] Worked example: a one-block copy ledger distinguishes RAM-only, one-disk and two-disk states, including an unsafe early retirement. [ledger] Sources and caveats: - Full 1993 paper reviewed. Historical design, not a current RAID implementation. - The copy ledger assumes completed, readable data and known locations; it does not implement journal recovery, torn writes or timing. Related terms: - [eager-writing](https://hesela.dev/terms/eager-writing/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [freeblock-scheduling](https://hesela.dev/terms/freeblock-scheduling/) - [raid-1](https://hesela.dev/terms/raid-1/) - [alternating-mirroring](https://hesela.dev/terms/alternating-mirroring/) Citations: - [ddm93] Orji and Solworth. Doubly Distorted Mirrors. SIGMOD 1993, pp. 307-316, sections 2-5. https://sigmodrecord.org/publications/sigmodRecord/9306/pdfs/170036.170082.pdf (accessed 2026-12-02) - [ewarray] Zhang et al. Configuring and Scheduling an Eager-Writing Disk Array for a Transaction Processing Workload. FAST 2002, sections 2, 5, 6. https://www.usenix.org/legacy/publications/library/proceedings/fast02/full_papers/zhang/zhang.pdf (accessed 2026-12-02) - [ledger] Hesela: one-block copy ledger, assumptions, executable example and tests. https://hesela.dev/research/doubly-distorted-mirrors/README.md (accessed 2026-12-02) ### dRAID (OpenZFS) URL: https://hesela.dev/terms/draid/ Also known as: OpenZFS dRAID, distributed RAID Status: shipping Record updated: 2026-11-09 OpenZFS dRAID is a RAID-Z variant with fixed-width redundancy groups distributed across child devices and integrated distributed-spare capacity. Note: OpenZFS 2.3 spreads reconstruction work across children instead of funneling writes into one spare disk. Its fixed-width layout permits sequential resilvering but pads small blocks; eight data columns with 4 KiB sectors have a 32 KiB minimum allocation. Configured distributed spares serve only their own dRAID vdev. [zconcepts23] Sequential reconstruction restores redundancy without verifying checksums and is followed by a scrub. That is a separate verification stage, not a promise of file-level access beyond parity tolerance. D-GRAID is a different research design. [zreplace23] [dgraid04] Limitations: - Fixed-width padding can reduce usable capacity and effective compression for small blocks. (sources: [zconcepts23]) - Distributed spare capacity is a recovery resource, not extra parity. (sources: [zconcepts23]) Related terms: - [raidz](https://hesela.dev/terms/raidz/) - [parity-declustering](https://hesela.dev/terms/parity-declustering/) - [distributed-spare](https://hesela.dev/terms/distributed-spare/) - [resilver](https://hesela.dev/terms/resilver/) - [d-graid](https://hesela.dev/terms/d-graid/) Citations: - [zconcepts23] OpenZFS 2.3 zpoolconcepts(7): dRAID virtual devices and hot spares. https://openzfs.github.io/openzfs-docs/man/v2.3/7/zpoolconcepts.7.html (accessed 2026-11-09) - [zreplace23] OpenZFS 2.3 zpool-replace(8): sequential reconstruction and subsequent scrub. https://openzfs.github.io/openzfs-docs/man/v2.3/8/zpool-replace.8.html (accessed 2026-11-09) - [dgraid04] Sivathanu, Prabhakaran, A. C. Arpaci-Dusseau and R. H. Arpaci-Dusseau. Improving Storage System Availability with D-GRAID. FAST 2004, sections 3, 5-7 and 9. https://www.usenix.org/legacy/events/fast04/tech/sivathanu/sivathanu.pdf (accessed 2026-11-09) - [hesela-rebuild] Hesela: partial file availability, dRAID and recovery milestones. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#dgraid-availability (accessed 2026-11-09) ### SSD DRAM cache URL: https://hesela.dev/terms/dram-cache-ssd/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Status: shipping Record updated: 2026-11-12 SSD DRAM is volatile working memory that can hold address mappings, controller metadata or buffered user data, depending on the design. Note: DRAM is not itself power-loss protection. Persistence depends on the controller's recovery design and any protection for in-flight data, not simply on the presence of a DRAM chip. [agrawal-copy] Onboard DRAM, host memory buffer (HMB) and an SLC-mode NAND cache describe different locations and roles. HMB supplies assigned host memory, while an SLC cache stores writes in NAND operated in one-bit mode. A drive can combine onboard DRAM with SLC-mode buffering. [kioxia-hmb] [micron-1100] [kioxia-pslc] A mapping-cache hit resolves an address; it does not necessarily return the requested user data. Recovering persistent flash also requires identifying current mappings and versions. Neither DRAM capacity nor its presence alone establishes write durability. [agrawal-copy] Related terms: - [ssd](https://hesela.dev/terms/ssd/) - [ftl](https://hesela.dev/terms/ftl/) - [hmb](https://hesela.dev/terms/hmb/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [translation-page](https://hesela.dev/terms/translation-page/) - [global-translation-directory](https://hesela.dev/terms/global-translation-directory/) - [slc-cache](https://hesela.dev/terms/slc-cache/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) Citations: - [agrawal] Agrawal et al. Design Tradeoffs for SSD Performance. USENIX ATC 2008, sections 3.1, 3.4 and 4. https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal.pdf (accessed 2026-10-12) - [micron] Micron: How Micron SSDs Handle Unexpected Power Loss, p. 3. Historical M500-era examples. https://assets.micron.com/adobe/assets/urn%3Aaaid%3Aaem%3A1f5ebe25-dc19-4e6f-89d2-31a2c6b69548/original/as/ssd-power-loss-protection-white-paper-lo.pdf (accessed 2026-10-12) - [hesela] SSD mapping caches: why DRAM size is not a speed rating. https://hesela.com/analyses/ssd-mapping-cache-hmb/ (accessed 2026-10-12) - [agrawal-copy] Agrawal et al. Design Tradeoffs for SSD Performance (2008), sections 3.1 and 3.4; Microsoft Research author copy. https://www.microsoft.com/en-us/research/wp-content/uploads/2008/06/USENIX-08-SSD.pdf (accessed 2026-11-12) - [kioxia-hmb] KIOXIA: HMB technology for DRAM-less SSDs (28 August 2018), host DRAM versus onboard DRAM. https://www.kioxia.com/en-jp/rd/technology/topics/topics-14.html (accessed 2026-11-12) - [micron-1100] Micron 1100 SSD datasheet, Rev. D (October 2017), pp. 3 and 9: DRAM and dynamic SLC buffering; Arrow-hosted copy. https://static6.arrow.com/aropdfconversion/31925ca551ad829a53f246ede17d56c122d6eab1/11002.5-inchandm.2nandflashssd.pdf (accessed 2026-11-12) - [kioxia-pslc] KIOXIA: Automotive NAND Data Retention (December 2020), p. 5: one-bit pseudo-SLC mode. https://apac.kioxia.com/content/dam/kioxia/shared/business/memory/automotive/asset/KIOXIA_Automotive_NAND_Data_Retention_White_Paper.pdf (accessed 2026-11-12) ### DRBoost URL: https://hesela.dev/terms/drboost/ Status: research Record updated: 2026-11-29 DRBoost is a research design that combines partial-chunk reconstruction with separate coding and storage layouts to accelerate degraded reads in MSR-coded storage. Note: Sub-stripe reuse reconstructs several missing sub-chunks from shared helper data; request reuse also uses healthy bytes already requested by the reader. The algorithm prioritizes sub-stripe reuse, not a globally optimal search. [drboost-paper] Coding layout promotes reuse; storage layout keeps an object's portion contiguous within each chunk. Normal reads bypass coding-address translation. This does not eliminate every fragmented helper read. [drboost-paper] The prototype keeps reconstruction logic outside Ceph's EC module and modifies Ceph for data access. It is not a stock Ceph feature. [drboost-paper] The main evaluation uses 40 cloud instances, (20,16) Clay codes and 16 KB sub-chunks. Each workload loads 500 GB and runs for two minutes with one OSD marked down. Three workloads approximate published size distributions, not original request-trace replays. [drboost-paper] Limitations: - Sub-chunk granularity still amplifies smaller-object reads; codes without coupled layers need algorithm changes. [drboost-paper] Sources and caveats: - Primary-source review; no independent cluster benchmark or fault-injection experiment was performed. - Section 6.1 footnote 3 identifies IBM and Facebook workloads as approximations of plotted distributions. Related terms: - [minimum-storage-regenerating-code](https://hesela.dev/terms/minimum-storage-regenerating-code/) - [clay-code](https://hesela.dev/terms/clay-code/) - [subpacketization](https://hesela.dev/terms/subpacketization/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) Citations: - [drboost-paper] Niu, Zhang, Li and Cai. DRBoost: Boosting Degraded Read Performance in MSR-Coded Storage Clusters. FAST 2026, pp. 613-629; sections 4-7. https://www.usenix.org/system/files/fast26-niu.pdf (accessed 2026-11-29) - [drboost-publication] USENIX FAST 2026: DRBoost publication record and author metadata. https://www.usenix.org/conference/fast26/presentation/niu (accessed 2026-11-29) ### Drive-day URL: https://hesela.dev/terms/drive-day/ Status: shipping Record updated: 2026-10-17 A drive-day is one drive observed in operation for one day, used as a unit of fleet exposure. Note: Exposure is additive: 100 drives observed for 10 days contribute 1,000 drive-days. Count only the time covered by the selected observation rule; a fleet's end-of-period headcount is not its exposure. Daily-presence records and SMART power-on hours measure different things and must not be silently substituted. Repeated daily observations of one device contribute exposure but are not additional independent binary trials. A device lost before a planned endpoint cannot be counted as surviving that endpoint. [nist-censoring] Related terms: - [afr](https://hesela.dev/terms/afr/) - [smart](https://hesela.dev/terms/smart/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [left-truncation](https://hesela.dev/terms/left-truncation/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [annual-replacement-rate](https://hesela.dev/terms/annual-replacement-rate/) - [poisson-rate-model](https://hesela.dev/terms/poisson-rate-model/) - [binomial-proportion](https://hesela.dev/terms/binomial-proportion/) Citations: - [bb-exposure] Backblaze: 10 Stories From 10 Years of Drive Stats Data, sections 3-4. https://www.backblaze.com/blog/10-stories-from-10-years-of-drive-stats-data/ (accessed 2026-10-10) - [hesela-methods] Hesela: AFR is a rate, not a one-year failure probability. https://hesela.com/analyses/afr-rate-not-probability/ (accessed 2026-10-10) - [hesela-age-audit] Hesela: Missing SMART ages and the limits of drive-age comparisons. https://hesela.com/analyses/backblaze-age-missing-data-audit/ (accessed 2026-10-11) - [nist-censoring] NIST e-Handbook: Censoring. https://www.itl.nist.gov/div898/handbook/apr/section1/apr131.htm (accessed 2026-10-17) ### Drive firmware revision URL: https://hesela.dev/terms/drive-firmware-revision/ Related analysis: https://hesela.com/analyses/ssd-power-on-hours-firmware-failures/ Also known as: drive firmware version Status: shipping Record updated: 2026-11-07 A drive firmware revision is a vendor-assigned version identifier reported for the firmware running on a storage drive. Note: Interpret the identifier with the exact model and OEM/platform, not as a globally comparable number. For the cited SAS 32K and 40K advisories, remediation packages are not interchangeable. [hpe-guide] Inventory should establish the running revision through a supported management or inquiry path. [ciscofn] A downloaded update package alone does not demonstrate remediation. A serial-number lookup can be a historical applicability list: the cited 28,224-hour issue lookup is not updated after software fixes. [ciscossd] For NVMe, Identify Controller reports the executing Firmware Revision; the Firmware Slot Information log describes stored images and activation selection. Keep those observations separate from a host-side package name. Firmware Commit does not automatically perform a required reset in nvme-cli v2.16. Re-read the running revision after the supported activation procedure. [nvme-base22-firmware-slots] [nvme-cli216-fw-commit] Repeated equal revision readings are sampled observations, not a continuous history. They cannot exclude an intervening change and return. This is Hesela's inference, not a reported incident in the cited snapshot-based study. [maneas-fast20-firmware] Sources and caveats: - The separate SAS 32K/40K packages are HPE-specific; the revision-collection paths and historical serial-number lookup are Cisco examples, not universal advisory policies. Related terms: - [power-on-hours](https://hesela.dev/terms/power-on-hours/) - [smart](https://hesela.dev/terms/smart/) - [ssd](https://hesela.dev/terms/ssd/) - [sas](https://hesela.dev/terms/sas/) - [nvme-firmware-slot](https://hesela.dev/terms/nvme-firmware-slot/) Citations: - [hpe-guide] HPE SAS SSD remediation guide: separate 32K/40K issues, affected-model matrices and firmware applicability. https://www.hpe.com/us/en/services/sas-ssd-advisory.html (accessed 2026-10-16) - [dell-d417] Dell D417 release notes, 13 February 2020: logging circular-buffer-index assertion fix. https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=8H6HJ (accessed 2026-10-16) - [ciscofn] Cisco FN70545, revision 2.0: 40,000-hour failure, C405 firmware and runtime collection. https://www.cisco.com/c/en/us/support/docs/field-notices/705/fn70545.html (accessed 2026-10-16) - [ciscossd] Cisco SSD issue FAQ: historical serial-number lookup and revision-based identification. https://sec.cloudapps.cisco.com/security/center/resources/ssd (accessed 2026-10-16) - [nvme-cli216-fw-commit] nvme-cli v2.16: Firmware Commit actions and reset handling. https://github.com/linux-nvme/nvme-cli/blob/v2.16/Documentation/nvme-fw-commit.1 (accessed 2026-11-07) - [nvme-base22-firmware-slots] NVM Express Base 2.2 (11 March 2025): section 1.5.42; sections 5.1.8, 5.1.9 and 5.1.12.1.4; Figures 184, 209 and 313. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.2-2025.03.11-Ratified-1.pdf (accessed 2026-11-07) - [maneas-fast20-firmware] Maneas et al., FAST 2020: A Study of SSD Reliability in Large Scale Enterprise Storage Deployments, sections 2.2 and 5.5 (pp. 138, 144-145). https://files.usenix.org/s3fs-public/cdn/fast20-maneas.pdf (accessed 2026-11-07) ### Dynamic Rotations Per Minute URL: https://hesela.dev/terms/drpm/ Also known as: DRPM, Dynamic RPM Status: research Record updated: 2026-11-29 Dynamic Rotations Per Minute is a research approach that changes HDD spindle speed during operation to trade energy use against I/O response time. Note: The ISCA 2003 study extends DiskSim with power models and synthetic, open-loop request streams. Its controller can serve I/O below maximum RPM; slower rotation increases rotational and transfer delays. Both linear and quadratic power models are evaluated. [isca03] The standby comparison in Table 2 uses 4.15 W, while section 4 gives 12.72 W for the actual reference drive. The modeled saving is not a hardware measurement. [isca03] Reduced-speed idle is a different capability. The cited SAS-drive manual defines Idle_C with heads unloaded, so that state is not evidence of platter reads or writes at reduced RPM. This comparison does not establish product lineage or DRPM commercialization. [seagate] Hesela's constructed example uses 10 W for 9.5 ms versus 7 W for 14 ms. Energy through request completion rises from 95 mJ to 98 mJ despite lower power. Over the same 14 ms horizon, adding 4 W of ready-idle power after the faster completion changes its total to 113 mJ. The ranking depends on the accounting question; these are hypothetical inputs, not measured drives. [example] Limitations: - Multi-speed operation also requires compatible head fly height, servo sampling and data-channel behavior; spindle-motor control alone is insufficient. The original paper leaves reliability under repeated speed changes unresolved. (sources: [isca03]) Related terms: - [rimac](https://hesela.dev/terms/rimac/) - [hibernator](https://hesela.dev/terms/hibernator/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [power-state-break-even-time](https://hesela.dev/terms/power-state-break-even-time/) - [maid](https://hesela.dev/terms/maid/) Citations: - [isca03] Gurumurthi, Sivasubramaniam, Kandemir and Franke. DRPM: Dynamic Speed Control for Power Management in Server Class Disks. ISCA 2003, pp. 169-179, sections 3-7. https://www.cse.psu.edu/~axs53/csl/papers/isca03.pdf (accessed 2026-11-29) - [seagate] Seagate Enterprise Capacity 3.5 HDD v5 SAS Product Manual, 100788389 Rev. F, November 2017, section 6.1. https://www.seagate.com/www-content/product-content/enterprise-hdd-fam/enterprise-capacity-3-5-hdd/enterprise-capacity-3-5-hdd/en-us/docs/100788389f.pdf (accessed 2026-11-29) - [example] Hesela: lower power, higher energy per completed request; exact constructed accounting example and tests. https://hesela.dev/research/drpm-accounting/README.md (accessed 2026-11-29) ### Drum memory URL: https://hesela.dev/terms/drum-memory/ Related article: https://hesela.com/tech/magnetic-drum-and-core-memory/ Also known as: magnetic drum memory, magnetic drum, drum store Status: eol Record updated: 2026-10-22 Drum memory stores data as magnetic patterns on a rotating cylinder, with access timed to the passage of a selected location under a head. Note: A fixed-head drum selects a track electronically, then waits for the requested location to reach its head; direct addressing does not eliminate rotational waiting. [c3] In the documented 1955 drum design, at 12,500 rpm, a revolution takes 4.8 ms; 2.4 ms is mean rotational waiting for uniformly distributed arrival phase, excluding transfer and processing. [c2] A drum can serve as working memory rather than only bulk storage. Its mechanism differs from ferrite-core memory, which selects stored magnetic states electrically without a rotating medium. [c3] A 1961 small-computer drum of 290 mm diameter turned at 2,500 rpm with 12 ms average access and about 150,000 bits on 30 tracks, and a 1975 unit with heads floating about 1 µm above the surface had 1,024 tracks, 6,000 rpm, 5.3 ms average access, 15 MB and 12 Mbit/s. [ipsj1961] [ipsj1975] Half a revolution is 12 ms at 2,500 rpm and 5 ms at 6,000 rpm. A 1955 survey lists a 4,000-word drum at 8,500 µs average access, against an average random tape search of 4 minutes. [brl1955] Limitations: - One head per track makes the head count grow with the track count, and the heads must stay very close to the surface. (sources: [brl1955], [ipsj1975]) Sources and caveats: - Timing is calculated from the 1955 brochure's rotation speed. [c2] - The 1955 survey is a questionnaire-based compilation read through an unproofread OCR transcription; only unambiguous entries are used. - The museum pages are secondary descriptions of individual products. - Arithmetic: half a revolution is 12 ms at 2,500 rpm and 5 ms at 6,000 rpm against 5.3 ms listed; 15 MB / 1,024 tracks is about 14.6 kB per track. Related terms: - [magnetic-core-memory](https://hesela.dev/terms/magnetic-core-memory/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [hdd](https://hesela.dev/terms/hdd/) - [ramac](https://hesela.dev/terms/ramac/) - [major-minor-loop](https://hesela.dev/terms/major-minor-loop/) Citations: - [c1] Drum memory. https://en.wikipedia.org/wiki/Drum_memory (accessed 2026-03-26) - [c2] IBM 650 Magnetic Drum Data Processing Machine (1955), PDF pp. 5-6. https://archive.computerhistory.org/resources/text/IBM/IBM.650.1955.102646125.pdf (accessed 2026-10-18) - [c3] IBM: World of Numbers (1958), PDF p. 18, Magnetic Drum and Magnetic Cores. https://archive.computerhistory.org/resources/access/text/2023/05/102707549-05-01-acc.pdf (accessed 2026-10-18) - [brl1955] Weik. A Survey of Domestic Electronic Digital Computing Systems. Ballistic Research Laboratories Report No. 971, December 1955. https://www.ed-thelen.org/comp-hist/BRL.html (accessed 2026-10-16) - [ipsj1975] IPSJ Computer Museum: Magnetic drum unit, 1975. https://museum.ipsj.or.jp/en/computer/device/magnetic_drum/0008.html (accessed 2026-10-16) - [ipsj1961] IPSJ Computer Museum: Magnetic drum units, 1961. https://museum.ipsj.or.jp/en/computer/device/magnetic_drum/0010.html (accessed 2026-10-16) ### Dual-actuator HDD URL: https://hesela.dev/terms/dual-actuator/ Technology reference: https://hesela.com/tech/dual-actuator/ Also known as: Mach.2, multi-actuator Status: shipping Record updated: 2026-10-23 A dual-actuator HDD is a hard drive with two independently positioning head assemblies that can service different data regions concurrently. Note: SAS implementations can expose two LUNs, assigning one logical unit to each actuator; SATA implementations can expose one device with actuator-specific LBA ranges. The cited SATA manual documents the Concurrent Positioning Ranges log at 47h [sata-manual]. Parallelism is not a guaranteed throughput multiplier, and the two regions remain in one physical-drive failure domain [n4]. Dual-stage actuation instead combines coarse and fine head positioning; both designs can coexist. Independent positioning does not mean mechanical isolation: Chen et al. numerically study vibration coupling, not application throughput or field reliability [dual-coupling-chen]. Advantages: - Concurrent access can increase aggregate throughput when requests reach both actuators. (sources: [n4]) Limitations: - Copies kept only on the two actuators do not protect against total failure of their shared HDD. (sources: [n4]) Sources and caveats: - The host mappings described here apply to Seagate Exos 2X models, not every dual-actuator drive [n4] [sata-manual]. - Seagate's 24 February 2021 presentation retrospectively dates MACH.2 volume shipments to 2019 while describing adoption as still being staged; it does not establish general retail availability or an invention date [seagate-analyst-2021]. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [helium-hdd](https://hesela.dev/terms/helium-hdd/) - [sas](https://hesela.dev/terms/sas/) - [sata](https://hesela.dev/terms/sata/) - [independent-access-range](https://hesela.dev/terms/independent-access-range/) - [concurrent-positioning-range](https://hesela.dev/terms/concurrent-positioning-range/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [dual-stage-actuator](https://hesela.dev/terms/dual-stage-actuator/) Citations: - [n4] Seagate MACH.2 FAQ, SC702.2-2306US: presentation and shared-drive redundancy. https://www.seagate.com/files/www-content/solutions/mach-2-multi-actuator-hard-drive/files/sc702.2-2101us-mach-2-faq.pdf (accessed 2026-10-16) - [sata-manual] Seagate Exos 2X18 SATA product manual, Rev. A, sections 1.0 and 2.2.1. https://www.seagate.com/content/dam/seagate/migrated-assets/www-content/manuals/exos-x-2x18/pdf/203859600a.pdf (accessed 2026-10-16) - [hesela-card] Hesela: dual-actuator HDD host presentation and Linux discovery. https://hesela.com/tech/dual-actuator/ (accessed 2026-10-16) - [dual-coupling-chen] Chen et al. (2021): Adaptive Feedforward Reference Design for Active Vibration Rejection in Multi-Actuator Hard Disk Drives; arXiv v1, sections I-IV. https://arxiv.org/abs/2110.05669v1 (accessed 2026-10-16) - [seagate-analyst-2021] Seagate Analyst Meeting, 24 February 2021, transcript p. 10: MACH.2 shipment history. https://s24.q4cdn.com/101481333/files/doc_downloads/2021/03/Seagate-Analyst-Day-Transcript.pdf (accessed 2026-10-23) ### Dual-bucket throttling URL: https://hesela.dev/terms/dual-bucket-throttling/ Related analysis: https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/ Also known as: Cheque-bucket throttling Status: shipping Record updated: 2026-11-20 Dual-bucket throttling protects steady storage traffic with a reserved token bucket alongside a shared main bucket. Note: In the NSDI 2026 design, all segments use the main bucket; only steady segments can use the cheque bucket. Classification uses recent segment traffic. Borrowing lasts one interval, and subsequent main-bucket credits replenish the reserve. [hu-2026] This is a particular burst-isolation design, not a generic name for any two rate limits. Its capacity estimate and classification require workload-specific validation. The linked analysis checks the printed model equations separately from reported deployment results. [hu-2026] [hesela-audit] Sources and caveats: - The paper describes an operator-specific production design. No implementation reproduction or independent latency measurement is claimed. Related terms: - [token-bucket](https://hesela.dev/terms/token-bucket/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) Citations: - [hu-2026] Hu et al. Come Hell or Still Water: Alleviating Tail Latency in Cloud Block Store. NSDI 2026, section 4.2 and Appendix A. https://www.usenix.org/system/files/nsdi26-hu-chaolei.pdf (accessed 2026-11-20) - [hesela-audit] Hesela: burst isolation and a reproducible audit of the printed queueing equations. https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#burst-isolation (accessed 2026-11-20) ### Dual-port drive URL: https://hesela.dev/terms/dual-port/ Status: shipping Record updated: 2026-10-22 A dual-port drive exposes two independent ports to the same media, as two SAS ports with separate addresses or NVMe controllers on separate ports, so a host keeps a second path. Note: In the SAS port model a port is one or more phys, each phy belongs to one port, and each port has its own SAS address. A narrow port has one phy and a wide port typically four, and a SAS disk might have two narrow ports, a dual-port capability parallel SCSI lacked. [c4] NVMe multi-path I/O means two or more independent paths between one host and a namespace and needs a subsystem with two or more controllers, while namespace sharing lets several hosts reach one namespace through different controllers. Identify Controller reports Multiple Ports in CMIC bit 0 and Multiple Controllers in bit 1, and the two PCIe ports may attach to the same or different Root Complexes. [c2] 2.5-inch 15 mm devices are listed with dual-port support in NVMe x4 and 12 Gb/s SAS variants up to 30.72 TB, while the 7 mm variants do not mention it. [c3] Advantages: - With ports on different Root Complexes, the two paths need not share one host-side component. (sources: [c2]) Limitations: - Coordination between hosts accessing a shared namespace lies outside the NVMe specification. (sources: [c2]) - Both ports reach the same media, so a dual-port drive covers path failure, not its own failure. (sources: [c2], [c4]) Sources and caveats: - The SAS description comes from an Oracle HBA installation guide, not the T10 standard; the T10 SAS Protocol Layer draft link returned an HTML page and was not read. - No source states failover time, performance gain or availability for dual-port drives. - That dual porting does not cover drive failure is an inference from the port models. Related terms: - [sas](https://hesela.dev/terms/sas/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [multipath-io](https://hesela.dev/terms/multipath-io/) - [alua](https://hesela.dev/terms/alua/) - [nvme-base-spec](https://hesela.dev/terms/nvme-base-spec/) - [u2](https://hesela.dev/terms/u2/) Citations: - [c1] Dual-port drive. https://en.wikipedia.org/wiki/Multipath_I/O (accessed 2026-03-26) - [c2] NVM Express Base Specification, Revision 2.4, 31 July 2026, section 2.4.1 and Identify Controller CMIC field. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.4-Ratified-2026.07.31.pdf (accessed 2026-10-16) - [c3] SNIA. SSD Form Factors resource guide, updated December 2024. https://www.snia.org/node/14267 (accessed 2026-10-16) - [c4] Oracle. Introduction to Serial Attached SCSI, appendix G of an HBA installation guide. https://docs.oracle.com/cd/E19269-01/820-1847-20/appendixg.html (accessed 2026-10-16) ### Dual-stage actuator (HDD) URL: https://hesela.dev/terms/dual-stage-actuator/ Related article: https://hesela.com/tech/dual-actuator/ Also known as: dual-stage servo, DSA Status: shipping Record updated: 2026-10-16 A dual-stage HDD actuator combines a coarse positioning stage with a fine positioning stage to control the read/write head. Note: A voice-coil motor provides long-range motion while a secondary microactuator corrects finer motion near the head. Toshiba's 2011 prototype uses piezoelectric suspension elements; Seagate's 2017 SkyHawk paper documents VCM and PZT stages in a product. Two servo stages do not imply two independently addressable LBA regions or two LUNs. A multi-actuator drive may use dual-stage positioning within each assembly. Limitations: - Servo bandwidth or positioning accuracy is not a direct measure of host IOPS, sequential transfer rate or field reliability. (sources: [dual-stage-toshiba]) Related terms: - [dual-actuator](https://hesela.dev/terms/dual-actuator/) - [hdd](https://hesela.dev/terms/hdd/) - [areal-density](https://hesela.dev/terms/areal-density/) Citations: - [dual-stage-toshiba] Sasaki and Hara, Toshiba Review 66(11), 2011: dual-stage actuator prototype, sections 2-3. https://toshiba.semicon-storage.com/content/dam/toshiba-ss-v3/master/en/storage/technology-center/ToshibaReview_vol66n11.pdf (accessed 2026-10-16) - [seagate-skyhawk] Seagate ImagePerfect technology paper TP694.1-1701US, January 2017, page 3: VCM/PZT dual-stage actuation. https://www.seagate.com/files/www-content/product-content/skyhawk/files/image-perfect-smart-safe-solution-cb4-tp694-1-1701us.pdf (accessed 2026-10-16) - [dual-coupling-chen] Chen, Prakash and Horowitz (2021), Adaptive Feedforward Reference Design for Active Vibration Rejection in Multi-Actuator Hard Disk Drives, arXiv:2110.05669v1, sections I-IV. https://arxiv.org/abs/2110.05669v1 (accessed 2026-10-16) ### DualFS URL: https://hesela.dev/terms/dualfs/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: DualFS filesystem Status: research Record updated: 2026-11-30 DualFS is a research filesystem that stores regular-file data separately from a log-structured metadata device. Note: The devices can be two partitions on one disk. Metadata is read from the log rather than copied onward to a separate home location. The metadata category includes directory and symbolic-link contents. [dualfs-2004] A cleaner relocates live metadata to reclaim segments. Recovery rolls forward from a checkpoint to rebuild the IFile mappings and allocation state; this protects filesystem structure, not every recent application write. [dualfs-2007] Limitations: - Historical Linux 2.4.19 benchmarks separate disk I/O time from application performance and do not rank current filesystems on SSDs. (sources: [dualfs-2004]) Sources and caveats: - Source review of the 2004 and 2007 papers; no DualFS kernel or crash experiment was run. Related terms: - [physical-journaling](https://hesela.dev/terms/physical-journaling/) - [journal-checkpoint](https://hesela.dev/terms/journal-checkpoint/) Citations: - [dualfs-2004] Piernas, Cortes and Garcia. Traditional File Systems versus DualFS. IEICE E87-D(7), 2004, pp.1703-1711, sections 2-4. https://webs.um.es/jmgarcia/miwiki/lib/exe/fetch.php?media=piernasieice04.pdf (accessed 2026-11-30) - [dualfs-2007] Piernas, Cortes and Garcia. The Design of New Journaling File Systems: The DualFS Case. IEEE TC 56(2), 2007, sections 6.3-6.4. https://webs.um.es/jmgarcia/miwiki/lib/exe/fetch.php?media=dual-final.pdf (accessed 2026-11-30) ### DULO URL: https://hesela.dev/terms/dulo/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: DUal LOcality, dual-locality caching Status: research Record updated: 2026-11-30 DULO is a buffer-cache replacement scheme that combines recent access history with disk-block sequentiality to shape the requests reaching a hard disk. Note: At comparable recency, DULO favors retaining scattered blocks and evicting longer block sequences, aiming to leave more sequential work for the disk. Sequences depend on disk placement and recent accesses, not merely neighboring application addresses. [dulo2005] Its simulation compares against CLOCK under the label LRU. The Linux 2.6.11 prototype is an adaptation within the inactive list, not an exact implementation of the standalone design. [dulo2005] Comparison requires the actual victim-selection rules and backend workload, not a policy label alone. CAR independently describes CLOCK as an LRU approximation. [car2004] Worked example: In the papers' eight-block cache illustration, both policies fetch 16 blocks across 20 demand references. Traditional replacement has 10 demand misses, while the dual-locality alternative has 7. Four scattered rereads are exchanged for one four-block fetch. At an assumed 9.5 ms per positioning event, modeled totals are 95.0 and 66.5 ms, not measured runtimes. [dulo2007] [accounting] Sequence formation: The 2007 design checks block distance and consecutive fetch timestamps in both recent access histories, with a 128-block sequence cap. Spatial proximity alone is insufficient. These are historical policy parameters, not a universal HDD layout rule. [dulo2007] Limitations: - Pure random input provides no sequential requests for the policy to preserve. (sources: [dulo2005]) Sources and caveats: - Historical HDD simulations and an adapted kernel prototype, not a modern SSD or current-Linux performance claim. [dulo2005] - The executable packet reconstructs the papers' introductory example only, not the complete DULO algorithm, private workload traces or a timing benchmark. [accounting] Related terms: - [clock-replacement](https://hesela.dev/terms/clock-replacement/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [diskseen](https://hesela.dev/terms/diskseen/) Citations: - [dulo2005] Jiang et al. DULO: An Effective Buffer Cache Management Scheme to Exploit Both Temporal and Spatial Locality. FAST 2005, sections 3, 4.1.1, 4.2.2. https://www.usenix.org/event/fast05/tech/full_papers/jiang/jiang.pdf (accessed 2026-11-08) - [car2004] Bansal and Modha. CAR: Clock with Adaptive Replacement. FAST 2004, sections I-II. https://www.usenix.org/legacy/events/fast04/tech/full_papers/bansal/bansal.pdf (accessed 2026-11-08) - [dulo2007] Ding, Jiang and Chen. A Buffer Cache Management Scheme Exploiting Both Temporal and Spatial Localities. ACM TOS 3(2), 2007, Table I and section 3.3. https://ranger.uta.edu/~sjiang/pubs/papers/ding07_DULO.pdf (accessed 2026-11-30) - [accounting] Hesela. DULO illustrative request accounting: executable example, denominators and limits. https://hesela.dev/research/dulo-accounting/README.md (accessed 2026-11-30) ### Duplicate request cache URL: https://hesela.dev/terms/duplicate-request-cache/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: Duplicate reply cache, DRC Status: shipping Record updated: 2026-10-19 A duplicate request cache retains request identities and completion information to recognize retries without repeating completed work. Note: NFSv3 servers can return a remembered completion status for a recognized duplicate. Cache loss or entry reuse can remove that protection, including after reconnecting over a reliable transport. [nfs3] NFSv4.1 uses session slots and sequence IDs. Omitting a full reply does not remove execution tracking: a retry can return NFS4ERR_RETRY_UNCACHED_REP. Persistent sessions have additional restart obligations. [nfs4] This is request history, not a file-data cache or a content-deduplication index. Duplicate detection alone does not establish that the file's bytes are durably stored. [nfs3] Related terms: - [retry-deduplication](https://hesela.dev/terms/retry-deduplication/) - [idempotency](https://hesela.dev/terms/idempotency/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nas](https://hesela.dev/terms/nas/) - [nfs-write-verifier](https://hesela.dev/terms/nfs-write-verifier/) Citations: - [nfs3] RFC 1813: NFSv3 duplicate request cache, section 4.5. https://www.rfc-editor.org/rfc/rfc1813.html#section-4.5 (accessed 2026-10-19) - [nfs4] RFC 8881: NFSv4.1 session replay, optional reply caching and persistence, section 2.10.6. https://www.rfc-editor.org/rfc/rfc8881.html#section-2.10.6 (accessed 2026-10-19) - [hesela] Storage timeouts: an expired timer is not a cancelled write. https://hesela.com/analyses/storage-timeouts-uncertain-completion/#nfs-retries (accessed 2026-10-19) ### Duplication-frequency histogram URL: https://hesela.dev/terms/duplication-frequency-histogram/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: DFH Status: research Record updated: 2026-11-22 A duplication-frequency histogram counts how many distinct chunk identities occur at each repetition count in a specified population. Note: Bin x_i counts distinct identities occurring exactly i times, not all occurrences in that bin. The total distinct count is sum(x_i); the total occurrence count is sum(i * x_i). Six positions A,A,B,B,C,C have x_2 = 3, three identities and six occurrences. Equal-sized chunks let the count ratio represent payload-byte reduction directly; unequal lengths require byte weights, even when count and byte ratios happen to agree. [harnik2016] A histogram built from sampled positions describes that sample, not unseen identities in the full population. With variable chunk sizes or compression, count weights alone do not determine the physical footprint. Sampling design, matching scope and storage overhead must be stated separately. [harnik2016] Constructed example: four copies of a 1 KiB chunk and one 4 KiB chunk give a 5/2 count ratio but an 8/5 payload-byte ratio. Swapping the two lengths leaves the count histogram unchanged but gives 17/5 in bytes. For each frequency i, retain the unique payload-byte sum B_i; logical payload is sum(i * B_i), while retained unique payload is sum(B_i). This excludes compression, metadata, replicas and allocation padding. Variable-length segmentation and its metadata trade-off are described separately in DDFS. [zhu2008] Sampling I/O: Harnik et al. read larger super-chunks while counting smaller chunks. The paper adjusts slackness for grouped-read variance, but unchanged expected histogram bins are not universal: grouping identical copies can change them. [harnik2016] [identifiability] Low-memory sampling has two populations: position sampling estimates the sample DFH; streaming top distinct hashes estimates within a hash domain before scaling to the full domain. [harnik2016] Limitations: - Unseen's plausible-fit range uses heuristic slackness tested on the authors' datasets, not an automatically calibrated 95% confidence interval for a new workload. [harnik2016] - In an exact constructed example, populations saving 1/3 and 1/2 yield the same uniform two-position histogram law without replacement: two singletons with probability 4/5, one pair with probability 1/5. Three-position samples distinguish the laws; this is not a reproduction of Unseen. [identifiability] Sources and caveats: - The six-position example is a constructed counting illustration, not measured storage data or a reproduction of the paper's estimator. - The byte-weighted counterexample is exact constructed payload accounting, checked against byte-equality controls; it is not a measurement or replication of DDFS. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [data-reduction-ratio](https://hesela.dev/terms/data-reduction-ratio/) - [sampling-design](https://hesela.dev/terms/sampling-design/) - [content-based-sampling](https://hesela.dev/terms/content-based-sampling/) Citations: - [harnik2016] Harnik, Khaitzin and Sotnikov. Estimating Unseen Deduplication. FAST 2016, sections 2.1-3.4. https://files.usenix.org/s3fs-public/cdn/fast16-papers-harnik.pdf (accessed 2026-11-22) - [zhu2008] Zhu, Li and Patterson. Avoiding the Disk Bottleneck in the Data Domain Deduplication File System. FAST 2008, sections 2.1, 2.2 and 3.1. https://www.usenix.org/legacy/events/fast08/tech/full_papers/zhu/zhu_html/ (accessed 2026-10-23) - [identifiability] Hesela: identical sample histogram laws, different deduplication savings; exact derivation and executable controls. https://hesela.dev/research/dedup-estimation/IDENTIFIABILITY.md (accessed 2026-11-22) ### Durable linearizability URL: https://hesela.dev/terms/durable-linearizability/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Status: research Record updated: 2026-11-28 Durable linearizability requires a concurrent object's operation history to remain linearizable across system-wide crashes without losing completed operations. Note: The full-system model gives each era new abstract threads. A pending call may take effect before failure, be completed by later threads or have no effect, subject to a legal history. The condition does not require every interrupted call to resolve by the crash; strict linearizability adds that abstract-effect deadline. [disc16] Buffered durable linearizability can lose effects of completed calls. Retained portions of pre-crash eras must be happens-before-consistent cuts that remain linearizable when combined with subsequent execution. Unlike unbuffered durable linearizability, it is not generally compositional. [disc16] Durability concerns abstract effects rather than every representation byte. A persistent set can recover links from durable membership information. In this proof framework, recovery must preserve the encoded abstract state even if recovery itself crashes. [path23] Advantages: - Recovery correctness and operation correctness can be verified separately using explicit durable and recovered representations. (sources: [path23]) Limitations: - This safety condition alone gives no bound on recovery time or operation completion. (sources: [disc16]) Sources and caveats: - DISC 2016 section 2, Definitions 1-4, supplies the full-system failure model and completed/pending-operation distinction; section 3.3 separates liveness conditions. - The Path to Durable Linearizability was read in sections 2 and 4.1 for the link-free-set representation and sound-recovery argument. - Source synthesis of a formal safety condition, not a hardware experiment or proof of a particular storage implementation. Related terms: - [linearizability](https://hesela.dev/terms/linearizability/) - [memory-persistency](https://hesela.dev/terms/memory-persistency/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [detectability](https://hesela.dev/terms/detectability/) - [strict-linearizability](https://hesela.dev/terms/strict-linearizability/) - [nesting-safe-recoverable-linearizability](https://hesela.dev/terms/nesting-safe-recoverable-linearizability/) Citations: - [disc16] Izraelevitz, Mendes and Scott. Linearizability of Persistent Memory Objects Under a Full-System-Crash Failure Model. DISC 2016, sections 1-2 and 3.3. https://www.cs.rochester.edu/u/scott/papers/2016_DISC_persistence.pdf (accessed 2026-10-30) - [path23] D'Osualdo, Raad and Vafeiadis. The Path to Durable Linearizability. POPL 2023, section 2 (pp. 8-9) and section 4.1. https://arxiv.org/abs/2211.07631 (accessed 2026-10-30) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/ (accessed 2026-10-30) ### DVD ECC block URL: https://hesela.dev/terms/dvd-ecc-block/ Also known as: DVD error-correction block Status: unknown Record updated: 2026-11-23 A DVD ECC block combines sixteen scrambled data frames with row and column Reed-Solomon parity before its rows are interleaved into recording frames. Note: In the cited DVD-ROM layout, sixteen frames carry 32,768 bytes of main data. Including identification, control and detection fields, the input array is 192 x 172 = 33,024 bytes. Adding sixteen outer-parity rows and ten inner-parity bytes per row gives 208 x 182 = 37,856 coded bytes before modulation. [ecma267] The DVD+RW standard describes the same geometry. One outer-parity row is interleaved after each twelve input rows to form sixteen recording frames, each 13 x 182 bytes. These coded dimensions are not application capacity. [ecma337] Eight ECC blocks contain 1,664 rows: that is the window behind PI Sum8, not eight filesystem blocks or a count of unreadable files. [ecma267] Advantages: - Naming the format unit makes error-counter windows and coded-versus-payload byte counts explicit. (sources: [ecma267]) Limitations: - Block geometry alone does not establish whether a drive recovered the data. (sources: [ecma337]) Sources and caveats: - Byte totals are arithmetic from the cited format dimensions, not measured storage capacity or a new experiment. - This record names the block used in the cited DVD-ROM and DVD+RW formats; it does not define every optical format or scanner counter. Related terms: - [dvd-pi-sum8](https://hesela.dev/terms/dvd-pi-sum8/) - [efmplus](https://hesela.dev/terms/efmplus/) Citations: - [ecma267] ECMA-267, third edition (April 2001), DVD-ROM, clauses 13.4.2 and 16-19: data frames, ECC blocks and recording frames. https://ecma-international.org/wp-content/uploads/ECMA-267_3rd_edition_april_2001.pdf (accessed 2026-10-29) - [ecma337] ECMA-337, second edition (December 2003), DVD+RW, clauses 13.1-13.4 and 29.2: format geometry and error criteria. https://www.ecma-international.org/wp-content/uploads/ECMA-337_2nd_edition_december_2003.pdf (accessed 2026-10-29) - [analysis] Hesela: optical error counters and the limits of DVD error masks. https://hesela.com/analyses/optical-disc-rot-error-rate-signals/#pi-stages-heading (accessed 2026-10-29) ### DVD PI Sum8 URL: https://hesela.dev/terms/dvd-pi-sum8/ Also known as: PI Sum 8 Status: unknown Record updated: 2026-10-29 DVD PI Sum8 counts parity-inner rows containing errors over eight consecutive ECC blocks before correction. Note: A DVD ECC block arranges 16 data frames, each with 2,048 bytes of main data, into 192 rows of 172 bytes. Outer-code parity adds 16 rows, and inner-code parity adds 10 bytes to each of the resulting 208 rows, giving 208 rows of 182 bytes. A row with at least one byte in error counts as one PI error, and in any 8 consecutive ECC blocks the total before correction shall not exceed 280. [ecma267] Eight blocks hold 1,664 rows, so the limit allows about 17% of rows to contain an error before correction. Accelerated-aging studies of recordable DVDs use the same threshold of 280. [nist2004] The denominator is a window of eight ECC blocks, not seconds, and the count is neither uncorrectable files nor CD BLER, so an unspecified PI count cannot be compared reliably. PI Sum8 is not a count of correctable-only rows. ECMA-337's DVD+RW initial-quality procedure calls a row with more than five erroneous bytes PI-uncorrectable. It requires PI Sum8 at most 280 and separately recommends at most four PI-uncorrectable rows per ECC block; the latter uses should, not shall. Keep that format and procedure scope explicit. [ecma337] Hesela's constructed eight-block masks both have 480 erroneous bytes and PI Sum8 160, but have zero versus five rows above five erroneous bytes in each block. No decoder was run: the result does not determine parity-outer failure or file loss. NIST could not identify a clear PIE value for POE onset in its small sample. [pi-stages] [nist2004] The historical manual for Opti Drive Control 1.10 describes PIE as rows with one to five errors and PIF intervals of one or eight ECC blocks, depending on the drive. Those labels are not automatically the standard's all-erroneous-row count. Actual current firmware behavior was not verified here. [optidrive110] Advantages: - Counting erroneous rows before correction shows degradation while the inner and outer codes still recover the data. (sources: [nist2004]) Limitations: - PI Sum8 does not identify PI-uncorrectable rows or parity-outer failures; these require distinct observations. (sources: [ecma337], [nist2004]) - The software manual reports that read speed influences scan results; retain the drive, software version, counter definition and aggregation window. (sources: [optidrive110]) Sources and caveats: - ecma267 is the DVD read-only disk standard, read in clause 13.4.2 for the PI error limit and in clause 18 for the ECC block layout. - nist2004 is the 2004 NIST journal study of recordable discs, re-read for the PI Sum8 and POE definitions and the threshold used in aging tests. - The share of about 17% is arithmetic: 280 divided by 8 times 208 rows is 0.168. - The optical-disc-lifetime-estimate entry links here because a DVD lifetime estimate needs a defined error threshold, and aging studies use the PI Sum8 limit of 280. - ECMA-337 clauses 13.3 and 29.2 were reviewed on 2026-10-29; the row criterion is scoped to DVD+RW, not imposed on every DVD format. - pi-stages is original deterministic error-map accounting, not a disc measurement, decoder experiment, full conformance result or field rate. - The 2009 software-author manual supports scan-speed dependence and documents label/window differences; NIST is not used as evidence for that read-speed claim. Related terms: - [optical-archival](https://hesela.dev/terms/optical-archival/) - [optical-bler](https://hesela.dev/terms/optical-bler/) - [dvd-ecc-block](https://hesela.dev/terms/dvd-ecc-block/) Citations: - [nist2004] Slattery et al. Stability Comparison of Recordable Optical Discs: A Study of Error Rates in Harsh Conditions. J. Res. NIST 109(5), 517-524 (2004). https://nvlpubs.nist.gov/nistpubs/jres/109/5/j95sla.pdf (accessed 2026-10-23) - [analysis] Hesela: optical-disc lifetime estimates, error thresholds and uncertainty. https://hesela.com/analyses/optical-disc-lifetime-estimates/ (accessed 2026-10-15) - [ecma267] Ecma International. ECMA-267, 120 mm DVD - Read-Only Disk, 3rd edition, April 2001, clauses 13.4.2 and 18. https://ecma-international.org/wp-content/uploads/ECMA-267_3rd_edition_april_2001.pdf (accessed 2026-10-23) - [ecma337] ECMA-337, second edition (December 2003), DVD+RW, clauses 13.3 and 29.2. https://www.ecma-international.org/wp-content/uploads/ECMA-337_2nd_edition_december_2003.pdf (accessed 2026-10-29) - [pi-stages] Hesela: constructed DVD error maps, counter definitions and reproducible calculation. https://hesela.com/analyses/optical-disc-rot-error-rate-signals/#pi-stages-heading (accessed 2026-10-29) - [optidrive110] Erik Deppe, Opti Drive Control manual version 1.10 (27 May 2009), section 9, printed page 21: disc-quality counters and scan speed. https://www.cdspeed2000.com/files/OptiDriveControl_110.pdf (accessed 2026-10-29) ### DWPD URL: https://hesela.dev/terms/dwpd/ Also known as: Drive writes per day Status: shipping Record updated: 2026-11-16 DWPD is an SSD endurance rating that normalizes cumulative host writes by host-addressable drive capacity and the number of days in a specified period. Note: DWPD = TBW / (user capacity x days), with TBW and capacity in matching decimal units. Specify the period and rating workload. [kingston-endurance] Host full-drive writes are not NAND P/E cycles; the conversion table retains a legacy CSV column name. [hesela-conversion] Changing the period changes DWPD without changing TBW. A synthetic 547.5 TB written to a 1 TB drive is 0.3 DWPD over 1,825 days or 0.5 over 1,095 days. These 365-day-year conversions are not endurance measurements or warranty offers. [hesela-rating] Synthetic same-period ratings of 1 TB at 1 DWPD and 4 TB at 0.25 DWPD each represent 1 TB/day. Their capacity-weighted ratio is (1 + 1) / (1 + 4) = 0.4 DWPD, not the unweighted mean 0.625. This is not an array endurance rating: concentrated writes can exceed an individual device's budget. Parity, replication and placement are not modeled. [hesela-capacity] FAST 2016 found age-related RBER differences within P/E-cycle groups in ten older custom SLC, MLC and eMLC models, and discrepancies between accelerated and field RBER. These do not supply a failure probability for a current SSD from its DWPD. [schroeder-fast16] Use rated capacity, not free filesystem space. A capacity reconfiguration needs the applicable product rating, not just a new denominator. [kingston-endurance] Workload window: TTFLASH section 6.6 uses eight hours for its experimental day. [ttflash] Six drive capacities per eight hours imply 18 per 24 hours only if that rate continues all day; eight active hours followed by 16 idle hours still total six. Neither is an endurance rating. [hesela-window] Related terms: - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [tbw](https://hesela.dev/terms/tbw/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) - [jedec-solid-state](https://hesela.dev/terms/jedec-solid-state/) - [ttflash](https://hesela.dev/terms/ttflash/) Citations: - [c1] DWPD. https://en.wikipedia.org/wiki/Solid-state_drive (accessed 2026-03-26) - [kingston-endurance] Kingston. Understanding SSD endurance: TBW and DWPD. https://www.kingston.com/en/blog/servers-and-data-centers/understanding-ssd-endurance-tbw-dwpd (accessed 2026-11-04) - [hesela-conversion] Hesela. TBW and DWPD conversion table: host-write interpretation correction. https://hesela.dev/datasets/ssd-endurance-tbw-dwpd-calc/#correction (accessed 2026-10-16) - [hesela-rating] Hesela. SSD wear indicators: rated TBW, qualification and host-write normalization. https://hesela.com/analyses/ssd-wear-out-failure-signatures/#rated-tbw (accessed 2026-10-17) - [hesela-capacity] Hesela. Capacity-aware DWPD comparisons: synthetic arithmetic and per-device limits. https://hesela.dev/datasets/ssd-endurance-tbw-dwpd-calc/#capacity-comparison (accessed 2026-11-04) - [schroeder-fast16] Schroeder, Lagisetty and Merchant. Flash Reliability in Production: The Expected and the Unexpected. USENIX FAST 2016, sections 2, 4.2.2 and 4.3. https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-11-04) - [ttflash] Yan et al. Tiny-Tail Flash. FAST 2017, section 6.6 and Appendix A, Table 3h: eight-hour workload day. https://files.usenix.org/s3fs-public/cdn/fast17-yan.pdf (accessed 2026-11-16) - [hesela-window] Hesela: executable write-window normalization with explicit duty cycle (arithmetic, not measured endurance). https://hesela.dev/research/ttflash-window.mjs (accessed 2026-11-16) ### Dynamic layout score URL: https://hesela.dev/terms/dynamic-layout-score/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Status: research Record updated: 2026-11-25 Dynamic layout score is a workload-specific locality measure based on the fraction of requested blocks that are consecutive in logical block address space. Note: The requested blocks observed during a workload are traced and the contiguous fraction is reported, so metadata reads and accesses spanning files count alongside per-file placement. It extends an older static score, the fraction of a file's blocks placed contiguously. The result describes an observed access sequence, not an intrinsic property of a device. [conway17] In one SSD microbenchmark with read-ahead disabled, the score correlated at -0.67 with recursive search cost, and the authors still describe the relationship as imprecise because CPU time matters at SSD speeds. Those tests used a 4096 B filesystem block size. [conway17] A later fullness study measured intra-file and inter-file fragmentation through cold-cache read performance and free space through a histogram of free-extent sizes. It notes that traced reads could reveal allocated blocks but did not pursue that approach. [conway19] Count blocks, not only request boundaries. In a synthetic eight-block trace, ranges 0:4 and 10:4 give six consecutive pairs out of seven. Splitting 0:4 into 0:2 and 2:2 preserves that 6/7, but changes the boundary-only fraction from 0/1 to 1/2. This explicit illustration omits the first block and reports null below two blocks; it does not reconstruct the paper's tracing implementation. Keep the address unit, observation order, device and operation class fixed. [conway24] [hesela-trace] For separate windows, 0/1 and 8/8 pool to 8/9; their equal-window mean is 1/2. Known continuous joins give 9/10 or 8/10. An unknown transition is neither an adjacent nor a nonadjacent observation. Empty/singleton windows add no pairs; no pairs means null. These describe observed within-window pairs, not whole-workload locality. [hesela-trace] Advantages: - A single fraction can be compared across rounds of the same workload as the layout degrades. (sources: [conway17]) Limitations: - It does not distinguish small address gaps from large ones. - It is not throughput, a percentile latency or a NAND physical-placement measurement. - The same 8192 requested bytes give 0/1 at 4096 bytes per counted block and 14/15 at 512 bytes in the explicit illustration; counting resolution is not a layout change. Sources and caveats: - conway17 re-read 2026-10-23 for the score construction, the read-ahead correlation and the block size used. - conway19 read 2026-10-23 for its alternative fragmentation measurements. - 2026-11-25: corrected requested-block versus request-boundary wording using the 2024 section 3 definition; added explicitly synthetic range-accounting examples, not hardware measurements or a reproduction of the original trace tool. - 2026-11-25: added exact observed-window pooling and continuous-boundary counterexamples; independent arithmetic/source review; retained distinct pair-weighted and equal-window interpretations. - 2026-11-25: exact aligned-unit counterexample and streaming pool optimization; counting units reviewed against Linux v6.12 stat/queue documentation. No hardware or paper-tool replication. Related terms: - [filesystem-aging](https://hesela.dev/terms/filesystem-aging/) - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [ext4-bigalloc](https://hesela.dev/terms/ext4-bigalloc/) Citations: - [conway17] Conway et al. File Systems Fated for Senescence? Nonsense, Says Science! FAST 2017, pp. 45-58, sections 3.3, 4 and 6. https://www.usenix.org/system/files/conference/fast17/fast17-conway.pdf (accessed 2026-10-23) - [conway19] Conway et al. Filesystem Aging: It's more Usage than Fullness. HotStorage 2019, sections 3-4. https://files.usenix.org/s3fs-public/cdn/hotstorage19-paper-conway.pdf (accessed 2026-10-23) - [conway24] Conway et al. File System Aging. arXiv:2401.08858v1 (2024), section 3: requested blocks and dynamic layout score. https://arxiv.org/pdf/2401.08858v1 (accessed 2026-11-25) - [hesela-trace] Hesela: exact block-adjacency illustration, conventions and replay instructions. https://hesela.dev/research/layout-score-trace/README.txt (accessed 2026-11-25) ### Dynamic Merkle Tree URL: https://hesela.dev/terms/dynamic-merkle-tree/ Also known as: DMT Status: research Record updated: 2026-10-22 A Dynamic Merkle Tree is a research hash-tree design that adapts its shape to storage access patterns to reduce authentication-path costs. Note: Burke and colleagues use modified splay operations to move frequently accessed regions closer to the root while preserving hash-tree invariants. Their FAST 2025 evaluation uses a block-device-in-user-space prototype on cloud virtual machines with locally attached NVMe storage, synthetic Zipfian workloads and application traces. [dmt2025] The motivating measurement is that a balanced tree grows taller as capacity grows. In their setup a balanced binary tree lost about 60% of throughput relative to encryption without integrity at 16 MB and about 75% at 4 TB, and 4-ary and 8-ary trees lost about 70% at 4 TB. The adaptive tree reached more than 85% of the optimal throughput, improved throughput and latency by up to 2.2 times and cost about 6% relative to binary trees under uniform access. [dmt2025] Linux dm-verity is a contrasting design. Its target is read-only, hashes are verified on demand up to the root hash and each hash block packs as many digests as fit, so a SHA-256 tree over 4096-byte blocks holds 128 digests per block. The shape is fixed by device size and does not adapt to access frequency. [dm-verity] Advantages: - Shortens authentication paths for hot blocks, which reduces hashing and metadata I/O on skewed workloads. (sources: [dmt2025]) Limitations: - Reported gains are workload- and prototype-specific and are not measurements of stock Linux dm-verity or evidence of a deployed confidential-VM guarantee. (sources: [dmt2025]) - The threat model trusts the virtual machine and its memory and keeps the root hash in a secure location, so it does not cover a compromised guest. (sources: [dmt2025]) Sources and caveats: - dmt2025 is the FAST 2025 paper by Burke and colleagues, re-read on 2026-10-22 in the motivation, design and evaluation sections. - The 60%, 75%, 70%, 85%, 2.2 times and 6% figures and the 16 MB and 4 TB capacities come from dmt2025. - dm-verity is the Linux kernel admin guide page for the dm-verity target, read in the table parameters, theory of operation and hash tree sections. - The 128 digests per block are computed from the 4096-byte block and the 32-byte SHA-256 digest of the dm-verity example. Related terms: - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [dm-verity](https://hesela.dev/terms/dm-verity/) - [rollback-protection](https://hesela.dev/terms/rollback-protection/) Citations: - [dmt2025] Burke et al. On Scalable Integrity Checking for Secure Cloud Disks. FAST 2025, sections 3, 6 and 7. https://www.usenix.org/system/files/fast25-burke.pdf (accessed 2026-10-22) - [hesela-integrity] Hesela: Why a valid checksum can still return the wrong data. https://hesela.com/analyses/checksums-identity-and-lost-writes/#verity-freshness (accessed 2026-10-18) - [dm-verity] Linux kernel documentation. dm-verity: table parameters, theory of operation and hash tree. https://docs.kernel.org/admin-guide/device-mapper/verity.html (accessed 2026-10-22) ### Dynamic wear leveling URL: https://hesela.dev/terms/dynamic-wear-leveling/ Related article: https://hesela.com/tech/wear-leveling/ Also known as: dynamic wear levelling Status: shipping Record updated: 2026-11-05 Dynamic wear leveling spreads flash wear by steering incoming writes to free blocks with low erase counts, leaving blocks that hold unchanged data in place. Note: Dynamic allocation selects from eligible free blocks, favoring lower erase counts. Dynamic allocation does not itself relocate unchanged live data merely to balance wear; invalidation and reclamation can return an occupied block to the free pool. [wl-brief] [ostep] Static wear leveling additionally relocates long-lived data to release lightly worn occupied blocks. This adds copying and can increase write amplification; balancing erase counts does not increase a cell's intrinsic endurance. OSTEP's 10,000-cycle MLC figure is textbook context, not a specification for every MLC device. [ostep] A worked illustration spreads an unchanged write load from 10% of blocks across all blocks, giving a tenfold idealized time to the cycle limit. This is proportional arithmetic, not a measured service-life gain. Applying it to a device would require accounting for relocation and reclamation costs, usable balancing groups and other failure mechanisms. [wl-brief] Advantages: - It is easier to implement than static wear leveling, because only free blocks and their erase counts are considered at allocation time. (sources: [wl-brief]) Limitations: - Leveling may be confined to groups, for example an SLC-mode partition leveled apart from a TLC-mode partition, so erase counts are balanced within each group rather than across the device. (sources: [wl-brief]) Sources and caveats: - wl-brief is a 2023 technical brief from a NAND flash maker (KIOXIA), read in full; its 10% case is a worked illustration, not a measurement. - saw is a DAC 2013 paper from the National University of Singapore read in sections 1-2; ostep is a free university textbook, chapter 44, version 1.10. - The 10,000-cycle figure is the MLC rating quoted in ostep; ratings differ by cell type and generation. - Citation id kioxia was renamed wl-brief; the document and URL are unchanged. - Arithmetic: 10% of the cycle limit per year over all blocks gives 1 / 0.10 = 10 years. - 2026-11-05: qualified the textbook endurance number and the vendor's illustrative lifetime multiplier; allocation eligibility is a block state, not a permanent identity restriction. The cost/coverage caution is Hesela's interpretation, not a vendor measurement. Related terms: - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [static-wear-leveling](https://hesela.dev/terms/static-wear-leveling/) - [ftl](https://hesela.dev/terms/ftl/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) Citations: - [wl-brief] KIOXIA. Managed Flash Background Operations Series, Part 3: Understanding Wear Leveling in NAND Flash Memory. Technical brief, February 2023, rev. 1.0. https://www.kioxia.com.cn/content/dam/kioxia/shared/business/memory/mlc-nand/asset/productbrief/KIOXIA_Understanding_Wear_Leveling_Tech_Brief.pdf (accessed 2026-11-05) - [hesela-foundations] Hesela: Wear Leveling, mechanisms and tradeoffs. https://hesela.com/tech/wear-leveling/ (accessed 2026-10-18) - [saw] Wang and Wong. SAW: System-Assisted Wear Leveling on the Write Endurance of NAND Flash Devices. DAC 2013, sections 1-2. https://www.comp.nus.edu.sg/~wongwf/papers/DAC13.pdf (accessed 2026-10-22) - [ostep] Arpaci-Dusseau. Operating Systems: Three Easy Pieces, chapter 44 Flash-based SSDs, version 1.10, sections 44.4-44.10. https://pages.cs.wisc.edu/~remzi/OSTEP/file-ssd.pdf (accessed 2026-11-05) ### E1.L URL: https://hesela.dev/terms/e1-l/ Related article: https://hesela.com/tech/edsff/ Also known as: EDSFF 1U Long Status: shipping Record updated: 2026-11-02 E1.L is the long 1U device form factor in the EDSFF family, with mechanical requirements defined by SFF-TA-1007. Note: SFF-TA-1007 specifies the device housing, card-edge position, front-panel and latch mounting, and indicator placement for a compatible 1U host. The long form factor is distinct from E1.S rather than an alternative name for EDSFF. [c1] Its intended use includes high-capacity storage, but the form factor alone supplies no capacity or endurance rating for an individual SSD. [c2] Nominal width and length are 38.4 and 318.75 mm; thickness options are 9.5 and 18 mm. Include latch and front-plate projections when checking the bay. [c1] Sources and caveats: - Added as a distinct member previously misclassified as an EDSFF alias. No universal device-to-slot compatibility is asserted. Related terms: - [edsff](https://hesela.dev/terms/edsff/) - [e1-s](https://hesela.dev/terms/e1-s/) - [e3-s](https://hesela.dev/terms/e3-s/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [nvme](https://hesela.dev/terms/nvme/) Citations: - [c1] SNIA SFF-TA-1007 Rev 1.3: scope and mechanical requirements. https://members.snia.org/document/dl/26644 (accessed 2026-11-02) - [c2] SNIA SSD Form Factors: E1.L use cases. https://www.snia.org/forums/cmsi/knowledge/formfactors (accessed 2026-10-18) ### E1.S URL: https://hesela.dev/terms/e1-s/ Technology reference: https://hesela.com/tech/e1-s/ Also known as: E1.S SSD, EDSFF 1U Short, SFF-TA-1006 Status: shipping Record updated: 2026-11-01 E1.S is the short EDSFF device form-factor family specified by SFF-TA-1006 for compatible 1U systems, with several enclosure and cooling configurations. Note: The bare card is 111.49 by 31.5 mm; enclosed variants are 118.75 by 33.75 mm. Thickness options are 5.9 mm bare, 8.01 mm with a heat spreader, 9.5 mm symmetric, and 15 or 25 mm asymmetric. The bare-card footprint is not the envelope of every E1.S device. Check its housing drawing and revision. [c2] Initial slot limits are 12 W for 5.9/8.01 mm and 25 W for 9.5/15/25 mm variants. The connector-derived 79.2 W ceiling (6.6 A at 12 V) is not a host power guarantee; sustained power and cooling depend on the platform. Thermal requirements reference SFF-TA-1023. There is no universal thermal ranking against M.2 or U.2. [c2] Rev 1.0 dates to January 2018, the E1.S name to Rev 1.2 (April 2019), and the 15 mm option to Rev 1.4 (March 2020). Rev 2.0 (December 2025) changes the 9.5 mm symmetric enclosure for direct liquid cooling. Its incompatibility warning does not cover every E1.S variant. [c2] The OCP Datacenter NVMe SSD Specification v2.5 calls for at least Gen4 x4, activity/error LEDs, case temperature at most 80 degrees Celsius, and thermal/pressure-drop data for 9.5/15/25 mm variants. Its x4 devices use 1C. These requirements apply to that profile, not to every E1.S device. [c3] The 1C/x4 and 2C/x8 connector options do not establish the link actually supported by host and device. E1.S packaging also accommodates CXL memory devices. [c2] [c4] [c5] Limitations: - Symmetric enclosures built to Rev 1.6 or older are not compatible with Rev 2.0. [c2] (sources: [c2]) - The form-factor name does not determine product capacity, protocol support or application performance; check the actual device and host specifications. [c4] [c5] (sources: [c4], [c5]) Sources and caveats: - SFF-TA-1006 comes from the storage industry association small-form-factor group, a consortium of device and host makers. - The datacenter NVMe SSD specification is one buyer group requirements document, written by hyperscale operators and server makers, not a universal profile. - No capacity, price or adoption figures are given. - Arithmetic: 6.6 A x 12 V = 79.2 W. - 2026-11-01: reconciled the prior EDSFF contribution with later corpus detail; separated variant dimensions, connector options and device behavior. No hardware qualification was performed. Related terms: - [edsff](https://hesela.dev/terms/edsff/) - [nvme](https://hesela.dev/terms/nvme/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [u2](https://hesela.dev/terms/u2/) - [m2](https://hesela.dev/terms/m2/) - [pcie-gen4](https://hesela.dev/terms/pcie-gen4/) - [e1-l](https://hesela.dev/terms/e1-l/) - [e3-s](https://hesela.dev/terms/e3-s/) - [cxl-memory](https://hesela.dev/terms/cxl-memory/) Citations: - [c1] Enterprise and Data Center SSD Form Factor. https://en.wikipedia.org/wiki/Enterprise_and_Data_Center_SSD_Form_Factor (accessed 2026-03-26) - [c2] SFF-TA-1006 Enterprise and Datacenter 1U Short Device Form Factor (E1.S), Rev 2.0 (SNIA SFF TWG). https://members.snia.org/document/dl/26956 (accessed 2026-10-16) - [c3] Datacenter NVMe SSD Specification, Version 2.5, section 10.5 (Open Compute Project). https://www.opencompute.org/documents/datacenter-nvme-ssd-specification-v2-5-pdf (accessed 2026-10-16) - [c4] SNIA SFF-TA-1002 Rev 1.6a: protocol-agnostic connector scope. https://members.snia.org/document/dl/27231 (accessed 2026-11-01) - [c5] SNIA SSD Form Factors: EDSFF and CXL. https://www.snia.org/forums/cmsi/knowledge/formfactors (accessed 2026-11-01) ### E2 URL: https://hesela.dev/terms/e2/ Related article: https://hesela.com/tech/edsff/ Also known as: EDSFF E2 Status: unknown Record updated: 2026-10-19 E2 is an EDSFF device form factor designed for vertical installation in 2U systems, with mechanical requirements defined by SFF-TA-1042. Note: Published Rev 1.0, dated 16 June 2025, describes a design goal of accommodating at least 64 NAND packages. This is not a required installed package count or a byte-capacity guarantee. [c1] The enclosure uses the SFF-TA-1002 card-edge interface and SFF-TA-1009 signal assignments. A latch or front plate can extend beyond the documented enclosure dimensions, so bay qualification must include those parts. [c1] The specification distinguishes 25 W initial slot power from the connector-derived 79.2 W ceiling. Host and device operating conditions further limit sustained power; cooling must satisfy the applicable host requirements. [c1] Sources and caveats: - Reviewed published Rev 1.0; later drafts are not treated as approved requirements. - Status unknown concerns commercial availability, not the existence of the published specification; the specification does not establish supplier availability. [c1] - The publication date is a standard milestone, not a first shipment or invention date; firstSeen remains null. Related terms: - [edsff](https://hesela.dev/terms/edsff/) - [e1-l](https://hesela.dev/terms/e1-l/) - [e1-s](https://hesela.dev/terms/e1-s/) - [e3-s](https://hesela.dev/terms/e3-s/) - [flash-module](https://hesela.dev/terms/flash-module/) - [nand-flash](https://hesela.dev/terms/nand-flash/) Citations: - [c1] SNIA SFF-TA-1042 Rev 1.0 (16 June 2025): abstract, sections 1, 4.1 and 7. https://www.snia.org/sites/default/files/SSSI/PUBLISHED%20SNIA%20SFF-TA-1042%206-2025.pdf (accessed 2026-10-19) ### e2fsck URL: https://hesela.dev/terms/e2fsck/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: ext2/ext3/ext4 filesystem checker Status: shipping Record updated: 2026-12-04 e2fsck is the e2fsprogs utility for checking and repairing ext2, ext3 and ext4 filesystem structures. Note: A clean-state shortcut can end a normal invocation before the checking passes; -f bypasses that shortcut. A successful exit therefore does not establish which checks ran. In v1.47.3, declining the interactive mounted-filesystem warning also exits with status 0. [implementation] The -n option selects read-only checking and refuses proposed changes; in v1.47.3 it also skips required journal replay. The manual says mounted-filesystem results are invalid. The -p policy permits only repairs classified for unattended correction, whereas -y accepts repair questions; these are not interchangeable recovery policies. [manual] [implementation] Exit values encode conditions, not an ordered severity score. Here 0 reports no errors, 1 corrected errors, 2 a reboot requirement, 4 unresolved errors, 8 an operational error, 16 a usage error, 32 cancellation and 128 a shared-library error. Retain the complete status and transcript. The optional allow_cancellation setting can make user cancellation via Ctrl-C return 0 when the filesystem is not explicitly marked erroneous; its default is false. [status-flags] [configuration] Hesela's interpretation: checking filesystem structures does not authenticate application bytes or establish their latest intended version. Ext4 metadata checksums cover defined structures, not arbitrary file payloads. [metadata-checksums] In two native 1.47.0 runs, a changed payload still passed forced checking. A wrong superblock free-block total was reported and left unchanged by -f -n, also with status 0; a wrong inode link count returned 4. PR_NO_OK permits refusal for that counter problem without invalidating the filesystem. The distinction is problem-specific, not a claim that every refused repair succeeds. [native-coverage] [problem-policy] Advantages: - Accepts a filesystem image file as well as a block device. (sources: [manual]) Limitations: - The -z undo file does not provide recovery from a system or power crash. (sources: [manual]) Sources and caveats: - Tagged source review: e2fsprogs v1.47.3 and Linux v6.16, accessed 2026-12-04. - Separate native evidence: e2fsprogs 1.47.0 on new unmounted 64 MiB ext4 regular-file images, metadata_csum enabled and no journal; 11 deliberate cases repeated twice on one host. - No block-device access, mounted checking, journal replay, crash injection or SQCK replication. Captures, binary/script hashes and verification code accompany the evidence. Related terms: - [ext4](https://hesela.dev/terms/ext4/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [crash-consistent-filesystem-repair](https://hesela.dev/terms/crash-consistent-filesystem-repair/) - [e2undo](https://hesela.dev/terms/e2undo/) Citations: - [manual] e2fsprogs v1.47.3: e2fsck manual, modes and undo-file limits. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.3/e2fsck/e2fsck.8.in (accessed 2026-12-04) - [implementation] e2fsprogs v1.47.3: mounted check, clean shortcut and journal recovery. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.3/e2fsck/unix.c (accessed 2026-12-04) - [status-flags] e2fsprogs v1.47.3: filesystem-checker exit flags. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.3/e2fsck/e2fsck.h (accessed 2026-12-04) - [configuration] e2fsprogs v1.47.3: allow_cancellation and problem-policy configuration. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.3/e2fsck/e2fsck.conf.5.in (accessed 2026-12-04) - [metadata-checksums] Linux v6.16: ext4 metadata checksum coverage. https://raw.githubusercontent.com/torvalds/linux/v6.16/Documentation/filesystems/ext4/checksums.rst (accessed 2026-12-04) - [native-coverage] Hesela: e2fsck coverage, 11 controlled cases repeated twice. https://hesela.dev/research/e2fsck-coverage/README.md (accessed 2026-12-04) - [problem-policy] e2fsprogs v1.47.0: PR_5_FREE_BLOCK_COUNT and fix_problem refusal policy. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.0/e2fsck/problem.c (accessed 2026-12-04) ### e2image URL: https://hesela.dev/terms/e2image/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Status: shipping Record updated: 2026-12-04 e2image is an ext2/ext3/ext4 imaging utility that selects filesystem metadata by default and can include file data in raw or QCOW2 output. Note: A raw (-r) image places copied blocks at filesystem-relative offsets; QCOW2 (-Q) stores selected blocks in a compact container. The -a option adds ordinary file data in either format. Choosing QCOW2 alone does not request full file contents. [manual] In a generated ext4 example on e2fsprogs 1.47.0, metadata-only raw and QCOW2 copies passed e2fsck -f -n while an 8192-byte nonzero file read as zeros. The -a controls retained its bytes. This demonstrates capture coverage, not successful application recovery. [demo] Metadata can contain payload: ext4 permits small file data inside an inode, and e2image copies inode tables. [inline] [implementation] In the same example, a 34-byte inline file and a short symlink target survived -s name scrambling. The tested directory name changed; whole-image redaction was not established. [demo] The -I operation restores saved metadata and can lose data if the filesystem has changed since capture. It is not a substitute for restoring omitted payload. [manual] Sources and caveats: - Two captures of 12 designed cases on one e2fsprogs 1.47.0 build; not independent replication, a field sample or a current-version defect claim. - The 34-byte inline payload comparison uses the recorded inode size; debugfs dumped 60 bytes, including 26 zero padding bytes. Both lengths and hashes are retained. - No mounted filesystem, production device, crash, repair or application restore was exercised. Scrambled images returned 4 with directory-checksum diagnostics. Related terms: - [ext4](https://hesela.dev/terms/ext4/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [backup-verification](https://hesela.dev/terms/backup-verification/) Citations: - [manual] e2fsprogs v1.47.0: e2image options and image formats. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.0/misc/e2image.8.in (accessed 2026-12-04) - [implementation] e2fsprogs v1.47.0: e2image inode-table and block selection. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.0/misc/e2image.c (accessed 2026-12-04) - [inline] Linux v6.16: ext4 inline-data format. https://raw.githubusercontent.com/torvalds/linux/v6.16/Documentation/filesystems/ext4/inlinedata.rst (accessed 2026-12-04) - [demo] Hesela: e2image coverage, two native captures and exact payload checks. https://hesela.dev/research/e2image-coverage/README.md (accessed 2026-12-04) ### e2undo URL: https://hesela.dev/terms/e2undo/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: e2fsprogs undo-log replay Status: shipping Record updated: 2026-12-04 e2undo is the e2fsprogs utility that restores recorded previous block contents from an undo log to an ext2, ext3 or ext4 filesystem. Note: An e2fsprogs operation can record old block contents before overwriting them, for example through e2fsck's -z option. e2undo replays those saved contents; the undo file is not a complete filesystem backup. [producer] [e2fsck-manual] Default replay compares the target superblock with the recorded state, not every file. The -n dry run omits replay writes to the target but cannot prove that a later write will succeed. [manual] [implementation] In v1.47.4, -f also relaxes undo-file checksum checks. Replay is not an all-or-nothing transaction: a later I/O failure does not reverse earlier writes. The final exit value does not incorporate every reported I/O error. [implementation] Native controls on 1.47.0 and 1.47.4 returned status 0 after a deliberately limited write left partial restoration and an I/O-error diagnostic. A separate unlogged payload change survived replay and a status-0 e2fsck check. Seven regular-file cases per version were repeated on one host; this is not a power-loss experiment. [native] The manuals exclude power or system crash recovery using an undo file. Retain diagnostics, preserve an independent image or backup, and check expected file contents separately from filesystem structures. [manual] [e2fsck-manual] Advantages: - Dry-run mode can inspect a proposed replay without writing its saved blocks to the target. (sources: [manual]) Limitations: - Saved overwritten blocks are not a complete backup and do not guarantee recovery from a power or system crash. (sources: [producer], [e2fsck-manual]) - Forced replay disables safeguards, and a partially completed replay is not automatically rolled back. (sources: [implementation]) Sources and caveats: - Pinned e2fsprogs v1.47.4 manuals and source reviewed; the final return expression was checked against the native I/O-error control. - Seven regular-file configurations per version, repeated twice on one Linux host. Version 1.47.0 is installed; 1.47.4 was locally compiled from the linked upstream archive. - The artificial RLIMIT_FSIZE error is not a device fault, power failure, journal-recovery test or reproduction of FAST 2018 rfsck. Related terms: - [e2fsck](https://hesela.dev/terms/e2fsck/) - [crash-consistent-filesystem-repair](https://hesela.dev/terms/crash-consistent-filesystem-repair/) Citations: - [manual] e2fsprogs v1.47.4: e2undo manual, replay safeguards and crash warning. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.4/misc/e2undo.8.in (accessed 2026-12-04) - [implementation] e2fsprogs v1.47.4: e2undo superblock checks, force mode and replay control flow. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.4/misc/e2undo.c (accessed 2026-12-04) - [producer] e2fsprogs v1.47.4: undo I/O manager records previous block contents. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.4/lib/ext2fs/undo_io.c (accessed 2026-12-04) - [e2fsck-manual] e2fsprogs v1.47.4: e2fsck undo-file option and crash limitation. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.4/e2fsck/e2fsck.8.in (accessed 2026-12-04) - [native] Hesela: e2undo replay controls on 1.47.0 and 1.47.4, methods and native evidence. https://hesela.dev/research/e2undo-replay/README.md (accessed 2026-12-04) ### E3.S URL: https://hesela.dev/terms/e3-s/ Related article: https://hesela.com/tech/edsff/ Also known as: EDSFF E3 Short Status: shipping Record updated: 2026-11-02 E3.S is the short member of the EDSFF E3 device family specified by SFF-TA-1008. Note: E3 includes SSDs and non-storage devices such as CXL devices, accelerators and network interfaces. The E3.S designation identifies an enclosure family, not an NVMe command set or performance rating. [c1] The Rev 3.0 changes can make older devices incompatible. Rev 3.0a requires a mechanical key intended to prevent unsuitable older devices from entering direct-liquid-cooled systems and encountering damaging pressure; check the exact enclosure and host revision. [c1] Nominal E3 width is 76 mm; short devices are 112.75 mm long, compared with 142.2 mm for E3.L. Thickness is 7.5 mm for single-thickness devices and 16.8 mm for 2T. These enclosure dimensions do not establish host support. [c1] Sources and caveats: - Added as a distinct member previously misclassified as an EDSFF alias. Specification coverage is not a hardware qualification result. Related terms: - [edsff](https://hesela.dev/terms/edsff/) - [e1-s](https://hesela.dev/terms/e1-s/) - [e1-l](https://hesela.dev/terms/e1-l/) - [u2](https://hesela.dev/terms/u2/) - [nvme](https://hesela.dev/terms/nvme/) - [cxl-memory](https://hesela.dev/terms/cxl-memory/) Citations: - [c1] SNIA SFF-TA-1008 Rev 3.0a: revision history and sections 4 and 5.7. https://members.snia.org/document/dl/26716 (accessed 2026-11-02) ### Extended Asynchronous DRAM Refresh URL: https://hesela.dev/terms/eadr/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: eADR, enhanced ADR Status: shipping Record updated: 2026-11-28 Extended Asynchronous DRAM Refresh is a platform capability that extends persistent-memory power-fail protection to CPU caches. Note: Intel's third-generation Xeon overview states that supported, detected eADR removes explicit cache-flush requirements but still requires SFENCE and adequate platform stored energy. This is a system capability, not a guarantee inferred solely from a CPU model. [intel-eadr] PMDK's byte persistence granularity still permits ordering barriers; a larger persistence domain is not an application transaction. [pmdk-granularity] Related terms: - [adr](https://hesela.dev/terms/adr/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [map-sync](https://hesela.dev/terms/map-sync/) - [clwb](https://hesela.dev/terms/clwb/) - [clflushopt](https://hesela.dev/terms/clflushopt/) - [sfence](https://hesela.dev/terms/sfence/) Citations: - [intel-eadr] Intel. Third Generation Xeon Processor Scalable Family on Two Socket Platforms: eADR. https://www.intel.com/content/www/us/en/developer/articles/technical/third-generation-xeon-scalable-family-overview.html (accessed 2026-10-13) - [pmdk-granularity] PMDK 1.13.1. libpmem2(7), GRANULARITY (pinned source documentation). https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/libpmem2.7.md (accessed 2026-10-13) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/ (accessed 2026-10-13) ### Eager writing URL: https://hesela.dev/terms/eager-writing/ Also known as: Eager-writing Status: research Record updated: 2026-12-02 Eager writing places an HDD write in a free location near the current head position, reducing mechanical positioning delay through flexible allocation. Note: Spare capacity provides nearby destinations; the logical-to-physical map keeps later reads addressable. Choosing a new location does not by itself specify acknowledgement or recovery rules. [ewarray] The FAST 2002 EW-Array combines eager writing, mirroring and striping. Its default experiments write one replica in the foreground and propagate others later; a separate experiment waits for two physical copies. The map uses NVRAM-buffered updates and incremental checkpoints. [ewarray] Its prototype and integrated simulator use a historical, unaudited TPC-C disk trace. Performance comparisons depend on free space, replica count, scheduling and the completion rule. They are not a current HDD benchmark. [ewarray] Sources and caveats: - Historical research technique. The 2002 EW-Array mapping protocol is distinct from the 1999 virtual-log design. Related terms: - [virtual-log](https://hesela.dev/terms/virtual-log/) - [range-write](https://hesela.dev/terms/range-write/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [freeblock-scheduling](https://hesela.dev/terms/freeblock-scheduling/) - [doubly-distorted-mirrors](https://hesela.dev/terms/doubly-distorted-mirrors/) Citations: - [ewarray] Zhang, Yu, Krishnamurthy and Wang. Configuring and Scheduling an Eager-Writing Disk Array for a Transaction Processing Workload. FAST 2002, sections 2, 5, 6. https://www.usenix.org/legacy/events/fast02/full_papers/zhang/zhang_html/index.html (accessed 2026-12-02) ### Early retention loss URL: https://hesela.dev/terms/early-retention-loss/ Status: shipping Record updated: 2026-10-18 Early retention loss is the rapid initial charge-loss behavior observed after programming some NAND cells. Note: This describes the initial evolution of charge after programming, not a deadline at which a whole SSD loses files. The cited 2018 measurements used single-vendor 3D MLC chips; raw errors before ECC are not host-visible data-loss events. Temporary read errors after idle are distinct. Their reversibility was used to distinguish them from changes to stored charge, including early retention loss. [tre] Related terms: - [3d-nand](https://hesela.dev/terms/3d-nand/) - [charge-trap-flash](https://hesela.dev/terms/charge-trap-flash/) - [data-retention](https://hesela.dev/terms/data-retention/) - [read-retry](https://hesela.dev/terms/read-retry/) - [retention-interference](https://hesela.dev/terms/retention-interference/) - [temporary-read-errors](https://hesela.dev/terms/temporary-read-errors/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) - [lateral-charge-spreading](https://hesela.dev/terms/lateral-charge-spreading/) - [retention-model-aware-reading](https://hesela.dev/terms/retention-model-aware-reading/) Citations: - [luo] Luo et al. Improving 3D NAND Flash Memory Lifetime by Tolerating Early Retention Loss and Process Variation. POMACS 2018, sections 4.1, 4.3-4.4. https://ghose.cs.illinois.edu/papers/18sigmetrics_3dflash.pdf (accessed 2026-10-11) - [hesela] Hesela: NAND read-retry and evidence boundaries. https://hesela.com/analyses/nand-read-retry-latency/ (accessed 2026-10-11) - [hesela3d] Hesela: 3D NAND retention, cell architecture and evidence limits. https://hesela.com/analyses/3d-nand-retention-evidence/ (accessed 2026-10-11) - [tre] Zambelli et al. Temporary read errors in TLC 3D NAND after idle. JEDS 8 (2020), 99-104. DOI: 10.1109/JEDS.2020.2965648. https://doi.org/10.1109/JEDS.2020.2965648 (accessed 2026-10-18) ### Eden URL: https://hesela.dev/terms/eden/ Also known as: Eden far memory Status: research Record updated: 2026-11-15 Eden is a research far-memory runtime that combines selected application hints with hardware page faults to fetch remotely stored memory pages. Note: Two access paths: A hinted miss lets the runtime fetch a page and schedule another user-level thread. Unhinted accesses still trap through userfaultfd. Both paths need kernel page-table operations; hints do not eliminate all kernel transitions. [paper] Hint scope: Read-ahead is advisory, unlike the hinted region size. Small objects with poor locality still suffer page-level transfer amplification. Performance depends on hint placement and the local-memory budget. [paper] Evaluation boundary: Comparisons use four applications, workload-specific reclaim policies and separate fully local baselines. The cache benchmark disables LRU maintenance and item shuffling for both systems, so it is not an unchanged default deployment. [paper] Prototype requirements: The pinned README targets a 5.15-era custom kernel and RDMA hardware. Its kernel guide distinguishes vectorized eviction patches used for performance from optional tracing and vDSO patches. [readme] [kernel] Header trap: In revision beca12a, hint_write_fault_prio takes rd but expands pr. With hints enabled, an isolated header probe fails to compile without pr; with a local pr of 7, supplying 2 passes 7 to a stub callback. Read-priority and write-all controls pass 2. With both hint flags absent, all four calls are no-ops. This tests the header, not runtime eviction. [header] [probe] [results] Sources and caveats: - Paper and pinned-source review plus an isolated C header probe using GCC 13.3.0; no Eden runtime, kernel installation, RDMA benchmark or performance replication. - The probe makes the fault check always true and records callback arguments. It does not show that the faulty shorthand was used in the paper's workloads or invalidate their measured performance. - The paper's conceptual hint API and the pinned C header are different interfaces. No claim is made that this repository revision produced the paper's experimental results. Related terms: - [aifm](https://hesela.dev/terms/aifm/) - [fastswap](https://hesela.dev/terms/fastswap/) Citations: - [paper] Yelam et al. Eden: Developer-Friendly Application-Integrated Far Memory. NSDI 2025, pp. 1067-1083; sections 3, 5, 7 and appendix A.2. https://www.usenix.org/system/files/nsdi25-yelam.pdf (accessed 2026-11-15) - [readme] Eden authors: runtime, build dependencies and tested platform, pinned revision beca12a. https://github.com/eden-farmem/eden/blob/beca12a7af20bc30de0a3aae1edd2570bb09cee2/README.md (accessed 2026-11-15) - [kernel] Eden authors: vectorized eviction, tracing and vDSO kernel patch roles. https://github.com/eden-farmem/eden/blob/beca12a7af20bc30de0a3aae1edd2570bb09cee2/kernel/README.md (accessed 2026-11-15) - [header] Eden authors: compile-time hint flags and priority macros in pgfault.h, pinned revision beca12a. https://github.com/eden-farmem/eden/blob/beca12a7af20bc30de0a3aae1edd2570bb09cee2/inc/runtime/pgfault.h (accessed 2026-11-15) - [probe] Hesela: reproducible pinned-header probe with stub callbacks and compiler controls. https://hesela.dev/research/eden-hint-probe.py (accessed 2026-11-15) - [results] Hesela: 24 isolated header observations, two optimization levels and three flag configurations. https://hesela.dev/research/eden-hint-probe.json (accessed 2026-11-15) ### EDSFF URL: https://hesela.dev/terms/edsff/ Technology reference: https://hesela.com/tech/edsff/ Also known as: Enterprise and Datacenter Standard Form Factor, Enterprise & Data Center SSD Form Factor Status: shipping Record updated: 2026-11-02 EDSFF is a family of standardized enterprise and datacenter device form factors whose members have distinct mechanical specifications and coordinated connector and electrical requirements. Note: E1.S, E1.L, E2 and E3.S designate members of the family, not aliases for EDSFF. The older expansion containing SSD is retained as historical terminology; SFF-TA-1009 records the change to Standard Form Factor in 2021. E2 has its own mechanical specification, SFF-TA-1042. [c5] [c7] The connector specification and device protocol are separate. SFF-TA-1002 is protocol-agnostic; matching the connector alone does not establish that a host supports a device's interface. [c6] Check the member, housing revision, cooling and platform qualification; EDSFF does not promise interchangeable bays or product capacity. [c5] The E3.S 2T 2x1C arrangement needs a bay designed for that layout. SFF-TA-1008 recommends a keyed carrier to prevent insertion into incompatible bays; connector count alone does not establish compatibility. [c2] The E3 specification covers E3.S, E3.S 2T, E3.L and E3.L 2T devices for 1U, 2U and other hosts, plus an E3.S 2T 2x1C variant. Link widths are x4 (1C), x8 (2C, or two 1C connectors on the 2x1C variant) and x16 (4C and 4C+) from SFF-TA-1002, with signals in SFF-TA-1009 and thermal requirements in SFF-TA-1023. [c2] E3 initial slot power limits are 25 W (E3.S), 40 W (E3.L and E3.S 2T) and 70 W (E3.L 2T), E1.L lists 25 W, and the connector limit of 6.6 A at 12 V is stated as 79.2 W. This ceiling is further limited by the host and device operating environment. [c2] [c3] The OCP v2.5 NVMe SSD profile requires E1.S and E1.L devices to follow SFF-TA-1006 or SFF-TA-1007, support at least PCIe Gen4 x4 and keep case temperature at or below 80 degrees Celsius, and requires E3 devices to follow SFF-TA-1008 and SFF-TA-1009, support separate reference clocks with independent spread-spectrum clocking and comply with PCI Express Base Specification 5.0 or later. [c4] Limitations: - E3.S and E3.L devices must carry a mechanical key slot so that systems can keep devices built to earlier revisions, which were not designed for direct liquid cooling, out of liquid-cooled hosts where they could suffer damaging pressure. [c2] (sources: [c2]) Sources and caveats: - The form-factor documents come from a storage industry association consortium and the NVMe specification from a consortium of operators and system makers; no university or government source on EDSFF was found, so independence is limited. - The SFF-TA-1008 file read is the published Rev 3.0a; a draft Rev 2.1.42 exists on the same site and was not used. - No capacity, price or adoption figures are given. - Arithmetic: 6.6 A x 12 V = 79.2 W; 76 x 112.75 x 7.5 mm is about 64.3 cm3 and 76 x 142.2 x 7.5 mm about 81.1 cm3, ignoring tolerances and the connector region. - The stable edsff ID and legacy SSD expansion are retained. Incorrect E1.L and E3.S aliases are replaced with separate related records. - The previous unqualified firstSeen value of 2020 is removed; this record does not assign a family invention or commercial-release date. - c1 remains legacy further reading; the revised definition and note rely on primary specifications. - 2026-11-01: preserved the later E3/E1.L dimensions and OCP profile while remapping citations from the earlier family correction. SFF-TA-1002 and SFF-TA-1009 have now been reviewed; packaging alone does not determine capacity or protocol support. Related terms: - [e1-s](https://hesela.dev/terms/e1-s/) - [nvme](https://hesela.dev/terms/nvme/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [flash-module](https://hesela.dev/terms/flash-module/) - [u2](https://hesela.dev/terms/u2/) - [m2](https://hesela.dev/terms/m2/) - [pcie-gen5](https://hesela.dev/terms/pcie-gen5/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [e1-l](https://hesela.dev/terms/e1-l/) - [e3-s](https://hesela.dev/terms/e3-s/) - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [e2](https://hesela.dev/terms/e2/) Citations: - [c1] Enterprise and Data Center SSD Form Factor. https://en.wikipedia.org/wiki/Enterprise_and_Data_Center_SSD_Form_Factor (accessed 2026-03-26) - [c2] SFF-TA-1008 Enterprise and Datacenter Standard Form Factor (E3), Rev 3.0a, 10 July 2026 (SNIA SFF TWG). https://members.snia.org/document/dl/26716 (accessed 2026-11-02) - [c3] SFF-TA-1007 Enterprise and Datacenter 1U Long Device Form Factor (E1.L), Rev 1.3, 2 September 2025 (SNIA SFF TWG). https://members.snia.org/document/dl/26644 (accessed 2026-11-02) - [c4] Datacenter NVMe SSD Specification, Version 2.5, sections 10.5 to 10.7 (Open Compute Project). https://www.opencompute.org/documents/datacenter-nvme-ssd-specification-v2-5-pdf (accessed 2026-10-16) - [c5] SNIA SFF-TA-1009 Rev 4.1a: section 1.1 and revision history. https://members.snia.org/document/dl/26837 (accessed 2026-10-18) - [c6] SNIA SFF-TA-1002 Rev 1.6a: section 1, protocol-agnostic connector scope. https://members.snia.org/document/dl/27231 (accessed 2026-10-18) - [c7] SNIA SFF-TA-1042 Rev 1.0 (16 June 2025): E2 abstract and scope. https://www.snia.org/sites/default/files/SSSI/PUBLISHED%20SNIA%20SFF-TA-1042%206-2025.pdf (accessed 2026-10-19) ### EEPROM emulation URL: https://hesela.dev/terms/eeprom-emulation/ Related article: https://hesela.com/tech/nor-flash/ Also known as: Flash-based EEPROM emulation Status: shipping Record updated: 2026-10-20 EEPROM emulation is a software technique that provides updatable nonvolatile variables over flash memory while managing its programming, erase and recovery constraints. Note: This is a storage-management scheme, not a separate memory-cell technology. ST's AN4894 implementation appends updated variable records, copies current valid records to another flash-page set when space runs out, then erases the old set. It requires at least two pages; a set can contain several pages. [c1] Usable variable capacity is smaller than the allocated flash space because records, page state and reclamation need room. Page transfers add work to some updates; on the documented STM32 implementation, programming or erasing the same bank can stall code execution. [c1] [c2] Hardware ECC does not reliably detect interrupted flash programming or erasure on the devices discussed in AN4894. The driver therefore uses a per-record CRC and recovery logic; ECC alone is not an interrupted-update guarantee. [c3] AN4894 recovers the latest valid variable value, which may be the value preceding an interrupted update. If power loss or reset interrupts the first write to that virtual address, the driver considers it to have no stored value. The application must handle that missing-value case at startup. [c3] Recovery, CRC checks and wear management belong to the chosen implementation. Review its initialization and failure handling together with the MCU's flash specification; the label EEPROM emulation does not establish atomic application-level updates. Advantages: - Can use existing embedded flash instead of adding a standalone EEPROM component. (sources: [c1]) Limitations: - Update cost depends on page reclamation and the device's read-while-write capabilities. (sources: [c2]) Sources and caveats: - ST's page states and recovery mechanisms are an implementation example, not universal requirements for every emulation design. - AN4894 was checked in ST's official HTML convenience edition; the vendor identifies its PDF as the reference document. No power-failure validation was performed. Related terms: - [eeprom](https://hesela.dev/terms/eeprom/) - [nor-flash](https://hesela.dev/terms/nor-flash/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) Citations: - [c1] STMicroelectronics. AN4894 Rev 12 (July 2026), Implementing EEPROM emulation: page sets, record updates and reclamation. Official HTML convenience edition. https://www.st.com/content/st_com/en/technical-documents/an4894-how-to-use-eeprom-emulation-on-stm32-mcus-stmicroelectronics.html (accessed 2026-10-20) - [c2] STMicroelectronics. AN4894 Rev 12, Real-time considerations: same-bank execution stalls and read-while-write alternatives. https://www.st.com/content/st_com/en/technical-documents/an4894-how-to-use-eeprom-emulation-on-stm32-mcus-stmicroelectronics_asset/chunk-003-topic-an4894-high-cycle-data-area-of-flash-memory.html (accessed 2026-10-20) - [c3] STMicroelectronics. AN4894 Rev 12, Data recovery: interrupted first writes and recovery of previous valid variable values. https://www.st.com/content/st_com/en/technical-documents/an4894-how-to-use-eeprom-emulation-on-stm32-mcus-stmicroelectronics_asset/chunk-003-topic-an4894-high-cycle-data-area-of-flash-memory.html (accessed 2026-10-20) ### EEPROM URL: https://hesela.dev/terms/eeprom/ Related article: https://hesela.com/tech/nor-flash/ Also known as: Electrically erasable programmable read-only memory Status: shipping Record updated: 2026-10-20 EEPROM is electrically erasable nonvolatile memory commonly used for fine-grained updates to persistent configuration and application data. Note: A standalone serial EEPROM can expose byte updates without a separate host erase command; this does not eliminate internal erase/write work. In the Microchip 24XX256 family, even short writes refresh the rest of the page, so endurance is specified per page. [c1] Its 64-byte page-write boundary is an address boundary, not just a payload-size limit: crossing it wraps within the same page. For an accepted, unprotected write, STOP starts the internal write cycle; ACK polling then tests readiness. With write protection asserted, the device still acknowledges the command but does not write. WP is sampled at STOP; asserting it afterward does not cancel an internal write cycle already started. Read back the intended locations when verifying an update. [c1] These command rules describe the named family, not every EEPROM. Byte access, page wear and application-record consistency are separate design questions. Limitations: - Command acknowledgment alone does not establish that the requested value was stored. (sources: [c1]) Sources and caveats: - Source review; no hardware test or power-interruption experiment. No atomic multi-byte update guarantee is inferred. Related terms: - [eeprom-emulation](https://hesela.dev/terms/eeprom-emulation/) - [nor-flash](https://hesela.dev/terms/nor-flash/) - [solid-state-media](https://hesela.dev/terms/solid-state-media/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) Citations: - [c1] Microchip. 24AA256/24LC256/24FC256, DS20001203Y (2022), sections 6.1-6.3 and 7, pages 11-12: byte/page writes, page refresh, protection and acknowledge polling. https://ww1.microchip.com/downloads/aemDocuments/documents/MPD/ProductDocuments/DataSheets/24AA256-24LC256-24FC256-256K-I2C-Serial-EEPROM-DS20001203.pdf (accessed 2026-10-20) ### Effective capacity URL: https://hesela.dev/terms/effective-capacity/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Status: unknown Record updated: 2026-10-23 Effective capacity, under the SNIA convention, combines stored logical data with remaining formatted capacity. Note: Accounting: Space optimization can let the logical data represented exceed its physical footprint. The SNIA measure adds that stored data to unused formatted capacity; it does not assume the unused part will achieve the current reduction ratio. [snia-effective] Forecast: Multiplying total usable capacity by an observed reduction ratio is a different, conditional estimate. Future data and retained versions can change the ratio. Neither figure is a reservation of backing space. Product counters require their own documented accounting scope. [snia-effective] [ontap-capacity] Planning: Keep current accounting separate from a future-workload budget and from policy headroom. In a hypothetical pool with 60 TB logical stored in 30 TB and 70 TB free, leaving 10 TB unused gives a 60 TB physical growth budget. An incoming 1.6:1 mix adds 96 TB logical, versus 120 TB at the old 2:1 ratio under the same headroom. The policy is not an enforced reservation. After that modeled addition, the new SNIA snapshot is 156 + 10 = 166 TB, not the original 130 TB. Sources and caveats: - Terminology follows the cited accounting convention; no storage-array measurement or capacity guarantee is implied. Related terms: - [raw-capacity](https://hesela.dev/terms/raw-capacity/) - [usable-capacity](https://hesela.dev/terms/usable-capacity/) - [data-reduction-ratio](https://hesela.dev/terms/data-reduction-ratio/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) Citations: - [snia-effective] SNIA Dictionary: effective capacity. https://www.snia.org/education/online-dictionary/term/effective-capacity (accessed 2026-10-22) - [ontap-capacity] NetApp ONTAP: capacity reporting and measurements. https://docs.netapp.com/us-en/ontap/concepts/capacity-measurements.html (accessed 2026-10-22) ### Effective retention time URL: https://hesela.dev/terms/effective-retention-time/ Related analysis: https://hesela.com/analyses/3d-nand-retention-evidence/ Also known as: temperature-equivalent retention time Status: research Record updated: 2026-11-19 Effective retention time is the duration at a stated reference temperature that a specified model assigns the same retention effect as a given thermal exposure. Note: The reference temperature, activation energy, calibration range and measured endpoint belong with the value. HeatWatch separates this thermal clock from dwell history and uses temperature-history integration [heatwatch]. Equal arithmetic-mean temperatures need not give equal effective times. A time conversion does not by itself predict SSD shelf life or failure probability [hesela-method]. HeatWatch approximates recent dwell history using timestamps of 20 full-drive writes [heatwatch]. Model limitation: the order independence of a fixed-energy thermal sum does not establish that rearranging real writes or annealing steps preserves NAND state. With valid whole-exposure temperature limits and a duration-weighted mean, a convex fixed-energy Arrhenius model gives sharp lower and upper exposure bounds. This is not a confidence interval or an SSD survival estimate. Sample extrema and an unweighted average of readings do not establish those inputs [thermal-bounds]. For a known history with temperatures on both sides of the reference, uncertainty in one common activation energy can give an interior minimum; testing only its endpoints can miss that minimum. The example energy range is hypothetical, not a NAND calibration interval [thermal-bounds]. The time-ratio direction is explicit: reference time / exposure time multiplies exposure, while its reciprocal divides it. HeatWatch's printed equations 3 and 5 appear inconsistent under their stated definitions. This source-reading observation is not an author-confirmed erratum or evidence that its implementation used the wrong operation. Hesela's original calculations already use the reference-over-exposure direction [thermal-convention]. Related terms: - [data-retention](https://hesela.dev/terms/data-retention/) - [nand-dwell-time](https://hesela.dev/terms/nand-dwell-time/) - [nand-thermal-annealing](https://hesela.dev/terms/nand-thermal-annealing/) - [cross-temperature-effect](https://hesela.dev/terms/cross-temperature-effect/) - [heatwatch](https://hesela.dev/terms/heatwatch/) Citations: - [heatwatch] Luo et al. HeatWatch. HPCA 2018, sections 3.4, 4.2 and 5.2. DOI: 10.1109/HPCA.2018.00050. https://people.inf.ethz.ch/~omutlu/pub/heatwatch-3D-nand-errors-and-self-recovery_hpca18.pdf (accessed 2026-10-28) - [hesela-method] Hesela. Retention-clock worked calculations: inputs, method and limits. https://hesela.dev/research/retention-clock/README.md (accessed 2026-10-20) - [hesela-analysis] Hesela. How many days does a hot half-hour represent? https://hesela.com/analyses/3d-nand-retention-evidence/#retention-clock (accessed 2026-10-20) - [thermal-bounds] Hesela. Thermal-age bounds: derivation, synthetic cases, source ledger and offline reproduction. https://hesela.dev/research/thermal-age-bounds/README.md (accessed 2026-11-18) - [thermal-bounds-package] Hesela. Offline thermal-age code, inputs, results, tests and SHA-256 manifest (ZIP). https://hesela.dev/research/thermal-age-bounds/thermal-age-bounds.zip (accessed 2026-11-18) - [thermal-convention] Hesela. Thermal time-ratio convention review: printed-source locators, synthetic direction controls and limitations. https://hesela.dev/research/thermal-age-bounds/CONVENTION_REVIEW.md (accessed 2026-11-18) ### Effective spare factor URL: https://hesela.dev/terms/effective-spare-factor/ Also known as: effective over-provisioning (physical-capacity basis) Status: research Record updated: 2026-10-22 Effective spare factor is the fraction of a modeled SSD's physical page capacity not occupied by valid logical data at a specified time. Note: Frankie, Hughes and Kreutz-Delgado define the spare factor as (t − u)/t for t physical and u user pages, and the effective spare factor as (t − Xn)/t, where Xn is the number of in-use logical pages at time n. Its mean depends only on the specified spare factor and the share of Trim requests, and its variance falls toward zero as the device grows. [frankie2012] In their model a workload with 10% Trim requests turns a drive with a specified spare factor of zero into one with an effective spare factor of 0.11. Reaching that value through physical over-provisioning alone would need 12.5% more physical space than users can address. [frankie2012] Desnoyers modeled greedy cleaning under uniform random writes and compared it with simulation of a 25 or 50 GiB device. Predicted write amplification is 13.624 at a spare factor of 0.03, 4.430 at 0.11 and 3.002 at 0.17, each within 0.007 of the simulated value. [desnoyers2012] Advantages: - Captures over-provisioning that Trim creates at run time, which a fixed physical-versus-user capacity ratio misses. (sources: [frankie2012]) Limitations: - It is a model quantity defined over logical pages, not a counter that a drive reports. (sources: [frankie2012]) - The closed-form write-amplification results assume uniform random traffic and greedy cleaning, so locality and wear leveling change the outcome. (sources: [desnoyers2012]) Sources and caveats: - frankie2012 is the arXiv 1208.1794 preprint of the ACM Transactions on Storage paper by Frankie, Hughes and Kreutz-Delgado of UC San Diego, read on 2026-10-22 in sections 3 and 4. - The (t − u)/t and (t − Xn)/t definitions, 10%, 0.11 and 12.5% figures come from frankie2012. - desnoyers2012 is the SYSTOR 2012 paper by Peter Desnoyers of Northeastern University, read in full on 2026-10-22. - The 13.624, 4.430, 3.002 and 25 or 50 GiB figures come from Table 2 and its discussion in desnoyers2012. - frankie-thesis was not re-read because its PDF could not be retrieved, and no note sentence relies on it. Related terms: - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [trim](https://hesela.dev/terms/trim/) - [discard](https://hesela.dev/terms/discard/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [active-lba-range](https://hesela.dev/terms/active-lba-range/) Citations: - [frankie-thesis] Tasha Christine Frankie. Model and Analysis of Trim Commands in Solid State Drives. UC San Diego doctoral dissertation (2012), chapter 3. https://escholarship.org/uc/item/8gn63800 (accessed 2026-10-18) - [hesela-trim] Hesela: TRIM target selection and finite-state occupancy, model comparison and code. https://hesela.com/analyses/ssd-overprovisioning-denominators/#trim-occupancy (accessed 2026-10-18) - [frankie2012] T. Frankie, G. Hughes and K. Kreutz-Delgado. Analysis of Trim Commands on Overprovisioning and Write Amplification in Solid State Drives. arXiv 1208.1794. https://arxiv.org/abs/1208.1794 (accessed 2026-10-22) - [desnoyers2012] Peter Desnoyers. Analytic Modeling of SSD Write Performance. SYSTOR 2012. https://www.ccs.neu.edu/~pjd/papers/pjd-systor12.pdf (accessed 2026-10-22) ### EFMPlus URL: https://hesela.dev/terms/efmplus/ Also known as: EFM+, DVD 8-to-16 modulation Status: unknown Record updated: 2026-11-23 EFMPlus is a stateful recording modulation code that maps each input byte to sixteen channel-code bits while controlling transition spacing and low-frequency content. Note: The 1995 design replaces EFM's fourteen-bit word plus three merging bits with a rate-8/16 code. Relative to 8/17, the coding-rate gain is 17/16 - 1 = 6.25%, not the total DVD-versus-CD capacity gain. [immink1995] [immink1998] DVD-ROM uses four encoding states. The (2,10) constraint counts zeros between transition indicators; after NRZI conversion the corresponding data runs span 3T to 11T, where T is one channel-clock period. Synchronization has separate rules. [ecma267] A synthetic 16-bit word, 1001001001001001, has legal internal spacing but fails when concatenated with itself: the boundary contains adjacent ones. An encoder must control the join, not just each word in isolation. This is a generic constraint example, not a table lookup. [example] Modulation shapes the recorded signal; it does not replace the outer error-correcting code. Code rate also excludes framing and error-correction overhead. [immink1998] Sources and caveats: - The 1995 abstract establishes the proposal and code rate; encoding details were checked in ECMA-267 clauses 20-22 and Annex G, not inferred from the abstract. - The finite example tests a run constraint, not the DVD lookup tables, synchronization, decoder or error-correction system. No media measurements are reported. Related terms: - [run-length-limited](https://hesela.dev/terms/run-length-limited/) - [digital-sum-value](https://hesela.dev/terms/digital-sum-value/) - [dvd-ecc-block](https://hesela.dev/terms/dvd-ecc-block/) Citations: - [immink1995] Immink. EFMPlus: The Coding Format of the MultiMedia Compact Disc. IEEE TCE 41(3), 491-497 (1995). https://doi.org/10.1109/30.468040 (accessed 2026-11-23) - [ecma267] ECMA-267, 2nd edition (1999), clauses 4.4, 20-22 and Annex G. https://www.ecma-international.org/wp-content/uploads/ECMA-267_2nd_edition_december_1999.pdf (accessed 2026-11-23) - [immink1998] Immink, Siegel and Wolf. Codes for Digital Recorders. IEEE TIT 44(6), 2260-2299 (1998), sections III-A and IV-D. https://cmrr-star.ucsd.edu/static/pubs/codes_digital_recorders.pdf (accessed 2026-11-23) - [example] Hesela - finite RLL boundary and NRZI balance examples, generated results. https://hesela.dev/research/efmplus/results.json (accessed 2026-11-23) - [code] Hesela - executable signal model (JavaScript, CC0). https://hesela.dev/research/efmplus/model.js (accessed 2026-11-23) - [tests] Hesela - exhaustive small-word regression tests (Node.js, CC0). https://hesela.dev/research/efmplus/model.test.js (accessed 2026-11-23) ### Elias-Fano encoding URL: https://hesela.dev/terms/elias-fano/ Also known as: Elias-Fano representation Status: shipping Record updated: 2026-11-17 Elias-Fano encodes a nondecreasing integer sequence by storing fixed-width low bits and a unary representation of the high-bit differences. Note: Layout: For n values in [0, U), choose l = max(0, floor(log2(U/n))) low bits per value. The high-bit stream places its ith one at floor(x_i / 2^l) + i, using zero-based positions. Repeated values are allowed. [vigna] Access: Recover x_i from the position of the ith one and its low bits. Efficient selection or skipping requires auxiliary indexing; the two payload streams alone do not promise constant-time queries. [vigna] Distinction: This is not Elias gamma or delta coding of each gap. The representation exploits ordering but a single global parameter does not adapt to local clusters. [vigna] [pef] Sources and caveats: - Primary-source synthesis, not a reproduction of the papers' retrieval benchmarks. - The linked illustration defines its own stream-ending convention and counts payload bits separately from metadata. Related terms: - [partitioned-elias-fano](https://hesela.dev/terms/partitioned-elias-fano/) - [roaring-bitmap](https://hesela.dev/terms/roaring-bitmap/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [rank-select](https://hesela.dev/terms/rank-select/) Citations: - [vigna] Sebastiano Vigna, Quasi-Succinct Indices, WSDM 2013, sections 4-7; DOI 10.1145/2433396.2433409. https://vigna.di.unimi.it/ftp/papers/QuasiSuccinctIndices.pdf (accessed 2026-11-17) - [pef] Giuseppe Ottaviano and Rossano Venturini, Partitioned Elias-Fano Indexes, SIGIR 2014, sections 4-5; DOI 10.1145/2600428.2609615. https://pages.di.unipi.it/rossano/assets/pdf/papers/SIGIR14.pdf (accessed 2026-11-17) ### Embedded servo URL: https://hesela.dev/terms/embedded-servo/ Also known as: sector servo, wedge servo Status: shipping Record updated: 2026-10-25 Embedded servo interleaves prerecorded head-positioning information with user-data regions on an HDD recording surface. Note: The data head reads positioning patterns between data regions, allowing the controller to locate it relative to a track. This differs from reserving an entire recording surface for servo information. [servo-manual] A servo wedge spans tracks; its intersection with an individual track contains a servo sector. Position information feeds the positioning controller, rather than serving as user-data error correction. [servo-patent] [servo-manual] The associated position error signal helps the actuator follow the selected track as the disk rotates. Track following is an active feedback task, not a one-time seek followed by an immobile head. [servo-honda] Sources and caveats: - The 2000 manual supplies architectural terminology, not current performance specifications. The 2020 patent illustrates a design; it does not establish adoption in every drive. - No universal servo-area fraction, wedge count, sampling rate or positioning precision is assigned. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [seek-time](https://hesela.dev/terms/seek-time/) - [rotational-vibration](https://hesela.dev/terms/rotational-vibration/) - [position-error-signal](https://hesela.dev/terms/position-error-signal/) Citations: - [servo-manual] Maxtor: DiamondMax VL 30 Product Manual (2000), glossary GL-2 and GL-5. https://www.seagate.com/staticfiles/maxtor/en_us/documentation/manuals/dm_30vl_ultra_ata66_manual.pdf (accessed 2026-10-25) - [servo-patent] Ali / Seagate: Servo wedge skipping during track seeking, US10706882B1 (2020), Figs. 2-4. https://patents.google.com/patent/US10706882B1 (accessed 2026-10-25) - [servo-honda] Honda: Temperature Dependent Robust Control of Hard Disk Drives (2016), sections 2.2-2.4. https://dept.aem.umn.edu/~SeilerControl/Thesis/2016/Honda_16PhD_TemperatureDependentRobustControlOfHDDs.pdf (accessed 2026-10-25) - [mechanics] Hesela: HDD mechanical faults, evidence and diagnostic limits. https://hesela.com/analyses/hdd-mechanical-failure-points/#servo-positioning (accessed 2026-10-25) ### eMMC Device Life Time Estimation URL: https://hesela.dev/terms/emmc-life-time-estimation/ Also known as: DEVICE_LIFE_TIME_EST_TYP_A, DEVICE_LIFE_TIME_EST_TYP_B, eMMC lifetime estimate Status: shipping Record updated: 2026-11-06 eMMC Device Life Time Estimation reports estimated average wear of memory types A and B relative to their estimated maximum lifetimes. Note: The A/B fields occupy EXT_CSD bytes 268/269. Codes 0x01 through 0x0A identify successive ten-percentage-point bands of used life; 0x0B means the estimated maximum has been exceeded. Zero is undefined and 0x0C-0xFF are reserved. [emmc-health-standard] The pinned mmc-utils decoder gates this generic reporting at eMMC 5.0. Preserve both raw values and the device-specific meaning of A/B rather than inventing a universal NAND-cell-type mapping. [mmc-health] More detailed, device-specific wear reporting can supplement the coarse endurance estimates. A band is not an exact wear percentage, remaining calendar lifetime or calibrated failure probability. An unchanged code between observations does not demonstrate zero additional wear within that band. [kingston-lifecycle] Sources and caveats: - Source-reviewed field semantics, not measurements from a device or a JEDEC conformance test. - The limits on calendar-time, failure-probability and unchanged-code interpretation are editorial inferences from the field semantics. Related terms: - [emmc](https://hesela.dev/terms/emmc/) - [emmc-pre-eol-information](https://hesela.dev/terms/emmc-pre-eol-information/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) Citations: - [emmc-health-standard] JEDEC JESD84-B51 (February 2015), sections 7.4.22-7.4.24, pages 182-183; TI-hosted copy. https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/JESD84_2D00_B51-_2800_1_2900_.pdf (accessed 2026-11-06) - [mmc-health] mmc-utils c6692d5: health-command revision gate and lifetime/PRE_EOL decoders. https://kernel.googlesource.com/pub/scm/utils/mmc/mmc-utils/+/c6692d5f9bf1ab6fbf5694a0b61477621cc4d016%5E!/ (accessed 2026-11-06) - [kingston-lifecycle] Kingston: eMMC Life-Cycle Estimating, Validating & Monitoring (January 2023). https://www.kingston.com/en/blog/embedded-and-industrial/emmc-lifecycle (accessed 2026-11-06) - [analysis] Hesela: eMMC, UFS and RPMB: interface, boot and security boundaries. https://hesela.com/analyses/emmc-ufs-rpmb-boundaries/ (accessed 2026-11-06) ### eMMC PRE_EOL information URL: https://hesela.dev/terms/emmc-pre-eol-information/ Also known as: PRE_EOL_INFO, eMMC pre end-of-life information Status: shipping Record updated: 2026-11-06 eMMC PRE_EOL_INFO is an EXT_CSD status field that classifies reserve-block condition as normal, warning or urgent. Note: EXT_CSD byte 267 encodes undefined as 0x00, normal as 0x01, warning as 0x02 and urgent as 0x03; 0x04-0xFF are reserved. Warning corresponds to 80% reserve-block consumption. [emmc-health-standard] Generic eMMC 5.0 reporting separates this status from lifetime A/B estimates; device-specific diagnostics may provide more detail. A reserve-block status must not be substituted for endurance-used percentage. [toradex-health] Normal is not a guarantee against all failure modes, and an undefined or reserved code is not evidence of a healthy device. Keep the raw status, device identity and observation time when comparing reports. BKOPS_STATUS is separate: EXT_CSD byte 246, bits 1:0, reports background-operation urgency, with 0x02 indicating performance impact and 0x03 critical work. PRE_EOL 0x03 instead reports urgent reserve-block condition; the matching code does not make the states equivalent. [emmc-health-standard] Sources and caveats: - Interpretation is scoped to the cited standard and implementation guidance; no device failure was observed or predicted. - JESD84-B51 table 105 gives no numeric urgent threshold or strict/inclusive comparison; no additional numeric threshold is inferred. [emmc-health-standard] - The limits on healthy-device conclusions are editorial inferences from the status definitions. Related terms: - [emmc](https://hesela.dev/terms/emmc/) - [emmc-life-time-estimation](https://hesela.dev/terms/emmc-life-time-estimation/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) Citations: - [emmc-health-standard] JEDEC JESD84-B51 (February 2015), sections 7.4.22-7.4.24 and 7.4.33, pages 182-183 and 186; TI-hosted copy. https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/JESD84_2D00_B51-_2800_1_2900_.pdf (accessed 2026-11-06) - [toradex-health] Toradex: eMMC (Linux), generic and vendor-specific health status. https://developer.toradex.com/software/linux-resources/linux-features/emmc-linux/#health-status-as-defined-in-the-emmc-50-standard-onwards (accessed 2026-11-06) - [analysis] Hesela: eMMC, UFS and RPMB: interface, boot and security boundaries. https://hesela.com/analyses/emmc-ufs-rpmb-boundaries/ (accessed 2026-11-06) ### eMMC (embedded MultiMediaCard) URL: https://hesela.dev/terms/emmc/ Also known as: e-MMC, e.MMC, embedded MMC Status: shipping Record updated: 2026-11-06 eMMC is a JEDEC-standard managed-flash device that combines NAND memory and a controller in one package and communicates through a parallel MMC interface. Note: The integrated controller performs address translation, error correction, wear leveling and bad-block management; the host does not directly manage each NAND page. Same package does not mean same silicon die. [emmc-brief] Linux exposes the MMC boot areas separately from the user area, commonly as mmcblkXboot0 and mmcblkXboot1, with writes disabled by default. These device areas are not ordinary filesystem partitions, and their read-only setting is not RPMB authentication. [boot-parts] The eMMC interface name does not identify the NAND bits per cell or establish application-level endurance. The paired guide separates media, interface, boot-area and security questions. [analysis] For ordinary eMMC block I/O, Linux v6.12 mmc_blk_data_prep selects reliable writes when a write request carries Force Unit Access (FUA) and the device path advertises reliable-write support. Its legacy mode restricts transfer size and alignment; a larger request can finish in pieces. This implementation evidence does not establish arbitrary application-transaction atomicity. [mmc-block-612] FUA governs non-volatile completion of the associated write, whereas a preflush covers previously completed writes. [writeback-612] Health reporting also separates endurance-used estimates from reserve-block condition. Keep the two lifetime A/B values and PRE_EOL_INFO distinct; availability of generic reporting starts with eMMC 5.0. Earlier devices may instead expose vendor-specific information. [toradex-health] Related terms: - [ufs](https://hesela.dev/terms/ufs/) - [rpmb](https://hesela.dev/terms/rpmb/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [ftl](https://hesela.dev/terms/ftl/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [emmc-life-time-estimation](https://hesela.dev/terms/emmc-life-time-estimation/) - [emmc-pre-eol-information](https://hesela.dev/terms/emmc-pre-eol-information/) Citations: - [emmc-brief] KIOXIA: e-MMC Managed Flash, product brief Rev. 1.1 (2022). https://www.kioxia.com/content/dam/kioxia/shared/business/memory/mlc-nand/asset/productbrief/KIOXIA_e-MMC_Product_Brief.pdf (accessed 2026-10-17) - [boot-parts] Linux kernel documentation: SD and MMC Device Partitions. https://docs.kernel.org/driver-api/mmc/mmc-dev-parts.html (accessed 2026-10-17) - [analysis] Hesela: eMMC, UFS and RPMB: interface, boot and security boundaries. https://hesela.com/analyses/emmc-ufs-rpmb-boundaries/ (accessed 2026-10-17) - [mmc-block-612] Linux v6.12 MMC block driver: mmc_blk_data_prep and mmc_apply_rel_rw. https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/mmc/core/block.c (accessed 2026-11-04) - [writeback-612] Linux v6.12: Explicit volatile write back cache control, REQ_PREFLUSH and REQ_FUA. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/block/writeback_cache_control.rst (accessed 2026-11-04) - [toradex-health] Toradex: eMMC (Linux), generic and vendor-specific health status. https://developer.toradex.com/software/linux-resources/linux-features/emmc-linux/#health-status-as-defined-in-the-emmc-50-standard-onwards (accessed 2026-11-06) ### End of file URL: https://hesela.dev/terms/end-of-file/ Also known as: EOF Status: shipping Record updated: 2026-11-15 End of file (EOF) is the boundary at a regular file's current logical length, or an end-of-input condition reported by an input interface. Note: For a regular file, a successful read with a positive requested count returns zero when its starting offset is at or beyond the current end. A zero-count request can also return zero without testing that boundary. A positive short read is not itself a zero-byte EOF result. [read] Unwritten gaps before EOF yield zero-valued bytes, not an absence of bytes. Seeking beyond EOF does not extend the file. A later write can grow it; consequently, an earlier EOF observation is not proof that no future read can obtain data. [posix-read] [lseek] For an empty pipe or FIFO, EOF requires that no write end remains open. A positive-count read of an empty buffer with a writer still present instead leads to waiting or, in nonblocking mode, EAGAIN. This is a communication-lifetime condition, not a regular-file size measurement. [pipe] The C feof() function tests a stream's recorded indicator, not current file length. fgetc() returns EOF while that indicator remains set, even after growth. clearerr() clears EOF and error indicators without moving the stream position; a successful fseek() also clears EOF. Clearing the indicator does not guarantee another byte. fgetc() can also return EOF for a read error: distinguish it with ferror(). [feof] [fgetc] [clearerr] [fseek] Limitations: - EOF does not verify a complete backup, unchanged contents or durable storage. - The interpretation of a zero return depends on the interface, object type and requested count. Sources and caveats: - Primary-documentation synthesis. POSIX references are the cited 2017 reproductions, not the 2024 edition. - A six-case Linux/glibc interface demonstration accompanies the related analysis; it does not test crash durability or other C libraries. Related terms: - [file-size](https://hesela.dev/terms/file-size/) - [file-offset](https://hesela.dev/terms/file-offset/) - [regular-file](https://hesela.dev/terms/regular-file/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [short-read](https://hesela.dev/terms/short-read/) Citations: - [read] Linux man-pages: read(2), zero count and return values. https://man7.org/linux/man-pages/man2/read.2.html (accessed 2026-11-15) - [posix-read] POSIX.1-2017: read(), unwritten ranges and end of input. https://man7.org/linux/man-pages/man3/read.3p.html (accessed 2026-11-15) - [lseek] Linux man-pages: lseek(2), seeking past EOF. https://man7.org/linux/man-pages/man2/lseek.2.html (accessed 2026-11-15) - [pipe] Linux man-pages: pipe(7), empty buffers and writer lifetime. https://man7.org/linux/man-pages/man7/pipe.7.html (accessed 2026-11-15) - [feof] POSIX.1-2017: feof(), stream end-of-file indicator. https://man7.org/linux/man-pages/man3/feof.3p.html (accessed 2026-11-15) - [fgetc] POSIX.1-2017: fgetc(), stream state and return values. https://man7.org/linux/man-pages/man3/fgetc.3p.html (accessed 2026-11-15) - [clearerr] POSIX.1-2017: clearerr(), stream state and return values. https://man7.org/linux/man-pages/man3/clearerr.3p.html (accessed 2026-11-15) - [fseek] POSIX.1-2017: fseek(), stream state and return values. https://man7.org/linux/man-pages/man3/fseek.3p.html (accessed 2026-11-15) - [hesela-capacity] Hesela: File length, EOF and zero bytes. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/#file-size-eof (accessed 2026-11-15) ### End-to-end data protection URL: https://hesela.dev/terms/end-to-end-data-protection/ Status: shipping Record updated: 2026-11-13 End-to-end data protection is an integrity scheme whose generation and verification points span an explicitly defined data path. Note: Name both endpoints. Metadata generated below the application cannot by itself validate what happened before generation; a consistently sealed wrong payload can pass. This is distinct from persistence, freshness and successful recovery after damage. Saltzer, Reed and Clark's file-transfer argument distinguishes endpoint verification from useful lower-layer checks that reduce retries. A full-object checksum defines byte coverage, not the endpoints of the protected path. [saltzer-reed-clark] A successful verification return need not mean every interval was checked: PI escape handling is a concrete counterexample. Recording performed and skipped checks separately distinguishes acceptance from evaluation. [hesela-pi-escape] A separate checksum pass can read the page cache rather than the storage device. FIVER's shared-buffer hashing and hybrid verification illustrate why received-buffer agreement, filesystem readback and power-loss recovery have different boundaries. Cache behavior alone does not certify all write-fault detection. [fiver] Sources and caveats: - PI escape evidence is version-scoped: historical NVMe 1.4c plus extracted Linux v6.12 control flow with a checksum stub; not a controller or running-kernel test. - The cited experiment executes sixteen selected fixtures, including zero/eight-byte metadata prefixes, against an unchanged verifier with user-space adapters and a fixed-value checksum stub; call counts are not counts of checked intervals. Related terms: - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [protection-information](https://hesela.dev/terms/protection-information/) - [lost-write](https://hesela.dev/terms/lost-write/) - [misdirected-write](https://hesela.dev/terms/misdirected-write/) - [checksum](https://hesela.dev/terms/checksum/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [full-object-checksum](https://hesela.dev/terms/full-object-checksum/) - [data-integrity-extensions](https://hesela.dev/terms/data-integrity-extensions/) Citations: - [c1] End-to-end data protection. https://en.wikipedia.org/wiki/End-to-end_data_integrity (accessed 2026-03-26) - [linux] Linux kernel documentation: Data Integrity, protection boundaries and automatic metadata generation. https://docs.kernel.org/block/data-integrity.html (accessed 2026-10-11) - [hesela-integrity] Hesela: checksum, identity and freshness boundaries with executable synthetic examples. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-10-11) - [saltzer-reed-clark] Saltzer, Reed and Clark (1984): End-to-End Arguments in System Design, ACM TOCS 2(4), 277-288; MIT reprint. https://web.mit.edu/Saltzer/www/publications/endtoend/endtoend.pdf (accessed 2026-10-16) - [hesela-pi-escape] Hesela: PI escape conditions, source hashes and sixteen control-flow fixtures. https://hesela.com/analyses/protection-information-escape-tags/ (accessed 2026-10-17) - [fiver] Arslan and Alhussen (2018): Fast Integrity Verification for High-Speed File Transfers; arXiv:1811.01161v1, sections III and IV.B; DOI 10.48550/arXiv.1811.01161. https://arxiv.org/abs/1811.01161v1 (accessed 2026-10-23) ### Enterprise SSD URL: https://hesela.dev/terms/enterprise-ssd/ Technology reference: https://hesela.com/tech/enterprise-ssd/ Also known as: datacenter SSD Status: shipping Record updated: 2026-10-19 An enterprise SSD is a solid-state drive intended for server, storage-array or other multi-user storage environments. Note: SNIA SSS PTS 2.0.2 defines enterprise by deployment environment, not a universal product certification [snia-pts]. SNIA's NVMe classification separates enterprise-server and enterprise-storage profiles and allows exceptions; dual ports are not implied by every enterprise label [snia-classification]. Verify the exact model's endurance workload, persistence contract and supported ports. Hardware energy reserve and firmware recovery can protect different data and metadata, so a generic PLP claim needs its documented scope [kingston-plp]. A concrete persistence requirement appears in OCP Datacenter NVMe SSD Specification 2.6 (2024): section 7.8 PLP-1 covers acknowledged user data and device metadata, not every outstanding request. NVMe-IO-3 specifies power-fail-safe cache behavior for compliant devices. Neither requirement is evidence that all enterprise-labelled products comply. [enterprise-ssd-ocp-dc-nvme] With volatile write-back caching, ordinary completion can precede persistence. Linux distinguishes a flush of earlier completed writes from FUA persistence for the associated request; the complete storage path must honor those semantics. Device PLP does not make unsubmitted application buffers durable. [linux-cache] The cited enterprise-drive paper provides a model-specific 1 DWPD example and describes dual-port support. Its endurance table does not state the rating period. Two access paths are not two independent data copies; check host failover separately from data redundancy. [enterprise-ssd-samsung-pm1743] Field replacement evidence needs its event definition and firmware context. The FAST 2020 study includes preventative removals; later firmware was not uniformly associated with fewer replacements. [enterprise-ssd-maneas-fast20] Limitations: - Performance-test methodology is not a reliability, availability or data-integrity certification. (sources: [snia-pts]) - An endurance rating is workload-dependent, not an exact failure date. (sources: [snia-endurance]) Sources and caveats: - Source review of versioned specifications and a product white paper; no new device measurements or certification. - Existing term, source IDs and schema fields retained; OCP 2.6 is a pinned example, not a claim about the latest revision. - The product example is Samsung PM1743, white paper May 2024, pages 4 and 6; the listed 1 DWPD lacks a stated rating period. [enterprise-ssd-samsung-pm1743] Related terms: - [consumer-ssd](https://hesela.dev/terms/consumer-ssd/) - [nvme](https://hesela.dev/terms/nvme/) - [sas](https://hesela.dev/terms/sas/) - [tlc](https://hesela.dev/terms/tlc/) - [qlc](https://hesela.dev/terms/qlc/) - [ftl](https://hesela.dev/terms/ftl/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [ssd](https://hesela.dev/terms/ssd/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [ssd-steady-state](https://hesela.dev/terms/ssd-steady-state/) - [computational-storage](https://hesela.dev/terms/computational-storage/) - [dwpd](https://hesela.dev/terms/dwpd/) - [tbw](https://hesela.dev/terms/tbw/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) - [dual-port](https://hesela.dev/terms/dual-port/) Citations: - [snia-pts] SNIA: Solid State Storage Performance Test Specification 2.0.2, 1 October 2020. Sections 1.3, 1.5, 2.1.6-2.1.7 and 3.1. https://www.snia.org/sites/default/files/2025-02/SNIA-SSS-PTS-2.0.2.pdf (accessed 2026-10-15) - [snia-classification] SNIA: NVMe SSD Classification. Enterprise-server and enterprise-storage profiles have different port expectations; profiles allow exceptions. https://www.snia.org/node/13864 (accessed 2026-10-15) - [kingston-plp] Kingston: SSD Power Loss Protection. Hardware and firmware protection scope. https://www.kingston.com/unitedkingdom/en/blog/servers-and-data-centers/ssd-power-loss-protection (accessed 2026-10-15) - [snia-endurance] SNIA: Endurance of NVMe, SAS, and SATA SSDs. Endurance, workload and deallocation. https://www.snia.org/sites/default/files/SSSI/NVMe_SAS_SATA_Endurance_White_Paper.pdf (accessed 2026-10-15) - [enterprise-ssd-ocp-dc-nvme] Open Compute Project: Datacenter NVMe SSD Specification 2.6, 25 September 2024. Section 4.5 NVMe-IO-3 and section 7.8 PLP-1, PLP-3, PLP-4 and PLP-6. https://www.opencompute.org/documents/datacenter-nvme-ssd-specification-v2-6-2-pdf (accessed 2026-10-19) - [enterprise-ssd-samsung-pm1743] Samsung: PM1743 white paper (May 2024), pages 4 and 6. Product-specific endurance, dual-port and telemetry descriptions. https://download.semiconductor.samsung.com/resources/white-paper/PM1743_White_Paper_240510.pdf (accessed 2026-10-19) - [linux-cache] Linux v6.12 documentation: Explicit volatile write back cache control, cache flush, FUA and remapping-driver sections. https://www.kernel.org/doc/html/v6.12/block/writeback_cache_control.html (accessed 2026-10-19) - [enterprise-ssd-maneas-fast20] Maneas, Mahdaviani, Emami and Schroeder: A Study of SSD Reliability in Large Scale Enterprise Storage Deployments. FAST 2020, sections 2.2, 3.2, 4, 5.5 and 7. https://files.usenix.org/s3fs-public/cdn/fast20-maneas.pdf (accessed 2026-10-19) ### Entity tag URL: https://hesela.dev/terms/entity-tag/ Also known as: ETag, HTTP entity tag Status: shipping Record updated: 2026-10-23 An entity tag is an opaque HTTP validator assigned by a server to a selected representation for cache validation and conditional requests. Note: An ETag identifies a representation within the server's validation rules; it is not a portable file digest, a deduplication key, or a monotonically increasing version counter. Preserve the returned value when sending a conditional request rather than deriving one from the object's bytes. In Amazon S3, ETags and explicitly named checksum fields serve different purposes. Advantages: - HTTP conditional requests can validate cached representations or reject a write when the supplied validator no longer matches the current representation. (sources: [c1]) - Amazon S3 PutObject and CompleteMultipartUpload accept an existing object's ETag through If-Match for a server-side write precondition. (sources: [c3]) Limitations: - In S3 general-purpose buckets, an ETag can equal the object-data MD5 for supported single-part operations with plaintext or SSE-S3 encryption, but multipart upload and SSE-KMS or SSE-C do not provide that MD5 guarantee. (sources: [c2]) - S3 ETags reflect object contents, not metadata; matching ETags are not proof that no intervening write or metadata change occurred. (sources: [c2], [c4]) - HTTP If-Match requires strong comparison, so a weak validator such as W/"example" cannot establish a strong match. (sources: [c1]) Related terms: - [object-storage](https://hesela.dev/terms/object-storage/) - [conditional-write](https://hesela.dev/terms/conditional-write/) - [multipart-upload](https://hesela.dev/terms/multipart-upload/) - [object-version-id](https://hesela.dev/terms/object-version-id/) - [byte-range-request](https://hesela.dev/terms/byte-range-request/) Citations: - [c1] RFC 9110: HTTP Semantics, entity tags and conditional requests. https://www.rfc-editor.org/rfc/rfc9110.html#section-8.8.3 (accessed 2026-10-12) - [c2] Amazon S3 API Reference: Object, ETag semantics. https://docs.aws.amazon.com/AmazonS3/latest/API/API_Object.html (accessed 2026-10-12) - [c3] Amazon S3: How to prevent object overwrites with conditional writes. https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-writes.html (accessed 2026-10-12) - [c4] Object ETags: checksums and conditional writes are different. https://hesela.com/analyses/object-etags-checksums-conditional-writes/ (accessed 2026-10-12) ### Entropy coding URL: https://hesela.dev/terms/entropy-coding/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: Entropy encoding Status: shipping Record updated: 2026-11-19 Entropy coding is a family of lossless coding methods that use a probability model to reduce the expected encoded length of symbols or sequences. Note: Expectation: Shannon's source-coding limit concerns an average for a specified stochastic source, not a promise that every file becomes shorter. A byte-frequency histogram omits order and higher-order dependencies, so its entropy is not a universal minimum file size. [shannon1948] Model: Huffman coding, arithmetic coding and asymmetric numeral systems are different constructions. Their decoding rules and probability models must agree with the encoder; the family name does not identify an interchangeable bitstream. [witten1987] [duda-ans] Accounting: Model descriptions, stopping rules, byte packing and framing can outweigh payload savings on a small object. The linked exact worksheet reports payload bits and packed bytes separately and excludes model and framing costs; it is not a production compressor or benchmark. [witten1987] [hesela-arithmetic] Denominator: Tunstall coding assigns fixed-width indices to variable-length phrases. Its long-stream payload rate divides bits per phrase by expected phrase length; averaging each phrase's bits-per-symbol ratio uses a different weighting. The worksheet makes this distinction with 128 bits for 148 symbols. [tunstall2006] [hesela-arithmetic] Sources and caveats: - Primary-source synthesis and original exact-rational teaching arithmetic; no empirical compression ratio or universal file-size bound. Related terms: - [arithmetic-coding](https://hesela.dev/terms/arithmetic-coding/) - [huffman-coding](https://hesela.dev/terms/huffman-coding/) - [asymmetric-numeral-systems](https://hesela.dev/terms/asymmetric-numeral-systems/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [tunstall-coding](https://hesela.dev/terms/tunstall-coding/) Citations: - [shannon1948] Claude E. Shannon: A Mathematical Theory of Communication (1948), sections 6 and 9, Theorem 9. https://people.math.harvard.edu/~ctm/home/text/others/shannon/entropy/entropy.pdf (accessed 2026-11-18) - [witten1987] Ian H. Witten, Radford M. Neal and John G. Cleary: Arithmetic Coding for Data Compression, CACM 30(6), 520-540 (1987), DOI 10.1145/214762.214771. https://web.stanford.edu/class/ee398a/handouts/papers/WittenACM87ArithmCoding.pdf (accessed 2026-11-18) - [duda-ans] Jarek Duda: Asymmetric numeral systems, arXiv:1311.2540v2 (2014), sections 1-2. https://arxiv.org/abs/1311.2540v2 (accessed 2026-11-18) - [hesela-arithmetic] Hesela: exact rational interval worksheet, synthetic two-symbol messages. https://hesela.dev/research/arithmetic-intervals/results.json (accessed 2026-11-18) - [tunstall2006] Drmota, Reznik, Savari and Szpankowski: Precise Asymptotic Analysis of the Tunstall Code, ISIT 2006, sections I-II. https://www.cs.purdue.edu/homes/spa/papers/isit06-tunstall.pdf (accessed 2026-11-18) ### Envelope encryption URL: https://hesela.dev/terms/envelope-encryption/ Related analysis: https://hesela.com/analyses/ssd-sanitization-trim-evidence/ Status: shipping Record updated: 2026-11-22 Envelope encryption protects data with a data-encryption key and protects that key with a separate key-encryption key. Note: Key hierarchy: the data-encryption key (DEK) encrypts the payload; the key-encryption key (KEK) wraps the DEK. Storage retains ciphertext and a wrapped DEK, while decryption needs an authorized path to unwrap the DEK. A KEK can protect many DEKs. [envelope-guide] Wrapping protects the key's confidentiality and integrity. Wrapping the DEK alone does not authenticate payload bytes or an object identifier outside the protected input; the application must provide that binding. [key-wrap] Architectural consequence: rewrapping the same DEK under a new KEK changes its encrypted representation, not the payload key. The existing payload ciphertext can remain unchanged. Re-encrypting the payload with a new DEK is a separate migration. [envelope-guide] [reencrypt-guide] Recovery dependency: losing the only usable unwrapping path can make retained ciphertext unreadable. Rotation alone leaves prior versions usable in the cited key-version lifecycle; it is not evidence of cryptographic erase. [rotation-guide] Recipient agreement: in the 2022 paper's noncommitting construction, a malicious encryptor can wrap different DEKs for different recipients while constructing one payload ciphertext accepted under both. Authenticated wrapping alone does not establish a shared plaintext. [albertini2022] Sources and caveats: - Google Cloud KMS supplies the example hierarchy and key-version lifecycle; these are not guarantees about every storage device. - NIST SP 800-38F is used for wrapping semantics, not to recommend every legacy algorithm in its 2012 edition. Related terms: - [key-rotation](https://hesela.dev/terms/key-rotation/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [key-commitment](https://hesela.dev/terms/key-commitment/) Citations: - [envelope-guide] Google Cloud KMS: Envelope encryption, data keys and key-encryption keys. https://docs.cloud.google.com/kms/docs/envelope-encryption (accessed 2026-11-14) - [rotation-guide] Google Cloud KMS: Key rotation, after you rotate keys. https://docs.cloud.google.com/kms/docs/key-rotation (accessed 2026-11-14) - [key-wrap] NIST SP 800-38F (2012): Methods for Key Wrapping, sections 3.1, 5.2 and Appendix B.2. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf (accessed 2026-11-14) - [reencrypt-guide] Google Cloud KMS: Re-encrypting data, workflow. https://docs.cloud.google.com/kms/docs/re-encrypt-data (accessed 2026-11-14) - [albertini2022] Albertini et al.: How to Abuse and Fix Authenticated Encryption Without Key Commitment. USENIX Security 2022, pp. 3291-3308, sections 2-3. https://www.usenix.org/system/files/sec22-albertini.pdf (accessed 2026-11-22) ### EnvyFS URL: https://hesela.dev/terms/envyfs/ Also known as: EnvyFS3 Status: research Record updated: 2026-12-02 EnvyFS is a research filesystem that compares results from different child filesystems and returns their majority result to tolerate software faults. Note: The Linux 2.6.12 prototype uses ext3, JFS and ReiserFS on one disk. It compares operation results semantically; no majority produces an I/O error. This is software diversity, not independent disk redundancy. [envy09] SubSIST coalesces matching blocks across children, but preserves duplicate blocks within each child. Its prototype leaves address mappings and reference counts volatile, so reported performance omits their persistence cost. [envy09] Table 1 reports 147 content-difference tests: 91 correct successes and 56 expected errors. These are selected injected cases, not a field failure rate. [envy09] Separate development does not establish independent failures. Knight and Leveson found dependent errors in independently written programs for a different, non-storage task; that experiment does not measure EnvyFS reliability. [knight86] Synthetic example: three binary outputs, each wrong with probability p. Independent failures give wrong-majority probability 3p^2 - 2p^3; perfectly shared failures give p. At p = 0.01 these are 0.0298% and 1%, despite identical per-child error probabilities. This arithmetic assumes a perfect voter and identical wrong outputs, not measured EnvyFS behavior. [majority-model] Limitations: - The design assumes non-malicious children and faults contained outside the shared VFS and voting layers; arbitrary kernel corruption is outside that boundary. (sources: [envy09]) Sources and caveats: - Historical source synthesis, not a reproduction of the kernel prototype. [envy09] - The probability example is a deliberately simplified thought experiment; p is selected, not fitted to storage observations. [majority-model] Related terms: - [failure-domain](https://hesela.dev/terms/failure-domain/) - [io-shepherding](https://hesela.dev/terms/io-shepherding/) - [checksum](https://hesela.dev/terms/checksum/) - [deduplication](https://hesela.dev/terms/deduplication/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) Citations: - [envy09] Bairavasundaram et al. Tolerating File-System Mistakes with EnvyFS. USENIX ATC 2009, sections 3-6 and Table 1. https://www.usenix.org/legacy/event/usenix09/tech/full_papers/bairavasundaram/bairavasundaram.pdf (accessed 2026-12-02) - [knight86] Knight and Leveson. An Experimental Evaluation of the Assumption of Independence in Multiversion Programming. IEEE TSE 12(1), 1986. https://doi.org/10.1109/TSE.1986.6312924 (accessed 2026-12-02) - [majority-model] Hesela: majority agreement, wrong answers and shared failures; executable synthetic example. https://hesela.dev/research/envyfs-majority/README.md (accessed 2026-12-02) ### Energy-assisted perpendicular magnetic recording (ePMR) URL: https://hesela.dev/terms/epmr/ Related article: https://hesela.com/tech/mamr/ Also known as: ePMR, Energy-assisted PMR Status: shipping Record updated: 2026-10-16 Energy-assisted perpendicular magnetic recording (ePMR) is Western Digital's write-assist approach in which a DC bias through the write pole makes the write field more consistent, reducing recording jitter. Note: Western Digital describes the bias as favoring a path for magnetization reversal in the write head [wd-recording-technologies]. This is distinct from MAS-MAMR's microwave-assisted reversal in the recording medium. ePMR is one approach within energy-assisted magnetic recording, not an alias for all EAMR or MAMR; it also does not specify CMR versus SMR track layout [wd-recording-technologies]. Limitations: - The term identifies Western Digital's described write-assist mechanism, not a universal performance or capacity guarantee. Related terms: - [mamr](https://hesela.dev/terms/mamr/) - [fc-mamr](https://hesela.dev/terms/fc-mamr/) - [mas-mamr](https://hesela.dev/terms/mas-mamr/) - [pmr](https://hesela.dev/terms/pmr/) Citations: - [wd-recording-technologies] Western Digital: Recording Technologies, pp. 3-5. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/tech-brief/tech-brief-recording-technologies.pdf (accessed 2026-10-16) ### Epoch persistency URL: https://hesela.dev/terms/epoch-persistency/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: persist epoch Status: research Record updated: 2026-11-13 Epoch persistency uses persist barriers to divide a thread's execution into regions whose durable updates are ordered across barriers while permitting reordering within a region. Note: An epoch is not an all-or-nothing transaction. The original model preserves conflicting-address constraints, assumes sequential consistency and eight-byte atomic persists, and discusses cross-thread persist-epoch races. Do not transfer these assumptions to every implementation called epoch-based. [pelley14] Later treatments distinguish explicit writeback and persistence primitives. [han21] Granularity: Atomic persist size and dependency tracking granularity are separate. Larger atomic writes can enable coalescing; coarser conflict tracking can create false sharing even through volatile addresses. These are model comparisons, not measured persistent-memory hardware throughput. [pelley14] Related terms: - [memory-persistency](https://hesela.dev/terms/memory-persistency/) - [strict-persistency](https://hesela.dev/terms/strict-persistency/) - [strand-persistency](https://hesela.dev/terms/strand-persistency/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [bpfs](https://hesela.dev/terms/bpfs/) Citations: - [pelley14] Pelley, Chen and Wenisch. Memory Persistency. ISCA 2014, pp. 265-276; sections 4-5, Table 1; section 8.2, Figures 4-5. https://courses.grainger.illinois.edu/ece598ms/fa2019/papers/paper61.pdf (accessed 2026-10-28) - [han21] Han and Kimura. Durable Queue Implementations Built on a Formally Defined Strand Persistency Model. JIP 29 (2021), pp. 823-838, sections 2-3. https://www.jstage.jst.go.jp/article/ipsjjip/29/0/29_823/_pdf/-char/en (accessed 2026-10-19) - [retrospective] Steven Pelley, Peter M. Chen and Thomas F. Wenisch. RETROSPECTIVE: Memory Persistency. ISCA retrospective, 2023; sections I-II. https://bpb-us-w2.wpmucdn.com/sites.coecis.cornell.edu/dist/7/587/files/2023/06/Pelley_2014_Memory.pdf (accessed 2026-10-19) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/#persistency-models (accessed 2026-10-19) ### Erasure coding URL: https://hesela.dev/terms/erasure-coding/ Status: shipping Record updated: 2026-11-21 Erasure coding encodes data with redundancy so that missing fragments at known locations can be reconstructed from a sufficient, code-dependent set of surviving fragments. Note: In systematic storage codes, data fragments are accompanied by coding fragments. Storage factor is total encoded bytes divided by payload bytes, while repair cost also depends on the code and failure pattern. Recovery guarantees must be matched to fragment placement and failure domains. Local parity does not generally confer the same any-subset recovery guarantee as an MDS Reed-Solomon code. Surviving fragments must be correct and belong to the expected codeword. An erasure-only decoder assumes known missing positions; accepting silently damaged input is a different fault model. [rfc5510] Related terms: - [fountain-code](https://hesela.dev/terms/fountain-code/) - [lt-code](https://hesela.dev/terms/lt-code/) - [dna-data-storage](https://hesela.dev/terms/dna-data-storage/) - [oligonucleotide-dropout](https://hesela.dev/terms/oligonucleotide-dropout/) - [raid](https://hesela.dev/terms/raid/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [object-storage](https://hesela.dev/terms/object-storage/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [locally-repairable-code](https://hesela.dev/terms/locally-repairable-code/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [crush-placement](https://hesela.dev/terms/crush-placement/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [systematic-code](https://hesela.dev/terms/systematic-code/) - [mean-time-to-data-loss](https://hesela.dev/terms/mean-time-to-data-loss/) - [normalized-magnitude-data-loss](https://hesela.dev/terms/normalized-magnitude-data-loss/) - [stair-code](https://hesela.dev/terms/stair-code/) - [sector-disk-code](https://hesela.dev/terms/sector-disk-code/) - [carbink](https://hesela.dev/terms/carbink/) - [raptor-code](https://hesela.dev/terms/raptor-code/) - [raptorq](https://hesela.dev/terms/raptorq/) - [weaver-codes](https://hesela.dev/terms/weaver-codes/) - [liberation-codes](https://hesela.dev/terms/liberation-codes/) - [shingled-erasure-code](https://hesela.dev/terms/shingled-erasure-code/) Citations: - [c1] Erasure coding. https://en.wikipedia.org/wiki/Erasure_coding (accessed 2026-03-26) - [ceph-ec] Ceph Reef: Erasure code, overhead and failure-domain placement. https://docs.ceph.com/en/reef/rados/operations/erasure-code/ (accessed 2026-10-11) - [hesela-lrc] Local repair is not whole-node repair. https://hesela.com/analyses/lrc-repair-costs-locality/ (accessed 2026-10-11) - [rfc5510] Lacan, Roca, Peltotalo and Peltotalo. RFC 5510 (2009), sections 3.1, 8.2-8.4: systematic encoding and the erasure-channel assumption. https://www.rfc-editor.org/rfc/rfc5510.html (accessed 2026-10-13) ### EROFS URL: https://hesela.dev/terms/erofs/ Related analysis: https://hesela.com/analyses/btrfs-tree-log-read-only-replay/ Also known as: Enhanced Read-Only File System Status: shipping Record updated: 2026-11-22 EROFS is a Linux read-only filesystem for prepared images, with optional transparent file-data compression. Note: The Linux v6.16 documentation describes both uncompressed and compressed data layouts, inline tail packing and fragments. mkfs.erofs prepares images; selecting EROFS does not require compression. [erofs] Read-only filesystem access is separate from authenticating the image. In a block-backed deployment, dm-verity can verify accessed blocks against a trusted root hash; the format name alone does not establish that protection. [verity] In EROFS fixed-sized output compression, the compressed physical cluster and the variable-sized uncompressed extent are different units. The v6.16 manual dates larger physical clusters to Linux v5.13; 4 KiB is not a universal compressed-cluster limit. [erofs] Advantages: - Optional compression and multiple data layouts allow image construction to fit different read-only uses. (sources: [erofs]) Limitations: - Feature and decompressor support must match the reader; this record does not rank runtime performance. (sources: [erofs]) Sources and caveats: - Version-pinned documentation review; no image-mount experiment or comparative benchmark. Related terms: - [squashfs](https://hesela.dev/terms/squashfs/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) - [dm-verity](https://hesela.dev/terms/dm-verity/) - [transparent-compression](https://hesela.dev/terms/transparent-compression/) - [rubikfs](https://hesela.dev/terms/rubikfs/) Citations: - [erofs] Linux v6.16: EROFS overview and on-disk data layouts. https://docs.kernel.org/6.16/filesystems/erofs.html (accessed 2026-10-23) - [verity] Linux v6.16: dm-verity trust and on-demand verification. https://docs.kernel.org/6.16/admin-guide/device-mapper/verity.html (accessed 2026-10-23) ### eRPC URL: https://hesela.dev/terms/erpc/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: Efficient RPC Status: research Record updated: 2026-11-16 eRPC is a datacenter RPC library that supplies asynchronous request handling, loss recovery and congestion control over unreliable packet transports. Note: The paper uses UDP on lossy Ethernet and unreliable datagrams on InfiniBand, rather than one-sided remote-memory operations. Dispatch threads must run their event loops; long handlers can use worker threads. Client retransmission uses go-back-N, while the server avoids executing the same request handler twice. Suspected node failure produces error callbacks. [paper] Table 6 reports a 5.5 microsecond client-side median and 6.3 microsecond 99th percentile for replicated PUTs: three replicas, one client, 16-byte keys, 64-byte values and logs plus data in DRAM. Leader-side median latency is separately 3.1 microseconds. These observation points are not interchangeable. Competing systems were compared through published results on different hardware, not one common testbed. [paper] At the pinned artifact revision, the SMR example supports PUTs and one client, lacks log compaction and membership changes, and documents a maximum-RPC-size constraint during leader replacement. These are example-application limits, not limits of the RPC library. [smr-notes] The optional PmemLog constructor sets the volatile entry count to zero, clears persistent metadata and appends a dummy entry. Its append path persists entry data before the entry count. This source inspection demonstrates initialization and append ordering, not restart recovery; the presence of PMEM code does not turn the paper's DRAM result into a persistent-storage benchmark. [pmem-source] Limitations: - The reported latency is not a disk-persistence measurement; RPC duplicate suppression alone does not establish durable application-level retry handling. (sources: [paper]) Sources and caveats: - Literature and pinned-source review. No network benchmark, crash-recovery experiment or independent reproduction was performed. The inspected revision is not asserted to be the paper's evaluated artifact. Related terms: - [raft](https://hesela.dev/terms/raft/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [remote-procedure-call](https://hesela.dev/terms/remote-procedure-call/) Citations: - [paper] Kalia, Kaminsky and Andersen. Datacenter RPCs can be General and Fast. NSDI 2019, pp. 1-16; sections 3, 5.3, 7.1, Table 6 and Appendix B. https://www.usenix.org/system/files/nsdi19-kalia.pdf (accessed 2026-11-16) - [smr-notes] eRPC SMR example: implementation constraints and leader-change notes, revision de83dab3eab4a0fb19bfc4881c11d4a6b89ff17d. https://github.com/erpc-io/eRPC/blob/de83dab3eab4a0fb19bfc4881c11d4a6b89ff17d/apps/smr/README.md (accessed 2026-11-16) - [pmem-source] eRPC PmemLog: constructor and append, revision de83dab3eab4a0fb19bfc4881c11d4a6b89ff17d. https://github.com/erpc-io/eRPC/blob/de83dab3eab4a0fb19bfc4881c11d4a6b89ff17d/apps/smr/pmem_log.h (accessed 2026-11-16) ### Error-and-erasure decoding URL: https://hesela.dev/terms/error-and-erasure-decoding/ Related analysis: https://hesela.com/analyses/reed-solomon-matrix-recovery-guarantees/ Also known as: Errors-and-erasures decoding, Bounded-distance error-and-erasure decoding Status: shipping Record updated: 2026-10-15 Error-and-erasure decoding reconstructs a codeword while accounting for both known erased positions and incorrect values at unknown positions. Note: For minimum distance d, a suitable bounded-distance decoder guarantees unique recovery with e errors among the non-erased positions and s erasures when 2e + s < d; for an MDS code this is 2e + s <= n - k. [forney] An erasure-only matrix solver need not locate unknown errors. Outside the guarantee, a single candidate can still be wrong, as the reproducible Hesela example demonstrates. [hesela-errors] Limitations: - The bound is a universal unique-decoding guarantee, not a failure probability or a guarantee that every out-of-bound pattern is unrecoverable. - Decoder capability, trusted positions and codeword identity must be established separately; a code family name is insufficient. Related terms: - [symbol-erasure](https://hesela.dev/terms/symbol-erasure/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [codeword](https://hesela.dev/terms/codeword/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) Citations: - [forney] G. David Forney. Principles of Digital Communication II, MIT 6.451 (2005), section 6.5.3: bounded-distance erasure-and-error correction. https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf (accessed 2026-10-15) - [senger] Senger, Sidorenko, Schober, Bossert and Zyablov. Adaptive Single-Trial Error/Erasure Decoding of Reed-Solomon Codes (2011), arXiv:1104.0576v1, sections II-V. Full five-page version reviewed. https://arxiv.org/pdf/1104.0576v1 (accessed 2026-10-15) - [hesela-errors] Hesela: exact GF(7) errors-and-erasures examples, including an ambiguous observation and false-identification negative control. https://hesela.com/analyses/reed-solomon-matrix-recovery-guarantees/#errors-erasures (accessed 2026-10-15) ### Error-bounded lossy compression URL: https://hesela.dev/terms/error-bounded-lossy-compression/ Also known as: Error-controlled lossy compression Status: shipping Record updated: 2026-11-17 Error-bounded lossy compression permits approximate reconstruction while constraining a specified error measure under stated input and implementation conditions. Note: Error measure: A pointwise absolute bound limits every |x - reconstructed x|. A pointwise relative bound divides each error by that value's magnitude, whereas a block-relative bound uses a block norm. These denominators answer different questions; zero values need an explicit policy. [analysis] Scope: Error control concerns numerical reconstruction, not bitwise identity or the accuracy of a later simulation. The zfp error analysis separates conversion, transform and bit-plane truncation errors; a local reconstruction bound is not a proof of stability under repeated application updates. [analysis] Example: Native zfp compression of [1, 2^-30, -2^-40, 0] at precision 16 loses both small nonzero values: maximum absolute error is 2^-30, but maximum pointwise relative error is 100%. Zero is excluded from the relative denominator and checked separately. [probe] Limitations: - A requested tolerance is meaningful only with its units, norm, supported value domain and codec configuration; a size limit is a different constraint. (sources: [analysis], [probe]) Sources and caveats: - General error-measure synthesis, illustrated by zfp rather than a guarantee shared by all lossy codecs. - The native inputs are constructed controls, not sampled scientific measurements. Positive-tolerance checks passed for the tested arrays only. Related terms: - [zfp](https://hesela.dev/terms/zfp/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) Citations: - [analysis] Diffenderfer et al. (2019): Error Analysis of ZFP Compression for Floating-Point Data, sections 4-6, arXiv v3. https://arxiv.org/abs/1805.00546v3 (accessed 2026-11-17) - [probe] Hesela: native zfp 1.0.1 error budgets and padded-block byte accounting. https://hesela.dev/research/zfp-error-budgets/README.md (accessed 2026-11-17) ### Error-correcting code URL: https://hesela.dev/terms/error-correcting-code/ Related analysis: https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ Also known as: ECC, error correction code Status: shipping Record updated: 2026-11-06 An error-correcting code adds structured redundancy to data so a decoder can detect and correct specified error patterns. Note: Correction has limits set by the code and decoder. A decoder may declare failure or miscorrect; successful completion is not an unconditional integrity guarantee. NAND implementations can combine ECC with additional error-detection checks. [cai2017] Specify the error model as well as the code. A substitution changes a symbol value; a sequence deletion removes a symbol and shifts the later positions. Binary VT codes provide a single-deletion/insertion guarantee, not an interchangeable substitution-correction budget. [vt-sync] Limitations: - The label ECC alone does not specify a correction budget or end-to-end data protection. (sources: [cai2017]) Related terms: - [codeword](https://hesela.dev/terms/codeword/) - [ldpc](https://hesela.dev/terms/ldpc/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [raw-bit-error-rate](https://hesela.dev/terms/raw-bit-error-rate/) - [uncorrectable-bit-error-rate](https://hesela.dev/terms/uncorrectable-bit-error-rate/) - [checksum](https://hesela.dev/terms/checksum/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [bch-code](https://hesela.dev/terms/bch-code/) - [error-syndrome](https://hesela.dev/terms/error-syndrome/) - [varshamov-tenengolts-code](https://hesela.dev/terms/varshamov-tenengolts-code/) Citations: - [snia-ecc] SNIA Dictionary: Error Correcting Code. https://www.snia.org/education/online-dictionary/term/error-correcting-code (accessed 2026-10-12) - [cai2017] Cai et al. Error Characterization, Mitigation, and Recovery in Flash Memory Based Solid-State Drives (2017), sections II.C and VI.C. https://research.ece.cmu.edu/safari/pubs/1706.08642.pdf (accessed 2026-10-12) - [hesela-ldpc] Hesela: LDPC in NAND, the read cost of confidence. https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ (accessed 2026-10-12) - [vt-sync] N. J. A. Sloane. On Single-Deletion-Correcting Codes (revised 7 November 2002), sections 1-2, equation (4). https://neilsloane.com/doc/dijen.pdf (accessed 2026-11-06) ### Error recovery control URL: https://hesela.dev/terms/error-recovery-control/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: SCT Error Recovery Control, SCT ERC, ERC, Time-Limited Error Recovery, TLER, CCTL (recovery control) Status: shipping Record updated: 2026-10-16 Error recovery control configures read and write recovery time limits for applicable ATA commands. Note: SCT ERC controls drive-side recovery, not the host command timer. One SATA drive-family specification excludes streaming and out-of-order queued commands from its general recovery timer, so the applicable command class matters. The CCTL alias here refers to recovery control, not the separate command-completion limit used by ATA streaming commands. [c1] [c2] In smartctl 7.5, -l scterc queries current values; -l scterc,p queries power-on-persistent values. Read/write arguments use deciseconds, and zero disables the feature. Adding those arguments changes settings. Persistent/reset extensions require device support for ACS-4 or later. [c2] An ERC setting is not a measured latency bound for an application. Recovery, queueing and host error handling remain separate parts of the path. [c3] Sources and caveats: - The HC670 manual is a drive-family example, not a universal ATA recovery contract. [c1] - Command syntax follows smartmontools 7.5; no disk settings were changed or latency measurements performed. Related terms: - [io-timeout](https://hesela.dev/terms/io-timeout/) - [command-duration-limit](https://hesela.dev/terms/command-duration-limit/) - [sata](https://hesela.dev/terms/sata/) - [scsi](https://hesela.dev/terms/scsi/) - [raid](https://hesela.dev/terms/raid/) - [nvme-dulbe](https://hesela.dev/terms/nvme-dulbe/) Citations: - [c1] Western Digital: Ultrastar DC HC670 SATA manual, rev. 1.1 (2023), section 10.17.3.2 and Read Stream DMA Ext. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/product/data-center-drives/ultrastar-dc-hc600-series/product-manual-ultrastar-dc-hc670-26TB25TB-sata-spec.pdf (accessed 2026-10-16) - [c2] smartmontools 7.5: smartctl(8), SCT Error Recovery Control query, units and persistence. https://raw.githubusercontent.com/smartmontools/smartmontools/RELEASE_7_5/smartmontools/smartctl.8.in (accessed 2026-10-16) - [c3] Hesela: Storage timeouts and uncertain completion. https://hesela.com/analyses/storage-timeouts-uncertain-completion/ (accessed 2026-10-16) ### Error syndrome URL: https://hesela.dev/terms/error-syndrome/ Related analysis: https://hesela.com/analyses/nand-ecc-bch-vs-ldpc/ Also known as: Syndrome (error-correcting codes), ECC syndrome Status: shipping Record updated: 2026-11-26 An error syndrome is the result of applying a linear code's parity-check equations to a received word. Note: With parity-check matrix H and received word r, the syndrome is H r^T over the code's field. Zero indicates code membership, not identity with the originally stored word; different error patterns can share a syndrome. [tilborg-coding] Linux v6.12 bch_decode can accept precomputed syndromes and returns located-error counts or error codes. It does not correct the input buffer itself. Located errors may be in payload or ECC: only locations below 8 * len select payload bits to flip. A returned count is not an unconditional physical error count relative to the original word. [linux-bch-v612] Related terms: - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [codeword](https://hesela.dev/terms/codeword/) - [bch-code](https://hesela.dev/terms/bch-code/) - [hamming-distance](https://hesela.dev/terms/hamming-distance/) - [ldpc](https://hesela.dev/terms/ldpc/) - [miscorrection](https://hesela.dev/terms/miscorrection/) Citations: - [tilborg-coding] H. C. A. van Tilborg: Coding Theory, a First Course, sections 2.1-2.2 and 4.2. https://henkvt.win.tue.nl/images/CODING.pdf (accessed 2026-10-25) - [linux-bch-v612] Linux v6.12 lib/bch.c: bch_decode return values, caller correction and syndrome processing. https://github.com/torvalds/linux/blob/v6.12/lib/bch.c#L915-L1015 (accessed 2026-10-25) - [hesela-bch] Hesela: BCH, LDPC and the RBER aggregation trap, decoder contracts. https://hesela.com/analyses/nand-ecc-bch-vs-ldpc/#decoder-contract (accessed 2026-10-25) ### errseq_t URL: https://hesela.dev/terms/errseq-t/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: errseq Status: shipping Record updated: 2026-11-04 errseq_t is a Linux kernel datatype that records an error and sequence state so observers can detect failures since their saved cursor. Note: The 32-bit value records an error and sequence state, not an exact failure count or complete history. Advancing a cursor acknowledges observation, not repair. New observers skip an already-seen error but can still receive an unseen one; reopening is not a reliable historical-error check. The Linux generic writeback path keeps its cursor in the open file description, shared by duplicated descriptors. The pinned Linux v6.12 syncfs path uses a distinct filesystem-level f_sb_err cursor; observing that state does not advance the separate file-level f_wb_err cursor. [sync-source] In Linux v6.12, later error codes replace earlier ones and repeated unseen errors can coalesce. A non-consuming check does not mark the state seen. With 19 counter bits, a full cycle can alias a dormant observer when the errno and seen bit also match; 524,288 is a counter period, not a device-failure threshold. Hesela's sequential example and script hash are available at https://hesela.dev/research/errseq-observation.json. [errseq-source] [errno-source] A separate v6.12 interleaving can hide a later error without counter wrap. A failed seen-bit compare-and-swap can advance a private cursor to an unstored value; later updates can recreate it. This uses distinct cursors, not concurrent misuse of one cursor. Jain reported the schedule on LKML. Hesela replays the unmodified helper with a deterministic userspace hook, not a running-kernel or failing-device test. No current-release status or incident rate is inferred. [errseq-race-report] [errseq-pinned] The v6.12 sync_file_range wait helpers also advance f_wb_err: a byte-range wait is not a byte-range error record. Changing the requested range does not create a new observer. [filemap-source] [sync-source] Limitations: - Concurrent users of one observer cursor must serialize cursor updates. - Finite sequence space can collide; this is not an unlimited event journal. Related terms: - [writeback-error](https://hesela.dev/terms/writeback-error/) - [fsync](https://hesela.dev/terms/fsync/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [syncfs](https://hesela.dev/terms/syncfs/) - [short-write](https://hesela.dev/terms/short-write/) - [sync-file-range](https://hesela.dev/terms/sync-file-range/) Citations: - [linux-errseq] Linux kernel: The errseq_t datatype. https://docs.kernel.org/core-api/errseq.html (accessed 2026-10-13) - [hesela-fsync] Hesela: Why retrying a failed fsync does not prove durability. https://hesela.com/analyses/fsync-failure-retry-durability/ (accessed 2026-10-10) - [filemap-source] Linux v6.12: file_check_and_advance_wb_err in mm/filemap.c. https://github.com/torvalds/linux/blob/v6.12/mm/filemap.c (accessed 2026-10-13) - [open-source] Linux v6.12: do_dentry_open in fs/open.c. https://github.com/torvalds/linux/blob/v6.12/fs/open.c (accessed 2026-10-13) - [errseq-source] Linux v6.12: errseq_sample in lib/errseq.c. https://github.com/torvalds/linux/blob/v6.12/lib/errseq.c (accessed 2026-10-20) - [sync-source] Linux v6.12: syncfs and sync_filesystem in fs/sync.c. https://github.com/torvalds/linux/blob/v6.12/fs/sync.c (accessed 2026-10-15) - [errno-source] Linux v6.12: MAX_ERRNO in include/linux/err.h. https://github.com/torvalds/linux/blob/v6.12/include/linux/err.h (accessed 2026-10-20) - [errseq-race-report] Shashank Mohan Jain, LKML, 27 September 2026: errseq_check_and_advance lost-error interleaving; patch proposal, not a release-status claim. https://lists.openwall.net/linux-kernel/2026/09/27/146 (accessed 2026-10-25) - [errseq-pinned] Linux v6.12 lib/errseq.c: immutable source for the controlled helper replay. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/lib/errseq.c (accessed 2026-10-25) ### ESCON URL: https://hesela.dev/terms/escon/ Also known as: Enterprise Systems Connection Status: eol Record updated: 2026-10-22 ESCON (Enterprise Systems Connection) is a half-duplex fiber-optic serial channel architecture for mainframes that replaced copper bus-and-tag channels and was superseded by FICON. Note: An ESCON channel runs the mainframe I/O command set over serial fiber instead of multi-line copper cables and manages its own link-level and device-level protocol. Control units attach directly or through an ESCON director, a fiber switch, and a conversion mode reaches parallel-channel control units. [ibm-escon] Documented rates differ. Operating-system documentation gives 17 MBps with 3 km unrepeated distance [ibm-escon], and an early reference guide gives up to 10 MB/s. [es9000] A 2002 guide separates 17 MB/s for the channel from 20 MB/s for the link and gives 1,024 device addresses per channel and 9 km end to end. [sg246266] Links signal at 200 Mb/s. A director is a non-blocking switch for up to 60 links of up to 3 km, giving 6 km through one director and 9 km through two chained ones [ibm-jrd], and up to 30 concurrent transfers. [es9000] The channel supports one active I/O operation at a time in a request-response protocol, one reason for the move to FICON, whose native mode runs full-duplex on Fibre Channel with concurrent operations. [ibm-escon] [sg246266] Advantages: - Converters let serial channels coexist with existing parallel-channel control units during migration. (sources: [ibm-escon], [es9000]) Limitations: - A FICON channel addresses up to 16,384 devices, sixteen times the ESCON limit. (sources: [sg246266]) Sources and caveats: - All sources are IBM documents, IBM's own research journal or IBM Redbooks; no independent source was found. - The 2002 guide attributes 17 MB/s to the channel and 20 MB/s to the link; the lower 10 MB/s figure in the early reference guide was not explained, so it is attributed to its source. - The 1992 director paper and the ES/9000 guide were read as scans from an archive site. - Arithmetic: 60 ports / 2 = 30 concurrent transfers; 2 x 3 km = 6 km and 3 x 3 km = 9 km; 16,384 / 1,024 = 16. Related terms: - [ficon](https://hesela.dev/terms/ficon/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [mainframe-dasd](https://hesela.dev/terms/mainframe-dasd/) - [count-key-data](https://hesela.dev/terms/count-key-data/) Superseded by: - [ficon](https://hesela.dev/terms/ficon/) Citations: - [c1] ESCON. https://en.wikipedia.org/wiki/ESCON (accessed 2026-03-26) - [ibm-escon] IBM Documentation, z/OS basic skills: Enterprise System Connectivity (ESCON) channel. https://www.ibm.com/docs/en/zos-basic-skills?topic=channels-enterprise-system-connectivity-escon-channel (accessed 2026-10-16) - [ibm-jrd] Georgiou, Larsen, Oakhill and Salimi. The IBM ESCON Director: A Dynamic Switch for 200Mb/s Fiber Optic Links. IBM J. Res. Develop. 36(4), 1992. https://bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/364/ibmrd3604F.pdf (accessed 2026-10-16) - [es9000] IBM GU20-0088. Enterprise System/9000 Reference Guide. https://bitsavers.org/pdf/ibm/390/GU20-0088_ES9000_Reference_Guide.pdf (accessed 2026-10-16) - [sg246266] IBM Redbooks SG24-6266. FICON Native Implementation and Reference Guide. Second edition, October 2002, section 1.4. https://www.redbooks.ibm.com/redbooks/pdfs/sg246266.pdf (accessed 2026-10-16) ### Escrow transactions URL: https://hesela.dev/terms/escrow-transactions/ Also known as: Escrow transactional method Status: unknown Record updated: 2026-11-10 Escrow transactions reserve part of a resource so compatible updates can proceed concurrently while preserving specified bounds. Note: Reservation: A successful request sets aside a quantity for later use. Commit returns unused reservations; abort returns the reserved quantity. Acceptance must remain safe across the allowed commit and abort outcomes of other transactions. [escrow-1986] Recovery: A recoverable reservation is not a commit. After recovery, the transaction can still abort. The original method distinguishes reservation, use and recovery obligations. [escrow-1986] Sources and caveats: - Historical primary-source review; this concurrency-control mechanism is distinct from cryptographic key escrow. Related terms: - [bounded-counter](https://hesela.dev/terms/bounded-counter/) - [invariant-confluence](https://hesela.dev/terms/invariant-confluence/) - [serializability](https://hesela.dev/terms/serializability/) Citations: - [escrow-1986] O'Neil. The Escrow Transactional Method. ACM TODS 11(4), 405-430 (1986), sections 1.4 and 2. https://www.cs.umb.edu/~poneil/EscrowTM.pdf (accessed 2026-11-10) ### ESDI URL: https://hesela.dev/terms/esdi/ Also known as: Enhanced Small Disk Interface, Enhanced Small Device Interface Status: eol Record updated: 2026-10-22 ESDI (Enhanced Small Device Interface, X3.170-90) is a disk interface with a daisy-chained serial control cable for up to seven drives and a radial data cable per drive. Note: The standard was published as X3.170-90 [c3]. In its 1987 draft the control cable runs through up to seven devices and is terminated at the last, while each data cable runs directly to the controller with differential pairs for data and clocks, on a 34-pin J1 and a 20-pin J2 connector. The interface handles 0 to 24 Mbit/s, with clocks of 0 to 15 MHz on a low-speed port and 10 to 24 MHz on a high-speed one, and each drive reports its rate class. Magnetic disks pass NRZ data, and drives may be fixed-sector or soft-sector. [c2] Commands travel as 16-bit words plus odd parity with a 4-bit function code, allowing 16 functions, among them seek, recalibrate, status and configuration requests and optional head-group, offset, diagnostic and sector-size settings. Seek carries a 12-bit cylinder field, so 4,096 cylinders are directly addressable. An optical-disk command set adds Format so that magnetic-disk controllers could support optical drives. [c2] One open-source adapter driver addresses disks by cylinder, head and sector and reads a configuration reply with block count, cylinders, sectors per track, heads and flags for defects, skew, removable media and retries. [c4] Sources and caveats: - Details follow working draft X3T9.3/87-005 rev 2 (16 October 1987), machine-read; draft and final 1990 standard were not compared. - c3 is a scan of X3.170-90 distributed by Micropolis and hosted on bitsavers.org; only its title page was checked, as it has no text layer. - The standard documents say Enhanced Small Device Interface; the alias Enhanced Small Disk Interface follows c1. - That NRZ data places encoding in the drive is an inference; c2 does not state it as a goal. - c4 is the Linux 2.6.20 driver for one adapter, not the drive cable interface. - Arithmetic: 2^12 = 4,096 cylinders; 2^4 = 16 function codes. Related terms: - [st-506](https://hesela.dev/terms/st-506/) - [scsi](https://hesela.dev/terms/scsi/) - [ide](https://hesela.dev/terms/ide/) - [st-412](https://hesela.dev/terms/st-412/) - [pata](https://hesela.dev/terms/pata/) Citations: - [c1] ESDI. https://en.wikipedia.org/wiki/Enhanced_Small_Disk_Interface (accessed 2026-03-26) - [c2] Enhanced Small Device Interface, X3T9.3/87-005 Rev 2 working draft. https://www.bitsavers.org/pdf/ansi/X3/X3T9.3_87-005_Rev2_ESDI_Draft_19871016.pdf (accessed 2026-10-16) - [c3] ESDI X3.170-90 Interface Specification. https://bitsavers.org/pdf/micropolis/ESDI_spec_X3.170-90.pdf (accessed 2026-10-16) - [c4] drivers/block/ps2esdi.c, Linux kernel 2.6.20 source. https://raw.githubusercontent.com/torvalds/linux/v2.6.20/drivers/block/ps2esdi.c (accessed 2026-10-16) ### Eventual consistency URL: https://hesela.dev/terms/eventual-consistency/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: Eventually consistent replication Status: shipping Record updated: 2026-11-20 Eventual consistency requires replicas to converge after updates cease, assuming updates can propagate and conflicts are resolved. Note: The guarantee alone sets no fixed convergence deadline and does not imply read-your-writes or monotonic reads; these need additional contracts. Permanent communication failure prevents the propagation assumption from holding. The period until all replicas have received an update is the inconsistency window. [vogels-eventual] Concurrent writes need a resolution policy, not necessarily a last-writer-wins timestamp. The 2007 key-value-store design can return divergent versions for application-assisted reconciliation. Its common (N,R,W) configuration was (3,2,2) with a target of 300 ms for 99.9% of requests, and in a 24-hour profile 99.94% of requests saw exactly one version. [dynamo-paper] Advantages: - Replicas can keep accepting writes on both sides of a partition and merge them after it heals. (sources: [vogels-eventual]) Limitations: - When the read and write replica sets need not overlap, as with W+R at most N, a read can miss a completed write. (sources: [vogels-eventual]) Sources and caveats: - Dynamo (SOSP 2007) is historical system evidence, not a claim about current DynamoDB APIs. [dynamo-paper] - vogels-eventual and dynamo-paper re-read 2026-10-23 for quorum overlap, partition merging, the (3,2,2) configuration, the 300 ms target and the 24-hour version profile. - The monotonic-reads entry links here because the guarantee does not by itself provide monotonic reads. monotonic-reads is added to related for the reciprocal relation. Related terms: - [craq](https://hesela.dev/terms/craq/) - [linearizability](https://hesela.dev/terms/linearizability/) - [session-guarantees](https://hesela.dev/terms/session-guarantees/) - [asynchronous-replication](https://hesela.dev/terms/asynchronous-replication/) - [anti-entropy-repair](https://hesela.dev/terms/anti-entropy-repair/) - [monotonic-reads](https://hesela.dev/terms/monotonic-reads/) - [causal-consistency](https://hesela.dev/terms/causal-consistency/) - [conflict-free-replicated-data-type](https://hesela.dev/terms/conflict-free-replicated-data-type/) Citations: - [vogels-eventual] Werner Vogels: Eventually Consistent - Revisited, 23 December 2008. https://www.allthingsdistributed.com/2008/12/eventually_consistent.html (accessed 2026-10-23) - [dynamo-paper] Giuseppe DeCandia et al.: Dynamo: Amazon's Highly Available Key-value Store, SOSP 2007, sections 4.4 and 6. https://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf (accessed 2026-10-23) - [hesela-replication] Hesela: Replication acknowledgements: received, durable, applied. https://hesela.com/analyses/replication-acknowledgements-durability-lag/#eventual-consistency (accessed 2026-10-22) ### Eventually perfect failure detector URL: https://hesela.dev/terms/eventually-perfect-failure-detector/ Related analysis: https://hesela.com/analyses/phi-failure-detectors-suspicion/ Also known as: diamond-P failure detector, eventual perfect failure detector Status: unknown Record updated: 2026-11-16 An eventually perfect failure detector eventually and permanently suspects every crashed process at every correct process and eventually stops false suspicions among correct processes. Note: Class diamond-P combines strong completeness with eventual strong accuracy. After some finite time, correct processes are never suspected by correct processes; that time need not be known to an observer. Correct means never crashing in the modeled crash-stop run. [ct96] Unlike a perfect detector, this class permits initial false suspicions. Its contract does not prescribe a bounded warm-up duration, a numerical detection deadline or a measured false-alarm rate. A finite trace with no false alarms cannot establish a guarantee about all future behavior. [ct96] Chandra and Toueg construct an eventually perfect detector using heartbeat messages and increasing timeouts under eventual bounds on relative process speeds and message transmission. The algorithm and those assumptions matter; increasing a timeout or selecting a phi threshold alone is not a proof that an implementation belongs to the class. [ct96] Partial synchrony separates unknown bounds from bounds that hold after an unknown stabilization time. Neither formulation turns eventual accuracy into an operational completion deadline. [dls88] Limitations: - These crash-stop process properties do not certify storage health, establish Byzantine fault tolerance, cover recovery after restart or enforce fencing against a stale writer. (sources: [ct96]) Sources and caveats: - CT1996 sections 2.1-2.4 and Figure 1 define diamond-P; section 9 and Theorem 9.1 give the partially synchronous implementation and assumptions. - DLS1988 sections 1.2-1.3 and 2.3 distinguish timing models. The finite-trace qualification is an inference from the eventual, all-future-time property; no implementation was benchmarked. Related terms: - [failure-detector](https://hesela.dev/terms/failure-detector/) - [perfect-failure-detector](https://hesela.dev/terms/perfect-failure-detector/) - [partial-synchrony](https://hesela.dev/terms/partial-synchrony/) - [phi-accrual-detector](https://hesela.dev/terms/phi-accrual-detector/) Citations: - [ct96] Chandra and Toueg. Unreliable Failure Detectors for Reliable Distributed Systems. JACM 43(2), 225-267, 1996; sections 2.1-2.4 and 9. https://www.cs.utexas.edu/~lorenzo/corsi/cs380d/papers/p225-chandra.pdf (accessed 2026-11-16) - [dls88] Dwork, Lynch and Stockmeyer. Consensus in the Presence of Partial Synchrony. JACM 35(2), 288-323, 1988; sections 1.2-1.3 and 2.3. https://groups.csail.mit.edu/tds/papers/Lynch/jacm88.pdf (accessed 2026-11-16) ### EvFS (event-driven file system) URL: https://hesela.dev/terms/evfs-event-driven/ Also known as: EvFS, Event-driven file system Status: research Record updated: 2026-11-30 EvFS is a research user-space file system that executes file operations as events over an SPDK storage stack. Note: Poller threads execute queued work; a shared library intercepts file calls. A user-space page cache coalesces transfers, while O_DIRECT bypasses it. [evfs19] The reported 700 ns for 64-byte non-blocking writes measures return after event submission, not durable completion. The separate buffered-write comparison includes write plus fsync. [evfs19] [evfs19-slides] This 2019 design differs from the 2018 Extended Virtual File System (eVFS), a management interface used with Spiffy. [evfs18] Limitations: - The prototype lacked crash-safe properties and complete POSIX coverage. Concurrent processes could not access the same mounted namespace. (sources: [evfs19]) - The preliminary NVMe evaluation did not report memory-pressure results or establish NVMM performance. (sources: [evfs19], [evfs19-slides]) Sources and caveats: - Historical paper and presentation review; no prototype execution, benchmark reproduction or claim about current implementations. Related terms: - [direct-io](https://hesela.dev/terms/direct-io/) - [latency-storage](https://hesela.dev/terms/latency-storage/) Citations: - [evfs19] Yoshimura, Chiba and Horii. EvFS: User-level, Event-Driven File System for Non-Volatile Memory. HotStorage 2019, sections 3-5. https://www.usenix.org/system/files/hotstorage19-paper-yoshimura.pdf (accessed 2026-11-30) - [evfs19-slides] Yoshimura, Chiba and Horii. EvFS, HotStorage 2019 presentation, slides 7, 9 and 13-17. https://www.usenix.org/sites/default/files/conference/protected-files/hotstorage19_slides_yoshimura.pdf (accessed 2026-11-30) - [evfs18] Sun, Lakier, Brown and Goel. Breaking Apart the VFS for Managing File Systems. HotStorage 2018. https://www.usenix.org/system/files/conference/hotstorage18/hotstorage18-paper-sun.pdf (accessed 2026-11-30) - [hesela] Hesela: Which completion did the timer observe? https://hesela.com/analyses/storage-latency-coordinated-omission/#evfs-completion (accessed 2026-11-30) ### EXCES URL: https://hesela.dev/terms/exces/ Also known as: EXternal Caching in Energy Saving Storage Systems Status: research Record updated: 2026-11-29 EXCES is a research block-layer cache that uses a separate nonvolatile device to extend HDD standby periods. Note: Page popularity combines recency and frequency; an indirection map directs requests, while reconfiguration moves data between the cache and disk. Unmapped writes that are not page-aligned bypass the cache in the implementation, so not every write avoids the HDD. [hpca08] The evaluation used Linux 2.6.20 laptops and 2 GB flash devices. System energy was observed through ACPI battery readings at 10-second intervals. Section 6.2 reports roughly 2-14% savings only in configurations that saved energy; the idle test consumed more than the baseline. These are historical workload-specific observations, not a modern SSD efficiency range. [hpca08] Mean I/O completion time and total runtime also diverged in Postmark. The authors proposed internal buffering as an explanation, not a demonstrated universal mechanism. [hpca08] Hesela's equal-work example reduces whole-system mean power from 20 W to 18 W. At 100 seconds this saves 10% energy; at 120 seconds it uses 8% more energy. Both alternatives finish the same declared job, and the cache and host are included. These are constructed inputs, not EXCES measurements. [ledger] Limitations: - A persistent indirection map is part of the design; it is not independent evidence of crash correctness on current hardware. (sources: [hpca08]) Sources and caveats: - Primary-source synthesis and a separate constructed accounting example. No EXCES replication or modern hardware benchmark. Related terms: - [borg-block-reorganization](https://hesela.dev/terms/borg-block-reorganization/) - [power-state-break-even-time](https://hesela.dev/terms/power-state-break-even-time/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [hibernator](https://hesela.dev/terms/hibernator/) Citations: - [hpca08] Useche et al. EXCES: EXternal Caching in Energy Saving Storage Systems. HPCA 2008, sections 4-6. DOI 10.1109/HPCA.2008.4658630. https://users.cs.fiu.edu/~raju/WWW/publications/hpca2008/paper.pdf (accessed 2026-11-29) - [ledger] Hesela: equal-work cache energy ledger, constructed cases, exact arithmetic and regression tests. https://hesela.dev/research/exces-energy/README.md (accessed 2026-11-29) ### Exchange-coupled composite media URL: https://hesela.dev/terms/exchange-coupled-composite-media/ Related article: https://hesela.com/tech/pmr/ Also known as: ECC media Status: unknown Record updated: 2026-11-06 Exchange-coupled composite media combine magnetically hard and soft regions within a recording grain so that exchange coupling can assist reversal of the hard region. Note: Hard and soft refer to magnetic switching, not mechanical hardness. Coupling within a grain is distinct from coupling between neighboring grains. A discretized single-grain study found reversal beginning in the soft region and progressing through the interface; the required coupling depended on the hard region's anisotropy [kapoor-ecc-2006]. Exchange-spring terminology overlaps with ECC, but designs differ in interface coupling and anisotropy profile. Graded media vary anisotropy through the grain; quoted gains require a defined comparator and field protocol [suess-exchange-2008]. Fast pulses and low damping can enable precessional reversal below the quasi-static switching field in the modeled bilayers. Suess et al. warn that changed angular sensitivity can compromise resistance to adjacent-track erasure. Static switching-field reduction alone is therefore insufficient to qualify a recording design. This is a model-dependent design tradeoff, not a measured drive error rate. [suess-exchange-2008] A graded-grain rare-event simulation compared same-geometry grains, using a soft single-phase grain matched in coercive field, and a hard single-phase grain with a similar energy barrier but higher coercivity. The controls test different tradeoffs. Absolute escape rates depended on spatial discretization; calculated retention times are not measured disk lifetimes [vogler-graded-2014]. ECC media here does not mean error-correcting codes. Limitations: - A one-grain switching result does not establish a complete medium's recording density or drive reliability. Sources and caveats: - Mechanism-level synthesis of full research texts; no commercial adoption date, hardware replication or new numerical result is claimed. Related terms: - [pmr](https://hesela.dev/terms/pmr/) - [magnetic-recording-trilemma](https://hesela.dev/terms/magnetic-recording-trilemma/) - [magnetic-anisotropy](https://hesela.dev/terms/magnetic-anisotropy/) - [magnetic-thermal-stability-factor](https://hesela.dev/terms/magnetic-thermal-stability-factor/) - [adjacent-track-interference](https://hesela.dev/terms/adjacent-track-interference/) - [magnetic-coercivity](https://hesela.dev/terms/magnetic-coercivity/) Citations: - [kapoor-ecc-2006] Kapoor et al.: Effect of intragranular exchange on exchange-coupled composite media (2006), sections II-VI; doi:10.1063/1.2163850. https://www.phy.cuhk.edu.hk/itp/v3/links/mmm/pdfs/08Q902_1.pdf (accessed 2026-10-28) - [suess-exchange-2008] Suess, Lee, Fidler and Schrefl: Exchange coupled perpendicular media, arXiv:0805.1674v1 (2008), sections 1-3 and 4-5. https://arxiv.org/pdf/0805.1674v1 (accessed 2026-10-28) - [vogler-graded-2014] Vogler et al.: Calculating thermal stability and attempt frequency of advanced recording structures without free parameters (2014), arXiv:1412.5057v1, pp. 3-5. https://arxiv.org/pdf/1412.5057v1 (accessed 2026-10-28) ### Execute-in-place URL: https://hesela.dev/terms/execute-in-place/ Related article: https://hesela.com/tech/nor-flash/ Also known as: XIP, eXecute-In-Place, execute in place Status: shipping Record updated: 2026-10-18 Execution of program instructions from their non-volatile storage location without first copying the executable code into a separate RAM image. Note: The system must provide an instruction-fetch path to the stored code. With serial flash, a controller can translate memory-mapped reads into flash transactions after the interface and read mode are configured. A chip's NOR label alone does not establish a working execute-in-place system. [c1] Execute-in-place does not eliminate RAM: caches, writable data, stacks and other runtime state can still use it. For a memory-mapped read-only filesystem, directly executed segments may require uncompressed, aligned storage while writable segments are copied to RAM. This differs from mapping a file backed by an SSD and fetching its pages into memory. [c2] Some flash documentation also calls a command-saving continuous-read mode XIP. That device feature can reduce read-command overhead, but it is not the complete system mechanism for executing stored instructions. [c1] Advantages: - Code can remain in non-volatile storage when RAM capacity is constrained. (sources: [c2]) Limitations: - An update must account for program/erase activity that can block instruction reads from the same flash device. (sources: [c3]) Related terms: - [nor-flash](https://hesela.dev/terms/nor-flash/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [page-cache](https://hesela.dev/terms/page-cache/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) Citations: - [c1] STMicroelectronics. AN4760, Quad-SPI interface for STM32 MCUs and MPUs, revision 5, sections 3.3.3, 3.4.1 and 6.2: execution and continuous read. https://www.st.com/resource/en/application_note/an4760-introduction-to-quadspi-interface-for-stm32-mcus-and-mpus-stmicroelectronics.pdf (accessed 2026-10-18) - [c2] Linux kernel documentation. Cramfs: Memory Mapped cramfs image. Direct execution of aligned, uncompressed read-only segments and RAM for writable data. https://docs.kernel.org/filesystems/cramfs.html#memory-mapped-cramfs-image (accessed 2026-10-18) - [c3] Infineon. Implementation of Program/Erase Suspend and Resume Operations in Serial NOR Flash. Busy-array access and suspend restrictions. https://community.infineon.com/t5/Knowledge-Base-Articles/Implementation-of-Program-Erase-Suspend-and-Resume-Operations-in-Serial-NOR/ta-p/256736 (accessed 2026-10-18) ### ValidDataLength (exFAT) URL: https://hesela.dev/terms/exfat-valid-data-length/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: exFAT VDL Status: shipping Record updated: 2026-10-23 ValidDataLength is the exFAT stream field that records the initialized prefix length in bytes. Note: ValidDataLength and DataLength are 8-byte fields at offsets 8 and 24 of the 32-byte Stream Extension directory entry. For a regular file, VDL lies between zero and DataLength. Reads in the remaining logical tail return zeros although its on-media bytes are undefined. This differs from allocation size and does not demonstrate erasure. Directories require both lengths to match, with a directory limit of 256 MB. [exfat-spec] Kernel source at tag v6.12 distinguishes the partially initialized block from later unwritten blocks in exfat_get_block. Readahead that crosses the valid boundary falls back to page-by-page reads, and exfat_direct_IO zeroes the returned bytes past valid_size in a partially written block. This is version-specific code evidence, not a mounted-volume experiment. [linux-inode] Advantages: - A file can be extended by raising DataLength and allocating clusters without first writing zeros to the new tail. (sources: [exfat-spec]) Limitations: - Bytes left from earlier use can remain on the medium past ValidDataLength, where tools that bypass the filesystem can read them. (sources: [exfat-spec]) - Memory-mapped writes do not pass through exfat_write_end, so the v6.12 code lowers valid_size to the on-disk size when it writes the directory entry back. (sources: [linux-inode]) Sources and caveats: - exfat-spec re-read 2026-10-23 for the Stream Extension field table, section 7.6.5 and the 256 MB directory limit. - linux-inode re-read 2026-10-23 as fs/exfat/inode.c at tag v6.12 from the kernel.org plain-text copy, for exfat_get_block, exfat_readahead, exfat_direct_IO and the valid_size fixup. - The posix-fallocate entry links here because both reserve file space for a byte range without writing data into it, and this field records how much of such an allocation holds written data. Related terms: - [exfat](https://hesela.dev/terms/exfat/) - [allocation-bitmap](https://hesela.dev/terms/allocation-bitmap/) - [file-storage](https://hesela.dev/terms/file-storage/) - [posix-fallocate](https://hesela.dev/terms/posix-fallocate/) Citations: - [exfat-spec] Microsoft exFAT 1.00 specification: section 7.6.5, ValidDataLength. https://learn.microsoft.com/en-us/windows/win32/fileio/exfat-specification#765-validdatalength-field (accessed 2026-10-23) - [linux-inode] Linux v6.12: exfat_get_block and exfat_direct_IO, fs/exfat/inode.c. https://github.com/torvalds/linux/blob/v6.12/fs/exfat/inode.c (accessed 2026-10-23) ### exFAT URL: https://hesela.dev/terms/exfat/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: extensible File Allocation Table Status: shipping Record updated: 2026-11-08 exFAT is a file system in the FAT family that separates cluster-allocation tracking from file cluster-chain traversal. Note: An Allocation Bitmap records which clusters are unavailable. For a stream with NoFatChain set, FirstCluster and DataLength describe a contiguous allocation and the corresponding FAT entries must be ignored. For an allocated stream with NoFatChain clear, the FAT supplies the chain. An empty file has no cluster chain. The root directory always uses a FAT chain. [exfat-spec] Linux v6.12 implements both paths: its last-cluster lookup uses arithmetic for a no-chain allocation and traverses FAT links otherwise. A FAT chain can itself describe consecutive clusters. [linux-fat] NameHash is not a file identifier: this 16-bit value filters lookup candidates. The volume's Up-case Table supplies character mappings; matching hashes still require comparing the mapped names. [exfat-names] Linux v6.16 filters by both name length and hash before exfat_uniname_ncmp compares up-cased code units. Equal-length AB and EA both hash to 0x2029 but remain different names; AB and ab compare equal in this ASCII example. These exact arithmetic controls do not run the filesystem or demonstrate a kernel defect. [exfat-lookup] [exfat-upcase] [hesela-namehash] Related terms: - [exfat-valid-data-length](https://hesela.dev/terms/exfat-valid-data-length/) - [allocation-bitmap](https://hesela.dev/terms/allocation-bitmap/) - [fat-cluster-chain](https://hesela.dev/terms/fat-cluster-chain/) - [file-storage](https://hesela.dev/terms/file-storage/) - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [allocation-unit](https://hesela.dev/terms/allocation-unit/) - [filename-collision](https://hesela.dev/terms/filename-collision/) Citations: - [exfat-spec] Microsoft exFAT specification: sections 3.1.10, 6.3.4.2, 7.1 and 7.6. https://learn.microsoft.com/en-us/windows/win32/fileio/exfat-specification (accessed 2026-10-20) - [linux-fat] Linux v6.12: exFAT chain traversal and allocation, fs/exfat/fatent.c. https://github.com/torvalds/linux/blob/v6.12/fs/exfat/fatent.c (accessed 2026-10-20) - [exfat-names] Microsoft exFAT specification: sections 7.2, 7.2.5 and 7.6.4. https://learn.microsoft.com/en-us/windows/win32/fileio/exfat-specification (accessed 2026-11-08) - [exfat-lookup] Linux v6.16: fs/exfat/dir.c, exfat_find_dir_entry. https://github.com/torvalds/linux/blob/v6.16/fs/exfat/dir.c (accessed 2026-11-08) - [exfat-upcase] Linux v6.16: fs/exfat/nls.c, exfat_uniname_ncmp and exfat_utf8_to_utf16. https://github.com/torvalds/linux/blob/v6.16/fs/exfat/nls.c (accessed 2026-11-08) - [hesela-namehash] Hesela: exFAT NameHash arithmetic and identity boundaries. https://hesela.com/analyses/filename-identity-backup-restores/#exfat-namehash (accessed 2026-11-08) ### Existence bitmap URL: https://hesela.dev/terms/existence-bitmap/ Also known as: EBM Status: shipping Record updated: 2026-11-19 An existence bitmap marks which positions in a row-identifier mapping correspond to existing rows, bounding set operations to that domain. Note: Domain: Allocated row slots can contain holes. O'Neil and Quass bound bitmap complement by the existence bitmap, so inversion does not manufacture nonexistent rows. Their read-mostly warehouse setting is distinct from modern concurrent snapshot visibility. [bitmap-oneil] Truth: Existence does not establish predicate truth. For exact masks E of visible rows, T of TRUE results and N of UNKNOWN results at one snapshot, WHERE NOT p selects E & ~(T | N); p IS NOT TRUE selects E & ~T. N is the predicate's unknown set, not always a column's NULL mask. [bitmap-comparison] Approximation: If a positive candidate set contains all true matches plus false positives, its complement omits those false-positive rows from the negative answer. Rechecking surviving rows cannot restore omitted rows. Refine the positive set first, or retain a complete negative candidate bound. The worked proof and native controls are application-side examples, not a database defect. [hesela-negation] Identity: Combine masks only with a compatible row mapping, domain and snapshot. An existence bitmap is neither a PostgreSQL visibility map nor a certificate that a candidate satisfies its predicate. The published WAL control deliberately mixes exported masks; SQLite itself retains the reader's original snapshot. [bitmap-isolation] [hesela-negation] Sources and caveats: - Source synthesis and elementary set derivation. The native illustration uses SQLite 3.45.1 on tiny constructed integer/NULL data; it is not a PostgreSQL experiment, performance benchmark or fleet measurement. - Machine-readable results and runnable code: https://hesela.dev/research/bitmap-negation/README.md Related terms: - [bitmap-index](https://hesela.dev/terms/bitmap-index/) - [postgresql-bitmap-heap-scan](https://hesela.dev/terms/postgresql-bitmap-heap-scan/) Citations: - [bitmap-oneil] O'Neil and Quass (SIGMOD 1997): Improved Query Performance with Variant Indexes, sections 2.1.2 and 2.3. https://courses.cs.duke.edu/spring03/cps216/papers/oneil-quass-1997.pdf (accessed 2026-11-19) - [bitmap-comparison] PostgreSQL 18: comparison predicates, including IS NOT TRUE. https://www.postgresql.org/docs/18/functions-comparison.html (accessed 2026-11-19) - [bitmap-isolation] SQLite: isolation and held WAL reader snapshots. https://www.sqlite.org/isolation.html (accessed 2026-11-19) - [hesela-negation] Hesela: bitmap negation, synthetic set models and native SQLite controls. https://hesela.com/analyses/postgresql-toast-read-coverage/#bitmap-negation (accessed 2026-11-19) ### Expected calibration error URL: https://hesela.dev/terms/expected-calibration-error/ Also known as: ECE, binned calibration error Status: shipping Record updated: 2026-11-23 Expected calibration error summarizes the gap between predicted probabilities and observed outcome frequencies, usually estimated by bin-weighted gaps on an evaluation sample. Note: Guo et al. estimate ECE by sorting n predictions into M equal-width confidence bins and taking the sample-weighted average of the absolute gap between each bin's accuracy and mean confidence. Their convention scores predicted-class confidence against classification correctness, which is a different calculation from a binary event probability scored against its label. [guo-icml17] With M = 15 bins, their Table 1 reports an ECE of 16.53% for an uncalibrated 110-layer ResNet on CIFAR-100 and 1.26% after temperature scaling, against 2.66% after histogram binning and 4.99% after isotonic regression. [guo-icml17] Roelofs et al. show that on a finite sample the binned estimate can overestimate or underestimate the true calibration error, and that adding bins does not always help. In their evaluated simulation settings, equal-mass bins had lower bias than equal-width bins; this is not a distribution-free ordering. In their ten-model comparison the equal-width binned estimate picked the same recalibration method as the reference 3 of 10 times, against 7 of 10 for their sweep estimator. [roelofs-aistats22] Confidence ECE pools predicted labels. Gupta and Ramdas instead condition on both label and confidence for top-label ECE; some earlier papers use the latter name for the pooled metric. Declare the convention. [gupta-ramdas] In a synthetic twenty-observation example, confidence ECE is 0 while exact-group top-label and binary-event errors are both 0.1. Opposite class-conditional errors cancel when pooled. The linked result includes group counts, exact fractions and runnable checks. [worked] Advantages: - Reduces a reliability diagram to one number that can be compared before and after recalibration. (sources: [guo-icml17]) Limitations: - The value depends on the bin count and binning scheme, so figures are comparable only under the same estimator. (sources: [roelofs-aistats22]) - The cited results come from image and text classification benchmarks and do not transfer to other event types without new measurement. (sources: [guo-icml17], [roelofs-aistats22]) Sources and caveats: - guo-icml17 is the ICML 2017 paper by Guo, Pleiss, Sun and Weinberger of Cornell University, re-read on 2026-10-22 in sections 2 and 5 and Table 1. - The M = 15 bins, 16.53%, 1.26%, 2.66% and 4.99% figures come from Table 1 of guo-icml17. - roelofs-aistats22 is the AISTATS 2022 paper by Roelofs, Cain, Shlens and Mozer, read on 2026-10-22 in the abstract, introduction, sections 4 and 5 and Table 1. - The 3 of 10 and 7 of 10 selection counts come from Table 1 of roelofs-aistats22. - 2026-11-23: rechecked Roelofs sections 4-8/Table 1; bounded equal-mass bias statement to evaluated settings. Reviewed Gupta-Ramdas section 2/Remark 2; added exact synthetic conditioning example, not a new fleet result. Related terms: - [probability-calibration](https://hesela.dev/terms/probability-calibration/) - [brier-score](https://hesela.dev/terms/brier-score/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) - [grouped-cross-validation](https://hesela.dev/terms/grouped-cross-validation/) - [precision](https://hesela.dev/terms/precision/) - [confidence-calibration](https://hesela.dev/terms/confidence-calibration/) - [top-label-calibration](https://hesela.dev/terms/top-label-calibration/) Citations: - [guo-icml17] Guo et al. On Calibration of Modern Neural Networks. ICML 2017, section 2 and equation 3. https://proceedings.mlr.press/v70/guo17a/guo17a.pdf (accessed 2026-10-22) - [vaicenavicius-aistats19] Vaicenavicius et al. Evaluating model calibration in classification. AISTATS 2019, sections 4.1-4.4 (fixed-bin asymptotics and estimator variability). https://proceedings.mlr.press/v89/vaicenavicius19a/vaicenavicius19a.pdf (accessed 2026-10-17) - [roelofs-aistats22] Roelofs et al. Mitigating Bias in Calibration Error Estimation. AISTATS 2022, section 4 and Appendix B (finite-sample bias). https://proceedings.mlr.press/v151/roelofs22a/roelofs22a.pdf (accessed 2026-10-22) - [hesela-binning] Hesela: synthetic binary-event binning counterexample and reproducible arithmetic. https://hesela.com/analyses/ml-disk-failure-prediction/#calibration-binning (accessed 2026-10-17) - [gupta-ramdas] Gupta and Ramdas. Top-label calibration and multiclass-to-binary reductions. ICLR 2022; arXiv v4, section 2 equations 1-4 and Remark 2. https://arxiv.org/pdf/2107.08353v4 (accessed 2026-11-23) - [worked] Hesela: exact synthetic confidence, top-label and binary-event calibration example; model.py, test_model.py and results.json. https://hesela.dev/research/calibration-conditioning/results.json (accessed 2026-11-23) ### Explicit Congestion Notification URL: https://hesela.dev/terms/explicit-congestion-notification/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: ECN Status: shipping Record updated: 2026-10-31 Explicit Congestion Notification uses an IP-header field to signal network congestion to capable endpoints without relying solely on packet drops. Note: Header fields: The IPv4 DS octet and IPv6 Traffic Class octet contain a six-bit DSCP and a separate two-bit ECN field. ECN encodes 00 as Not-ECT, 01 as ECT(1), 10 as ECT(0), and 11 as Congestion Experienced (CE). A DSCP value is not an ECN codepoint. [dscp] [ecn] Decoding example: The constructed octet 0x6a contains DSCP 26 and ECT(0); 0x6b retains DSCP 26 but carries CE. This is bit-field arithmetic, not a packet capture or a recommended RoCE setting. [ecn] Marking: A network device can set the Congestion Experienced codepoint in an ECN-capable IP packet and forward it instead of dropping it to signal congestion. The receiving endpoint observes the mark. [ecn] Feedback: Transport support carries the indication back to the sender and defines its response. Classic TCP feedback and RoCEv2 congestion notification packets are different mechanisms using IP congestion marking. ECN is not the name of a particular rate-control algorithm. [ecn] [roce-qos] Loss: ECN is not a losslessness guarantee; congestion can still require packet drops. A congestion mark alone does not demonstrate sender reaction or bounded latency. [ecn] Interpretation: ECT(0) and ECT(1) are not universally interchangeable. RFC 8311 permits specified experimental differences; the Experimental L4S protocol uses ECT(1) to identify traffic requesting L4S treatment, with transport requirements beyond setting the bits. This does not imply that a RoCE configuration implements L4S. [ecn-experiments] [l4s-ecn] Observation: RFC 3168 leaves an existing CE codepoint unchanged when a router forwards the packet. Diagnostic inference: CE alone cannot identify which router marked the packet, count congested hops or measure their queue occupancy. It is a path congestion indication, not a per-hop trace. [ecn] Sources and caveats: - Primary-source review of RFC 3168 and versioned RoCE documentation; no network experiment or performance measurement. - The RFC supplies the IP mechanism and classic transport context, not an assertion that every later ECN scheme has identical feedback or codepoint semantics. - The two octets are a constructed decoding illustration, not observed traffic; the L4S citation qualifies ECN interpretation and establishes no RoCE deployment support. - The limitation on locating or counting congested hops is a diagnostic inference from RFC 3168 section 5, not a new packet capture or queue measurement. Related terms: - [roce-v2](https://hesela.dev/terms/roce-v2/) - [roce-congestion-notification-packet](https://hesela.dev/terms/roce-congestion-notification-packet/) Citations: - [ecn] RFC 3168: ECN in IP and transport feedback, sections 4-6. https://www.rfc-editor.org/rfc/rfc3168.html (accessed 2026-10-31) - [roce-qos] NVIDIA Cumulus Linux 5.12: default configuration and RoCE lossy mode. https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-512/Layer-1-and-Switch-Ports/Quality-of-Service/RDMA-over-Converged-Ethernet-RoCE/ (accessed 2026-10-31) - [dscp] RFC 2474, section 3: six-bit Differentiated Services Codepoint. https://www.rfc-editor.org/rfc/rfc2474.html (accessed 2026-10-31) - [ecn-experiments] RFC 8311, sections 2.2 and 4.2: ECN marking differences and ECT(1) experimentation. https://www.rfc-editor.org/rfc/rfc8311.html (accessed 2026-10-31) - [l4s-ecn] RFC 9331 (Experimental), sections 4.1-4.3 and 5.1: L4S identification and transport requirements. https://www.rfc-editor.org/rfc/rfc9331.html (accessed 2026-10-31) ### Exponential distribution URL: https://hesela.dev/terms/exponential-distribution/ Related analysis: https://hesela.com/analyses/mttf-vs-field-replacement-rates/ Also known as: Exponential lifetime model, Negative exponential distribution Status: shipping Record updated: 2026-11-18 An exponential distribution is a continuous probability model whose unshifted form describes nonnegative lifetimes or waiting times with constant hazard. Note: For the unshifted model with rate lambda > 0 and elapsed time t >= 0, S(t) = exp(-lambda t), F(t) = 1 - exp(-lambda t), and h(t) = lambda. Lambda has inverse-time units; lambda t is dimensionless. Rate lambda and scale 1/lambda are different parameter conventions. [nist-exponential] The mean is 1/lambda, but the median is ln(2)/lambda. Substituting the mean into the CDF gives 1 - exp(-1), not one half. Neither summary promises an individual service life. A shifted model additionally specifies a location parameter and a different time origin. [nist-exponential-parameters] For a >= 0 and u >= 0, the unshifted model gives P(T > a + u | T > a) = S(a + u)/S(a) = exp(-lambda u). This derived memoryless property concerns additional lifetime conditional on survival; it is not evidence that devices avoid wear. Two-parameter Weibull shape one gives this exponential case. [nist-exponential] [nist-weibull] A homogeneous Poisson process requires independent, identically distributed exponential interarrival times. Exponential individual lifetimes alone establish neither independence between devices nor a Poisson fleet-replacement stream. State the event, population and clock before transferring a rate. These are model distinctions, not a fitted storage-fleet result. [nist-hpp] For a fixed initial cohort of N independent items with common exponential rate lambda, each counted only at its first failure and never replaced, the failure count by t is binomial with probability 1 - exp(-lambda t). Its expected count is N(1 - exp(-lambda t)), so its expected event rate is N lambda exp(-lambda t), not a constant. This is an analytic deduction from the lifetime CDF under the stated cohort assumptions, not a fitted fleet model. [nist-exponential] Related terms: - [weibull-distribution](https://hesela.dev/terms/weibull-distribution/) - [survival-function](https://hesela.dev/terms/survival-function/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [mean-residual-life](https://hesela.dev/terms/mean-residual-life/) - [poisson-rate-model](https://hesela.dev/terms/poisson-rate-model/) - [interarrival-time](https://hesela.dev/terms/interarrival-time/) Citations: - [nist-exponential] NIST e-Handbook 8.1.6.1: Exponential lifetime formulas. https://www.itl.nist.gov/div898/handbook/apr/section1/apr161.htm (accessed 2026-11-18) - [nist-exponential-parameters] NIST e-Handbook 1.3.6.6.7: Exponential distribution, location, scale and quantiles. https://www.itl.nist.gov/div898/handbook/eda/section3/eda3667.htm (accessed 2026-11-18) - [nist-weibull] NIST e-Handbook 8.1.6.2: Weibull and its exponential special case. https://www.itl.nist.gov/div898/handbook/apr/section1/apr162.htm (accessed 2026-11-18) - [nist-hpp] NIST e-Handbook 8.1.7.1: Homogeneous Poisson Process assumptions. https://www.itl.nist.gov/div898/handbook/apr/section1/apr171.htm (accessed 2026-11-18) ### Ext4 auto_da_alloc URL: https://hesela.dev/terms/ext4-auto-da-alloc/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: auto_da_alloc Status: shipping Record updated: 2026-10-24 Ext4 auto_da_alloc forces delayed block allocation for recognized file-replacement patterns to support ordered-mode crash protection. Note: The option covers selected replace-via-rename and replace-via-truncate patterns. Its documented protection depends on the next ordered-mode journal commit, not simply on close or rename returning. [ext4-modes] Linux v6.12 ext4_rename calls ext4_alloc_da_blocks when a destination inode exists and the option is enabled. Renaming to an absent destination does not take that branch. This narrow heuristic cannot replace an application's synchronization and error checks. [rename-code] [fsync-contract] Sources and caveats: - Source review scoped to Linux v6.12; not a crash experiment or certification of later kernels. Related terms: - [delayed-allocation](https://hesela.dev/terms/delayed-allocation/) - [ext4-data-ordered](https://hesela.dev/terms/ext4-data-ordered/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [fsync](https://hesela.dev/terms/fsync/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [ext4](https://hesela.dev/terms/ext4/) Citations: - [ext4-modes] Linux v6.12: ext4 data modes and auto_da_alloc. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/ext4.rst (accessed 2026-10-21) - [rename-code] Linux v6.12: ext4_rename delayed-allocation condition. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/namei.c#L3648-L3655 (accessed 2026-10-21) - [fsync-contract] Linux man-pages: fsync(2), file data, directory entries and errors. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-21) ### ext4 bigalloc URL: https://hesela.dev/terms/ext4-bigalloc/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: bigalloc, ext4 clustered allocation Status: shipping Record updated: 2026-11-01 Ext4 bigalloc allocates space in power-of-two clusters of filesystem blocks, with each allocation-bitmap bit tracking a cluster. Note: Cluster size and filesystem block size are different parameters. A larger cluster reduces the bitmap bits needed to describe a given address space, while making allocation coarser. This is not a change to the logical sector size reported by a drive. [ext4-bigalloc] Mke2fs selects block size with -b and cluster size with -C; -C requires bigalloc, and bigalloc requires extents. Record both the explicit options and the resulting feature set, rather than assuming defaults are unchanged across systems. [mke2fs] [ext4-manual] Hesela's offline e2fsprogs 1.47.0 controls used 4 KiB blocks in every image. A dense 65,537-byte file had 68 KiB of inode-reported allocation without bigalloc, versus 128 KiB with 64 KiB clusters. This is a userspace image observation, not a kernel allocation or performance benchmark. [hesela-control] Limitations: - Coarser allocation can increase slack for small, non-inline files; bitmap savings are not total-filesystem savings. (sources: [ext4-bigalloc]) - Successful image creation does not validate every kernel, repair, resize or defragmentation workflow. (sources: [ext4-manual]) Sources and caveats: - Format semantics from kernel documentation and versioned e2fsprogs manuals; original control observations are separately identified. Related terms: - [allocation-bitmap](https://hesela.dev/terms/allocation-bitmap/) - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [file-preallocation](https://hesela.dev/terms/file-preallocation/) - [filesystem-aging](https://hesela.dev/terms/filesystem-aging/) - [dynamic-layout-score](https://hesela.dev/terms/dynamic-layout-score/) - [ext4](https://hesela.dev/terms/ext4/) - [allocation-unit](https://hesela.dev/terms/allocation-unit/) - [filesystem-block](https://hesela.dev/terms/filesystem-block/) Citations: - [ext4-bigalloc] Linux kernel documentation: ext4 bigalloc and clustered allocation. https://docs.kernel.org/filesystems/ext4/bigalloc.html (accessed 2026-10-22) - [mke2fs] e2fsprogs 1.47.0 mke2fs(8): block size, cluster size and directory import. https://manpages.debian.org/bookworm/e2fsprogs/mke2fs.8.en.html (accessed 2026-10-22) - [ext4-manual] e2fsprogs 1.47.0 ext4(5): bigalloc requires extents. https://manpages.debian.org/bookworm/e2fsprogs/ext4.5.en.html (accessed 2026-10-22) - [hesela-control] Hesela: ext4 bigalloc offline image controls, observations and boundaries. https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/#bigalloc-granularity (accessed 2026-10-22) ### Ext4 data journaling URL: https://hesela.dev/terms/ext4-data-journal/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: ext4 data=journal, ext4 journal mode Status: shipping Record updated: 2026-10-24 Ext4 data journaling sends supported file contents and filesystem metadata through the journal before their final locations. Note: For ordinary unencrypted regular files, data=journal journals contents alongside metadata. When journaling would otherwise apply, Linux v6.12 instead selects ordered mode for fscrypt-encrypted regular files. The per-inode journal-data override requires disabled delayed allocation. [inode-mode] A filesystem transaction does not automatically match an application's multi-write or multi-file update. [journal] The Linux v6.12 guide states that this mode disables delayed allocation and O_DIRECT support. [ext4-modes] The inode's data-journaling state makes ext4_dio_alignment return zero. [dio-alignment] The write path then falls back to buffered I/O; its NOWAIT path rejects with EOPNOTSUPP, while earlier lock contention can yield EAGAIN. O_DIRECT alone does not verify page-cache bypass. [dio-fallback] Sources and caveats: - Source review scoped to Linux v6.12; not a crash experiment or certification of later kernels. Related terms: - [ext4-data-ordered](https://hesela.dev/terms/ext4-data-ordered/) - [ext4-data-writeback](https://hesela.dev/terms/ext4-data-writeback/) - [journal-checkpoint](https://hesela.dev/terms/journal-checkpoint/) - [fsync](https://hesela.dev/terms/fsync/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [journal-revoke-record](https://hesela.dev/terms/journal-revoke-record/) - [ext4](https://hesela.dev/terms/ext4/) Citations: - [journal] Linux v6.12: journal coverage and ordered-mode fast commits. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/filesystems/ext4/journal.rst (accessed 2026-10-21) - [ext4-modes] Linux v6.12: ext4 data modes and auto_da_alloc. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/admin-guide/ext4.rst (accessed 2026-10-21) - [fsync-contract] Linux man-pages: fsync(2), file data, directory entries and errors. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-21) - [inode-mode] Linux v6.12: ext4_inode_journal_mode, encrypted files and per-inode overrides. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/ext4_jbd2.c (accessed 2026-10-21) - [dio-alignment] Linux v6.12: ext4_dio_alignment, data-journal exclusion. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/inode.c#L5187-L5201 (accessed 2026-10-21) - [dio-fallback] Linux v6.12: direct-I/O eligibility, buffered fallback and NOWAIT errors. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/file.c (accessed 2026-10-21) ### Ext4 ordered mode URL: https://hesela.dev/terms/ext4-data-ordered/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: ext4 data=ordered Status: shipping Record updated: 2026-10-24 Ext4 ordered mode journals metadata and orders associated file-data writes before the metadata transaction commits. Note: The default data=ordered mode does not put ordinary file contents in the journal or make them application-atomic. Fast commits are also scoped to ordered mode in the reviewed design. [journal] In Linux v6.12, ext4_map_blocks registers newly allocated visible blocks for ordered-data handling, excluding unwritten or explicitly zeroed mappings in that branch. This is not a global ordering guarantee for every overwrite. [ordered-code] Sources and caveats: - Source review scoped to Linux v6.12; not a crash experiment or certification of later kernels. Related terms: - [ext4-data-journal](https://hesela.dev/terms/ext4-data-journal/) - [ext4-data-writeback](https://hesela.dev/terms/ext4-data-writeback/) - [ext4-auto-da-alloc](https://hesela.dev/terms/ext4-auto-da-alloc/) - [ext4-fast-commit](https://hesela.dev/terms/ext4-fast-commit/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [unwritten-extent](https://hesela.dev/terms/unwritten-extent/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [ext4](https://hesela.dev/terms/ext4/) Citations: - [journal] Linux v6.12: journal coverage and ordered-mode fast commits. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/filesystems/ext4/journal.rst (accessed 2026-10-21) - [ordered-code] Linux v6.12: ext4_map_blocks ordered-data registration. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/inode.c#L657-L682 (accessed 2026-10-21) ### Ext4 writeback mode URL: https://hesela.dev/terms/ext4-data-writeback/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: ext4 data=writeback Status: shipping Record updated: 2026-10-24 Ext4 writeback mode journals metadata without requiring associated file-data writes to precede the metadata commit. Note: The name describes a filesystem journaling mode, not a disk's volatile write cache. File contents are outside the journal, and recovery can leave recently written files with incorrect data. [journal] Applications still need explicit synchronization and error handling where persistence is required. Synchronizing a file does not by itself make its directory entry durable. [fsync-contract] Sources and caveats: - Source review scoped to Linux v6.12; not a crash experiment or certification of later kernels. Related terms: - [ext4-data-ordered](https://hesela.dev/terms/ext4-data-ordered/) - [ext4-data-journal](https://hesela.dev/terms/ext4-data-journal/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [fsync](https://hesela.dev/terms/fsync/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [ext4](https://hesela.dev/terms/ext4/) Citations: - [journal] Linux v6.12: journal coverage and ordered-mode fast commits. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/filesystems/ext4/journal.rst (accessed 2026-10-21) - [fsync-contract] Linux man-pages: fsync(2), file data, directory entries and errors. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-21) ### Ext4 fast commit URL: https://hesela.dev/terms/ext4-fast-commit/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: Ext4 fast-commit journaling Status: shipping Record updated: 2026-11-28 Ext4 fast commit is a journaling mechanism that records metadata deltas for eligible updates instead of a full traditional metadata-block commit. Note: Linux v6.12 describes this for ordered mode, with fallback to full commits. [journal] Replay targets recorded outcomes rather than blindly repeating procedures; the implementation also documents hardening work, so the design rationale is not a correctness certification. [fast] See the explicitly synthetic interrupted-recovery model. [hesela] In the audited v6.16 ext4_fc_submit_bh path, a barrier-enabled tail requests both REQ_PREFLUSH and REQ_FUA; do not infer zero device flushes from compact records. [tail] Replay allocation: a bitmap-free block can already belong to a logged extent. Linux v6.12 scans ADD_RANGE records and advances the accepted region count only at a tail with matching transaction ID and CRC. Its replay-only allocator skips excluded candidates. Bytes after the last accepted tail do not automatically extend that region count. [fc-allocation-scan] [fc-allocation-allocator] A finite constructed example supplies tail validity and does not parse a journal. Its downloadable results include the inputs and generator hash. [fc-allocation-example] Limitations: - Lower mean fsync latency need not imply a lower p99; the ATC 2024 paper reports the opposite trade-off in its NFS Varmail experiment, attributed to fallback full commits. (sources: [fastcommit-paper]) - The cited Linux v6.12 mechanism and explanatory model do not certify a deployed kernel or storage stack. (sources: [hesela]) Sources and caveats: - The allocation explanation covers pinned Linux v6.12 source, not execution of a kernel or a correctness assessment of current releases. Related terms: - [ijournaling](https://hesela.dev/terms/ijournaling/) - [journal-checkpoint](https://hesela.dev/terms/journal-checkpoint/) - [journal-revoke-record](https://hesela.dev/terms/journal-revoke-record/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [logical-journaling](https://hesela.dev/terms/logical-journaling/) - [physical-journaling](https://hesela.dev/terms/physical-journaling/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [ext4-data-ordered](https://hesela.dev/terms/ext4-data-ordered/) - [ext4](https://hesela.dev/terms/ext4/) Citations: - [fastcommit-paper] Shirwadkar, Kadekodi and Tso. FastCommit. USENIX ATC 2024, section 6.1 and Figure 12, pp. 165-166. https://www.usenix.org/system/files/atc24-shirwadkar.pdf (accessed 2026-10-15) - [journal] Linux v6.12: ext4 Journal (jbd2), layout and fast commits. https://github.com/torvalds/linux/blob/v6.12/Documentation/filesystems/ext4/journal.rst (accessed 2026-10-14) - [fast] Linux v6.12: fs/ext4/fast_commit.c, replay idempotence and stated limitations. https://github.com/torvalds/linux/blob/v6.12/fs/ext4/fast_commit.c (accessed 2026-10-14) - [hesela] Hesela: Ext4 journal replay, revocation and repeatable recovery. https://hesela.com/analyses/ext4-journal-replay-revocation/ (accessed 2026-10-14) - [tail] Linux v6.16: ext4_fc_submit_bh. https://github.com/torvalds/linux/blob/v6.16/fs/ext4/fast_commit.c#L664-L676 (accessed 2026-10-15) - [fc-allocation-scan] Linux v6.12 fast_commit.c: accepted-tail range boundary and replay exclusions. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/fast_commit.c#L1872-L2055 (accessed 2026-11-28) - [fc-allocation-allocator] Linux v6.12 mballoc.c: replay-only allocator and excluded candidates. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/mballoc.c#L5697-L5783 (accessed 2026-11-28) - [fc-allocation-example] Hesela: constructed replay-allocation example, supplied tail validity and explicit limits. https://hesela.dev/research/ext4-replay-allocation/results.json (accessed 2026-11-28) ### Ext4 orphan file URL: https://hesela.dev/terms/ext4-orphan-file/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: orphan_file, COMPAT_ORPHAN_FILE Status: shipping Record updated: 2026-11-30 An ext4 orphan file is an internal metadata file that stores inode-number slots for orphan cleanup when the orphan_file filesystem feature is enabled. Note: The legacy orphan list starts at s_last_orphan and uses each inode's i_dtime field as a next-inode link. The orphan file instead uses the special inode referenced by s_orphan_file_inum; a zero slot is unused. RO_COMPAT_ORPHAN_PRESENT indicates that entries may require recovery, not that an orphan definitely exists. It is set during writable use and cleared on clean unmount. [linux-ext4-orphan-layout] Unlike COMPAT_ORPHAN_FILE, an unknown RO_COMPAT_ORPHAN_PRESENT bit prevents an older kernel from mounting read-write; clearing it removes this barrier, not restrictions from other features or older checking tools. [linux-ext4-superblock] Linux v6.12 falls back to the legacy list when orphan-file insertion returns ENOSPC. Here ENOSPC can mean no available orphan-file slots or a bounded slot search giving up, not necessarily filesystem-wide space exhaustion. This insertion path does not dynamically grow the preallocated orphan file, and fallback does not itself establish a user-visible operation failure. [linux-v6-12-ext4-orphan] See the paired recovery analysis. [hesela-ext4-orphan-cleanup] Capacity: a B-byte block reserves eight tail bytes, leaving (B - 8) / 4 inode slots: 1,022 at 4 KiB. [linux-orphan-capacity-layout] At Linux commit ca20d5a011d3, the size guard rejects files above max(512 x B, 2 MiB), not above 512 blocks universally: 1 KiB blocks allow 2,048 blocks through this guard. Passing it alone does not establish valid metadata or successful recovery. [linux-orphan-capacity-guard] Limitations: - The feature changes recovery bookkeeping, not unlink semantics or application synchronization requirements. (sources: [linux-ext4-orphan-layout], [linux-unlink-2], [linux-fsync-2]) Sources and caveats: - The capacity calculation is on-disk layout arithmetic, not a mounted-filesystem experiment or throughput measurement. The size guard is pinned to ca20d5a011d3; Linux v6.12 and intervening revisions have different checks. Related terms: - [ext4-orphan-inode](https://hesela.dev/terms/ext4-orphan-inode/) - [inode](https://hesela.dev/terms/inode/) - [unlink](https://hesela.dev/terms/unlink/) - [ext4](https://hesela.dev/terms/ext4/) Citations: - [linux-ext4-orphan-layout] Linux ext4 documentation: Orphan file (v6.12). https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/filesystems/ext4/orphan.rst (accessed 2026-10-15) - [linux-v6-12-ext4-orphan] Linux v6.12: ext4 orphan inode handling. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/orphan.c (accessed 2026-10-15) - [linux-ext4-superblock] Linux ext4 documentation: Super block feature compatibility (v6.12). https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/filesystems/ext4/super.rst (accessed 2026-10-15) - [linux-unlink-2] Linux manual: unlink(2). https://man7.org/linux/man-pages/man2/unlink.2.html (accessed 2026-10-15) - [linux-fsync-2] Linux manual: fsync(2). https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-15) - [hesela-ext4-orphan-cleanup] Hesela: ext4 journal replay and orphan cleanup. https://hesela.com/analyses/ext4-journal-replay-revocation/#orphan-cleanup (accessed 2026-10-15) - [linux-orphan-capacity-layout] Linux ca20d5a011d3: orphan-block tail and slot count. https://github.com/torvalds/linux/blob/ca20d5a011d35fc25e328fe31ac47f7aae557c5a/fs/ext4/ext4.h#L1545-L1557 (accessed 2026-11-30) - [linux-orphan-capacity-guard] Linux ca20d5a011d3: orphan-file initialization and size guard. https://github.com/torvalds/linux/blob/ca20d5a011d35fc25e328fe31ac47f7aae557c5a/fs/ext4/orphan.c#L577-L661 (accessed 2026-11-30) - [hesela-orphan-capacity] Hesela: reproducible ext4 orphan-file capacity arithmetic and version boundaries. https://hesela.dev/research/ext4-orphan-capacity/README.md (accessed 2026-11-30) ### Ext4 orphan inode URL: https://hesela.dev/terms/ext4-orphan-inode/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: orphan inode (ext4) Status: shipping Record updated: 2026-10-24 An ext4 orphan inode is an inode tracked so recovery can finish deletion or remove excess allocations left by an interrupted truncation or extension. Note: An unlinked file may remain alive while open; ext4 records recovery work so a crash does not leave its inode and blocks permanently allocated. Linked files can also need orphan tracking when truncation or extension spans journal transactions, so orphan does not mean only a file without directory entries. [linux-ext4-orphan-layout] In Linux v6.12, ext4_process_orphan uses the recovered link count: linked inodes are truncated to the recovered inode size, while zero-link inodes are released for deletion. [linux-v6-12-ext4-orphan] See the Hesela analysis for the relationship to journal replay. [hesela-ext4-orphan-cleanup] Limitations: - Linux v6.12 increments nr_truncates even after an ext4_truncate error if execution continues; its cleanup count alone does not certify successful repair. Read accompanying errors. (sources: [linux-v6-12-ext4-orphan]) - Cleanup reclaims allocations; it is not undelete, secure sanitization, or an application durability guarantee. (sources: [linux-v6-12-ext4-orphan], [linux-fsync-2]) - In Linux v6.12, cleanup skips a read-only block device but may temporarily permit writes for a read-only filesystem mount on writable media; read-only mounting alone is not a no-write guarantee. (sources: [linux-v6-12-ext4-orphan]) Related terms: - [inode](https://hesela.dev/terms/inode/) - [unlink](https://hesela.dev/terms/unlink/) - [ext4-orphan-file](https://hesela.dev/terms/ext4-orphan-file/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) - [ext4](https://hesela.dev/terms/ext4/) Citations: - [linux-ext4-orphan-layout] Linux ext4 documentation: Orphan file (v6.12). https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/Documentation/filesystems/ext4/orphan.rst (accessed 2026-10-15) - [linux-v6-12-ext4-orphan] Linux v6.12: ext4 orphan inode handling. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/orphan.c (accessed 2026-10-15) - [linux-fsync-2] Linux manual: fsync(2). https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-15) - [hesela-ext4-orphan-cleanup] Hesela: ext4 journal replay and orphan cleanup. https://hesela.com/analyses/ext4-journal-replay-revocation/#orphan-cleanup (accessed 2026-10-15) ### Ext4 URL: https://hesela.dev/terms/ext4/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: fourth extended filesystem, ext4 filesystem Status: shipping Record updated: 2026-12-04 Ext4 is a general-purpose Linux filesystem in the extended-filesystem family that supports extent-based block mapping and configurable journaling. Note: Ext4 divides storage into block groups. With the extent feature, a mapping describes a contiguous range of file blocks and the storage blocks backing it, rather than listing each block separately. Block groups, inodes and extents describe filesystem organization, not the physical layout inside an SSD. [overview] [manual] Journaling depends on the has_journal feature; the filesystem name alone does not establish that a journal is present. With journaling enabled, data=ordered normally journals metadata rather than ordinary file contents; supported per-file data-journaling settings can override that policy. [attributes] The data=journal and data=writeback modes have different coverage and ordering. These policies do not supply an application's multi-file transaction boundary. [manual] [journal] Journal replay addresses filesystem consistency after a crash. The metadata_csum feature checks filesystem structures; it is not a general per-file content checksum. Applications still need a persistence protocol and must check synchronization errors. Synchronizing a file alone does not guarantee persistence of its containing directory entry. [checksums] [fsync] Reserved blocks restrict ordinary allocation; tune2fs documents their configured count or percentage and eligible user/group settings. Changing that reserve changes allocation policy, not device or lower thin-pool capacity. [tune2fs-reserve] Linux v6.12 also accounts for a separate internal reserve. Its ordinary availability report does not test the caller's reserved-block privileges, while its allocation check does. Project-quota adjustments and other allocation constraints still matter; a statistics query is not a reservation or write guarantee. [ext4-reserve-statfs] [ext4-reserve-allocation] Advantages: - With metadata_csum_seed, a stored seed separates metadata checksum initialization from later UUID changes; the superblock checksum still covers the UUID-containing superblock. (sources: [uuid-seed-code], [uuid-seed-manual]) Limitations: - A read-only mount can still replay the journal and write to storage. The documented ro,noload combination suppresses journal loading, but skipping replay after an unclean shutdown can leave inconsistencies; it does not repair them. (sources: [mount-options]) - Historical FFS measurements used a 10% free-space reserve to support placement choices; this is not a recommended reserve percentage for ext4 or SSD workloads. (sources: [ffs-reserve-history]) - For metadata_csum without metadata_csum_seed, changing the UUID requires checksum rewriting. The stable_inodes feature prohibits UUID changes even when a stored seed is present. (sources: [uuid-change-code], [uuid-seed-manual]) - An internally valid inode need not be the intended latest inode. In four unmounted, no-journal ext4 configurations on e2fsprogs 1.47.0, restoring the complete older inode changed permissions from 0600 to 0644 while e2fsck -f -n returned 0. Isolated mode or generation changes returned 4 with checksum errors; payload bytes stayed unchanged. (sources: [inode-freshness-witness]) Sources and caveats: - Foundational source review using e2fsprogs documentation and Linux v6.16 design documents; no runtime test, capacity limit or performance ranking is asserted. - 2026-11-30: source review of e2fsprogs v1.47.0 and four native unmounted regular-file observations; earlier source-only provenance describes the original review. - Four 16 MiB images on e2fsprogs 1.47.0 cover stored/UUID-derived seeds and stable_inodes on/off. Permitted changes retained the known payload and passed read-only e2fsck; both refusals left image bytes unchanged. [uuid-seed-observation] - The fixtures have no journal and do not test mounted behavior, crash safety, device writes or recovery completeness. Operational identity changes should use a working copy, retaining the acquisition. - The inode-replay witness uses two captures of four configurations and five cases each, not independent devices. It does not test mounted chmod, journal replay, power loss or failure probability. [inode-freshness-witness] Related terms: - [e2fsck](https://hesela.dev/terms/e2fsck/) - [e2image](https://hesela.dev/terms/e2image/) - [ext4-auto-da-alloc](https://hesela.dev/terms/ext4-auto-da-alloc/) - [ext4-bigalloc](https://hesela.dev/terms/ext4-bigalloc/) - [ext4-data-journal](https://hesela.dev/terms/ext4-data-journal/) - [ext4-data-ordered](https://hesela.dev/terms/ext4-data-ordered/) - [ext4-data-writeback](https://hesela.dev/terms/ext4-data-writeback/) - [ext4-fast-commit](https://hesela.dev/terms/ext4-fast-commit/) - [ext4-orphan-file](https://hesela.dev/terms/ext4-orphan-file/) - [ext4-orphan-inode](https://hesela.dev/terms/ext4-orphan-inode/) - [inode](https://hesela.dev/terms/inode/) - [file-extent](https://hesela.dev/terms/file-extent/) - [delayed-allocation](https://hesela.dev/terms/delayed-allocation/) - [fsync](https://hesela.dev/terms/fsync/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) - [statvfs](https://hesela.dev/terms/statvfs/) - [filesystem-uuid](https://hesela.dev/terms/filesystem-uuid/) - [txfs](https://hesela.dev/terms/txfs/) - [fstream](https://hesela.dev/terms/fstream/) - [spanfs](https://hesela.dev/terms/spanfs/) Citations: - [manual] e2fsprogs ext4(5): filesystem family, extent and has_journal features. https://man7.org/linux/man-pages/man5/ext4.5.html (accessed 2026-10-24) - [overview] Linux v6.16: ext4 block-group organization. https://github.com/torvalds/linux/blob/v6.16/Documentation/filesystems/ext4/overview.rst (accessed 2026-10-24) - [journal] Linux v6.16: ext4 Journal (jbd2), metadata recovery and data modes. https://github.com/torvalds/linux/blob/v6.16/Documentation/filesystems/ext4/journal.rst (accessed 2026-10-24) - [checksums] Linux v6.16: ext4 metadata checksum coverage. https://github.com/torvalds/linux/blob/v6.16/Documentation/filesystems/ext4/checksums.rst (accessed 2026-10-24) - [fsync] Linux man-pages fsync(2): file data, directory entries and errors. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-24) - [attributes] e2fsprogs chattr(1): per-file data-journaling attribute j. https://man7.org/linux/man-pages/man1/chattr.1.html (accessed 2026-10-24) - [mount-options] Linux v6.16: ext4 read-only mounts, journal replay and noload. https://docs.kernel.org/6.16/admin-guide/ext4.html (accessed 2026-10-24) - [ext4-reserve-statfs] Linux v6.12: ext4_statfs reserve accounting and project-quota adjustment. https://github.com/torvalds/linux/blob/v6.12/fs/ext4/super.c#L6754-L6830 (accessed 2026-11-01) - [ext4-reserve-allocation] Linux v6.12: ext4_has_free_clusters credential and internal-reserve checks. https://github.com/torvalds/linux/blob/v6.12/fs/ext4/balloc.c#L620-L666 (accessed 2026-11-01) - [tune2fs-reserve] e2fsprogs tune2fs(8): reserved-block count, percentage, user and group. https://man7.org/linux/man-pages/man8/tune2fs.8.html (accessed 2026-11-01) - [ffs-reserve-history] McKusick et al. (1984), A Fast File System for UNIX: reserve policy and measurement conditions, pp. 187 and 191. https://people.eecs.berkeley.edu/~prabal/teaching/resources/eecs582/mckusick84ffs.pdf (accessed 2026-11-02) - [uuid-seed-manual] e2fsprogs v1.47.0 ext4(5): metadata_csum_seed and stable_inodes. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.0/misc/ext4.5.in (accessed 2026-11-30) - [uuid-seed-code] e2fsprogs v1.47.0: checksum seed initialization and superblock checksum. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.0/lib/ext2fs/csum.c (accessed 2026-11-30) - [uuid-change-code] e2fsprogs v1.47.0 tune2fs: UUID-change guards and checksum rewrite. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.0/misc/tune2fs.c (accessed 2026-11-30) - [uuid-seed-observation] Hesela: four disposable ext4 UUID-change observations and raw command results. https://hesela.dev/research/ext4-uuid-seed/results.json (accessed 2026-11-30) - [inode-freshness-witness] Hesela: native ext4 inode replay, permission checks and offline experiment limits. https://hesela.com/analyses/checksums-identity-and-lost-writes/#ext4-inode-freshness (accessed 2026-12-01) ### Extended attribute URL: https://hesela.dev/terms/extended-attribute/ Related analysis: https://hesela.com/analyses/posix-acl-restore-permissions/ Also known as: xattr, extended file attribute Status: shipping Record updated: 2026-11-16 An extended attribute is a named metadata value associated with a filesystem object in addition to its ordinary file attributes. Note: Linux scope: names include a namespace, such as user, security, system or trusted, with different access policies. A defined empty value is not an absent attribute. Access to a value and visibility of its name are separate concerns: listxattr() may omit names inaccessible to the caller. An unprivileged user.* inventory therefore does not establish equality of all metadata. [linux-xattr] [linux-listxattr] Restore acceptance: matching all source name/value pairs does not exclude destination-only names. In 132 controlled executions on one host, GNU tar 1.35 preserved an extra attribute on an existing directory while restoring both source values; the regular file was recreated. Unfiltered rsync 3.2.7 -aX reconciled the visible user.* sets, while an explicit exclusion retained the extra key. These outcomes concern the recorded options and fixtures, not all namespaces or future versions. [hesela-xattr] Isolation: metadata-only rsync updates in the same study also changed a retained hard-link alias outside the destination subtree. A changed-payload control replaced the destination file and left its old alias intact; neither used --inplace. Path containment alone is not metadata isolation. These are repeatability controls on ext4 and tmpfs, not independent systems or crash-durability measurements. [hesela-xattr] ACL options: rsync -aX does not imply -A. Filesystem support, authority and application meaning still need validation. [rsync] Advantages: - Stores named metadata alongside a filesystem object. Limitations: - Namespace support, permissions and backup-tool policies vary. - Matching visible attributes alone does not prove complete recovery or application access. Sources and caveats: - Controlled user.* fixtures: 11 scenarios, two filesystem types, three repetitions and two captures on one Linux host. No privileged metadata, cross-host restore, crash or independent replication. Related terms: - [hard-link](https://hesela.dev/terms/hard-link/) - [posix-access-control-list](https://hesela.dev/terms/posix-access-control-list/) Citations: - [linux-xattr] Linux man-pages: xattr(7), namespaces and empty values. https://man7.org/linux/man-pages/man7/xattr.7.html (accessed 2026-11-16) - [linux-listxattr] Linux man-pages: listxattr(2), caller-visible names. https://man7.org/linux/man-pages/man2/listxattr.2.html (accessed 2026-11-16) - [rsync] Official rsync manual: attribute filters and ACL options. https://www.samba.org/ftp/rsync/generated-files/rsync.1.html (accessed 2026-11-16) - [hesela-xattr] Hesela: native xattr restore protocol and reproducible evidence. https://hesela.dev/research/xattr-restore/README.md (accessed 2026-11-16) ### External synchrony URL: https://hesela.dev/terms/external-synchrony/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: externally synchronous I/O Status: research Record updated: 2026-11-01 External synchrony delays causally dependent external output until the underlying file modifications are durable, while allowing internal execution to continue. Note: Equivalence matches output values and causal order; a disk commit becomes observable after a crash and reboot. Hesela interprets this as semantics, not identical wall-clock timing. Xsyncfs returns from filesystem calls before commit and records a process dependency. Pipes, UNIX sockets, shared memory and the file cache propagate dependencies; dependent screen, network and device output waits for commit. [external-synchrony] [rethink-tocs] Output triggers a commit when it depends on pending changes; without output, commits occur every 5 seconds, as in asynchronous ext3. In PostMark, xsyncfs completion time was within 7% of asynchronous ext3; synchronously mounted ext3 with write barriers took over two orders of magnitude longer. This is a workload-specific result, not a bound for all workloads. [external-synchrony] [rethink-tocs] Shared-memory tracking is conservative: a process with write permission transfers its commit dependency to processes with read permission, without observing an actual read. Memory-mapped files use the same approach, and a dependency acquired by one thread reaches all threads in that process. This may delay output that did not actually consume the changed data. A tracked dependency is therefore not a measured data-flow edge. These are historical prototype choices, not current Linux guarantees. [rethink-tocs] In the 2008 two-machine MySQL test, xsyncfs achieved lower throughput than asynchronous ext3 with write barriers. The diagnostic xsyncfs-noshm variant disabled shared-memory dependency propagation and nearly matched that comparator. Hesela interprets this as evidence that conservative dependency propagation can reduce throughput, not evidence of preserved guarantees for arbitrary shared-memory applications. [rethink-tocs] Advantages: - Applications keep the synchronous I/O interface and do not need to be modified. (sources: [rethink-tocs]) Limitations: - For dependencies spanning different file systems, the authors propose blocking before the second write until prior work commits; this is not a demonstrated cross-filesystem transaction protocol. (sources: [rethink-tocs]) - Work that produced no external output can still be lost in a crash before the next periodic commit. (sources: [external-synchrony]) - Catastrophic media errors may be detected after the application has continued; the authors rejected checkpoint-and-rollback recovery rather than implementing it. (sources: [rethink-tocs]) - When it cannot track causality through an operation such as ioctl, the prototype blocks the caller until dependencies commit; execution is not always nonblocking. (sources: [rethink-tocs]) - External synchrony does not itself promise atomic writes or prevent disk corruption; xsyncfs used full-data journaling, adding journal-transaction atomicity beyond that contract. (sources: [rethink-tocs]) Sources and caveats: - external-synchrony is the OSDI 2006 paper, read for the definition, output-triggered commits and the benchmark comparison with ext3. - The 2008 journal version, section 2.5 (p. 6:8), presents cross-filesystem blocking as a proposal; section 3.6 (p. 6:13) describes conservative shared-memory tracking. - Performance figures are research measurements from the papers and were not reproduced. - The 2026-11-01 review used the journal copy at https://courses.cs.duke.edu/compsci510/spring17/resources/papers/rethink.sync.tocs.pdf. No prototype or performance experiment was rerun. - Evaluation scope checked against TOCS section 4.3 (PostMark) and section 4.5, Figure 6B (remote-client MySQL). The Microsoft-hosted journal text was accessible in this follow-up; the no-shared-memory qualification is Hesela's interpretation. - TOCS 2008 section 2.5, pp. 6:7-6:8, and section 3.1, p. 6:9: late media failures and deliberately omitted rollback; reviewed 2026-11-01. Historical design, not a modern Linux error-handling guarantee. - TOCS sections 2.3 and 3.4 describe blocking for untracked operations. Section 4.5 used UNIX sockets in the local MySQL benchmark to propagate dependencies; reviewed 2026-11-01. - TOCS sections 2.2 (pp. 6:5-6:6), 3.2 (p. 6:9) and 3.3 (pp. 6:10-6:11) distinguish output equivalence from the journal implementation. Timing qualification is Hesela's interpretation of the formal criterion; independently source-reviewed 2026-11-01. Related terms: - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [optimistic-crash-consistency](https://hesela.dev/terms/optimistic-crash-consistency/) Citations: - [external-synchrony] Nightingale, Veeraraghavan, Chen and Flinn. Rethink the Sync. OSDI 2006, pp. 1-14. https://static.usenix.org/events/osdi06/tech/nightingale/nightingale_html/index.html (accessed 2026-11-01) - [rethink-tocs] Nightingale et al. Rethink the Sync. TOCS 26(3):6 (2008), sections 2.2-2.5, 3.1, 3.2-3.3, 3.4-3.6, 4.3, 4.5. DOI:10.1145/1394441.1394442. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/rethink.sync_.tocs_.pdf (accessed 2026-11-01) ### Extreme Binning URL: https://hesela.dev/terms/extreme-binning/ Also known as: Extreme Binning deduplication Status: research Record updated: 2026-12-02 Extreme Binning is a file-backup deduplication method that uses a representative chunk fingerprint to select one cumulative chunk-index bin. Note: Lookup: the minimum chunk fingerprint selects a bin through an in-memory primary index. Only that bin is searched; a chunk present elsewhere can be stored again. Bins accumulate fingerprints from multiple files. [eb2009] Fast path: the original 2009 procedure keeps the first whole-file hash for each representative and does not update it. Repeating a later file can therefore require a bin read even when all its chunks are already present. [eb2009] Cost boundary: one bin lookup is not one total backup I/O. Payload writes, bin updates and recipe writes are separate work. The 2012 extension explicitly trades additional bin reads and updates for broader matching. [parallel2012] Worked examples: two synthetic files share four of five distinct identities but changing the minimum retains four extra chunk copies. A separate three-file case reuses an accumulated bin even though no single earlier file contains every requested chunk. These are exact constructed counterexamples, not measured backup workloads. [model] Interpretation: pairwise MinHash agreement is not a repository-wide deduplication ratio. The matching scope, accumulated bin state and chosen hash ordering must be considered. [model] Evidence limits: the original study includes desktop backups and Linux releases; its workload results do not establish current-device throughput. The later paper describes an extension, not an independent replication of the original implementation. [eb2009] [parallel2012] Sources and caveats: - Historical research method; no current product availability or introduction date is asserted. - The demonstration assumes collision-free ordered identities and equal-size chunks. It counts logical bin operations, not physical I/O, elapsed time or device performance. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [sparse-indexing](https://hesela.dev/terms/sparse-indexing/) - [minhash](https://hesela.dev/terms/minhash/) - [jaccard-similarity](https://hesela.dev/terms/jaccard-similarity/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) Citations: - [eb2009] Bhagwat, Eshghi, Long and Lillibridge. Extreme Binning. MASCOTS 2009. DOI 10.1109/MASCOT.2009.5366623; sections III, V-VI. https://escholarship.org/content/qt0tt8q4ht/qt0tt8q4ht.pdf (accessed 2026-12-02) - [parallel2012] Zhang, Bhagwat, Litwin, Long and Schwarz. Improved Deduplication through Parallel Binning. IPCCC 2012; sections I-III. https://crss.us/media/pubs/e5318725a703fca005efbefc1df99c14d9f7a8d2.pdf (accessed 2026-12-02) - [model] Hesela: Extreme Binning scope examples, exact model and tests. https://hesela.dev/research/extreme-binning/README.md (accessed 2026-12-02) ### F_FULLFSYNC URL: https://hesela.dev/terms/f-fullfsync/ Also known as: Darwin full file synchronization Status: shipping Record updated: 2026-11-13 F_FULLFSYNC is a Darwin fcntl operation that synchronizes a file and requests flushing buffered drive data to permanent storage. Note: The operation adds a drive-cache flush request after file synchronization. It can take appreciable time; the archived manual reports ignored requests on some FireWire drives. [apple-fcntl] On iOS, F_FULLFSYNC is documented as best-effort. Data can still be lost during sudden power failure. Requesting a stronger synchronization operation is not a universal guarantee of power-loss survival. [apple-writes] SQLite separates when its VFS is synchronized from which synchronization method it requests: synchronous=FULL is not fullfsync=ON. The fullfsync setting selects F_FULLFSYNC where supported; checkpoint_fullfsync selects it for checkpoints unless fullfsync is already enabled. Both flags default off in the documentation. [sqlite-sync-flags] [sqlite-fullfsync] [sqlite-checkpoint-fullfsync] In SQLite 3.46.1, the Unix VFS full_fsync helper attempts ordinary fsync when F_FULLFSYNC returns nonzero in the HAVE_FULLFSYNC build path. If that fallback succeeds, the helper returns success. Thus a successful synchronization return does not by itself identify which operation succeeded. This is pinned source inspection, not a device test or a claim about every SQLite build. [sqlite-unix-sync] Sources and caveats: - Source review, not a macOS or iOS runtime experiment or power-loss test. - The archived Apple manual supplies the API description; its filesystem list is not a current compatibility matrix. [apple-fcntl] - The best-effort statement is explicitly scoped to iOS in current Apple guidance. [apple-writes] Related terms: - [fsync](https://hesela.dev/terms/fsync/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [sqlite-wal-end-mark](https://hesela.dev/terms/sqlite-wal-end-mark/) Citations: - [apple-fcntl] Apple archived fcntl(2): F_FULLFSYNC. https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/fcntl.2.html (accessed 2026-11-13) - [apple-writes] Apple: Reducing disk writes, explicit storage synchronization. https://developer.apple.com/documentation/xcode/reducing-disk-writes (accessed 2026-11-13) - [sqlite-sync-flags] SQLite: Synchronization Type Flags. https://www.sqlite.org/c3ref/c_sync_dataonly.html (accessed 2026-11-13) - [sqlite-fullfsync] SQLite: fullfsync and checkpoint_fullfsync pragmas. https://sqlite.org/pragma.html#pragma_fullfsync (accessed 2026-11-13) - [sqlite-checkpoint-fullfsync] SQLite: checkpoint_fullfsync pragma. https://sqlite.org/pragma.html#pragma_checkpoint_fullfsync (accessed 2026-11-13) - [sqlite-unix-sync] SQLite 3.46.1: full_fsync Unix VFS fallback. https://github.com/sqlite/sqlite/blob/f3d536d37825302e31ed0eddd811c689f38f85a3/src/os_unix.c (accessed 2026-11-13) - [hesela-fullfsync] Hesela: Apple synchronization and SQLite settings. https://hesela.com/analyses/fsync-failure-retry-durability/#apple-fullfsync (accessed 2026-11-13) ### F1 score URL: https://hesela.dev/terms/f1-score/ Related analysis: https://hesela.com/analyses/smart-replacement-prediction-random-splits/ Also known as: balanced F-score, F1 measure Status: shipping Record updated: 2026-10-23 F1 score is the harmonic mean of precision and recall for a specified positive class and decision threshold. Note: For binary predictions, F1 = 2TP / (2TP + FP + FN). True negatives do not enter this formula. If TP, FP and FN are all zero, it is undefined, so the zero-division convention must be reported. F1 is neither recall nor accuracy, and multiclass or multilabel results must state the averaging rule. [sklearn-f1] Separately averaged or median precision and recall do not generally reconstruct an averaged or median F1. [sklearn-metrics] The best threshold depends on the score scale. For calibrated probabilities, the F1-maximizing rule predicts positive when the probability is at least half the best achievable F1. A classifier that gives every case the same score is optimized by predicting all cases positive, which yields precision equal to the base rate b and F1 = 2b/(1 + b), about 0.18 at a 10% base rate. [f1-threshold] Because true negatives are ignored, a high value can hide failure on the other class. In one constructed set with 91 positives and 9 negatives, TP = 90, FN = 1, FP = 9 and TN = 0 gave F1 = 0.95 and accuracy 0.90, while the Matthews correlation coefficient was -0.03. [mcc-advantages] Advantages: - Precision and recall enter as one number that stays low unless both are reasonably high, which suits tasks where the positive class is rare. (sources: [f1-threshold]) Limitations: - A single F1 value does not state how many healthy drives trigger alerts or the operational cost of false alarms. Retain precision, recall, prevalence and the counting unit. (sources: [sklearn-metrics]) Sources and caveats: - f1-threshold read 2026-10-23, sections 3 and 4, for the threshold relation and the uninformative-classifier result. - mcc-advantages read 2026-10-23, use case A1, for the confusion matrix and the three scores. - sklearn-f1 and sklearn-metrics carry the formula and averaging conventions. Related terms: - [precision](https://hesela.dev/terms/precision/) - [recall](https://hesela.dev/terms/recall/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [average-precision](https://hesela.dev/terms/average-precision/) - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [matthews-correlation-coefficient](https://hesela.dev/terms/matthews-correlation-coefficient/) - [brier-score](https://hesela.dev/terms/brier-score/) Citations: - [sklearn-f1] scikit-learn: f1_score, binary formula, averaging and zero-division conventions. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.f1_score.html (accessed 2026-10-14) - [sklearn-metrics] scikit-learn: precision, recall and F-measures; aggregation and metric denominators. https://scikit-learn.org/stable/modules/model_evaluation.html#precision-recall-and-f-measures (accessed 2026-10-14) - [f1-threshold] Lipton, Elkan and Naryanaswamy. Thresholding Classifiers to Maximize F1 Score. ECML PKDD 2014, arXiv 1402.1892, sections 3 and 4. https://arxiv.org/abs/1402.1892 (accessed 2026-10-23) - [mcc-advantages] Chicco and Jurman. The advantages of the Matthews correlation coefficient over F1 score and accuracy. BMC Genomics 21, 6 (2020), use case A1. https://bmcgenomics.biomedcentral.com/articles/10.1186/s12864-019-6413-7 (accessed 2026-10-23) ### F2 URL: https://hesela.dev/terms/f2/ Also known as: F2Kv, FASTER v2 Status: research Record updated: 2026-11-15 F2 is a key-value store that separates write-hot and write-cold record logs and uses a dedicated read cache for frequently read disk records. Note: Placement: Its hot tier uses a hybrid log with in-place updates. Both hot-to-cold and cold-to-cold compaction copy live records into the cold log, keeping cleaning traffic away from the hot tail. [f2-paper] Indexing: The cold tier groups hash entries into disk-backed chunks with a smaller in-memory index. Reducing index memory can require an extra lookup before fetching a record; it is not a free reduction in read cost. [f2-paper] False absence: A reader can follow an old hash chain while compaction relocates a matching record and removes its original address. The pinned code checks a compaction-truncation counter after a pending read returns NotFound, then retries over the newly introduced range. A miss on the old chain is not sufficient evidence that the key is absent. [f2-retry] Deletion: A hot-tier tombstone stops a read without falling through to an older cold-tier value. This rule appears in both the immediate and asynchronous read paths. [f2-read] Limitations: - The 2025 evaluation disables persistence layers, compression and checksums where supported. Its throughput results do not establish performance with durable acknowledgements enabled. (sources: [f2-paper]) Sources and caveats: - Source synthesis of the final 2025 paper (DOI 10.14778/3750601.3750615) and pinned C++ implementation, not an engine benchmark or crash-recovery reproduction. - F2Kv is a C++ component; the alias FASTER v2 names the paper's design, not a blanket claim about every FASTER package or language binding. [f2-docs] Related terms: - [hybrid-log](https://hesela.dev/terms/hybrid-log/) - [value-log](https://hesela.dev/terms/value-log/) - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [lsm-tombstone](https://hesela.dev/terms/lsm-tombstone/) Citations: - [f2-paper] Kanellis et al. From FASTER to F2: Evolving Concurrent Key-Value Store Designs for Large Skewed Workloads. PVLDB 18(12), 2025, sections 4-8. https://www.vldb.org/pvldb/vol18/p4910-kanellis.pdf (accessed 2026-11-15) - [f2-retry] FASTER C++ source, revision 332ea7d: pending-read retry after compaction truncation. https://github.com/microsoft/FASTER/blob/332ea7da532a688acf648ee60c4f63a1caeaf1f7/cc/src/core/faster.h#L1001-L1041 (accessed 2026-11-15) - [f2-read] FASTER C++ source, revision 332ea7d: F2Kv immediate and asynchronous reads. https://github.com/microsoft/FASTER/blob/332ea7da532a688acf648ee60c4f63a1caeaf1f7/cc/src/core/f2.h#L301-L400 (accessed 2026-11-15) - [f2-docs] FASTER documentation: FasterKV C++ Port, F2Kv configuration and API. https://microsoft.github.io/FASTER/docs/fasterkv-cpp/#f2kv (accessed 2026-11-15) ### F2FS checkpoint URL: https://hesela.dev/terms/f2fs-checkpoint/ Related analysis: https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ Also known as: F2FS checkpoint pack Status: shipping Record updated: 2026-10-23 An F2FS checkpoint records a consistent filesystem recovery point, including information selecting valid metadata-table versions. Note: The documented checkpoint=disable mode preserves an older recovery view across unmount or crash while disabled. In upstream Linux v6.12 and v6.16, the regular-file fsync path can return successful data-writeback status before later recovery-metadata handling when SBI_CP_DISABLED is set. It is not merely a longer checkpoint interval. [manual] [source612] [source616] At mount time the CP area is scanned for the last valid checkpoint. Only two CP copies are kept, one of which always indicates the last valid data, and NAT and SIT use the same shadow-copy scheme within fixed 2 MB segments. A checkpoint selects valid NAT and SIT copies, so a metadata-table copy should be interpreted with that selection, not simply treated as the newest usable recovery view. [manual] Advantages: - Keeping two checkpoint copies lets mount fall back to the last valid one while scanning only the CP area. (sources: [manual]) Limitations: - Mounting with checkpoint=disable must first run garbage collection and may return EAGAIN. An allowance given in blocks or as a percentage avoids that, but checkpoint=disable:100% can hide up to all remaining free space until checkpointing is re-enabled. (sources: [manual]) Sources and caveats: - manual re-read 2026-10-23 for checkpoint=disable, the two-copy CP scan and the 2 MB segment size. source612 re-read for the early return on SBI_CP_DISABLED in f2fs_do_sync_file. - A companion analysis on fsync and recovery is listed but not used in prose. - The bounded-crash-testing entry links here because the recovery view selected by a checkpoint bounds which crash states a test must consider. Related terms: - [f2fs](https://hesela.dev/terms/f2fs/) - [f2fs-roll-forward-recovery](https://hesela.dev/terms/f2fs-roll-forward-recovery/) - [fsync](https://hesela.dev/terms/fsync/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [f2fs-node-address-table](https://hesela.dev/terms/f2fs-node-address-table/) - [f2fs-segment-information-table](https://hesela.dev/terms/f2fs-segment-information-table/) - [f2fs-slack-space-recycling](https://hesela.dev/terms/f2fs-slack-space-recycling/) Citations: - [manual] Linux 6.12 F2FS documentation: checkpoint, recovery and fsync mount policies. https://docs.kernel.org/6.12/filesystems/f2fs.html (accessed 2026-10-23) - [source612] Linux v6.12 fs/f2fs/file.c: f2fs_do_sync_file and checkpoint fallback. https://github.com/torvalds/linux/blob/v6.12/fs/f2fs/file.c (accessed 2026-10-23) - [source616] Linux v6.16 fs/f2fs/file.c: regular-file writeback and SBI_CP_DISABLED return. https://github.com/torvalds/linux/blob/v6.16/fs/f2fs/file.c (accessed 2026-10-15) - [hesela-f2fs] F2FS: when a successful fsync is not a recovery promise. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ (accessed 2026-10-15) ### F2FS Node Address Table URL: https://hesela.dev/terms/f2fs-node-address-table/ Related analysis: https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ Also known as: F2FS NAT Status: shipping Record updated: 2026-10-21 The F2FS Node Address Table maps node identifiers to the filesystem block addresses of their node blocks. Note: An indirect node can reference another node by its identifier instead of its changing block location, limiting the wandering-tree update cascade. This is filesystem metadata above the block-device interface, not the SSD controller's flash translation table. [lee] The Linux v6.12 node_info structure separates node ID, owner inode, block address and version. current_nat_addr selects a NAT block copy using a bitmap; relocating a node does not mean that its mapping is automatically durable. [node612] Related terms: - [f2fs](https://hesela.dev/terms/f2fs/) - [wandering-tree-problem](https://hesela.dev/terms/wandering-tree-problem/) - [f2fs-segment-information-table](https://hesela.dev/terms/f2fs-segment-information-table/) - [f2fs-checkpoint](https://hesela.dev/terms/f2fs-checkpoint/) - [ftl](https://hesela.dev/terms/ftl/) Citations: - [lee] Lee, Sim, Hwang and Cho (2015). F2FS: A New File System for Flash Storage. FAST 2015, sections 2.1, 2.2 and 2.7. https://files.usenix.org/s3fs-public/cdn/fast15-paper-lee.pdf (accessed 2026-10-21) - [node612] Linux v6.12 fs/f2fs/node.h: node_info, current_nat_addr and next_nat_addr. https://github.com/torvalds/linux/blob/v6.12/fs/f2fs/node.h (accessed 2026-10-21) - [hesela-f2fs] F2FS: when a successful fsync is not a recovery promise. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/#metadata-indirection (accessed 2026-10-21) ### F2FS roll-forward recovery URL: https://hesela.dev/terms/f2fs-roll-forward-recovery/ Related analysis: https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ Status: shipping Record updated: 2026-12-01 F2FS roll-forward recovery is the mount-time pass that reapplies data blocks and direct node blocks written by fsync after the last stable checkpoint. Note: Instead of forcing a checkpoint, fsync on F2FS can write only the file's data blocks and direct node blocks, leaving a special flag in those node blocks. At mount, after choosing the newest valid checkpoint pack and freeing orphan inodes, recovery collects the marked direct node blocks written after the checkpoint, loads the matching node blocks from the checkpointed state, replaces data indices that differ, marks those nodes dirty and finally writes a new checkpoint. [lee] In Linux v6.16 a node block counts as recoverable only when its stored checkpoint version matches the current checkpoint, and when the checkpoint carries the CRC recovery flag its upper 32 bits must also equal the checkpoint CRC. The walk follows each node's next-block address and uses Floyd's cycle detection, so a looped chain ends recovery with EINVAL and a request to run fsck. [node616] [recovery616] Orphan-inode recovery runs before this step, and a checkpoint marked as disabled skips roll-forward entirely. The disable_roll_forward and norecovery mount options also skip it, and norecovery is accepted only for a read-only mount. With roll-forward skipped on a read-write mount, the presence of recoverable data makes the mount fail with EINVAL. [mount616] Advantages: - A small fsync writes only the affected data and direct node blocks rather than all node and dentry blocks a checkpoint would write, which the design paper gives as the reason for its lower fsync latency. (sources: [lee]) Limitations: - Updates that were neither checkpointed nor written by fsync are not reconstructed, since recovery only collects marked direct node blocks. (sources: [lee]) - On a read-only device after an unclean shutdown, mounting fails with EROFS while recoverable data exists, unless one of the two skip options is used, which leaves those updates out of the mounted view. (sources: [mount616]) Sources and caveats: - lee is the FAST 15 design paper, read in sections 2.7.1 and 2.7.2. - mount616 is Linux v6.16 fs/f2fs/super.c, read in option parsing and the recovery part of f2fs_fill_super. - recovery616 is Linux v6.16 fs/f2fs/recovery.c, read in sanity_check_node_chain. - node616 is Linux v6.16 fs/f2fs/node.h, read in is_recoverable_dnode. - The source audit is not a runtime crash test. Related terms: - [f2fs](https://hesela.dev/terms/f2fs/) - [f2fs-checkpoint](https://hesela.dev/terms/f2fs-checkpoint/) - [fsync](https://hesela.dev/terms/fsync/) - [btrfs-tree-log](https://hesela.dev/terms/btrfs-tree-log/) - [max-filesystem](https://hesela.dev/terms/max-filesystem/) Citations: - [lee] Lee, Sim, Hwang and Cho (2015). F2FS: A New File System for Flash Storage. FAST 15, pp. 273-286, section 2.7. https://files.usenix.org/s3fs-public/cdn/fast15-paper-lee.pdf (accessed 2026-10-23) - [mount616] Linux v6.16 fs/f2fs/super.c: mount-time recovery and disabled-checkpoint state. https://github.com/torvalds/linux/blob/v6.16/fs/f2fs/super.c (accessed 2026-10-23) - [hesela-f2fs] F2FS: when a successful fsync is not a recovery promise. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ (accessed 2026-10-15) - [recovery616] Linux v6.16 fs/f2fs/recovery.c: fsync node chain walk and loop detection. https://github.com/torvalds/linux/blob/v6.16/fs/f2fs/recovery.c (accessed 2026-10-23) - [node616] Linux v6.16 fs/f2fs/node.h: is_recoverable_dnode checkpoint version check. https://github.com/torvalds/linux/blob/v6.16/fs/f2fs/node.h (accessed 2026-10-23) ### F2FS Segment Information Table URL: https://hesela.dev/terms/f2fs-segment-information-table/ Related analysis: https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ Also known as: F2FS SIT Status: shipping Record updated: 2026-10-21 The F2FS Segment Information Table records segment-level block validity information used in space management and cleaning. Note: In Linux v6.12, an on-disk SIT entry contains a validity bitmap, a field encoding valid-block count and allocation type, and a segment-age field. A validity bit concerns allocation state, not verification of the block's payload against a checksum. [format612] The in-memory seg_entry separately tracks current and checkpoint-valid block counts and maps. These are not interchangeable observations. The in-memory ckpt_valid_map is not always a frozen last-checkpoint image: enabled-checkpoint allocation can set its bits, and SSR excludes positions set in either map. [reuse612] [segment612] Related terms: - [f2fs](https://hesela.dev/terms/f2fs/) - [f2fs-node-address-table](https://hesela.dev/terms/f2fs-node-address-table/) - [f2fs-segment-summary-area](https://hesela.dev/terms/f2fs-segment-summary-area/) - [f2fs-checkpoint](https://hesela.dev/terms/f2fs-checkpoint/) - [garbage-collection-host](https://hesela.dev/terms/garbage-collection-host/) - [f2fs-slack-space-recycling](https://hesela.dev/terms/f2fs-slack-space-recycling/) Citations: - [format612] Linux v6.12 include/linux/f2fs_fs.h: NAT, SIT and summary entry formats. https://github.com/torvalds/linux/blob/v6.12/include/linux/f2fs_fs.h (accessed 2026-10-21) - [segment612] Linux v6.12 fs/f2fs/segment.h: seg_entry and current/checkpoint validity maps. https://github.com/torvalds/linux/blob/v6.12/fs/f2fs/segment.h (accessed 2026-10-21) - [hesela-f2fs] F2FS: when a successful fsync is not a recovery promise. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/#metadata-indirection (accessed 2026-10-21) - [reuse612] Linux v6.12 fs/f2fs/segment.c: update_sit_entry, __next_free_blkoff and change_curseg. https://github.com/torvalds/linux/blob/v6.12/fs/f2fs/segment.c (accessed 2026-10-21) ### F2FS Segment Summary Area URL: https://hesela.dev/terms/f2fs-segment-summary-area/ Related analysis: https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ Also known as: F2FS SSA Status: shipping Record updated: 2026-10-21 The F2FS Segment Summary Area stores ownership information for blocks in the filesystem's main area. Note: The Linux v6.12 summary format uses the direct-node ID for a data block and the node's own ID for a node block. Data summaries also identify the offset of the data-block address within its node; the entry interpretation depends on the block type. [format612] This ownership direction differs from NAT's node-ID-to-location lookup and SIT's validity bookkeeping. These structures answer different questions during cleaning; none is a backup of the user payload. [manual] Related terms: - [f2fs](https://hesela.dev/terms/f2fs/) - [f2fs-node-address-table](https://hesela.dev/terms/f2fs-node-address-table/) - [f2fs-segment-information-table](https://hesela.dev/terms/f2fs-segment-information-table/) - [garbage-collection-host](https://hesela.dev/terms/garbage-collection-host/) Citations: - [format612] Linux v6.12 include/linux/f2fs_fs.h: NAT, SIT and summary entry formats. https://github.com/torvalds/linux/blob/v6.12/include/linux/f2fs_fs.h (accessed 2026-10-21) - [manual] Linux 6.12 F2FS documentation: wandering tree, on-disk layout and metadata structure. https://docs.kernel.org/6.12/filesystems/f2fs.html (accessed 2026-10-21) - [hesela-f2fs] F2FS: when a successful fsync is not a recovery promise. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/#metadata-indirection (accessed 2026-10-21) ### F2FS slack space recycling URL: https://hesela.dev/terms/f2fs-slack-space-recycling/ Related analysis: https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ Also known as: F2FS SSR, Slack Space Recycle Status: shipping Record updated: 2026-12-01 F2FS slack space recycling allocates eligible free positions within an already used segment instead of requiring a fresh sequential segment. Note: Slack Space Recycle (SSR) is the Linux name for what the FAST 2015 F2FS paper calls threaded logging, which writes blocks into invalidated holes of existing dirty segments instead of a clean segment. It reuses holes without first cleaning that segment but makes writes random, and the paper's adaptive policy switches to it when free sections fall below 5% of total sections by default. [lee] [segment616h] Figure 8 separates fileserver at 94% fill from iozone near 100% fill. The below-5%-of-EXT4 result from round 3 belongs to iozone with normal logging; adaptive logging approached EXT4 as that experiment continued. Segments are 2 MB by default, and a section is a run of consecutive segments. [lee] [f2fs-doc] In Linux v6.16, f2fs_need_SSR returns false in LFS mode and true under high urgent GC or disabled checkpointing. Otherwise it compares free sections with dirty node, dentry and inode-metadata sections plus min_ssr_sections and reserved sections, and min_ssr_sections defaults to the reserved count. A free slot is a zero bit in the union of the current-valid and checkpoint-valid maps. [reuse616] Advantages: - Lets allocation continue without foreground cleaning when clean sections run short. (sources: [lee]) Limitations: - Writes into scattered holes reach the device as random writes, which can lower throughput. (sources: [lee]) - A block that is already invalid in the current map stays unusable while its checkpoint-valid bit is set. (sources: [reuse616]) Sources and caveats: - The 2026-10-27 correction separates the two workloads in section 3.2.5 and Figure 8; these historical results are not current-device guarantees. [lee] - The 5% threshold, 94% fill and below 5% of EXT4 figures come from lee. - segment616h is Linux v6.16 fs/f2fs/segment.h, read on 2026-10-22 in the allocation-mode comment and enum. - reuse616 is Linux v6.16 fs/f2fs/segment.c, re-read on 2026-10-22 in f2fs_need_SSR, __next_free_blkoff and build_segment_manager. - f2fs-doc is the Linux kernel F2FS documentation page, read on 2026-10-22 in the layout section, and is the source of the 2 MB segment size. Related terms: - [f2fs](https://hesela.dev/terms/f2fs/) - [f2fs-checkpoint](https://hesela.dev/terms/f2fs-checkpoint/) - [f2fs-segment-information-table](https://hesela.dev/terms/f2fs-segment-information-table/) - [garbage-collection-host](https://hesela.dev/terms/garbage-collection-host/) - [max-filesystem](https://hesela.dev/terms/max-filesystem/) Citations: - [reuse612] Linux v6.12 fs/f2fs/segment.c: update_sit_entry, __next_free_blkoff and change_curseg. https://github.com/torvalds/linux/blob/v6.12/fs/f2fs/segment.c (accessed 2026-10-21) - [reuse616] Linux v6.16 fs/f2fs/segment.c: separate allocation/release helpers and SSR free-slot selection. https://github.com/torvalds/linux/blob/v6.16/fs/f2fs/segment.c (accessed 2026-10-22) - [lee] Lee et al. (2015). F2FS: A New File System for Flash Storage. FAST 2015, sections 2.6 and 3.2.5, Figure 8. https://files.usenix.org/s3fs-public/cdn/fast15-paper-lee.pdf (accessed 2026-10-27) - [hesela-reuse] Hesela: F2FS invalid does not mean reusable yet; illustrative model and tests. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/#reuse-guard (accessed 2026-10-21) - [segment612] Linux v6.12 fs/f2fs/segment.h: SSR allocation mode and Slack Space Recycle. https://github.com/torvalds/linux/blob/v6.12/fs/f2fs/segment.h (accessed 2026-10-21) - [segment616h] Linux v6.16 fs/f2fs/segment.h: LFS, SSR and AT_SSR allocation modes. https://github.com/torvalds/linux/blob/v6.16/fs/f2fs/segment.h (accessed 2026-10-22) - [f2fs-doc] Linux kernel documentation: WHAT IS Flash-Friendly File System (F2FS)? https://docs.kernel.org/filesystems/f2fs.html (accessed 2026-10-22) ### F2FS URL: https://hesela.dev/terms/f2fs/ Related analysis: https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ Also known as: Flash-Friendly File System Status: shipping Record updated: 2026-12-01 F2FS is a Linux log-structured filesystem designed for flash storage devices that expose a block interface. Note: Its original design combines checkpoint-based recovery with a roll-forward path for selected synchronized file updates. These mechanisms differ from a database WAL and do not replace application transaction protocols. [lee] NAT localizes node-address changes; SIT records block-validity state, and SSA supplies ownership information. These filesystem structures do not expose the controller's NAND mapping. [manual] Related terms: - [f2fs-checkpoint](https://hesela.dev/terms/f2fs-checkpoint/) - [f2fs-roll-forward-recovery](https://hesela.dev/terms/f2fs-roll-forward-recovery/) - [ftl](https://hesela.dev/terms/ftl/) - [fsync](https://hesela.dev/terms/fsync/) - [garbage-collection-host](https://hesela.dev/terms/garbage-collection-host/) - [f2fs-node-address-table](https://hesela.dev/terms/f2fs-node-address-table/) - [f2fs-segment-information-table](https://hesela.dev/terms/f2fs-segment-information-table/) - [f2fs-segment-summary-area](https://hesela.dev/terms/f2fs-segment-summary-area/) - [wandering-tree-problem](https://hesela.dev/terms/wandering-tree-problem/) - [reconfs](https://hesela.dev/terms/reconfs/) - [sfs](https://hesela.dev/terms/sfs/) - [z-lfs](https://hesela.dev/terms/z-lfs/) - [max-filesystem](https://hesela.dev/terms/max-filesystem/) Citations: - [lee] Lee, Sim, Hwang and Cho (2015). F2FS: A New File System for Flash Storage. FAST 15, pp. 273-286, section 2.7. https://files.usenix.org/s3fs-public/cdn/fast15-paper-lee.pdf (accessed 2026-10-15) - [hesela-f2fs] F2FS: when a successful fsync is not a recovery promise. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ (accessed 2026-10-15) - [manual] Linux 6.12 F2FS documentation: wandering tree, on-disk layout and metadata structure. https://docs.kernel.org/6.12/filesystems/f2fs.html (accessed 2026-10-21) ### f4 warm BLOB store URL: https://hesela.dev/terms/f4/ Related article: https://hesela.com/tech/hot-warm-cold/ Also known as: Facebook f4, f4 storage Status: unknown Record updated: 2026-11-28 f4 is Facebook's historical warm-object storage design combining local Reed-Solomon coding with geographically separated redundancy. Note: Layout: The 2014 design uses ten data blocks and four parity blocks per stripe. A local cell alone does not cover datacenter loss. [paper] Geography: Two encoded copies give 2.8 times payload size. Pairing two volumes and storing their corresponding blocks' XOR in a third datacenter gives 2.1. Index files remain separately replicated. [paper] Placement: Distinct-rack placement is attempted and violations are repaired by a balancer; a code's erasure budget is not automatically a rack-failure budget. [paper] Placement example: In a constructed 14-rack stripe, one colocated pair leaves 220 of 1001 four-rack failure subsets outside the four-block local erasure budget. These are exact pattern counts, not field probabilities or global data loss; surviving BLOBs may remain readable. [placement] Recovery: The historical backoff path requests matching ranges from thirteen other blocks and decodes after ten responses. It reconstructs the requested byte range, not the whole encoded block; ten responses are not a measured total I/O cost. [paper] Capacity: Moving from 56 to 42 stored blocks for the same payload saves 25%. The ideal fixed-budget payload gain is one third, but whole-pair rounding changes finite budgets: 56 blocks fit 20 payload blocks in either layout; 168 fit 60 versus 80. These are constructed accounting examples, not measured fleet savings. [accounting] Comparison: HDFS RAID's replicated XOR layout instead gives 2.2. The worked accounting uses a common payload denominator without equating recovery guarantees. [hdfs] [accounting] Sources and caveats: - Historical source synthesis; current deployment status is unverified. Arithmetic is not an implementation benchmark, availability model or estimate of total fleet storage. Related terms: - [warm-storage](https://hesela.dev/terms/warm-storage/) - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) Citations: - [paper] Muralidhar et al. f4: Facebook's Warm BLOB Storage System. OSDI 2014, sections 5.3-5.5 and 6.4, pp. 388-391 and 393-394. https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-muralidhar.pdf (accessed 2026-11-28) - [hdfs] Facebook Engineering. Saving capacity with HDFS RAID. 5 June 2014. https://engineering.fb.com/2014/06/05/core-infra/saving-capacity-with-hdfs-raid/ (accessed 2026-11-28) - [accounting] Hesela: composed redundancy accounting, equal-size complete-stripe example. https://hesela.dev/research/f4-redundancy/results.json (accessed 2026-11-28) - [placement] Hesela: exact synthetic rack-placement subset counts and local-recovery limits. https://hesela.dev/research/f4-redundancy/placement-results.json (accessed 2026-11-28) ### Facade URL: https://hesela.dev/terms/facade/ Also known as: Façade, Facade virtual storage controller Status: research Record updated: 2026-12-02 Facade is a storage controller that combines deadline ordering with feedback on device queue depth to pursue workload latency objectives. Note: Its SLO describes a window-average latency bound conditioned on offered rate and read/write mix, not a p99 or per-request guarantee. Above the highest specified rate, the default bound is unbounded. [facade03] The device queue-depth target is soft: already-late requests can be dispatched beyond it. Reducing the target also leaves previously issued work to drain. [facade03] PARDA instead coordinates proportional issue-window shares across hosts using a shared latency signal. Its relative-share objective differs from Facade's per-workload latency curves. [parda09] Limitations: - External admission control must keep aggregate demand feasible. (sources: [facade03]) Sources and caveats: - FAST 2003 evaluated two HDD arrays using synthetic and trace workloads, with 1-second SLO windows. This is historical source synthesis, not an SSD benchmark or replication. [facade03] Related terms: - [parda](https://hesela.dev/terms/parda/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [chameleon](https://hesela.dev/terms/chameleon/) Citations: - [facade03] Lumb, Merchant and Alvarez. Facade: Virtual Storage Devices with Performance Guarantees. FAST 2003, pp. 131-144, sections 3-4.4. https://www.usenix.org/legacy/events/fast03/tech/full_papers/lumb/lumb.pdf (accessed 2026-12-01) - [parda09] Gulati, Ahmad and Waldspurger. PARDA. FAST 2009, pp. 85-98, sections 1-3. https://www.usenix.org/legacy/events/fast09/tech/full_papers/gulati/gulati.pdf (accessed 2026-12-01) - [analysis] Hesela: Facade, average-latency contracts and queue targets. https://hesela.com/analyses/ssd-fairness-shared-queues/#facade-slo (accessed 2026-12-01) ### FADED URL: https://hesela.dev/terms/faded/ Also known as: A File-Aware Data-Erasing Disk Status: research Record updated: 2026-12-02 FADED is a research storage system that infers logical deletions from filesystem or database activity to trigger storage-controlled erasure. Note: OSDI 2004 distinguishes block liveness from generation liveness. A block can remain allocated after reuse by another file. FADED tracks the latter. For example, allocation bit 1 before and after reuse from file A to C does not reveal A's deletion. [liveness04] When ownership is uncertain, a conservative overwrite preserves current bytes in nonvolatile memory, overwrites the block and restores those bytes. Restoration can reinstate obsolete data; a persistent suspicious-block list triggers another overwrite before a subsequent write, or reliable block-death detection triggers erasure. The mechanism protects a new owner's data while awaiting sufficient evidence. [liveness04] FAST 2005 adapts FADED to Predator/SHORE. Whole-table deletion waits for transaction commit, because abort may need the pages. For record deletion, it waits for a page write reflecting the delete, compares PageLSN with the delete's LSN, clears deleted byte ranges and overwrites the page before writing its modified contents. Later cached page writes are also scanned to prevent stale bytes returning. The prototype needed page-layout knowledge, not DBMS modifications. [database05] These historical mechanisms are not a present-day overwrite recipe or proof of SSD sanitization. Use media-specific techniques under an appropriate sanitization program, with verification and validation; NIST SP 800-88 Rev. 2 distinguishes that assurance process from a tool's success message. [nist-r2] Limitations: - The ext2 prototype required filesystem changes for truncation and indirect-block reuse; an unchanged block interface did not mean an unchanged filesystem. (sources: [liveness04]) - The database evaluation used two delete-heavy workloads on 500,000 records of 110 bytes; its overhead is not a modern SSD benchmark. (sources: [database05]) - A supported filesystem's erasure policy applied to the volume, not a selectable per-file switch. (sources: [liveness04]) Sources and caveats: - Literature synthesis of the full papers; no hardware erasure test or benchmark reproduction was performed. The allocation-bit example is a logical illustration. Related terms: - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [secure-erase](https://hesela.dev/terms/secure-erase/) - [d-graid](https://hesela.dev/terms/d-graid/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [log-sequence-number](https://hesela.dev/terms/log-sequence-number/) Citations: - [liveness04] M. Sivathanu, L. N. Bairavasundaram, A. C. Arpaci-Dusseau and R. H. Arpaci-Dusseau. Life or Death at Block-Level. OSDI 2004, sections 3 and 7. https://www.usenix.org/legacy/event/osdi04/tech/full_papers/sivathanu/sivathanu.pdf (accessed 2026-12-02) - [database05] M. Sivathanu, L. N. Bairavasundaram, A. C. Arpaci-Dusseau and R. H. Arpaci-Dusseau. Database-Aware Semantically-Smart Storage. FAST 2005, sections 5.3-5.5. https://research.cs.wisc.edu/adsl/Publications/sdsdb-fast05.pdf (accessed 2026-12-02) - [nist-r2] NIST SP 800-88 Rev. 2 (September 2025), Guidelines for Media Sanitization. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf (accessed 2026-12-02) - [hesela-sanitization] Hesela: SSD sanitization: why TRIM and a successful command are not enough. https://hesela.com/analyses/ssd-sanitization-trim-evidence/ (accessed 2026-12-02) ### Fail-partial failure model URL: https://hesela.dev/terms/fail-partial-failure-model/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: Fail-partial model Status: research Record updated: 2026-11-21 A fail-partial failure model includes inaccessible or silently corrupted blocks as well as complete device failure. Note: IRON distinguishes whole-device failure, inaccessible blocks and corrupted block contents; failures can be transient or persistent and may have spatial locality. A drive that still answers requests is not necessarily returning correct data. Detection and recovery are separate policies. [iron05] This is a fault model, not an estimated failure rate or a claim that all faults are independent. Intra-disk redundancy cannot protect against losing the whole drive. [iron05] Related terms: - [fault-model](https://hesela.dev/terms/fault-model/) - [fault-injection](https://hesela.dev/terms/fault-injection/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [silent-data-corruption](https://hesela.dev/terms/silent-data-corruption/) - [lost-write](https://hesela.dev/terms/lost-write/) - [misdirected-write](https://hesela.dev/terms/misdirected-write/) - [intra-disk-redundancy](https://hesela.dev/terms/intra-disk-redundancy/) - [failure-policy-fingerprinting](https://hesela.dev/terms/failure-policy-fingerprinting/) Citations: - [iron05] Prabhakaran et al. IRON File Systems. SOSP 2005, sections 2.3 and 3. https://research.cs.wisc.edu/adsl/Publications/iron-sosp05.pdf (accessed 2026-11-11) - [hesela-integrity] Hesela: Filesystem integrity, detection and recovery boundaries. https://hesela.com/analyses/filesystem-checksum-error-detection/#fail-partial-evidence (accessed 2026-11-11) ### Fail-slow URL: https://hesela.dev/terms/fail-slow/ Related analysis: https://hesela.com/analyses/nvme-fail-slow-unseen-by-smart/ Also known as: fail-slow failure, hardware performance fault Status: unknown Record updated: 2026-11-20 Fail-slow describes a component that remains operational but performs more slowly than expected for its operating conditions. Note: A slowdown is an observed performance symptom, not proof of a particular physical defect or of an imminent fail-stop event, so hardware, firmware and workload causes must be separated. A community study of 101 incident reports from 12 institutions found such faults in disks, SSDs, memory, CPUs and network components, for example a memory card running at 25% of its normal speed. [gunawi-fast18] Diagnosis is often slow: 1% of the reported incidents were pinpointed in minutes, 13% in hours, 13% in days, 11% in weeks and 17% in months, while 45% had no recorded time. [gunawi-fast18] A detection framework compared each drive's latency with peers in the same node during 10 months on up to 248,000 drives, and its released dataset contains 315 verified fail-slow drives among about 41,000 normal ones. [lu-fast23] Gray failure additionally concerns a disagreement between application and system observations. Advantages: - Isolating or replacing detected fail-slow drives reduced node-level 99.99th-percentile write latency by 48% in one deployment. (sources: [lu-fast23]) Limitations: - Incident reports are a collected sample, so their shares do not estimate how often each component type fails slowly in a fleet. (sources: [gunawi-fast18]) - Table 3 counts 44 external root-cause occurrences out of 112 total (39.3%), not 39% of the 101 reports or of a deployed fleet; a report can contribute multiple causes. (sources: [gunawi-fast18]) - Peer comparison assumes that most drives in a node are healthy and serve the same workload. (sources: [lu-fast23]) Sources and caveats: - gunawi-fast18 is the FAST 2018 community study, re-read for the report count, component examples, detection times and root-cause shares. - lu-fast23 is the FAST 2023 detection-framework paper, read for the monitoring period, fleet size, dataset counts and latency reduction. - The failure-detector entry links here because a detector based on liveness does not report a component that still answers but runs slowly. - FAST 2018 Table 3: external rows TEMP=11, PWR=8, ENV=18 and CONF=7 sum to 44; all seven rows sum to 112. The 2026-11-20 correction makes the occurrence denominator explicit. Related terms: - [gray-failure](https://hesela.dev/terms/gray-failure/) - [differential-observability](https://hesela.dev/terms/differential-observability/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [slowdown-ratio](https://hesela.dev/terms/slowdown-ratio/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [linnos](https://hesela.dev/terms/linnos/) - [dm-delay](https://hesela.dev/terms/dm-delay/) - [fail-stutter](https://hesela.dev/terms/fail-stutter/) - [limplock](https://hesela.dev/terms/limplock/) Citations: - [gunawi-fast18] Gunawi et al., Fail-Slow at Scale, FAST 2018; hardware performance faults and study limits. https://www.usenix.org/system/files/conference/fast18/fast18-gunawi.pdf (accessed 2026-11-20) - [huang-hotos17] Huang et al., Gray Failure: The Achilles' Heel of Cloud-Scale Systems, HotOS 2017, section 3; DOI 10.1145/3102980.3103005. https://www.microsoft.com/en-us/research/wp-content/uploads/2017/06/paper-1.pdf (accessed 2026-10-13) - [hesela-observers] Hesela: Fail-slow NVMe SSDs: what SMART and heartbeats miss. https://hesela.com/analyses/nvme-fail-slow-unseen-by-smart/ (accessed 2026-10-13) - [hesela-tail] Hesela: Slow RAID hours are not request tail latency; source audit and reproducible counterexamples. https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/ (accessed 2026-10-15) - [lu-fast23] Lu et al. Perseus: A Fail-Slow Detection Framework for Cloud Storage Systems. USENIX FAST 2023, sections 1-3. https://www.usenix.org/system/files/fast23-lu.pdf (accessed 2026-10-23) ### Fail-stop processor URL: https://hesela.dev/terms/fail-stop/ Also known as: fail-stop failure model Status: unknown Record updated: 2026-11-20 A fail-stop processor combines halting before faulty state becomes visible, detectable failure and stable storage accessible to other processors. Note: Schneider's 1984 formulation combines three properties: halt before an erroneous state change becomes visible, allow another processor to detect failure, and preserve readable stable storage. A machine that merely stops responding does not establish all three. [s84] The 1983 treatment separates volatile state from stable state and permits recovery on another processor or on the repaired original processor. Fail-stop therefore should not be silently equated with crash-stop's no-recovery process model. Recovery code must still handle intermediate states left by interrupted work; halting does not make a multi-step update atomic. [ss83] Stable storage is a behavioral abstraction, not a synonym for one nonvolatile drive. The papers construct bounded-fault approximations using replicated processors and memory. A k-fail-stop construction guarantees the abstraction only within its stated fault budget; correlated faults and communication assumptions require separate scrutiny. [ss83] [s84] For a storage design, state the fault containment, detection, surviving-state access and restart contracts separately. A perfect failure detector specifies detection properties, not the historical stable-storage guarantee. [ct96] [s84] Limitations: - Different uses of fail-stop may assume different detection and storage contracts. A protocol's explicit fault model determines which guarantees apply. (sources: [ss83], [s84]) Sources and caveats: - Source synthesis, not a claim that commodity hardware implements an ideal fail-stop processor. - The 1983 recovery discussion and 1984 three-property formulation are distinguished explicitly; publication dates are not claimed as invention dates. Related terms: - [crash-stop](https://hesela.dev/terms/crash-stop/) - [perfect-failure-detector](https://hesela.dev/terms/perfect-failure-detector/) - [fail-stutter](https://hesela.dev/terms/fail-stutter/) Citations: - [ss83] Schlichting and Schneider. Fail-Stop Processors: An Approach to Designing Fault-Tolerant Computing Systems. TOCS 1983, sections 2 and 3.1. https://www.cs.cornell.edu/fbs/publications/Fail_Stop.pdf (accessed 2026-11-20) - [s84] F. B. Schneider. Byzantine Generals in Action: Implementing Fail-Stop Processors. TOCS 2(2), 145-154, 1984; sections 1-2. https://pages.cs.wisc.edu/~dusseau/Classes/CS739-S06/Papers/ByzGensInAction.pdf (accessed 2026-11-20) - [ct96] T. D. Chandra and S. Toueg. Unreliable Failure Detectors for Reliable Distributed Systems. JACM 43(2), 225-267, 1996; sections 1 and 2.1-2.4. https://www.cs.utexas.edu/~lorenzo/corsi/cs380d/papers/p225-chandra.pdf (accessed 2026-11-20) ### Fail-stutter URL: https://hesela.dev/terms/fail-stutter/ Also known as: fail-stutter fault model, fail-stutter fault tolerance Status: unknown Record updated: 2026-11-20 Fail-stutter is a fault-model proposal that extends fail-stop behavior with performance faults in components that still operate. Note: The 2001 proposal separates correctness failures from operation below a chosen performance specification. It covers hardware and software; performance can differ persistently across components or vary over time. It is not limited to repeated pauses. The authors explicitly leave full formalization and evaluation open. [arpaci-hotos01] Fail-slow describes degraded operation; gray failure additionally requires an application to observe trouble that the system's failure observer misses. These are related concepts, not interchangeable aliases. [gunawi-fast18] [huang-hotos17] Worked example, not a device benchmark: four mirrored pairs offer logical write rates of 100, 100, 100 and 10 MB/s. Dividing a 3,100 MB payload equally takes 77.5 s (40 MB/s overall); assigning payload in proportion to those constant rates takes 10 s (310 MB/s). Both policies write the same logical bytes with mirrored copies. This idealized allocation calculation follows section 3.2; it assumes divisible work, no shared bottleneck or placement overhead, and freedom to choose placement. Existing RAID layouts need not permit it. [arpaci-hotos01] Executable arithmetic and tests accompany the worked example. [hesela-model] Advantages: - Separating performance from correctness permits a design to keep using slower components when its correctness contract allows. (sources: [arpaci-hotos01]) Limitations: - The performance specification and the boundary between slow and failed are design choices, not a universal latency threshold. (sources: [arpaci-hotos01]) Sources and caveats: - Source synthesis of the cited papers; the arithmetic is an idealized constructed example, not an implementation or performance measurement. - The year identifies the HotOS VIII publication, not the first observation of performance faults. Related terms: - [fail-slow](https://hesela.dev/terms/fail-slow/) - [gray-failure](https://hesela.dev/terms/gray-failure/) - [fail-stop](https://hesela.dev/terms/fail-stop/) Citations: - [arpaci-hotos01] R. H. Arpaci-Dusseau and A. C. Arpaci-Dusseau. Fail-Stutter Fault Tolerance. HotOS VIII, 2001, sections 2-3 and 5. DOI: 10.1109/HOTOS.2001.990058. https://research.cs.wisc.edu/wind/Publications/fail-stutter.pdf (accessed 2026-11-20) - [gunawi-fast18] Gunawi et al. Fail-Slow at Scale. FAST 2018, sections 1-3 and Table 3; 101 reports, 112 root-cause occurrences. https://www.usenix.org/system/files/conference/fast18/fast18-gunawi.pdf (accessed 2026-11-20) - [huang-hotos17] Huang et al. Gray Failure: The Achilles' Heel of Cloud-Scale Systems. HotOS 2017, section 3.2. DOI: 10.1145/3102980.3103005. https://www.microsoft.com/en-us/research/wp-content/uploads/2017/06/paper-1.pdf (accessed 2026-11-20) - [hesela-observers] Hesela: Fail-slow NVMe SSDs: what SMART and heartbeats miss. https://hesela.com/analyses/nvme-fail-slow-unseen-by-smart/ (accessed 2026-11-20) - [hesela-model] Hesela: exact-rational fail-stutter placement example, assumptions and reproducible tests (not hardware measurements). https://hesela.dev/research/fail-stutter/README.txt (accessed 2026-11-20) ### Failback URL: https://hesela.dev/terms/failback/ Status: shipping Record updated: 2026-11-18 Failback returns a service or workload from a failover destination to its restored original resource or a designated replacement. Note: Direction: Failback is a return of service responsibility, not merely restarting the old host. It may be unnecessary when the new primary can remain in service. The return destination can be a different receiving server, rather than the same physical hardware. [azure-failover] [aws-failback] Data boundary: A reverse-resynchronization workflow transfers changes from the active destination back to the original source, followed by a final update and session checks before traffic returns. These steps belong to the cited replicated-volume workflow; they are not permission to overwrite either copy without resolving its history. [element-failback] Rejoining is different: PostgreSQL pg_rewind can prepare a former primary to follow the new one as a standby. Required WAL replay and recovery configuration still matter; adding that standby restores redundancy but does not itself return the primary role. [pg-rewind] Limitations: - Returning traffic without the required data synchronization can expose stale or conflicting state. (sources: [azure-failover], [element-failback]) Sources and caveats: - Source synthesis only: no production switchover, resynchronization, database recovery or failback timing experiment was performed. - The reverse-resynchronization example is specific to NetApp Element 12.7; the different-server option is documented by AWS Elastic Disaster Recovery. [element-failback] [aws-failback] Related terms: - [failover](https://hesela.dev/terms/failover/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [recovery-time-objective](https://hesela.dev/terms/recovery-time-objective/) Citations: - [azure-failover] Microsoft Azure reliability: failover and failback, planned/unplanned failovers and failback. https://learn.microsoft.com/en-us/azure/reliability/concept-failover-failback (accessed 2026-11-18) - [pg-rewind] PostgreSQL 18: pg_rewind, Description and Failures While Rewinding. https://www.postgresql.org/docs/18/app-pgrewind.html (accessed 2026-11-18) - [element-failback] NetApp Element 12.7: Perform a failback when source volume still exists, reverse resynchronization and final update. https://docs.netapp.com/us-en/element-software-127/storage/task_snapmirror_perform_failback_when_source_volume_exists.html (accessed 2026-11-18) - [aws-failback] AWS Elastic Disaster Recovery: Failback to on-premises environment, original or different target server. https://docs.aws.amazon.com/drs/latest/userguide/failback-performing.html (accessed 2026-11-18) - [hesela-fencing] Hesela: Storage fencing, failover and failback boundaries. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-11-18) ### Logical failover slot URL: https://hesela.dev/terms/failover-slot/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: PostgreSQL failover slot Status: shipping Record updated: 2026-10-22 A PostgreSQL logical failover slot is a logical replication slot enabled for synchronization to a physical standby so consumption can resume after promotion. Note: The failover flag enables synchronization; it does not prove a usable copy exists on the target standby. [pg-failover] The flag comes from the failover parameter of pg_create_logical_replication_slot or the failover option of CREATE SUBSCRIPTION, and a standby copies such slots only with sync_replication_slots enabled, which is off by default. [pg-decoding] [pg-config] Synchronization also needs a physical replication slot named in primary_slot_name on the standby, hot_standby_feedback enabled and a dbname in primary_conninfo. A slotsync worker then copies slots periodically, while pg_sync_replication_slots copies once without cyclic retries. A copy becomes persistent only if the standby still holds the WAL and catalog rows the primary slot needs. [pg-decoding] On the primary, synchronized_standby_slots lists physical slots whose standbys must confirm WAL receipt before logical WAL senders pass decoded changes on, so a logical consumer cannot run ahead of its failover target. PostgreSQL 17, released on 2024-09-26, added the failover property, sync_replication_slots and synchronized_standby_slots. [pg-config] [pg-rel17] PostgreSQL 18 readiness requires a complete slot inventory and, for each listed slot, a standby row where synced is true, temporary is false and invalidation_reason is null. [pg-failover] Advantages: - Existing subscriptions can continue from the promoted standby instead of being recreated against it. (sources: [pg-failover]) Limitations: - A temporary synchronized slot cannot support post-promotion continuation, and slot copying cannot restore WAL or catalog history already removed from the standby. (sources: [pg-decoding]) - Requesting an older LSN cannot rewind logical streaming before confirmed_flush_lsn; a reconnect alone does not establish that missing consumer history was replayed. (sources: [pg-logical-start]) - If a slot listed in synchronized_standby_slots is missing or invalidated, logical replication on the primary stops proceeding. (sources: [pg-config]) - Subscriptions left enabled during promotion can keep receiving data from a returning old primary until their connection strings change. (sources: [pg-decoding]) Sources and caveats: - pg-failover, pg-decoding and pg-config are PostgreSQL 18 documentation pages, read in full or in the slot synchronization and replication settings sections. - pg-rel17 is the PostgreSQL 17.0 release notes, read in the replication items, and 17 and 2024-09-26 come from it. - The off-by-default sync_replication_slots value comes from pg-config, and the readiness columns come from pg-failover. Related terms: - [replication-slot](https://hesela.dev/terms/replication-slot/) - [logical-decoding](https://hesela.dev/terms/logical-decoding/) - [hot-standby-feedback](https://hesela.dev/terms/hot-standby-feedback/) - [replication-lag](https://hesela.dev/terms/replication-lag/) - [idempotency](https://hesela.dev/terms/idempotency/) - [postgresql-timeline](https://hesela.dev/terms/postgresql-timeline/) Citations: - [pg-failover] PostgreSQL 18: logical replication failover. https://www.postgresql.org/docs/18/logical-replication-failover.html (accessed 2026-10-22) - [pg-decoding] PostgreSQL 18: replication slot synchronization. https://www.postgresql.org/docs/18/logicaldecoding-explanation.html#LOGICALDECODING-REPLICATION-SLOTS-SYNCHRONIZATION (accessed 2026-10-22) - [hesela-replication] Hesela: Replication acknowledgements and logical failover readiness. https://hesela.com/analyses/replication-acknowledgements-durability-lag/ (accessed 2026-10-16) - [pg-logical-start] PostgreSQL 18: START_REPLICATION SLOT LOGICAL and confirmed_flush_lsn. https://www.postgresql.org/docs/18/protocol-replication.html#PROTOCOL-REPLICATION-START-REPLICATION-SLOT-LOGICAL (accessed 2026-10-16) - [pg-config] PostgreSQL 18: replication settings, synchronized_standby_slots and sync_replication_slots. https://www.postgresql.org/docs/18/runtime-config-replication.html (accessed 2026-10-22) - [pg-rel17] PostgreSQL 17.0 release notes. https://www.postgresql.org/docs/release/17.0/ (accessed 2026-10-22) ### Failover URL: https://hesela.dev/terms/failover/ Status: shipping Record updated: 2026-11-18 Failover transfers a service or resource function to an alternate component or site when the previous one cannot or should not continue serving it. Note: Scope: Failover can be planned or unplanned, and manually or automatically initiated. The mechanism may transfer a primary role or redirect requests to a replacement instance. A changed route does not by itself exclude a previous writer. [azure-failover] [pg-failover] Data boundary: With asynchronous PostgreSQL replication, promotion can omit committed transactions that never reached the selected standby. Restoring access and satisfying a recovery-point objective are separate checks; the failover label promises neither zero loss nor a fixed interruption time. [pg-replication] Afterward: Rebuilding a standby restores redundancy; returning the service to its original primary is a separate failback decision. Some deployments keep the new primary instead. [pg-failover] [azure-failover] Research contrast: Remus delayed network output until backup checkpoint acknowledgement, but its 2008 prototype lacked execution fencing after loss of both replication paths. Output protection within a fail-stop model does not establish partition safety. [remus2008] Limitations: - Promotion does not itself prevent the former primary from returning as an independent writer. (sources: [pg-failover]) Sources and caveats: - Primary documentation reviewed on 2026-11-18; product-specific examples do not establish a universal failover procedure or measured recovery time. Related terms: - [failback](https://hesela.dev/terms/failback/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [asynchronous-replication](https://hesela.dev/terms/asynchronous-replication/) - [storage-availability](https://hesela.dev/terms/storage-availability/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [recovery-time-objective](https://hesela.dev/terms/recovery-time-objective/) Citations: - [azure-failover] Microsoft Azure reliability: failover and failback, planned/unplanned failovers and failback. https://learn.microsoft.com/en-us/azure/reliability/concept-failover-failback (accessed 2026-11-18) - [pg-failover] PostgreSQL 18, section 26.3: Failover, former-primary exclusion and standby reconstruction. https://www.postgresql.org/docs/18/warm-standby-failover.html (accessed 2026-11-18) - [pg-replication] PostgreSQL 18, section 26.2.8: Synchronous Replication, asynchronous loss window. https://www.postgresql.org/docs/18/warm-standby.html#SYNCHRONOUS-REPLICATION (accessed 2026-11-18) - [hesela-fencing] Hesela: Storage fencing, failover and failback boundaries. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-11-18) - [remus2008] Cully et al. Remus: High Availability via Asynchronous Virtual Machine Replication. NSDI 2008, sections 2.1, 2.4 and 2.6. https://static.usenix.org/events/nsdi08/tech/full_papers/cully/cully_html/index.html (accessed 2026-11-18) ### Failure-atomic msync URL: https://hesela.dev/terms/failure-atomic-msync/ Also known as: FAMS, failure-atomic msync() Status: research Record updated: 2026-11-21 Failure-atomic msync commits a batch of memory-mapped updates as a crash-consistent unit, extending ordinary mapped-file synchronization. Note: Commit boundary: the EuroSys 2013 prototype adds MAP_ATOMIC, suppresses premature writeback and puts the dirty-page batch into one JBD2 handle. Ordinary ext4 data journaling does not expose that application-selected boundary. Once the complete redo record is durable, recovery can finish updating the file even if home-location writes are incomplete. [park13] Concurrency: applications must coordinate writers and choose consistent commit points. Failure atomicity supplies neither isolation nor protection against a storage device that loses acknowledged writes. The evaluation used Linux 2.6.33 and disabled volatile device write caches; its performance results are not estimates for current systems. [park13] Snapshot implementation: Kelly's 2019 famus_snap uses FICLONE and recovers from the latest readable snapshot, not the possibly modified backing file. It synchronizes snapshot data, changes its permissions to mark completion, then synchronizes the snapshot again. The February 2020 erratum corrects the comment naming the backing file; the code already targets the snapshot. [kelly19] [errata] Snapshot caller: famus_snap requires a fresh snapshot file for each commit; recycling one is unsafe. The API can synchronize one supplied directory, but the caller remains responsible for other required directory synchronization. Reflink support and enough space for later copy-on-write allocations are necessary. [famus-code] Limitations: - Ordinary Linux MS_SYNC does not provide this failure-atomic commit contract. [msync-api] Sources and caveats: - Source synthesis and implementation inspection, not a Hesela power-cut experiment. Related terms: - [msync](https://hesela.dev/terms/msync/) - [advfs-syncv](https://hesela.dev/terms/advfs-syncv/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) Citations: - [park13] Park, Kelly and Shen. Failure-Atomic msync(). EuroSys 2013, pp. 225-238, sections 3 and 5. DOI: 10.1145/2465351.2465374. https://web.eecs.umich.edu/~tpkelly/papers/Failure_atomic_msync_EuroSys_2013.pdf (accessed 2026-11-21) - [kelly19] Terence Kelly. Good Old-Fashioned Persistent Memory. USENIX ;login:, Winter 2019, pp. 29-34. https://www.usenix.org/publications/login/winter2019/kelly (accessed 2026-11-21) - [errata] Good Old-Fashioned Persistent Memory: erratum, 19 February 2020. https://www.usenix.org/sites/default/files/kelly_errata.txt (accessed 2026-11-21) - [famus-code] Terence Kelly: famus and famus_snap source releases; reviewed famus_snap.h and famus_snap_sync() from the 29 November 2019 archive. https://web.eecs.umich.edu/~tpkelly/famus/ (accessed 2026-11-21) - [msync-api] Linux man-pages: msync(2), synchronization flags. https://man7.org/linux/man-pages/man2/msync.2.html (accessed 2026-11-21) - [hesela-sync] Hesela: File and mapped-range synchronization boundaries. https://hesela.com/analyses/fsync-failure-retry-durability/ (accessed 2026-11-21) ### Failure burst URL: https://hesela.dev/terms/failure-burst/ Related analysis: https://hesela.com/analyses/datacenter-hardware-failure-tickets/ Also known as: Failure burst (adjacent-gap rule) Status: shipping Record updated: 2026-11-19 A failure burst is a maximal sequence of failure events in which each event occurs within a fixed time window of the next one. Note: Ford et al. apply the rule to node unavailability events with a window w of 120 s. The window is longer than the interval at which node status is polled and shorter than a tenth of the average time to recover a chunk, and the share of failures grouped into bursts of at least 10 nodes changes little beyond it. A single event also forms a burst, and a chain of closely spaced events can last much longer than w. [ford-osdi10] With this window, 37% of failures belong to a burst of at least 2 nodes. A random independent failure joins an existing burst with probability 8.0% and a burst of at least 10 nodes with probability 0.068%. Among bursts of at least 10 nodes, only 3% have all of their nodes on distinct racks. [ford-osdi10] Coarser counts show the same departure from independence. In a disk replacement study, the correlation coefficient between replacement counts was 0.72 for consecutive weeks and 0.79 for consecutive months, where a Poisson process would give values close to 0. [fast07] Rack affinity compares a burst's rack concentration with same-size random node subsets in the same cell, including half the probability of tied scores. A high rank is not a diagnosis of a common cause. [ford-osdi10] The pinned Han release has 2,368 node-grouped and 3,365 rack-grouped records out of 18,387 at an inclusive 30-minute threshold. Its longest rack group spans 81 minutes 16 seconds. Repeated disk labels across models can corrupt a disk-only complement: use the same row-membership mask. These are historical grouped records, not simultaneous physical failures or an independence test. [hesela-ticket-replay] Advantages: - The rule needs only event start times, so it can be applied to logs that carry no cause annotations. (sources: [ford-osdi10]) - Encoding each burst by nodes per rack allows a score that compares rack concentration between bursts of the same size. (sources: [ford-osdi10]) Limitations: - Grouping by time alone can merge two bursts with independent causes, and this error grows slowly as the window widens. (sources: [ford-osdi10]) - A window shorter than the monitoring poll interval would split events that actually occurred close together, so the usable window depends on the monitoring system. (sources: [ford-osdi10]) Sources and caveats: - ford-osdi10 is the OSDI 2010 paper, read in sections 4.1 and 4.2 for the definition, window choice and burst statistics. - fast07 is the FAST 2007 field study, read in section 5.2 for correlations between weekly and monthly replacement counts. - The Ford and Schroeder/Gibson percentages and coefficients above are quoted from their papers; the final Han-release paragraph is separately recomputed. - Section 4.3 was read on 2026-11-09 for the rack-affinity comparison and its causal limits. - Publishing-agent source review and fresh data/original-function replay completed on 2026-11-19; see https://hesela.dev/datasets/ssd-correlated-failures-nodes-racks/#ticket-replay. Not external peer review. Related terms: - [failure-domain](https://hesela.dev/terms/failure-domain/) - [failure-label](https://hesela.dev/terms/failure-label/) - [failure-operation-ticket](https://hesela.dev/terms/failure-operation-ticket/) - [rack-affinity](https://hesela.dev/terms/rack-affinity/) Citations: - [ford-osdi10] Ford et al. Availability in Globally Distributed Storage Systems. OSDI 2010, sections 4.1-4.3 and Figures 5-8. https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Ford.pdf (accessed 2026-11-09) - [fast07] Schroeder and Gibson. Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you? FAST 2007, section 5.2. https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder.pdf (accessed 2026-10-23) - [hesela-ticket-replay] Hesela: released Alibaba SSD ticket replay, exact aggregates, source pins and selected original-function checks (2026). https://hesela.dev/research/han-ticket-replay/SOURCES.json (accessed 2026-11-19) ### Failure detector mistake rate URL: https://hesela.dev/terms/failure-detector-mistake-rate/ Also known as: average mistake rate Status: shipping Record updated: 2026-11-06 A failure detector's mistake rate is the number of false-suspicion episodes per unit of eligible observation time. Note: Average mistake rate counts false-suspicion episodes per unit time, not the dimensionless heartbeat tail encoded by phi or the posterior probability of failure. The report uses inverse seconds. [phi-report] Specify the episode, observer, independently established alive state and eligible time. Ten one-second episodes in 1,000 seconds and ten fifty-second episodes both give 0.01 episodes per second, but occupy 1% and 50% of the time. These are invented examples. Repeated polls of one suspected state are not new onsets; uncertain crash-and-restart labels need separate handling. [hesela-phi] With a fixed positive delay tau, continuous observation, an always-alive process and immediate reset on arrival, a complete interval T > tau causes one episode lasting T - tau. For positive independent identically distributed intervals with finite mean mu, renewal-reward theory gives long-run episode rate P(T > tau) / mu and time fraction E[max(T - tau, 0)] / mu. Adaptive thresholds, pause guards and incomplete intervals require different accounting. [renewal-reward] In two synthetic records of 100 complete intervals and 110 total seconds, one interval exceeds 2 seconds in each record, but suspicion lasts 9 versus 18 seconds. Equal tail fractions and episode rates can have unequal time burden; exact finite-record accounting needs no independence. The linked JSON is synthetic. [hesela-renewal] An unfinished gap still contributes observed suspicion time. Heartbeats at 0, 1 and 2 seconds, threshold 2 seconds and stop at 5 give 1/5 time suspected. Known initial age is required; carried-in suspicion adds time, not a new onset. Unknown age or observation gaps must not be treated as a fresh heartbeat. [hesela-renewal] Related terms: - [failure-detector](https://hesela.dev/terms/failure-detector/) - [phi-accrual-detector](https://hesela.dev/terms/phi-accrual-detector/) - [interarrival-time](https://hesela.dev/terms/interarrival-time/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [gray-failure](https://hesela.dev/terms/gray-failure/) Citations: - [phi-report] Hayashibara, Defago, Yared and Katayama, The phi accrual failure detector, JAIST IS-RR-2004-010 (10 May 2004), sections II-B, IV-V. https://dspace.jaist.ac.jp/dspace/handle/10119/4784 (accessed 2026-10-19) - [hesela-phi] Phi failure detectors: suspicion is not a failure probability. https://hesela.com/analyses/phi-failure-detectors-suspicion/#mistakes (accessed 2026-10-19) - [renewal-reward] Maria Vlasiou, Renewal Processes with Costs and Rewards, arXiv:1404.5601v1, theorem 1 and Partial Rewards. https://arxiv.org/abs/1404.5601 (accessed 2026-11-06) - [hesela-renewal] Hesela: exact synthetic interval and observation-window accounting, with renewal.py and test_renewal.py alongside this JSON. https://hesela.dev/research/phi-detector/renewal.json (accessed 2026-11-06) ### Failure detector URL: https://hesela.dev/terms/failure-detector/ Also known as: distributed failure detector Status: shipping Record updated: 2026-11-20 A failure detector is a component that uses observations to report whether another process or endpoint is suspected of being unavailable. Note: Chandra and Toueg characterize unreliable failure detectors by completeness, which requires crashed processes to be suspected eventually, and accuracy, which limits suspicion of correct processes. Combining the two properties gives eight classes. Consensus can be solved even with detectors that make an infinite number of mistakes. [ct96] With the eventually weak class, written ◇W, consensus is solvable when fewer than ⌈n/2⌉ of n processes crash, that is, with a majority of correct processes. A companion paper shows that ◇W is the weakest failure detector for solving consensus. [ct96] Cassandra runs a variant of the phi accrual detector on every node, and each node gossips once per second. UP and DOWN decisions are local and are not propagated, and convicting a node stops reads being routed to it without removing it from membership. [cassandra-membership] Advantages: - Separates failure suspicion from the protocol that uses it, so an algorithm can be proven correct for a stated detector class. (sources: [ct96]) Limitations: - A suspicion can be mistaken, so it does not prove that the suspected process has stopped. (sources: [ct96]) - Heartbeats show that a messaging path works, not that the application makes progress or that writes are durable. (sources: [cassandra-membership]) Sources and caveats: - ct96 is the 1996 Journal of the ACM paper by Chandra and Toueg of Cornell University, read on 2026-10-22 in the abstract, introduction, class definitions and consensus sections. - The eight classes and the fewer than ⌈n/2⌉ crash bound come from ct96. - cassandra-membership is the Apache Cassandra Dynamo architecture page, re-read on 2026-10-22 in the gossip and failure detection sections. - The once-per-second gossip round comes from cassandra-membership. Related terms: - [phi-accrual-detector](https://hesela.dev/terms/phi-accrual-detector/) - [gray-failure](https://hesela.dev/terms/gray-failure/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [failure-detector-mistake-rate](https://hesela.dev/terms/failure-detector-mistake-rate/) - [differential-observability](https://hesela.dev/terms/differential-observability/) - [fail-slow](https://hesela.dev/terms/fail-slow/) - [flp-impossibility](https://hesela.dev/terms/flp-impossibility/) - [partial-synchrony](https://hesela.dev/terms/partial-synchrony/) - [perfect-failure-detector](https://hesela.dev/terms/perfect-failure-detector/) - [eventually-perfect-failure-detector](https://hesela.dev/terms/eventually-perfect-failure-detector/) - [crash-stop](https://hesela.dev/terms/crash-stop/) - [omission-failure](https://hesela.dev/terms/omission-failure/) Citations: - [cassandra-membership] Apache Cassandra documentation: Dynamo, Gossip, Ring Membership and Failure Detection. https://cassandra.apache.org/doc/latest/cassandra/architecture/dynamo.html#ring-membership-and-failure-detection (accessed 2026-10-22) - [hesela-phi] Phi failure detectors: suspicion is not a failure probability. https://hesela.com/analyses/phi-failure-detectors-suspicion/ (accessed 2026-10-17) - [ct96] Tushar Deepak Chandra and Sam Toueg. Unreliable Failure Detectors for Reliable Distributed Systems. Journal of the ACM 43(2), 1996, pp. 225-267. https://www.cs.utexas.edu/~lorenzo/corsi/cs380d/papers/p225-chandra.pdf (accessed 2026-10-22) ### Failure domain URL: https://hesela.dev/terms/failure-domain/ Related analysis: https://hesela.com/analyses/storage-availability-correlated-failures/ Also known as: fault domain Status: shipping Record updated: 2026-12-02 A failure domain is a group of components that can be affected by the same failure event because they share a dependency or physical location. Note: Hosts, racks, power supplies and network paths can define different failure domains. [ford-domains] Placing redundant data on separate hosts does not necessarily separate it across racks or power sources. [ceph-crush] Domain boundaries describe the failures a placement policy is intended to isolate; they do not prove statistical independence between components in different domains. Rack concentration alone does not identify the shared dependency. Ford et al. note that high-affinity bursts can affect part of a rack through component batches or software changes, without a whole-rack power or network failure. [ford-domains] Related terms: - [crush-placement](https://hesela.dev/terms/crush-placement/) - [placement-group](https://hesela.dev/terms/placement-group/) - [mirroring](https://hesela.dev/terms/mirroring/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [failure-burst](https://hesela.dev/terms/failure-burst/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [rack-affinity](https://hesela.dev/terms/rack-affinity/) - [icefs](https://hesela.dev/terms/icefs/) - [carbink](https://hesela.dev/terms/carbink/) - [codingsets](https://hesela.dev/terms/codingsets/) - [stranded-capacity](https://hesela.dev/terms/stranded-capacity/) - [envyfs](https://hesela.dev/terms/envyfs/) Citations: - [ford-domains] Ford et al., Availability in Globally Distributed Storage Systems, OSDI 2010, sections 4 and 4.3: domains and rack affinity. https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Ford.pdf (accessed 2026-11-09) - [ceph-crush] Ceph Squid documentation: CRUSH Maps, hierarchy and placement rules. https://docs.ceph.com/en/squid/rados/operations/crush-map/ (accessed 2026-10-13) - [hesela-availability] Storage availability and correlated failures: placement boundaries. https://hesela.com/analyses/storage-availability-correlated-failures/ (accessed 2026-10-13) ### Failure label URL: https://hesela.dev/terms/failure-label/ Related analysis: https://hesela.com/analyses/smart-replacement-prediction-random-splits/ Also known as: failure target Status: shipping Record updated: 2026-11-11 A failure label is a recorded outcome assigned to an observation under an explicit rule defining which event counts as failure and when it occurs. Note: Specify the event, counting unit and timestamp. A disk-prediction study covering 380,000 hard drives counts a disk as failed when operators decide it must be replaced, which follows a failed read or write and an unsuccessful restart, and treats every other disk as healthy. [lu-fast20] A host-level mitigation study instead labels customer-impacting host failures, such as an unresponsive host, failed VM creation or an OS crash, which often occur well before a component fails permanently. Signals in the n hours before a host failure are positive and older ones negative, and the production horizon is 7 days because feature distributions did not differ significantly beyond it. [levy-osdi20] Metric warning: section 8.3 calls 20.51% a false positive rate, but it is 100% minus the reported 79.49% precision: unconfirmed alerts divided by hosts that triggered alerts. Conventional FPR divides false positives by actual negatives. The paper also counts successfully mitigated, subsequently confirmed faults as positives. [levy-osdi20] Advantages: - Labelling the earlier host-level failure leaves time for mitigation that a permanent-component label would miss. (sources: [levy-osdi20]) Limitations: - A replacement record is not automatically a physical failure or a service outage; changing the target changes the prediction task. (sources: [lu-fast20], [levy-osdi20]) Sources and caveats: - lu-fast20 re-read 2026-10-23 for the operator replacement rule and the drive count. - levy-osdi20 re-read 2026-10-23 for host-failure labels, the hour-based label window and the 7-day horizon. Related terms: - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [grouped-cross-validation](https://hesela.dev/terms/grouped-cross-validation/) - [smart](https://hesela.dev/terms/smart/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [failure-operation-ticket](https://hesela.dev/terms/failure-operation-ticket/) - [recall](https://hesela.dev/terms/recall/) - [prediction-cadence](https://hesela.dev/terms/prediction-cadence/) Citations: - [lu-fast20] Lu et al. Making Disk Failure Predictions SMARTer! FAST 2020, section 2.1, p. 153. https://files.usenix.org/s3fs-public/cdn/fast20-lu.pdf (accessed 2026-10-23) - [levy-osdi20] Levy et al. Predictive and Adaptive Failure Mitigation to Avert Production Cloud VM Interruptions. OSDI 2020, section 4.3 and Figure 2, p. 1159. https://files.usenix.org/s3fs-public/cdn/osdi20-levy.pdf (accessed 2026-10-23) ### Failure operation ticket URL: https://hesela.dev/terms/failure-operation-ticket/ Related analysis: https://hesela.com/analyses/datacenter-hardware-failure-tickets/ Also known as: FOT Status: shipping Record updated: 2026-10-23 A failure operation ticket is a management-system record of a detected hardware problem and its handling status, rather than necessarily a unique failed component. Note: Wang et al. studied over 290,000 tickets collected over four years by a central failure management system covering hundreds of thousands of servers. Agents created about 90% of them from syslogs and periodic device polling, and operators submitted the rest by hand. Each record carries fields such as host, error device, error type and error time, and handled tickets add the operator action and its timestamp. [wang-dsn17] Handling decisions split the records into 70.3% with a repair order, 28.0% left unrepaired for decommission and 1.7% marked as false alarms. Issuing a repair order closes the ticket, while the physical repair is done by contractors outside the dataset. Response times for repaired tickets had a median of 6.1 days but a mean of 42.2 days, because some tickets stayed open for more than 200 days. A repeated symptom after closure can produce another record. [wang-dsn17] Replacement logs raise a similar counting issue. In a field study of more than 100,000 drives, the site's own tests decided when a disk was replaced, and one disk vendor reported finding no problem in 43% of returned disks. Keep ticket, component, incident and exposure counts distinct. [fast07] Advantages: - Ticket fields record both detection time and operator action time, so response delays can be measured directly. (sources: [wang-dsn17]) Limitations: - Handling status can be settled days or months after the error time, so a label derived from it may not be known at prediction time. (sources: [wang-dsn17]) - Ticket categories depend on site policy, for example whether out-of-warranty hardware is repaired at all. (sources: [wang-dsn17]) Sources and caveats: - wang-dsn17 is the DSN 2017 paper, read in sections II, III-D and the response-time analysis for fields, categories and delays. - fast07 is the FAST 2007 field study, read in section 2 for how replacement log entries are created. - Percentages and durations are quoted from the papers and were not recomputed. Related terms: - [failure-label](https://hesela.dev/terms/failure-label/) - [rate-of-occurrence-of-failures](https://hesela.dev/terms/rate-of-occurrence-of-failures/) - [failure-burst](https://hesela.dev/terms/failure-burst/) Citations: - [wang-dsn17] Wang, Zhang and Xu. What Can We Learn from Four Years of Data Center Hardware Failures? DSN 2017, sections II, III-D and the response-time analysis. https://netman.aiops.org/~peidan/ANM2019/9.EventPrediction/ReadingList/2017DSN_What%20Can%20We%20Learn%20from%20Four%20Years%20of%20Data%20Center%20Hardware%20Failures.pdf (accessed 2026-10-23) - [fast07] Schroeder and Gibson. Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you? FAST 2007, section 2. https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder.pdf (accessed 2026-10-23) ### Failure-policy fingerprinting URL: https://hesela.dev/terms/failure-policy-fingerprinting/ Also known as: Failure policy fingerprinting Status: research Record updated: 2026-11-21 Failure-policy fingerprinting uses targeted faults and controlled workloads to identify a filesystem's detection and recovery behavior. Note: Method: IRON's 2005 framework varies the operation, block type and fault, then compares faulted and fault-free runs using API results, logs and I/O traces. One failed block cannot characterize every error path. [iron05] Injection boundary: Its pseudo-device driver returns read or write errors, or alters read data, with transient and persistent faults. Injection below the filesystem does not evaluate retries or mitigation in lower layers. [iron05] Interpretation: Detection and recovery are separate observations. Returning an error, stopping writes, retrying and reconstructing data have different consequences; a detected fault does not imply restored content. [iron05] Later methodology: A 2019 study targets individual structures and accesses on Linux 4.17, reinitializes the image for each trial, and checks both immediate behavior and offline recovery. Mountability with lost data, restoration of the pre-operation state and full expected-state recovery are separate outcomes. [jaffer19] Limitations: - Observed behavior is bounded by the tested workload, implementation version and selected fault cases, not an estimate of production failure frequency. (sources: [iron05], [jaffer19]) Sources and caveats: - Source-based methodology synthesis; no execution of either historical fault-injection framework or evaluation of current filesystem versions. Related terms: - [fault-injection](https://hesela.dev/terms/fault-injection/) - [fail-partial-failure-model](https://hesela.dev/terms/fail-partial-failure-model/) - [semantic-block-level-analysis](https://hesela.dev/terms/semantic-block-level-analysis/) - [intra-disk-redundancy](https://hesela.dev/terms/intra-disk-redundancy/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) Citations: - [iron05] Prabhakaran et al. IRON File Systems. SOSP 2005, sections 3-4. https://research.cs.wisc.edu/adsl/Publications/iron-sosp05.pdf (accessed 2026-11-21) - [jaffer19] Jaffer et al. Evaluating File System Reliability on Solid State Drives. USENIX ATC 2019, sections 2.3-2.5 and table 4. https://www.usenix.org/system/files/atc19-jaffer.pdf (accessed 2026-11-21) ### FALLOC_FL_UNSHARE_RANGE URL: https://hesela.dev/terms/falloc-fl-unshare-range/ Also known as: unshare range, preemptive copy-on-write Status: shipping Record updated: 2026-11-21 FALLOC_FL_UNSHARE_RANGE makes shared file data private ahead of later writes, preserving existing content while preparing its copy-on-write allocation. Note: Allocation timing: a reflink postpones copying until a write diverges the files. This Linux fallocate mode brings that allocation forward for the selected range, trading immediate space and I/O for protection against later lack-of-space failures there. Success must be checked; unsupported filesystems can return EOPNOTSUPP and insufficient space can return ENOSPC. [fallocate] Mode boundaries: the Linux v6.16 UAPI assigns this flag 0x40 and describes content-preserving unsharing within file size. It belongs to allocation mode and cannot be combined with punch, zero, collapse or insert range modes. Filesystem-dependent granularity still applies. [uapi] Checkpoint trade-off: famus_snap deliberately avoids reserving worst-case space for complete divergence of a backing file and its snapshot, because doing so could remove the sharing benefit. An application choosing that optimization must budget future copy-on-write growth separately. [kelly19] Persistence: allocating private extents does not flush future writes or durably publish a pathname. File synchronization and required directory synchronization remain separate obligations. [fsync] Limitations: - An unshare failure is not a capacity reservation; inspect the error before relying on subsequent writes. [fallocate] - Neither private extents nor a cloned file provide an independent device-failure domain. [ficlone] Sources and caveats: - Source synthesis of Linux interface contracts and a snapshot implementation, not a filesystem benchmark or crash-recovery experiment. - The flag's presence in a pinned UAPI header does not establish support on every filesystem or a date of first implementation. Related terms: - [reflink](https://hesela.dev/terms/reflink/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [file-preallocation](https://hesela.dev/terms/file-preallocation/) - [file-extent](https://hesela.dev/terms/file-extent/) - [fsync](https://hesela.dev/terms/fsync/) - [failure-atomic-msync](https://hesela.dev/terms/failure-atomic-msync/) Citations: - [fallocate] Linux man-pages: fallocate(2), unshare allocation mode and errors. https://man7.org/linux/man-pages/man2/fallocate.2.html (accessed 2026-11-21) - [uapi] Linux v6.16: include/uapi/linux/falloc.h, unshare-range mode contract. https://raw.githubusercontent.com/torvalds/linux/v6.16/include/uapi/linux/falloc.h (accessed 2026-11-21) - [kelly19] Terence Kelly. Good Old-Fashioned Persistent Memory. USENIX ;login:, Winter 2019, pp. 29-34. https://files.usenix.org/s3fs-public/cdn/login_winter19_08_kelly.pdf (accessed 2026-11-21) - [fsync] Linux man-pages: fsync(2), data, metadata and directory persistence. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-21) - [ficlone] Linux man-pages: FICLONE(2const), shared storage and later allocation. https://man7.org/linux/man-pages/man2/FICLONE.2const.html (accessed 2026-11-21) - [hesela-allocation] Hesela: Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ (accessed 2026-11-21) ### False positive rate URL: https://hesela.dev/terms/false-positive-rate/ Related analysis: https://hesela.com/analyses/ml-disk-failure-prediction/ Also known as: FPR, false alarm rate Status: shipping Record updated: 2026-11-22 The false positive rate is the fraction of observed negative cases incorrectly classified as positive at a specified decision threshold. Note: FPR = FP / (FP + TN), with FP false positives and TN true negatives, so FPR equals one minus specificity. It is undefined without observed negatives. It conditions on actual negatives; whether these occupy a row or column depends on the labelled matrix convention. [fawcett2006] [matrix-api] The fraction of alerts that are false is instead FP / (TP + FP), or one minus precision when alerts exist. [sklearn-confusion] Conditioning on negatives hides the alert burden under class skew. Ratios of 10 to 1 and 100 to 1 between classes are common, and ratios up to 10^6 to 1 have been observed. [fawcett2006] At 1% prevalence, a rule with 90% recall and 1% FPR raises 0.9 true and 0.99 false alerts per 100 cases, so fewer than half of its alerts are true. Low FPR need not imply high precision when failures are rare. [saito2015] A ROC curve traces FPR against true positive rate as the threshold moves, starting at (0, 0) from a threshold above every score. [sklearn-roc] [fawcett2006] State the denominator whenever using the ambiguous phrase false alarm rate, and report FPR at the deployed threshold, not only an area under the curve. A zero observed FPR is not proof of zero population false-positive probability. Repeated evaluations of the same negatives do not supply new independent devices; preserve drive and trial identities before estimating uncertainty. [sklearn-validation] For a hypothetical 2 false positives and 98 true negatives, FPR is 2 / (2 + 98) = 2%, not 2 / 98. True negatives are only one part of the denominator. This is arithmetic, not a fleet result. [sklearn-confusion] Advantages: - Because it conditions on actual negatives (FP + TN), an FPR measured on one sample carries over to a sample with a different positive share, provided the classifier, threshold and negative-case distribution remain unchanged. (sources: [fawcett2006]) Limitations: - An FPR reported without its threshold or its negative count cannot be converted into an expected number of false alerts. (sources: [sklearn-confusion], [sklearn-roc]) Sources and caveats: - fawcett2006 read 2026-10-23, sections 2 and 4.2, for the rate definitions, the false alarm synonym, column-ratio invariance and the reported class skews. - sklearn-roc read 2026-10-23 for increasing FPR arrays and the threshold at infinity that starts the curve at (0, 0). - The 1% prevalence example is arithmetic from the stated rates, not a reported result. - The grouped-cross-validation entry links here because grouped folds decide which repeated negatives of one unit enter the FPR denominator of a validation split. - Companion analyses on disk failure prediction are listed but not used in prose. - 2026-11-11: corrected the advantage's denominator from true negatives only to all actual negatives (FP + TN), checked against Fawcett Figure 1; the 2/100 example is hypothetical arithmetic. - 2026-11-22: qualified the matrix-axis claim against Fawcett Figure 1 and scikit-learn confusion_matrix; conditioning is on observed negatives in either layout. Related terms: - [precision](https://hesela.dev/terms/precision/) - [recall](https://hesela.dev/terms/recall/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [smart](https://hesela.dev/terms/smart/) - [adaptive-scrubbing](https://hesela.dev/terms/adaptive-scrubbing/) - [prediction-cadence](https://hesela.dev/terms/prediction-cadence/) - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) - [grouped-cross-validation](https://hesela.dev/terms/grouped-cross-validation/) - [confusion-matrix](https://hesela.dev/terms/confusion-matrix/) - [specificity](https://hesela.dev/terms/specificity/) - [balanced-accuracy](https://hesela.dev/terms/balanced-accuracy/) Citations: - [sklearn-confusion] scikit-learn: model evaluation, confusion-matrix rates. https://scikit-learn.org/stable/modules/model_evaluation.html#multilabel-confusion-matrix (accessed 2026-10-12) - [saito2015] Saito and Rehmsmeier (2015). The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets. https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0118432 (accessed 2026-10-12) - [hesela-prediction] Hesela: disk failure prediction, metric denominators and a synthetic alert-count example. https://hesela.com/analyses/ml-disk-failure-prediction/ (accessed 2026-10-12) - [hesela-alert-units] Hesela: repeated decisions versus distinct-drive alert counts; synthetic counting example. https://hesela.com/analyses/ml-disk-failure-prediction/#repeated-predictions (accessed 2026-10-16) - [fawcett2006] Fawcett. An introduction to ROC analysis. Pattern Recognition Letters 27 (2006) 861-874, sections 2 and 4.2. DOI: 10.1016/j.patrec.2005.10.010. https://people.inf.elte.hu/kiss/11dwhdm/roc.pdf (accessed 2026-10-23) - [sklearn-roc] scikit-learn: roc_curve; increasing false and true positive rates and the threshold at infinity. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.roc_curve.html (accessed 2026-10-23) - [sklearn-validation] scikit-learn: cross-validation with grouped data and dependence between observations. https://scikit-learn.org/stable/modules/cross_validation.html#cross-validation-iterators-for-grouped-data (accessed 2026-11-11) - [matrix-api] scikit-learn: confusion_matrix; actual labels in rows and predictions in columns. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.confusion_matrix.html (accessed 2026-11-22) ### fanotify URL: https://hesela.dev/terms/fanotify/ Also known as: Linux fanotify, fanotify notification group Status: shipping Record updated: 2026-11-17 fanotify is a Linux filesystem-event interface that supports object, mount and filesystem monitoring and, with suitable privileges and configuration, access-permission decisions. Note: Coverage: FAN_EVENT_ON_CHILD reaches immediate children, not a recursive subtree. FAN_MARK_MOUNT watches one mount; FAN_MARK_FILESYSTEM covers one filesystem instance through its different mounts. Mount marks reject handle-based event types such as FAN_CREATE. Both broad mark types require CAP_SYS_ADMIN. [fanotify-mark] Permissions: FAN_CLASS_NOTIF cannot request permission events. FAN_REPORT_FID cannot be combined with FAN_CLASS_CONTENT or FAN_CLASS_PRE_CONTENT, even for privileged listeners. Content classes can support access decisions, while unprivileged groups must use file handles, can mark only inodes and cannot request permission events. Kernel configuration and filesystem support also constrain the available interface. [fanotify-init] Mapped stores do not provide FAN_MODIFY notifications. FAN_PRE_ACCESS, available since Linux 6.14, can run before mmap; this pre-content permission mechanism does not record later mapped writes. [mmap-hook] [fanotify-mark] Remote network-filesystem events are not reported; queue overflow loses events. When all descriptors referring to the notification group are closed, outstanding permission requests are allowed. Permission interception is therefore not, by itself, a persistent fail-closed policy or a complete change journal. [fanotify-api] Backup use: broader observation can simplify discovery, but a backup still needs a defined capture and reconciliation protocol. The linked inotify study measures inotify and directory scans; its counts are not fanotify measurements. Advantages: - Mount and filesystem marks can avoid installing a separate mark on each directory. Limitations: - Event coverage, permission handling and supported flags depend on mark type, privileges, kernel and filesystem. Sources and caveats: - Linux man-pages 6.19 plus the Linux v6.14 mmap hook; distinguishes pre-content permission from mapped-write notification. No native fanotify or backup-product experiment. Related terms: - [inotify](https://hesela.dev/terms/inotify/) - [directory-enumeration](https://hesela.dev/terms/directory-enumeration/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) Citations: - [fanotify-api] Linux man-pages 6.19: fanotify(7), events, limitations and group closure. https://man7.org/linux/man-pages/man7/fanotify.7.html (accessed 2026-11-17) - [fanotify-mark] Linux man-pages 6.19: fanotify_mark(2), mount, filesystem and child marks. https://man7.org/linux/man-pages/man2/fanotify_mark.2.html (accessed 2026-11-17) - [fanotify-init] Linux man-pages 6.19: fanotify_init(2), notification classes and unprivileged groups. https://man7.org/linux/man-pages/man2/fanotify_init.2.html (accessed 2026-11-17) - [mmap-hook] Linux v6.14: fsnotify_mmap_perm pre-content hook. https://raw.githubusercontent.com/torvalds/linux/v6.14/include/linux/fsnotify.h (accessed 2026-11-17) - [hesela-inotify] Hesela: What inotify misses: mapped writes and collapsed change events. https://hesela.com/analyses/inotify-change-detection/ (accessed 2026-11-17) ### FaRM URL: https://hesela.dev/terms/farm/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: Fast Remote Memory Status: research Record updated: 2026-11-13 FaRM is a research distributed-memory platform that uses RDMA and software transaction protocols to access replicated objects across a cluster. Note: The NSDI 2014 design checks object-header and cache-line versions after a remote read, retrying inconsistent copies. Its shared address space is an object API, not an NVMe namespace. [farm14] The SOSP 2015 protocol uses replicated non-volatile logs; its durability design combines battery-backed DRAM with SSD save on power failure. Network completion is interpreted within that protocol. [farm15] FaSST offers a contrasting two-sided datagram RPC design; its paper did not implement machine-failure recovery. [fasst16] Limitations: - RDMA alone supplies neither FaRM's transaction guarantees nor its power-failure protection. (sources: [farm14], [farm15]) Sources and caveats: - Historical source review across the NSDI 2014 and SOSP 2015 designs, with an OSDI 2016 contrast; no prototype execution or performance reproduction. Related terms: - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [infiniband](https://hesela.dev/terms/infiniband/) - [strict-serializability](https://hesela.dev/terms/strict-serializability/) Citations: - [farm14] Dragojevic, Narayanan, Hodson and Castro. FaRM: Fast Remote Memory. NSDI 2014, sections 3.1-3.5. https://www.usenix.org/system/files/conference/nsdi14/nsdi14-paper-dragojevic.pdf (accessed 2026-11-13) - [farm15] Dragojevic et al. No compromises: distributed transactions with consistency, availability, and performance. SOSP 2015, sections 2-4. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/SOSP15-paper227-alternate-final-version.pdf (accessed 2026-11-13) - [fasst16] Kalia, Kaminsky and Andersen. FaSST: Fast, Scalable and Simple Distributed Transactions with Two-Sided (RDMA) Datagram RPCs. OSDI 2016. https://files.usenix.org/s3fs-public/cdn/osdi16-kalia.pdf (accessed 2026-11-13) ### Farthest-in-future replacement URL: https://hesela.dev/terms/farthest-in-future-replacement/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: Farthest-next-use replacement, Belady replacement, OPT replacement Status: research Record updated: 2026-11-19 Farthest-in-future replacement evicts a resident object whose next request is latest in a known future reference string. Note: For equal-size demand paging and unit miss cost, the rule is optimal but requires future references. Mattson et al. call it OPT, distinguishing it from the earlier MIN. [mattson-opt] With unequal-size objects, repeatedly applying the rule need not minimize misses. The comparator must use the same bypass/admission contract. [foo] FOO's finite-trace lower/upper bounds do not require independent references; independence and nonconcentration enter its separate asymptotic-tightness theorem. Correlation does not itself invalidate the bracket, but a narrow gap is not guaranteed. The caching model must still match. [foo] For ABCDCAB, A=2, B=C=D=1 and capacity 3 size units, mandatory farthest-next-use misses six times; an exact plan misses five times. These are constructed requests. [oracle] For ABCABC, A=3, B=C=1, capacity 3 and bypass allowed, minimizing requests gives four misses/eight fetched units; minimizing payload gives five misses/seven fetched units. No plan achieves both minima. [oracle] FOO's interval objective excludes first-reference cost. In ABCDCAB, four compulsory misses leave two versus one repeat misses over three repeat requests; totals stay six versus five. Subtracting this constant preserves the optimizer, not relative reductions or denominators. This is not a warm-start experiment. [foo] [oracle] An immediate-fill miss bound is not a delayed-fill latency bound. Fetch timing and joined requests need a separate state model and objective. [delayed-fsm] Limitations: - Optimality is specific to an objective and model; future knowledge does not imply minimum latency or device I/O. Sources and caveats: - The 1970 paper is reprinted in a 1972 Canadian government compilation; journal pages 93-95 correspond to PDF pages 82-84. [mattson-opt] Related terms: - [cache-inclusion-property](https://hesela.dev/terms/cache-inclusion-property/) - [belady-anomaly](https://hesela.dev/terms/belady-anomaly/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [delayed-hit](https://hesela.dev/terms/delayed-hit/) - [learning-relaxed-belady](https://hesela.dev/terms/learning-relaxed-belady/) Citations: - [mattson-opt] Mattson et al. Evaluation techniques for storage hierarchies. IBM Systems Journal 9(2), 1970, pp. 93-95. DOI 10.1147/sj.92.0078. https://publications.gc.ca/collections/collection_2020/isde-ised/Co22/Co22-315-1972-2-eng.pdf#page=82 (accessed 2026-11-06) - [foo] Berger et al. Practical Bounds on Optimal Caching with Variable Object Sizes. POMACS 2(2), 2018, article 32. DOI 10.1145/3224427. https://www.cs.cmu.edu/~harchol/Papers/Sigmetrics18c.pdf (accessed 2026-11-06) - [oracle] Hesela: offline-bound calculation, resident-state witnesses and controls. https://hesela.com/analyses/sieve-cache-eviction-traces/#offline-bound (accessed 2026-11-06) - [delayed-fsm] Keerthana Gurushankar, Noah G. Singer and Bernardo Subercaseaux. Latency Guarantees for Caching with Delayed Hits. arXiv:2501.16535v1, 2025; section 2. https://arxiv.org/pdf/2501.16535v1 (accessed 2026-11-06) ### FAST/FAIR persistent B+ tree URL: https://hesela.dev/terms/fast-fair/ Also known as: FAST and FAIR, FAST+FAIR, FAST&FAIR, Failure-Atomic ShifT, Failure-Atomic In-place Rebalance Status: research Record updated: 2026-12-04 FAST/FAIR is a persistent B+ tree design that orders in-place updates so readers can interpret partially completed shifts and rebalancing. Note: Mechanism: FAST skips a key between duplicate adjacent pointers during a shift. FAIR persists a new sibling and its link before removing migrated entries from the old node. The design relies on word-sized atomic stores and enforced persistence ordering, not cache-line atomicity. [fast-fair-paper] Concurrency: Readers avoid read locks, but writers still coordinate with locks. Scan direction and a change counter govern read retries. The paper distinguishes read-uncommitted lock-free search from its serializable leaf-lock variant. [fast-fair-paper] Implementation scope: At revision 0f047e88, concurrent allocates pages with posix_memalign, while concurrent_pmdk has a separate pool create/open path. An ordinary-memory benchmark is not evidence of restart recovery, and the existence of a PMDK path alone does not establish complete crash correctness. [fast-fair-code] [fast-fair-pmdk] Limitations: - The 2018 x86 evaluation uses Quartz latency emulation over DRAM and assumes DRAM bandwidth; its results are not modern-device measurements. (sources: [fast-fair-paper]) Sources and caveats: - Paper and pinned-source review; no execution of the historical index, crash-injection test or hardware performance reproduction. - The publication year identifies research, not commercial availability. The USENIX proceedings record supplies no DOI. Related terms: - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [fptree](https://hesela.dev/terms/fptree/) - [recipe](https://hesela.dev/terms/recipe/) - [bztree](https://hesela.dev/terms/bztree/) Citations: - [fast-fair-paper] Hwang et al. Endurable Transient Inconsistency in Byte-Addressable Persistent B+-Tree. FAST 2018, pp. 187-200, sections 3-7. https://www.usenix.org/system/files/conference/fast18/fast18-hwang.pdf (accessed 2026-12-04) - [fast-fair-code] FAST_FAIR 0f047e88: concurrent page allocator and tree constructor. https://github.com/DICL/FAST_FAIR/blob/0f047e88eb5005afcd02ccb2a7c1289e17702cc3/concurrent/src/btree.h (accessed 2026-12-04) - [fast-fair-pmdk] FAST_FAIR 0f047e88: concurrent_pmdk test program, pool creation and reopening. https://github.com/DICL/FAST_FAIR/blob/0f047e88eb5005afcd02ccb2a7c1289e17702cc3/concurrent_pmdk/src/test.cpp (accessed 2026-12-04) - [hesela-pmem] Hesela: FAST/FAIR tree states and implementation boundaries. https://hesela.com/analyses/pmem-persistence-domains-dax/#fast-fair (accessed 2026-12-04) ### fast_io_fail_tmo (FC path failure) URL: https://hesela.dev/terms/fast-io-fail-tmo/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: FC fast I/O failure timeout Status: shipping Record updated: 2026-10-24 For Linux SCSI over Fibre Channel, fast_io_fail_tmo is the interval in seconds after a remote-port problem before requesting failure of affected I/O. Note: The Linux v6.12 FC handler requests failure without promising that every request has finished on return. This is separate from dev_loss_tmo target-removal processing and from a DM-Multipath map's all-paths-down queue policy. [linux-fc-timers] The parameter name is not FC-exclusive: RHEL 9 maps DM Multipath's value to iSCSI recovery_tmo, while native NVMe-oF exposes a separate fast_io_fail_tmo alongside controller-reconnection options. Keep the transport and implementation with the setting. [rhel-timers] [libnvme-timers] These FC path-loss timers do not trigger if the remote port is never reported lost, even when SCSI commands hang. The manual discusses eh_deadline for that different condition and warns that its HBA reset affects all target paths on the adapter. [multipath-man] Sources and caveats: - FC semantics are scoped to Linux v6.12; iSCSI mapping is documented for RHEL 9, and the separate native NVMe option is listed in libnvme v1.11. No path-loss experiment or application-completion bound is claimed. Related terms: - [dev-loss-tmo](https://hesela.dev/terms/dev-loss-tmo/) - [no-path-retry](https://hesela.dev/terms/no-path-retry/) - [multipath-io](https://hesela.dev/terms/multipath-io/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) Citations: - [linux-fc-timers] Linux v6.12: FC transport loss, fail-fast and target-removal work. https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/scsi/scsi_transport_fc.c (accessed 2026-10-23) - [rhel-timers] RHEL 9: DM Multipath device-timeout overrides, section 5.7. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/configuring_device_mapper_multipath/index (accessed 2026-10-23) - [libnvme-timers] libnvme v1.11: fabrics connection options, including fast_io_fail_tmo, ctrl_loss_tmo and reconnect_delay. https://raw.githubusercontent.com/linux-nvme/libnvme/v1.11/src/nvme/fabrics.h (accessed 2026-10-23) - [hesela-timeouts] Storage timeouts: an expired timer is not a cancelled write. https://hesela.com/analyses/storage-timeouts-uncertain-completion/ (accessed 2026-10-23) - [multipath-man] multipath-tools: multipath.conf(5), eh_deadline and FC timeout trigger; pinned commit d53932bdbee02f440518ea384e63d7c4d3f66685. https://github.com/opensvc/multipath-tools/blob/d53932bdbee02f440518ea384e63d7c4d3f66685/multipath/multipath.conf.5.in (accessed 2026-10-24) ### Fast Virtual Disk (FVD) URL: https://hesela.dev/terms/fast-virtual-disk/ Related analysis: https://hesela.com/analyses/qcow2-backing-chain-verification/ Also known as: FVD Status: research Record updated: 2026-10-22 Recorded firstSeen: 2011 (sources: [tang-fvd]) Fast Virtual Disk is a research virtual-disk format that separates copy-on-write tracking from storage allocation. Note: Tang's FVD tracks copy-on-write state with a bitmap and handles storage allocation with an optional one-level lookup table, so either function can be disabled. With the default 64 KB block, a 1 TB base image needs a 2 MB bitmap, and with the default 1 MB chunk the lookup table for a 1 TB disk is 4 MB. Together they take 6 MB, against 128 MB for the QCOW2 two-level table in the paper's comparison. [tang-fvd] Copy-on-read stores base-image data locally on first read, and adaptive prefetching fetches remaining blocks within throughput limits. The published file-system benchmark disabled both features and the lookup table to compare basic copy-on-write. File-creation throughput was 249% higher than with QCOW2 and transaction throughput 77% higher, with QCOW2 issuing 45% more disk I/Os and seeking 5.6 times farther on average. [tang-fvd] The current QCOW2 specification has features in a similar direction. Extended L2 entries split each cluster into 32 independently allocated subclusters, and an external data file keeps guest data at matching offsets outside the metadata file, without compressed clusters or internal snapshots. [qcow2-spec] The 2011 comparison covers neither feature. [tang-fvd] Advantages: - Keeps copy-on-write metadata small enough to hold in memory, which avoids metadata reads on the I/O path. (sources: [tang-fvd]) Limitations: - The 2011 prototype evaluation on a single hard-disk testbed is not evidence of present-day QCOW2 performance. (sources: [tang-fvd], [qcow2-spec]) - With the lookup table disabled, FVD relies on the host file system or logical volume for allocation and thin provisioning. (sources: [tang-fvd]) Sources and caveats: - Historical research design, not a claim of current availability. - tang-fvd is the USENIX ATC 2011 paper by Chunqiang Tang, re-read on 2026-10-22 in sections 2 to 4. - The 64 KB, 1 MB, 2 MB, 4 MB, 6 MB, 128 MB, 249%, 77%, 45% and 5.6 times figures come from tang-fvd. - qcow2-spec is the QEMU QCOW2 image format specification, read in the header feature bits and the Extended L2 Entries section. Related terms: - [qcow2](https://hesela.dev/terms/qcow2/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) Citations: - [tang-fvd] Chunqiang Tang (2011), FVD: a High-Performance Virtual Machine Image Format for Cloud, USENIX ATC 11, sections 2-4. https://www.usenix.org/legacy/event/atc11/tech/final_files/Tang.pdf (accessed 2026-10-22) - [qcow2-spec] QEMU project. The QCOW2 image format: header feature bits and Extended L2 Entries. https://www.qemu.org/docs/master/interop/qcow2.html (accessed 2026-10-22) ### FastCDC URL: https://hesela.dev/terms/fastcdc/ Also known as: Fast Content-Defined Chunking Status: shipping Record updated: 2026-11-11 FastCDC is a content-defined chunking approach that combines Gear-based boundary selection, sub-minimum skipping and chunk-size normalization. Note: The 2016 design changes boundary-test strictness before and after a target length. Normalization narrows the size distribution rather than making chunks fixed-sized; reported speedups apply to the paper's implementations and workloads, not every backup system. [fastcdc] Section 5.1 averages five in-memory chunking runs, not complete backup throughput. Its deduplication ratio is duplicate bytes detected divided by total input bytes, expressed as a percentage; it is not a logical-to-stored capacity multiple. [fastcdc] Reproducibility: algorithm revision, Gear table and framing determine boundaries alongside size parameters. In fastcdc-py 1.7.0, minimum 2048 B and requested average 8192 B give a normalization transition of 5120 B; the requested average is not a guarantee of the observed mean. A terminal chunk can be shorter than the minimum. [implementation] Implementation-specific control: fastcdc-py 1.7.0 uses a right-shift recurrence, unlike the left-shift Gear recurrence described in the 2016 paper. With 2048/8192/65536 B parameters, 255 of the 256 constant-byte fixtures reach maximum-length chunks; 0x5D cuts at 2070 B through an early transient mask match. These are exhaustive synthetic inputs, not a workload-frequency or throughput estimate. [repeated-study] Sources and caveats: - Synthetic examples use the pinned pure-Python implementation with source hashes, exact byte equality and all terminal chunks; no speed or real-backup savings claim. [framing] Related terms: - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [rolling-hash](https://hesela.dev/terms/rolling-hash/) - [deduplication](https://hesela.dev/terms/deduplication/) - [gear-hash](https://hesela.dev/terms/gear-hash/) Citations: - [fastcdc] Xia et al. FastCDC: a Fast and Efficient Content-Defined Chunking Approach for Data Deduplication. USENIX ATC 2016, sections 4-5. https://files.usenix.org/s3fs-public/cdn/atc16-paper-xia.pdf (accessed 2026-10-12) - [hesela-cdc] Content-defined chunking: boundaries are not identity. https://hesela.com/analyses/content-defined-chunking-boundaries/ (accessed 2026-10-12) - [implementation] ISCC. fastcdc-py 1.7.0: pure-Python chunk generator and normalization functions. https://github.com/iscc/fastcdc-py/blob/v1.7.0/fastcdc/fastcdc_py.py (accessed 2026-10-16) - [framing] Hesela. Deterministic FastCDC framing experiment: byte counts and complete chunk manifests. https://hesela.dev/research/fastcdc-framing/results.json (accessed 2026-10-16) - [repeated-study] Hesela. Exhaustive constant-byte FastCDC experiment: pinned 1.7.0 Python API, source hashes, exact reconstruction and independent recurrence checks. https://hesela.dev/research/gear-repeated/results.json (accessed 2026-10-20) ### FasterLog URL: https://hesela.dev/terms/fasterlog/ Also known as: FASTER Log Status: shipping Record updated: 2026-12-02 FasterLog is a concurrent append-only log library with separate boundaries for in-memory visibility, committed storage and recovery. Note: FasterLog stores a sequence of entries; FasterKV instead exposes key-based operations over a hybrid log. The two abstractions are not interchangeable. [project] Visibility: In version 2.6.5, AutoRefreshSafeTailAddress enables safe uncommitted scans. SafeTailAddress can advance beyond CommittedUntilAddress without making those records recoverable. AutoCommit is a separate setting. [settings] [code] Address boundary: WaitForCommitAsync waits for a boundary, not inclusively for the record starting there. Passing an enqueue's returned start address can therefore finish before that record commits. Capture the post-enqueue tail, or use the enqueue-and-wait helper with a separate commit producer; waiting alone does not request a commit. [code] Native example: After a committed baseline ending at address 76, a new record occupied [76,92). Waiting for 76 completed, while waiting for 92 remained pending. The record was visible before commit but absent after killing and reopening the writer in three trials. With CommitAsync completed first, it was recovered in all three controls. These are process-restart observations, not power-loss tests or failure-rate estimates. [probe] System context: Netherite uses FasterLog for its commit log and FasterKV for partition state. Its outbox delays cross-partition sends until the producing event is persisted; early local processing is not permission for arbitrary external side effects. [netherite] Advantages: - An atomic enqueue batch can keep its entries together at commit. (sources: [basics]) Limitations: - Persisting a named iterator position does not by itself transact an external consumer's side effects. (sources: [basics]) Sources and caveats: - The native probe uses Microsoft.FASTER.Core 2.6.5 on .NET 10.0.12, Linux x64, ManagedLocalStorageDevice, one writer, two short payloads and three repetitions per condition. [probe] - The documentation's RefreshUncommitted examples are older than the pinned API; version 2.6.5 requires AutoRefreshSafeTailAddress for uncommitted Scan. [basics] [code] - The SIGMOD 2019 CPR paper concerns per-session FasterKV recovery, not FasterLog's single log-address frontier. Netherite DOI: 10.14778/3529337.3529344. [netherite] Related terms: - [hybrid-log](https://hesela.dev/terms/hybrid-log/) - [group-commit](https://hesela.dev/terms/group-commit/) Citations: - [project] Microsoft Research: FASTER project, FasterKV and FasterLog abstractions. https://www.microsoft.com/en-us/research/project/FASTER/ (accessed 2026-12-02) - [settings] FASTER v2.6.5: FasterLogSettings.cs, automatic safe-tail refresh and automatic commit. https://github.com/microsoft/FASTER/blob/e25782f602fca13b9d6dd812dfdc7facab52f0bd/cs/src/core/FasterLog/FasterLogSettings.cs (accessed 2026-12-02) - [code] FASTER v2.6.5: FasterLog.cs, WaitForCommitAsync, enqueue-and-wait, Scan and safe-tail advancement. https://github.com/microsoft/FASTER/blob/e25782f602fca13b9d6dd812dfdc7facab52f0bd/cs/src/core/FasterLog/FasterLog.cs (accessed 2026-12-02) - [basics] FasterLog Basics: enqueue, commit, iteration and named iterator recovery; older API examples. https://microsoft.github.io/FASTER/docs/fasterlog-basics/ (accessed 2026-12-02) - [netherite] Burckhardt et al. Netherite: Efficient Execution of Serverless Workflows. PVLDB 15(8), 2022, sections 5.2-5.3. https://www.microsoft.com/en-us/research/wp-content/uploads/2022/07/p1591-burckhardt.pdf (accessed 2026-12-02) - [probe] Hesela: native FasterLog 2.6.5 visibility, address-boundary and process-restart probe. https://hesela.dev/research/fasterlog-boundaries/README.md (accessed 2026-12-02) - [wal-context] Hesela: WAL, checkpoints and torn pages. https://hesela.com/analyses/wal-checkpoints-torn-pages/ (accessed 2026-12-02) ### FastMap URL: https://hesela.dev/terms/fastmap/ Status: research Record updated: 2026-12-04 FastMap is a research redesign of the Linux memory-mapped I/O path that reduces synchronization bottlenecks in multicore storage workloads. Note: The paper reports that stock memory-mapped I/O does not scale beyond 8 threads on a server with 16 physical cores and 32 hardware threads. With lockstat, the page-cache tree_lock showed 126 times more contended acquisitions and 155 times more waiting time than the second most contended lock. [fastmap-paper] FastMap replaces that shared structure with a per-core radix tree for all pages and a separate per-core red-black tree for dirty pages, so marking a page dirty takes only the dirty-tree lock. Per-mapping page lists replace the coarse read lock used for reverse mappings. [fastmap-paper] The released code is a kernel module for 4.14 kernels with a DRAM cache sized in 4 KB pages. It is a prototype evaluation, not a stock Linux feature or a transaction guarantee. [fastmap-code] The largest server has 40 physical cores and 80 hardware threads. Section 5.1 attributes the 11.89x read-IOPS result to FastMap plus adapted Speculative Page Faults (SPF), not the unmodified module alone. The prototype without SPF reports 4.7x for reads at 80 threads. [fastmap-paper] Cache sizing: the pinned README mislabels 1024 pages as 4 GB. At 4096 bytes per page, that is 4,194,304 bytes (4 MiB); 4 GiB needs 1,048,576 such pages. The code declares perma_mmap_buf_size as a page count. This arithmetic checks the documented parameter, not total allocated memory or an executed benchmark. [fastmap-code] [fastmap-parameter] Advantages: - With adapted Speculative Page Faults, the authors report about 11.8 times more read IOPS than stock mmap on null_blk at 80 threads. (sources: [fastmap-paper]) - The module runs without kernel modifications on a 4.14 kernel. (sources: [fastmap-code]) Limitations: - Results come from a 4.14 kernel and the authors' hardware, so they do not predict behavior of a current kernel. (sources: [fastmap-paper], [fastmap-code]) - The null_blk figures exclude real device latency, so they bound the software path rather than a deployed system. (sources: [fastmap-paper]) Sources and caveats: - fastmap-paper is the USENIX ATC 2020 PDF, re-read for the 8-thread and 80-thread scaling figures, the tree_lock contention ratios and the clean and dirty tree design. - fastmap-code is the authors' public repository README, read for the 4.14 kernel-module requirement and the cache size in 4 KB pages. - The page-cache entry links here because FastMap replaces the shared page-cache tree on the mmap path with per-core structures. - 2026-11-11: source review distinguishes physical cores from hardware threads, SPF-assisted throughput and the README cache-size arithmetic; no kernel module was run. Related terms: - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [page-cache](https://hesela.dev/terms/page-cache/) - [msync](https://hesela.dev/terms/msync/) - [direct-io](https://hesela.dev/terms/direct-io/) - [flashmap](https://hesela.dev/terms/flashmap/) - [streamcache](https://hesela.dev/terms/streamcache/) Citations: - [fastmap-paper] Papagiannis et al., Optimizing Memory-mapped I/O for Fast Storage Devices, USENIX ATC 2020, sections 3-5. https://files.usenix.org/s3fs-public/cdn/atc20-papagiannis.pdf (accessed 2026-11-11) - [hesela-fastmap] Hesela: mmap literature and FastMap benchmark scope. https://hesela.com/analyses/mmap-visibility-size-durability/#fastmap-scope (accessed 2026-10-18) - [fastmap-code] FastMap source repository README: kernel module build and cache sizing. https://github.com/CARV-ICS-FORTH/FastMap/blob/1af50c165bbb9b4c28971d840b0a3dae1f061f54/README.md (accessed 2026-11-11) - [fastmap-parameter] FastMap pinned driver: perma_mmap_buf_size parameter and load-time assignment. https://github.com/CARV-ICS-FORTH/FastMap/blob/1af50c165bbb9b4c28971d840b0a3dae1f061f54/driver/main.c#L74-L76 (accessed 2026-11-11) ### Fastswap URL: https://hesela.dev/terms/fastswap/ Status: research Record updated: 2026-11-16 Fastswap is a research Linux swap system that uses RDMA and modified page-fault handling to access remote memory without application changes. Note: Critical path: The faulted page is requested before speculative prefetches, with separate queues and polling for critical completions. Background reclaim reduces page-fault work but still needs CPU capacity. [paper] Paper versus code: Section 4.1 describes two queue pairs per CPU. The pinned driver instead allocates three: synchronous reads, asynchronous reads and synchronous writes. Queue-count claims therefore need a version, not just the system name. [paper] [driver] Reclaim headroom: The paper permits a small excess above each cgroup's local-memory limit before direct reclaim resumes. A busy background reclaimer cannot make large allocations or abrupt limit reductions free. [paper] Swap-device trap: The prototype requires a registered swap device to activate kernel paths, but its documented setup sends no data there. That device is not evidence of a disk recovery copy. The code targets a patched Linux 4.11 kernel, not a current-kernel support contract. [readme] Performance scope: CFM combines Fastswap with a scheduler. Finishing a batch sooner can coexist with slower individual jobs; the nine-node comparison and forty-machine simulation are different evidence. [paper] Later diagnosis: DiLOS measures residual page-fault software costs even when reclaimed pages are clean. Excluding write-back traffic in that experiment does not eliminate allocation, accounting or reclamation work. [dilos] Sources and caveats: - Primary-source synthesis and pinned-code inspection, not a native Fastswap run, RDMA benchmark or failure-recovery experiment. - The two-versus-three queue comparison is directly visible in the paper and source. It does not establish which code revision produced the paper's measurements. - The absence of a disk recovery copy is an inference for the README's no-data-to-swap-device setup, not a claim about all remote-memory systems. Related terms: - [infiniswap](https://hesela.dev/terms/infiniswap/) - [aifm](https://hesela.dev/terms/aifm/) - [leap](https://hesela.dev/terms/leap/) - [hermit](https://hesela.dev/terms/hermit/) - [eden](https://hesela.dev/terms/eden/) - [semeru](https://hesela.dev/terms/semeru/) - [mind](https://hesela.dev/terms/mind/) - [dilos](https://hesela.dev/terms/dilos/) - [canvas](https://hesela.dev/terms/canvas/) Citations: - [paper] Amaro et al. Can Far Memory Improve Job Throughput? EuroSys 2020, article 14; sections 4, 5 and 6. DOI: 10.1145/3342195.3387522. https://cs.nyu.edu/~apanda/assets/papers/eurosys20.pdf (accessed 2026-11-15) - [driver] Fastswap authors: RDMA driver queue types, CPU indexing and allocation, revision 9cfc2ad. https://github.com/clusterfarmem/fastswap/blob/9cfc2adfc1653a0a93139da535e6364277566898/drivers/fastswap_rdma.c (accessed 2026-11-15) - [readme] Fastswap authors: kernel requirements and swap-device configuration, revision 9cfc2ad. https://github.com/clusterfarmem/fastswap/blob/9cfc2adfc1653a0a93139da535e6364277566898/README.md (accessed 2026-11-15) - [dilos] Yoon et al. DiLOS: Do Not Trade Compatibility for Performance in Memory Disaggregation. EuroSys 2023; section 3.1, figure 1. https://yoon.ws/publication/dilos-eurosys23.pdf (accessed 2026-11-15) ### FAT cluster chain URL: https://hesela.dev/terms/fat-cluster-chain/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: File Allocation Table cluster chain Status: shipping Record updated: 2026-10-25 A FAT cluster chain represents an allocation as an ordered sequence of cluster links ending in an end-of-chain marker. Note: In Linux v6.12's exFAT code, chain traversal follows each FAT entry to the next cluster. A separate helper can create links between consecutive clusters, so the existence of a chain does not establish fragmentation. [linux-fat] A synthetic ordering example: 20, 21, 22 and 20, 22, 21 occupy the same cluster set but order the file differently. Counting consecutive forward runs yields one and three, respectively. These are volume-cluster runs, not physical NAND locations or device-request counts. FAT32's FSInfo keeps a free-cluster count separately from its allocation links. An unknown sentinel requests recomputation; an ordinary in-range value can still be stale. The next-cluster field is a search hint, not proof that the target is free. These FAT32 fields must not be inferred from exFAT's different allocation structures. [fat32-fsinfo-spec] In Hesela's controlled FatFs R0.16 image test, trusting stale zero/one counts limited a 1536-byte write to 0/512 bytes with FR_OK. The full-scan policy completed both writes. This is a designed ordinary-file experiment, not a Linux-driver or physical-card result. [fatfs-evidence] Sources and caveats: - The numeric sequences illustrate ordering only; they are not a complete volume image, measured workload or Linux allocator trace. Related terms: - [exfat](https://hesela.dev/terms/exfat/) - [allocation-bitmap](https://hesela.dev/terms/allocation-bitmap/) - [filesystem-aging](https://hesela.dev/terms/filesystem-aging/) - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [statvfs](https://hesela.dev/terms/statvfs/) - [fat-long-filename](https://hesela.dev/terms/fat-long-filename/) Citations: - [linux-fat] Linux v6.12: exFAT chain traversal and allocation, fs/exfat/fatent.c. https://github.com/torvalds/linux/blob/v6.12/fs/exfat/fatent.c (accessed 2026-10-20) - [fat32-fsinfo-spec] Microsoft FAT specification v1.03 (2000): FSInfo sector, pp. 21-22. https://www.cs.fsu.edu/~cop4610t/assignments/project3/spec/fatspec.pdf (accessed 2026-10-25) - [fatfs-evidence] Hesela: FatFs R0.16 FSInfo experiment, original captures and reproduction instructions. https://hesela.dev/research/fat32-fsinfo/README.md (accessed 2026-10-25) ### FAT long filename URL: https://hesela.dev/terms/fat-long-filename/ Also known as: VFAT long filename, FAT LFN, LFN alias checksum Status: shipping Record updated: 2026-11-07 A FAT long filename is stored in directory slots preceding a short-name entry, with an 8-bit checksum linking the slots to that alias. Note: Coverage: the checksum is computed from the 11 raw short-name bytes, without a dot. It does not cover the long-name characters, file size, first cluster or file contents. Slot order and association checks are separate. [fat-spec] In 80 constructed FAT12/FAT16 image cases read by GNU mtools 4.0.49, colliding aliases retained the old long name, name edits remained readable, and redirecting the first cluster returned donor bytes under the original name. Mismatched checksums fell back to the short name. These are controlled mutations, not measured media failures. [lfn-results] Eight bits do not imply a universal 1/256 risk. Exhaustively enumerating F0000000TXT through F0099999TXT gives 24 to 686 aliases per checksum. Exactly 625 of 100,000 map to 37, which is also the checksum of LAAAAA~1TXT. This fraction applies only to uniform sampling within that constructed family. [lfn-histogram] Reader policy matters: mtools retained the long name in eight reversed-slot cases; FatFs R0.16 patch-2 fell back to the short alias on the same images. Both readers returned donor bytes in all 12 cluster rebindings. Agreement between readers does not prove historical content identity. Linux v6.12's contrast remains source inspection, not a mounted-kernel experiment. [lfn-cross-reader] [linux-dir] Limitations: - A readable name and a matching alias checksum do not authenticate the name-to-content mapping or establish recovery completeness. (sources: [lfn-results]) Sources and caveats: - The same 80 constructed images were read by mtools and a pinned Zephyr-maintained FatFs build, repeated with optimized and sanitized binaries. No mounted kernel, physical media, FAT32 or exFAT test was performed. - The histogram is exact finite enumeration, cross-checked in Python and two C builds; it is not a statistical sample of deployed filenames. Related terms: - [fat-cluster-chain](https://hesela.dev/terms/fat-cluster-chain/) - [checksum](https://hesela.dev/terms/checksum/) - [directory-enumeration](https://hesela.dev/terms/directory-enumeration/) Citations: - [fat-spec] Microsoft FAT specification v1.03 (2000), pp. 27-29 and 33: long entries, checksum and alias reuse. https://www.cs.fsu.edu/~cop4610t/assignments/project3/spec/fatspec.pdf (accessed 2026-11-07) - [lfn-results] Hesela: FAT long-name association, 80 native image cases and reproduction instructions. https://hesela.dev/research/fat-lfn-association/README.md (accessed 2026-11-07) - [lfn-histogram] Hesela: exact checksum histogram for 100,000 constructed short aliases. https://hesela.dev/research/fat-lfn-association/alias-histogram.json (accessed 2026-11-07) - [mtools-source] GNU mtools 4.0.49 source: vfat.c, sum_shortname, check_vfat and parse_vses. https://ftp.gnu.org/gnu/mtools/mtools-4.0.49.tar.bz2 (accessed 2026-11-07) - [linux-dir] Linux v6.12 fs/fat/dir.c: fat_parse_long, lines 273-327. https://github.com/torvalds/linux/blob/v6.12/fs/fat/dir.c#L273 (accessed 2026-11-07) - [lfn-cross-reader] Hesela: identical FAT images across two readers, alias lookup and content identity. https://hesela.dev/research/fat-lfn-association/cross-reader/README.md (accessed 2026-11-07) ### Fault injection URL: https://hesela.dev/terms/fault-injection/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: Fault-injection testing Status: research Record updated: 2026-11-30 Fault injection is a testing method that deliberately introduces specified faults into a system to observe detection, propagation and recovery under a defined workload. Note: Report the injection point, fault selection, timing, workload, trial count and correctness oracle. A high failure fraction under deliberately injected faults does not estimate how often those faults occur in service. Distinguish observed multi-fault trials from a single-fault estimate derived under independence assumptions. [zhang2010] Observed and derived values are best published separately. In a 2010 study of a checksumming filesystem, a pseudo-driver corrupted chosen on-disk blocks, while in-memory tests flipped a random bit in each structure field separately and repeated each test five times. [zhang2010] Kernel fault points take a probability in percent, an interval between failures and a times limit where -1 means no limit. One failure per hundred calls is already a very high rate for some tests, so probability=100 with an interval is suggested instead. [linux-fi] Jaffer's thesis describes targeted block-layer errors, distinct from faults or mitigation inside firmware and drivers. Its recovery taxonomy separates mountability with data loss, return to the pre-operation state and full expected-state recovery. The study uses Linux 4.17; the thesis date is not a new kernel evaluation. [jaffer-thesis] Advantages: - The block-layer fault point injects disk I/O errors only on devices or partitions whose make-it-fail flag is set, which confines faults to the device under test. (sources: [linux-fi]) Limitations: - Coverage is bounded by the injected fault model and the observation procedure; absence of an observed failure is not proof that all faults are tolerated. (sources: [zhang2010]) Sources and caveats: - zhang2010 re-read 2026-10-23 for the on-disk and in-memory injection procedures and the five repetitions. - linux-fi is the kernel fault-injection document at tag v6.12, read for probability, interval, times and make-it-fail. - Two companion analyses on checksum counters and an arithmetic audit are listed but not used in prose. - The crash-test-oracle entry links here because injected faults only yield evidence when a correctness oracle judges each outcome. Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [bounded-crash-testing](https://hesela.dev/terms/bounded-crash-testing/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [unserializable-write](https://hesela.dev/terms/unserializable-write/) - [dm-flakey](https://hesela.dev/terms/dm-flakey/) - [microbenchmark](https://hesela.dev/terms/microbenchmark/) - [dm-delay](https://hesela.dev/terms/dm-delay/) - [fail-partial-failure-model](https://hesela.dev/terms/fail-partial-failure-model/) - [failure-policy-fingerprinting](https://hesela.dev/terms/failure-policy-fingerprinting/) - [dm-dust](https://hesela.dev/terms/dm-dust/) Citations: - [zhang2010] Zhang et al., End-to-end Data Integrity for File Systems: A ZFS Case Study, FAST 2010, sections 4-6. https://www.usenix.org/events/fast10/tech/full_papers/zhang.pdf (accessed 2026-10-23) - [hesela-review] Hesela: ZFS and Btrfs checksum counters, with observed-versus-derived arithmetic. https://hesela.com/analyses/filesystem-checksum-error-detection/ (accessed 2026-10-14) - [hesela-arithmetic] Hesela: executable arithmetic audit of published fault-injection summary percentages (JSON with code provenance). https://hesela.dev/research/fault-injection-arithmetic.json (accessed 2026-10-14) - [linux-fi] Linux kernel v6.12 documentation: Fault injection capabilities infrastructure. https://github.com/torvalds/linux/blob/v6.12/Documentation/fault-injection/fault-injection.rst (accessed 2026-10-23) - [jaffer-thesis] Jaffer. Improving Reliability and Performance of Storage Stacks on next generation Solid State Drives. PhD thesis, 2023, chapter 2. https://www.cs.toronto.edu/~shehbaz/thesis/Thesis.pdf (accessed 2026-11-11) ### Fault model URL: https://hesela.dev/terms/fault-model/ Related analysis: https://hesela.com/analyses/crash-testing-oracles-and-bounds/ Also known as: crash fault model Status: research Record updated: 2026-11-20 A fault model specifies the failures a test or analysis admits, their scope and timing, and which system state and components remain available afterward. Note: For storage recovery, name the failed component, volatile state that is lost or preserved, permitted write reordering or tearing, and whether faults may occur again during recovery. SQLite's crash harness models unsynchronized-write effects rather than treating process termination alone as a device-power-loss test. Keep the fault model separate from the workload, the recovery correctness oracle and the real-world frequency of failures. Limitations: - A passing test establishes only the explored cases under its stated assumptions; it is not evidence of resilience to excluded faults. (sources: [sqlite-tests]) Related terms: - [fault-injection](https://hesela.dev/terms/fault-injection/) - [bounded-crash-testing](https://hesela.dev/terms/bounded-crash-testing/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [byzantine-failure](https://hesela.dev/terms/byzantine-failure/) Citations: - [sqlite-tests] SQLite project. How SQLite Is Tested, sections 3.3-3.4: crash and compound-failure tests. https://sqlite.org/testing.html (accessed 2026-10-16) - [hesela] Hesela. Crash-consistency tests: the oracle is part of the result. https://hesela.com/analyses/crash-testing-oracles-and-bounds/ (accessed 2026-10-16) ### FAWN-DS URL: https://hesela.dev/terms/fawn-ds/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Also known as: FAWN Data Store Status: research Record updated: 2026-11-14 FAWN-DS is the log-structured per-node key-value datastore used by the FAWN-KV research system. Note: A DRAM hash index points into a flash log containing full keys and values. Matching a short key fragment only selects a candidate: lookup compares the complete stored key and continues searching on a mismatch. The six-byte index slot contains a 15-bit fragment, one valid bit and a four-byte log offset. [fawn-paper] The complete key here is the 160-bit lookup key. Comparing it cannot distinguish original objects already mapped to the same key upstream; this interface limit is not a measured collision result. [fawn-paper] Limitations: - The datastore interface does not provide relational operations or transactions. (sources: [fawn-paper]) Sources and caveats: - Historical source review, not a current product benchmark. FAWN-DS names the datastore, not the complete replicated FAWN-KV system. Related terms: - [silt](https://hesela.dev/terms/silt/) - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [value-log](https://hesela.dev/terms/value-log/) - [flashstore](https://hesela.dev/terms/flashstore/) - [skimpystash](https://hesela.dev/terms/skimpystash/) Citations: - [fawn-paper] Andersen, Franklin, Kaminsky, Phanishayee, Tan and Vasudevan. FAWN: A Fast Array of Wimpy Nodes. SOSP 2009, section 3.3 and Figure 3. https://www.pdl.cmu.edu/PDL-FTP/Storage/fawn-sosp2009.pdf (accessed 2026-11-07) - [hesela-index-slots] Hesela: compact flash indexes and explicit slot-occupancy accounting. https://hesela.com/analyses/key-value-separation-cleaning-cost/#compact-index (accessed 2026-11-07) ### Fibre Channel exchange URL: https://hesela.dev/terms/fc-exchange/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: FC exchange Status: shipping Record updated: 2026-10-19 A Fibre Channel exchange groups related sequences used by two node ports to conduct an operation. Note: The originator and responder exchange identifiers, OX_ID and RX_ID, identify exchange state in its port context. Exchanges can be unidirectional or bidirectional; RX_ID=0xffff denotes an unassigned responder exchange identifier. Do not interpret either number alone as a global operation identifier. [fcia] An exchange is an FC transport construct, not a universal synonym for one SCSI command. In SCSI FCP, command status is represented separately in FCP_RSP. Neither an identifier nor a returned buffer credit demonstrates durable storage. [fcp-response] Sources and caveats: - Source-backed protocol definition; no throughput, failure-rate or durability measurement is implied. Related terms: - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [fc-sequence](https://hesela.dev/terms/fc-sequence/) - [fc-frame](https://hesela.dev/terms/fc-frame/) - [buffer-to-buffer-credit](https://hesela.dev/terms/buffer-to-buffer-credit/) - [scsi](https://hesela.dev/terms/scsi/) - [nvme-fc](https://hesela.dev/terms/nvme-fc/) Citations: - [fcia] FCIA: Inside a Modern Fibre Channel Architecture, Part 2 (2021), slides 7, 19, 23-31, 35 and 38. https://fibrechannel.org/wp-content/uploads/2021/11/Modern-FC-Architecture-Part-2.pdf (accessed 2026-10-19) - [fcp-response] Linux v6.12: fc_fcp.h, fcp_resp and SCSI status. https://github.com/torvalds/linux/blob/v6.12/include/scsi/fc/fc_fcp.h (accessed 2026-10-19) ### Fibre Channel frame URL: https://hesela.dev/terms/fc-frame/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: FC frame Status: shipping Record updated: 2026-10-19 A Fibre Channel frame is an FC-2 transfer unit delimited by SOF and EOF, with a header, variable data field and CRC. Note: The data field includes optional headers, so its 2112-octet architectural maximum is not guaranteed application capacity; login can negotiate less. [rfc4338] Linux v6.12 defines a 24-byte header and FC_MAX_FRAME as 2136 bytes, excluding CRC and delimiters. [linux-frame] RFC 3643 includes the CRC in frame content and gives a separate delimiter representation for IP encapsulation. Do not treat that representation as a native-link wire-size formula. [encapsulation] Sources and caveats: - Source-backed protocol definition; no throughput, failure-rate or durability measurement is implied. Related terms: - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [fc-sequence](https://hesela.dev/terms/fc-sequence/) - [fc-exchange](https://hesela.dev/terms/fc-exchange/) - [buffer-to-buffer-credit](https://hesela.dev/terms/buffer-to-buffer-credit/) - [cyclic-redundancy-check](https://hesela.dev/terms/cyclic-redundancy-check/) Citations: - [rfc4338] RFC 4338 (January 2006), sections 2.1-2.4: Fibre Channel architecture summary. https://www.rfc-editor.org/rfc/rfc4338.html (accessed 2026-10-19) - [linux-frame] Linux v6.12: fc_fs.h frame layout, identifiers and protocol types. https://github.com/torvalds/linux/blob/v6.12/include/uapi/scsi/fc/fc_fs.h (accessed 2026-10-19) - [encapsulation] RFC 3643 (December 2003), section 5: frame content and delimiter representation. https://www.rfc-editor.org/rfc/rfc3643.html (accessed 2026-10-19) ### Flux-control microwave-assisted magnetic recording (FC-MAMR) URL: https://hesela.dev/terms/fc-mamr/ Related article: https://hesela.com/tech/mamr/ Also known as: FC-MAMR, Flux Control MAMR Status: shipping Record updated: 2026-10-16 Flux-control microwave-assisted magnetic recording (FC-MAMR) is Toshiba's HDD write-assist technique that uses a spintronic device between the write poles to redirect magnetic flux toward the recording medium and strengthen the write field. Note: Toshiba's 2021 account places the device between the main and auxiliary poles; flux control avoids requiring media designed for microwave resonance [toshiba-fc-mamr-2021]. This identifies the assist mechanism, not an absence of all oscillation in the device. Toshiba's 2021 MG09 technical article distinguishes its commercial FC-MAMR implementation from MAS-MAMR's microwave-assisted media switching [toshiba-mg09-2021]. The MG09 design also uses per-head STO voltage control and applies the bias only during writing to limit device degradation [toshiba-fc-bias-2021]; this does not quantify fleet reliability. Limitations: - A product's MAMR label does not by itself establish that it uses microwave-assisted media switching. Related terms: - [mamr](https://hesela.dev/terms/mamr/) - [mas-mamr](https://hesela.dev/terms/mas-mamr/) - [epmr](https://hesela.dev/terms/epmr/) - [pmr](https://hesela.dev/terms/pmr/) Citations: - [toshiba-fc-mamr-2021] Toshiba: Science and Technology Highlights 2021, section 1.12, p. 15. https://www.global.toshiba/content/dam/toshiba/ww/technology/corporate/review/2021/toshiba-review-science-and-technology-highlights-2021/2101.pdf#page=15 (accessed 2026-10-16) - [toshiba-mg09-2021] Toshiba: High-Reliability FC-MAMR Nearline HDD with a Capacity of 18 TB (2021), pp. 1-2. https://toshiba.semicon-storage.com/content/dam/toshiba-ss-v3/master/en/storage/product/data-center-enterprise/202102025_nearlineHDD_18TB_e.pdf (accessed 2026-10-16) - [toshiba-fc-bias-2021] Takeo and Sugiyama: Toshiba Review 76(6), pp. 7-10 (2021), section 5, p. 10: STO degradation prevention (Japanese). https://www.global.toshiba/content/dam/toshiba/jp/technology/corporate/review/2021/06/a03.pdf#page=4 (accessed 2026-10-16) ### Fibre Channel sequence URL: https://hesela.dev/terms/fc-sequence/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: FC sequence Status: shipping Record updated: 2026-10-19 A Fibre Channel sequence is one or more related data frames sent in one direction within an exchange. Note: SEQ_ID distinguishes a sequence in the applicable exchange and port context; SEQ_CNT identifies frames within the sequence's counting rules. Sequence-ID reuse and uniqueness depend on negotiated conditions, so SEQ_ID alone is not a global trace key. [fcia] Linux v6.12 represents SEQ_ID with 8 bits and SEQ_CNT with 16 bits. A frame counter's width is not a count of outstanding storage commands. [linux-frame] Sources and caveats: - Source-backed protocol definition; no throughput, failure-rate or durability measurement is implied. Related terms: - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [fc-frame](https://hesela.dev/terms/fc-frame/) - [fc-exchange](https://hesela.dev/terms/fc-exchange/) Citations: - [fcia] FCIA: Inside a Modern Fibre Channel Architecture, Part 2 (2021), slides 7, 19, 23-31, 35 and 38. https://fibrechannel.org/wp-content/uploads/2021/11/Modern-FC-Architecture-Part-2.pdf (accessed 2026-10-19) - [linux-frame] Linux v6.12: fc_fs.h frame layout, identifiers and protocol types. https://github.com/torvalds/linux/blob/v6.12/include/uapi/scsi/fc/fc_fs.h (accessed 2026-10-19) ### Fibre Channel over TCP/IP URL: https://hesela.dev/terms/fcip/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: FCIP Status: unknown Record updated: 2026-11-02 Fibre Channel over TCP/IP (FCIP) transports encapsulated FC frames over TCP connections to join separated portions of one Fibre Channel fabric. Note: An FCIP link may use several TCP connections; ordering is per connection, not an unconditional guarantee across the link. [rfc3821] The common encapsulation retains the FC CRC and represents frame delimiters separately; FC frame-lifetime limits still matter across the IP path. [rfc3643] IP protocol number 133 belongs to a pre-standard format, not standardized FCIP, which uses TCP. [rfc6172] iFCP is a different gateway protocol: its session binds an N_PORT pair to one TCP connection. [rfc4172] Its address-translation mode was deprecated; address-transparent mode was not. [rfc6172] A transport acknowledgement is not evidence of storage-command completion or durable data. This is a protocol-layer inference, not a power-failure measurement. [rfc3821] FC credits and TCP windows operate independently; coordination belongs to the implementation. FC Primitive Signals, Primitive Sequences and Class 1 frames are not tunneled. TCP keepalive alone does not guarantee prompt failure detection; the FC side should provide detection, and discovered TCP loss must be reported to it. [rfc3821] When no synchronized timestamp is available, RFC 3821 requires a zero timestamp; that does not mean the frame spent zero time in transit. [rfc3821] Transit-time calculation requires a valid timestamp and aligned, synchronized time bases. [rfc3643] Advantages: - Connects separated FC fabric portions through an IP network. (sources: [rfc3821]) Limitations: - Round-trip delay, TCP windows and buffering constrain the usable path, beyond nominal bandwidth. (sources: [rfc3821]) Sources and caveats: - Foundational architecture review, not a WAN benchmark; status unknown means current commercial availability was not assessed. - RFC 7146 updates the older security requirements. This record is not current cryptographic configuration guidance; TCP alone does not establish encryption. [rfc7146] Related terms: - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [fc-frame](https://hesela.dev/terms/fc-frame/) - [san](https://hesela.dev/terms/san/) - [iscsi](https://hesela.dev/terms/iscsi/) Citations: - [rfc3821] RFC 3821 (July 2004): FCIP, sections 4, 5.2, 5.6, 6, 8.3.2, 8.4, 8.5 and 10.1. https://www.rfc-editor.org/rfc/rfc3821.html (accessed 2026-11-02) - [rfc3643] RFC 3643 (December 2003): FC frame encapsulation, sections 2, 4 and 5. https://www.rfc-editor.org/rfc/rfc3643.html (accessed 2026-11-02) - [rfc4172] RFC 4172 (September 2005): iFCP session model, section 5.2.1. https://www.rfc-editor.org/rfc/rfc4172.html (accessed 2026-11-02) - [rfc6172] RFC 6172 (March 2011): iFCP mode deprecation and FCIP protocol number, sections 3.2 and 4. https://www.rfc-editor.org/rfc/rfc6172.html (accessed 2026-11-02) - [rfc7146] RFC 7146 (April 2014): IPsec requirements update for storage protocols. https://www.rfc-editor.org/rfc/rfc7146.html (accessed 2026-11-02) ### fclose URL: https://hesela.dev/terms/fclose/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: fclose(), fclose(3) Status: shipping Record updated: 2026-10-23 fclose is a C standard-I/O operation that flushes pending output and closes a stream, releasing its underlying file descriptor when one is present. Note: On Linux, check the return: zero indicates success and EOF reports failure with errno set, potentially from writing, flushing or closing. EBADF reports an invalid underlying descriptor. Earlier buffered output can appear successful before fclose reports an error. Neither successful fclose nor successful fflush adds fsync semantics. [linux-fclose] After fclose returns, including failure, the FILE pointer must not be used again; retrying fclose on it has undefined behavior. This stream-lifetime rule is distinct from the platform-specific close(2) descriptor rules. Do not confuse a retired stream with an open file descriptor. [linux-fclose] POSIX requires unread buffered input to be discarded and an automatically allocated buffer to be freed whether or not the call succeeds. When a writable stream still holds unwritten data, the modification and status-change timestamps are marked for update. [posix-fclose] FOPEN_MAX, the number of streams guaranteed to be open at once, is at least eight [posix-stdio] and is 16 in glibc 2.42. [glibc-stdio] Advantages: - One call both drains user-space output and releases the descriptor, so a single return value covers the end of a stream. (sources: [linux-fclose]) Limitations: - Stream closure is not proof of persistent file data. - Closing stdin, stdout or stderr can let a later open reuse a standard descriptor number unexpectedly. (sources: [posix-fclose]) Sources and caveats: - linux-fclose is the Linux man-pages 6.19 fclose(3) page, re-read for return values, errors and the user-space buffer note. - posix-fclose is the POSIX.1-2024 fclose() page, read for buffer disposal, timestamps and standard-stream guidance. - posix-stdio is the POSIX.1-2024 stdio.h page, read for the FOPEN_MAX minimum. - glibc-stdio is libio/stdio.h at the glibc 2.42 tag, read for the FOPEN_MAX value. - The fuse-flush entry links here because closing a stream closes its descriptor, which is when a FUSE filesystem receives FLUSH. Related terms: - [fflush](https://hesela.dev/terms/fflush/) - [fwrite](https://hesela.dev/terms/fwrite/) - [close](https://hesela.dev/terms/close/) - [fsync](https://hesela.dev/terms/fsync/) - [file-descriptor](https://hesela.dev/terms/file-descriptor/) Citations: - [linux-fclose] Linux man-pages 6.19: fclose(3), return values and user-space buffers. https://man7.org/linux/man-pages/man3/fclose.3.html (accessed 2026-10-23) - [linux-fflush] Linux man-pages 6.19: fflush(3). https://man7.org/linux/man-pages/man3/fflush.3.html (accessed 2026-10-21) - [hesela-stdio] Hesela: The user-space buffer comes before fsync. https://hesela.com/analyses/fsync-failure-retry-durability/#stdio-buffer (accessed 2026-10-21) - [posix-fclose] POSIX.1-2024: fclose(). https://pubs.opengroup.org/onlinepubs/9799919799/functions/fclose.html (accessed 2026-10-23) - [posix-stdio] POSIX.1-2024: stdio.h, FOPEN_MAX. https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdio.h.html (accessed 2026-10-23) - [glibc-stdio] glibc 2.42: libio/stdio.h, BUFSIZ and FOPEN_MAX. https://sourceware.org/git/?p=glibc.git;a=blob;f=libio/stdio.h;hb=refs/tags/glibc-2.42 (accessed 2026-10-23) ### FCoE forwarder (FCF) URL: https://hesela.dev/terms/fcoe-forwarder/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: FCF, Fibre Channel Forwarder Status: shipping Record updated: 2026-11-28 An FCoE forwarder provides Fibre Channel switching and fabric services for traffic carried in Ethernet frames. Note: The forwarding decision uses the Fibre Channel destination ID, D_ID. The FCF updates the Ethernet source and destination addresses for the next hop; its role goes beyond ordinary MAC-address bridging. [rfc6847] A virtual link can join an end node to an FCF or connect two FCFs through intermediate Ethernet bridges. Native Fibre Channel interfaces are typical, not a defining requirement for every FCF. [rfc6847] A VF_Port presents fabric access to an end node's VN_Port. FIP discovers the FCF and establishes the virtual link; FIP snooping on an intervening bridge filters permitted traffic without making that bridge an FC switch. [junos-terms] [dell-fsb] Sources and caveats: - Fabric-based FCoE architecture; platform feature sets and gateway modes need separate verification. [junos-terms] - RFC 6847 is Informational, not the normative FC-BB specification. Its introductory architecture is used here, not a requirement to deploy TRILL. [rfc6847] Related terms: - [fcoe](https://hesela.dev/terms/fcoe/) - [fcoe-initialization-protocol](https://hesela.dev/terms/fcoe-initialization-protocol/) - [fip-snooping](https://hesela.dev/terms/fip-snooping/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) Citations: - [junos-terms] Juniper Junos OS: Understanding Fibre Channel Terminology, FCoE forwarder and virtual-port entries. https://networkingdocs.hpe.com/documentation/us/en/software/junos/storage/topics/concept/fibre-channel-terminology.html (accessed 2026-11-28) - [rfc6847] RFC 6847 (2013), section 1: FCF forwarding and virtual links; Informational independent submission. https://www.rfc-editor.org/rfc/rfc6847.html (accessed 2026-11-28) - [dell-fsb] Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0): FIP Snooping on Ethernet Bridges. https://www.dell.com/support/manuals/en-us/poweredge-fx2/fn-iom-9.10.0.0-config-pub/fip-snooping-on-ethernet-bridges?guid=guid-5a3ba7cb-7ef0-4ef2-a532-62e0c6bc8b5a&lang=en-us (accessed 2026-11-28) ### FCoE Initialization Protocol (FIP) URL: https://hesela.dev/terms/fcoe-initialization-protocol/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: FIP Status: shipping Record updated: 2026-11-28 FCoE Initialization Protocol discovers FCoE entities and establishes and maintains their virtual links. Note: Control traffic: FIP supports VLAN and Fibre Channel Forwarder discovery, encapsulates fabric-login exchanges, and maintains virtual links with keepalives. It is distinct from ordinary FCoE data encapsulation. [fcoe-guide] FIP uses EtherType 0x8914, while payload-carrying FCoE uses 0x8906. DCBX exchanges link capabilities and configuration using LLDP extensions; priority flow control regulates selected Ethernet priorities. These are separate mechanisms, so successful discovery alone does not establish the entire data path. [fcoe-guide] An intermediate FIP snooping bridge can inspect login exchanges to learn filtering rules. It is not the FCF that supplies fabric access. [dell-fsb] Sources and caveats: - The Cisco Release 8.x guide describes a fabric-based FIP workflow; implementation support must be checked for the actual adapters and switches. [fcoe-guide] Related terms: - [fcoe](https://hesela.dev/terms/fcoe/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [data-center-bridging](https://hesela.dev/terms/data-center-bridging/) - [fcoe-forwarder](https://hesela.dev/terms/fcoe-forwarder/) - [fip-snooping](https://hesela.dev/terms/fip-snooping/) Citations: - [fcoe-guide] Cisco MDS 9000 FCoE Configuration Guide, Release 8.x: FCoE, FIP and frame formats. https://www.cisco.com/c/en/us/td/docs/switches/datacenter/mds9000/sw/8_x/config/fcoe/cisco_mds9000_fcoe_config_guide_8x/configuring_fcoe.html (accessed 2026-11-02) - [dell-fsb] Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0): FIP Snooping on Ethernet Bridges. https://www.dell.com/support/manuals/en-us/poweredge-fx2/fn-iom-9.10.0.0-config-pub/fip-snooping-on-ethernet-bridges?guid=guid-5a3ba7cb-7ef0-4ef2-a532-62e0c6bc8b5a&lang=en-us (accessed 2026-11-28) ### FCoE URL: https://hesela.dev/terms/fcoe/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: Fibre Channel over Ethernet Status: limited Record updated: 2026-11-28 Fibre Channel over Ethernet (FCoE) carries unmodified Fibre Channel frames inside Ethernet frames, with a separate discovery and login protocol, FIP, and no TCP/IP layer. Note: FCoE is specified in FC-BB-5 (ANSI INCITS 462, 2010) and has two parts, the FCoE Initialization Protocol (FIP) and the encapsulation; the entire Fibre Channel frame is carried unchanged. Unlike FCIP and iFCP there is no TCP, which confines FCoE to the enterprise data center and aims to converge it on one fabric. [c2][c4] The EtherType is 0x8906 for FCoE and 0x8914 for FIP, and start-of-frame and end-of-frame codes surround the frame. [c2][c3] FIP handles discovery, fabric login and logout; only the ENode and the Fibre Channel Forwarder (FCF) use it, and it sets up virtual ports corresponding to N_Port, F_Port and E_Port. An ENode sends a discovery solicitation and an FCF answers within D_A_TOV, default 5 s, then sends periodic advertisements as a heartbeat every D_A_TOV x 10, 50 s at the default. [c2] An FCF forwards on the Fibre Channel destination ID, rewrites MAC addresses hop by hop, enforces zoning and typically has native Fibre Channel ports to reach arrays. [c4] The Linux kernel defines an FCoE header of 14 bytes, a trailer of 8 bytes and an FCoE MTU of 2158 bytes, with a source comment reading 14 + 24 + 2112 for header, Fibre Channel header and maximum payload. [c3] Arithmetic: 14 + 24 + 2112 = 2150, and the 8-byte trailer gives 2158, about 1.44 times a 1500-byte Ethernet payload. Switches carrying FCoE would likely implement data center bridging protocols to avoid frame loss from queue overflow. [c4] Transport boundary: FCIP connects Fibre Channel fabric islands over TCP/IP; it is not FCoE or an iSCSI session. [fcip-rfc] FIP setup, priority-based flow control and DCB capability exchange address separate parts of an FCoE path. A physical Ethernet link being up does not prove a usable FC virtual link. [fcoe-guide] Advantages: - SCSI tools and Fibre Channel zoning and login semantics keep working over an Ethernet fabric because the stack above the frame is unchanged. [c2][c4] (sources: [c2], [c4]) Limitations: - Without TCP the protocol is not suited to wide-area transport. [c2] (sources: [c2]) - Every link on the path must carry frames larger than the classic 1500-byte payload. [c3] (sources: [c3]) - A separate FIP control plane with virtual ports must be operated alongside the data path. [c2] (sources: [c2]) Sources and caveats: - The FC-BB-5 standard text could not be retrieved (the T11 server did not answer), so the description rests on a university test-lab tutorial of an earlier revision (1.01, June 2008), the kernel definitions and an IETF RFC. - A later FC-BB-5 revision may differ in detail from the 2008 tutorial, and the standard requirements on Ethernet flow control were not read. - RFC 6847 is an Informational independent submission by authors affiliated with network-equipment makers and concerns FCoE over TRILL; only its background description of FCoE is used. - The kernel file is a master-branch snapshot on the access date; the header notes that non-FIP use with a fixed fabric-login MAC address is deprecated. - Arithmetic: 14 + 24 + 2112 = 2150, plus the 8-byte trailer 2158; 2158 / 1500 is about 1.44; adding a 14-byte Ethernet header and 4-byte frame check sequence gives about 2176 bytes on the wire. - No throughput, cost or adoption figures are given. Related terms: - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [iscsi](https://hesela.dev/terms/iscsi/) - [alua](https://hesela.dev/terms/alua/) - [san](https://hesela.dev/terms/san/) - [scsi](https://hesela.dev/terms/scsi/) - [fcoe-initialization-protocol](https://hesela.dev/terms/fcoe-initialization-protocol/) - [priority-flow-control](https://hesela.dev/terms/priority-flow-control/) - [data-center-bridging](https://hesela.dev/terms/data-center-bridging/) - [fcoe-forwarder](https://hesela.dev/terms/fcoe-forwarder/) - [fip-snooping](https://hesela.dev/terms/fip-snooping/) - [dcbx](https://hesela.dev/terms/dcbx/) Citations: - [c1] FCoE. https://en.wikipedia.org/wiki/Fibre_Channel_over_Ethernet (accessed 2026-03-26) - [c2] FCoE Tutorial, based on FC-BB-5 1.01, 10 June 2008 (UNH InterOperability Laboratory, Fibre Channel Consortium). https://www.iol.unh.edu/sites/default/files/knowledgebase/fc/tutorials/FCoE_Tutorialv1_1.pdf (accessed 2026-10-16) - [c3] Linux kernel: include/uapi/linux/if_ether.h, include/scsi/fc/fc_fcoe.h and include/scsi/libfcoe.h. https://github.com/torvalds/linux/blob/master/include/scsi/libfcoe.h (accessed 2026-10-16) - [c4] RFC 6847: Fibre Channel over Ethernet (FCoE) over Transparent Interconnection of Lots of Links (TRILL), January 2013. https://www.rfc-editor.org/rfc/rfc6847 (accessed 2026-10-16) - [fcoe-guide] Cisco MDS 9000 FCoE Configuration Guide, Release 8.x: FCoE, FIP and frame formats. https://www.cisco.com/c/en/us/td/docs/switches/datacenter/mds9000/sw/8_x/config/fcoe/cisco_mds9000_fcoe_config_guide_8x/configuring_fcoe.html (accessed 2026-11-02) - [fcip-rfc] RFC 3821: Fibre Channel Over TCP/IP (FCIP), sections 4-5. https://www.rfc-editor.org/rfc/rfc3821.html (accessed 2026-11-02) ### fdatasync URL: https://hesela.dev/terms/fdatasync/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: fdatasync() Status: shipping Record updated: 2026-11-22 fdatasync is a file-synchronization operation that persists modified data and the metadata required to retrieve it, without requiring synchronization of all other file metadata. Note: File-size changes must be synchronized because retrieval depends on them; timestamp-only changes need not be. Data-only completion is therefore not metadata-free completion. Like file fsync, fdatasync does not establish persistence of its containing directory entry. Check errors before acknowledging a commit. [fsync-api] Linux reports EIO for synchronization failures and can report ENOSPC or EDQUOT when allocation was deferred beyond write(). An EIO may concern another descriptor's writes to the same file. A successful buffered write is not a guarantee that later synchronization will succeed. [fsync-api] A later successful synchronization is not evidence that previously lost data was reconstructed. In Rebello et al.'s Linux 5.2.11 fsync fault-injection study, failed-write pages could become clean, so retrying fsync need not resubmit them. This is evidence about post-failure recovery, not a measurement of every fdatasync implementation. [rebello] Advantages: - Can avoid metadata work that is unnecessary for data retrieval. Limitations: - Not a transaction across files or a substitute for directory synchronization. - Less required metadata work does not guarantee lower latency on every filesystem. Sources and caveats: - The paper's file-system experiments used Linux 5.2.11 and targeted transient block-write faults; its results do not establish behavior for every later kernel or fdatasync path. Related terms: - [fsync](https://hesela.dev/terms/fsync/) - [msync](https://hesela.dev/terms/msync/) - [sync-file-range](https://hesela.dev/terms/sync-file-range/) - [writeback-error](https://hesela.dev/terms/writeback-error/) - [o-dsync](https://hesela.dev/terms/o-dsync/) - [o-sync](https://hesela.dev/terms/o-sync/) - [file-truncation](https://hesela.dev/terms/file-truncation/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [o-rsync](https://hesela.dev/terms/o-rsync/) Citations: - [fsync-api] Linux man-pages 6.19: fsync(2), fdatasync metadata requirements. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-22) - [hesela-fsync] Hesela: Why retrying a failed fsync does not prove durability. https://hesela.com/analyses/fsync-failure-retry-durability/ (accessed 2026-10-13) - [rebello] Rebello et al., Can Applications Recover from fsync Failures? USENIX ATC 2020, sections 3.2-3.3 and 5. https://research.cs.wisc.edu/wind/Publications/atc20-cuttlefs.pdf (accessed 2026-11-22) ### Featherstitch URL: https://hesela.dev/terms/featherstitch/ Also known as: Generalized file system dependencies Status: research Record updated: 2026-12-01 Featherstitch is a research storage system that represents filesystem changes and persistence dependencies as composable patches. Note: A patch describes a change to one block and its required predecessors. Filesystem modules specify constraints; lower layers select a permitted write order. The same abstraction supports journaling and soft updates-like policies, while patchgroups expose ordering to applications. [featherstitch2007] Hard patches omit undo data only under restrictions that exclude future rollback requirements. This saves bookkeeping, not writes by definition. Persistence ordering, transaction atomicity and eventual progress remain separate obligations. [featherstitch2007] The historical evaluation compared multiple consistency and durability configurations. Its elapsed-time and CPU trade-offs depend on the workload and implementation; they are not a benchmark of current filesystems. [featherstitch2007] Overlap merging: Two overlapping patches p1 then p2 cannot commit together if an uncommitted path p2 -> x -> p1 passes through another block. A shared off-block predecessor need not prevent merging. The prototype's conservative search could reject long or branching paths without proving a merge impossible. [featherstitch2007] Example: A0 before B1 before A2 requires three separate writes; merging A0 with A2 leaves no legal first step despite the acyclic patch graph. B0 before A1 before A2 instead allows B0 followed by A1 and A2 together. [hesela-overlap-model] Finite check: A path test and independent exhaustive scheduling search agree on 4,233 configurations of 2 to 5 patches, with a fixed oldest/newest overlapping pair and two block labels. This is not a hardware benchmark or an unrestricted proof. [hesela-overlap-model] Limitations: - The patch abstraction does not supply atomic block writes and assumes completion reports correspond to stable storage. (sources: [featherstitch2007]) Sources and caveats: - Source synthesis of the SOSP 2007 research prototype, not a present-day deployment recommendation or a reproduced performance result. - The finite model assumes a fixed dependency graph and whole-block commitment events. It excludes in-flight writes, future dependency additions, byte payloads and device failures. - The model does not reproduce the historical bounded-search heuristic. Its downloadable result contains complete abstract write schedules and both positive and negative examples. Related terms: - [hard-patch](https://hesela.dev/terms/hard-patch/) - [patchgroup](https://hesela.dev/terms/patchgroup/) - [metadata-update-dependency](https://hesela.dev/terms/metadata-update-dependency/) Citations: - [featherstitch2007] Frost et al. Generalized File System Dependencies. SOSP 2007, pp. 307-320; sections 3-6 and 8. https://read.seas.harvard.edu/~kohler/pubs/frost07generalized.pdf (accessed 2026-12-01) - [sosp2007] ACM SIGOPS. SOSP 2007 program, Wednesday 17 October: Generalized File System Dependencies. https://www.sigops.org/s/conferences/sosp/2007/program.html (accessed 2026-11-30) - [hesela-ordering] Hesela. Soft updates: metadata ordering and the limits of crash consistency. https://hesela.com/analyses/soft-updates-metadata-ordering/#hard-patches (accessed 2026-11-30) - [hesela-overlap-model] Hesela. Bounded overlap-merging model, independent scheduling oracle and reproducible result (2026-12-01). https://hesela.dev/research/overlap-merging/README.md (accessed 2026-12-01) ### Feedback age URL: https://hesela.dev/terms/feedback-age/ Status: research Record updated: 2026-11-21 Feedback age is the elapsed time between observing a system state and using that observation to make a later decision. Note: Specify both endpoints: sample-to-decision age includes transport plus any time the receiver holds the sample before using it. Receipt-to-use age omits the first interval. An exact cross-host age requires comparable clocks or an explicitly bounded clock error. [age-example] In Hesela's synthetic example, two queue reports each take 2 ms to arrive but are 102 ms and 2 ms old at selection. Hidden arrivals can reverse which replica is faster without changing either report. A policy that discards the older report helps in one constructed world and harms in the other; freshness alone is not an accuracy guarantee. [age-example] Sources and caveats: - Definition uses an explicit sample-to-decision convention; the companion finite model also exposes transport and receipt-to-use intervals. Related terms: - [tars](https://hesela.dev/terms/tars/) - [adaptive-replica-selection](https://hesela.dev/terms/adaptive-replica-selection/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [age-example] Hesela. Feedback age: identical observations, opposite routing outcomes. Exact synthetic construction (2026). https://hesela.dev/research/feedback-age/README.md (accessed 2026-11-21) ### FEMU URL: https://hesela.dev/terms/femu/ Also known as: FEMU flash emulator Status: research Record updated: 2026-11-10 FEMU is a QEMU-based flash emulator that lets a guest operating system exercise configurable SSD interfaces, mapping policies and timing models. Note: Research platform: The FAST 2018 design runs application and kernel code against an emulated device, separating memory-backed data transfers from modeled completion delays. Host computation contributes to observed latency. [femu-paper] Unwritten pages: In the pinned BlackBox ssd_read path, an unmapped or invalid physical address skips the data-page NAND read. Translation is charged earlier, and buffer/cache hits have separate paths. Skipping that operation does not mean zero request latency. [femu-code] Preparation: Populate the intended read range and record mapping/cache settings. Direct I/O bypasses the guest page cache, not the emulator's caches. NoSSD deliberately omits media timing. Filling a range does not establish sustained-write steady state. [femu-guide] Limitations: - Results depend on emulator revision, configuration, host resources and workload rather than defining a universal SSD performance guarantee. (sources: [femu-paper]) Sources and caveats: - Read-path review pins FEMU commit 785fe5a63e54228482168d62fc746045df4d1533; it is not asserted to be the 2018 evaluation version. - Primary-paper and code review only. No FEMU run, physical SSD benchmark or performance replication was performed. Related terms: - [mqsim](https://hesela.dev/terms/mqsim/) - [ssd-preconditioning](https://hesela.dev/terms/ssd-preconditioning/) - [ssd-steady-state](https://hesela.dev/terms/ssd-steady-state/) - [ftl](https://hesela.dev/terms/ftl/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [direct-io](https://hesela.dev/terms/direct-io/) Citations: - [femu-paper] Li et al. The CASE of FEMU: Cheap, Accurate, Scalable and Extensible Flash Emulator. FAST 2018, pp. 83-90, sections 3.1-3.3. https://www.usenix.org/system/files/conference/fast18/fast18-li.pdf (accessed 2026-11-10) - [femu-code] MoatLab FEMU, pinned BlackBox ssd_read path: mapping, buffer/cache checks and NAND timing. https://github.com/MoatLab/FEMU/blob/785fe5a63e54228482168d62fc746045df4d1533/hw/femu/bbssd/ftl-datapath.c#L958-L1088 (accessed 2026-11-10) - [femu-guide] MoatLab FEMU measurement guide: NoSSD, BlackBox preparation and guest-visible latency. https://github.com/MoatLab/FEMU/blob/785fe5a63e54228482168d62fc746045df4d1533/hw/femu/docs/guides/measuring.md#L397-L436 (accessed 2026-11-10) - [hesela] Hesela: SSD steady state is not a timer, FEMU preparation and data-page read coverage. https://hesela.com/analyses/ssd-steady-state-is-not-a-timer/#femu-preparation (accessed 2026-11-10) ### Fencing token URL: https://hesela.dev/terms/fencing-token/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Status: shipping Record updated: 2026-11-30 A fencing token identifies an ownership generation that a receiving service checks to reject operations from an obsolete owner. Note: In one lock-service design, a holder can request a sequencer, an opaque byte string recording the lock name, the acquisition mode (exclusive or shared) and the lock generation number. A receiving server checks it against the lock service or against the most recent sequencer it has observed, and rejects stale requests. Merely issuing or attaching a token does not enforce exclusion. The 2006 design caps lock-delay at 1 minute for failed or unreachable holders; normal release makes the lock immediately available. This is not a current default or an I/O completion guarantee. [lock-service-osdi06] In a worked example, a client holding token 33 pauses while its lease expires, a second client obtains token 34 and writes, and storage then rejects the delayed write carrying 33 because it has already processed a higher number. Stop-the-world garbage collection pauses of several minutes and a recorded network packet delay of 90 seconds show that such pauses outlast realistic leases. [fencing-essay] Advantages: - Because the resource itself enforces ordering, safety does not depend on bounded process pauses, bounded network delay or accurate clocks at the lock holder. (sources: [fencing-essay]) Limitations: - The token source must be strictly monotonic across its own failures: a unique random value lacks ordering, a single-node counter can be lost and independent counters on several nodes drift apart, which points toward consensus. (sources: [fencing-essay]) - Protection covers only resources that check tokens, so services unable to validate sequencers remain exposed to stale operations. (sources: [lock-service-osdi06]) - Rejecting obsolete requests does not by itself provide multi-resource transaction atomicity. Minuet keeps per-resource session state at the target and adds a separate transaction and log-recovery protocol. (sources: [minuet-fast09]) Sources and caveats: - lock-service-osdi06 read 2026-10-23, section 2.4, for sequencer contents, server-side checking and the lock-delay bound. - fencing-essay read 2026-10-23, sections on fencing and timing assumptions, for the 33 and 34 token example, pause durations and token-source requirements. - A companion analysis on stale storage writes is listed but not used in prose. - Section 2.4 rechecked 2026-10-23: the delay follows loss of a holder, not ordinary release; the historical cap does not bound delayed I/O. Related terms: - [minuet-san](https://hesela.dev/terms/minuet-san/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [scsi-persistent-reservations](https://hesela.dev/terms/scsi-persistent-reservations/) - [shared-disk-filesystem](https://hesela.dev/terms/shared-disk-filesystem/) - [lock-delay](https://hesela.dev/terms/lock-delay/) Citations: - [lock-service-osdi06] Mike Burrows. The Chubby lock service for loosely-coupled distributed systems. OSDI 2006, sections 2.1 and 2.4. https://www.usenix.org/legacy/event/osdi06/tech/full_papers/burrows/burrows.pdf (accessed 2026-10-23) - [hesela-fencing] Storage fencing: why a lost heartbeat does not stop writes. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-10-11) - [fencing-essay] Martin Kleppmann. How to do distributed locking. Essay, 8 February 2016, sections on fencing and synchrony assumptions. https://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.html (accessed 2026-10-23) - [minuet-fast09] Ermolinskiy, Moon, Chun and Shenker. Minuet: Rethinking Concurrency Control in Storage Area Networks. FAST 2009, sections 3.2 and 3.4.2. https://www.usenix.org/legacy/event/fast09/tech/full_papers/ermolinskiy/ermolinskiy_html/index.html (accessed 2026-10-24) ### ferror URL: https://hesela.dev/terms/ferror/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: ferror(), ferror(3) Status: shipping Record updated: 2026-10-21 ferror is a C standard-I/O operation that tests whether a stream's error indicator is set. Note: A nonzero result means the indicator is set; zero means it is clear. This is stream status, not an errno value or a count of failed bytes. With a valid stream, testing the indicator does not change errno. [linux-status] Inspect the result of the I/O operation as well as the stream status. A retained indicator does not identify which earlier operation failed. Preserve failure information before clearerr or stream destruction. The glibc 2.39 implementation tests a flag under the stream's locking rules. [glibc-ferror] Hesela's pinned glibc 2.39 and musl 1.2.5 comparison found a set indicator after a later zero-returning fflush. Its JSON normalizes ferror(stream) != 0 to 0 or 1; those values are not error numbers. This is a controlled API observation, not a storage durability test. [hesela-cross-libc] Limitations: - A clear stream indicator does not establish durable storage completion. - A set indicator does not identify the failing call or the number of affected bytes. Related terms: - [clearerr](https://hesela.dev/terms/clearerr/) - [fwrite](https://hesela.dev/terms/fwrite/) - [fflush](https://hesela.dev/terms/fflush/) - [fclose](https://hesela.dev/terms/fclose/) - [fsync](https://hesela.dev/terms/fsync/) Citations: - [linux-status] Linux man-pages: ferror(3), clearerr(3) and errno. https://man7.org/linux/man-pages/man3/ferror.3.html (accessed 2026-10-21) - [glibc-ferror] glibc 2.39: ferror implementation. https://raw.githubusercontent.com/bminor/glibc/glibc-2.39/libio/ferror.c (accessed 2026-10-21) - [hesela-cross-libc] Hesela: cross-libc fwrite observations and stream error history. https://hesela.com/analyses/fsync-failure-retry-durability/#fwrite-libc (accessed 2026-10-21) ### fflush URL: https://hesela.dev/terms/fflush/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: fflush(), fflush(3) Status: shipping Record updated: 2026-11-30 fflush is a C standard-I/O operation that passes pending output from a stream's user-space buffer to its underlying write function. Note: For an output stream, zero reports a successful flush, while EOF reports failure with errno set to EBADF or to any error that write(2) can return. Capture the failure before cleanup. The stream remains open. A NULL argument flushes all open output streams. [linux-fflush] Input-stream flushing has a separate contract. For a seekable input file, buffered data fetched but not yet consumed is discarded, and POSIX sets the underlying file offset to the stream position. Pipes and terminals are outside that rule. [linux-fflush] [posix-fflush] For a descriptor-backed output stream, check the intended writes and fflush before fsync(fileno(stream)), because fsync cannot submit bytes still held in the library buffer. Serialize concurrent output around that boundary. Neither operation alone supplies multi-file atomicity or directory-entry persistence. [linux-fflush] [linux-fsync] Regular files are block buffered by default, terminals line buffered and stderr unbuffered. [setvbuf] In glibc 2.42, BUFSIZ, the buffer size that setbuf expects, is 8192 bytes. [glibc-stdio] A file lock does not invalidate library input. In 36 ordered Linux/glibc cases, retained input (including an in-buffer fseek) stayed stale; input fflush or reopening returned fresh bytes. Output flushed after handoff lost an increment; flushing before unlock preserved both. [hesela-stdio-boundary] GNU documents stale input across independent channels; glibc 2.39 can seek within buffered bytes. Coordinate input cleaning and positioning separately from output submission and crash durability. [glibc-independent] [glibc-seek] Advantages: - Makes buffered output visible through the file descriptor at a point the program chooses, without closing the stream. (sources: [linux-fflush]) Limitations: - Flushing a user-space output buffer is not a durability acknowledgement. - A successful flush marks modification and status-change times for update but says nothing about later writeback errors. (sources: [posix-fflush], [linux-fsync]) Sources and caveats: - linux-fflush is the Linux man-pages 6.19 fflush(3) page, re-read for return values, errors, NULL handling and input streams. - linux-fsync is the Linux man-pages 6.19 fsync(2) page, re-read for the boundary between library buffers and kernel buffers. - posix-fflush is the POSIX.1-2024 fflush() page, read for input-stream offsets and timestamp marking. - setvbuf is the Linux man-pages 6.19 setvbuf(3) page, read for default buffering modes. - glibc-stdio is libio/stdio.h at the glibc 2.42 tag, read for the BUFSIZ value. - The directory-fsync entry links here because flushing stream buffers does not persist directory entries. - Lock-boundary evidence: controlled native executions on Linux 6.8.0-151-generic, not a population failure rate, network-locking test or crash experiment. Original frozen captures retained; integration replay does not increase their sample sizes. Related terms: - [fwrite](https://hesela.dev/terms/fwrite/) - [fclose](https://hesela.dev/terms/fclose/) - [fsync](https://hesela.dev/terms/fsync/) - [file-descriptor](https://hesela.dev/terms/file-descriptor/) - [ferror](https://hesela.dev/terms/ferror/) - [clearerr](https://hesela.dev/terms/clearerr/) - [flock](https://hesela.dev/terms/flock/) Citations: - [linux-fflush] Linux man-pages 6.19: fflush(3). https://man7.org/linux/man-pages/man3/fflush.3.html (accessed 2026-10-23) - [linux-fsync] Linux man-pages 6.19: fsync(2). https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-23) - [hesela-stdio] Hesela: The user-space buffer comes before fsync. https://hesela.com/analyses/fsync-failure-retry-durability/#stdio-buffer (accessed 2026-10-21) - [posix-fflush] POSIX.1-2024: fflush(). https://pubs.opengroup.org/onlinepubs/9799919799/functions/fflush.html (accessed 2026-10-23) - [setvbuf] Linux man-pages 6.19: setvbuf(3), buffering modes. https://man7.org/linux/man-pages/man3/setvbuf.3.html (accessed 2026-10-23) - [glibc-stdio] glibc 2.42: libio/stdio.h, BUFSIZ and FOPEN_MAX. https://sourceware.org/git/?p=glibc.git;a=blob;f=libio/stdio.h;hb=refs/tags/glibc-2.42 (accessed 2026-10-23) - [hesela-stdio-boundary] Hesela: stdio and lock-handoff evidence with source hashes and replay code. https://hesela.dev/research/lock-boundaries/manifest.json (accessed 2026-11-30) - [glibc-independent] GNU C Library 2.39: Independent Channels. https://sourceware.org/glibc/manual/2.39/html_node/Independent-Channels.html (accessed 2026-11-30) - [glibc-seek] glibc 2.39: _IO_new_file_seekoff in-buffer seek path. https://github.com/bminor/glibc/blob/ef321e23c20eebc6d6fb4044425c00e6df27b05f/libio/fileops.c#L915 (accessed 2026-11-30) ### ffsck URL: https://hesela.dev/terms/ffsck/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: Fast File System Checker Status: research Record updated: 2026-12-04 ffsck is a research filesystem checker that uses rext3's clustered, self-identifying metadata to replace inode-tree traversal with disk-order scanning. Note: The rext3 filesystem groups indirect blocks and directory blocks separately from ordinary file data. Backpointers identify metadata without first walking its inode tree. ffsck retains compact cross-check information after local checks. This trades allocation flexibility and memory for fewer seeks. [ffsck13] The fast scan trusts allocation information. A bitmap/checksum disagreement triggers a traditional traversal. The prototype sums addresses separately for each file and indirect-tree layer; equal sums can miss collisions. [ffsck13] For example, address sets {100, 103} and {101, 102} each contain two blocks and sum to 203, yet have no block in common. The linked executable example isolates this sum check, not the whole checker. It does not establish an undetected filesystem corruption. [hesela-scan-identity] A 2013 FreeBSD adaptation used a flexible metadata-placement hint and kept the first indirect block beside file data. It retained the disk format rather than implementing the complete rext3 design. [ffsck-freebsd13] Cumulative bitmap snapshots narrow the inode group to rescan for a multiply claimed block; they do not identify the exact owner. More snapshots consume more memory. [ffsck13] Under an explicit dense-bit-array assumption, 16 snapshots spanning 1 TiB at 4 KiB per block need 512 MiB for their bit payload alone. This is not total checker memory. Equal inode groups can have unequal metadata work, so a smaller rescan group does not imply proportional time savings. [hesela-memory-budget] Sources and caveats: - Historical source review, not a benchmark replication or a recommendation to run prototype repair code on production data. - FAST 2013 used Linux 2.6.28 and e2fsprogs 1.41.12. The FreeBSD follow-up used 8.3-STABLE r246915M; neither establishes current-version performance. - The address-set example is an original exact-integer model, not a reproduction of ffsck, a current e2fsck defect or a measured error rate. - The bitmap payload and weighted-rescan examples use hypothetical inputs, not measured prototype RAM, supported volume capacities or elapsed times. Related terms: - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [crash-consistent-filesystem-repair](https://hesela.dev/terms/crash-consistent-filesystem-repair/) Citations: - [ffsck13] Ma et al. ffsck: The Fast File System Checker. FAST 2013, pp. 1-15, sections 4-6. https://www.usenix.org/system/files/fast13-final52_0-v2_1.pdf (accessed 2026-12-04) - [ffsck-freebsd13] Marshall Kirk McKusick. Improving the Performance of fsck in FreeBSD. ;login: 38(2), April 2013, pp. 20-22. https://www.usenix.org/system/files/login/articles/05a_mckusick_020-023_online.pdf (accessed 2026-12-04) - [hesela-scan-identity] Hesela: ffsck scan identity, exact counterexamples and limits. https://hesela.dev/research/ffsck-scan-identity/README.md (accessed 2026-12-04) - [hesela-memory-budget] Hesela: ffsck bitmap memory and grouped-rescan accounting. https://hesela.dev/research/ffsck-memory-budget/README.md (accessed 2026-12-04) ### Fibre Channel zoning URL: https://hesela.dev/terms/fibre-channel-zoning/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: FC zoning, fabric zoning Status: shipping Record updated: 2026-11-03 Fibre Channel zoning defines logical groups of ports in a Fibre Channel fabric and the permitted discovery or communication relationships between them. Note: Membership and enforcement are different questions. The cited 9.x fabric guide distinguishes Name Server filtering (soft zoning) from per-frame hardware checks (hard zoning). WWPN-based membership does not imply soft-only enforcement. In that implementation, exhaustion of hardware enforcement resources can cause a fallback to soft zoning. Check active policy and actual enforcement, not merely a configured zone name. [cisco-zoning] Permission to communicate with an array port does not by itself select the logical units that array exposes to an initiator; array-side LUN masking is a separate layer. [cisco-masking] Zoning is an access-control policy, not proof of peer authentication or encrypted traffic. Authentication and security-association traffic protection are distinct parts of the architecture. DH-CHAP can even use a NULL DH algorithm: its name alone does not establish a Diffie-Hellman exchange. [fc-security-2024] [fcsp-mib] In the cited 9.x security guide, auto-passive responds but does not initiate authentication; auto-active may continue with an unsupported peer, while on isolates that peer. Feature presence is not evidence of successful authentication. [mds-dhchap] The cited fabric guide distinguishes the full editable zoneset from the active policy. Editing the full database does not enforce changes until reactivation. Activation persists the active zoneset automatically, whereas preserving the full database across reloads requires an explicit save. An active policy is therefore not evidence that the full editable database was saved; this is a source-based lifecycle distinction, not a restart experiment. [cisco-zoning] Advantages: - Can restrict communication to intended fabric-port relationships. (sources: [cisco-zoning]) Limitations: - Name Server filtering alone is not equivalent to per-frame access enforcement. (sources: [cisco-zoning]) - Permission to reach an array port does not establish access to a particular logical unit. (sources: [cisco-masking]) Sources and caveats: - Architectural source review, not a live fabric experiment or reconfiguration procedure. Enforcement descriptions are scoped to Cisco MDS 9.x; no universal default policy is asserted. - This is Fibre Channel fabric access control, not SAS expander zoning or zoned-block-device write rules. - LUN zoning is product- and release-specific. The Nexus 5000 example does not establish MDS support; the MDS 9.x overview says LUN zoning and read-only zones are unsupported from NX-OS 5.x onward. [cisco-lun-zoning] [mds-fabric-overview] - The 2024 SNIA/FCIA white paper is architectural guidance, not an empirical security study. No algorithm-strength recommendation, switch test or claim about universal defaults is made. Related terms: - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [san](https://hesela.dev/terms/san/) - [lun-masking](https://hesela.dev/terms/lun-masking/) - [logical-unit-number](https://hesela.dev/terms/logical-unit-number/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [sas-zoning](https://hesela.dev/terms/sas-zoning/) - [world-wide-name](https://hesela.dev/terms/world-wide-name/) Citations: - [cisco-zoning] Cisco MDS 9000 Series Fabric Configuration Guide, Release 9.x: Configuring and Managing Zones, Zone Enforcement and Zoning Types. https://www.cisco.com/c/en/us/td/docs/dcn/mds9000/sw/9x/configuration/fabric/cisco-mds-9000-nx-os-fabric-configuration-guide-9x/configuring_and_managing_zones.html (accessed 2026-11-03) - [cisco-masking] Cisco: Enabling Cisco HyperFlex Systems to Coexist with Fibre Channel Shared Storage, Cisco MDS multilayer switches. https://www.cisco.com/c/en/us/products/collateral/hyperconverged-infrastructure/hyperflex-hx-series/hx-on-fibrechannel-wp.html (accessed 2026-11-03) - [cisco-lun-zoning] Cisco Nexus 5000 NX-OS SAN Switching Configuration Guide: Overview, p. 3, LUN zoning. https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/san_switching/b_Cisco_Nexus_5000_Series_NX-OS_SAN_Switching_Configuration_Guide/Cisco_Nexus_5000_Series_NX-OS_SAN_Switching_Configuration_Guide_chapter2.pdf (accessed 2026-11-03) - [fc-security-2024] Eric A. Hibbard. Storage Security: Fibre Channel Security. SNIA and FCIA, version 2.0, 14 February 2024, sections 3.2-3.3.1 and 4.2. https://fibrechannel.org/wp-content/uploads/2024/04/SNIA-FCIA-Storage-Security-Fibre-Channel-Security.pdf (accessed 2026-11-03) - [mds-dhchap] Cisco MDS 9000 Series Security Configuration Guide, Release 9.x: Configuring FC-SP and DHCHAP, About DHCHAP Authentication Modes. https://www.cisco.com/c/en/us/td/docs/dcn/mds9000/sw/9x/configuration/security/cisco-mds-9000-nx-os-security-configuration-guide-9x/configuring_fcsp_dhchap.html (accessed 2026-11-03) - [fcsp-mib] RFC 5324 (September 2008), sections 3.4.1-3.4.3: authentication, security associations and fabric security policies. https://www.rfc-editor.org/rfc/rfc5324.html#section-3.4.1 (accessed 2026-11-03) - [mds-fabric-overview] Cisco MDS 9000 Series Fabric Configuration Guide, Release 9.x: Fabric Overview, Zoning support note. https://www.cisco.com/c/en/us/td/docs/dcn/mds9000/sw/9x/configuration/fabric/cisco-mds-9000-nx-os-fabric-configuration-guide-9x/overview.html (accessed 2026-11-03) ### Fibre Channel URL: https://hesela.dev/terms/fibre-channel/ Technology reference: https://hesela.com/tech/fibre-channel/ Also known as: FC Status: shipping Record updated: 2026-11-03 Fibre Channel is a frame-based networking architecture used to carry storage protocols between node ports, directly or through a fabric. Note: FC-2 handles framing and transport control; FC-4 maps upper-layer protocols. In a switched fabric, FLOGI establishes fabric parameters and obtains a fabric address, while PLOGI establishes peer-port parameters. These logins can be implicit. [rfc4338] Linux libfc also handles FLOGI for direct point-to-point attachments, so a switch is not a universal prerequisite. [linux-login] Frames belong to sequences and sequences belong to exchanges. Keep source/destination port identity, OX_ID/RX_ID and sequence context together when correlating traces. An exchange identifier is scoped protocol state, not a permanent global request ID. [fcia] Linux v6.12 defines a 24-byte header and a maximum 2112-byte data field. Its 2136-byte FC_MAX_FRAME excludes CRC and delimiters. [linux-frame] FC-NVMe I/O can reuse FCP transport TYPE 08h, so header TYPE alone is not a reliable SCSI-versus-NVMe classifier. [fcia] Buffer-to-buffer credits govern a link's receive-buffer capacity, independently in each direction. A frame uses one credit; basic R_RDY flow control returns it when buffer space becomes available. [credits] SCSI status resides separately in an FCP response. A returned credit therefore cannot prove successful command execution or persistent storage. [fcp-response] Fibre Channel zoning controls fabric-port relationships; LUN masking controls logical-unit presentation to initiators. Check both layers when a reachable target does not expose the expected volume. [cisco-masking] The 1996 topology model assumes uniform terminal-to-terminal traffic and idealized buffering. Its deadlock-free rerouting example can still concentrate traffic on central links. These are historical analytical assumptions, not measured application throughput or a current fabric-design recommendation. [fabric96] Advantages: - A fabric can carry different upper-layer protocol mappings when endpoints support them. (sources: [linux-frame]) Limitations: - Flow control is not an end-to-end durability guarantee; credits and command status describe different protocol layers. (sources: [credits], [fcp-response]) - Negotiated frame sizes and implementation support must be checked for the actual path. (sources: [rfc4338]) Sources and caveats: - Architectural source review, not a benchmark. Linux references are pinned to v6.12; the RFCs describe older foundational behavior. - Cisco configuration and credit-recovery details apply to the cited MDS 9.x guide. No universal maximum rate or current market-share claim is made. - Earlier c1-c4 citation IDs are retained for compatibility; inline claims now point to the scoped sources listed here. Related terms: - [san](https://hesela.dev/terms/san/) - [sas](https://hesela.dev/terms/sas/) - [scsi](https://hesela.dev/terms/scsi/) - [alua](https://hesela.dev/terms/alua/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [ficon](https://hesela.dev/terms/ficon/) - [nvme-fc](https://hesela.dev/terms/nvme-fc/) - [fc-frame](https://hesela.dev/terms/fc-frame/) - [fc-sequence](https://hesela.dev/terms/fc-sequence/) - [fc-exchange](https://hesela.dev/terms/fc-exchange/) - [buffer-to-buffer-credit](https://hesela.dev/terms/buffer-to-buffer-credit/) - [fcip](https://hesela.dev/terms/fcip/) - [fibre-channel-zoning](https://hesela.dev/terms/fibre-channel-zoning/) - [lun-masking](https://hesela.dev/terms/lun-masking/) - [world-wide-name](https://hesela.dev/terms/world-wide-name/) - [fcoe-forwarder](https://hesela.dev/terms/fcoe-forwarder/) Citations: - [c1] Fibre Channel. https://en.wikipedia.org/wiki/Fibre_Channel (accessed 2026-03-26) - [c2] RFC 4338: Transmission of IPv6, IPv4, and Address Resolution Protocol (ARP) Packets over Fibre Channel (IETF Standards Track, January 2006), sections 2.1 to 2.4. https://www.rfc-editor.org/rfc/rfc4338.html (accessed 2026-10-16) - [c3] RFC 3643: Fibre Channel (FC) Frame Encapsulation (IETF Standards Track, December 2003). https://www.rfc-editor.org/rfc/rfc3643.html (accessed 2026-10-16) - [c4] include/uapi/scsi/fc/fc_fs.h and include/scsi/scsi_transport_fc.h, Linux kernel source (open source; fc_fs.h derived from T11 FC-FS-2 Rev 0.90, 9 August 2005). https://github.com/torvalds/linux/blob/master/include/uapi/scsi/fc/fc_fs.h (accessed 2026-10-16) - [rfc4338] RFC 4338 (January 2006), sections 2.1-2.4: Fibre Channel architecture summary. https://www.rfc-editor.org/rfc/rfc4338.html (accessed 2026-10-19) - [linux-frame] Linux v6.12: fc_fs.h frame layout, identifiers and protocol types. https://github.com/torvalds/linux/blob/v6.12/include/uapi/scsi/fc/fc_fs.h (accessed 2026-10-19) - [credits] Cisco MDS 9000 Interfaces Configuration Guide, Release 9.x: Buffer-to-Buffer Credits and Credit Recovery. https://www.cisco.com/c/en/us/td/docs/dcn/mds9000/sw/9x/configuration/interfaces/cisco-mds-9000-nx-os-interfaces-configuration-guide-9x/configuring_interface_buffers.html (accessed 2026-10-19) - [fcp-response] Linux v6.12: fc_fcp.h, fcp_resp and SCSI status. https://github.com/torvalds/linux/blob/v6.12/include/scsi/fc/fc_fcp.h (accessed 2026-10-19) - [fcia] FCIA: Inside a Modern Fibre Channel Architecture, Part 2 (2021), slides 7, 19, 23-31, 35 and 38. https://fibrechannel.org/wp-content/uploads/2021/11/Modern-FC-Architecture-Part-2.pdf (accessed 2026-10-19) - [encapsulation] RFC 3643 (December 2003), section 5: frame content and delimiter representation. https://www.rfc-editor.org/rfc/rfc3643.html (accessed 2026-10-19) - [linux-login] Linux v6.12: libfc fc_lport.c, direct point-to-point FLOGI handling. https://github.com/torvalds/linux/blob/v6.12/drivers/scsi/libfc/fc_lport.c (accessed 2026-10-19) - [cisco-masking] Cisco: Enabling Cisco HyperFlex Systems to Coexist with Fibre Channel Shared Storage, Cisco MDS multilayer switches. https://www.cisco.com/c/en/us/products/collateral/hyperconverged-infrastructure/hyperflex-hx-series/hx-on-fibrechannel-wp.html (accessed 2026-11-03) - [fabric96] Cherkasova, Kotov and Rokicki. Fibre Channel Fabrics: Evaluation and Design. HICSS 1996, sections 2.1 and 3, pp. 54 and 58. DOI 10.1109/HICSS.1996.495447. https://citeseerx.ist.psu.edu/document?doi=151efa56f040471a12f6b2ddae9e229f34d7163a&repid=rep1&type=pdf (accessed 2026-11-03) ### FICON URL: https://hesela.dev/terms/ficon/ Also known as: Fibre Connection, FC-SB Status: limited Record updated: 2026-10-22 FICON (Fibre Connection) is the mainframe I/O channel protocol that runs as a Fibre Channel upper-level protocol (FC-SB), carrying channel programs to storage control units. Note: FICON replaced the ESCON serial channel while keeping the mainframe I/O model, in which the host starts a channel program that a control unit executes. As an FC-4 protocol it uses standard Fibre Channel framing and switched fabrics, which can also carry SCSI (FCP) traffic as a different upper-level protocol. [sg246266] [ficon201] The FC-SB standards evolved from FC-SB-2 (2000, command mode) through FC-SB-3 (2007, persistent IU pacing), FC-SB-4 (2009, transport mode) and FC-SB-5 (2012, bidirectional transport mode) to FC-SB-6 (2016, extended-distance transport mode). Transport mode sends a whole channel program to the control unit in one descriptor. [ficon201] FICON targets the variable-record count-key-data architecture rather than fixed blocks, and a host can pass a long chain of mixed reads and writes in one invocation. [fcia-qa] Against ESCON's single half-duplex I/O connection at 17 MBps [ibm-escon], early native FICON offered full-duplex 100 MBps links (200 MBps at 2 Gbps), multiple concurrent operations, up to 10 km on long-wavelength links and 16,384 device addresses per channel against 1,024. [sg246266] A later mainframe channel generation runs 16 Gbps links with up to 2,600 MBps bidirectional. [z13-io] Advantages: - Bridge mode let a FICON channel reach ESCON-only control units through a bridge card in an ESCON director during migration. (sources: [sg246266]) Limitations: - Native mode allowed at most two cascaded FICON directors between channel and control unit. (sources: [sg246266]) - Hosts and control units must implement the FC-SB command architecture, so FCP storage targets cannot serve FICON channels. (sources: [fcia-qa], [ficon201]) Sources and caveats: - The 2002 guide gives the concurrency limit as 'up to 16 or more' in one place and 'up to 32' in another, so no single number is stated. - Distance extensions by request (20 km at 1 Gbps, 12 km at 2 Gbps) listed in the 2002 guide are omitted from the text. - The 2,600 MBps figure is a maximum stated by IBM for one channel generation, not guaranteed application throughput. - The FC-SB timeline comes from the Fibre Channel Industry Association, an industry group. Related terms: - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [san](https://hesela.dev/terms/san/) - [escon](https://hesela.dev/terms/escon/) - [mainframe-dasd](https://hesela.dev/terms/mainframe-dasd/) - [count-key-data](https://hesela.dev/terms/count-key-data/) - [fixed-block-architecture](https://hesela.dev/terms/fixed-block-architecture/) - [scsi](https://hesela.dev/terms/scsi/) Supersedes: - [escon](https://hesela.dev/terms/escon/) Citations: - [c1] FICON. https://en.wikipedia.org/wiki/FICON (accessed 2026-03-26) - [sg246266] IBM Redbooks SG24-6266. FICON Native Implementation and Reference Guide. Second edition, October 2002, sections 1.3-1.4. https://www.redbooks.ibm.com/redbooks/pdfs/sg246266.pdf (accessed 2026-10-16) - [ficon201] Fibre Channel Industry Association. FICON 201. https://fibrechannel.org/wp-content/uploads/2019/02/FICON-201-Final.pdf (accessed 2026-10-16) - [fcia-qa] Fibre Channel Industry Association. FICON Webcast Q&A. https://fibrechannel.org/ficon-webcast-qa/ (accessed 2026-10-16) - [ibm-escon] IBM Documentation, z/OS basic skills: Enterprise System Connectivity (ESCON) channel. https://www.ibm.com/docs/en/zos-basic-skills?topic=channels-enterprise-system-connectivity-escon-channel (accessed 2026-10-16) - [z13-io] IBM Redpaper REDP-5134, Get More Out of Your IT Infrastructure With IBM z13 I/O Enhancements. https://www.redbooks.ibm.com/redpapers/pdfs/redp5134.pdf (accessed 2026-10-16) ### FIDEDUPERANGE URL: https://hesela.dev/terms/fideduperange/ Related analysis: https://hesela.com/analyses/file-clones-deferred-copy-cost/ Also known as: file range deduplication ioctl Status: shipping Record updated: 2026-10-23 FIDEDUPERANGE is a Linux ioctl that compares file ranges and shares their storage when they match. Note: Unlike cloning, this operation preserves different destination bytes instead of replacing them with source contents. If even one byte differs, that destination is reported as FILE_DEDUPE_RANGE_DIFFERS. It works within one mounted filesystem, otherwise EXDEV results, and reports status separately for each destination. The argument structure with all destinations must fit within the system page size. The interface dates from Linux 4.5. [fidedupe] The maximum source length is filesystem dependent, typically 16 MiB, and is enforced silently. [fidedupe] The Linux v6.18 VFS path also caps a single request at 1 GiB. [dedupe-vfs] In Linux 7.3, Btrfs processes longer ranges in 16 MiB chunks. [btrfs-reflink] A successful outer call can contain failed or mismatched destinations. In the Linux v6.18 VFS path, a nonnegative callback result is reported using the capped request length, even if generic preparation shortened it. That historical counter is not a byte-accurate coverage certificate or a measurement of reclaimed storage. [dedupe-vfs] The Linux v6.12 ioctl wrapper performs work before copying the results back to userspace. Failure of that copy can return EFAULT after work occurred, so an error is not a general rollback guarantee. [dedupe-ioctl] Advantages: - Deduplication is atomic with regard to concurrent writes, so no locks are needed to obtain a consistent shared copy. (sources: [fidedupe]) Limitations: - Disk filesystems generally require block-aligned offsets and lengths, and Btrfs and XFS reject overlapping ranges within one file. (sources: [fidedupe]) Sources and caveats: - Implementation details refer to the cited upstream tags, not every downstream kernel or the newest release. - The companion worksheet is source-derived arithmetic, not measured filesystem behavior. - fidedupe is the Linux man-pages 6.19 FIDEDUPERANGE page, re-read for structures, length limits, errors and history. - dedupe-vfs and dedupe-ioctl were re-read at the v6.18 and v6.12 tags for the 1 GiB cap, length rounding and the result copy. - btrfs-reflink is fs/btrfs/reflink.c at the v7.3 tag, read for BTRFS_MAX_DEDUPE_LEN. - The copy-on-abundant-write entry links here because deduplicated ranges become shared extents whose later unsharing that policy defers. Related terms: - [reflink](https://hesela.dev/terms/reflink/) - [deduplication](https://hesela.dev/terms/deduplication/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [file-extent](https://hesela.dev/terms/file-extent/) - [btrfs-filesystem-du](https://hesela.dev/terms/btrfs-filesystem-du/) - [copy-file-range](https://hesela.dev/terms/copy-file-range/) Citations: - [fidedupe] Linux man-pages 6.19: FIDEDUPERANGE, compare-and-share and per-destination results. https://man7.org/linux/man-pages/man2/FIDEDUPERANGE.2const.html (accessed 2026-10-23) - [dedupe-vfs] Linux v6.18: remap_range.c, 1 GiB cap, length rounding and bytes_deduped reporting. https://raw.githubusercontent.com/torvalds/linux/v6.18/fs/remap_range.c (accessed 2026-10-23) - [dedupe-ioctl] Linux v6.12: ioctl.c, FIDEDUPERANGE validation and copying results to userspace. https://raw.githubusercontent.com/torvalds/linux/v6.12/fs/ioctl.c (accessed 2026-10-23) - [hesela-clones] Hesela: file cloning and deduplication result accounting. https://hesela.com/analyses/file-clones-deferred-copy-cost/#dedupe (accessed 2026-10-20) - [btrfs-reflink] Linux v7.3: fs/btrfs/reflink.c, BTRFS_MAX_DEDUPE_LEN. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/btrfs/reflink.c?h=v7.3 (accessed 2026-10-23) ### FIEMAP URL: https://hesela.dev/terms/fiemap/ Also known as: FS_IOC_FIEMAP Status: shipping Record updated: 2026-11-21 A Linux ioctl interface that reports file extent mappings and associated state flags over a requested logical byte range. Note: FIEMAP_FLAG_SYNC synchronizes before mapping, so the query can alter the observed state. DELALLOC also sets UNKNOWN; UNWRITTEN instead describes allocated zero-reading storage. Mappings can change between calls and are not permission to access a mounted filesystem through its block device. Record request flags and check for a full output buffer. Hesela's linked observation compares unsynchronized queries with explicit fsync and FIEMAP synchronization. In upstream Linux v6.8, fiemap_prep uses filemap_write_and_wait rather than fsync for this flag; it is not a substitute for a metadata-durability barrier. FIEMAP_FLAG_XATTR selects extended attributes, not the file-data tree. An empty attribute map does not prove absent file-data allocation. For range accounting, intersect returned logical extents with the requested interval; this gives logical overlap, not physical space saved. [fiemap-range-contract] Hesela's single-file Linux/ext4 observation returned an empty attribute map alongside a nonempty data map. The data result marked LAST before the file's end. This is a recorded host-specific case, not an all-filesystem guarantee. [hesela-query-domain] The LAST flag may mark the range endpoint; a count query followed by a mapping query is not a snapshot. [fiemap-range-contract] Sharing result: FIEMAP_EXTENT_SHARED (0x2000) is returned in fe_flags, not requested through fm_flags. It reports shared storage rather than asking for a clone. The ABI provides no reference count, so this bit alone cannot quantify deletion savings. [fiemap-uapi] [iomap-result] Limitations: - A count-only query is not a stable snapshot for the following mapping call. - Returned extents may cross the requested range; LAST can be range-scoped on some implementations. Sources and caveats: - The SHARED interpretation is checked against the pinned UAPI and iomap implementation; the documentation's request wording is misleading. - The lack of a reference count is an ABI observation; the deletion-savings limitation is an inference, not a measured filesystem result. Related terms: - [file-extent](https://hesela.dev/terms/file-extent/) - [delayed-allocation](https://hesela.dev/terms/delayed-allocation/) - [unwritten-extent](https://hesela.dev/terms/unwritten-extent/) - [fsync](https://hesela.dev/terms/fsync/) - [btrfs-filesystem-du](https://hesela.dev/terms/btrfs-filesystem-du/) Citations: - [fiemap-interface] Linux 6.12: FIEMAP ioctl, flags and access restrictions. https://docs.kernel.org/6.12/filesystems/fiemap.html (accessed 2026-10-16) - [hesela-observer] Hesela: measured FIEMAP observer intervention. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/#observer (accessed 2026-10-16) - [fiemap-writeback] Linux v6.8 fs/ioctl.c: fiemap_prep writeback implementation. https://raw.githubusercontent.com/torvalds/linux/v6.8/fs/ioctl.c (accessed 2026-10-16) - [fiemap-range-contract] Linux v6.18 FIEMAP: XATTR query domain and returned extents crossing requested bounds. https://www.kernel.org/doc/html/v6.18/filesystems/fiemap.html (accessed 2026-10-23) - [hesela-mapping-domain] Hesela: FIEMAP query domains and exact logical-range example. https://hesela.com/analyses/file-clones-deferred-copy-cost/#mapping-domain (accessed 2026-10-23) - [hesela-query-domain] Hesela: single-file FIEMAP query-domain observation, environment and source hash. https://hesela.dev/research/fiemap-query-domain.json (accessed 2026-10-23) - [fiemap-uapi] Linux v6.12: FIEMAP request flags, returned extent flags and SHARED bit. https://raw.githubusercontent.com/torvalds/linux/v6.12/include/uapi/linux/fiemap.h (accessed 2026-11-21) - [iomap-result] Linux v6.12: iomap_to_fiemap translates IOMAP_F_SHARED into a result flag. https://raw.githubusercontent.com/torvalds/linux/v6.12/fs/iomap/fiemap.c (accessed 2026-11-21) ### First-in first-out cache replacement URL: https://hesela.dev/terms/fifo-replacement/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: FIFO replacement Status: research Record updated: 2026-11-19 First-in first-out cache replacement evicts the resident entry that was inserted earliest, without refreshing its queue position on a hit. Note: This policy concerns eviction, not scheduling or write durability. A larger FIFO cache can have more misses on the same reference string. The unbounded anomaly result varies capacities and reference strings; it is not an unbounded ratio at fixed capacities. [fifo-unbounded] A ring buffer can avoid per-object pointers. Plain FIFO needs no queue-order update on a hit, but lookup, lifetime and synchronization work remain. Locked hit promotion is a shared-list implementation, not a requirement of every LRU implementation. [s3fifo] [qdlp] Lazy promotion defers movement until eviction; quick demotion removes unpromising new objects early. These variants are not plain FIFO. [qdlp] S3-FIFO uses small, main and ghost queues. Its paper policy caps frequency at three. Small-queue promotion uses frequency > 1, requiring two cache hits after insertion; movement clears the counter. Main-queue reinsertion uses frequency > 0 and decrements it. A single hit qualifies for main reinsertion but not small-queue promotion. [s3fifo] Ghost history is not cached payload. A match remains a cache miss; fetched data goes directly to the main queue. A main-queue eviction does not add its victim to G. [s3fifo] For N main-queue entries with counters at most three and no concurrent hits, insertions, expiration or resizing, an eviction takes at most 3N + 1 candidate inspections. Each reinsertion spends one counter credit; the final inspection removes a zero-counter entry. This is policy work, not elapsed time. [s3fifo-example] [s3fifo-method] Flash friendliness does not guarantee zero amplification. Here cache-level rewriting, device-level garbage collection and admission filtering are separate; queue order alone does not establish NAND write volume. [flashield] Advantages: - No hit-time queue reordering is required by plain FIFO; this is a narrower benefit than eliminating all flash rewriting. (sources: [qdlp], [flashield]) - The SOSP 2023 CacheLib prototype reported over six times the optimized LRU throughput at 16 threads on a synthetic Zipf workload (alpha = 1.0), not a universal FIFO speedup. Its request count and object population scale with thread count; the curve is not a fixed-working-set speedup. (sources: [s3fifo]) Limitations: - When most objects are requested exactly twice and the second request comes after the object leaves a small probationary queue, a partitioned FIFO design misses where plain FIFO or LRU could hit. (sources: [s3fifo]) - The paper's request-miss-ratio simulations usually ignore object sizes and exclude policy metadata from capacity; byte-miss evaluation uses byte-weighted footprint instead. Equal nominal capacity here is not an equal total-memory-budget comparison. (sources: [s3fifo]) Sources and caveats: - Fornai and Ivanyi (2010), sections 4-5, Main Theorem and fixed-capacity qualification, rechecked 2026-10-25; the unboundedness quantifier ranges over capacities and reference strings. - SOSP 2023 DOI 10.1145/3600006.3613147, sections 4, 5.1, 5.3 and 5.4, reviewed 2026-10-25. Miss-ratio traces, synthetic throughput and flash-admission experiments are separate evaluations. - HotOS 2023 DOI 10.1145/3593856.3595887, sections 2-3 and Figure 2, reviewed 2026-10-25. Its flash-friendly motivation is not treated as a device-wide zero-amplification theorem. - Flashield sections 2.1-2.2 supply the cache/device write-layer distinction. Source synthesis only: no new throughput or NAND measurement and no reproduction of the papers' benchmarks. - SOSP 2023 section 5.3 specifies one million 4 KB objects and 100 million requests per thread; the scaling qualification was checked against that workload definition on 2026-10-25. - SOSP 2023 section 5.4 and Figure 9 reread on 2026-10-26: flash size is relative to unique trace bytes; DRAM fractions are relative to flash capacity. These are distinct from section 4's small/main resident partition. - Rechecked 2026-11-05: section 4.1 explicitly clears access bits on small-to-main movement; that reset is not shown in Algorithm 1's promotion branch. The isolated example follows the prose, not a literal execution of every pseudocode line. [s3fifo] - The HotOS study tested 5307 traces; not every trace favored FIFO-Reinsertion over LRU, and results varied with capacity and workload. [qdlp] - S3-FIFO's evaluated default gives 10% of resident space to the small queue, 90% to main, and ghost metadata for as many entries as main. Its miss-ratio evaluation uses 6594 traces from 14 datasets. [s3fifo] - The flash-admission comparison uses 10% of the trace footprint in bytes for flash, with DRAM at 0.1%, 1% or 10% of flash capacity. These are tier-capacity denominators, not the resident queue split. [s3fifo] - The pinned author simulator increments a 64-bit frequency field on hits and clips it during main-queue reinsertion. Two policy bits are not a measurement of total metadata. Source inspection, not execution of that simulator. [s3fifo-artifact] [s3fifo-metadata] - SOSP 2023 section 4.1/Algorithm 1, pp. 134-135, and section 5.1, pp. 136-137, reread 2026-10-31. Pinned find/insert/eviction paths corroborate routing. The example is not an admission simulator. [s3fifo] [s3fifo-artifact] Related terms: - [belady-anomaly](https://hesela.dev/terms/belady-anomaly/) - [cache-inclusion-property](https://hesela.dev/terms/cache-inclusion-property/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [clock-replacement](https://hesela.dev/terms/clock-replacement/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [s3-fifo](https://hesela.dev/terms/s3-fifo/) - [flashield](https://hesela.dev/terms/flashield/) - [first-come-first-served](https://hesela.dev/terms/first-come-first-served/) Citations: - [fifo-unbounded] Peter Fornai and Antal Ivanyi. FIFO anomaly is unbounded. Acta Univ. Sapientiae, Informatica 2(1), 2010, pp. 80-89; sections 2-5, arXiv:1003.1336v2. https://arxiv.org/pdf/1003.1336v2 (accessed 2026-10-26) - [hesela] Hesela: finite cache-capacity replay, with full traces and assumptions. https://hesela.com/analyses/sieve-cache-eviction-traces/#capacity (accessed 2026-10-17) - [s3fifo] Yang, Zhang, Qiu, Yue and Rashmi. FIFO Queues are All You Need for Cache Eviction. SOSP 2023. https://jasony.me/publication/sosp23-s3fifo.pdf (accessed 2026-11-05) - [qdlp] Yang, Qiu, Zhang, Yue and Rashmi. FIFO can be Better than LRU: the Power of Lazy Promotion and Quick Demotion. HotOS 2023. https://jasony.me/publication/hotos23-qdlp.pdf (accessed 2026-11-05) - [flashield] Eisenman et al. Flashield: a Hybrid Key-value Cache that Controls Flash Write Amplification. NSDI 2019, pp. 65-78; sections 2.1-2.2. https://www.usenix.org/system/files/nsdi19-eisenman.pdf (accessed 2026-10-26) - [s3fifo-artifact] SOSP 2023 author artifact, S3FIFO.c: default threshold, find and main-eviction paths; pinned commit 6bc49d9630572721b41cd08adfa982775f3cb1de. https://github.com/Thesys-lab/sosp23-s3fifo/blob/6bc49d9630572721b41cd08adfa982775f3cb1de/libCacheSim/libCacheSim/cache/eviction/S3FIFO.c (accessed 2026-11-05) - [s3fifo-metadata] SOSP 2023 author artifact, cacheObj.h: S3FIFO_obj_metadata_t at the same pinned commit. https://github.com/Thesys-lab/sosp23-s3fifo/blob/6bc49d9630572721b41cd08adfa982775f3cb1de/libCacheSim/libCacheSim/include/libCacheSim/cacheObj.h (accessed 2026-11-05) - [s3fifo-example] Hesela: isolated S3-FIFO transition examples, assumptions and executable code; constructed, not a device or trace benchmark. https://hesela.dev/research/s3fifo-transitions.json (accessed 2026-10-31) - [s3fifo-method] Hesela: S3-FIFO transition method, finite-work proof and reproduction instructions. https://hesela.dev/research/s3fifo-method.md (accessed 2026-11-05) ### File access time URL: https://hesela.dev/terms/file-access-time/ Also known as: atime, File access timestamp, Last file access time Status: shipping Record updated: 2026-12-02 File access time (atime) is the filesystem timestamp associated with access to a file, subject to the operating system's access-time update policy. Note: On Linux, reads can update atime, but noatime suppresses access-driven updates and relatime limits them. With relatime, an access updates atime when the previous value is no later than mtime or ctime, or is more than 1 day old, and since Linux 2.6.30 this is the kernel default unless strictatime is requested. nodiratime suppresses updates for directories only. [linux-mount] O_NOATIME, available since Linux 2.6.8, suppresses updates for reads through one opened file, but only a caller that owns the file or is privileged may use it. [linux-open] lazytime is different: eligible timestamps are updated in memory, and the on-disk copy is written when the inode changes for another reason, on fsync(2), syncfs(2) or sync(2), when an undeleted inode is evicted, or through aged timestamp writeback. The manual's 24-hour description is not an unconditional durability deadline: Linux v6.12 uses a tunable dirtytime interval, with a 12-hour default and possible two-interval behavior. [linux-dirtytime-v612] [linux-vm-dirtytime] Neither an unchanged atime nor delayed on-disk persistence proves that no access occurred. [linux-mount] utimensat(2) can set atime explicitly, to the current time with UTIME_NOW, or leave it unchanged with UTIME_OMIT. [linux-utimensat] On filesystems without subsecond timestamps the nanosecond field reads as 0. [linux-inode] Advantages: - Can indicate access relative to modification when the applicable update policy is known. (sources: [linux-mount]) Limitations: - May not record every read. - The policy is set per mount, so the same file can follow different rules under different mount options. (sources: [linux-mount]) Sources and caveats: - linux-mount is the util-linux mount(8) page, re-read for noatime, nodiratime, relatime, strictatime and lazytime. - linux-open is the Linux man-pages 6.19 open(2) page, read for O_NOATIME and its permission rule. - linux-utimensat is the Linux man-pages 6.19 utimensat(2) page, re-read for UTIME_NOW and UTIME_OMIT. - linux-inode is the Linux man-pages 6.19 inode(7) page, re-read for timestamp fields and nanosecond support. - The directory-enumeration entry links here because noatime and nodiratime decide whether reading directories records access time. - 2026-11-09: clarified lazytime scheduling versus durability using pinned Linux v6.12 source and VM documentation; added distinct policy entities. Related terms: - [inode](https://hesela.dev/terms/inode/) - [file-modification-time](https://hesela.dev/terms/file-modification-time/) - [inode-change-time](https://hesela.dev/terms/inode-change-time/) - [file-birth-time](https://hesela.dev/terms/file-birth-time/) - [relatime](https://hesela.dev/terms/relatime/) - [lazytime](https://hesela.dev/terms/lazytime/) - [x-ray](https://hesela.dev/terms/x-ray/) Citations: - [linux-inode] Linux man-pages 6.19: inode(7), file timestamps. https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-10-23) - [linux-mount] util-linux: mount(8), access-time policy and lazytime. https://man7.org/linux/man-pages/man8/mount.8.html (accessed 2026-10-23) - [linux-utimensat] Linux man-pages 6.19: utimensat(2), UTIME_NOW and UTIME_OMIT. https://man7.org/linux/man-pages/man2/utimensat.2.html (accessed 2026-10-23) - [hesela-file-times] Hesela: interpreting file timestamps during rsync selection. https://hesela.com/analyses/rsync-delta-shifted-blocks/#file-times (accessed 2026-10-21) - [linux-open] Linux man-pages 6.19: open(2), O_NOATIME. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-23) - [linux-dirtytime-v612] Linux v6.12 fs/fs-writeback.c: dirtytime interval and writeback. https://github.com/torvalds/linux/blob/v6.12/fs/fs-writeback.c#L53 (accessed 2026-11-09) - [linux-vm-dirtytime] Linux 6.12 VM documentation: dirtytime_expire_seconds. https://docs.kernel.org/6.12/admin-guide/sysctl/vm.html#dirtytime-expire-seconds (accessed 2026-11-09) ### File birth time URL: https://hesela.dev/terms/file-birth-time/ Also known as: btime, Birth time, File creation time Status: shipping Record updated: 2026-10-23 File birth time (btime) is a filesystem timestamp recording file creation, distinct from modification time and inode change time. Note: On Linux, stat() does not return btime. statx(), available since Linux 4.11 and glibc 2.28, can return it as stx_btime, with a signed 64-bit seconds field and an unsigned 32-bit nanoseconds field. Request STATX_BTIME and check that the returned stx_mask contains STATX_BTIME before interpreting the value, because a successful call does not guarantee that every requested field was supplied. [linux-statx] When a filesystem cannot supply a field, the kernel clears its bit in stx_mask even if it was requested and may fill in a dummy value, so a nonzero stx_btime is not evidence on its own. STATX_ALL, which bundled STATX_BTIME with the basic fields, is deprecated. [linux-statx] Birth time is set when the file is created and is not changed afterwards. It was not historically present on UNIX systems, and most Linux filesystems do not support it. Availability depends on the kernel and filesystem. Do not substitute ctime for missing birth time. On filesystems without subsecond timestamps the nanosecond field reads as 0. [linux-inode] Advantages: - Separates recorded file creation from later content and inode-status changes. (sources: [linux-inode]) Limitations: - Different statx fields may reflect different moments during a single call, so btime and other fields are not one atomic snapshot. (sources: [linux-statx]) - Setting the request mask to all bits is discouraged because future bits may extend the returned buffer. (sources: [linux-statx]) Sources and caveats: - linux-statx is the Linux man-pages 6.19 statx(2) page, re-read for stx_btime, stx_mask semantics, the timestamp structure and history. - linux-inode is the Linux man-pages 6.19 inode(7) page, re-read for the btime description and nanosecond timestamp support. - The rsync-quick-check entry links here because its size and modification-time comparison does not use birth time. Related terms: - [inode](https://hesela.dev/terms/inode/) - [file-modification-time](https://hesela.dev/terms/file-modification-time/) - [inode-change-time](https://hesela.dev/terms/inode-change-time/) - [file-access-time](https://hesela.dev/terms/file-access-time/) Citations: - [linux-inode] Linux man-pages 6.19: inode(7), file timestamps. https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-10-23) - [linux-statx] Linux man-pages 6.19: statx(2), requested and returned fields. https://man7.org/linux/man-pages/man2/statx.2.html (accessed 2026-10-23) - [hesela-file-times] Hesela: interpreting file timestamps during rsync selection. https://hesela.com/analyses/rsync-delta-shifted-blocks/#file-times (accessed 2026-10-21) ### File descriptor URL: https://hesela.dev/terms/file-descriptor/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: file descriptor number Status: shipping Record updated: 2026-11-05 A file descriptor is a nonnegative integer used by a process to refer to an open file description for operations such as reading, writing or closing. Note: A descriptor number is a process-local reference, not a persistent identifier for a pathname or inode. Separate opens can create different open file descriptions for the same file; dup creates another reference to the existing description. [linux-open] [linux-dup] Duplicated descriptors share the file offset and status flags, but not descriptor flags such as close-on-exec. Closing one alias does not close the other. After release, the same number can identify a different file, so a saved integer alone does not prove ownership of the current descriptor. [linux-dup] [posix-close] On Linux, a successful dup2 with distinct source and target numbers replaces the target atomically; separate close then dup leaves an allocation race. Successful replacement clears the target FD_CLOEXEC flag while leaving the source descriptor flag unchanged. A valid dup2(fd, fd) instead does nothing, preserving descriptor flags. An invalid source fails without closing the target. Atomic replacement is not durable storage, and dup2 does not report implicit target-close errors. [linux-dup] Retained access: in a separate same-owner Linux 6.8 experiment on ext4 and tmpfs, chmod 000 denied fresh opens but retained read/write descriptors and a duplicate created after the change still accessed the file. Closing one descriptor did not revoke the duplicate or a surviving mapping. This is one-host visibility evidence, not crash durability, named-user ACL selection or a universal revocation rule. [lifetime-study] NFS and additional security-policy checks require separate treatment. [lifetime-chmod] Limitations: - Descriptor numbers can be reused after release. - Sharing a descriptor or open file description does not provide a durable-commit guarantee. Sources and caveats: - Permission-lifetime evidence: nine scenarios, 108 recorded executions and 108 matching replay records; two compiler configurations, three repetitions per mount and one host, not independent fleet samples. No changed LSM policy, concurrent writer or power-loss experiment. [lifetime-evidence] - Inheritance: raw Linux dup clears close-on-exec on its new descriptor; dup3 with O_CLOEXEC sets it on a distinct target. Prefer creation-time O_CLOEXEC when another thread could fork and exec before a later fcntl sets FD_CLOEXEC. [linux-dup] [linux-open] Related terms: - [pread](https://hesela.dev/terms/pread/) - [file-offset](https://hesela.dev/terms/file-offset/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [close](https://hesela.dev/terms/close/) - [inode](https://hesela.dev/terms/inode/) - [pwrite](https://hesela.dev/terms/pwrite/) - [close-on-exec](https://hesela.dev/terms/close-on-exec/) Citations: - [linux-open] Linux man-pages 6.19: open(2), descriptors and open file descriptions. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-17) - [linux-dup] Linux man-pages 6.19: dup(2), shared state and atomic replacement. https://man7.org/linux/man-pages/man2/dup.2.html (accessed 2026-10-17) - [posix-close] POSIX.1-2024: close(), descriptor deallocation. https://pubs.opengroup.org/onlinepubs/9799919799/functions/close.html (accessed 2026-10-17) - [hesela-descriptors] Hesela: Reproduce descriptor lifetime without injecting a storage fault. https://hesela.com/analyses/fsync-failure-retry-durability/#descriptor-lifetime (accessed 2026-10-17) - [lifetime-chmod] Linux man-pages: chmod(2), NFS qualification. https://man7.org/linux/man-pages/man2/chmod.2.html (accessed 2026-11-05) - [lifetime-study] Hesela: retained local access after permission changes, native evidence and limits. https://hesela.com/analyses/posix-acl-restore-permissions/#retained-access (accessed 2026-11-05) - [lifetime-evidence] Hesela: permission-lifetime native observations, source receipts and MIT replay bundle. https://hesela.dev/research/permission-lifetime/permission-lifetime.zip (accessed 2026-11-05) ### File extent URL: https://hesela.dev/terms/file-extent/ Also known as: filesystem extent Status: shipping Record updated: 2026-11-21 A filesystem mapping for a contiguous range of file blocks and the storage blocks backing that range. Note: Ext4 stores a starting file block, storage block and length for each extent, reducing mapping metadata for contiguous runs; this is a filesystem representation, not a statement about physical NAND placement. A FIEMAP mapping includes state flags, not just addresses; its synchronization option can change the state before reporting it. [ext4-extents] [fiemap-interface] Shared storage: distinct files can map the same storage after a reflink. FIEMAP_EXTENT_SHARED reports that state but carries no reference count. Summing shared lengths across files can count storage repeatedly, and the flag alone cannot identify what deleting a chosen set will free. [fiemap-uapi] [shared-accounting] Copy granularity: coarse copy-on-write can copy unchanged data, while small copies can fragment later reads. FAST 2020 studied this trade-off in BetrFS 0.5 using buffered updates. Its historical HDD evaluation does not establish a current SSD performance ranking. [zhan20] Sources and caveats: - The FAST 2020 paper was read beyond its abstract, including the clone design and evaluation method. This entry reports a mechanism, not a reproduced benchmark. - The paper evaluates BetrFS on a modified Linux 3.11.10 kernel and other filesystems on 4.9.142, using a 7200 RPM SATA disk. Related terms: - [unwritten-extent](https://hesela.dev/terms/unwritten-extent/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [file-preallocation](https://hesela.dev/terms/file-preallocation/) - [reflink](https://hesela.dev/terms/reflink/) - [fiemap](https://hesela.dev/terms/fiemap/) - [filesystem-block](https://hesela.dev/terms/filesystem-block/) Citations: - [ext4-extents] Linux 6.12: ext4 extent tree and mapping format. https://docs.kernel.org/6.12/filesystems/ext4/dynamic.html#extent-tree (accessed 2026-10-13) - [hesela-allocation] Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ (accessed 2026-10-13) - [fiemap-interface] Linux 6.12: FIEMAP ioctl, flags and access restrictions. https://docs.kernel.org/6.12/filesystems/fiemap.html (accessed 2026-10-16) - [fiemap-uapi] Linux v6.12: FIEMAP extent structure and shared-storage result bit. https://raw.githubusercontent.com/torvalds/linux/v6.12/include/uapi/linux/fiemap.h (accessed 2026-11-21) - [shared-accounting] Btrfs-progs v6.16: per-set FIEMAP extent accounting. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/btrfs-filesystem.rst (accessed 2026-11-21) - [zhan20] Zhan et al., How to Copy Files, FAST 2020, sections 1 and 5.1. https://www.usenix.org/conference/fast20/presentation/zhan (accessed 2026-11-21) ### FILE_FLAG_NO_BUFFERING URL: https://hesela.dev/terms/file-flag-no-buffering/ Also known as: Windows unbuffered file I/O Status: shipping Record updated: 2026-11-14 FILE_FLAG_NO_BUFFERING is a Windows CreateFile flag that disables system caching for data reads and writes through the opened file or device handle. Note: The flag does not change hardware disk caching or memory-mapped access. File metadata may still be cached; FlushFileBuffers addresses that separate boundary. Cache bypass alone is not a durability guarantee. [windows-create-file] [windows-file-caching] For seekable files, transfer lengths and offsets must be multiples of the volume's logical sector size. The documentation separately recommends physical-sector alignment for unbuffered I/O, including buffer addresses. An aligned allocation does not validate the request length or offset. Query the actual geometry instead of assuming 512 or 4096 bytes. [windows-file-buffering] STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR reports BytesPerLogicalSector, BytesPerPhysicalSector and BytesOffsetForSectorAlignment. The last field locates the first logical sector within a physical sector; it is not an application-buffer address. [windows-storage-alignment] FILE_FLAG_WRITE_THROUGH is independent and can be combined with NO_BUFFERING. The combination also requests hardware-cache write-through, subject to device support. Neither alignment nor cache bypass supplies a multi-operation transaction. [windows-create-file] Sources and caveats: - Microsoft Win32 documentation reviewed 14 November 2026; no Windows runtime, power-loss or remote-server experiment was performed. - Related POSIX and Linux APIs are comparisons, not claims of equivalent completion or error semantics. Related terms: - [file-flag-write-through](https://hesela.dev/terms/file-flag-write-through/) - [flush-file-buffers](https://hesela.dev/terms/flush-file-buffers/) - [flush-view-of-file](https://hesela.dev/terms/flush-view-of-file/) - [direct-io](https://hesela.dev/terms/direct-io/) - [direct-io-alignment](https://hesela.dev/terms/direct-io-alignment/) - [512e](https://hesela.dev/terms/512e/) - [4kn-native](https://hesela.dev/terms/4kn-native/) Citations: - [windows-create-file] Microsoft: CreateFileA, Caching Behavior and independent file flags. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#caching-behavior (accessed 2026-11-14) - [windows-file-caching] Microsoft: File Caching, write-through and metadata. https://learn.microsoft.com/en-us/windows/win32/fileio/file-caching (accessed 2026-11-14) - [windows-file-buffering] Microsoft: File Buffering, alignment and hardware-cache scope. https://learn.microsoft.com/en-us/windows/win32/fileio/file-buffering (accessed 2026-11-14) - [windows-storage-alignment] Microsoft: STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR, logical and physical sector geometry. https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-storage_access_alignment_descriptor (accessed 2026-11-14) - [hesela-windows-flush] Hesela: Windows mapped-file synchronization and cache boundaries. https://hesela.com/analyses/mmap-visibility-size-durability/#windows-flush (accessed 2026-11-14) ### FILE_FLAG_WRITE_THROUGH URL: https://hesela.dev/terms/file-flag-write-through/ Also known as: Windows write-through file flag Status: shipping Record updated: 2026-11-14 FILE_FLAG_WRITE_THROUGH is a Windows file-open flag that requests immediate propagation of writes instead of delayed cache writeback. Note: Write-through alone can still use the Windows system cache. FILE_FLAG_NO_BUFFERING independently bypasses that cache for file-data I/O; it does not affect disk hardware caching or memory-mapped files. Combining both flags bypasses the system cache and requests hardware-cache write-through, subject to device support. [windows-create-file] On NTFS, write-through also flushes metadata changes resulting from that request. NO_BUFFERING alone can leave metadata cached; use FlushFileBuffers when that metadata must be flushed. Unbuffered file I/O also requires appropriate transfer-size, offset and buffer-address alignment. Neither flag supplies multi-operation atomicity. [windows-create-file] [windows-file-caching] [windows-file-buffering] Sources and caveats: - Microsoft Win32 documentation reviewed 14 November 2026; no Windows runtime, power-loss or remote-server experiment was performed. - Related POSIX and Linux APIs are comparisons, not claims of equivalent completion or error semantics. Related terms: - [flush-file-buffers](https://hesela.dev/terms/flush-file-buffers/) - [flush-view-of-file](https://hesela.dev/terms/flush-view-of-file/) - [write-through-cache](https://hesela.dev/terms/write-through-cache/) - [direct-io](https://hesela.dev/terms/direct-io/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [file-flag-no-buffering](https://hesela.dev/terms/file-flag-no-buffering/) Citations: - [windows-create-file] Microsoft: CreateFileA, Caching Behavior and independent file flags. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#caching-behavior (accessed 2026-11-14) - [windows-file-caching] Microsoft: File Caching, write-through and metadata. https://learn.microsoft.com/en-us/windows/win32/fileio/file-caching (accessed 2026-11-14) - [windows-file-buffering] Microsoft: File Buffering, alignment and hardware-cache scope. https://learn.microsoft.com/en-us/windows/win32/fileio/file-buffering (accessed 2026-11-14) - [hesela-windows-flush] Hesela: Windows mapped-file synchronization and cache boundaries. https://hesela.com/analyses/mmap-visibility-size-durability/#windows-flush (accessed 2026-11-14) ### File modification time URL: https://hesela.dev/terms/file-modification-time/ Also known as: mtime, Modification time, Last modification time Status: shipping Record updated: 2026-11-29 File modification time (mtime) is the filesystem timestamp associated with the latest change to a file's contents or a directory's entries. Note: Writes and truncation update mtime; changing ownership or permissions alone does not. The timestamp can also be set explicitly with utimensat(), subject to permissions, without changing file contents. Filesystem resolution limits the stored value. [linux-inode] [linux-utimensat] The default rsync quick check compares file size and mtime, not content. Its default comparison ignores nanoseconds; --modify-window=-1 includes them when the receiver is version 3.1.3 or later. Equal size and mtime are not proof of identical data. [rsync-manual] With lazytime, an eligible mtime change remains visible in memory even while timestamp persistence is deferred. fdatasync() may omit mtime metadata; use the required synchronization contract rather than interpreting a comparison as proof of persistence. [linux-mount-flags] [linux-fsync] Advantages: - Provides a low-cost signal for selecting files that may need synchronization. Limitations: - Can be preserved or reset independently of file contents. - Filesystem and comparison precision can hide distinct changes. Related terms: - [inode](https://hesela.dev/terms/inode/) - [inode-change-time](https://hesela.dev/terms/inode-change-time/) - [file-access-time](https://hesela.dev/terms/file-access-time/) - [file-birth-time](https://hesela.dev/terms/file-birth-time/) - [rsync-quick-check](https://hesela.dev/terms/rsync-quick-check/) - [lazytime](https://hesela.dev/terms/lazytime/) - [multigrain-timestamps](https://hesela.dev/terms/multigrain-timestamps/) Citations: - [linux-inode] Linux man-pages: inode(7). https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-10-21) - [linux-utimensat] Linux man-pages: utimensat(2). https://man7.org/linux/man-pages/man2/utimensat.2.html (accessed 2026-10-21) - [rsync-manual] rsync(1): file selection and modification-time comparison. https://download.samba.org/pub/rsync/rsync.1 (accessed 2026-10-21) - [hesela-file-times] Hesela: interpreting file timestamps during rsync selection. https://hesela.com/analyses/rsync-delta-shifted-blocks/#file-times (accessed 2026-10-21) - [linux-mount-flags] Linux mount(2): MS_LAZYTIME and timestamp policy. https://man7.org/linux/man-pages/man2/mount.2.html (accessed 2026-11-09) - [linux-fsync] Linux fsync(2): timestamp metadata and fdatasync. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-09) ### File offset URL: https://hesela.dev/terms/file-offset/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: current file offset, file position Status: shipping Record updated: 2026-11-15 A file offset is a byte position measured from the beginning of a file, used as a current I/O cursor or an explicit positional-access argument. Note: The current cursor belongs to the open file description. Duplicating a descriptor shares that cursor; opening the file separately creates a new open file description. A descriptor number and an offset therefore identify different parts of an I/O request. [open-api] [dup-api] For regular files, lseek can position the cursor beyond EOF without enlarging the file. SEEK_SET, SEEK_CUR and SEEK_END interpret the supplied displacement relative to the beginning, current position and file size respectively. A byte position does not describe physical allocation or a device-sector address. [lseek-api] pread and pwrite supply an explicit position without advancing the current cursor. A separate lseek then read sequence needs coordination if another holder can move that cursor between calls. [pread-api] [dup-api] Limitations: - Not a file length or a measure of consumed or allocated bytes. - Independent cursors do not isolate readers from changes to file content. Sources and caveats: - The byte-position concept is distinct from the open file description that stores a current cursor. Related terms: - [file-size](https://hesela.dev/terms/file-size/) - [end-of-file](https://hesela.dev/terms/end-of-file/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [file-descriptor](https://hesela.dev/terms/file-descriptor/) - [pread](https://hesela.dev/terms/pread/) - [pwrite](https://hesela.dev/terms/pwrite/) - [short-read](https://hesela.dev/terms/short-read/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [file-truncation](https://hesela.dev/terms/file-truncation/) - [regular-file](https://hesela.dev/terms/regular-file/) Citations: - [open-api] Linux man-pages 6.19: open(2), open file descriptions. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-11-02) - [dup-api] Linux man-pages 6.19: dup(2), shared cursor state. https://man7.org/linux/man-pages/man2/dup.2.html (accessed 2026-11-02) - [lseek-api] Linux man-pages 6.19: lseek(2), origins and seeking beyond EOF. https://man7.org/linux/man-pages/man2/lseek.2.html (accessed 2026-11-02) - [pread-api] Linux man-pages 6.19: pread(2), explicit-position I/O. https://man7.org/linux/man-pages/man2/pread.2.html (accessed 2026-11-02) ### File preallocation URL: https://hesela.dev/terms/file-preallocation/ Also known as: file space reservation Status: shipping Record updated: 2026-11-29 Reserving filesystem allocation for a file range before the application writes that range's data. Note: Successful Linux fallocate with mode 0 protects subsequent writes in the allocated range against lack of filesystem space; KEEP_SIZE avoids extending logical length. This is not just an advisory hint. A lower thin pool can still require backing allocations when data is written: an end-to-end capacity reservation is not established by the file operation alone, an inference from the separate layer contracts. Shared extents need an explicit sharing-aware contract; FALLOC_FL_UNSHARE_RANGE can make them private where supported. On Windows, changing file size and advancing valid data length are distinct operations. SetFileValidData can expose bytes without initializing them; it is not an interchangeable zero-initializing reservation primitive. [win-file-end] [win-valid-data] Advantages: - Reserves a selected range before later application writes need its filesystem allocation. (sources: [fallocate]) Limitations: - Allocation is not proof that future application data has been persisted. (sources: [util-fallocate]) - The fallocate interface also has deallocation and zeroing modes, so the API name alone does not identify preallocation. (sources: [fallocate]) - glibc's posix_fallocate fallback can race concurrent writers when native allocation is unsupported; API choice and error handling matter. (sources: [posix-fallocate]) Related terms: - [sparse-file](https://hesela.dev/terms/sparse-file/) - [hole-punching](https://hesela.dev/terms/hole-punching/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) - [fsync](https://hesela.dev/terms/fsync/) - [file-extent](https://hesela.dev/terms/file-extent/) - [unwritten-extent](https://hesela.dev/terms/unwritten-extent/) - [reflink](https://hesela.dev/terms/reflink/) - [delayed-allocation](https://hesela.dev/terms/delayed-allocation/) - [posix-fallocate](https://hesela.dev/terms/posix-fallocate/) - [statvfs](https://hesela.dev/terms/statvfs/) - [filesystem-quota](https://hesela.dev/terms/filesystem-quota/) - [swapfile](https://hesela.dev/terms/swapfile/) - [falloc-fl-unshare-range](https://hesela.dev/terms/falloc-fl-unshare-range/) - [set-file-valid-data](https://hesela.dev/terms/set-file-valid-data/) Citations: - [fallocate] Linux man-pages: fallocate(2), allocation and mode contracts. https://www.man7.org/linux/man-pages/man2/fallocate.2.html (accessed 2026-10-12) - [util-fallocate] util-linux 2.41.2: fallocate(1), preallocation, punching and zeroing. https://raw.githubusercontent.com/util-linux/util-linux/v2.41.2/sys-utils/fallocate.1.adoc (accessed 2026-10-12) - [lvmthin] LVM2: lvmthin(7), physical allocation, discards and pool exhaustion. https://man7.org/linux/man-pages/man7/lvmthin.7.html (accessed 2026-10-12) - [hesela-allocation] Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ (accessed 2026-10-13) - [posix-fallocate] Linux man-pages: posix_fallocate(3), return convention and glibc caveats. https://man7.org/linux/man-pages/man3/posix_fallocate.3.html (accessed 2026-10-16) - [win-valid-data] Microsoft Learn: SetFileValidData, privilege requirements and stale-content disclosure. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-setfilevaliddata (accessed 2026-11-29) - [win-file-end] Microsoft Learn: SetEndOfFile, file size versus valid data length. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-setendoffile (accessed 2026-11-29) ### Linux file sealing URL: https://hesela.dev/terms/file-sealing/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: file seals, memfd sealing Status: shipping Record updated: 2026-10-23 Linux file sealing irreversibly restricts selected operations on a supported file, with restrictions shared by all descriptors referring to its inode. Note: Scope: F_ADD_SEALS adds irreversible inode-wide restrictions; F_GET_SEALS reads them. Adding seals requires a writable descriptor. F_SEAL_SEAL blocks further additions, not data changes. [seals-api] Writes: F_SEAL_WRITE blocks backing-object writes but requires releasing shared mappings with potential write capability. A PROT_READ mapping created from O_RDWR can still block it. FUTURE_WRITE leaves earlier shared writable mappings usable; private COW edits do not modify the file. [seals-api] [seals-capability] Mapping order: downgrading an earlier shared mapping with mprotect need not revoke its potential write capability. A later shared read-only mapping created under FUTURE_WRITE cannot be upgraded. A separately reopened O_RDONLY mapping is distinct: it cannot be upgraded but sees other writers before sealing. [seals-mapping] [mprotect-api] Size: WRITE does not prevent resizing; add SHRINK and GROW to fix the extent. Volatile memfd seals provide neither persistence nor origin authentication. [seals-kernel] Handoff: SCM_RIGHTS and dup share an open file description's offset. Seals do not stop another holder from seeking. [handoff-unix] In a 4096-byte handoff, read and dup-read consumed 3072 unchanged suffix bytes after a sender seek to 1024; positional and reopened controls read all 4096. [hesela-handoff] Consumption: pread supplies an explicit offset. A complete reader still checks errors, short reads and expected coverage; byte stability and valid format do not prove complete consumption. [handoff-pread] Advantages: - Kernel enforcement can constrain a peer that holds a writable descriptor. Limitations: - A receiver still needs to inspect the actual seal mask and validate the application's data format. Sources and caveats: - The companion probe tests seven sequential cases on one host, not a concurrent interprocess protocol. - The source review uses Linux v6.12 code to explain mechanisms; the measured kernel is recorded separately. - Three additional mapping-capability controls and raw observations: https://hesela.dev/research/file-seal-capability.json; runnable source: https://hesela.dev/research/file-seal-capability.py. - A separate two-process SCM_RIGHTS supplement tests eleven ordered cases three times per capture; this does not change the earlier sequential experiments' populations. Raw evidence and reproduction guide: https://hesela.dev/research/sealed-handoff/README.md. Related terms: - [memfd-create](https://hesela.dev/terms/memfd-create/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [file-truncation](https://hesela.dev/terms/file-truncation/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [open-file-description](https://hesela.dev/terms/open-file-description/) Citations: - [seals-api] Linux man-pages: F_GET_SEALS / F_ADD_SEALS. https://man7.org/linux/man-pages/man2/F_ADD_SEALS.2const.html (accessed 2026-10-17) - [seals-kernel] Linux v6.12: memfd sealing implementation. https://github.com/torvalds/linux/blob/v6.12/mm/memfd.c (accessed 2026-10-17) - [seals-mapping] Linux v6.12: seal_check_write mapping checks. https://github.com/torvalds/linux/blob/v6.12/include/linux/mm.h (accessed 2026-10-17) - [seals-capability] Linux v6.12: shared mappings with potential write capability. https://github.com/torvalds/linux/blob/v6.12/include/linux/fs.h#L520-L547 (accessed 2026-10-18) - [mprotect-api] Linux man-pages: mprotect(2), access changes and EACCES. https://man7.org/linux/man-pages/man2/mprotect.2.html (accessed 2026-10-18) - [handoff-unix] Linux man-pages: unix(7), SCM_RIGHTS shares the open file description. https://man7.org/linux/man-pages/man7/unix.7.html (accessed 2026-10-23) - [handoff-pread] Linux man-pages: pread(2), explicit offsets and short reads. https://man7.org/linux/man-pages/man2/pread.2.html (accessed 2026-10-23) - [hesela-handoff] Hesela: sealed bytes and a shared read cursor. https://hesela.com/analyses/mmap-visibility-size-durability/#sealed-handoff (accessed 2026-10-23) ### File signature URL: https://hesela.dev/terms/file-signature/ Also known as: Magic number, Magic bytes Status: shipping Record updated: 2026-11-22 A file signature is a specified byte sequence at a defined position used to help identify a file format. Note: Scope: Media-type registrations can describe magic bytes and filename extensions separately. A format signature identifies a byte pattern; it is neither a checksum of the whole file nor a cryptographic digital signature. [media-registration] Example: PNG starts with hexadecimal bytes 89 50 4E 47 0D 0A 1A 0A. Those eight bytes alone match the PNG image-type pattern in the MIME Sniffing Standard, but do not form a conforming PNG datastream: required chunks, including IHDR and IEND, are absent. [png-signature] [mime-pattern] Validation: Check the selected format's complete structural and data requirements after identification. A filename, declared media type or successful prefix comparison does not establish completeness, authenticity or application suitability. [png-signature] [http-media-type] Ambiguity: Binary polyglots allow multiple formats to coexist in the same bytes. Albertini et al. distinguish these from near polyglots that require byte changes. Validation for one format therefore does not establish a unique interpretation or safety in another consumer. [polyglot-formats] Sources and caveats: - The signature-only PNG case is a specification-derived counterexample, not a measured decoder result. - The executable example tests only the eight-byte PNG prefix rule; it is not a general MIME sniffer or a PNG validator. Related terms: - [media-type](https://hesela.dev/terms/media-type/) - [data-serialization](https://hesela.dev/terms/data-serialization/) - [checksum](https://hesela.dev/terms/checksum/) - [byte-order](https://hesela.dev/terms/byte-order/) Citations: - [http-media-type] RFC 9110: Content-Type and media types, sections 8.3 and 8.3.1. https://www.rfc-editor.org/rfc/rfc9110.html#section-8.3 (accessed 2026-11-22) - [media-registration] RFC 6838: additional media-type identification information, section 4.12. https://www.rfc-editor.org/rfc/rfc6838.html#section-4.12 (accessed 2026-11-22) - [png-signature] W3C PNG Third Edition: file signature and datastream conformance. https://www.w3.org/TR/2025/REC-png-3-20250624/#5PNG-file-signature (accessed 2026-11-22) - [mime-pattern] WHATWG MIME Sniffing: matching an image type pattern. https://mimesniff.spec.whatwg.org/#matching-an-image-type-pattern (accessed 2026-11-22) - [polyglot-formats] Albertini et al., USENIX Security 2022: binary versus near polyglots and format characteristics, sections 4.2-4.4. https://www.usenix.org/system/files/sec22-albertini.pdf#page=8 (accessed 2026-11-22) - [hesela-context] Hesela: identify the format, then validate the file. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#format-identification (accessed 2026-11-22) ### File size URL: https://hesela.dev/terms/file-size/ Also known as: logical file size, file length Status: shipping Record updated: 2026-11-29 A regular file's logical size is its length in bytes, including holes, rather than the space allocated to store it. Note: On Linux, st_size reports regular-file length in bytes. st_blocks counts allocated 512-byte units, while st_blksize is a preferred I/O size, not the multiplier for that count. Neither field directly measures a lower thin pool's consumption. These regular-file meanings must not be applied to pipe buffers or device capacity. [inode] [hesela-capacity] The file offset is a position, not a length. lseek can move it beyond EOF without growing the file; writing there can extend the file and leave a zero-reading gap. FALLOC_FL_KEEP_SIZE can instead allocate beyond EOF without increasing st_size. Allocation, length and cursor position can therefore change independently. [lseek] [fallocate] A status call does not freeze file contents. Linux permits different returned fields to reflect different moments during concurrent changes. An observed length is not a promise that a later read will see the same file state. [stat] In Stender et al.'s 2008 XtreemFS design, a server missing a requested chunk may need other servers' size information to distinguish a hole from EOF. Growth uses asynchronously propagated bounds; shrinking needs ordered truncate epochs. This historical protocol is not a claim about current Windows or other distributed file systems. [stender-striping] Limitations: - Logical length does not establish physical allocation, content identity or durability. Sources and caveats: - Primary-documentation synthesis for regular-file accounting, not a new allocation or crash experiment. Related terms: - [end-of-file](https://hesela.dev/terms/end-of-file/) - [file-offset](https://hesela.dev/terms/file-offset/) - [regular-file](https://hesela.dev/terms/regular-file/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [file-truncation](https://hesela.dev/terms/file-truncation/) Citations: - [inode] Linux man-pages: inode(7), size and allocation fields. https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-11-15) - [lseek] Linux man-pages: lseek(2), cursor movement and file growth. https://man7.org/linux/man-pages/man2/lseek.2.html (accessed 2026-11-15) - [fallocate] Linux man-pages: fallocate(2), KEEP_SIZE allocation. https://man7.org/linux/man-pages/man2/fallocate.2.html (accessed 2026-11-15) - [stat] Linux man-pages: stat(2), concurrent metadata observations. https://man7.org/linux/man-pages/man2/stat.2.html (accessed 2026-11-15) - [hesela-capacity] Hesela: File length, EOF and zero bytes. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/#file-size-eof (accessed 2026-11-15) - [stender-striping] Stender et al. (2008): Striping without Sacrifices, sections 2-4. https://www.usenix.org/legacy/event/lasco08/tech/full_papers/stender/stender_html/index.html (accessed 2026-11-29) ### File storage URL: https://hesela.dev/terms/file-storage/ Also known as: file-level storage, network file sharing Status: shipping Record updated: 2026-11-15 File storage presents data as named files, commonly organized in directories, through a file-system interface. Note: File access does not require a network or multiple clients. A local file system can provide it on an attached disk or on a SAN volume assigned to one host; NAS provides file access over a network. The existing alias 'network file sharing' describes that network case, not the full meaning of file storage [snia-file] [rhel-filesystems]. The file interface and the underlying storage interface are different layers. Linux's Virtual File System presents a common interface to user programs across different file-system implementations. Applications use names and file operations while the implementation manages the underlying representation [linux-vfs]. For network access, NFS and SMB supply their own sharing contracts. NFSv4 integrates locking with lease-based state; NFSv4.1 adds optional pNFS layouts that separate metadata handling from data access. SMB transport and dialect support also vary. Select the deployed protocol and implementation before making assumptions about caching, locking or recovery [rfc7530] [rfc8881] [ms-smb2-transport]. Sharing a file service is different from mounting one block volume on several hosts. A shared-disk file system coordinates those hosts' metadata and cached state; ordinary local file systems do not acquire that capability merely because their block device is reachable from more than one machine [rhel-filesystems]. Advantages: - File names and directory operations give applications an interface distinct from the underlying storage layout, whether the file system is local or network-backed. (sources: [snia-file], [linux-vfs]) - NFSv4.1 adds optional parallel access (pNFS) so clients can read file data directly from the storage devices, which the RFC says can significantly improve performance when data is on multiple or faster devices. (sources: [rfc8881]) - SMB 2 and 3 can run over Direct TCP, RDMA (3.0 and later) and QUIC (3.1.1), so the same file-sharing model works over different transports. (sources: [ms-smb2-transport]) Limitations: - Protocol versions differ in behaviour: NFSv3 assumes a stateless server and a 64-byte maximum file handle, while NFSv4 keeps lease-based lock state at the server, so features and failure behaviour depend on the version in use. (sources: [rfc1813], [rfc7530]) - Security is optional to deploy: RPCSEC_GSS must be implemented in NFSv4 but its deployment is optional, and pNFS is an optional feature of NFSv4.1. (sources: [rfc7530], [rfc8881]) - A file interface alone does not specify concurrency or recovery behavior; network file services and shared-disk file systems coordinate access at different layers. (sources: [rhel-filesystems]) Related terms: - [nas](https://hesela.dev/terms/nas/) - [object-storage](https://hesela.dev/terms/object-storage/) - [block-storage](https://hesela.dev/terms/block-storage/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [smb-protocol](https://hesela.dev/terms/smb-protocol/) - [shared-disk-filesystem](https://hesela.dev/terms/shared-disk-filesystem/) - [npy](https://hesela.dev/terms/npy/) - [filesystem](https://hesela.dev/terms/filesystem/) Citations: - [c1] File storage. https://en.wikipedia.org/wiki/File_server (accessed 2026-03-26) - [rfc7530] IETF RFC 7530: Network File System (NFS) Version 4 Protocol (March 2015). https://www.rfc-editor.org/rfc/rfc7530 (accessed 2026-10-16) - [rfc8881] IETF RFC 8881: Network File System (NFS) Version 4 Minor Version 1 Protocol (August 2020). https://www.rfc-editor.org/rfc/rfc8881 (accessed 2026-10-16) - [rfc1813] IETF RFC 1813: NFS Version 3 Protocol Specification (June 1995). https://www.rfc-editor.org/rfc/rfc1813 (accessed 2026-10-16) - [ms-smb2] [MS-SMB2] Server Message Block (SMB) Protocol Versions 2 and 3 (vendor-published protocol specification, revision list). https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/5606ad47-5ee0-437a-817e-70c366052962 (accessed 2026-10-16) - [ms-smb2-transport] [MS-SMB2] Transport section (vendor-published protocol specification). https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/1dfacde4-b5c7-4494-8a14-a09d3ab4cc83 (accessed 2026-10-16) - [snia-file] SNIA Dictionary: file storage (terminology). https://www.snia.org/education/online-dictionary/term/file-storage (accessed 2026-10-19) - [rhel-filesystems] Red Hat Enterprise Linux 8: Overview of available file systems, local, network and shared-storage categories. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/managing_file_systems/overview-of-available-file-systems_managing-file-systems (accessed 2026-10-19) - [linux-vfs] Linux kernel documentation: Overview of the Linux Virtual File System. https://docs.kernel.org/filesystems/vfs.html (accessed 2026-10-19) ### File truncation URL: https://hesela.dev/terms/file-truncation/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: ftruncate, ftruncate(), truncate() Status: shipping Record updated: 2026-11-15 File truncation changes a regular file to a specified byte length, discarding data beyond a shorter end or extending it when supported. Note: Length and position: Linux ftruncate operates through a writable descriptor without changing the file offset. An extended region reads as zero bytes; this does not imply physical allocation of every block. [truncate-api] Mapped readers: POSIX.1-2017 specifies that shrinking a mapped file discards whole pages beyond the new end, and accessing those pages raises SIGBUS. This rule concerns whole pages, not the unused tail of a partial final page. [posix-truncate] Storage boundary: changing file size and synchronizing it are separate operations. File-size metadata is retrieval-critical for fdatasync. [fsync-api] Sealed size: F_SEAL_SHRINK and F_SEAL_GROW independently restrict size changes on supporting Linux objects; F_SEAL_WRITE alone does not lock file length. [seals-api] Advantages: - A descriptor selects the already-open file without repeating pathname lookup. Limitations: - A successful size change does not safely resize every reader's mapping or provide secure erasure. Sources and caveats: - The mapped-shrink rule is cited to POSIX.1-2017; no claim is made about arbitrary file-growth remapping. - The companion test accesses a discarded whole page in an isolated child process. Related terms: - [file-size](https://hesela.dev/terms/file-size/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [fdatasync](https://hesela.dev/terms/fdatasync/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [msync](https://hesela.dev/terms/msync/) - [file-sealing](https://hesela.dev/terms/file-sealing/) - [memfd-create](https://hesela.dev/terms/memfd-create/) Citations: - [truncate-api] Linux man-pages: truncate(2), regular-file length and offset. https://man7.org/linux/man-pages/man2/truncate.2.html (accessed 2026-10-17) - [posix-truncate] POSIX.1-2017: ftruncate(), discarded mapped pages. https://man7.org/linux/man-pages/man3/ftruncate.3p.html (accessed 2026-10-17) - [fsync-api] Linux man-pages: fsync(2), fdatasync and file-size metadata. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-17) - [hesela-mmap] Hesela: Memory-mapped files: visibility, size and synchronization. https://hesela.com/analyses/mmap-visibility-size-durability/ (accessed 2026-10-17) - [seals-api] Linux man-pages: F_GET_SEALS / F_ADD_SEALS. https://man7.org/linux/man-pages/man2/F_ADD_SEALS.2const.html (accessed 2026-10-17) ### Filename collision URL: https://hesela.dev/terms/filename-collision/ Also known as: File name collision Status: shipping Record updated: 2026-11-17 A filename collision occurs when distinct required file names resolve to the same destination entry under a naming or lookup policy. Note: Identity boundary: stored spelling, canonical Unicode equivalence and case-insensitive lookup are different properties. Linux ext4 documents name-preserving, per-directory case-insensitive lookup; Windows also exposes per-directory case-sensitivity controls. Do not infer destination rules from the operating-system name alone. [ext4] [windows] Verification consequence: content equality cannot establish that every required directory entry survives. In Hesela's fixed application-transform experiment, two equal-content names collapse to one while both content checks pass. Preserve lossless original names, the intended mapping and a complete output inventory alongside payload checks. This is a scoped acceptance-test lesson, not a filesystem emulator or a backup-product failure rate. [hesela-filenames] Evidence scope: Basu and colleagues study resource-type collisions and resulting data or metadata changes. Their 2022 preprint motivates destination-specific checks, not a claim that all current copy tools share one behavior. [basu] A lookup-hash collision is a different relation. exFAT can assign the same NameHash to unequal names, and its lookup must resolve the candidate by comparing names. Linux v6.16 does that after checking hash and length. Do not replace a destination-name comparison with a hash-only inventory check. [exfat-lookup] The cited preprint was published at FAST 2023. Section 8 explains why checking only an archive can miss pre-existing destination entries or use different name rules; a preflight check also does not remove concurrent path-change risks. These are design limitations, not evidence that a current product is vulnerable. [basu-fast23] Advantages: - Explicit collision handling can prevent accidental merging of distinct required entries. Limitations: - A generic Unicode transform does not establish a particular filesystem's complete name-resolution behavior. - Single-component collision checks do not cover links, parent components, pre-existing targets or concurrent changes. Sources and caveats: - Primary documentation, historical preprint and controlled synthetic observations; no current product vulnerability claim. - 2026-11-08: full FAST 2023 publication and pinned Linux v6.16 lookup reviewed; no new native filesystem experiment. Related terms: - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [archive-member](https://hesela.dev/terms/archive-member/) - [exfat](https://hesela.dev/terms/exfat/) - [character-encoding](https://hesela.dev/terms/character-encoding/) - [utf-8](https://hesela.dev/terms/utf-8/) - [unicode-normalization](https://hesela.dev/terms/unicode-normalization/) Citations: - [ext4] Linux kernel documentation: ext4 case-insensitive file name lookups. https://docs.kernel.org/admin-guide/ext4.html#case-insensitive-file-name-lookups (accessed 2026-10-20) - [windows] Microsoft Learn: per-directory case sensitivity. https://learn.microsoft.com/en-us/windows/wsl/case-sensitivity (accessed 2026-10-20) - [basu] Basu, Sampson, Qian and Jaeger (2022): Unsafe at Any Copy, arXiv:2211.16735v1. https://arxiv.org/abs/2211.16735v1 (accessed 2026-10-20) - [hesela-filenames] Hesela: Restoring file names: when matching hashes hide a lost entry. https://hesela.com/analyses/filename-identity-backup-restores/ (accessed 2026-10-20) - [exfat-lookup] Linux v6.16: fs/exfat/dir.c, exfat_find_dir_entry. https://github.com/torvalds/linux/blob/v6.16/fs/exfat/dir.c (accessed 2026-11-08) - [basu-fast23] Basu, Sampson, Qian and Jaeger: Unsafe at Any Copy, FAST 2023, pp. 183-198. https://www.usenix.org/system/files/fast23-basu.pdf (accessed 2026-11-08) ### Filesystem aging URL: https://hesela.dev/terms/filesystem-aging/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: file system aging Status: shipping Record updated: 2026-11-21 Filesystem aging is the evolution of allocation layout through file operations that can degrade performance even when the logical contents remain comparable. Note: This is layout history, not calendar age or NAND wear. A benchmark should distinguish within-file placement, locality between related files and the distribution of remaining free space. Image preparation and the subsequent device workload need separate controls, and a restored filesystem image does not establish identical SSD state. [conway17] A worked example shows the scale: a 100 MiB file split into 200 pieces, read at 100 MiB/s with 5 ms per seek, takes twice as long as a contiguous copy. In a replayed version-control workload of 10,000 pulls, measured every 100 pulls against the same contents copied to a fresh partition, a few hundred pulls doubled read cost, and slowdowns exceeded 50x on a hard disk and reached 2-5x on an SSD. [conway17] The follow-up separated a synthetic fragmentation workload from Git-history replay. Under Git replay, a fuller HDD added about 20% to ext4 read cost, with little extra cost for XFS/Btrfs on HDD or the tested filesystems on SSD. The synthetic workload produced stronger fullness effects, including an ext4 HDD outlier and Btrfs SSD write degradation. Its usually-below-20% read comparison concerned SSDs, with Btrfs excepted; it is not a universal fullness penalty. [conway19] Advantages: - Replaying a realistic update stream and comparing it with a freshly copied tree exposes layout effects that a newly written benchmark image hides. (sources: [conway17]) Limitations: - Effects depend on workload, filesystem version, cache policy and hardware. - Historical aging experiments are not a ranking of current filesystems. - A throughput change alone does not determine per-request tail latency. Sources and caveats: - conway17 re-read 2026-10-23 for the fragmented-file example, the 10,000-pull replay and the hard-disk and SSD slowdowns. - conway19 re-read 2026-10-23 for the fullness comparison and the write-side effect of free-space fragmentation. - A companion analysis on throughput denominators is listed but not used in prose. - 2026-11-05: corrected an overbroad fullness summary by separating workload and device comparisons; no new experiment. Related terms: - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [dynamic-layout-score](https://hesela.dev/terms/dynamic-layout-score/) - [ssd-preconditioning](https://hesela.dev/terms/ssd-preconditioning/) - [ssd-steady-state](https://hesela.dev/terms/ssd-steady-state/) - [active-lba-range](https://hesela.dev/terms/active-lba-range/) - [winefs](https://hesela.dev/terms/winefs/) - [chopper](https://hesela.dev/terms/chopper/) Citations: - [conway17] Conway et al. File Systems Fated for Senescence? Nonsense, Says Science! FAST 2017, pp. 45-58, sections 3.3, 4 and 6. https://www.usenix.org/system/files/conference/fast17/fast17-conway.pdf (accessed 2026-10-23) - [conway19] Conway et al. Filesystem Aging: It's more Usage than Fullness. HotStorage 2019, sections 3-5, Figures 1-3. https://files.usenix.org/s3fs-public/cdn/hotstorage19-paper-conway.pdf (accessed 2026-11-05) - [hesela-aging] Hesela: filesystem-aging evidence, source reconciliation and throughput denominators. https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/#throughput-denominators (accessed 2026-10-20) ### Filesystem block URL: https://hesela.dev/terms/filesystem-block/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: file system block, filesystem block size Status: shipping Record updated: 2026-11-15 A filesystem block is a filesystem-defined unit used to address file data or metadata, distinct from a device's logical sector. Note: Ext4 records structure locations as block numbers rather than absolute byte offsets; its block size is selected when the filesystem is created. This describes ext4's layout, not every system's use of the word block. [ext4-blocks] With ext4 bigalloc, the allocation bitmap tracks clusters of multiple blocks. The filesystem block and allocation unit therefore describe different layers even within one filesystem. Neither name specifies an application's I/O request size. [ext4-bigalloc] A small ext4 file may store its data inside the inode instead of receiving a separate data block. Distinguish logical file length, allocated data space and metadata when reporting storage use. [ext4-inline] FreeBSD newfs configures both a block size and a fragment size for UFS1/UFS2. Block size alone therefore does not specify the smallest allocation granularity. [freebsd-newfs] API fields named block size need their own units. On Linux, st_blksize is an I/O-size hint, whereas st_blocks counts allocated space in 512-byte units. Multiplying st_blocks by st_blksize is not the documented conversion to bytes. [linux-stat] These file-level fields are separate from statvfs block counters, which use f_frsize. [linux-statvfs] Sources and caveats: - Ext4 is an explicit example, not a universal fixed-block-size requirement for all filesystems. - The st_blocks and st_blksize interpretation above is scoped to Linux, not a cross-platform guarantee. [linux-stat-portability] Related terms: - [allocation-unit](https://hesela.dev/terms/allocation-unit/) - [ext4](https://hesela.dev/terms/ext4/) - [ext4-bigalloc](https://hesela.dev/terms/ext4-bigalloc/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [file-extent](https://hesela.dev/terms/file-extent/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [statvfs](https://hesela.dev/terms/statvfs/) - [filesystem](https://hesela.dev/terms/filesystem/) Citations: - [ext4-blocks] Linux kernel documentation: ext4 blocks and block-number addressing. https://docs.kernel.org/filesystems/ext4/blocks.html (accessed 2026-11-01) - [ext4-bigalloc] Linux kernel documentation: ext4 clustered allocation. https://docs.kernel.org/filesystems/ext4/bigalloc.html (accessed 2026-11-01) - [ext4-inline] Linux kernel documentation: ext4 inline data. https://docs.kernel.org/filesystems/ext4/inlinedata.html (accessed 2026-11-01) - [freebsd-newfs] FreeBSD newfs(8): separate block-size and fragment-size parameters. https://man.freebsd.org/cgi/man.cgi?query=newfs&sektion=8&format=html (accessed 2026-11-01) - [linux-stat] Linux man-pages: stat(3type), logical length, preferred I/O size and allocated-block units. https://man7.org/linux/man-pages/man3/stat.3type.html (accessed 2026-11-01) - [linux-statvfs] Linux man-pages: statvfs(3), block-counter units and field-availability limits. https://man7.org/linux/man-pages/man3/statvfs.3.html (accessed 2026-11-01) - [linux-stat-portability] Linux man-pages: stat(2), portability of st_blocks and st_blksize. https://man7.org/linux/man-pages/man2/stat.2.html (accessed 2026-11-01) ### Filesystem consistency invariant URL: https://hesela.dev/terms/filesystem-consistency-invariant/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: File-system consistency invariant Status: research Record updated: 2026-11-13 A filesystem consistency invariant is a rule relating filesystem metadata that must hold at a defined consistency boundary. Note: Recon checked metadata relationships at transaction commit, which differs from validating a block checksum. It interposed at the block layer, turned ext3 metadata updates into change records and let a transaction commit only when every invariant held. It covered the mandatory-feature checks of e2fsck, expressed as 101 SQCK rules, with 31 invariants, because many fields are easier to verify at runtime. [recon12] In the 2012 corruption experiments, e2fsck still found errors in 28 of 731 cases (3.8%) when run again on a file system it had repaired. The reported 8% average throughput loss at 128 MB cache / 64 MB journal, and 15% worst loss at the smallest 64 MB cache, concern workload execution, not initial setup. Table 6 reports Webproxy setup at 323.0 versus 229.4 seconds with a 64 MB cache / 32 MB journal: 40.8% extra elapsed time, calculated from the printed means. [recon12] The 2014 follow-up checked per-write location invariants as well, rather than assuming transactional writes were correct. These express atomicity and durability at each block write for journaling and shadow paging. Its Btrfs checker reached about 90% of native performance on a read-heavy web server profile once noatime was enabled. [recon14] The 2014 checker treated revoked blocks as checkpointed when releasing transactions after metadata-to-data reuse. This prevents an older metadata image from overwriting newly stored file data. [recon14] JBD2 documentation distinguishes revocation from mere journal-version supersession; a one-transaction checkpoint model does not cover either mechanism. [jbd2-revocation] The 15 setup ratios use rounded means, not ratio confidence intervals or a benchmark rerun. Cache and journal sizes changed together. [hesela-recon-cost] Advantages: - Stops a corrupting metadata update before its transaction commits, rather than finding it later in an offline check. (sources: [recon12]) Limitations: - Coverage depends on the specified rules, observation point and implementation; it does not establish application-level correctness. (sources: [recon12], [recon14]) - Checks interpret on-disk formats independently of the file system code, so each format change needs matching interpretation code. (sources: [recon12]) - The 2012 evaluation used transaction-layer commit checks and did not verify checkpointing. Its injector excluded misdirected writes; an unrecognized ext3 metadata target could be treated as data. (sources: [recon12]) - The argument starts from consistent metadata and trusts the checker, its protected cache and lower storage layers. Passing commit-time checks alone is not proof that committed updates survive recovery. (sources: [recon12], [recon14]) - The 2014 ext3 prototype added an on-disk metadata allocation bitmap; it was not an unmodified ext3 deployment. Its data-flush exception does not detect misdirected writes between data blocks. (sources: [recon14]) Sources and caveats: - recon12 is Fryer et al., FAST 2012, read in sections 1 to 5. - recon14 is Fryer et al., FAST 2014, read in sections 1 to 3 and 5. - 31 invariants, 101 SQCK rules, 28 of 731 (3.8%), 8%, 15%, 64 MB and 128 MB come from recon12. - About 90% of native performance with noatime comes from recon14. - 2026-11-06: rechecked the updated 2012 paper, sections 2.4 and 4.1, and the 2014 paper, sections 2.2-3.2; added explicit fault-model limitations. - 2026-11-06: sections 3.2 and 4.3 bound the modified-ext3 prototype and data-flush exception. - 2026-11-07: FAST 2014 section 4.3.2 and Linux JBD2 Revocation Block distinguish reuse protection, supersession and the one-transaction model boundary. - 2026-11-13: visually checked updated FAST 2012 PDF Table 6; all 15 printed ratios agree to one decimal. Clarified setup-time versus throughput denominator; public recon-cost packet rechecks arithmetic, not a benchmark rerun. Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [background-fsck](https://hesela.dev/terms/background-fsck/) - [ext4-data-ordered](https://hesela.dev/terms/ext4-data-ordered/) - [journal-checksum](https://hesela.dev/terms/journal-checksum/) - [journal-revoke-record](https://hesela.dev/terms/journal-revoke-record/) - [journal-checkpoint](https://hesela.dev/terms/journal-checkpoint/) - [crash-consistent-filesystem-repair](https://hesela.dev/terms/crash-consistent-filesystem-repair/) - [sqck](https://hesela.dev/terms/sqck/) - [recon](https://hesela.dev/terms/recon/) - [ffsck](https://hesela.dev/terms/ffsck/) Citations: - [recon12] Fryer et al. Recon: Verifying File System Consistency at Runtime. FAST 2012, sections 2.4, 4.1 and 5. https://www.usenix.org/system/files/conference/fast12/fryer2-16-12.pdf (accessed 2026-11-13) - [recon14] Fryer et al. Checking the Integrity of Transactional Mechanisms. FAST 2014, sections 1-5. https://www.usenix.org/system/files/conference/fast14/fast14-paper_fryer.pdf (accessed 2026-11-07) - [hesela-scrub] Hesela: Disk scrubbing, checksum coverage and consistency boundaries. https://hesela.com/analyses/scrubbing-detection-not-durability/ (accessed 2026-10-13) - [jbd2-revocation] Linux kernel documentation: ext4 Journal (jbd2), Revocation Block; metadata-to-data reuse versus supersession. https://www.kernel.org/doc/html/latest/filesystems/ext4/journal.html#revocation-block (accessed 2026-11-07) - [hesela-recon-cost] Hesela: Recon setup-time arithmetic, all 15 published mean pairs and reproducible checks. https://hesela.dev/research/recon-cost-README.md (accessed 2026-11-13) ### Filesystem defragmentation URL: https://hesela.dev/terms/filesystem-defragmentation/ Status: shipping Record updated: 2026-11-29 Reorganizing a file's storage extents to reduce fragmentation while preserving its logical contents. Note: In a copy-on-write filesystem a rewrite of file data creates a new copy that can land far from the rest of the file, so fragmentation is inherent to the design. The cost is highest on rotating disks because the heads must move to distant locations, while on devices without seeks the remaining benefit is less metadata for tracking scattered extents. Btrfs defragmentation does not preserve extent sharing with reflink copies or snapshots, so data-space use can increase. [btrfs-defrag] The btrfs-progs v6.16 command requires kernel 2.6.33 or newer. Its -t value is an advisory target extent size with a kernel default of 256 KiB, and larger extents are skipped. The recursive -r option does not descend into nested subvolumes, mount points or directory symlinks. The -f option flushes each file before the next one to limit dirty data, and without it the accumulated writes can end in ENOSPC when reservations for the new copies cannot be made. [btrfs-filesystem] The ext4 tool e4defrag works on extent-based files, and with -c it only reports a fragmentation score computed from the current and ideal extent counts without changing the file. Its manual gives 131072 KB as the maximum extent size at a 4 KB block size and excludes swap files, files in lost+found and files mapped through indirect blocks. [e4defrag] Advantages: - Files in active use can be defragmented safely because the copy goes through the page cache, which handles synchronization. (sources: [btrfs-defrag], [e4defrag]) Limitations: - Copying through the page cache can slow both the defragmenter and the application through contention for memory and disk bandwidth. (sources: [e4defrag]) - When free space is itself fragmented or scarce, the requested layout may not be reached. (sources: [btrfs-filesystem], [e4defrag]) Sources and caveats: - Btrfs behavior follows pinned btrfs-progs v6.16 documentation, and ext4 behavior follows the e4defrag manual page from e2fsprogs v1.47.2. - Other filesystems can have different sharing and traversal contracts. - The kernel versions, the 256 KiB default and the 131072 KB extent limit are quoted from the documentation and were not measured. Related terms: - [file-extent](https://hesela.dev/terms/file-extent/) - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [reflink](https://hesela.dev/terms/reflink/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [transparent-compression](https://hesela.dev/terms/transparent-compression/) - [btrfs-filesystem-du](https://hesela.dev/terms/btrfs-filesystem-du/) - [btrfs-balance](https://hesela.dev/terms/btrfs-balance/) Citations: - [btrfs-defrag] Btrfs-progs v6.16: Defragmentation, extent sharing and compression. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/Defragmentation.rst (accessed 2026-10-23) - [btrfs-filesystem] Btrfs-progs v6.16: filesystem defragment, traversal, extent targets and reservations. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/btrfs-filesystem.rst (accessed 2026-10-23) - [hesela-clones] Hesela: Fast file clones and deferred copying costs. https://hesela.com/analyses/file-clones-deferred-copy-cost/ (accessed 2026-10-16) - [e4defrag] e2fsprogs v1.47.2: e4defrag(8) manual page, options and notes. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.2/misc/e4defrag.8.in (accessed 2026-10-23) ### Filesystem freeze URL: https://hesela.dev/terms/filesystem-freeze/ Also known as: fsfreeze, Filesystem freezing Status: shipping Record updated: 2026-10-15 A filesystem freeze temporarily blocks modifications after completing ongoing filesystem transactions and flushing dirty filesystem data, metadata and logs to storage. Note: Linux fsfreeze requires a mounted filesystem with freeze support; blocked modifications resume after thaw. [util-linux-freeze] QEMU v10.1.0 freezes eligible local guest filesystems and returns a count, which may be zero; its list variant ignores invalid mountpoints. That count does not establish coverage of every application dependency. [qemu-freeze] Filesystem transactions are not application transactions: application preparation is a separate concern. [microsoft-vss] Advantages: - Can establish a stable filesystem image for snapshot-capable storage. (sources: [util-linux-freeze]) Limitations: - Writers can remain blocked until thaw; a recovery procedure must account for failed capture and cleanup. (sources: [util-linux-freeze]) - Files still undergoing unlink can remain represented in the frozen on-disk image until thaw or a clean mount of the snapshot completes. (sources: [util-linux-freeze]) - A guest-agent status report can be invalidated by another process changing freeze state. (sources: [qemu-freeze]) Related terms: - [snapshot](https://hesela.dev/terms/snapshot/) - [application-consistent-snapshot](https://hesela.dev/terms/application-consistent-snapshot/) - [application-quiescing](https://hesela.dev/terms/application-quiescing/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [restore-test](https://hesela.dev/terms/restore-test/) Citations: - [util-linux-freeze] util-linux v2.41.2: fsfreeze(8), filesystem freeze and thaw. https://github.com/util-linux/util-linux/blob/v2.41.2/sys-utils/fsfreeze.8.adoc (accessed 2026-10-15) - [qemu-freeze] QEMU v10.1.0: guest agent freeze protocol and scope. https://github.com/qemu/qemu/blob/v10.1.0/qga/qapi-schema.json (accessed 2026-10-15) - [microsoft-vss] Microsoft: Volume Shadow Copy Service, application writers and snapshot coordination. https://learn.microsoft.com/en-us/windows-server/storage/file-server/volume-shadow-copy-service (accessed 2026-10-15) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-15) ### Filesystem quota URL: https://hesela.dev/terms/filesystem-quota/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: disk quota Status: shipping Record updated: 2026-10-21 A filesystem quota accounts for and can limit storage usage by a user, group or project within a filesystem. Note: Space and inode limits are distinct. With enforcement active, a soft limit permits an excess for a grace period, subject to the hard limit and other constraints. After expiry, further allocation of that resource is blocked until usage falls below the soft limit or policy changes. Hard-limit privilege exceptions depend on the implementation. [quota-kernel] [quotactl] XFS separates quota accounting from enforcement, so recorded usage alone does not show that allocation limits are active. [xfs-quota] Linux write() reports exhausted block quota as EDQUOT, separately from ENOSPC for insufficient data space. [quota-write] Limitations: - An allocation ceiling is not a reservation of capacity in the filesystem or its backing thin pool. (sources: [hesela-capacity]) Sources and caveats: - Linux API and quota documentation review; supported quota types and enforcement depend on the filesystem. [quotactl] Related terms: - [statvfs](https://hesela.dev/terms/statvfs/) - [inode](https://hesela.dev/terms/inode/) - [file-preallocation](https://hesela.dev/terms/file-preallocation/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) Citations: - [quotactl] Linux man-pages: quotactl(2), user, group and project limits. https://man7.org/linux/man-pages/man2/quotactl.2.html (accessed 2026-10-21) - [quota-kernel] Linux kernel: quota subsystem, space/inode limits and grace periods. https://docs.kernel.org/filesystems/quota.html (accessed 2026-10-21) - [quota-write] Linux man-pages: write(2), EDQUOT, ENOSPC and partial writes. https://man7.org/linux/man-pages/man2/write.2.html (accessed 2026-10-21) - [xfs-quota] XFS: xfs_quota(8), accounting versus enforcement. https://man7.org/linux/man-pages/man8/xfs_quota.8.html (accessed 2026-10-21) - [hesela-capacity] Hesela: filesystem quotas and capacity headroom. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/#quota-headroom (accessed 2026-10-21) ### Filesystem UUID URL: https://hesela.dev/terms/filesystem-uuid/ Related analysis: https://hesela.com/analyses/ddrescue-image-provenance/ Also known as: file system UUID, filesystem universally unique identifier Status: shipping Record updated: 2026-11-03 A filesystem UUID is an identifier stored in filesystem metadata and used to select that filesystem independently of its device pathname. Note: Ext4 stores its 128-bit s_uuid at byte offset 0x68 within the superblock; this is distinct from a containing partition's identifier. [ext4-super] Linux mount's UUID= and PARTUUID= selectors refer to different layers. Reformatting a filesystem does not itself change the partition identifier. Copied filesystems can retain the same UUID. [mount-identifiers] A filesystem UUID is an identifier, not a content digest. Matching UUIDs do not establish that two recovery artifacts are distinct or unchanged. Limitations: - UUID availability and representation depend on the filesystem format. - A recognized identifier does not establish filesystem health or recovery completeness. Sources and caveats: - Source review of Linux v6.12 ext4 documentation and util-linux v2.41 mount semantics; no filesystem-formatting or recovery experiment. Related terms: - [unique-partition-guid](https://hesela.dev/terms/unique-partition-guid/) - [partition-type-guid](https://hesela.dev/terms/partition-type-guid/) - [ext4](https://hesela.dev/terms/ext4/) Citations: - [ext4-super] Linux v6.12 ext4 superblock: s_uuid field. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/filesystems/ext4/super.rst (accessed 2026-11-03) - [mount-identifiers] util-linux v2.41 mount(8): filesystem and partition selectors. https://raw.githubusercontent.com/util-linux/util-linux/v2.41/sys-utils/mount.8.adoc (accessed 2026-11-03) ### Filesystem URL: https://hesela.dev/terms/filesystem/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: file system Status: shipping Record updated: 2026-11-22 A filesystem organizes files and their metadata and implements operations for naming, accessing and managing them. Note: A filesystem is an implementation, while file storage describes an access model. A disk-backed filesystem also has a stored representation; these are related meanings, not a requirement that every filesystem use a disk format. [snia-filesystem] [linux-vfs-612] Linux VFS provides a common interface across implementations. Its in-memory dentries can associate pathname components with inode objects; the filesystem supplies operations behind that interface. A shared API does not make those implementations identical. [linux-vfs-612] Local filesystems can use directly attached or SAN-provided block storage. Network filesystems instead let clients access files through a server protocol; the client need not see the server's underlying block layout. [rhel-filesystems] Tmpfs stores files in virtual memory and may use swap when enabled. Unmounting its instance loses its contents. Unlike a regular filesystem placed on a RAM block device, tmpfs does not depend on such a block layer. Swap use does not preserve the files after unmounting. [linux-tmpfs-612] For persistent storage, file contents and the directory entry naming the file have separate synchronization requirements. Linux fsync() on a file does not necessarily persist its containing directory entry; that requires a directory sync as well. [linux-fsync] Persistence testing is asymmetric evidence. In Pillai et al.'s OSDI 2014 study, BOB replayed selected block-write orderings while respecting barriers. A recovered counterexample could refute a persistence property, but successful tested states could not prove it for all executions. The reported filesystem/configuration observations are historical, not guarantees for current kernels. [pillai-osdi2014] Limitations: - Access to the same block volume from several hosts does not provide coordinated shared writes; a shared-disk filesystem needs suitable cluster coordination. (sources: [rhel-filesystems]) Sources and caveats: - Terminology and documentation synthesis; Linux implementation examples are scoped to kernel documentation version 6.12, not a universal filesystem architecture. - No native filesystem or crash-recovery experiment was performed for this definition. - Persistence context: https://hesela.com/analyses/atomic-rename-directory-durability/#filesystem-foundation Related terms: - [file-storage](https://hesela.dev/terms/file-storage/) - [filesystem-block](https://hesela.dev/terms/filesystem-block/) - [inode](https://hesela.dev/terms/inode/) - [dentry](https://hesela.dev/terms/dentry/) - [disk-partition](https://hesela.dev/terms/disk-partition/) Citations: - [snia-filesystem] SNIA Dictionary: file system. https://www.snia.org/education/online-dictionary/term/file-system (accessed 2026-11-15) - [linux-vfs-612] Linux 6.12: Overview of the Linux Virtual File System. https://docs.kernel.org/6.12/filesystems/vfs.html (accessed 2026-11-15) - [linux-tmpfs-612] Linux 6.12: Tmpfs, virtual-memory storage, swap and unmount behavior. https://docs.kernel.org/6.12/filesystems/tmpfs.html (accessed 2026-11-15) - [rhel-filesystems] Red Hat Enterprise Linux 8: local, network and shared-storage filesystems. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/managing_file_systems/overview-of-available-file-systems_managing-file-systems (accessed 2026-11-15) - [linux-fsync] Linux man-pages: fsync(2), file and directory synchronization. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-15) - [pillai-osdi2014] Pillai et al. (OSDI 2014): All File Systems Are Not Created Equal, section 2.2, testing method and limits. https://research.cs.wisc.edu/wind/Publications/alice-osdi14.pdf (accessed 2026-11-15) ### Finesse URL: https://hesela.dev/terms/finesse/ Also known as: Finesse resemblance detection Status: research Record updated: 2026-11-22 Finesse selects candidate chunks for delta compression using features extracted from equal-sized subchunks and grouped by local rank. Note: Mechanism: Each subchunk contributes its largest rolling Rabin fingerprint. Features are split into contiguous groups, sorted within each group, then combined across groups at matching ranks into super-features. This removes the repeated fingerprint transformations of N-transform matching. [paper] Evaluation: Across six backup datasets, feature computation averaged 3.5x and 3.2x faster on the two tested processors; complete prototype throughput improved by 41%-85%. These are different measurements, not interchangeable speedups. The setup used 8 KB expected chunks, twelve features, three super-features, first-match base selection and a 400 MB base cache. [paper] Boundary: Very different chunk sizes can disrupt the corresponding subchunks and lose matches. A resemblance candidate still needs base retrieval and delta encoding; matching a super-feature does not establish byte equality. [paper] Sources and caveats: - Primary-source review of sections 3-5, Algorithms 1-2 and Figure 3; reported prototype results were not independently reproduced. [paper] Related terms: - [resemblance-detection](https://hesela.dev/terms/resemblance-detection/) - [delta-compression](https://hesela.dev/terms/delta-compression/) - [deduplication](https://hesela.dev/terms/deduplication/) - [rolling-hash](https://hesela.dev/terms/rolling-hash/) - [destor](https://hesela.dev/terms/destor/) Citations: - [paper] Zhang et al. Finesse: Fine-Grained Feature Locality based Fast Resemblance Detection for Post-Deduplication Delta Compression. FAST 2019, pp. 121-128. https://www.usenix.org/system/files/fast19-zhang.pdf (accessed 2026-11-22) ### Finite State Entropy URL: https://hesela.dev/terms/finite-state-entropy/ Also known as: FSE Status: shipping Record updated: 2026-11-17 Finite State Entropy is an ANS-based entropy codec whose decoding state indexes a table containing a symbol and instructions for the next state. Note: Direction: Zstandard FSE symbol streams are consumed backward, but their probability-table descriptions are read forward. Reversing the file's bytes is not the decoding procedure. [rfc8878-entropy] Role: Zstandard uses FSE for sequence codes and potentially Huffman weights; compressed literal bytes use Huffman coding. Repeat_Mode reuses the applicable prior sequence table, including a predefined or RLE table, or a dictionary-provided table. A block with zero sequences does not update those tables. [zstd-format-157] Sources and caveats: - Format synthesis, not a new FSE implementation or measured corruption rate. Table reuse must not be confused with reuse of the prior block's final symbol-decoding state. Related terms: - [asymmetric-numeral-systems](https://hesela.dev/terms/asymmetric-numeral-systems/) - [zstandard](https://hesela.dev/terms/zstandard/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) - [huffman-coding](https://hesela.dev/terms/huffman-coding/) Citations: - [rfc8878-entropy] RFC 8878: Zstandard, sections 3.1.1.3.2.1, 4.1 and 5. https://www.rfc-editor.org/rfc/rfc8878.html (accessed 2026-11-17) - [zstd-format-157] Zstandard v1.5.7 format: entropy coding and sequence compression modes. https://raw.githubusercontent.com/facebook/zstd/v1.5.7/doc/zstd_compression_format.md (accessed 2026-11-17) - [hesela-ans] Hesela: entropy state and block recovery dependencies. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#entropy-state (accessed 2026-11-17) ### FIOS URL: https://hesela.dev/terms/fios/ Also known as: Fair, Efficient Flash I/O Scheduler, FIOS scheduler Status: research Record updated: 2026-11-08 FIOS is a research operating-system I/O scheduler combining per-task time budgets, optional read preference, concurrent dispatch and anticipation for flash-storage fairness. Note: Unused timeslice survives task switches within an epoch. An exhausted task waits for renewal; fairness over that epoch is not a per-request latency guarantee. [fios] [flashfq] Optional read preference can withhold writes while reads remain outstanding, but cannot preempt an already dispatched write. The authors allow disabling it when read/write interference is modest. [fios] Limitations: - The historical Linux prototype changed filesystem behavior and disabled journaling; it is not a contemporary NVMe performance ranking. (sources: [fios]) Sources and caveats: - Primary-source synthesis; no scheduler implementation, hardware benchmark or performance replication was performed. Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [anticipatory-scheduling](https://hesela.dev/terms/anticipatory-scheduling/) - [flashfq](https://hesela.dev/terms/flashfq/) Citations: - [fios] Park and Shen. FIOS: A Fair, Efficient Flash I/O Scheduler. FAST 2012, sections 4.1-4.4 and 5. https://static.usenix.org/events/fast12/tech/full_papers/Park.pdf (accessed 2026-11-08) - [flashfq] Shen and Park. FlashFQ. USENIX ATC 2013, sections 3 and 6. https://www.cs.rochester.edu/u/kshen/papers/usenix2013-shen.pdf (accessed 2026-11-08) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-11-08) ### FIP snooping URL: https://hesela.dev/terms/fip-snooping/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: FIP snooping bridge, FSB Status: shipping Record updated: 2026-11-28 FIP snooping observes FCoE Initialization Protocol exchanges to install forwarding filters for permitted virtual links on an Ethernet bridge. Note: During login, the bridge learns connection state and creates dynamic access-control rules. The documented fabric topology distinguishes end-node-facing ports from trusted FCF-facing ports. A port labelled FCF-facing does not turn the bridge into an FCF. [dell-fsb] The R28xx transit implementation learns MAC-address pairs from discovery and successful FLOGI exchanges. It forwards FCoE frames matching those rules and removes the rules when the virtual link is deleted. Those rules describe admitted traffic, not successful storage writes. [h3c-fip] FIP snooping filters traffic; it does not itself encrypt it. Do not infer cryptographic peer authentication merely from a learned login. Ethernet flow control and fabric access policy still need separate checks. [dell-fsb] [h3c-fip] Sources and caveats: - Dell FN IOM 9.10(0.0) and H3C S12500X-AF R28xx document specific fabric-based implementations. Port defaults, ACL precedence and topology support are not universal. [dell-fsb] [h3c-fip] - Authentication, encryption and durable-write non-implications are architectural deductions from the documented filtering mechanism, not security or fault-injection tests. [dell-fsb] [h3c-fip] Related terms: - [fcoe](https://hesela.dev/terms/fcoe/) - [fcoe-initialization-protocol](https://hesela.dev/terms/fcoe-initialization-protocol/) - [fcoe-forwarder](https://hesela.dev/terms/fcoe-forwarder/) Citations: - [dell-fsb] Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0): FIP Snooping on Ethernet Bridges. https://www.dell.com/support/manuals/en-us/poweredge-fx2/fn-iom-9.10.0.0-config-pub/fip-snooping-on-ethernet-bridges?guid=guid-5a3ba7cb-7ef0-4ef2-a532-62e0c6bc8b5a&lang=en-us (accessed 2026-11-28) - [h3c-fip] H3C S12500X-AF R28xx, FC and FCoE configuration: transit mode, FIP snooping and virtual-link maintenance. https://www.h3c.com/en/d_202308/1907059_294551_0.htm (accessed 2026-11-28) ### First-come-first-served scheduling URL: https://hesela.dev/terms/first-come-first-served/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: FCFS, FIFO scheduling, First-in first-out scheduling Status: shipping Record updated: 2026-11-19 First-come-first-served is a nonpreemptive scheduling discipline that selects waiting requests in arrival order when service becomes available. Note: FCFS orders service selection, not requests by size or priority. Once a request starts, a later arrival does not interrupt it. The scheduling rule does not itself require Poisson arrivals; that is a separate assumption in an M/G/1 analysis. [soap] State the queue boundary and how simultaneous arrivals are ordered. With multiple servers, service selection order need not be completion order: an earlier request can take longer on another server. This is a consequence of the model, not a measured storage result. [hesela] A FIFO host queue does not establish end-to-end FCFS storage behavior. Linux blk-mq distinguishes staging, dispatch and tagged completion, and does not promise completion order. Higher layers must explicitly arrange any operation ordering they require. [blk-mq] FIFO cache replacement selects an eviction victim; FCFS scheduling selects work for service. They are separate uses of arrival order. [hesela] Sources and caveats: - Primary-source synthesis and scheduling-model reasoning; no new device benchmark or scheduler implementation. Related terms: - [head-of-line-blocking](https://hesela.dev/terms/head-of-line-blocking/) - [queueing-delay](https://hesela.dev/terms/queueing-delay/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [fifo-replacement](https://hesela.dev/terms/fifo-replacement/) Citations: - [soap] Scully et al. SOAP: One Clean Analysis of All Age-Based Scheduling Policies. PACM 2(1), 16 (2018), section 1. DOI: 10.1145/3179419. https://ziv.codes/scully_soap_2018/scully_soap_2018.pdf (accessed 2026-11-19) - [blk-mq] Linux 6.16: Multi-Queue Block IO Queueing Mechanism, hardware dispatch queues and tag-based completion. https://docs.kernel.org/6.16/block/blk-mq.html (accessed 2026-11-19) - [hesela] Hesela: queue order, blocked work and completion boundaries. https://hesela.com/analyses/ssd-fairness-shared-queues/#queue-order (accessed 2026-11-19) ### FIS-based switching (SATA) URL: https://hesela.dev/terms/fis-based-switching/ Related article: https://hesela.com/tech/sata/ Also known as: SATA FBS Status: shipping Record updated: 2026-11-13 FIS-based switching allows a SATA host to keep commands outstanding to multiple devices behind a port multiplier. Note: The controller preserves each target's context while interleaving FIS traffic. Concurrent device activity still shares one upstream link. [sata-switching] [switching-context] In AHCI, CAP.FBSS and PxCMD.FBSCP report global and per-port capability; PxFBS.EN enables operation. CAP.SPM alone is insufficient. The host port's CAP.NCS + 1 slots remain a shared budget, not a fresh queue per downstream disk. [ahci-switching] Error recovery can pause other targets. When PxFBS.SDE is set, PxFBS.DWE identifies the affected target; other commands pause until software acknowledges and clears the condition through PxFBS.DEC. Other devices resume after hardware clears PxFBS.DEC; the affected device may still need a software reset. A DEC timeout or additional timeouts call for broader recovery. This differs from non-device-specific recovery, which flushes all commands on the port. [ahci-recovery] With several targets active, PxTFD may reflect different devices and is unsafe for command-completion decisions. AHCI directs software to PxCI and PxSACT instead; its exception is commands outstanding to only one device. [ahci-taskfile] Sources and caveats: - SATA-IO sections were checked through indexed primary-specification text; direct PDF retrieval was unavailable. [sata-switching] Related terms: - [sata-port-multiplier](https://hesela.dev/terms/sata-port-multiplier/) - [sata-fis](https://hesela.dev/terms/sata-fis/) - [command-based-switching](https://hesela.dev/terms/command-based-switching/) - [ahci](https://hesela.dev/terms/ahci/) - [native-command-queuing](https://hesela.dev/terms/native-command-queuing/) Citations: - [sata-switching] SATA-IO Serial ATA Revision 2.6, section 16.7, page 545: command-based and FIS-based switching. https://sata-io.org/system/files/specifications/SerialATA_Revision_2_6_Gold.pdf (accessed 2026-10-19) - [switching-context] Scott Knowlton, Synopsys: Understanding SATA FIS-Based Switching (2013), connectivity and shared bandwidth. https://www.chipestimate.com/Understanding-SATA-FIS-Based-Switching/Synopsys/Technical-Article/2013/01/22 (accessed 2026-10-19) - [ahci-switching] Intel AHCI 1.3.1, sections 3.1.1, 3.3.7, 3.3.16 and 9: capabilities and port-multiplier operation. https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1-3-1.pdf (accessed 2026-10-19) - [ahci-recovery] Intel AHCI 1.3.1, sections 9.3.6.1-9.3.6.2 and 9.3.8: device-specific recovery and host-port reset. https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1-3-1.pdf (accessed 2026-10-19) - [ahci-taskfile] Intel AHCI 1.3.1, section 9.3.7: PxTFD register information. https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1-3-1.pdf (accessed 2026-11-13) ### FITRIM URL: https://hesela.dev/terms/fitrim/ Also known as: Filesystem trim ioctl Status: shipping Record updated: 2026-12-04 FITRIM is a Linux ioctl that asks a mounted filesystem to discard unused extents according to a requested byte range and minimum free-extent length. Note: The fields start, len and minlen are unsigned 64-bit integers in the Linux UAPI. The start is filesystem-relative, not an offset within the file used to select the filesystem. fstrim is a userspace caller, not another name for the ioctl or ATA TRIM. [linux-fs-uapi] [fstrim-manual] Input len is the requested search length in bytes; after a successful ioctl, fstrim v2.41.2 prints returned len with --verbose. Its dry-run path exits before the ioctl. Neither process success nor that byte count certifies physical reclamation or sanitization. [fstrim-source] [fstrim-manual] Do not assume returned minlen is the effective threshold. Linux v6.12 ext4 converts the requested value to allocation units and applies device granularity locally when the requested minimum is smaller. It replaces range.len with its reported byte count while leaving range.minlen unchanged before the ioctl copies the structure back. This implementation detail is not a cross-filesystem guarantee. [ext4-trim] [ext4-ioctl] Advantages: - Allows a filesystem to select unused extents instead of indiscriminately discarding a raw device range. (sources: [fstrim-manual]) Limitations: - A returned byte count does not identify unique physical space reclaimed. (sources: [fstrim-manual]) - Parameters and repeat-run behavior depend on the filesystem implementation; ext4 can skip already-trimmed groups. (sources: [ext4-trim]) Related terms: - [fstrim](https://hesela.dev/terms/fstrim/) - [discard](https://hesela.dev/terms/discard/) - [trim](https://hesela.dev/terms/trim/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) - [deallocated-read-behavior](https://hesela.dev/terms/deallocated-read-behavior/) Citations: - [linux-fs-uapi] Linux v6.12: fstrim_range and FITRIM UAPI. https://raw.githubusercontent.com/torvalds/linux/v6.12/include/uapi/linux/fs.h (accessed 2026-11-08) - [fstrim-manual] util-linux v2.41.2: fstrim range selection and reporting. https://raw.githubusercontent.com/util-linux/util-linux/v2.41.2/sys-utils/fstrim.8.adoc (accessed 2026-11-08) - [fstrim-source] util-linux v2.41.2: fstrim invocation and returned-length output. https://raw.githubusercontent.com/util-linux/util-linux/v2.41.2/sys-utils/fstrim.c (accessed 2026-11-08) - [ext4-trim] Linux v6.12: ext4_trim_fs minimum conversion and returned length. https://raw.githubusercontent.com/torvalds/linux/v6.12/fs/ext4/mballoc.c (accessed 2026-11-08) - [ext4-ioctl] Linux v6.12: ext4 FITRIM ioctl input and output copy. https://raw.githubusercontent.com/torvalds/linux/v6.12/fs/ext4/ioctl.c (accessed 2026-11-08) - [hesela-discard] Hesela: Discard is not zeroing. https://hesela.com/analyses/discard-is-not-zeroing/#fitrim-fields (accessed 2026-11-08) ### FITS checksum convention URL: https://hesela.dev/terms/fits-checksum/ Related analysis: https://hesela.com/analyses/fits-checksums-pixel-order-and-coverage/ Also known as: FITS CHECKSUM, FITS DATASUM Status: shipping Record updated: 2026-10-23 The FITS checksum convention embeds 32-bit one's-complement checks for an HDU's data records and its complete header/data unit in DATASUM and CHECKSUM header keywords. Note: DATASUM covers padded data records; CHECKSUM also covers the header. A data-only check excludes BSCALE and BZERO. Exchanging complete aligned 32-bit words preserves the additive sum, so it cannot establish their order. [proposal] [scaling] Astropy 8.0.2 verification returns 1 for valid, 0 for mismatch and 2 for absent. CFITSIO DATAOK/HDUOK instead use 1, -1 and 0, separately from operational status. Test exact verdicts, not truthiness. [astropy-code] [cfitsio] The original nine image cases cover pixel swaps, bit flips, scaling and missing HDUs. In the padding-damage case, Astropy 8.0.2 reports mismatches before array access but valid sums afterward; pixels and file bytes are unchanged. The loaded array excludes the damaged padding. CFITSIO 4.7.0 retains the mismatch in a separate native control. [astropy-image-code] [hesela-fits] [acceptance] Checksums regenerated after a transformation can validate changed values. In twenty synthetic images across eight Astropy 8.0.2 workflows, thirty successful outputs change exact values or null masks while all inspected HDUs pass. Four separate operation failures remain failures. Independent CFITSIO reads confirm the output interpretation, but double comparisons hide changes in four configurations. Counts are selected examples, not incident frequencies; preserve exact values and separate null masks. [acceptance] Sources and caveats: - The acceptance supplement tests Astropy 8.0.2 / NumPy 2.3.4 output with CFITSIO 4.7.0. It excludes the merged upstream BLANK fix, compressed HDUs, tables, non-unit input scales and physical-media reliability. Related terms: - [fits](https://hesela.dev/terms/fits/) - [checksum](https://hesela.dev/terms/checksum/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [hash-collision](https://hesela.dev/terms/hash-collision/) Citations: - [proposal] Seaman, Pence and Rots: FITS Checksum Proposal, sections 2-3. https://fits.gsfc.nasa.gov/registry/checksum/checksum.pdf (accessed 2026-10-18) - [astropy-code] Astropy v8.0.2: verify_datasum, verify_checksum and warning handling. https://github.com/astropy/astropy/blob/v8.0.2/astropy/io/fits/hdu/base.py (accessed 2026-10-18) - [scaling] Astropy: FITS image scaling with BSCALE and BZERO. https://docs.astropy.org/en/stable/io/fits/usage/image.html#scaled-data (accessed 2026-10-18) - [cfitsio] CFITSIO C user's guide: File Checksum Routines and DATAOK/HDUOK. https://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/node50.html (accessed 2026-10-18) - [hesela-fits] FITS archive checks: reordered pixels can preserve both checksums. https://hesela.com/analyses/fits-checksums-pixel-order-and-coverage/ (accessed 2026-10-18) - [astropy-image-code] Astropy v8.0.2 image.py: loaded-image checksum path. https://github.com/astropy/astropy/blob/v8.0.2/astropy/io/fits/hdu/image.py (accessed 2026-10-18) - [acceptance] Hesela: FITS write-back and independent-reader evidence, exact-value acceptance. https://hesela.dev/research/fits-null-precision/PUBLICATION.md (accessed 2026-10-23) ### Flexible Image Transport System (FITS) URL: https://hesela.dev/terms/fits/ Related analysis: https://hesela.com/analyses/fits-checksums-pixel-order-and-coverage/ Also known as: FITS Status: shipping Record updated: 2026-10-23 FITS is a scientific data format that stores images and other data in header/data units with metadata describing their representation. Note: A FITS file is a sequence of 2880-byte blocks, or 23,040 bits each. Every header block holds 36 keyword records of 80 characters, and a header is followed by optional data blocks. Arrays may have from 1 to 999 dimensions. [fits40] Stored array values map to physical values as BZERO + BSCALE × array value. Unsigned 16-bit integers are stored as signed values with BZERO = 32768 and BSCALE = 1, so preserving the data bytes alone does not preserve their meaning if the header changes. [fits40] Under the checksum convention, the CHECKSUM keyword is a 16-character string chosen so that the 32-bit ones' complement sum over all 2880-byte records of the unit equals negative zero. Each record is summed as 720 32-bit integers, and DATASUM holds the checksum of the data records alone. Reordering 32-bit words leaves the sum unchanged. [checksum-doc] An archive migration must preserve interpreted values and missing-value locations, not just readable structure. Hesela's version-pinned Astropy 8.0.2 write-back experiment includes successful outputs whose exact values change while embedded checksums pass. An independent CFITSIO 4.7.0 read agrees with the exact byte oracle; requesting doubles can still conceal an integer change. Compare an immutable source contract using exact-enough values and a separate null mask. [acceptance] [cfitsio-images] Advantages: - Self-describing ASCII headers let a reader interpret the data without separate schema files. (sources: [fits40]) Limitations: - The checksum keywords are an optional convention, so a readable file need not carry them. (sources: [convention], [checksum-doc]) - An additive checksum detects many accidental changes but not every rearrangement, so it is not a cryptographic integrity check. (sources: [checksum-doc]) Sources and caveats: - fits40 is the FITS Standard version 4.0 from the IAU FITS Working Group, read on 2026-10-22 in sections 3 and 4 and the BSCALE and BZERO keyword definitions. - The 2880-byte block, 23,040 bits, 36 records of 80 characters, 1 to 999 axes and BZERO = 32768 figures come from fits40. - checksum-doc is the registered Checksum Keyword Convention document, read in full on 2026-10-22. - The 16-character, 32-bit, negative zero and 720-integer figures come from checksum-doc. - convention is the registry page that links checksum-doc, re-read on 2026-10-22. - The acceptance supplement tests Astropy 8.0.2 / NumPy 2.3.4 output with CFITSIO 4.7.0. It excludes the merged upstream BLANK fix, compressed HDUs, tables, non-unit input scales and physical-media reliability. Related terms: - [fits-checksum](https://hesela.dev/terms/fits-checksum/) - [checksum](https://hesela.dev/terms/checksum/) - [file-storage](https://hesela.dev/terms/file-storage/) - [hdf5](https://hesela.dev/terms/hdf5/) - [parquet](https://hesela.dev/terms/parquet/) Citations: - [convention] NASA FITS registry: Checksum Keyword Convention. https://fits.gsfc.nasa.gov/registry/checksum.html (accessed 2026-10-22) - [astropy-checks] Astropy: verification using the FITS checksum keyword convention. https://docs.astropy.org/en/stable/io/fits/usage/verification.html#verification-using-the-fits-checksum-keyword-convention (accessed 2026-10-18) - [scaling] Astropy: FITS image scaling with BSCALE and BZERO. https://docs.astropy.org/en/stable/io/fits/usage/image.html#scaled-data (accessed 2026-10-18) - [hesela-fits] FITS archive checks: reordered pixels can preserve both checksums. https://hesela.com/analyses/fits-checksums-pixel-order-and-coverage/ (accessed 2026-10-18) - [fits40] IAU FITS Working Group. Definition of the Flexible Image Transport System (FITS), version 4.0. https://fits.gsfc.nasa.gov/standard40/fits_standard40aa-le.pdf (accessed 2026-10-22) - [checksum-doc] Seaman, Pence and Rots. FITS Checksum Proposal, registered Checksum Keyword Convention. https://fits.gsfc.nasa.gov/registry/checksum/checksum.pdf (accessed 2026-10-22) - [acceptance] Hesela: FITS write-back and independent-reader evidence, exact-value acceptance. https://hesela.dev/research/fits-null-precision/PUBLICATION.md (accessed 2026-10-23) - [cfitsio-images] CFITSIO C user's guide: image output types and null arrays. https://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/node40.html (accessed 2026-10-23) ### Fixed block architecture URL: https://hesela.dev/terms/fixed-block-architecture/ Also known as: FBA Status: shipping Record updated: 2026-10-22 Fixed block architecture (FBA) is a mainframe disk format in which all records have the same length and each block is addressed by a sequential block number. Note: All data records have one specified length and each block is accessed by a unique number, so programs do not locate data by cylinder, head and record or compute track capacity, and fewer channel commands are needed than with count-key-data. A block has an ID area (address, control and error-correction bytes), a 512-byte data area with error-correction bytes, and gaps. One command addresses 1 to about 65,000 blocks. [c2] On the 1979 device described, each access mechanism held 558,000 blocks, or 285,696,000 bytes, and a drive twice that, with 20 ms average access time, 10.1 ms average rotational latency and a nominal 1.859 MB/s. [c2] An open-source emulator lists seven FBA device types from 125,664 to 1,672,881 blocks, about 64.3 MB to 856.5 MB. [c4] The Linux driver uses four channel commands, namely read (0x42), write (0x41), locate (0x43) and define extent (0x63). Its locate record carries a 16-bit block count and a 32-bit block number, so 512-byte blocks reach 2^32 x 512 bytes = 2 TiB. The driver chains at most 96 blocks per request, supports discard and reports a geometry of 16 heads derived from the block count. [c3] Limitations: - The block format has no key area, so the keyed record search of count-key-data is unavailable. (sources: [c2]) Sources and caveats: - c2 is IBM manual GA26-1657-1 (September 1979), read as a scan on bitsavers.org; device figures are for that generation. - c3 is Linux kernel source (master branch); c4 is Hercules emulator documentation. - The 2 TiB figure is derived from the 32-bit field; the driver source does not state it as a limit. - Current mainframe use of FBA is not covered by the cited documents. - Arithmetic: 558,000 x 512 = 285,696,000 bytes; 125,664 x 512 = 64.3 MB; 1,672,881 x 512 = 856.5 MB; 2^32 x 512 = 2 TiB. Related terms: - [mainframe-dasd](https://hesela.dev/terms/mainframe-dasd/) - [scsi](https://hesela.dev/terms/scsi/) - [count-key-data](https://hesela.dev/terms/count-key-data/) - [block-storage](https://hesela.dev/terms/block-storage/) - [logical-sector](https://hesela.dev/terms/logical-sector/) Citations: - [c1] Fixed block architecture. https://en.wikipedia.org/wiki/Direct-access_storage_device (accessed 2026-03-26) - [c2] IBM 3370 Direct Access Storage Description, GA26-1657-1. https://bitsavers.org/pdf/ibm/dasd/3370/GA26-1657-1_3370_Direct_Access_Storage_Description_197909.pdf (accessed 2026-10-16) - [c3] drivers/s390/block/dasd_fba.c and dasd_fba.h, Linux kernel source. https://github.com/torvalds/linux/blob/master/drivers/s390/block/dasd_fba.c (accessed 2026-10-16) - [c4] Hercules Version 4: Creating DASD. https://hercules-390.github.io/html/hercload.html (accessed 2026-10-16) ### Flash-backed write cache URL: https://hesela.dev/terms/flash-backed-write-cache/ Related analysis: https://hesela.com/analyses/raid-write-hole-bitmap-ppl/ Also known as: FBWC, cache-to-flash Status: shipping Record updated: 2026-11-01 Flash-backed write cache preserves a controller's volatile write-cache contents by copying them to flash using backup energy when external power is lost. Note: Traditional battery-backed write cache keeps DRAM powered during an outage. Flash-backed designs instead use backup energy for a DRAM-to-flash transfer. The energy source can be a battery or a supercapacitor, so a battery alone does not identify the architecture. [hpe-fbwc] [dell-nvcache] Saving cache, restoring it and destaging to drives are distinct steps. The cited 2011 design restores flash contents to DRAM, then waits for the controller to write them to disk before erasing and rearming flash. This is a documented implementation, not a universal recovery sequence. [dell-nvcache] Power-on during cache preservation can interrupt that process and require an additional reset in the cited controller family. Recovery behavior and readiness depend on the exact hardware and firmware. [dell-nvc-preservation] Cache preservation does not establish controller-failure recovery. For array-controller failure, the cited 2013 service procedure transfers the original cache module and capacitor pack to an identical controller model; the drives also move to the recovery server. Compatibility is part of that documented recovery path, not a universal plug-in guarantee. [hpe-cache-recovery] Limitations: - Preserving controller cache does not by itself establish that data acknowledged by a downstream drive has reached that drive's nonvolatile storage. (sources: [linux-cache]) - Retained dirty cache can still need the matching virtual-disk configuration: the cited RAID controller guide warns that discarding preserved cache before importing the relevant foreign configuration can lose data. (sources: [dell-preserved-cache]) Sources and caveats: - Vendor documentation and Linux API review, not a hardware power-fault test or a universal retention guarantee. The separate-drive-cache limitation is an engineering inference across the controller and device boundaries. - The preservation/reset example is scoped to Dell H965/H975 documentation. The 2011 recovery sequence and HP G7 comparison are historical implementation examples. - Controller-failure example: HP ProLiant DL380p Gen8. Preserved-cache example: Dell H710/H710P/H810. These are historical, model-specific procedures, not universal recovery instructions; separating retained bytes from recovered pending writes is an engineering inference. Related terms: - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) Citations: - [dell-nvcache] Bill Lynn and Ansh Gupta. Non-Volatile CACHE for Host-Based RAID Controllers. Dell, Revision 2, January 2011, printed pp. 2-8. https://i.dell.com/sites/csdocuments/shared-content_data-sheets_documents/en/nv-cache-for-host-based-raid-controllers.pdf (accessed 2026-11-01) - [hpe-fbwc] HP ProLiant BL680c G7 Server Blade User Guide: controller options, printed p. 65, BBWC and FBWC. https://support.hpe.com/hpesc/public/api/document/c02580792 (accessed 2026-11-01) - [dell-nvc-preservation] Dell PERC and HBA Unified User's Guide: cache preservation with nonvolatile cache, H965 and H975 scope. https://www.dell.com/support/manuals/en-us/perc-h965i-adapter/perc_hba_unified_guide/cache-preservation-with-nonvolatile-cache?guid=guid-ff7fbf7f-d72b-4039-90fe-5aa2b5d53988&lang=en-us (accessed 2026-11-01) - [linux-cache] Linux kernel documentation: Explicit volatile write back cache control, flush/FUA and remapping. https://docs.kernel.org/block/writeback_cache_control.html (accessed 2026-11-01) - [hpe-cache-recovery] HP ProLiant DL380p Gen8 Maintenance and Service Guide. Sept. 2013, Ed. 6 (661847-006a), pp. 60, 64: cache compatibility and recovery. https://support.hpe.com/hpesc/public/api/document/c03254241?v=1762768920000 (accessed 2026-11-01) - [dell-preserved-cache] Dell PowerEdge RAID Controller H310, H710, H710P, and H810 User's Guide. March 2013, Rev. A02, printed p. 46: managing preserved cache. https://dl.dell.com/manuals/common/poweredge-rc-h710_user%27s%20guide_en-us.pdf (accessed 2026-11-01) ### SSD controller URL: https://hesela.dev/terms/flash-controller/ Related article: https://hesela.com/tech/ssd/ Also known as: flash controller, NAND flash controller, SSD processor Status: shipping Record updated: 2026-11-16 In a NAND-based SSD, the controller connects the host interface to flash and coordinates address translation, media operations and error correction. Note: Functions: A conventional NAND SSD controller coordinates host requests, logical-to-physical mapping, bad-block handling, garbage collection and wear leveling. Its hardware and firmware also provide error correction and schedule work across flash resources. [agrawal-design] [controller-datasheet] Interfaces: Host-link width and NAND-channel count describe different paths. One 2020 controller supports PCIe Gen 4 x4 or dual x2, eight 8-bit NAND channels with 16 chip enables each, and hard/soft LDPC decoding. These are one design's capabilities, not universal SSD parameters. [controller-datasheet] Power loss: A 2011 drive design combines power-fail detection, hold-up capacitors and firmware to move temporary-buffer data to NAND. This requires the complete drive implementation, not the controller chip alone. [intel320-plp] Recovery: Flushing volatile user data and rebuilding FTL metadata solve different problems. Recoverable mappings alone do not establish survival of every acknowledged cached write. Check the finished drive's persistence contract and qualification conditions. [kingston-plp] Completion: Volatile write-back caches can acknowledge I/O before persistence. In Linux 6.12, REQ_PREFLUSH persists prior completed writes before the associated I/O starts; REQ_FUA persists that request before completion. These are block-layer contracts, not a power-cut qualification. [linux-writeback-cache] Advantages: - Interleaving operations on independent flash resources can hide media-operation latency when the workload exposes parallelism. (sources: [agrawal-design]) - Programmable controller firmware allows SSD builders to tune media management for a particular design. (sources: [controller-datasheet]) Limitations: - NAND capacity alone does not establish host throughput: shared buses, allocation and cleaning compete for resources. (sources: [agrawal-design]) - Power-fault coverage depends on the finished drive's hardware, firmware and documented write-completion behavior. (sources: [intel320-plp], [kingston-plp]) Sources and caveats: - Agrawal et al. describe design choices and trace-driven simulation in 2008, not measurements of current controllers. [agrawal-design] - The 2020 Microchip product brief advertises IOPS and lossless abrupt shutdown without a reproducible qualification method or protected write-completion boundary. These are product claims, not general controller guarantees. [controller-datasheet] - The 2011 Intel SSD 320 brief describes one drive's power-loss design, not a requirement that every SSD use capacitors. [intel320-plp] - The acknowledged-write boundary is an engineering inference from the distinction between volatile user-data protection and FTL recovery, not a new power-cut test. [kingston-plp] - Cornwell's 2012 article is retained as historical further reading. Its full text returned HTTP 403 during this review; its numeric examples are no longer presented as current general specifications. [acm-anatomy] Related terms: - [ssd](https://hesela.dev/terms/ssd/) - [ftl](https://hesela.dev/terms/ftl/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [ldpc](https://hesela.dev/terms/ldpc/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [sprinkler](https://hesela.dev/terms/sprinkler/) Citations: - [c1] SSD controller. https://en.wikipedia.org/wiki/Flash_memory_controller (accessed 2026-03-26) - [acm-anatomy] Cornwell. Anatomy of a Solid-State Drive. Communications of the ACM / ACM Queue, December 2012. https://cacm.acm.org/practice/anatomy-of-a-solid-state-drive/ (accessed 2026-10-16) - [controller-datasheet] Microchip. Flashtec NVMe3108 product brief, DS00003534A, July 2020, pp. 1-2. https://ww1.microchip.com/downloads/en/DeviceDoc/00003534A.pdf (accessed 2026-10-31) - [agrawal-design] Agrawal et al. Design Tradeoffs for SSD Performance. USENIX ATC 2008, sections 2.2 and 3.1-3.4. https://www.usenix.org/legacy/event/usenix08/tech/full_papers/agrawal/agrawal.pdf (accessed 2026-10-31) - [intel320-plp] Intel. Enhanced power-loss data protection in the SSD 320 Series. March 2011, 325207-001US, p. 1. https://www.intel.com/content/dam/www/public/us/en/documents/technology-briefs/ssd-320-series-power-loss-data-protection-brief.pdf (accessed 2026-10-31) - [kingston-plp] Kingston. SSD Power Loss Protection: hardware hold-up energy and firmware mapping recovery. April 2026. https://www.kingston.com/en/blog/servers-and-data-centers/ssd-power-loss-protection (accessed 2026-10-31) - [linux-writeback-cache] Linux 6.12. Explicit volatile write back cache control: completion, cache flushes and FUA. https://www.kernel.org/doc/html/v6.12/block/writeback_cache_control.html (accessed 2026-11-04) ### Flash Correct-and-Refresh URL: https://hesela.dev/terms/flash-correct-and-refresh/ Also known as: FCR, Flash Correct and Refresh Status: research Record updated: 2026-11-08 Flash Correct-and-Refresh is a NAND maintenance technique that corrects data and reprograms or remaps it before retention errors exceed ECC capability. Note: Mechanism: Remapping writes corrected data to another location. Hybrid FCR instead replenishes lost charge in place when possible, using remapping when accumulated program errors warrant it. Adaptive FCR varies the refresh interval with block wear. [cai] Directional limit: In the studied floating-gate MLC, programming adds charge but cannot remove excess charge without erase. In-place refresh therefore cannot reverse every program-interference error and can introduce further disturbance. ECC correction must precede refresh; merely rereading data is not this mechanism. [review] Wear trade-off: More frequent remapping adds erase cycles and can shorten modeled lifetime for read-heavy workloads. Refresh also needs power, so continuously powered operation does not establish powered-off archival retention. [cai] Related design: Retention relaxation uses shorter initial retention to reduce write latency or ECC cost, while tracking surviving data for stronger protection before its deadline. This is a controller design, not permission for applications to discard old data. [liu] Limitations: - The FCR lifetime improvements came from trace-driven SSD simulation informed by 3x-nm MLC measurements, not fleet survival measurements or a guarantee for current 3D NAND. (sources: [cai]) Sources and caveats: - Source synthesis of historical research designs; no contemporary SSD firmware implementation or hardware experiment is asserted. Related terms: - [data-retention](https://hesela.dev/terms/data-retention/) - [read-reclaim](https://hesela.dev/terms/read-reclaim/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [program-interference](https://hesela.dev/terms/program-interference/) - [ftl](https://hesela.dev/terms/ftl/) - [warm](https://hesela.dev/terms/warm/) - [retention-relaxation](https://hesela.dev/terms/retention-relaxation/) - [retention-failure-recovery](https://hesela.dev/terms/retention-failure-recovery/) Citations: - [cai] Cai et al. Flash Correct-and-Refresh. ICCD 2012, sections IV-VI. DOI: 10.1109/ICCD.2012.6378623. https://people.inf.ethz.ch/omutlu/pub/flash-correct-and-refresh_iccd12.pdf (accessed 2026-11-08) - [review] Cai et al. Error Analysis and Retention-Aware Error Management for NAND Flash Memory. Intel Technology Journal 17(1), 2013, pp. 150-155. https://www.pdl.cmu.edu/PDL-FTP/NVM/flash-error-analysis-and-management_itj13.pdf (accessed 2026-11-08) - [liu] Liu, Yang and Wu. Optimizing NAND Flash-Based SSDs via Retention Relaxation. FAST 2012, sections 4-6. https://www.usenix.org/event/fast12/tech/full_papers/Liu.pdf (accessed 2026-11-08) ### Flash-Cosmos URL: https://hesela.dev/terms/flash-cosmos/ Also known as: Flash Computation with One-Shot Multi-Operand Sensing Status: research Record updated: 2026-11-18 Flash-Cosmos is a research technique that performs bulk bitwise logic inside NAND flash using multi-wordline sensing and enhanced SLC-mode programming. Note: Mechanism: NAND strings act as AND paths when selected wordlines are sensed together; parallel strings enable OR. Enhanced SLC-mode programming widens the separation of the two voltage states with finer programming steps. This moves computation into the array rather than merely into an SSD-controller accelerator. [cosmos-talk] Evidence: The 2022 study tested 160 48-layer TLC chips from five wafers, sampling 120 blocks per chip. Its ESP test observed zero errors over more than 4.83e11 stored bits after 10,000 P/E cycles and accelerated retention representing one year at 30 C. Permanently defective cells were excluded. Footnote 11 explicitly says this does not establish the JEDEC UBER requirement. [cosmos-paper] Evaluation: Application speedups combine measured host work with Ramulator and modified MQSim models, not an end-to-end deployed SSD benchmark. Operand placement, specialized commands and firmware support are prerequisites; an NVMe label alone does not establish them. [cosmos-paper] ECC boundary: XOR preserves a fixed binary linear encoding, but two individually correctable input faults can exceed the output decoder's correction radius. Correcting operands and decoding a computed result are different pipelines; a specified Hamming-code replay illustrates the distinction. [ecc-order] Advantages: - Reducing operands inside the array can avoid transferring every input over the NAND-to-controller link. (sources: [cosmos-talk]) Limitations: - SLC-mode operands trade capacity for margin, and more precise programming takes extra time. (sources: [cosmos-talk]) - Operands on different chips require movement or another compute path; ordinary encryption is not transparently compatible. (sources: [cosmos-paper]) Sources and caveats: - Source review of the original paper and author slides, not a hardware replication. The slides describe the same work, not independent corroboration. - No field error rate, universal error-free guarantee or present-day product availability is inferred. - The ECC operation-order example enumerates synthetic finite populations with ideal logic and fixed layouts, not physical NAND failures. [ecc-order] Related terms: - [computational-storage](https://hesela.dev/terms/computational-storage/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [slc](https://hesela.dev/terms/slc/) - [mqsim](https://hesela.dev/terms/mqsim/) - [parabit](https://hesela.dev/terms/parabit/) Citations: - [cosmos-paper] Park et al. Flash-Cosmos. MICRO 2022, pp. 937-955, sections 5-8 and 10, footnotes 9/11. DOI: 10.1109/MICRO56248.2022.00069. https://arxiv.org/pdf/2209.05566v1 (accessed 2026-11-18) - [cosmos-talk] Park et al. Flash-Cosmos: MICRO 2022 author presentation, mechanisms and evaluation. https://people.inf.ethz.ch/omutlu/pub/FlashCosmos_micro22-talk.pdf (accessed 2026-11-18) - [hesela-nvme] Hesela: NVM Express, computational-program support and physical implementation. https://hesela.com/tech/nvme/ (accessed 2026-11-18) - [ecc-order] Hesela: ECC operation order, exact Hamming-code construction, method and results. https://hesela.dev/research/ecc-operation-order/README.md (accessed 2026-11-18) - [ecc-order-replay] Hesela: offline ECC operation-order replay, Python code, tests and exact results (ZIP). https://hesela.dev/research/ecc-operation-order.zip (accessed 2026-11-18) ### Flash module URL: https://hesela.dev/terms/flash-module/ Related article: https://hesela.com/tech/edsff/ Status: shipping Record updated: 2026-11-01 A flash module is a hardware unit that packages flash memory for integration into a storage device or system. Note: Flash storage can use standard M.2, U.2, add-in-card or EDSFF packaging, as well as proprietary modules. The packaging name alone does not specify NAND type, controller features, endurance or hot-plug support. [c2] EDSFF also accommodates non-SSD devices, including CXL memory modules. An NVMe SSD implementation is one use of the family, not a requirement for every EDSFF device; SFF-TA-1002 defines a protocol-agnostic connector. [c2] [c4] For E1.S Rev 2.0, initial slot power is 12 W for 5.9/8.01 mm variants and 25 W for 9.5/15/25 mm variants. The 79.2 W figure is a connector-derived ceiling, not a guaranteed host power budget; sustained operation is further constrained by the host and device environment. [c3] Check the housing revision as well as its dimensions. Rev 2.0 changes the 9.5 mm symmetric E1.S enclosure; symmetric enclosures from Rev 1.6 and earlier are incompatible with that revision. This is not a warning about every E1.S variant. [c3] Advantages: - Standardized mechanical references help specify serviceable storage modules across system designs. (sources: [c2]) Limitations: - Proprietary modules require their own interface and replacement documentation rather than an assumed EDSFF compatibility contract. (sources: [c2], [c4]) - The form-factor documents do not specify controller, NAND type or endurance, which the supplier decides. (sources: [c2], [c3]) Sources and caveats: - The generic module definition does not require an onboard controller or a particular E1.S dimension. - The overview mixes SSD-focused NVMe wording with a CXL section; the published connector specification establishes the broader protocol scope. [c2] [c4] - Historical capacity examples and dimensions were removed from the generic definition; capacity and fit require a specific device and host. - Proprietary module shapes used inside some storage arrays are not covered by SFF or SNIA documents, so no figures are given for them. - The SNIA guide is an overview page; the normative E1.S numbers come from SFF-TA-1006. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [edsff](https://hesela.dev/terms/edsff/) - [m2](https://hesela.dev/terms/m2/) - [u2](https://hesela.dev/terms/u2/) - [e1-s](https://hesela.dev/terms/e1-s/) Citations: - [c1] Flash module. https://en.wikipedia.org/wiki/Solid-state_drive (accessed 2026-03-26) - [c2] SNIA: SSD Form Factors, overview and EDSFF and CXL sections (updated October 2026). https://www.snia.org/forums/cmsi/knowledge/formfactors (accessed 2026-10-19) - [c3] SNIA SFF-TA-1006 Rev 2.0: revision history and section 7. https://members.snia.org/document/dl/26956 (accessed 2026-10-19) - [c4] SNIA SFF-TA-1002 Rev 1.6a: sections 1 and 1.1, protocol-agnostic connector. https://members.snia.org/document/dl/27231 (accessed 2026-10-19) ### FlashAlloc URL: https://hesela.dev/terms/flashalloc/ Also known as: FlashAllocate Status: research Record updated: 2026-11-17 FlashAlloc is a research SSD interface that conveys an object's logical address ranges so the controller can dedicate physical flash blocks to it. Note: Placement: The host declares an object before writing it; the controller matches later writes by address, without a stream ID on each write. The intended objects are written once and invalidated together. This extends the device interface; ordinary fallocate alone does not provide it. [paper] Trade-offs: Tiny objects can waste block capacity, and assigning a small object to one block can reduce I/O parallelism. Small random overwrites and unknown-size append-only objects are poor fits. [paper] Evaluation: The 2023 experiment used a 16 GB Cosmos OpenSSD prototype, 10% over-provisioning, Linux 5.4.20, direct I/O and TRIM. Its four-instance RocksDB/ext4 test reports 2.7x average throughput versus the original FTL, with WAL on separate storage. This is not an end-to-end write-amplification measurement. [paper] Versions: The 2022 preprint abstract reports 2x RocksDB throughput, not 2.7x. Results from the two versions must not be combined into one experiment. [preprint] [paper] Contrast: vStream groups host-provided virtual stream IDs into physical streams using observed lifetimes; object-range registration is a different contract. [vstream] Sources and caveats: - Source synthesis, not a benchmark reproduction. DOI: 10.14778/3611479.3611524. No current retail-drive compatibility is claimed. - The author artifact requires a Cosmos+ board and FPGA development tools; it includes firmware, host code and a multi-stream comparison. Hardware setup scripts were not executed. [artifact] Related terms: - [multi-stream-ssd](https://hesela.dev/terms/multi-stream-ssd/) - [vstream](https://hesela.dev/terms/vstream/) - [ftl](https://hesela.dev/terms/ftl/) Citations: - [paper] Park et al. FlashAlloc: Dedicating Flash Blocks By Objects. PVLDB 16(11), 3266-3278, 2023; sections 4-6. https://www.vldb.org/pvldb/vol16/p3266-lee.pdf (accessed 2026-11-17) - [preprint] Park, Oh and Lee. Enlightening Flash Storage to Stream Writes by Objects. arXiv:2201.04409v1, 2022. https://arxiv.org/abs/2201.04409v1 (accessed 2026-11-17) - [artifact] Flashalloc-Cosmos: author implementation and hardware prerequisites, commit a2d2a63941047c1396e0bac916555cd922287efd. https://github.com/JonghyeokPark/Flashalloc-Cosmos/tree/a2d2a63941047c1396e0bac916555cd922287efd (accessed 2026-11-17) - [vstream] Yong et al. vStream: Virtual Stream Management for Multi-streamed SSDs. HotStorage 2018. https://www.usenix.org/conference/hotstorage18/presentation/yong (accessed 2026-11-17) ### FlashBlox URL: https://hesela.dev/terms/flashblox/ Status: research Record updated: 2026-11-10 FlashBlox is a research SSD virtualization design that assigns channels or dies to tenants and periodically migrates data to balance wear. Note: Channel isolation reserves transfer paths; die isolation still shares a channel bus. Soft-planes are software regions striped across physical planes, not independent NAND planes. [flashblox] Wear balancing swaps heavily worn resources with low-wear-rate ones. Requests to the erase-blocks being swapped wait; other blocks remain serviceable. The API requires log compaction aligned with the virtual SSD's erase granularity, and tenants cannot borrow one another's pre-erased blocks. [flashblox] Evidence boundary: the 2017 prototype's migration measurements are distinct from its simulated lifetime results. The reported 95% of ideal lifetime is a model result, not observed fleet survival or a guarantee against arbitrary changing adversarial traffic. [flashblox] Limitations: - Physical partitioning does not remove migration pauses or every device-wide shared resource. (sources: [flashblox]) Sources and caveats: - Full primary-paper review, including the adversarial-workload caveat in section 3.1.4 footnote 2. No FlashBlox execution, performance replication or device-lifetime measurement. Related terms: - [open-channel-ssd](https://hesela.dev/terms/open-channel-ssd/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [nand-plane](https://hesela.dev/terms/nand-plane/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [inter-flow-interference](https://hesela.dev/terms/inter-flow-interference/) - [slowdown-fairness](https://hesela.dev/terms/slowdown-fairness/) Citations: - [flashblox] Huang et al. FlashBlox: Achieving Both Performance Isolation and Uniform Lifetime for Virtualized SSDs. FAST 2017, sections 2-4. https://www.usenix.org/system/files/conference/fast17/fast17_huang.pdf (accessed 2026-11-10) - [hesela] Hesela: FlashBlox, isolation and its migration window. https://hesela.com/analyses/ssd-fairness-shared-queues/#flashblox-isolation (accessed 2026-11-10) ### FlashFQ URL: https://hesela.dev/terms/flashfq/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: FlashFQ I/O scheduler Status: research Record updated: 2026-11-16 FlashFQ is a research SSD scheduler that combines start-time fair queueing with progress-based dispatch throttling and anticipation. Note: Dispatch control: Min-SFQ(D) orders requests by virtual start tags and caps parallel dispatches at D. FlashFQ additionally blocks a task that advances too far ahead of the slowest active task. A depth limit alone does not regulate unequal service costs. [flashfq] Two timers: a completed synchronous request can leave its task temporarily active for virtual-time accounting without necessarily idling the device. A separate, shorter anticipation bound limits dispatch blocking that can leave pending work unserved. The prototype used 20 ms and 2 ms respectively; neither is a response-time guarantee. [flashfq] Cost model: request tags use estimated service cost, calibrated separately for reads and writes at two sizes. These are resource-accounting estimates, not measured completion deadlines. [flashfq] Limitations: - The Linux 2.6.33.4 evaluation disabled ext4 journaling because journal I/O was not charged back to originating applications. (sources: [flashfq]) Sources and caveats: - Primary-source synthesis of the full paper; no scheduler implementation or device benchmark was performed. - The historical prototype is not a performance ranking for contemporary NVMe devices. Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [fios](https://hesela.dev/terms/fios/) - [anticipatory-scheduling](https://hesela.dev/terms/anticipatory-scheduling/) - [work-conserving-scheduler](https://hesela.dev/terms/work-conserving-scheduler/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [d2fq](https://hesela.dev/terms/d2fq/) Citations: - [flashfq] Shen and Park. FlashFQ: A Fair Queueing I/O Scheduler for Flash-Based SSDs. USENIX ATC 2013, pp. 67-78, sections 4-6. https://www.usenix.org/system/files/conference/atc13/atc13-shen.pdf (accessed 2026-11-08) - [record] USENIX ATC 2013: FlashFQ publication record. https://www.usenix.org/conference/atc13/technical-sessions/presentation/shen (accessed 2026-11-08) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-11-08) ### FlashGraph URL: https://hesela.dev/terms/flashgraph/ Status: research Record updated: 2026-11-14 FlashGraph is a semi-external-memory graph engine that keeps vertex state in RAM and reads edge lists from SSDs through SAFS. Note: The FAST 2015 design overlaps host computation with I/O. It requests needed edge lists and merges requests for the same or adjacent pages; user tasks consume the SAFS page cache without separate application read buffers. [flashgraph-paper] The programming guide separates run, run_on_vertex and run_on_message. An adjacency-list request is followed by a callback when its data is ready; an inactive vertex can still receive messages. Iteration completion requires both an empty active set and no pending requests. [flashgraph-guide] The public implementation is part of FlashX, alongside the distinct FlashMatrix engine; the repository provides source under Apache-2.0. [flashgraph-code] Limitations: - RAM must still accommodate vertex state, the graph index, runtime status and message queues, alongside the page cache. (sources: [flashgraph-paper]) - Callback execution order is not guaranteed; algorithm authors must preserve vertex-state correctness. (sources: [flashgraph-guide]) Sources and caveats: - Primary-source review, not a reproduced FlashGraph benchmark. Historical performance comparisons are not modern-device guarantees. Related terms: - [ssd](https://hesela.dev/terms/ssd/) - [io-request-size](https://hesela.dev/terms/io-request-size/) Citations: - [flashgraph-paper] Zheng et al. FlashGraph: Processing Billion-Node Graphs on an Array of Commodity SSDs. FAST 2015, pp. 45-58; sections 3.1-3.6, 5. https://files.usenix.org/s3fs-public/cdn/fast15-paper-zheng.pdf (accessed 2026-11-14) - [flashgraph-guide] FlashX: The FlashGraph User Guide. Vertex program, interaction with other vertices and adjacency-list access. https://flashxio.github.io/FlashX-doc/FlashGraph-user-guide.html (accessed 2026-11-14) - [flashgraph-code] FlashX project: source, component boundaries and Apache-2.0 license. https://github.com/flashxio/FlashX (accessed 2026-11-14) - [hesela-ssd] Hesela: SSD architecture and application I/O trade-offs. https://hesela.com/tech/ssd/ (accessed 2026-11-14) ### Flashield URL: https://hesela.dev/terms/flashield/ Status: research Record updated: 2026-11-29 Flashield is a hybrid DRAM-and-SSD key-value cache that filters flash admission using predicted reads and updates. Note: Incoming objects enter DRAM; selected objects move to flash in segments. Admission and eviction use different rankings. [paper] A Flashield ghost may still serve its current value before segment reclamation. This is not nonresident ARC history. [paper] Its trace comparison is simulation; hardware microbenchmarks are separate. [paper] The compact flash index omits full keys from DRAM. A segment Bloom filter screens candidates; a positive result triggers a read, followed by an exact key comparison. A mismatch continues probing. Segment-offset hashes and lookup-table hashes have separate roles. [paper] The paper reports 1% filter false positives and 1.03 flash accesses per flash hit for its trace, not a universal bound. [paper] A false-positive probability is conditional on a nonmember query. [bloom-survey] In a constructed model, three reached nonmember candidates at 1% each add 0.03 expected reads, before one read for the matching key. Independence is unnecessary for that expectation but is needed for the example's probability of any extra read. A supplied wrong-key candidate never becomes a hit. This is not a Flashield benchmark. [lookup-example] Sources and caveats: - Source synthesis only; no implementation or benchmark reproduced. - Constructed lookup predicates and analytic expectations supplement the source review; no Flashield implementation, trace replay or hardware measurement. [lookup-example] Related terms: - [cache-admission](https://hesela.dev/terms/cache-admission/) - [fifo-replacement](https://hesela.dev/terms/fifo-replacement/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) Citations: - [paper] Eisenman et al. Flashield. NSDI 2019, pp. 65-78; sections 3, 3.4 (Figure 5), 4.3 and 5. https://www.usenix.org/system/files/nsdi19-eisenman.pdf (accessed 2026-11-29) - [hesela] Hesela: cache admission and matched write counters. https://hesela.com/analyses/sieve-cache-eviction-traces/#flashield-accounting (accessed 2026-11-10) - [bloom-survey] Broder and Mitzenmacher. Network Applications of Bloom Filters: A Survey. Section 2.1; DOI 10.1080/15427951.2004.10129096. https://www.eecs.harvard.edu/~michaelm/postscripts/im2005b.pdf (accessed 2026-11-29) - [lookup-example] Hesela. Filter positives are not object identities: constructed lookup and analytic cost with executable tests. https://hesela.dev/research/flashield-lookup/README.md (accessed 2026-11-29) ### FlashMap URL: https://hesela.dev/terms/flashmap/ Status: research Record updated: 2026-11-17 FlashMap is a research design that unifies virtual-memory, file-index and flash-address translations for memory-mapped SSD files. Note: Mapping: Shared leaf page-table pages index a file, while private upper levels enforce process-specific permissions. Custom mprotect regions use private leaf tables. [flashmap-slides] A DRAM-resident data page needs an auxiliary entry remembering its SSD location. [flashmap-paper] Device contract: A sparse interface assigns a virtual SSD to each mapped file. Metadata retains separate mappings; garbage collection and error correction remain necessary. Reverse mappings and timestamps support rebuilding the shared tables. [flashmap-paper] Measured scope: The prototype modifies Linux/EXT4 and wraps conventional SSDs. The reported 3.32x speedup concerns connected-component graph processing versus Separate Memory (OnDemand). The 53.2% latency reduction versus Unoptimized Software instead uses DRAM-backed emulation of faster devices, without device-level indirection. It does not measure NAND latency. [flashmap-paper] Name distinction: FastMap, from ATC 2020, reduces synchronization overhead in Linux's mmap path; it is a different design, not an alias. [fastmap-paper] Advantages: - Sharing translation state can leave more DRAM available for application data. (sources: [flashmap-paper]) Limitations: - Unified translation does not itself supply atomic application updates; the paper leaves additional transactional mechanisms to future work. (sources: [flashmap-paper]) - The evaluated interface requires coordinated OS, filesystem and device changes, not just a normal mmap call on an arbitrary SSD. (sources: [flashmap-paper]) Sources and caveats: - Full ISCA paper and presentation reviewed on 2026-11-17; DOI 10.1145/2749469.2750420. Source synthesis, not a hardware reproduction. [flashmap-paper] - Performance figures retain their original workload, comparator and emulation scope. They are not expected speedups for present-day SSDs. [flashmap-paper] Related terms: - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [ftl](https://hesela.dev/terms/ftl/) - [fastmap](https://hesela.dev/terms/fastmap/) Citations: - [flashmap-paper] Huang et al. Unified Address Translation for Memory-Mapped SSDs with FlashMap. ISCA 2015, pp. 580-591, sections 3-5 and 7. https://memlab.ece.gatech.edu/papers/ISCA_2015_2.pdf (accessed 2026-11-17) - [flashmap-slides] Huang et al. FlashMap: ISCA 2015 presentation, shared page tables and memory protection (PDF pages 29-44). https://memlab.ece.gatech.edu/slides/ISCA_2015_2_slides.pdf (accessed 2026-11-17) - [fastmap-paper] Papagiannis et al. Optimizing Memory-mapped I/O for Fast Storage Devices. USENIX ATC 2020. https://www.usenix.org/conference/atc20/presentation/papagiannis (accessed 2026-11-17) ### FlashShare URL: https://hesela.dev/terms/flashshare/ Also known as: FlashShare cross-stack I/O management Status: research Record updated: 2026-11-17 FlashShare is a research storage-stack design that carries workload criticality from the host kernel into SSD firmware to prioritize latency-sensitive I/O. Note: Cross-stack policy: Operators assign workload attributes, which travel through kernel I/O structures into a reserved NVMe command field. Modified queue handling prioritizes latency-critical requests, while SSD firmware partitions its data cache and adapts prefetching. This requires coordinated host and device changes, not an ordinary NVMe configuration switch. [paper] Completion path: Select-ISR polls latency-critical completions and uses interrupts for throughput-oriented work. Selective polling still consumes host resources; the separate XLER accelerator design offloads polling and queue-management work. These are distinct design variants, not interchangeable names for interrupt coalescing. [slides] Evaluation: Section 5 uses gem5 with SimpleSSD, eight simulated ARM cores, Linux 4.9.30 and a scaled 2 GB host memory. Its end-to-end response metric includes client, network, server and storage time. Real-device characterization supports the model but does not turn the complete cross-stack evaluation into a deployed-device benchmark. [paper] Limitations: - Prioritizing latency-critical work can delay throughput-oriented work; a faster storage medium alone does not remove shared-stack interference. (sources: [paper]) Sources and caveats: - Primary-paper and author-slide review; no firmware execution, hardware benchmark or performance reproduction was performed. - The paper's prototype characterization and full-system simulation are separate evidence sources. [paper] Related terms: - [io-completion-polling](https://hesela.dev/terms/io-completion-polling/) - [flin](https://hesela.dev/terms/flin/) - [simplessd](https://hesela.dev/terms/simplessd/) Citations: - [paper] Zhang et al. FlashShare: Punching Through Server Storage Stack from Kernel to Firmware for Ultra-Low Latency SSDs. OSDI 2018, pp. 477-492, sections 3-5. https://www.usenix.org/system/files/osdi18-zhang.pdf (accessed 2026-11-16) - [slides] Zhang et al. FlashShare, OSDI 2018 author slides, completion paths and accelerator design. https://files.usenix.org/s3fs-public/cdn/osdi18_slides_zhang.pdf (accessed 2026-11-16) - [record] USENIX OSDI 2018: FlashShare publication record. https://www.usenix.org/conference/osdi18/presentation/zhang (accessed 2026-11-16) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-11-16) ### FlashStore URL: https://hesela.dev/terms/flashstore/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Status: research Record updated: 2026-11-30 FlashStore is a research key-value store that places a flash cache between RAM and a hard-disk backend. Note: Its RAM index holds compact signatures and flash addresses; a signature match requires comparison with the full stored key. Cold records can be destaged to a Berkeley DB disk store. [flashstore-paper] The main 2010 evaluation fits its datasets on flash and disables the disk-presence Bloom filter; section 5.9 studies destaging separately. Its headline throughput is not an overflow-to-disk guarantee. [flashstore-paper] Sources and caveats: - Historical primary-source review, not a reproduced benchmark or current product recommendation. Related terms: - [skimpystash](https://hesela.dev/terms/skimpystash/) - [silt](https://hesela.dev/terms/silt/) - [fawn-ds](https://hesela.dev/terms/fawn-ds/) - [read-amplification](https://hesela.dev/terms/read-amplification/) - [bufferhash](https://hesela.dev/terms/bufferhash/) - [hashcache](https://hesela.dev/terms/hashcache/) Citations: - [flashstore-paper] Debnath, Sengupta and Li. FlashStore: High Throughput Persistent Key-Value Store. PVLDB 3(2), 2010, sections 4.2-4.5 and 5.2. https://vldb.org/pvldb/vol3/I04.pdf (accessed 2026-11-14) ### FlashTier URL: https://hesela.dev/terms/flashtier/ Status: research Record updated: 2026-11-21 FlashTier is a research storage-cache architecture that couples a cache-specific flash interface with host cache management. Note: The SSC uses backing-disk logical addresses. Silent eviction can discard clean cached data instead of relocating it during collection; dirty data must remain protected. A later miss may require a backing-disk read. [flashtier2012] The 2012 evaluation uses simulation and emulation. The 2013 OpenSSD prototype changes mapping and persistence mechanisms, so its guarantees are not interchangeable with the original design. [flashtier2012] [flashtier2013] Recovery contract: In the 2012 interface, a completed write-clean may lose the new payload on a crash, but cannot expose the old value. Replacing an existing address requires a durable mapping change before completion. By contrast, write-dirty waits for both data and mapping. The evict operation durably removes the mapping; clean only permits later eviction and may recover as dirty. These are different operations, not interchangeable flush commands. [flashtier2012] Limitations: - The hardware prototype checkpoints on ATA flush; inaccessible spare-area storage forced a different metadata log. These are historical research implementations, not a standard SSD capability. (sources: [flashtier2013]) Sources and caveats: - Primary-source synthesis; no FlashTier simulator, hardware benchmark or power-loss experiment reproduced. Related terms: - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [write-through-cache](https://hesela.dev/terms/write-through-cache/) Citations: - [flashtier2012] Saxena, Swift and Zhang. FlashTier. EuroSys 2012, pp. 267-280; sections 3.5, 4.2.1 and 4.3. https://research.cs.wisc.edu/sonar/projects/FlashTier/eurosys12_flashtier.pdf (accessed 2026-11-21) - [flashtier2013] Saxena et al. Getting Real: Lessons in Transitioning Research Simulations into Hardware Systems. FAST 2013, pp. 215-228; sections 3.2.2 and 3.3.2. https://www.usenix.org/system/files/conference/fast13/fast13-final42.pdf (accessed 2026-11-14) - [hesela] Hesela: NAND erase blocks and the FlashTier cache exception. https://hesela.com/analyses/nand-erase-block-size-gc-cost/#flashtier (accessed 2026-11-14) ### Fletcher checksum URL: https://hesela.dev/terms/fletcher-checksum/ Also known as: Fletcher's checksum, Fletcher-16, Fletcher-32 Status: shipping Record updated: 2026-11-23 A Fletcher checksum combines a running sum of data words with a running sum of that first sum to make the result sensitive to word order. Note: Classic two-sum variants use one's-complement addition, equivalent to residues modulo 2^w-1 for w-bit words. For word x, update A=A+x, then B=B+A. A 16-bit result normally uses two 8-bit sums; RFC 1146 instead names the algorithm by its word width. [rfc1146] [faa2015] Order sensitivity has limits. With 8-bit words, 00 00 00 55 and 55 00 00 00 both give A=85, B=85 modulo 255. The moved value differs by 85 across three positions, so the change in B is 3*85=255. The original checksum stays unchanged. [arithmetic] Interoperability requires the word width, byte order, starting values, padding, zero representation and output layout. HDF5 1.14.6 initializes both sums to zero, reads 16-bit words high byte first and pads an odd final byte in the high position. [hdf5] Adler-32 instead processes bytes modulo the prime 65521. OpenZFS Fletcher-4 uses four 64-bit accumulators over 32-bit words; its four-word output is not classical Fletcher-32. [zlib-format] [zfs] RFC 1146's alternate TCP checksum options became Historic in 2011. Its algorithm description is not a recommendation to replace today's TCP checksum. [historic] Advantages: - Two running sums can be maintained as successive words arrive, without retaining the full message. (sources: [rfc1146]) Limitations: - A match is not proof of byte identity or authentication, and checksum width alone does not specify an undetected-error probability. (sources: [arithmetic], [faa2015]) - The worked swaps are constructed arithmetic examples, not measurements of device faults or tests of an HDF5 file or ZFS pool. (sources: [arithmetic]) Sources and caveats: - Primary-source synthesis and exact arithmetic. The FAA report compares error-detection methods under explicit models, not observed storage-fleet failure rates. Its relevant methodology and Fletcher sections were reviewed; its simulations were not rerun. - The model canonicalizes each sum to a residue. It separately exposes end-around-carry zero encodings, so a normalized pair must not be treated as a complete wire-format specification. [arithmetic] Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [adler-32](https://hesela.dev/terms/adler-32/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [hdf5](https://hesela.dev/terms/hdf5/) - [cyclic-redundancy-check](https://hesela.dev/terms/cyclic-redundancy-check/) Citations: - [rfc1146] RFC 1146: TCP Alternate Checksum Options, appendices I-II (1990). https://www.rfc-editor.org/rfc/rfc1146.html (accessed 2026-11-23) - [faa2015] Koopman, Driscoll and Hall: DOT/FAA/TC-14/49, sections 2.4, 3.6 and 3.10.3 (2015). https://www.faa.gov/sites/faa.gov/files/aircraft/air_cert/design_approvals/air_software/TC-14-49.pdf (accessed 2026-11-23) - [arithmetic] Hesela: Fletcher word-order arithmetic, explicit model and exhaustive pair checks. https://hesela.dev/research/fletcher-order/README.txt (accessed 2026-11-23) - [hdf5] HDF5 1.14.6: H5_checksum_fletcher32 implementation. https://raw.githubusercontent.com/HDFGroup/hdf5/hdf5_1.14.6/src/H5checksum.c (accessed 2026-11-23) - [zlib-format] RFC 1950: ZLIB Compressed Data Format Specification version 3.3, Adler-32. https://www.rfc-editor.org/rfc/rfc1950.html (accessed 2026-11-23) - [zfs] OpenZFS zfs-2.3.4: scalar Fletcher-4 implementation. https://github.com/openzfs/zfs/blob/34f96a15c73eab27dd6ad17bb5f1263bf26e37d7/module/zcommon/zfs_fletcher.c (accessed 2026-11-23) - [historic] RFC 6247: Moving Undeployed TCP Extensions to Historic Status (2011). https://www.rfc-editor.org/rfc/rfc6247.html (accessed 2026-11-23) ### Flexible Paxos URL: https://hesela.dev/terms/flexible-paxos/ Also known as: FPaxos Status: unknown Record updated: 2026-11-04 Flexible Paxos generalizes Paxos by requiring intersection between phase-1 and phase-2 quorum families without requiring intersection within each phase. Note: For arbitrary q1- and q2-member subsets of N acceptors, q1 + q2 > N ensures cross-phase intersection. These are proposal phases, not application read/write quorums. [fpaxos] At N=5, q1=4, q2=2, two reachable acceptors can meet a prepared, unpreempted leader's phase-2 count; replacing it needs four for phase 1. [fpaxos] Restricted families differ: in a 2-by-3 grid, full rows for phase 1 intersect full columns for phase 2. Losing a row preserves phase 1 but blocks phase 2. Identities matter, not just counts. [fpaxos] Ordered proposals, promises, accepted-value selection and retained state remain necessary. Changing membership or families requires a protocol. Six size-based and four grid examples check sets, not messages, crash persistence or probabilities. [paxos-simple] [hesela-quorums] Across three two-acceptor domains, none of the 15 placements preserves both families after every domain loss: nine do for two losses, six for none. All retain phase 2, usable with a surviving prepared, unpreempted leader. These are not outage probabilities. [hesela-domains] A failed set blocks a family by hitting every quorum. The grid has nine minimal phase-1 cuts and eight phase-2 cuts. A fresh round needs both families: their blocking union has eleven inclusion-minimal cuts, nine cross-row pairs and two whole-row triples. Minimal is not minimum-size; keeping only pairs misses the triples. These are not data-loss or outage probabilities. Naor/Wool supplies the event definition, not these counts or its independent-failure assumption for this grid. [naor-wool] [hesela-cuts] Sources and caveats: - The OPODIS 2016 paper was published in LIPIcs on 6 April 2017; its prototype, safety proof and scope were reviewed separately. [fpaxos] - The worked calculation does not rerun the authors' Mininet benchmark or TLA+ verification. No deployment speedup or availability percentage is claimed. - Protocol classification, not a hardware lifecycle; status is unknown and firstSeen remains unset. Related terms: - [paxos](https://hesela.dev/terms/paxos/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [write-quorum](https://hesela.dev/terms/write-quorum/) - [linearizability](https://hesela.dev/terms/linearizability/) - [failure-domain](https://hesela.dev/terms/failure-domain/) Citations: - [fpaxos] Howard, Malkhi and Spiegelman. Flexible Paxos: Quorum Intersection Revisited. OPODIS 2016, LIPIcs 70 (2017), sections 3-7. https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.OPODIS.2016.25 (accessed 2026-11-04) - [paxos-simple] Leslie Lamport. Paxos Made Simple (2001), sections 2-3. https://lamport.azurewebsites.net/pubs/paxos-simple.pdf (accessed 2026-11-04) - [hesela-quorums] Hesela: Flexible Paxos phase availability, exact set examples and limits. https://hesela.com/analyses/replica-repair-coverage/#flexible-quorums (accessed 2026-11-04) - [hesela-domains] Hesela: all 15 grid placements and 45 single-domain-loss cases, exact constructed enumeration. https://hesela.dev/research/flexible-quorum-domains.json (accessed 2026-11-04) - [naor-wool] Naor and Wool. The Load, Capacity, and Availability of Quorum Systems. SIAM J. Comput. 27(2), 1998, section 2.2. https://doi.org/10.1137/S0097539795281232 (accessed 2026-11-04) - [hesela-cuts] Hesela: minimal-cut certificates and all 64 failure subsets for the fixed six-acceptor grid. https://hesela.dev/research/flexible-quorum-cuts.json (accessed 2026-11-04) ### FLIN URL: https://hesela.dev/terms/flin/ Also known as: Flash-Level INterference-aware scheduler Status: research Record updated: 2026-11-16 FLIN is a research SSD-controller scheduler that reorders flash transactions to reduce interference between I/O flows while respecting host-assigned priorities. Note: Its three stages handle queue insertion, priority arbitration and read/write wait balancing, including garbage-collection work. Scheduling uses estimated transaction-alone waiting time, not a fresh isolated hardware run for each decision. [flin] Evidence boundary: the four-device interference experiment and MQSim evaluation of the proposed policy are separate. FLIN is not a standard NVMe feature or a host switch for arbitrary SSDs. [flin] Hesela's constructed baseline-sensitivity example holds shared latencies fixed while changing the reference means. Its fairness ranking reverses without a device becoming faster; this is arithmetic, not a FLIN replication or a measured estimator error. [hesela] Limitations: - Relative fairness does not guarantee an absolute latency target. (sources: [flin]) Sources and caveats: - Primary-paper review and exact constructed arithmetic; no SSD benchmark, firmware execution or scheduler replication. Related terms: - [slowdown-fairness](https://hesela.dev/terms/slowdown-fairness/) - [inter-flow-interference](https://hesela.dev/terms/inter-flow-interference/) - [mqsim](https://hesela.dev/terms/mqsim/) - [sprinkler](https://hesela.dev/terms/sprinkler/) - [d2fq](https://hesela.dev/terms/d2fq/) - [flashshare](https://hesela.dev/terms/flashshare/) Citations: - [flin] Tavakkol et al. FLIN: Enabling Fairness and Enhancing Performance in Modern NVMe Solid State Drives. ISCA 2018, sections 2.2, 4-7; DOI: 10.1109/ISCA.2018.00041. https://users.ece.cmu.edu/~saugatag/papers/18isca_flin.pdf (accessed 2026-11-16) - [hesela] Hesela: A changed baseline can reverse a fairness ranking. https://hesela.com/analyses/ssd-fairness-shared-queues/#baseline-sensitivity (accessed 2026-11-16) ### Flip-N-Write URL: https://hesela.dev/terms/flip-n-write/ Also known as: FNW, Flip N Write Status: research Record updated: 2026-11-29 Flip-N-Write reduces changed bits in phase-change memory by choosing a word's normal or complemented encoding and recording an inversion bit. Note: A read-before-write comparison identifies changed cells; an inversion bit lets reads recover the logical word. Only changed cells are programmed. This is a proposed PCM encoding, not a NAND erase-block policy. [power] For even n data bits and one inversion bit, let d be the Hamming distance between the old logical word and the new word. Keeping the current inversion state costs d updates; changing it costs n-d+1, including the flag. Selecting the cheaper encoding bounds the total by n/2. The accounting assumes independently writable binary cells and a stable flag location. [example] In an eight-bit example, 16 alternating writes of 255 and 0 change only the inversion bit: 16 updates instead of 128 for plain differential writes. Yet the busiest cell still changes 16 times in either design. Fewer total updates alone therefore do not prove a longer lifetime. [example] Read latency, peripheral circuitry, SET/RESET costs and power scheduling still matter when translating bit counts into performance or energy. [power] Limitations: - The example does not model ECC, flag protection, wear leveling, interrupted writes or cell-to-cell endurance variation. (sources: [example]) Sources and caveats: - Mechanism reviewed in the full MICRO 2011 paper, which evaluates Flip-N-Write as a baseline and cites Cho and Lee (2009). The 2009 full text was unavailable in this review. - The bound and alternating-write example are independently derived arithmetic, not a reproduction of either paper's performance or endurance experiments. Related terms: - [phase-change-memory](https://hesela.dev/terms/phase-change-memory/) - [hamming-distance](https://hesela.dev/terms/hamming-distance/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) Citations: - [power] Hay et al. Preventing PCM Banks from Seizing Too Much Power. MICRO 2011, sections 2-3 and 4.4. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/MICRO44-final.pdf (accessed 2026-11-29) - [fnw] Cho and Lee. Flip-N-Write: a simple deterministic technique to improve PRAM write performance, energy and endurance. MICRO 2009. https://doi.org/10.1145/1669112.1669157 (accessed 2026-11-29) - [example] Hesela: exact binary-cell accounting, flag concentration example and runnable tests. https://hesela.dev/research/flip-n-write/README.md (accessed 2026-11-29) ### Floating-gate flash URL: https://hesela.dev/terms/floating-gate/ Status: shipping Record updated: 2026-10-22 A flash cell design that stores charge on an electrically isolated conductive gate to alter the transistor's threshold voltage. Note: Floating gate is a charge-storage architecture, not a synonym for planar NAND. The gate sits between the control gate and the channel, insulated above by an inter-poly oxide and below by a tunnel oxide, so programmed electrons stay when power is removed. Program and erase move charge through the tunnel oxide by Fowler-Nordheim tunneling under a high electric field. [pieee] [handbook] The stored charge sets the threshold voltage. A single-level cell uses 2 threshold voltage states, a multi-level cell 4 states for 2 bits and a triple-level cell 8 states for 3 bits. Reading the most significant bit of a multi-level cell can need two read reference voltages and up to two consecutive reads. [pieee] The floating-gate memory concept goes back to a 1967 paper by Kahng and Sze. Most 3D NAND uses charge-trap transistors that hold charge in an insulator. Their tunnel oxide is less prone to breakdown, while charge can also migrate along the vertical dimension, so retention behavior differs between the two architectures. [pieee] Advantages: - Charge held on an insulated conductor stays in place without power as long as the surrounding oxides are free of defects. (sources: [handbook]) Limitations: - Program and erase cycling forms traps and interface states in the tunnel oxide, narrowing the read voltage window until the cell fails. (sources: [handbook]) - Capacitive coupling between neighboring cells grows as cells shrink and shifts their threshold voltages. (sources: [pieee]) Sources and caveats: - handbook is the 2025 KIOXIA reliability handbook, read in section 2-1-7 and its subsections on endurance, disturb and retention. - pieee is Cai, Ghose, Haratsch, Luo and Mutlu, Proceedings of the IEEE 2017 (arXiv 1706.08642), read in the abstract, sections 1 and 2 and the 3D NAND discussion. - 2, 4 and 8 states, two read reference voltages and 1967 come from pieee. The 1967 Kahng and Sze paper is cited there and was not read directly. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [charge-trap-flash](https://hesela.dev/terms/charge-trap-flash/) - [3d-nand](https://hesela.dev/terms/3d-nand/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) Citations: - [c1] Floating-gate flash. https://en.wikipedia.org/wiki/Floating-gate_MOSFET (accessed 2026-03-26) - [handbook] KIOXIA Reliability Handbook, 2025. Section 2-1-7: floating-gate structure and failure mechanisms. https://www.kioxia.com/content/dam/kioxia/en-jp/about/asset/reliability-handbook-e.pdf (accessed 2026-10-22) - [micron2016] Micron. Mobile 3D NAND announcement, 9 August 2016: floating-gate architecture. https://investors.micron.com/news/press-release/2016/Micron-Introduces-Mobile-3D-NAND-Solution-for-Next-Generation-Smartphones-08-09-2016/default.aspx (accessed 2026-10-11) - [hesela3d] Hesela: 3D NAND retention, cell architecture and evidence limits. https://hesela.com/analyses/3d-nand-retention-evidence/ (accessed 2026-10-11) - [pieee] Cai, Ghose, Haratsch, Luo and Mutlu. Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives. Proc. IEEE, 2017. https://arxiv.org/abs/1706.08642 (accessed 2026-10-22) ### Floating parity URL: https://hesela.dev/terms/floating-parity/ Related analysis: https://hesela.com/analyses/raid-write-penalty-io-not-speed/ Status: research Record updated: 2026-11-30 Floating parity relocates updated parity to a rotationally nearby free disk block instead of rewriting its previous physical location. Note: Parity-only relocation clusters parity and reserves free space for short read-to-write transitions. It requires location maps and geometry-aware control. Extending relocation to data can disrupt sequential layout; that cost does not follow merely from floating parity alone. [chen1994] This is distinct from distributing parity across RAID members or deferring updates in a parity log. The 1993 floating-data-and-parity model retains reads and writes but shortens the rotational wait between them, with protected controller maps. [stodolsky1993] For that model, N equal disks and T equal-capacity tracks per cylinder reserve one track-equivalent per cylinder before single-parity allocation. Usable/raw capacity is (1 - 1/T)(1 - 1/N), not 1 - 1/T - 1/N. This describes the data-and-parity layout, not every parity-only variant. [stodolsky1993] The linked worksheet gives exact fractions and an illustrative five-disk, sixteen-track accounting example. It estimates neither current-device speed nor failure probability. [worksheet] Against ordinary single-parity RAID at fixed N and T, the specified layout loses 1/T of baseline usable capacity. Matching the baseline's user capacity instead requires T/(T - 1) times the raw capacity. For N=5 and T=16, usable capacity falls from 80% to 75% of raw: a 5-percentage-point loss, or 6.25% of the baseline usable capacity. Recovering the same user capacity requires 6 2/3% more raw capacity. These ratios compare continuous capacities, not counts of extra disks. [worksheet] Map protection must match the failure model. The expanded report distinguishes nonvolatile storage for power failures alone from redundant storage for other faults; persistence alone does not establish controller-failure tolerance. [stodolsky1993report] Sources and caveats: - Menon, Roche and Kasson's 1993 publication metadata and abstract were checked through IBM Research; its full publisher text was unavailable. [menon1993] - The capacity formula is from Stodolsky et al., section 4, footnote 4; worksheet arithmetic is a derivation, not reproduction of the simulation. [stodolsky1993] Related terms: - [parity-logging](https://hesela.dev/terms/parity-logging/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [raid-5](https://hesela.dev/terms/raid-5/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) Citations: - [menon1993] Menon, Roche and Kasson (1993): Floating parity and data disk arrays; IBM Research publication record. https://research.ibm.com/publications/floating-parity-and-data-disk-arrays (accessed 2026-11-26) - [chen1994] Chen et al. (1994): RAID: High-Performance, Reliable Secondary Storage, section 4.1.2. https://web.eecs.umich.edu/~pmchen/papers/chen94_1.pdf (accessed 2026-11-26) - [stodolsky1993] Stodolsky, Gibson and Holland (1993): Parity Logging, section 4, Figure 13 and footnote 4. https://pdl.cmu.edu/PDL-FTP/ParityLogging/ISCA93.pdf (accessed 2026-11-26) - [worksheet] Hesela: Floating data and parity capacity worksheet. https://hesela.dev/research/floating-parity/README.md (accessed 2026-11-26) - [stodolsky1993report] Stodolsky et al. (1993): A Redundant Disk Array Architecture for Efficient Small Writes, CMU-CS-93-200, section 4, page 15, footnotes 6-7. https://www.pdl.cmu.edu/PDL-FTP/ParityLogging/TR93-200.pdf (accessed 2026-11-26) ### flock URL: https://hesela.dev/terms/flock/ Also known as: flock(2), BSD whole-file lock Status: shipping Record updated: 2026-11-30 flock is a whole-file locking interface that associates shared or exclusive locks with an open file description on Linux. Note: LOCK_SH requests a shared lock, LOCK_EX an exclusive lock and LOCK_UN release; LOCK_NB requests a nonblocking attempt. Descriptors inherited through fork or created by dup share ownership. A separate open is a separate contender, even in the same process. [flock] This syscall is distinct from struct flock, the argument structure used by fcntl record-lock operations, and from the byte-range F_OFD_* API. [fcntl] The local Linux flock and fcntl families are separate; two programs choosing different families can both acquire locks on the same file. Network-filesystem emulation can change that relationship. [linux-lock-families] [flock] Hesela's local ext4 probe ran nine ordered API pairs at two compiler optimization levels with three repeats each. A flock holder admitted both fcntl contenders; the fcntl families excluded one another. All 54 fresh-child post-unlock controls succeeded. This checks one Linux 6.8.0-149-generic configuration, not network locking or durability. [hesela-matrix] In 40 ordered handoff cases, data opened before locking could stay stale after replacement; deleting the lock file after unlock split ownership when a contender retained its old reference. Reopening under a retained coordination lock preserved both increments. [hesela-handoff] In 36 Linux/glibc cases, retained input stayed stale after re-locking, while output flushed after handoff lost an increment. Reopening input and flushing before unlock controlled those respective failures. [hesela-stdio-boundary] Limitations: - A failed nonblocking conversion need not preserve the earlier lock; flock has no deadlock detection. (sources: [flock]) - NFS local_lock settings can restrict exclusion to one client; a successful local lock is not cross-client coordination. (sources: [nfs-lock-scope]) - SMB lock enforcement depends on protocol, server and mount settings; nobrl disables server byte-range lock requests. (sources: [cifs-lock-scope]) - This record summarizes APIs, not a new network-filesystem or crash experiment. (sources: [hesela-locks]) Sources and caveats: - Lock-boundary evidence: controlled native executions on Linux 6.8.0-151-generic, not a population failure rate, network-locking test or crash experiment. Original frozen captures retained; integration replay does not increase their sample sizes. Related terms: - [advisory-file-lock](https://hesela.dev/terms/advisory-file-lock/) - [open-file-description-lock](https://hesela.dev/terms/open-file-description-lock/) - [process-associated-record-lock](https://hesela.dev/terms/process-associated-record-lock/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [fflush](https://hesela.dev/terms/fflush/) Citations: - [flock] Linux man-pages: flock(2), ownership, conversion and filesystem differences. https://man7.org/linux/man-pages/man2/flock.2.html (accessed 2026-11-14) - [fcntl] Linux man-pages: fcntl_locking(2), process and open-description record locks. https://man7.org/linux/man-pages/man2/fcntl_locking.2.html (accessed 2026-11-14) - [nfs-lock-scope] nfs(5): local_lock and client-local exclusion. https://man7.org/linux/man-pages/man5/nfs.5.html (accessed 2026-11-14) - [cifs-lock-scope] mount.cifs(8): nobrl and server byte-range lock requests. https://man7.org/linux/man-pages/man8/mount.cifs.8.html (accessed 2026-11-14) - [linux-lock-families] Linux kernel: File Locking Release Notes, separate flock and fcntl families. https://docs.kernel.org/filesystems/locks.html (accessed 2026-11-14) - [hesela-locks] Hesela: lock families, ownership and filesystem scope. https://hesela.com/analyses/atomic-rename-directory-durability/#lock-families (accessed 2026-11-14) - [hesela-matrix] Hesela: local interprocess lock-family matrix, raw observations and source hashes. https://hesela.dev/research/flock-compatibility/observation.json (accessed 2026-11-14) - [hesela-handoff] Hesela: ordered lock-handoff observations, controls and replay code. https://hesela.dev/research/lock-boundaries/manifest.json (accessed 2026-11-30) - [hesela-stdio-boundary] Hesela: stdio buffers across lock handoff, 36 native executions. https://hesela.dev/research/stdio-lock-boundary/observations.json (accessed 2026-11-30) ### Floppy disk URL: https://hesela.dev/terms/floppy-disk/ Related article: https://hesela.com/tech/floppy-disk/ Status: eol Record updated: 2026-10-16 A floppy disk is a removable flexible magnetic disk in a protective cartridge, written track by track in sectors by a drive that positions a head on each side. Note: ECMA-125 fixes the 90 mm, 80-track MFM interchange format with a nominal 15916 ftprad recording density, a 62.8 microradian bit cell, 300 rpm, 18 sectors of 512 bytes per track and 80 cylinders on two sides, 1,474,560 bytes in all. A sector has a 22-byte identifier, a 22-byte gap, a 530-byte data block and a 101-byte gap, and a check from x^16 + x^12 + x^5 + 1 detects defective sectors. [c2] The Linux floppy driver describes a format by sector count, sectors per track, heads, tracks, a stretch bit for double track steps, gap size, data rate with a perpendicular-recording flag and timing: 360 KB (9 sectors, 40 tracks), 1.2 MB (15, 80), 720 KB (9, 80), 1.44 MB (18, 80) and 2.88 MB (36, 80 with the perpendicular flag), plus non-standard larger formats. [c3] Arithmetic: 80 x 2 x 18 x 512 = 1,474,560 bytes, so the kernel 1.44 MB label means 1.44 x 1000 x 1024 bytes. One revolution at the nominal bit cell holds about 100,050 bit cells or 12,506 bytes, about 500 kbit/s at 300 rpm. A sector with all fields takes 675 bytes, so 18 sectors take 12,150 bytes and the 9216 data bytes are about 73.7 percent of the raw track. Limitations: - The format has a two-byte check per field and no error-correcting code; a sector with a wrong check is called defective and its handling is left to the file-structure standard. [c2] (sources: [c2]) Sources and caveats: - Only the 90 mm, 80-track MFM standard was read; standards for other sizes and densities, cartridge mechanics, media materials and drive command interfaces were not. - ECMA-125 is an industry-association standard; the scanned PDF has no text layer, so its pages were read as images. - The kernel files are a master-branch snapshot on the access date. - Arithmetic: 2 x pi / 62.8e-6 is about 100,050 bit cells per revolution; 22 + 22 + 530 + 101 = 675 bytes per sector; 512 / 675 is 75.9 percent; 9216 / 12,506 is 73.7 percent. - Arithmetic: 1.2 MB is 2400 x 512 = 1,228,800 bytes; 2.88 MB is 5760 x 512 = 2,949,120 bytes. - No history, price or market claims are made. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [tape](https://hesela.dev/terms/tape/) - [st-412](https://hesela.dev/terms/st-412/) - [zip-drive](https://hesela.dev/terms/zip-drive/) Citations: - [c1] Floppy disk. https://en.wikipedia.org/wiki/Floppy_disk (accessed 2026-03-26) - [c2] ECMA-125: Data interchange on 90 mm flexible disk cartridges using MFM recording at 15916 ftprad on 80 tracks on each side, December 1987 (Ecma International). https://ecma-international.org/wp-content/uploads/ECMA-125_1st_edition_december_1987.pdf (accessed 2026-10-16) - [c3] Linux kernel floppy driver: drivers/block/floppy.c (format table) and include/uapi/linux/fd.h (floppy_struct). https://github.com/torvalds/linux/blob/master/drivers/block/floppy.c (accessed 2026-10-16) ### FLP impossibility URL: https://hesela.dev/terms/flp-impossibility/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Fischer-Lynch-Paterson impossibility, FLP theorem Status: unknown Record updated: 2026-11-20 FLP impossibility rules out guaranteed termination of deterministic consensus in a fully asynchronous message-passing system that must tolerate one process crash. Note: The model has reliable messages but no timing bounds or perfect crash detector. Admissible runs allow at most one stopped process and eventually deliver messages to nonfaulty processes. [flp-paper] Every protocol satisfying agreement and nontriviality has some admissible run that never decides. This does not mean every execution stalls, and an actual crash or permanent partition is not required. [flp-paper] The theorem separates agreement from guaranteed termination; it gives no outage probability or latency estimate. [flp-paper] Sources and caveats: - Primary-source synthesis of the 1985 journal paper, sections 1-3. The conference presentation was in 1983. No new proof, protocol execution or empirical result is claimed. Related terms: - [partial-synchrony](https://hesela.dev/terms/partial-synchrony/) - [failure-detector](https://hesela.dev/terms/failure-detector/) - [raft](https://hesela.dev/terms/raft/) - [paxos](https://hesela.dev/terms/paxos/) - [consensus](https://hesela.dev/terms/consensus/) - [liveness-property](https://hesela.dev/terms/liveness-property/) Citations: - [flp-paper] Fischer, Lynch and Paterson. Impossibility of Distributed Consensus with One Faulty Process. JACM 32(2), 374-382, 1985; sections 1-3. https://groups.csail.mit.edu/tds/papers/Lynch/jacm85.pdf (accessed 2026-11-11) ### Fluid dynamic bearing URL: https://hesela.dev/terms/fluid-dynamic-bearing/ Also known as: FDB, fluid film bearing, hydrodynamic bearing Status: shipping Record updated: 2026-10-22 Recorded firstSeen: 1987 (sources: [c4]) A fluid dynamic bearing (FDB) carries an HDD spindle on a thin pressurised lubricant film generated by grooves, so rotor and stator do not touch while spinning. Note: In a 3.5-inch prototype the journal bearing is an oil-lubricated sleeve and shaft with two herringbone groove bearings on the shaft, which pump oil inward to prevent leakage in operation, while capillary sealing holds it at rest. [c2] With no metal-to-metal contact the rotor rides on a liquid film, removing the forces of rolling balls. [c3] The prototype ran at 10,200 rpm with axial and radial non-repeatable runout below 0.05 µm and repeatable runout within 2.6 µm, measured without disks. An air journal bearing would need about one tenth of the oil bearing's radial clearance, 1 µm against 10 µm, for comparable stiffness and would still carry almost an order of magnitude less load. [c2] A hybrid design with an air thrust bearing cut bearing power loss by about 20% against an all-oil design, yet the spindle still drew about 30% more power than a ball-bearing reference from a high-end drive. [c2] An earlier study of 5.25-inch spindles found substantially less non-repeatable runout with fluid bearings than with typical ball bearings. [c4] 3.5-inch FDB motors at 7,200 rpm measured 25.0 dBA at 0.30 m and 10.3 dBA right after power was cut, so electromagnetic excitation rather than the bearing dominated the noise. [c3] Advantages: - Better non-operational shock resistance, speed control and damping of motor structure modes are claimed over ball-bearing spindles. (sources: [c2]) Limitations: - Fully hydrodynamic bearings have relatively high power losses and are hard to seal to zero leakage. (sources: [c2]) - All-air variants offer no path to discharge static charge. (sources: [c2]) - The hybrid design carries a higher risk of thrust-bearing damage from large shocks in shipment than an all-oil design. (sources: [c2]) Sources and caveats: - The hybrid design is a 1999 research-institute prototype, not a production drive, read through a repository copy. - The acoustic paper (2006) measured a small sample of identical motors, with partial support from a motor manufacturer. - The 1987 runout study was read in abstract only, which gives no figure. - No open source giving FDB versus ball-bearing lifetime or failure rates was found, so no reliability claim is made. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [head-gas-bearing](https://hesela.dev/terms/head-gas-bearing/) - [rotational-vibration](https://hesela.dev/terms/rotational-vibration/) Citations: - [c1] Fluid dynamic bearing. https://en.wikipedia.org/wiki/Fluid_dynamic_bearing (accessed 2026-03-26) - [c2] Zhang, Chen and Liu. Design of a Hybrid Fluid Bearing System for HDD Spindles. IEEE Transactions on Magnetics 35(2), 1999. https://www.researchgate.net/publication/3101084_Design_of_a_hybrid_fluid_bearing_system_for_HDD_spindles (accessed 2026-10-16) - [c3] Ajavakom et al. Toward a Vibro-Acoustic Analysis of FDB Spindle Motors. MIPE 2006. http://pioneer.netserv.chula.ac.th/~jthitima/index_files/MIPE2006%20TOWARD%20A%20VIBROACOUSTIC.pdf (accessed 2026-10-16) - [c4] Bouchard, Lau and Talke. An Investigation of Non-Repeatable Spindle Runout. IEEE Transactions on Magnetics, 1987. https://doi.org/10.1109/tmag.1987.1065206 (accessed 2026-10-16) ### Fluid LSM-tree URL: https://hesela.dev/terms/fluid-lsm-tree/ Status: research Record updated: 2026-11-10 Fluid LSM-tree parameterizes the run-count limit separately for smaller levels and the largest level. Note: The paper uses K for the smaller-level cap and Z for the last-level cap, each from 1 to T - 1 for size ratio T. Z need not equal one. [dostoevsky] Hesela's run-count example is structural arithmetic, not a latency predictor. [hesela] Related terms: - [lazy-leveling](https://hesela.dev/terms/lazy-leveling/) - [leveled-compaction](https://hesela.dev/terms/leveled-compaction/) - [tiered-compaction](https://hesela.dev/terms/tiered-compaction/) - [sorted-run](https://hesela.dev/terms/sorted-run/) Citations: - [dostoevsky] Dayan and Idreos. Dostoevsky. SIGMOD 2018, pp. 505-520; sections 4.1-4.3 and Figure 8. DOI: 10.1145/3183713.3196927. https://nivdayan.github.io/dostoevsky.pdf (accessed 2026-11-10) - [hesela] Hesela. Lazy leveling and run-count limits. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#lazy-leveling (accessed 2026-11-10) ### FlushFileBuffers URL: https://hesela.dev/terms/flush-file-buffers/ Also known as: Windows file buffer flush Status: shipping Record updated: 2026-11-14 FlushFileBuffers requests that buffered information for an open Windows file be written to its underlying device. Note: For an ordinary file, the handle requires GENERIC_WRITE. A nonzero return reports success; zero requires inspecting GetLastError. Named-pipe handles have a different completion contract: a server-side call waits for the client to read the buffered data. [windows-flush-file] For mapped writes, use FlushViewOfFile followed by FlushFileBuffers to cover dirty mapped pages, file metadata and the documented disk-persistence boundary. Check both results. This sequence is not a multi-write transaction or a substitute for coordinating concurrent writers. [windows-flush-view] Sources and caveats: - Microsoft Win32 documentation reviewed 14 November 2026; no Windows runtime, power-loss or remote-server experiment was performed. - Related POSIX and Linux APIs are comparisons, not claims of equivalent completion or error semantics. Related terms: - [flush-view-of-file](https://hesela.dev/terms/flush-view-of-file/) - [file-flag-write-through](https://hesela.dev/terms/file-flag-write-through/) - [fsync](https://hesela.dev/terms/fsync/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [file-flag-no-buffering](https://hesela.dev/terms/file-flag-no-buffering/) Citations: - [windows-flush-file] Microsoft: FlushFileBuffers, parameters, return value and remarks. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-flushfilebuffers (accessed 2026-11-14) - [windows-flush-view] Microsoft: FlushViewOfFile, mapped pages and persistence boundaries. https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-flushviewoffile (accessed 2026-11-14) - [hesela-windows-flush] Hesela: Windows mapped-file synchronization and cache boundaries. https://hesela.com/analyses/mmap-visibility-size-durability/#windows-flush (accessed 2026-11-14) ### FlushViewOfFile URL: https://hesela.dev/terms/flush-view-of-file/ Also known as: Windows mapped-view flush Status: shipping Record updated: 2026-11-14 FlushViewOfFile initiates writeback of dirty pages in a selected range of a Windows file mapping. Note: The call covers dirty mapped pages, not file metadata, and does not wait for the hardware disk cache to reach persistent media. The documented sequence for both boundaries is FlushViewOfFile followed by FlushFileBuffers. Both calls return nonzero on success and zero on failure; inspect GetLastError on failure. [windows-flush-view] [windows-flush-file] A zero length flushes from the supplied address to the end of the mapping. Network completion does not establish remote persistence. Mapped writes may also leave the last-modification timestamp unchanged; SetFileTime is a separate operation when an update is required. [windows-flush-view] Sources and caveats: - Microsoft Win32 documentation reviewed 14 November 2026; no Windows runtime, power-loss or remote-server experiment was performed. - Related POSIX and Linux APIs are comparisons, not claims of equivalent completion or error semantics. Related terms: - [flush-file-buffers](https://hesela.dev/terms/flush-file-buffers/) - [file-flag-write-through](https://hesela.dev/terms/file-flag-write-through/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [msync](https://hesela.dev/terms/msync/) - [smb-flush](https://hesela.dev/terms/smb-flush/) - [file-flag-no-buffering](https://hesela.dev/terms/file-flag-no-buffering/) Citations: - [windows-flush-view] Microsoft: FlushViewOfFile, mapped pages and persistence boundaries. https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-flushviewoffile (accessed 2026-11-14) - [windows-flush-file] Microsoft: FlushFileBuffers, parameters, return value and remarks. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-flushfilebuffers (accessed 2026-11-14) - [hesela-windows-flush] Hesela: Windows mapped-file synchronization and cache boundaries. https://hesela.com/analyses/mmap-visibility-size-durability/#windows-flush (accessed 2026-11-14) ### Flying height URL: https://hesela.dev/terms/flying-height/ Related analysis: https://hesela.com/analyses/hdd-mechanical-failure-points/ Also known as: fly height, head-disk clearance Status: shipping Record updated: 2026-10-22 Flying height is the physical clearance between a flying HDD head/slider region and the disk surface. Note: Flying height must be stated with its location, since clearance near the read/write element need not equal clearance elsewhere on the slider. Smaller recording spacing and avoidance of unintended contact impose competing constraints. [control] A 2006 thermal-actuation slider study puts the scale in nanometres. It states that about 2 to 2.5 nm of physical spacing is needed for an areal density of 1 Tbit/in², and that static and dynamic flying-height losses at that spacing can cause head-disk contact. The design targeted a 10 nm gap flying height at 15,000 rpm and lost about 2 nm, or about 20%, at 4,500 m altitude. [control] Ambient pressure acts through the gas film. A later altitude study takes the air mean free path as 68.6 nm at 25 °C and 1 atm and models it as inversely proportional to pressure, so altitude changes both the bearing and the cooling of a heated slider. Flying-height values are therefore reported with altitude, disk speed and radius. [altitude] A flying height is a length, not a SMART event count, and the values above are design figures rather than a present-day drive specification. Advantages: - A lower flying height reduces magnetic spacing, which both cited studies tie to higher areal density. (sources: [control], [altitude]) Limitations: - Simulated values depend on the air-bearing model and its gas properties, so one design's flying height does not describe another slider. (sources: [control], [altitude]) - A static flying height leaves out dynamic losses during track seeking and load or unload, which the slider study evaluates separately. (sources: [control]) Sources and caveats: - control is Juang and Bogy, CML report 06004, read in full. - altitude is Zheng, Bogy, Zhang and Yan, CML report 09008, read in full. - 2 to 2.5 nm, 1 Tbit/in2, 10 nm, 15,000 rpm, 2 nm, 20% and 4,500 m come from control. - 68.6 nm at 25 C and 1 atm and the inverse pressure dependence come from altitude. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [head-disk-interface](https://hesela.dev/terms/head-disk-interface/) - [thermal-flying-height-control](https://hesela.dev/terms/thermal-flying-height-control/) - [head-slap](https://hesela.dev/terms/head-slap/) - [head-gas-bearing](https://hesela.dev/terms/head-gas-bearing/) - [helium-hdd](https://hesela.dev/terms/helium-hdd/) - [tunnel-magnetoresistive-head](https://hesela.dev/terms/tunnel-magnetoresistive-head/) Citations: - [control] Juang and Bogy: Design and Analysis of a Flying Height Control Slider with Thermal Nanoactuator, CML report 06004. https://cml.berkeley.edu/wp-content/uploads/blue-reports/06004.pdf (accessed 2026-10-22) - [analysis] Hesela: HDD mechanical faults, evidence and diagnostic limits. https://hesela.com/analyses/hdd-mechanical-failure-points/ (accessed 2026-10-15) - [altitude] Zheng, Bogy, Zhang and Yan: Effects of Altitude on Thermal Flying Height Control Actuation, CML report 09008. https://cml.berkeley.edu/wp-content/uploads/blue-reports/09008.pdf (accessed 2026-10-22) ### FM-index URL: https://hesela.dev/terms/fm-index/ Also known as: Ferragina-Manzini index Status: shipping Record updated: 2026-11-17 An FM-index is a compressed full-text index that uses the Burrows-Wheeler transform and rank queries to count pattern occurrences. Note: Search: With zero-based half-open rows [l,r), let rank(c,p) count c in BWT[0:p] and C(c) count symbols smaller than c. Prepending c updates the interval to [C(c)+rank(c,l), C(c)+rank(c,r)); its width is the match count. Process the pattern right to left. [focs] Locate: Matching rows are not text offsets. LF mapping walks to a row whose text position is stored; the step count recovers the original position. Sampling every s-th text position bounds this walk by s-1 steps. Sampling every s-th sorted row does not give that bound. [jacm] [example] Example: In banana$, the BWT is annb$aa. Searching ana yields rows [2,4), which correspond to text positions 3 and 1. With stride 4, text-position and row sampling each store two positions, yet their maximum walks are 3 and 5 steps respectively. [example] Space: Wavelet trees can supply BWT rank queries. Index size also includes rank support, alphabet metadata and locate samples; count-only structures can omit the locate machinery. Construction workspace and query time must be evaluated for the selected implementation. [wavelets] [jacm] Limitations: - The worked model scans rank prefixes and materializes suffixes for construction; it demonstrates exact results, not a compressed implementation or a performance benchmark. (sources: [example]) Sources and caveats: - Primary-source synthesis of the original indexing method and subsequent full journal treatment. The worked example uses zero-based half-open intervals, unlike the papers' one-based inclusive notation. - Constructed finite evidence: all 255 binary-alphabet texts of length 0-7 are checked against 120 nonempty patterns; no real workload or fleet data are used. Related terms: - [burrows-wheeler-transform](https://hesela.dev/terms/burrows-wheeler-transform/) - [rank-select](https://hesela.dev/terms/rank-select/) - [wavelet-tree](https://hesela.dev/terms/wavelet-tree/) - [r-index](https://hesela.dev/terms/r-index/) Citations: - [focs] Ferragina and Manzini: Opportunistic Data Structures with Applications, FOCS 2000 author draft, sections 2-3. https://people.unipmn.it/manzini/papers/focs00draft.pdf (accessed 2026-11-17) - [jacm] Ferragina and Manzini: Indexing Compressed Text, JACM 52(4), 552-581 (2005), sections 3.1 and 3.3. https://people.unipmn.it/manzini/papers/jacm05a.pdf (accessed 2026-11-17) - [wavelets] Navarro: Wavelet Trees for All, Journal of Discrete Algorithms 25 (2014), section 5.1. https://users.dcc.uchile.cl/~gnavarro/ps/jda13.pdf (accessed 2026-11-17) - [example] Hesela: exact BWT search and text-position versus row-sampling example, executable model and observations. https://hesela.dev/research/fm-index/README.md (accessed 2026-11-17) ### FOEDUS URL: https://hesela.dev/terms/foedus/ Also known as: Fast Optimistic Engine for Data Unification Services Status: research Record updated: 2026-11-15 FOEDUS is a transactional storage engine that pairs mutable DRAM pages with immutable snapshot pages constructed from logical logs. Note: Dual pages: A snapshot can lag behind its volatile counterpart. A serializable reader following a snapshot because no volatile page exists records that pointer and validates its continued absence at precommit. Immutable contents alone do not settle concurrent visibility. [foedus-paper] Snapshots: The log gleaner constructs changed pages and reuses unchanged descendants from older snapshots. It does not copy the live DRAM tree or require readers to merge every historical snapshot. Its progress still limits how much volatile state can be reclaimed. [foedus-paper] Acknowledgement: Successful precommit_xct returns a commit epoch, not a durability confirmation. Clients can continue processing while withholding results, or use wait_for_commit. The relevant threshold is the durable global epoch, not simply the current epoch. [foedus-xct] Read-only results: The log API explicitly requires both read-only and read-write transactions to await that threshold before returning results. A negative wait duration means unbounded waiting; zero polls without blocking; a timed wait may report timeout instead of success. A timeout must not be presented as durable acknowledgement. [foedus-log] Limitations: - The 2015 evaluation reached 240 physical cores, not 1,000; its NVRAM experiments used DRAM-backed tmpfs with injected I/O delays, not physical NVRAM devices. (sources: [foedus-paper]) - The library assumes fsync reaches durable storage through the filesystem and device stack; its ACID guarantee depends on that assumption. (sources: [foedus-readme]) Sources and caveats: - Source synthesis of the 2015 paper and later implementation documentation pinned to c40ecfcb8d2b2441b17807109848b966c0ad7e45; no native execution, benchmark reproduction or power-loss test. - The paper and pinned code are different versions. The record does not certify current-platform compatibility or production readiness. Related terms: - [silo](https://hesela.dev/terms/silo/) - [nvram](https://hesela.dev/terms/nvram/) Citations: - [foedus-paper] Kimura. FOEDUS: OLTP Engine for a Thousand Cores and NVRAM. SIGMOD 2015, pp. 691-706; sections 4, 6-7, 9. DOI: 10.1145/2723372.2746480. https://15721.courses.cs.cmu.edu/spring2016/papers/p691-kimura.pdf (accessed 2026-11-15) - [foedus-xct] HewlettPackard/foedus_code c40ecfcb8d2b: XctManager precommit_xct and wait_for_commit contracts. https://github.com/HewlettPackard/foedus_code/blob/c40ecfcb8d2b2441b17807109848b966c0ad7e45/foedus-core/include/foedus/xct/xct_manager.hpp (accessed 2026-11-15) - [foedus-log] HewlettPackard/foedus_code c40ecfcb8d2b: LogManager durable epoch and wait_until_durable contract. https://github.com/HewlettPackard/foedus_code/blob/c40ecfcb8d2b2441b17807109848b966c0ad7e45/foedus-core/include/foedus/log/log_manager.hpp (accessed 2026-11-15) - [foedus-readme] HewlettPackard/foedus_code c40ecfcb8d2b: core library requirements and fsync assumption. https://github.com/HewlettPackard/foedus_code/blob/c40ecfcb8d2b2441b17807109848b966c0ad7e45/foedus-core/README.markdown (accessed 2026-11-15) ### FOMO cache admission URL: https://hesela.dev/terms/fomo-cache-admission/ Also known as: Fear Of Missing Out, FOMO Status: research Record updated: 2026-11-29 FOMO is a two-state cache-admission policy that compares resident hits with reuse in a separate Miss-History before enabling or filtering insertions. Note: Insert forwards requests to the underlying replacement policy. Filter admits an uncached item when it matches Miss-History; that match does not supply payload data. Unlike mARC, FOMO was evaluated over LRU, ARC and LIRS. [fomo] At a decision boundary, Insert becomes Filter when cache hit rate is at least Miss-History hit rate. Filter becomes Insert only when history hit rate exceeds both cache hit rate and 5%. The comparison uses the observation period, sized at 1% of cache capacity. [fomo] The linked predicate replay checks strict inequalities and equalities with integer counts. It is not a cache simulator, workload replay or performance measurement. [replay] Limitations: - The authors report adverse CloudCache cases; admission filtering is not uniformly better than the underlying replacement policy. (sources: [fomo]) Sources and caveats: - Research-policy synthesis and a constructed predicate check, not a claim of production deployment or SSD endurance measurement. Related terms: - [marc](https://hesela.dev/terms/marc/) - [lazy-adaptive-replacement-cache](https://hesela.dev/terms/lazy-adaptive-replacement-cache/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [lirs-replacement](https://hesela.dev/terms/lirs-replacement/) Citations: - [fomo] Lyons Jr. and Rangaswami. To Cache or Not to Cache. Algorithms 17(7), 301 (2024), sections 3-4 and Algorithm 1; DOI 10.3390/a17070301. https://www.mdpi.com/1999-4893/17/7/301 (accessed 2026-11-29) - [replay] Hesela. FOMO decision-boundary replay: scope, runnable code and tests. https://hesela.dev/research/fomo-boundary/README.md (accessed 2026-11-29) ### Force Unit Access URL: https://hesela.dev/terms/force-unit-access/ Also known as: FUA, REQ_FUA Status: shipping Record updated: 2026-11-29 Force Unit Access specifies command-dependent nonvolatile read or write-completion requirements, including Linux write FUA and NVMe or SCSI read FUA. Note: In the Linux block layer, REQ_FUA requires persistence before write completion. It is distinct from REQ_PREFLUSH, which makes earlier completed writes persistent before the accompanying I/O begins; FUA alone is not that ordering guarantee. The flags can be combined. For devices without native FUA, Linux can implement the requirement with a post-write flush. The name describes completion semantics, not a universal physical bypass of every cache or a guarantee that a multi-block write is atomic. SCSI READ FUA in the Rev. L manual permits non-volatile cache or an LBA's specified pattern, not only the medium. DPO separately controls retention priority. [scsi-dpo-manual] NVMe Read FUA commits the addressed data and any metadata to nonvolatile medium before returning them from that medium. Write FUA requires persistence before write completion. Neither bit orders other commands. [nvme-read-fua] [microsoft-fua] NVMe Compare with FUA commits the addressed contents before reading them for comparison. Verify with FUA flushes the specified data and metadata from volatile cache before verification. These checks are not passive observations of prior durability. [nvme-read-fua] Consequently, successful FUA readback cannot establish whether an earlier ordinary write was already durable before the read began. This is an inference from the read's own persistence requirement, not a power-cut result. [nvme-read-fua] Advantages: - Allows persistence to be required for a specific write's completion. (sources: [linux-cache]) Limitations: - Does not replace the preflush guarantee for previously completed writes. (sources: [linux-cache]) Related terms: - [cache-flush](https://hesela.dev/terms/cache-flush/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [write-through-cache](https://hesela.dev/terms/write-through-cache/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [scsi-dpo](https://hesela.dev/terms/scsi-dpo/) - [nvme-atomic-write-unit-power-fail](https://hesela.dev/terms/nvme-atomic-write-unit-power-fail/) - [nvme-volatile-write-cache](https://hesela.dev/terms/nvme-volatile-write-cache/) Citations: - [linux-cache] Linux kernel documentation. Explicit volatile write back cache control: REQ_PREFLUSH and REQ_FUA. https://docs.kernel.org/block/writeback_cache_control.html (accessed 2026-10-12) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-12) - [scsi-dpo-manual] Seagate SCSI Commands Reference Manual Rev. L (2020), section 3.18, p. 150: DPO and READ FUA. https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068L.pdf#page=150 (accessed 2026-11-08) - [nvme-read-fua] NVM Command Set 1.2, sections 3.3.1/3.3.4/3.3.5/3.3.6, Figs. 26/53/61/70. Copyright 2008-2025 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.2-2025.08.01-Ratified.pdf (accessed 2026-11-29) - [microsoft-fua] Microsoft NVME_CDW12_READ_WRITE: Read/Write FUA and the absence of command ordering. https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_cdw12_read_write (accessed 2026-11-29) ### Foreign object table URL: https://hesela.dev/terms/foreign-object-table/ Also known as: FOT (Twizzler) Status: research Record updated: 2026-11-16 A foreign object table is per-object metadata that resolves a stored persistent pointer's table index to an external object's identity. Note: In the Twizzler object-space proposal, a persistent pointer contains a table index and an offset. Index zero refers inside the containing object; positive indexes select that object's foreign object table. The indirection keeps pointer size separate from the size of a global object identifier. [hotstorage19] An illustrative consequence: suppose object A's entry 2 names X, while object B's entry 2 names Y. The same index-and-offset pair (2, 64) then denotes X at offset 64 in A, but Y at offset 64 in B. Copying that pair alone is not a context-preserving transfer. This is a schematic deduction, not a measured Twizzler execution or an ABI encoding example. Do not confuse the global object space with the local logical object space: the latter abstracts physical mappings for the active working set and need not itself persist. [hotstorage19] Sources and caveats: - The A/B/X/Y example is original explanatory reasoning from the published per-object lookup rule; it does not model deletion, access checks or recovery. Related terms: - [twizzler](https://hesela.dev/terms/twizzler/) Citations: - [hotstorage19] Bittman, Alvaro, Long and Miller. A Tale of Two Abstractions: The Case for Object Space. HotStorage 2019, updated paper; section 2. https://www.usenix.org/system/files/hotstorage19-paper-bittman-update.pdf (accessed 2026-11-16) ### Fork consistency URL: https://hesela.dev/terms/fork-consistency/ Status: research Record updated: 2026-11-20 Fork consistency allows an untrusted server to split clients' histories but prevents silently rejoining those histories after they diverge. Note: In SUNDR, honest clients retain their own last operation and authenticate accepted histories; seeing another branch or communicating can expose divergence, but detection need not be immediate. Moving between clients requires the retained state as well as the key. [fork-sundr] Local signature validity, payload equality, extension of a remembered checkpoint and cross-observer agreement are separate checks. RFC 9162 illustrates the distinction for transparency logs; it is not a storage protocol. [fork-ct] Depot uses Fork-Join-Causal consistency and additional protocols to support progress after divergence, rather than the same permanent no-join condition. A read still needs a correct reachable holder. [fork-depot] Hesela's deterministic illustration explicitly restores an old in-memory checkpoint: a previously rejected branch becomes acceptable while a separately retained newer checkpoint still rejects it. Equal final payloads also coexist with incompatible histories. These controls do not test backup software or crashes. [hesela-example] Limitations: - The retained-state assumption excludes silently restoring an older checkpoint; a recovered signing key alone does not establish freshness. (sources: [fork-sundr], [hesela-example]) - The no-wait impossibility result is scoped to asynchronous server-mediated access to at least two single-writer/multi-reader registers, not all authenticated storage. (sources: [fork-blocking]) Sources and caveats: - Definition scoped to SUNDR; no claim that every signed history implements its protocol. [fork-sundr] - Seven original cases plus six checkpoint/offer controls and encoding/equal-payload checks use real Ed25519 with public fixture keys. No network, durable checkpoint, hardware or deployed-service experiment. [hesela-example] - The baseline in the replay ZIP is explicitly defective historical code; the corrected verifier rejects noncanonical signature text. [hesela-example] - RFC 9162 is Experimental and does not specify a gossip protocol. [fork-ct] Related terms: - [linearizability](https://hesela.dev/terms/linearizability/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [replay-attack](https://hesela.dev/terms/replay-attack/) - [session-guarantees](https://hesela.dev/terms/session-guarantees/) Citations: - [fork-sundr] Li et al. Secure Untrusted Data Repository (SUNDR). OSDI 2004; sections 2 and 3.1-3.2. https://www.scs.stanford.edu/~dm/home/papers/li:sundr.pdf (accessed 2026-11-11) - [fork-depot] Mahajan et al. Depot: Cloud storage with minimal trust. OSDI 2010; section 1. https://www.cs.cornell.edu/lorenzo/papers/Mahajan10Depot.pdf (accessed 2026-11-11) - [fork-ct] RFC 9162: Certificate Transparency Version 2.0. Experimental, 2021; sections 8.3 and 11.3. https://www.rfc-editor.org/rfc/rfc9162.html (accessed 2026-11-11) - [fork-blocking] Cachin, Keidar and Shraer. Fork Sequential Consistency is Blocking. arXiv:0805.2068v1, 2008; section 2 and Theorem 1. https://arxiv.org/html/0805.2068 (accessed 2026-11-11) - [hesela-example] Hesela: frozen signed-history results, source revision, SHA-256 hashes and offline replay. https://hesela.dev/research/fork-consistency/publication.json (accessed 2026-11-11) - [hesela-consistency] Hesela: Valid signatures do not establish a shared history. https://hesela.com/analyses/storage-consistency-ordering/#fork-consistency (accessed 2026-11-11) ### Fork-early-cancel URL: https://hesela.dev/terms/fork-early-cancel/ Related analysis: https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/ Also known as: cancel-on-start redundancy Status: research Record updated: 2026-10-23 Fork-early-cancel is a redundancy model that cancels excess tasks once k tasks have started service, rather than waiting for k completions. Note: The retained tasks must still finish. The model assumes immediate cancellation and selects k tasks uniformly at random if too many start simultaneously; in the (3, 2) system, the third task is cancelled once 2 tasks have started service. This differs from a concrete tied-request protocol with message delay. [joshi] For the (n, 1) case, cancelling every other copy as soon as 1 task reaches the head of its queue makes job latency equal in distribution to an M/G/n queue, and the expected computing cost equals the expected service time of 1 task. [joshi] Advantages: - Early cancellation saves computing cost and is the better choice when the service-time tail is log-concave, as with a shifted exponential. (sources: [joshi]) Limitations: - With log-convex service times, such as a hyperexponential mixture, early cancellation loses the diversity of retained copies and gave higher latency at both low and high load in a (4, 1) example. (sources: [joshi]) Sources and caveats: - joshi re-read 2026-10-23, sections 2 and 5.2, for the (3, 2) model, Theorem 2 and the (4, 1) examples. - A companion analysis with a fixed-schedule counterexample is listed but not used in prose. Related terms: - [k-of-n-completion](https://hesela.dev/terms/k-of-n-completion/) - [tied-request](https://hesela.dev/terms/tied-request/) - [hedged-request](https://hesela.dev/terms/hedged-request/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [joshi] Joshi, Soljanin and Wornell. Efficient Redundancy Techniques for Latency Reduction in Cloud Systems (2017), sections 2 and 5.2; DOI 10.1145/3055281. https://www.pdl.cmu.edu/PDL-FTP/associated/a12-joshi.pdf (accessed 2026-10-23) - [example] Hesela: fixed service starts and cancellation accounting. https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#cancel-on-start (accessed 2026-10-20) ### Forward assembly area URL: https://hesela.dev/terms/forward-assembly-area/ Status: research Record updated: 2026-10-22 A forward assembly area buffers requested chunks in future restore-output order using advance knowledge from the backup recipe. Note: The fixed variant fills one output window before emitting it; the rolling variant advances a ring buffer after emitting a completed prefix. Account for the container input buffer and recipe metadata as well as assembly space. Repeated occurrences occupy separate output positions. [lillibridge2013] In a fixed-size example, A A | B B | C C needs three reads, whereas A A B | B C C needs four. This is deterministic accounting, not measured restore speed or a result for the rolling variant. [hesela-dedup-restore] Restore differs from paging because the unit of I/O is a whole container of about 4 MB while the unit of use is a chunk of 4 to 8 KB, and the recipe gives the exact future chunk sequence. The area repeatedly takes the earliest unfilled position, loads its container and fills every position that needs a chunk from it, so each container is loaded once per slice and unused chunks are never kept. [lillibridge2013] In simulation the rolling variant beat the fixed one by 7 to 23%, and at 128 MB to 1 GB per stream it was 1.2 to 2.7 times faster than an LRU container cache on one data set and 3.3 to 4.3 times on the other. [lillibridge2013] An independent study found it best of three restore algorithms when fragmented chunks were not rewritten, and an adaptive split between the area and a chunk cache raised average restore throughput by 38%. [fu2015] [alacc2018] Advantages: - No replacement policy and no copy from the read buffer are needed, so its computing cost is lower than that of a chunk cache. (sources: [alacc2018]) Limitations: - Duplicates reused beyond the area's range cause extra container reads; on one trace 77% of duplicated chunks were, and a chunk cache did better there. (sources: [alacc2018]) - With history-aware rewriting of fragmented chunks, an optimal cache outperformed it. (sources: [fu2015]) - Memory is needed per stream, and systems restoring hundreds of streams multiply it: 200 streams at 128 MB each need 25.6 GB. (sources: [lillibridge2013]) Sources and caveats: - The original evidence is simulation by the technique's authors at a storage-company research laboratory (HP Labs), driven by two backup data sets. - The three studies use different data sets, metrics and memory settings, so their numbers are not directly comparable; the two independent studies are university work. - Memory figures count the area only, excluding the 4 MB I/O buffer and a recipe buffer of about 1-2% of the area; with LRU assumed to halve its memory by compression the gains were 1.03-1.56 and 1.4-3.4 times. - Arithmetic: the paper's Table 1 slice of 22,886 bytes needs 4 container loads for 6 positions, and its repeated 4,037-byte chunk takes 17.6% of the slice; 25.6 GB assumes 200 streams. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [chunk-fragmentation](https://hesela.dev/terms/chunk-fragmentation/) - [container-capping](https://hesela.dev/terms/container-capping/) Citations: - [lillibridge2013] Lillibridge et al. Improving Restore Speed for Backup Systems that Use Inline Chunk-Based Deduplication. FAST 2013, section 3.3, pp. 186-187. https://www.usenix.org/system/files/conference/fast13/fast13-final124.pdf (accessed 2026-10-19) - [hesela-dedup-restore] Deduplication ratio does not predict restore cost. https://hesela.com/analyses/deduplication-restore-fragmentation/ (accessed 2026-10-19) - [fu2015] Fu et al. Design Tradeoffs for Data Deduplication Performance in Backup Workloads. USENIX FAST 2015. https://www.usenix.org/system/files/conference/fast15/fast15-paper-fu.pdf (accessed 2026-10-16) - [alacc2018] Cao, Wen, Wu and Du. ALACC: Accelerating Restore Performance of Data Deduplication Systems Using Adaptive Look-Ahead Window Assisted Chunk Caching. FAST 2018. https://www.usenix.org/system/files/conference/fast18/fast18-cao.pdf (accessed 2026-10-16) ### Fountain code URL: https://hesela.dev/terms/fountain-code/ Also known as: Rateless erasure code Status: shipping Record updated: 2026-11-21 A fountain code generates additional encoding symbols on demand from a source block, allowing receivers to recover the block from a sufficiently informative received set. Note: Rateless describes how redundancy is generated, not a guarantee that any k received symbols recover k inputs. LT codes mix selected inputs by XOR; Raptor constructions add a precode before the LT stage. The precode permits recovery of inputs that the LT stage leaves unresolved. Degree distribution, decoding algorithm and reception overhead affect recovery. [raptor2006] RFC 6330 specifies the distinct, systematic RaptorQ scheme. For supported extended block sizes K', its decoder requirements bound average failure by 1/100, 1/10,000 and 1/1,000,000 at K', K'+1 and K'+2 received symbols respectively, with encoding-symbol identifiers sampled independently and uniformly. K' is the supported padded block size, not automatically the original K. These are conditional requirements, not universal disk-loss probabilities. [rfc6330] In Hesela's three-input example, three distinct XOR equations can have rank two. Another three-equation set has full rank but no degree-one equation, so pure peeling stalls. An added singleton starts recovery without increasing rank. Receiving more equations, gaining independent information and enabling a particular decoder are separate events. [example] Limitations: - Erasure recovery does not authenticate symbols or detect every corruption; protect the object and its decoding metadata separately. (sources: [rfc6330]) - The linked calculation is a constructed binary-matrix demonstration, not an LT degree-distribution simulation or a RaptorQ implementation. (sources: [guide]) Sources and caveats: - The 2006 paper gives code constructions and mathematical analysis; RFC 6330 gives a later interoperable scheme. Neither is treated as a storage-fleet measurement. - The example uses fixed, explicitly listed coefficient rows and known-correct equations from one source block. Related terms: - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [lt-code](https://hesela.dev/terms/lt-code/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [rateless-iblt](https://hesela.dev/terms/rateless-iblt/) - [raptor-code](https://hesela.dev/terms/raptor-code/) - [raptorq](https://hesela.dev/terms/raptorq/) - [soliton-distribution](https://hesela.dev/terms/soliton-distribution/) Citations: - [raptor2006] Amin Shokrollahi. Raptor Codes. IEEE TIT 52(6), 2551-2567 (2006), sections III-IV. DOI: 10.1109/TIT.2006.874390. https://www.qualcomm.com/content/dam/qcomm-martech/dm-assets/documents/Raptor_Codes_IEEE_technical_analysis.pdf (accessed 2026-11-21) - [rfc6330] RFC 6330 (2011): RaptorQ, sections 5.3.1, 5.8 and 6. https://www.rfc-editor.org/rfc/rfc6330.html (accessed 2026-11-21) - [example] Hesela: exact synthetic XOR equation, rank and peeling observations. https://hesela.dev/research/fountain-rank/observations.json (accessed 2026-11-21) - [guide] Hesela: worked decoding example and reproduction instructions. https://hesela.dev/research/fountain-rank/README.txt (accessed 2026-11-21) ### FPC URL: https://hesela.dev/terms/fpc/ Also known as: FPC floating-point compression Status: shipping Record updated: 2026-11-17 FPC is a lossless codec that predicts binary64 bit patterns and encodes their XOR residuals with byte-granular length codes. Note: Prediction: FPC combines a finite-context predictor with a differential predictor. The latter models integer differences between bit patterns, not floating-point subtraction. Decoder and encoder update both predictors from reconstructed values. [paper] Coding: Each value has a one-bit predictor selector and a three-bit length code. Residual payload lengths are 0, 1, 2, 3, 5, 6, 7 or 8 bytes. A residual needing four bytes therefore occupies five. Two selectors and length codes share one byte. [implementation] Worked bytes: Residual 0x0000000012345678 needs four ordinary bytes but five coded payload bytes. Two such residuals need 11 bytes including their shared control byte, before stream or block headers. This is residual accounting, not an end-to-end compression ratio. [ledger] Memory: The reference interface's level x allocates two tables totaling 2^(x+4) bytes, excluding buffers. At x=20 that is 16 MiB. The level controls predictor memory, not retained numerical precision. [project] Sources and caveats: - The 2009 study evaluated thirteen scientific datasets on four older processor architectures; its throughput is not a current hardware guarantee. [paper] - The supplied reference interface requires little-endian binary64 input, with byte length divisible by eight. [project] - The linked ledger checks coding arithmetic only; it is neither a complete FPC encoder nor a replication of the paper's experiments. [ledger] Related terms: - [pfpc](https://hesela.dev/terms/pfpc/) - [fpzip](https://hesela.dev/terms/fpzip/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) Citations: - [paper] Burtscher and Ratanaworabhan: FPC, IEEE Transactions on Computers 58(1), 18-31 (2009), section 2. https://userweb.cs.txstate.edu/~burtscher/papers/tc09.pdf (accessed 2026-11-17) - [implementation] The FPC Double-Precision Floating-Point Compression Algorithm and its Implementation, sections 2 and 4. https://userweb.cs.txstate.edu/~burtscher/papers/tr08.pdf (accessed 2026-11-17) - [project] FPC 1.1: reference interface, table-size parameter and little-endian input restrictions. https://userweb.cs.txstate.edu/~burtscher/research/FPC/ (accessed 2026-11-17) - [ledger] Hesela: exact FPC residual costs and pFPC predictor-memory accounting. https://hesela.dev/research/fpc-residuals/README.md (accessed 2026-11-17) ### FPTree URL: https://hesela.dev/terms/fptree/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: Fingerprinting Persistent Tree Status: research Record updated: 2026-12-04 FPTree is a hybrid B+ tree that persists leaves in storage-class memory and reconstructs DRAM-resident inner nodes during recovery. Note: Selective persistence leaves routing state volatile. Recovery first repairs interrupted leaf splits and deletions from micro-logs, then rebuilds inner nodes from the leaf chain. Fingerprints select candidate keys; full comparisons resolve collisions. [fptree] Comparison scope: FPTree's evaluation reimplements NV-Tree with inner nodes in DRAM, although the earlier design assumed an NVM-only system. Its persistent allocator records allocation ownership so interrupted operations can recover without orphaning allocations; inner-node rebuilding alone does not provide that protection. [fptree] Limitations: - The paper's latency experiments use DRAM-based SCM emulation; they do not establish performance on current persistent-memory hardware. (sources: [fptree]) Sources and caveats: - Source review of the accepted manuscript, sections 4.1-4.2, 5 (Algorithm 9) and 6.1. Publication year is not a commercial-availability claim. Related terms: - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) - [cceh](https://hesela.dev/terms/cceh/) - [recipe](https://hesela.dev/terms/recipe/) - [bztree](https://hesela.dev/terms/bztree/) - [nv-tree](https://hesela.dev/terms/nv-tree/) - [fast-fair](https://hesela.dev/terms/fast-fair/) Citations: - [fptree] Oukid et al. FPTree: A Hybrid SCM-DRAM Persistent and Concurrent B-Tree for Storage Class Memory. SIGMOD 2016. DOI: 10.1145/2882903.2915251. https://d-nb.info/1266178864/34 (accessed 2026-11-10) - [hesela-pmem] Hesela: persistent memory, recovery state and FPTree. https://hesela.com/analyses/pmem-persistence-domains-dax/#fptree (accessed 2026-11-10) ### fpzip URL: https://hesela.dev/terms/fpzip/ Also known as: FPZIP compression Status: shipping Record updated: 2026-11-17 fpzip is a predictive codec for spatially correlated floating-point arrays that supports lossless encoding and optional low-bit truncation. Note: Mechanism: A scan through a regular array predicts each value from previously reconstructed neighbors, then encodes a correction in a mapped integer representation. The 1.3.0 build selects floating-point or integer prediction arithmetic. [implementation] Precision: The prec field counts retained representation bits, not mantissa bits. For binary32, prec=24 preserves one sign bit, eight exponent bits and 15 stored fraction bits. For binary64, prec=32 leaves 20 stored fraction bits. Zero selects full precision. [api] [code] Range: Version 1.3.0 accepts 2-32 bits for binary32 and even counts from 4-64 for binary64, plus zero. Below 9 or 12 respectively, truncation reaches the exponent. This is neither an absolute-error target nor a fixed compressed size. [api] [code] Observed bytes: An eight-value binary32 fixture takes 36 bytes at prec=9 but 37 at prec=8, including the stream header. Reduced precision need not reduce every small stream. The full-precision fixture takes 59 bytes for 32 raw bytes; this is a constructed example, not a workload estimate. [probe] Sources and caveats: - Pinned fpzip 1.3.0, FPZIP_FP_SAFE, GNU 13.3.0; sixteen constructed configurations agree byte-for-byte between Release and Debug. - The native probe covers finite binary32/binary64 values and signed zeros. It does not establish cross-platform compatibility or cover infinities, NaNs and subnormals. - Prediction arithmetic and format compatibility depend on build configuration; decoding requires the matching metadata and codec. [api] Related terms: - [fpc](https://hesela.dev/terms/fpc/) - [lorenzo-predictor](https://hesela.dev/terms/lorenzo-predictor/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [zfp](https://hesela.dev/terms/zfp/) Citations: - [api] fpzip 1.3.0: API precision range, headers and floating-point portability. https://github.com/LLNL/fpzip/blob/4a539c06d98b1c029b08324a086d4b75689a2b72/include/fpzip.h (accessed 2026-11-17) - [code] fpzip 1.3.0: representation mapping and bit truncation. https://github.com/LLNL/fpzip/blob/4a539c06d98b1c029b08324a086d4b75689a2b72/src/pcmap.inl (accessed 2026-11-17) - [implementation] fpzip 1.3.0: scan order, predictor modes and encoded corrections. https://github.com/LLNL/fpzip/blob/4a539c06d98b1c029b08324a086d4b75689a2b72/src/write.cpp (accessed 2026-11-17) - [probe] Hesela: fpzip precision ledger and exact-arithmetic Lorenzo examples. https://hesela.dev/research/fpzip-precision/README.md (accessed 2026-11-17) - [project] LLNL: fpzip project and Lindstrom-Isenburg 2006 publication, DOI 10.1109/TVCG.2006.143. https://computing.llnl.gov/projects/fpzip (accessed 2026-11-17) ### Fractured read URL: https://hesela.dev/terms/fractured-read/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Fractured reads Status: unknown Record updated: 2026-11-11 A fractured read observes a transaction's write and a version older than that transaction's write to the same or another item. Note: The companion item may be read before or after the observed version; read order alone cannot remove the fracture. [ramp] In a read-only transaction, reading x0 then x1, or the reverse, is a same-item fracture when distinct committed transactions wrote those versions; reading x1 twice is not. [ramp] Sources and caveats: - This record describes an anomaly, not a device lifecycle; firstSeen is unset and status is unknown. Related terms: - [read-atomic-isolation](https://hesela.dev/terms/read-atomic-isolation/) - [monotonic-atomic-view](https://hesela.dev/terms/monotonic-atomic-view/) - [linearizability](https://hesela.dev/terms/linearizability/) Citations: - [ramp] Bailis et al. Scalable Atomic Visibility with RAMP Transactions. SIGMOD 2014, sections 3-4 and Appendix. DOI: 10.1145/2588555.2588562. https://www.bailis.org/papers/ramp-sigmod2014.pdf (accessed 2026-11-11) - [hesela-consistency] Hesela: storage consistency and read-set visibility examples. https://hesela.com/analyses/storage-consistency-ordering/#read-atomic (accessed 2026-10-19) ### Fragmented LSM tree URL: https://hesela.dev/terms/fragmented-lsm-tree/ Also known as: FLSM, Fragmented log-structured merge tree Status: research Record updated: 2026-11-10 A fragmented LSM tree organizes overlapping sorted tables within disjoint guard key ranges to reduce repeated compaction writes. Note: Layout: PebblesDB introduced FLSM at SOSP 2017. A guard identifies a key interval, not a single table; tables within it may overlap. Compaction partitions output for destination guards instead of repeatedly merging it into their existing tables. [pebbles-paper] Boundary: the last level still rewrites data, and the penultimate level can also rewrite locally. FLSM is not a zero-compaction design. [pebbles-paper] Queries: table-level Bloom filters can reject point membership, but a negative for key q does not exclude a successor greater than q. PebblesDB uses additional seek optimizations, including compaction and parallel search, with their own write and CPU costs. The project documentation distinguishes these controls. [pebbles-project] Guard lifecycle: selected guards remain uncommitted until compaction reconciles table placement and persists the new boundaries. Reads ignore the pending guards. Deleting the key that supplied a guard does not itself delete that guard. [pebbles-paper] Check: Hesela's constructed layout example rejects a new routing boundary paired with old file placement; it is not a PebblesDB bug or crash-recovery test. [hesela] Limitations: - Historical performance results depend on workload, compaction state and hardware; they are not a ranking of current database releases. (sources: [pebbles-paper]) Sources and caveats: - Source-based synthesis, not a PebblesDB execution or reproduction of its benchmarks. - Hesela's separate successor example uses constructed integer keys and exact membership, not an implemented Bloom filter. - Guard lifecycle: source review of section 3.3; a separate finite layout model checks membership preservation, not the engine's concurrency or durability. Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sstable](https://hesela.dev/terms/sstable/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [compaction](https://hesela.dev/terms/compaction/) - [read-amplification](https://hesela.dev/terms/read-amplification/) - [write-amplification](https://hesela.dev/terms/write-amplification/) Citations: - [pebbles-paper] Raju et al. PebblesDB: Building Key-Value Stores using Fragmented Log-Structured Merge Trees. SOSP 2017, sections 3-5. DOI: 10.1145/3132747.3132765. https://www.cs.utexas.edu/~vijay/papers/sosp17-pebblesdb.pdf (accessed 2026-11-10) - [pebbles-project] PebblesDB authors: read and seek optimizations, tuning and post-paper changes. https://utsaslab.github.io/pebblesdb/ (accessed 2026-11-08) - [hesela] Hesela: Bloom filters and the cost of an absent LSM lookup. https://hesela.com/analyses/bloom-filters-lsm-read-cost/ (accessed 2026-11-08) ### Frailty model URL: https://hesela.dev/terms/frailty-model/ Related analysis: https://hesela.com/analyses/mttf-vs-field-replacement-rates/ Also known as: multiplicative frailty model Status: research Record updated: 2026-11-20 A frailty model represents unobserved heterogeneity in time-to-event data through a latent random effect on the hazard. Note: In a common multiplicative specification, h(t|Z=z) = z h0(t), with a positive, dimensionless multiplier Z and baseline hazard h0. Setting E[Z]=1 fixes the scale, not a measured property of a drive fleet. [gutierrez-frailty] The population hazard is h0(t) E[Z|T>t], not generally h0(t) E[Z]. Higher-frailty units tend to fail sooner, changing the survivor mixture even when each unit's multiplier is fixed. Conditional and population hazard trends can therefore differ. [gutierrez-frailty] Individual frailty describes variation between units. Shared frailty assigns a common latent effect to a specified group and can model dependence between its event times. The conventional shared model assumes conditional independence given that effect and included covariates. State the grouping and distribution assumptions. [therneau-frailty] A frailty term models random effects; a cluster-robust variance adjustment alone does not fit a latent frailty distribution. These are different modeling approaches. [survival-frailty] An overly restrictive baseline hazard can be mistaken for frailty. Arbitrarily splitting one device's unchanged observation history into daily intervals adds no survival information; intervals from one event history are not new independent devices. This equivalence assumes uninformative splitting, not changing covariates or new events. [gutierrez-frailty] Limitations: - A latent effect does not identify a physical failure mechanism or establish causation. A falling fleet hazard alone cannot identify the frailty distribution. Sources and caveats: - Methodological definition, not a fitted storage model. The linked analysis uses two additive linear hazards to illustrate general survivor selection, not a fixed-multiplier frailty model. - The Mayo source is Technical Report 66 from June 2000, not the later 2003 journal version. Related terms: - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [survival-function](https://hesela.dev/terms/survival-function/) Citations: - [gutierrez-frailty] Gutierrez (2002): Parametric frailty and shared frailty survival models, sections 2-4. https://journals.sagepub.com/doi/pdf/10.1177/1536867X0200200102 (accessed 2026-11-20) - [therneau-frailty] Therneau, Grambsch and Pankratz: Penalized Survival Models and Frailty, Technical Report 66 (2000), sections 1-2. https://www.mayo.edu/research/documents/biostat-66pdf/doc-10027382 (accessed 2026-11-20) - [survival-frailty] R survival 3.8-6: frailty random effects and the distinction from cluster variance. https://stat.ethz.ch/R-manual/R-devel/library/survival/html/frailty.html (accessed 2026-11-20) ### Frame-of-reference encoding URL: https://hesela.dev/terms/frame-of-reference/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: FOR encoding, Frame of reference Status: shipping Record updated: 2026-11-17 Frame-of-reference encoding represents integer values as offsets from a shared reference value, commonly a block minimum, so the offsets can use a reduced bit width. Note: Base: For 1000, 1001, 1003 and 1007, a base of 1000 leaves offsets 0, 1, 3 and 7. Three bits per offset give 12 payload bits; base, count, width and padding still need accounting. A constant block can use zero offset bits when its base and count are retained. [for-paper] [for-example] Composition: Parquet DELTA_BINARY_PACKED first computes adjacent differences, then subtracts the minimum difference in each block and packs residuals per miniblock. Its reference is a minimum delta, not a minimum original value. Counts, first value, block geometry and widths remain necessary decoding context. [parquet-delta] Access: Recovering a plain FOR value is base plus offset once its block and metadata are located; this does not establish file-level constant-time access. Changing a base can change every reconstructed value without breaking the arithmetic. Terminology varies, and some FOR implementations use an implicit zero base. [for-paper] [for-example] Arithmetic: Parquet requires two's-complement wraparound at the physical integer width for differences and reconstruction. The 64-bit transition from 2^63-1 to -2^63 therefore has wrapped delta 1, not the unbounded difference 1-2^64. [parquet-delta] Sources and caveats: - Primary-source synthesis plus a bounded signed-64-bit integer illustration; no native codec benchmark, format-compatibility claim or new empirical result. Related terms: - [bit-packing](https://hesela.dev/terms/bit-packing/) - [patched-frame-of-reference](https://hesela.dev/terms/patched-frame-of-reference/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [parquet](https://hesela.dev/terms/parquet/) Citations: - [for-paper] Lemire and Boytsov: Decoding billions of integers per second through vectorization, sections 2.6-2.8 and 5. https://arxiv.org/pdf/1209.2137v7 (accessed 2026-11-17) - [parquet-delta] Apache Parquet: DELTA_BINARY_PACKED encoding. https://parquet.apache.org/docs/file-format/data-pages/encodings/#delta-encoding-delta_binary_packed--5 (accessed 2026-11-17) - [for-example] Hesela: frame-of-reference arithmetic and exception example. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#frame-of-reference (accessed 2026-11-17) ### Frangipani URL: https://hesela.dev/terms/frangipani/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: Frangipani file system Status: research Record updated: 2026-11-30 Frangipani is a research shared-disk file system that coordinates file servers over Petal virtual storage using distributed locks and metadata logs. Note: Petal supplies a sparse virtual block address space, replication and snapshots; it is a storage service below the file-system interface. [petal1996] Frangipani assumes mutually trusted servers. Its per-server redo logs cover metadata, not user data; recovery therefore does not establish application consistency. Locks coordinate cached state, while lease expiry triggers recovery. [frangipani1997] The prototype's client-side lease check did not eliminate delayed writes at Petal. The paper describes target-side rejection as future work, not an implemented guarantee. [frangipani1997] Limitations: - Historical prototype evidence is not a current product specification or an independently reproduced benchmark. Sources and caveats: - Primary-source synthesis; no Frangipani installation, crash test or performance replication was performed. Related terms: - [shared-disk-filesystem](https://hesela.dev/terms/shared-disk-filesystem/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [petal](https://hesela.dev/terms/petal/) Citations: - [frangipani1997] Thekkath, Mann and Lee. Frangipani: A Scalable Distributed File System. SOSP 1997, sections 2, 4-6. https://pdos.csail.mit.edu/archive/6.824-2007/papers/thekkath-frangipani.pdf (accessed 2026-11-30) - [petal1996] Lee and Thekkath. Petal: Distributed Virtual Disks. ASPLOS 1996, sections 1-2. https://www.cs.rice.edu/~alc/old/comp520/papers/petal.pdf (accessed 2026-11-30) - [hesela] Hesela: Storage fencing and stale writes. https://hesela.com/analyses/storage-fencing-stale-writes/#frangipani-lease-boundary (accessed 2026-11-30) ### Free-space fragmentation URL: https://hesela.dev/terms/free-space-fragmentation/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: free space fragmentation Status: shipping Record updated: 2026-11-14 Free-space fragmentation is the division of a filesystem's available allocation space into separated contiguous runs. Note: The same number of free blocks can have different run sizes and locations. This constrains later allocation, but a scan of allocated file contents does not traverse free space itself. Geriatrix targets both allocated-file and free-space layout. Its publisher abstract and proceedings PDF disagree on the headline SSD percentage; neither is a universal aging penalty. Keep the workload and comparison denominator with a reported rate change. [geriatrix] [geriatrix-record] State the allocation unit when comparing layouts. With ext4 bigalloc, allocation-bitmap bits describe clusters rather than individual filesystem blocks. A 1 MiB cluster of 4 KiB blocks makes each bit cover 256 blocks and shrinks the bitmaps of a 2-terabyte filesystem from 64 MB to 256 KB, so equal free-unit counts can describe different capacities. [ext4-bigalloc] Run lengths alone do not establish alignment-sensitive capacity. For a free interval [s, e) and region size B, the count of complete aligned regions is max(0, floor(e/B) - ceil(s/B)); all addresses must use the same alignment origin. Hesela's synthetic examples isolate this geometry, not actual hugepage mappings, allocator success or device performance. [hesela-aligned-geometry] Advantages: - A free-run distribution exposes allocation constraints that an occupancy figure alone cannot show. (sources: [geriatrix]) Limitations: - An occupancy percentage is not a free-extent distribution. - Logical free runs do not reveal the physical NAND layout behind an SSD's mapping layer. Sources and caveats: - geriatrix re-read 2026-10-23 for the dual fragmentation target and the 30% and 80% figures from the abstract. ext4-bigalloc re-read for the 1 MiB cluster example. - The ssd-preconditioning entry links here because aging free space is one way to set a filesystem state before a measurement, alongside device-level preparatory writes. - 2026-11-14: removed the unqualified headline percentage, reconciled with the existing Observatory source/denominator discussion; source versions are not interchangeable. - 2026-11-14: added original deterministic geometry illustration; no hardware measurement or WineFS performance replication. Related terms: - [filesystem-aging](https://hesela.dev/terms/filesystem-aging/) - [dynamic-layout-score](https://hesela.dev/terms/dynamic-layout-score/) - [ssd-preconditioning](https://hesela.dev/terms/ssd-preconditioning/) - [allocation-bitmap](https://hesela.dev/terms/allocation-bitmap/) - [fat-cluster-chain](https://hesela.dev/terms/fat-cluster-chain/) - [exfat](https://hesela.dev/terms/exfat/) - [ext4-bigalloc](https://hesela.dev/terms/ext4-bigalloc/) - [range-write](https://hesela.dev/terms/range-write/) - [winefs](https://hesela.dev/terms/winefs/) Citations: - [geriatrix] Kadekodi, Nagarajan, Ganger and Gibson. Geriatrix: Aging what you see and what you don't see. USENIX ATC 2018, pp. 691-704, sections 4-6. https://www.usenix.org/system/files/conference/atc18/atc18-kadekodi.pdf (accessed 2026-10-23) - [conway19] Conway et al. Filesystem Aging: It's more Usage than Fullness. HotStorage 2019, sections 3-4 and Figure 3. https://files.usenix.org/s3fs-public/cdn/hotstorage19-paper-conway.pdf (accessed 2026-10-14) - [ext4-bigalloc] Linux kernel documentation: ext4 bigalloc and clustered allocation. https://docs.kernel.org/filesystems/ext4/bigalloc.html (accessed 2026-10-23) - [geriatrix-record] USENIX ATC 2018. Geriatrix publisher abstract, whose headline SSD percentage differs from the proceedings PDF. https://www.usenix.org/conference/atc18/presentation/kadekodi (accessed 2026-11-14) - [hesela-aligned-geometry] Hesela. A long free extent can still miss the boundary: executable synthetic geometry. https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/#aligned-geometry (accessed 2026-11-14) ### Freeblock scheduling URL: https://hesela.dev/terms/freeblock-scheduling/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Status: research Record updated: 2026-12-02 Freeblock scheduling fits background HDD transfers into predicted rotational delays while aiming to preserve the next foreground transfer's timing. Note: The foreground request is selected first; background work uses the remaining positioning opportunity. Extra seeks consume some of that opportunity. This is not simply waiting until the request queue is empty. [freeblock2000] Large sets of unordered blocks give the scheduler more choices. The last blocks of a scan can be awkward to reach; promoting them to foreground priority trades scan completion against foreground interference. [freeblock2000] The FAST 2002 external prototype used limited command queueing and adjacent-request merging to handle timing and drive-cache behavior. Imperfect prediction and control reduced usable bandwidth relative to the earlier simulation. [freeblock2002] The external prototype could merge a background read into a not-yet-issued destination request, but could not extend the already-issued source request. Separate commands on one track could trigger unwanted prefetch behavior. A wraparound opportunity therefore did not necessarily fit one permitted command. [freeblock2002] Figure 11 offers LBN ranges 1326-1334 and 1112-1145, containing 9 and 34 sectors. The prototype takes the larger range and leaves 9 sectors unused. Hesela's calculation gives 34/43 of this opportunity, not a disk-wide bandwidth or scan-completion fraction. [opportunity] Seek-time conservatism trades fewer missed rotations for fewer accepted background transfers. More background bandwidth can also reflect a less efficient foreground policy, so evaluate both workloads together. [freeblock2002] API contract: FAST 2004 also uses idle time. Tasks have no ordering guarantee; reads need not reflect registration-time contents. A write may complete through another write to the same location. Scheduling completion does not establish a point-in-time backup. [freeblock2004] Advantages: - The FAST 2004 getbuffer_fn callback acquires a write buffer only when selected for service and can decline an unavailable buffer, avoiding a lock throughout the potentially long scheduling wait. (sources: [freeblock2004]) Limitations: - Prediction errors can miss the intended sector passage and add a rotation of delay. (sources: [freeblock2002]) - Stable snapshot contents do not imply stable block addresses. In the paper's FreeBSD snapshot-COW case, the backup checks returned blocks with the snapshot system and re-registers relocated reads. Application-COW instead preserves the snapshot map. (sources: [freeblock2004]) Sources and caveats: - Historical source synthesis, not a current Linux scheduler option, SSD capability or reproduced benchmark. - The Figure 11 calculation checks inclusive LBN counts under one-request eligibility. It does not reconstruct track geometry, command timing or measured performance. Related terms: - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [anticipatory-scheduling](https://hesela.dev/terms/anticipatory-scheduling/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [semi-preemptible-io](https://hesela.dev/terms/semi-preemptible-io/) - [snapshot](https://hesela.dev/terms/snapshot/) - [eager-writing](https://hesela.dev/terms/eager-writing/) Citations: - [freeblock2000] Lumb et al. Towards Higher Disk Head Utilization: Extracting "Free" Bandwidth from Busy Disk Drives. OSDI 2000, sections 2, 5.2 and 6. https://static.usenix.org/events/osdi2000/full_papers/lumb/lumb_html/index.html (accessed 2026-11-09) - [freeblock2002] Lumb, Schindler and Ganger. Freeblock Scheduling Outside of Disk Firmware. FAST 2002, pp. 275-288; sections 2-5. https://www.usenix.org/legacy/publications/library/proceedings/fast02/full_papers/lumb/lumb_html/index.html (accessed 2026-11-09) - [hesela] Hesela: HDD rotational slack versus waiting for demand. https://hesela.com/analyses/ssd-fairness-shared-queues/#freeblock-scheduling (accessed 2026-11-09) - [opportunity] Hesela: FAST 2002 Figure 11 range-count reconstruction, code, tests and scope. https://hesela.dev/research/freeblock-opportunity/README.md (accessed 2026-11-30) - [freeblock2004] Thereska, Schindler, Bucy, Salmon, Lumb and Ganger. A Framework for Building Unobtrusive Disk Maintenance Applications. FAST 2004, sections 2-4. https://www.usenix.org/legacy/event/fast04/tech/thereska/thereska_html/ (accessed 2026-12-01) ### Front coding URL: https://hesela.dev/terms/front-coding/ Also known as: Front-coding, Key-prefix compression Status: shipping Record updated: 2026-11-17 Front coding represents a string using its common-prefix length with a preceding string and the remaining suffix. Note: Dictionary: Lexicographically sorted strings often share prefixes. Bucketed front coding stores each bucket's first string explicitly, then encodes following strings relative to their predecessors. Search can binary-search bucket headers and reconstruct the selected bucket sequentially. [dictionary] Bytes: LevelDB 1.23 counts shared and unshared key bytes, not Unicode characters. A common byte prefix can end inside a UTF-8 code point; reconstruct the complete bytes before interpreting text. [builder] Storage: Full-key restart entries limit reconstruction dependencies. Entry length fields and restart offsets also consume space, so suffix-byte savings alone do not establish total block savings. Optional whole-block compression is a separate later step. [builder] [writer] Scope: Prefix coding is a reversible representation, not a prefix Bloom membership test. Restart spacing trades metadata and repeated key bytes against reconstruction work; it does not predict hardware latency. [reader] Sources and caveats: - Primary-source synthesis, with UTF-8 implications derived from byte-prefix semantics. Native LevelDB 1.23 block-builder and reader checks match 658 constructed raw-key, empty-value cases, including the accompanying byte ledger; this is not a database compression or performance benchmark. Related terms: - [sstable-restart-point](https://hesela.dev/terms/sstable-restart-point/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) Citations: - [dictionary] Brisaboa et al. (2011): Compressed String Dictionaries, section 2.4. https://arxiv.org/pdf/1101.5506v1 (accessed 2026-11-17) - [builder] LevelDB 1.23: BlockBuilder key-prefix encoding and restart offsets. https://github.com/google/leveldb/blob/99b3c03b3284f5886f9ef9a4ef703d57373e61be/table/block_builder.cc (accessed 2026-11-17) - [writer] LevelDB 1.23: TableBuilder::WriteBlock and optional block compression. https://github.com/google/leveldb/blob/99b3c03b3284f5886f9ef9a4ef703d57373e61be/table/table_builder.cc (accessed 2026-11-17) - [reader] LevelDB 1.23: Block::Iter seek and reconstruction. https://github.com/google/leveldb/blob/99b3c03b3284f5886f9ef9a4ef703d57373e61be/table/block.cc (accessed 2026-11-17) - [hesela] Hesela: Front coding needs a complete byte ledger. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#front-coding-ledger (accessed 2026-11-17) ### fs-verity URL: https://hesela.dev/terms/fs-verity/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Status: shipping Record updated: 2026-10-22 fs-verity is a Linux filesystem facility that verifies the immutable contents of selected files against a cryptographic file digest. Note: The digest covers a descriptor containing the Merkle root, file size and hashing parameters. Authenticating it requires a separate trust policy. [fs-verity-source] FS_IOC_MEASURE_VERITY retrieves the enforced digest without scanning file data; its success does not establish that every block is currently readable. [fs-verity-measure] The fsverity digest command instead computes a digest from bytes using selected parameters. Matching it to measure requires the same algorithm, block size and salt; computing it does not enable verification. [fsverity-utils] Data is checked before becoming readable through the page cache, including mapped access. Already-verified cached data may be reused, and verified hash blocks shorten traversal. A complete logical read need not be a fresh physical-media scan. [fs-verity-verify] A native fsverity-utils v1.6 experiment reproduces equal roots for zero-extended files, a top hash block reused as file contents, and salts 00 versus 0000. The complete descriptor digests differ in all tested pairs. These are construction ambiguities resolved by the descriptor, not hash collisions or fs-verity vulnerabilities. [binding-results] [binding-source] For empty input, the root is all zeroes but the file digest still hashes the descriptor. The four empty-file observations export no tree bytes; within each algorithm their digest changes with the selected block size. This is not the ordinary hash of empty input. [binding-results] [binding-source] Limitations: - Names, ownership and mode are outside its measurement; requiring signatures for verity files does not require every file to use verity. (sources: [fs-verity-source]) - Exporting verity metadata does not guarantee its authentication against the measured digest. Linux v6.12 falls back to buffered I/O for verity files rather than providing a direct-I/O verification bypass. (sources: [fs-verity-source]) Related terms: - [fscrypt](https://hesela.dev/terms/fscrypt/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [dm-verity](https://hesela.dev/terms/dm-verity/) - [dm-integrity](https://hesela.dev/terms/dm-integrity/) - [page-cache](https://hesela.dev/terms/page-cache/) - [rollback-protection](https://hesela.dev/terms/rollback-protection/) Citations: - [fs-verity-source] Linux v6.12 documentation: fs-verity, descriptor, metadata exclusions and built-in signature limits. https://docs.kernel.org/6.12/filesystems/fsverity.html (accessed 2026-10-15) - [hesela-integrity] Hesela: Why a valid checksum can still return the wrong data. https://hesela.com/analyses/checksums-identity-and-lost-writes/#verity-read-coverage (accessed 2026-10-18) - [fs-verity-measure] Linux v6.12 measure.c: FS_IOC_MEASURE_VERITY copies the enforced digest. https://github.com/torvalds/linux/blob/v6.12/fs/verity/measure.c (accessed 2026-10-18) - [fsverity-utils] fsverity-utils v1.6 manual: measure, digest, enable and dump_metadata contracts. https://github.com/ebiggers/fsverity-utils/blob/v1.6/man/fsverity.1 (accessed 2026-10-18) - [fs-verity-verify] Linux v6.12 verify.c: verification of data and cached hash blocks. https://github.com/torvalds/linux/blob/v6.12/fs/verity/verify.c (accessed 2026-10-18) - [binding-results] Hesela: 40 native fs-verity descriptor observations and reproduction bundle. https://hesela.dev/research/verity-binding/results.json (accessed 2026-10-21) - [binding-source] fsverity-utils v1.6: root computation, salt padding and descriptor hashing. https://github.com/ebiggers/fsverity-utils/blob/2543e6e5037c0b1b448282c2793f8a6ce8b12d71/lib/compute_digest.c (accessed 2026-10-21) - [binding-method] Hesela: descriptor experiment method, controls and limitations. https://hesela.dev/research/verity-binding/README.md (accessed 2026-10-21) ### FSCAN URL: https://hesela.dev/terms/fscan/ Also known as: Frozen-queue SCAN Status: research Record updated: 2026-11-30 FSCAN is a disk scheduling policy that freezes the requests eligible for a scan and defers later arrivals to the next scan. Note: Admission rule: requests arriving during a scan wait outside its active set, even when they would be convenient to service at the current position. Freezing eligibility and choosing the next cylinder are separate decisions. [seltzer90] With finite batches and finite service times, later arrivals cannot keep extending the active batch. This prevents indefinite postponement by those arrivals, but does not establish a workload-independent latency deadline: a large batch or slow request can still take arbitrarily long. [witness] Synthetic example: a batch starts with one near request and one far request. Eight additional near requests arrive one by one. The far request completes second with frozen admission and tenth with open admission under the same ascending-position selector. These are completion ordinals, not measured milliseconds. [witness] A host dispatch rule is not an end-to-end completion-order guarantee. Linux blk-mq separates software staging, hardware dispatch and tagged completion; the block layer and device protocols do not promise completion order. [blk-mq] Sources and caveats: - Historical scheduling policy, not a selectable current Linux scheduler or a measured SSD optimization. - The witness isolates batch admission with an ascending-position selector; it omits seek time, rotational delay, scan-end travel, device errors and concurrency. - The 1972 Coffman-Klimko-Ryan paper was checked at metadata/abstract level only; the frozen-queue description is sourced to section 2 of the fully available 1990 paper. Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [queueing-delay](https://hesela.dev/terms/queueing-delay/) - [first-come-first-served](https://hesela.dev/terms/first-come-first-served/) - [hdd](https://hesela.dev/terms/hdd/) Citations: - [seltzer90] Seltzer, Chen and Ousterhout. Disk Scheduling Revisited. Winter USENIX 1990, section 2 (FSCAN). https://web.eecs.umich.edu/~pmchen/papers/seltzer90.pdf (accessed 2026-11-30) - [witness] Hesela: frozen admission, finite batches and the missing latency bound; executable synthetic witness. https://hesela.dev/research/fscan/README.md (accessed 2026-11-30) - [blk-mq] Linux 6.16: Multi-Queue Block IO Queueing Mechanism, hardware dispatch queues and tag-based completion. https://docs.kernel.org/6.16/block/blk-mq.html (accessed 2026-11-30) ### FSCQ URL: https://hesela.dev/terms/fscq/ Status: research Record updated: 2026-12-04 FSCQ is a research filesystem whose Coq implementation is proved to satisfy a specification that includes recovery after crashes. Note: The SOSP 2015 system wraps filesystem calls in transactions. Its disk model allows asynchronous, reordered writes but assumes atomic sector writes. Torn sectors are outside that model. [fscq15] The extracted filesystem runs through a Haskell/FUSE interface with unverified components. The authors' repository warns against practical use and identifies master as the later DFSCQ system, not the original FSCQ artifact. [artifact] DFSCQ adds deferred writes and a metadata-prefix contract. Metadata survives in operation order, while data writes may persist out of order. Its fsync and fdatasync specifications must not be substituted for the original system's contract. [dfscq17] The authors also tested 320 constructed disk states from one workload, observing 10 logical outcomes. This end-to-end check complements the proof; it is not its coverage denominator. [cacm17] Limitations: - The authors state that the software is not maintained and do not recommend deploying the research prototype. (sources: [artifact]) - The original specification permits out-of-resource errors without requiring actual resource exhaustion. (sources: [fscq15]) Sources and caveats: - Primary-source review, not a Coq proof rerun, benchmark replication or device qualification. The original paper and later repository are explicitly separated. Related terms: - [crash-hoare-logic](https://hesela.dev/terms/crash-hoare-logic/) - [crash-refinement](https://hesela.dev/terms/crash-refinement/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [torn-write](https://hesela.dev/terms/torn-write/) Citations: - [fscq15] Chen et al. Using Crash Hoare Logic for Certifying the FSCQ File System. SOSP 2015, sections 3.2, 6 and 7.2. https://pdos.csail.mit.edu/papers/fscq:sosp15.pdf (accessed 2026-12-04) - [artifact] FSCQ authors. Research-prototype warning and branch identities. README at revision 2c7ef9c268fd. https://github.com/mit-pdos/fscq/blob/2c7ef9c268fd79a81b26b44ef720f8e6a1e938a0/README.md (accessed 2026-12-04) - [dfscq17] Chen et al. Verifying a high-performance crash-safe file system using a tree specification. SOSP 2017, sections 1 and 4. https://pdos.csail.mit.edu/papers/dfscq.pdf (accessed 2026-12-04) - [cacm17] Chajed et al. Certifying a File System Using Crash Hoare Logic. CACM 60(4), 2017, section 5.3. https://pdos.csail.mit.edu/papers/cacm-fscq.pdf (accessed 2026-12-04) - [hesela-review] Hesela: reading FSCQ's proof boundary and artifact identity. https://hesela.dev/research/fscq/README.md (accessed 2026-12-04) - [hesela-evidence] Hesela: structured FSCQ source locators and evidence scope. https://hesela.dev/research/fscq/proof-boundaries.json (accessed 2026-12-04) ### fscrypt v2 key identifier URL: https://hesela.dev/terms/fscrypt-key-identifier/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: fscrypt master-key identifier Status: shipping Record updated: 2026-10-22 An fscrypt v2 key identifier is a public 16-byte value derived from a master key to identify it in encryption policies and key-management calls. Note: Linux v6.12 derives the identifier with HKDF-SHA512 in a dedicated context and returns it when adding the key. It is stored openly, not as secret key material. [keyring-code] [hkdf-code] [fscrypt-source] The identifier selects the master key, not the complete policy. Modes, flags and data-unit size are separate fields. Matching identifiers do not authenticate a file's contents or establish that its data is current. [uapi] [fscrypt-source] Related terms: - [fscrypt](https://hesela.dev/terms/fscrypt/) - [fscrypt-policy](https://hesela.dev/terms/fscrypt-policy/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) Citations: - [fscrypt-source] Linux v6.12: fscrypt policy setup, enforcement and key identifiers. https://docs.kernel.org/6.12/filesystems/fscrypt.html (accessed 2026-10-22) - [keyring-code] Linux v6.12: master-key identifier derivation. https://github.com/torvalds/linux/blob/v6.12/fs/crypto/keyring.c (accessed 2026-10-22) - [hkdf-code] Linux v6.12: HKDF-SHA512 and purpose-specific derivation context. https://github.com/torvalds/linux/blob/v6.12/fs/crypto/hkdf.c (accessed 2026-10-22) - [uapi] Linux v6.12: fscrypt policy structures and identifier size. https://github.com/torvalds/linux/blob/v6.12/include/uapi/linux/fscrypt.h (accessed 2026-10-22) - [hesela-fscrypt] Hesela: filesystem encryption and the execution backend. https://hesela.com/analyses/checksums-identity-and-lost-writes/#filesystem-encryption (accessed 2026-10-22) ### fscrypt encryption policy URL: https://hesela.dev/terms/fscrypt-policy/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: fscrypt policy Status: shipping Record updated: 2026-10-23 An fscrypt policy selects the encryption format and master-key reference inherited by newly created files in an encrypted directory tree. Note: In Linux v6.12, policy fields include the version, contents and filename modes, flags and key reference. The v2 structure also carries a data-unit-size setting. Equal key identifiers alone do not mean equal policies. [uapi] [policy-code] Initial setup requires an empty directory. Reapplying the same policy verifies an existing setting; a different policy returns EEXIST instead of re-encrypting data. Regular files, directories and symlinks inherit the parent's policy at creation; special files are excluded. [policy-code] [fscrypt-source] The legacy FS_IOC_GET_ENCRYPTION_POLICY returns EINVAL for an encrypted v2 file. The extended _EX ioctl supports both versions; policy_size specifies buffer capacity on input and returned policy size on success. EOVERFLOW means the recognized policy does not fit, whereas ENODATA means the file is unencrypted. The v1 version code is 0, not 1; v2 uses 2. [fscrypt-source] [uapi] Related terms: - [fscrypt](https://hesela.dev/terms/fscrypt/) - [fscrypt-key-identifier](https://hesela.dev/terms/fscrypt-key-identifier/) Citations: - [fscrypt-source] Linux v6.12: fscrypt policy setup, enforcement and key identifiers. https://docs.kernel.org/6.12/filesystems/fscrypt.html (accessed 2026-10-22) - [policy-code] Linux v6.12: fscrypt policy comparison and installation. https://github.com/torvalds/linux/blob/v6.12/fs/crypto/policy.c (accessed 2026-10-22) - [uapi] Linux v6.12: fscrypt policy structures and identifier size. https://github.com/torvalds/linux/blob/v6.12/include/uapi/linux/fscrypt.h (accessed 2026-10-22) - [hesela-fscrypt] Hesela: filesystem encryption and the execution backend. https://hesela.com/analyses/checksums-identity-and-lost-writes/#filesystem-encryption (accessed 2026-10-22) ### fscrypt URL: https://hesela.dev/terms/fscrypt/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Linux filesystem encryption Status: shipping Record updated: 2026-10-22 fscrypt is Linux's filesystem-integrated encryption facility for file contents and names under directory-tree policies. Note: Linux v6.12 leaves sizes, timestamps, permissions, extended attributes and hole locations exposed. It does not guarantee protection against offline tampering. After unlocking, ordinary access controls still apply. [fscrypt-source] This is the kernel facility, not the similarly named userspace tool. It differs from block-level dm-crypt and from fs-verity's integrity checks. [fscrypt-source] [fsverity-source] For v2 policies, removal first drops the caller's claim. ENOKEY can mean the caller has no claim while another user retains one. With OTHER_USERS set, a clear FILES_BUSY bit does not prove all files are closed. Key-status queries cover the filesystem keyring, not every key copy. [fscrypt-source] Limitations: - Removing a master key does not necessarily remove in-use per-file keys or erase cached plaintext. (sources: [fscrypt-source]) Related terms: - [inline-encryption](https://hesela.dev/terms/inline-encryption/) - [dm-crypt](https://hesela.dev/terms/dm-crypt/) - [fs-verity](https://hesela.dev/terms/fs-verity/) - [ext4-data-journal](https://hesela.dev/terms/ext4-data-journal/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) - [fscrypt-policy](https://hesela.dev/terms/fscrypt-policy/) - [fscrypt-key-identifier](https://hesela.dev/terms/fscrypt-key-identifier/) Citations: - [fscrypt-source] Linux v6.12: fscrypt, threat model, removing keys and getting key status. https://docs.kernel.org/6.12/filesystems/fscrypt.html (accessed 2026-10-22) - [fsverity-source] Linux v6.12: fs-verity, integrity and authentication policy. https://docs.kernel.org/6.12/filesystems/fsverity.html (accessed 2026-10-22) - [hesela-fscrypt] Hesela: filesystem encryption and the execution backend. https://hesela.com/analyses/checksums-identity-and-lost-writes/#filesystem-encryption (accessed 2026-10-22) ### FSST URL: https://hesela.dev/terms/fsst/ Also known as: Fast Static Symbol Table, FSST8 Status: shipping Record updated: 2026-11-17 FSST compresses strings with a shared static table of byte-sequence symbols so individual strings can be decoded independently. Note: Mechanism: FSST8 replaces sequences of 1-8 bytes with single-byte codes. Code 255 escapes the following literal byte, allowing a fixed table to represent unseen input. FSST12 is a different variant. [paper] [readme] Access: The decoder needs the selected string's encoded bytes and the matching symbol table, not preceding strings. The caller still supplies its location and encoded length. This is string-level access, not arbitrary character indexing or a disk-read guarantee. [paper] [api] Comparison: Equality on compressed values requires a common table and compatible encoding. Equal code bytes from different tables can decode differently. Whole-value dictionary coding removes repeated complete strings; FSST can additionally compress the dictionary's distinct strings. [paper] [controls] Output capacity: In the pinned binary-mode decoder, bytes 00 ff 21 yield ram! with a constructed table. With two output bytes available, only ra is stored while the returned decoded length remains 4. A caller must check that length against capacity before consuming the result. Rebinding code 0 to rom changes the same stream to rom!. [api] [controls] Advantages: - A read-only decoder table can be shared across decoding threads. (sources: [api]) Limitations: - Encoded payload size excludes the shared table and string-location metadata; savings must include those costs. (sources: [paper], [api]) - The published API controls cover valid streams only and do not establish rejection of malformed or adversarial input. (sources: [controls]) Sources and caveats: - Source synthesis of the 2020 paper and a pinned author-maintained implementation; no paper throughput or compression-ratio result is claimed for another workload. - Ten constructed valid-stream cases run at two compiler optimization levels on one machine. Tables are manually populated, not trained; the experiment does not exercise table serialization or malformed input. Related terms: - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [sstable-restart-point](https://hesela.dev/terms/sstable-restart-point/) Citations: - [paper] Boncz, Neumann and Leis (2020): FSST: Fast Random Access String Compression, PVLDB 13(11), sections 2-6. https://vldb.org/pvldb/vol13/p2649-boncz.pdf (accessed 2026-11-17) - [api] FSST pinned API: symbol table, binary mode, independent decoding and output truncation. https://github.com/cwida/fsst/blob/e638d4cf8c26129d73c242a4127b42b975de5b63/fsst.h (accessed 2026-11-17) - [readme] FSST project README at e638d4c: byte codes and FSST12 distinction. https://github.com/cwida/fsst/blob/e638d4cf8c26129d73c242a4127b42b975de5b63/README.md (accessed 2026-11-17) - [controls] Hesela: pinned FSST decoder controls, source, observations and replay. https://hesela.dev/research/fsst/README.md (accessed 2026-11-17) ### FStream URL: https://hesela.dev/terms/fstream/ Also known as: Ext4Stream, XFStream Status: research Record updated: 2026-11-16 FStream is a research filesystem design that assigns SSD streams to journal, metadata and selected file writes to reduce lifetime mixing. Note: Placement: Ext4Stream and XFStream propagate stream IDs through modified filesystem buffers and block I/O. Filesystem knowledge identifies journal and metadata writes; filename rules can separate database logs. Logical separation in a filesystem does not itself establish physical separation inside an SSD. [paper] Evaluation: The study used Linux 4.5 with io-streamid support and a 480 GB PM963 supporting eight explicit streams plus the default stream. Filebench runs lasted two hours after a sequential fill kept 80% of logical capacity valid. Its WAF divides NAND writes by host writes, not by application payload. [paper] Boundary: The published mount options belong to the research modifications. They are not instructions for enabling FStream on an arbitrary stock kernel. Neither a stream label nor a successful lifetime-hint call measures the resulting NAND placement. Sources and caveats: - Primary-paper review; no FStream execution or SSD benchmark was performed. - F2FS and Btrfs are proposed future work in this paper, not evaluated implementations. [paper] - The evaluated device was manufactured by Samsung; the named model identifies the paper's setup, not a recommendation. Related terms: - [vstream](https://hesela.dev/terms/vstream/) - [multi-stream-ssd](https://hesela.dev/terms/multi-stream-ssd/) - [write-lifetime-hint](https://hesela.dev/terms/write-lifetime-hint/) - [ext4](https://hesela.dev/terms/ext4/) - [xfs](https://hesela.dev/terms/xfs/) Citations: - [paper] Rho et al. FStream: Managing Flash Streams in the File System. FAST 2018, pp. 257-264, sections 3-5. https://www.usenix.org/system/files/conference/fast18/fast18-rho.pdf (accessed 2026-11-16) - [record] USENIX FAST 2018: FStream publication record. https://www.usenix.org/conference/fast18/presentation/rho (accessed 2026-11-16) ### fstrim URL: https://hesela.dev/terms/fstrim/ Status: shipping Record updated: 2026-12-04 fstrim is a util-linux command that asks mounted filesystems to discard unused extents through the Linux FITRIM ioctl. Note: The command, FITRIM interface and ATA TRIM operation are separate concepts. In v2.41.2, --all and --fstab select eligible mounted filesystems; --listed-in uses the first nonempty table, not their union. [manual] A successful exit does not establish complete coverage. Batch mode excludes some targets and does not count unsupported results as failures; --quiet-unsupported also normalizes a single-target unsupported result. [source] Dry-run omits FITRIM. Verbose byte counts are potential discard, not unique physical reclamation or sanitization. [manual] For monitoring, retain the intended inventory, selection rules, per-target outcomes and software version separately. A synthetic outcome model separates aggregate exit status from successful FITRIM calls; it does not execute fstrim. [model] Advantages: - Filesystem-aware selection avoids treating arbitrary device ranges as unused. (sources: [manual]) Limitations: - Exit status alone cannot distinguish successful trimming from skipped or unsupported coverage. (sources: [source]) Sources and caveats: - Source-grounded utility identity; does not rename or change the existing FITRIM or TRIM identifiers. No ioctl, discard operation or hardware measurement was performed. Related terms: - [fitrim](https://hesela.dev/terms/fitrim/) - [discard](https://hesela.dev/terms/discard/) - [trim](https://hesela.dev/terms/trim/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) Citations: - [manual] util-linux v2.41.2: fstrim selection, dry-run and reporting. https://raw.githubusercontent.com/util-linux/util-linux/v2.41.2/sys-utils/fstrim.8.adoc (accessed 2026-12-04) - [source] util-linux v2.41.2: fstrim_filesystem, fstrim_all_from_file, fstrim_all and main. https://raw.githubusercontent.com/util-linux/util-linux/v2.41.2/sys-utils/fstrim.c (accessed 2026-12-04) - [model] Hesela: executable fstrim batch-outcome illustration. https://hesela.dev/research/fstrim-coverage/README.md (accessed 2026-12-04) ### fsync URL: https://hesela.dev/terms/fsync/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: fsync() Status: shipping Record updated: 2026-11-13 fsync is a file-synchronization operation that requests persistence of a file's modified data and associated metadata before reporting completion. Note: On Linux, syncing the file does not necessarily persist its containing directory entry; the directory needs its own sync. fdatasync may omit metadata unnecessary for retrieving the data, but must include required file-size changes. A failed sync must be treated as an unresolved durability event, not silently replaced by a later successful return. OpenZFS sync=disabled ignores application synchronous requests, whereas logbias=throughput changes the storage path without disabling synchronous semantics. [zfs-props] For an asynchronous io_uring sync, establish dependencies on the intended writes before treating its completion as their persistence boundary. [uring-fsync] In F2FS with checkpointing disabled, the audited regular-file fsync path can return successful data-writeback status before recovery metadata; inspect the effective configuration. [f2fs-sync] FUSE: Linux v6.12 converts an ENOSYS reply to FUSE_FSYNC into success and suppresses later daemon FSYNC requests on that connection, while retaining preceding writeback checks. Backend persistence still depends on the daemon. [fuse-sync-source] For descriptor-backed C output streams, check fflush before fsync. Pending library-buffer bytes are outside the file synchronization request. The separate stream and file completion boundaries must both be checked. [linux-fflush] Darwin F_FULLFSYNC adds a drive-cache flush request to file synchronization. [apple-fcntl] In SQLite, synchronous=FULL controls synchronization timing, not selection of the fullfsync method. [sqlite-sync-flags] Related terms: - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [writeback-error](https://hesela.dev/terms/writeback-error/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [direct-io](https://hesela.dev/terms/direct-io/) - [fdatasync](https://hesela.dev/terms/fdatasync/) - [msync](https://hesela.dev/terms/msync/) - [sync-file-range](https://hesela.dev/terms/sync-file-range/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [zfs-intent-log](https://hesela.dev/terms/zfs-intent-log/) - [io-uring](https://hesela.dev/terms/io-uring/) - [io-uring-drain](https://hesela.dev/terms/io-uring-drain/) - [f2fs-checkpoint](https://hesela.dev/terms/f2fs-checkpoint/) - [syncfs](https://hesela.dev/terms/syncfs/) - [o-sync](https://hesela.dev/terms/o-sync/) - [o-dsync](https://hesela.dev/terms/o-dsync/) - [close](https://hesela.dev/terms/close/) - [fuse](https://hesela.dev/terms/fuse/) - [fflush](https://hesela.dev/terms/fflush/) - [fclose](https://hesela.dev/terms/fclose/) - [fwrite](https://hesela.dev/terms/fwrite/) - [f-fullfsync](https://hesela.dev/terms/f-fullfsync/) Citations: - [linux-fsync] Linux man-pages 6.19: fsync(2). https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-10) - [hesela-fsync] Hesela: Why retrying a failed fsync does not prove durability. https://hesela.com/analyses/fsync-failure-retry-durability/ (accessed 2026-10-10) - [hesela-rename] Hesela: Atomic rename is not a durable commit. https://hesela.com/analyses/atomic-rename-directory-durability/ (accessed 2026-10-11) - [zfs-props] OpenZFS 2.3: zfsprops(7), sync and logbias. https://openzfs.github.io/openzfs-docs/man/v2.3/7/zfsprops.7.html (accessed 2026-10-14) - [uring-fsync] liburing: io_uring_enter(2), IORING_OP_FSYNC ordering. https://man7.org/linux/man-pages/man2/io_uring_enter.2.html (accessed 2026-10-14) - [f2fs-sync] Linux v6.16 fs/f2fs/file.c: regular-file writeback and SBI_CP_DISABLED return. https://github.com/torvalds/linux/blob/v6.16/fs/f2fs/file.c (accessed 2026-10-15) - [hesela-f2fs] F2FS: when a successful fsync is not a recovery promise. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ (accessed 2026-10-15) - [fuse-sync-source] Linux v6.12: fuse_fsync and connection-scoped no_fsync handling. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/file.c#L540-L585 (accessed 2026-10-18) - [linux-fflush] Linux man-pages 6.19: fflush(3). https://man7.org/linux/man-pages/man3/fflush.3.html (accessed 2026-10-21) - [apple-fcntl] Apple archived fcntl(2): F_FULLFSYNC. https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/fcntl.2.html (accessed 2026-11-13) - [sqlite-sync-flags] SQLite: Synchronization Type Flags. https://www.sqlite.org/c3ref/c_sync_dataonly.html (accessed 2026-11-13) ### Flash translation layer (FTL) URL: https://hesela.dev/terms/ftl/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: FTL Status: shipping Record updated: 2026-11-17 A flash translation layer maps host logical addresses to physical flash locations and manages flash-specific operations such as reclamation. Note: An overwrite can change physical placement without changing the host address; obsolete contents can remain until block erasure. Recovery must identify the current copy. [agrawal] Mapping granularity and in-memory representation are separate choices. A fully resident page table is not required. [dftl] Recovery-order and snapshot guarantees are separate design contracts; see the linked research concepts. Related terms: - [flashalloc](https://hesela.dev/terms/flashalloc/) - [vstream](https://hesela.dev/terms/vstream/) - [nvmkv](https://hesela.dev/terms/nvmkv/) - [ssd](https://hesela.dev/terms/ssd/) - [emmc](https://hesela.dev/terms/emmc/) - [ufs](https://hesela.dev/terms/ufs/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [zns](https://hesela.dev/terms/zns/) - [hmb](https://hesela.dev/terms/hmb/) - [dram-cache-ssd](https://hesela.dev/terms/dram-cache-ssd/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [translation-page](https://hesela.dev/terms/translation-page/) - [prefix-preserving-crash-consistency](https://hesela.dev/terms/prefix-preserving-crash-consistency/) - [snapshot-consistent-ftl](https://hesela.dev/terms/snapshot-consistent-ftl/) - [page-level-mapping](https://hesela.dev/terms/page-level-mapping/) - [block-level-mapping](https://hesela.dev/terms/block-level-mapping/) - [global-translation-directory](https://hesela.dev/terms/global-translation-directory/) - [nameless-write](https://hesela.dev/terms/nameless-write/) - [bplru](https://hesela.dev/terms/bplru/) - [reverse-mapping-ftl](https://hesela.dev/terms/reverse-mapping-ftl/) - [content-aware-ftl](https://hesela.dev/terms/content-aware-ftl/) - [tpftl](https://hesela.dev/terms/tpftl/) - [page-differential-logging](https://hesela.dev/terms/page-differential-logging/) - [iceclave](https://hesela.dev/terms/iceclave/) - [multi-stream-ssd](https://hesela.dev/terms/multi-stream-ssd/) - [simplessd](https://hesela.dev/terms/simplessd/) - [lightnvm](https://hesela.dev/terms/lightnvm/) - [sdf](https://hesela.dev/terms/sdf/) - [pblk](https://hesela.dev/terms/pblk/) - [flashmap](https://hesela.dev/terms/flashmap/) - [salsa](https://hesela.dev/terms/salsa/) - [warm](https://hesela.dev/terms/warm/) - [retention-relaxation](https://hesela.dev/terms/retention-relaxation/) Citations: - [agrawal] Agrawal et al. Design Tradeoffs for SSD Performance. USENIX ATC 2008, pp. 57-70, sections 3.1, 3.4 and 4. https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal.pdf (accessed 2026-10-12) - [hesela] SSD mapping caches: why DRAM size is not a speed rating. https://hesela.com/analyses/ssd-mapping-cache-hmb/ (accessed 2026-10-12) - [ftl-guide] Hesela: Flash Translation Layer technology guide. https://hesela.com/tech/ftl/ (accessed 2026-10-18) - [dftl] Gupta, Kim and Urgaonkar. DFTL: Demand-based Selective Caching of Page-level Address Mappings. ASPLOS 2009, sections 2-3. https://doi.org/10.1145/1508244.1508271 (accessed 2026-10-18) ### FTS5 external-content table URL: https://hesela.dev/terms/fts5-external-content/ Related analysis: https://hesela.com/analyses/sqlite-index-runtime-dependencies/ Also known as: external-content FTS5 Status: shipping Record updated: 2026-11-18 An FTS5 external-content table stores a full-text index while retrieving document values from another database object. Note: The content option names the document source; content_rowid selects its key. Application logic must maintain both source and index. Triggers added after existing documents do not backfill them: in the fixture, a plain read returned three rows but MATCH found only the later insert. Rebuild restored search coverage. [fts5] [data] Base-table REPLACE with recursive_triggers off left an old alpha posting that returned the new delta row despite all maintenance triggers existing. Enabling recursive triggers caused delete then insert; the tested conflict-targeted UPSERT caused an update under either setting. These are ordinary-table writes, not direct virtual-table writes. [replace-contract] [replace-data] Only ordinary VACUUM on the implicit-rowid table without an ordinary index changed IDs 1/3/8 to 1/2/3 among nine cases per build on SQLite 3.45.1 and 3.53.1. MATCH charlie returned hotel. INTO, backup and the other schema controls preserved IDs in these fixtures, not as a general guarantee. [maintenance-data] [maintenance-vacuum] Use a true rowid alias such as id INTEGER PRIMARY KEY with matching content_rowid for persistent identity. INT PRIMARY KEY and inline INTEGER PRIMARY KEY DESC are not aliases. Rebuild repaired current searches, not old IDs or references. [maintenance-key] [maintenance-rowid] [maintenance-data] Recovery acceptance needs two separate comparisons: the earlier ID-to-text mapping and stored token instances against a fresh current-content index. A baseline created after damage cannot establish earlier contents. [acceptance-data] [acceptance-vocab] Sources and caveats: - Designed fixtures on SQLite 3.45.1, default tokenizer and closed DELETE-journal files. Not a failure-rate estimate. - Nine designed maintenance cases per build, closed DELETE journal and no concurrent writer. Independent source/prose review only; no independent native replication or incident-rate estimate. [maintenance-data] - The acceptance demonstrator uses fixed TEXT-only, unicode61, detail=full fixtures and a fresh index in the same SQLite engine. The baseline is known original input, not independently authenticated history or a general production checker. [acceptance-data] [acceptance-vocab] Related terms: - [inverted-index](https://hesela.dev/terms/inverted-index/) - [fts5-integrity-check](https://hesela.dev/terms/fts5-integrity-check/) - [sqlite-expression-index](https://hesela.dev/terms/sqlite-expression-index/) - [sqlite-online-backup](https://hesela.dev/terms/sqlite-online-backup/) - [sqlite-replace](https://hesela.dev/terms/sqlite-replace/) Citations: - [fts5] SQLite FTS5: external content and integrity checking. https://sqlite.org/fts5.html (accessed 2026-10-18) - [experiment] Hesela: FTS5 query and verification controls. https://hesela.com/analyses/sqlite-index-runtime-dependencies/#fts5-content (accessed 2026-10-18) - [data] Hesela: eight executed FTS5 states and full query results. https://hesela.dev/research/sqlite-fts5/results.json (accessed 2026-10-18) - [replace-data] Hesela: four REPLACE/UPSERT cases with rollback, trigger events and full query results. https://hesela.dev/research/sqlite-fts5/replace-results.json (accessed 2026-10-19) - [replace-contract] SQLite ON CONFLICT: REPLACE deletion and recursive triggers. https://sqlite.org/lang_conflict.html (accessed 2026-10-19) - [maintenance-vacuum] SQLite: VACUUM and unaliased rowid changes. https://sqlite.org/lang_vacuum.html (accessed 2026-11-01) - [maintenance-rowid] SQLite: rowid persistence and integer-key aliases. https://sqlite.org/rowidtable.html (accessed 2026-11-01) - [maintenance-key] SQLite: exact INTEGER PRIMARY KEY alias rules. https://sqlite.org/lang_createtable.html#rowids_and_the_integer_primary_key (accessed 2026-11-01) - [maintenance-data] Hesela: nine maintenance-identity cases on each of two SQLite builds. https://hesela.dev/research/fts5-preservation/maintenance-identity/summary.json (accessed 2026-11-01) - [acceptance-data] Hesela: historical-row and current-index acceptance, 17 designed cases. https://hesela.dev/research/fts5-preservation/acceptance-contract/summary.json (accessed 2026-11-02) - [acceptance-vocab] SQLite FTS5: instance vocabulary and token positions. https://sqlite.org/fts5.html#the_fts5vocab_virtual_table_module (accessed 2026-11-02) ### FTS5 integrity-check URL: https://hesela.dev/terms/fts5-integrity-check/ Related analysis: https://hesela.com/analyses/sqlite-index-runtime-dependencies/ Also known as: FTS5 external-content check Status: shipping Record updated: 2026-11-02 FTS5 integrity-check validates full-text index structures and can also compare them with an external content table. Note: For external content, rank=1 requests the additional comparison; a detected discrepancy raises SQLITE_CORRUPT_VTAB (267). [fts5] Missed maintenance and the tested base-table REPLACE with recursive_triggers off left stale searches while PRAGMA and internal checks passed. Rank=1 rejected these states. Completed backup retained the mismatch; destination rebuild repaired current searches. [data] [replace-data] Consistency checking is not residual-content checking. In four internal-content deletion controls, all checks passed while residue differed: core secure_delete alone left shadow-token residue; FTS5 secure-delete alone left file residue; both removed this token from both scans. This is not the external-content synchronization fixture or a general forensic-erasure guarantee. [deletion-data] Passing rank=1 does not prove historical text identity. Token-equivalent edits can pass. It also accepted unequal az/bq tokens through a checksum collision on SQLite 3.45.1 and 3.53.1; az/br was rejected. [preservation-data] [checksum-witness-data] Ordinary VACUUM renumbered an unindexed implicit-rowid content table. MATCH charlie returned hotel, PRAGMA/internal checks passed and rank=1 rejected 267. Rebuild restored searches, not original IDs. [maintenance-data] [maintenance-vacuum] Across 59 dependent states from 17 designed cases per build, 13 passed all three checks but failed historical-row or current-index comparison. Seven rebuilt states matched current text but not the old ID-to-text mapping. These are selected counterexamples, not failure rates. [acceptance-data] Limitations: - A shadow-blob count is not a count of recovered documents. Postings and deletion markers can contain the same token. (sources: [deletion-contract]) - Rebuild follows current content rather than restoring original text. Compare preservation against a trusted prior reference. (sources: [preservation-data]) - The external-content check can accept different token instances when its internal checksum collides. (sources: [checksum-witness-data], [checksum-witness-source]) Sources and caveats: - Eight designed observations, five exact ASCII-token queries per state, SQLite 3.45.1. No physical corruption or power-loss test. - The deletion fixture scans exact token bytes without reconstructing complete records. [deletion-data] - Retained 3.45.1 and 3.53.1 outcomes agree for the same five fixtures; diagnostic and trace differences remain explicit. No independent peer review. [preservation-data] - Five one-row in-memory controls used unicode61, detail=full, columnsize=1 and no maintenance triggers. Minus/accent edits passed; changed-token/position controls failed. No physical-corruption or incident-rate measurement. [preservation-data] [preservation-tokenizer] - Three one-row in-memory checksum controls were executed on two builds; complete diagnostics, query answers, copy and rebuild states retained. Not independent peer review. [checksum-witness-data] - Nine designed maintenance cases per build, closed DELETE journal and no concurrent writer. Independent source/prose review only; no independent native replication or incident-rate estimate. [maintenance-data] - The acceptance demonstrator uses fixed TEXT-only, unicode61, detail=full fixtures and a fresh index in the same SQLite engine. The baseline is known original input, not independently authenticated history or a general production checker. [acceptance-data] [acceptance-vocab] - FTS5 secure-delete can affect readers older than 3.42.0 after updates or deletions; the deletion experiment did not test older readers or physical media. [deletion-contract] [deletion-core] Related terms: - [fts5-external-content](https://hesela.dev/terms/fts5-external-content/) - [sqlite-integrity-check](https://hesela.dev/terms/sqlite-integrity-check/) - [backup-verification](https://hesela.dev/terms/backup-verification/) Citations: - [fts5] SQLite FTS5: external content and integrity checking. https://sqlite.org/fts5.html (accessed 2026-10-18) - [experiment] Hesela: FTS5 query and verification controls. https://hesela.com/analyses/sqlite-index-runtime-dependencies/#fts5-content (accessed 2026-10-18) - [data] Hesela: eight executed FTS5 states and full query results. https://hesela.dev/research/sqlite-fts5/results.json (accessed 2026-10-18) - [replace-data] Hesela: four REPLACE/UPSERT cases with rollback, trigger events and full query results. https://hesela.dev/research/sqlite-fts5/replace-results.json (accessed 2026-10-19) - [deletion-contract] SQLite FTS5: secure-delete and version compatibility. https://www.sqlite.org/fts5.html#the_secure_delete_configuration_option (accessed 2026-10-30) - [deletion-core] SQLite: core secure_delete and virtual-table limits. https://www.sqlite.org/pragma.html#pragma_secure_delete (accessed 2026-10-30) - [deletion-data] Hesela: generated SQLite deletion observations, two retained runs and explicit limits. https://hesela.dev/research/sqlite-deletion-scope/summary.json (accessed 2026-10-30) - [deletion-package] Hesela: standalone SQLite deletion evidence, code and 42 raw files. https://hesela.dev/research/sqlite-deletion-scope/package.zip (accessed 2026-10-30) - [preservation-tokenizer] SQLite FTS5: Unicode61 tokenization defaults. https://sqlite.org/fts5.html#unicode61_tokenizer (accessed 2026-10-31) - [preservation-data] Hesela: five-case text-preservation evidence on SQLite 3.45.1 and 3.53.1. https://hesela.dev/research/fts5-preservation/replay-comparison.json (accessed 2026-10-31) - [preservation-guide] Hesela: exact evidence package, source map and replay limitations. https://hesela.dev/research/fts5-preservation/GUIDE.md (accessed 2026-10-31) - [checksum-witness-source] SQLite 3.53.1 pinned entry-checksum implementation. https://github.com/sqlite/sqlite/blob/ccd445d76a9362c63add000354fac84ba9022176/ext/fts5/fts5_index.c (accessed 2026-11-01) - [checksum-witness-data] Hesela: three checksum controls on two SQLite builds. https://hesela.dev/research/fts5-preservation/checksum-witness/summary.json (accessed 2026-11-01) - [maintenance-vacuum] SQLite: VACUUM and unaliased rowid changes. https://sqlite.org/lang_vacuum.html (accessed 2026-11-01) - [maintenance-data] Hesela: nine maintenance-identity cases on each of two SQLite builds. https://hesela.dev/research/fts5-preservation/maintenance-identity/summary.json (accessed 2026-11-01) - [acceptance-data] Hesela: historical-row and current-index acceptance, 17 designed cases. https://hesela.dev/research/fts5-preservation/acceptance-contract/summary.json (accessed 2026-11-02) - [acceptance-vocab] SQLite FTS5: instance vocabulary and token positions. https://sqlite.org/fts5.html#the_fts5vocab_virtual_table_module (accessed 2026-11-02) ### Full backup URL: https://hesela.dev/terms/full-backup/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Status: shipping Record updated: 2026-10-23 A full backup captures every data object within a defined backup scope, whether or not it has changed since an earlier backup. Note: One storage dictionary defines a full backup as a copy of all of a defined set of data objects regardless of whether they changed since the last backup, and treats it as the basis from which incremental backups are taken. [snia-full] Full therefore describes coverage of the selected scope, such as a folder, volume or database, not necessarily an entire server. A contingency-planning guide notes that a full backup can take a long time to perform. Restore chains also start from it: in the guide's example, the last full backup ran three days earlier and one file changed each day, so restoring the directory needs the full backup media and each day's incremental, here 4 backup sets in total. [nist-sp800-34] A database full backup may include enough transaction log to recover the database to backup completion, and a later recovery point needs subsequent log backups. [sql-full] In one open-source database, an incremental base backup holds only changed relation blocks, and a separate tool rebuilds a synthetic full backup from the full backup and its dependent incrementals listed oldest to newest. Removing an earlier backup in that chain makes the later incrementals unrestorable. [pg-combinebackup] Advantages: - Because all backed-up files sit on a single media set, locating a particular file or group of files is simple. (sources: [nist-sp800-34]) Limitations: - Keeping many full copies of files that rarely change consumes storage without adding recovery points for those files. (sources: [nist-sp800-34]) Sources and caveats: - snia-full re-read 2026-10-23 for the defined-set wording and the basis for incremental backups. - nist-sp800-34 read 2026-10-23, section 5.1.2, for backup types and the three-day restore example. - The 4 backup sets (1 full plus 3 daily incrementals) is arithmetic from the guide's example. - sql-full re-read 2026-10-23 for log included to backup completion; pg-combinebackup read 2026-10-23 for chain order and dependency. - The recovery-target entry links here because replay toward a recovery target starts from a full base backup taken before that target. - A companion analysis on backup verification is listed but not used in prose. Related terms: - [backup](https://hesela.dev/terms/backup/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [differential-backup](https://hesela.dev/terms/differential-backup/) - [synthetic-full-backup](https://hesela.dev/terms/synthetic-full-backup/) - [restore-test](https://hesela.dev/terms/restore-test/) - [point-in-time-recovery](https://hesela.dev/terms/point-in-time-recovery/) - [zfs-receive-resume-token](https://hesela.dev/terms/zfs-receive-resume-token/) - [chunk-fragmentation](https://hesela.dev/terms/chunk-fragmentation/) - [recovery-target](https://hesela.dev/terms/recovery-target/) Citations: - [snia-full] SNIA Dictionary: full backup. https://www.snia.org/education/online-dictionary/term/full-backup (accessed 2026-10-23) - [sql-full] Microsoft SQL Server: Full database backups and restore scope. https://learn.microsoft.com/en-us/sql/relational-databases/backup-restore/full-database-backups-sql-server?view=sql-server-ver17 (accessed 2026-10-23) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-14) - [nist-sp800-34] NIST SP 800-34 Rev. 1. Contingency Planning Guide for Federal Information Systems, 2010, section 5.1.2: full, incremental and differential backups. https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-34r1.pdf (accessed 2026-10-23) - [pg-combinebackup] PostgreSQL 18 documentation: pg_combinebackup, reconstructing a synthetic full backup from an incremental chain. https://www.postgresql.org/docs/18/app-pgcombinebackup.html (accessed 2026-10-23) ### Full-object checksum URL: https://hesela.dev/terms/full-object-checksum/ Also known as: Full object checksum, FULL_OBJECT checksum Status: shipping Record updated: 2026-11-29 A full-object checksum is an integrity value computed for an object's complete ordered byte sequence rather than for a list of its part checksums. Note: S3 calls this scope FULL_OBJECT, including for supported multipart uploads. S3 can derive a full-object CRC from part checksums by linearization without changing its byte-stream scope. [aws-s3-upload-checksums] Read ChecksumType as well as the algorithm field. The S3 Checksum response distinguishes FULL_OBJECT from COMPOSITE. Metadata retrieval alone leaves the payload unverified. [aws-checksum-type] [aws-object-attributes] Verification guidance: bind metadata and downloaded bytes to the same selected non-null version where available, and verify the entire expected byte sequence. A full-object checksum does not require the original upload boundaries; that requirement belongs to composite verification. A matching size alone does not establish byte integrity. [aws-s3-get-object] [aws-s3-upload-checksums] Advantages: - For a fixed algorithm and unchanged object bytes, full-object verification does not require retaining the original multipart boundaries. (sources: [aws-s3-upload-checksums]) Limitations: - Compare like with like: algorithm, digest encoding, object version and covered bytes must agree; a whole-object value does not directly validate an arbitrary downloaded range. (sources: [aws-s3-get-object], [hesela-checksum-scope]) - Retrieving checksum metadata is not proof that a client validated the download: SDK validation depends on support and settings, and unsupported algorithms can be skipped. (sources: [aws-sdk-data-integrity]) - Algorithm support depends on the operation: S3 Batch Operations can calculate full-object SHA-256 at rest, unlike its multipart-upload SHA-256 mode. (sources: [aws-s3-at-rest]) Sources and caveats: - Expanded from official AWS API documentation reviewed 2026-11-29. Verification recommendations are a source-based synthesis, not an executed S3 downloader or cloud-service experiment. Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [composite-checksum](https://hesela.dev/terms/composite-checksum/) - [multipart-upload](https://hesela.dev/terms/multipart-upload/) - [entity-tag](https://hesela.dev/terms/entity-tag/) - [object-storage](https://hesela.dev/terms/object-storage/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [base64](https://hesela.dev/terms/base64/) - [crc-concatenation](https://hesela.dev/terms/crc-concatenation/) Citations: - [aws-s3-upload-checksums] Amazon S3: Checking object integrity for data uploads, full-object and composite checksum types. https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity-upload.html (accessed 2026-10-16) - [aws-s3-get-object] Amazon S3 API Reference: GetObject, checksum mode, checksum type and requested object version. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html (accessed 2026-10-16) - [aws-sdk-data-integrity] AWS SDKs and Tools Reference Guide: Data Integrity Protections for Amazon S3, response checksum validation. https://docs.aws.amazon.com/sdkref/latest/guide/feature-dataintegrity.html (accessed 2026-10-16) - [hesela-checksum-scope] Hesela: Object ETags, full-object checksum scope and download verification. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#checksum-scope (accessed 2026-10-16) - [aws-s3-at-rest] Amazon S3: Checking object integrity for data at rest, supported algorithms. https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity-at-rest.html (accessed 2026-10-16) - [aws-checksum-type] Amazon S3 API: Checksum, algorithm values and checksum type. https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html (accessed 2026-11-29) - [aws-object-attributes] Amazon S3 API: GetObjectAttributes, selected metadata and version ID. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html (accessed 2026-11-29) ### Full-page write URL: https://hesela.dev/terms/full-page-write/ Also known as: full_page_writes Status: shipping Record updated: 2026-10-17 A PostgreSQL full-page write records a recoverable page image in WAL to support recovery from an incomplete data-page write. Note: With full_page_writes enabled, PostgreSQL normally logs a page image on its first modification after a checkpoint. The image supplies reconstruction material beyond ordinary change records. [pg-settings] Full-page refers to recoverability, not a fixed WAL byte count. The REL_18_0 builder can omit unused space and compress the image. This does not make the original data-file write atomic. [pg-image-code] Image counts are not distinct-page counts. The tagged XLogSaveBufferForHint path permits concurrent backends to record the same block more than once. [pg-image-code] Advantages: - Supports reconstruction of a page interrupted during writeback. (sources: [pg-settings]) Limitations: - Adds WAL traffic; it is not a substitute for an independently recoverable backup. (sources: [pg-settings], [pg-archive]) Sources and caveats: - PostgreSQL-specific page recovery; the code reference is pinned to REL_18_0. Related terms: - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) - [torn-write](https://hesela.dev/terms/torn-write/) - [doublewrite-buffer](https://hesela.dev/terms/doublewrite-buffer/) - [hint-bit](https://hesela.dev/terms/hint-bit/) - [wal-compression](https://hesela.dev/terms/wal-compression/) - [fuzzy-checkpoint](https://hesela.dev/terms/fuzzy-checkpoint/) Citations: - [pg-settings] PostgreSQL 18: WAL settings. https://www.postgresql.org/docs/18/runtime-config-wal.html (accessed 2026-10-16) - [pg-archive] PostgreSQL 18: Continuous Archiving and Point-in-Time Recovery. https://www.postgresql.org/docs/18/continuous-archiving.html (accessed 2026-10-11) - [hesela-wal] WAL, checkpoints and torn pages: three different recovery guarantees. https://hesela.com/analyses/wal-checkpoints-torn-pages/ (accessed 2026-10-11) - [pg-image-code] PostgreSQL REL_18_0: xloginsert.c, page holes and XLogCompressBackupBlock. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/access/transam/xloginsert.c (accessed 2026-10-17) ### Full-path indexing URL: https://hesela.dev/terms/full-path-indexing/ Also known as: full path indexing Status: research Record updated: 2026-12-01 Full-path indexing uses complete file paths as index keys, with subtree locality determined by the key ordering. Note: The FAST 2015 BetrFS schema maps each path to its metadata and each pair of path and block number to a 4096-byte block, sorted so that entries of one directory sit together and a recursive scan becomes a range query. [betrfs15] Scans of a directory subtree, such as a recursive grep, can then run near disk bandwidth, and a recursive delete becomes a single range-delete message. [fullpath] The weak point is rename. With no indirection from name to data, renaming a directory changes the key of every descendant, and the first full-path prototype copied all data and metadata to new keys, taking 21.17 s to rename a Linux 3.11.10 source tree against 0.08 s on btrfs and 0.10 s on ext4. [betrfs15] Range rename with key lifting later made that work grow with tree height rather than subtree size. [fullpath] Inode-style indirection makes renames cheap but lets file contents scatter as a filesystem ages. Zoning sits between the two designs by indexing paths relative to a zone root, with a default zone size of 512 KiB. [zoning] Returning to full paths with key lifting ran recursive grep 1.5 times and random writes 1.2 times faster than the zoned version. [fullpath] Full-path keys do not alone guarantee contiguous subtrees. TokuFS metadata sorts by directory depth before pathname: /a, /b, /a/x is a small counterexample, since /b separates /a from its descendant. Its data index uses a different order. State which index and comparator are meant before assuming a subtree is one scan range. [tokufs-slides] Advantages: - Sorted full path names are long and repetitive but compress well, by a factor of 20 in the first prototype, which keeps the space overhead of path keys manageable. (sources: [betrfs15]) Limitations: - Hard links break the assumption of one path per file, and the zoned design handled them by placing any file with more than one link in its own zone. (sources: [zoning]) Sources and caveats: - fullpath, betrfs15 and zoning are peer-reviewed USENIX FAST papers from 2018, 2015 and 2016 by one research group, read in the schema, rename and evaluation sections. - All timings are single-testbed measurements of research prototypes in those papers, not general filesystem figures. - Status stays research because full-path indexing appears in these sources only in research prototypes. Related terms: - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [range-rename](https://hesela.dev/terms/range-rename/) - [tokufs](https://hesela.dev/terms/tokufs/) Citations: - [fullpath] Zhan et al. The Full Path to Full-Path Indexing. FAST 2018, pp. 123-138, sections 3-7. https://www.usenix.org/system/files/conference/fast18/fast18-zhan.pdf (accessed 2026-10-22) - [hesela-fullpath] Full-path indexing: why renaming can move the index. https://hesela.com/analyses/full-path-indexing-range-rename/ (accessed 2026-10-20) - [betrfs15] Jannen et al. BetrFS: A Right-Optimized Write-Optimized File System. USENIX FAST 2015, pp. 301-315, sections 4 and 7. https://files.usenix.org/s3fs-public/cdn/fast15-paper-jannen_william.pdf (accessed 2026-10-22) - [zoning] Yuan et al. Optimizing Every Operation in a Write-optimized File System. USENIX FAST 2016, sections 3-4. https://files.usenix.org/s3fs-public/cdn/fast16-papers-yuan.pdf (accessed 2026-10-22) - [tokufs-slides] TokuFS authors. HotStorage 2012 slides, pages 22-27: different metadata and data index orders. https://www.usenix.org/sites/default/files/conference/protected-files/esmet_hotstorage12_slides.pdf (accessed 2026-12-01) ### Full-stripe write URL: https://hesela.dev/terms/full-stripe-write/ Also known as: full stripe write Status: shipping Record updated: 2026-10-23 A parity-array write supplying replacement data for every data position of a stripe so its new parity can be computed without reading the prior stripe contents. Note: Parity is still written. A healthy stripe with k equal-size data blocks and p parity blocks writes k+p blocks for k blocks of payload. For writes that do not cover a stripe, the Linux MD RAID 4/5/6 driver must read old data before it can calculate new parity, and sequential writes dispatched at different times can incur the same reads. A write-back journal on an extra cache disk aggregates such data and flushes it to the members only once it forms a full-stripe write. Several hundred megabytes of cache suffice for write-through mode, while at least several gigabytes are recommended for write-back aggregation. [linux-cache] The in-memory stripe cache also bounds aggregation. Its stripe_cache_size defaults to 256 entries, with lower and upper limits of 17 and 32768. [md-admin] Advantages: - Eliminates old-data and old-parity reads for parity computation when all replacement data is present (sources: [linux-cache]) Limitations: - Request splitting and misalignment can leave partial stripes - Covering every data position does not by itself close the write hole, since a crash during the multi-member write can still leave data and parity mismatched (sources: [linux-cache]) - In write-back mode completion is reported once data reaches the cache disk, so a cache-disk failure can lose acknowledged writes (sources: [linux-cache]) Sources and caveats: - linux-cache re-read 2026-10-23 for the read-before-parity rule, write-back aggregation, cache sizing and completion points. md-admin is the md administration guide, read for stripe_cache_size and journal_mode defaults. - The k+p block count follows a companion analysis's write-cost model, which is listed but not used in prose. - The partial-parity-log entry links here because a partial parity log addresses the write hole without a cache disk, whereas a write-back journal aggregates data into full-stripe writes. Related terms: - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [reconstruct-write](https://hesela.dev/terms/reconstruct-write/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [striping](https://hesela.dev/terms/striping/) - [stripe-unit](https://hesela.dev/terms/stripe-unit/) - [differential-raid](https://hesela.dev/terms/differential-raid/) Citations: - [linux-cache] Linux kernel documentation: RAID 4/5/6 cache, write-through and write-back modes. https://www.kernel.org/doc/html/latest/driver-api/md/raid5-cache.html (accessed 2026-10-23) - [hesela-cost] Hesela: RAID write penalty is not a speed ratio; model and limitations. https://hesela.com/analyses/raid-write-penalty-io-not-speed/ (accessed 2026-10-11) - [md-admin] Linux kernel documentation: RAID arrays (md), sysfs stripe_cache_size and journal_mode. https://docs.kernel.org/admin-guide/md.html (accessed 2026-10-23) ### Fully absorbing set URL: https://hesela.dev/terms/fully-absorbing-set/ Related analysis: https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ Also known as: LDPC fully absorbing set Status: research Record updated: 2026-11-22 A fully absorbing set is an absorbing set whose outside variables each have strictly more neighbors outside the odd-check set than inside it. Note: Let O(D) be the checks with an odd number of neighbors in selected set D, and let C be all check nodes. Besides the absorbing condition inside D, every outside variable must have strictly more neighbors in C minus O(D) than in O(D). Checks with zero neighbors in D belong to the complement and must be counted. [dolecek2010] For rows 110000, 101000, 011000, 100100, 000110, 000101 and 000011, select columns 1-3. Even/odd neighbor counts are 2/1, 2/0, 2/0 inside and 2/1, 2/0, 2/0 outside. This is fully absorbing but not stopping. The final three rows have zero selected neighbors and establish the outside majority. Omitting them would change the classification. This is an exact synthetic graph witness. [example] A tie does not satisfy the strict definition. In the four-column example 1100, 1010, 0110, 1001, appending 0001 gives the outside variable counts 1/1. A majority bit-flipping rule that leaves ties unchanged is stable there, yet the set is not fully absorbing. Thus stability under that rule is not sufficient for this strict graph definition. [dolecek2010] [example] Sources and caveats: - Fully absorbing is used in the strict sense of Dolecek et al. Definition 1, including the outside-node condition. No claim that every iterative decoder remains trapped is made. Related terms: - [absorbing-set](https://hesela.dev/terms/absorbing-set/) - [ldpc](https://hesela.dev/terms/ldpc/) - [stopping-set](https://hesela.dev/terms/stopping-set/) - [trapping-set](https://hesela.dev/terms/trapping-set/) Citations: - [dolecek2010] Dolecek et al. Analysis of Absorbing Sets and Fully Absorbing Sets of Array-Based LDPC Codes (2010), Definition 1. DOI 10.1109/TIT.2009.2034781. https://people.eecs.berkeley.edu/~bora/Journals/2010/IT-10.pdf (accessed 2026-11-22) - [example] Hesela: exact synthetic absorbing-set witnesses and executable parity-count model. https://hesela.dev/research/ldpc-absorbing.mjs (accessed 2026-11-22) ### FUSE background request limit URL: https://hesela.dev/terms/fuse-background-limit/ Also known as: FUSE max_background Status: shipping Record updated: 2026-11-29 The FUSE background request limit controls dispatch of background requests from a kernel connection toward its userspace filesystem. Note: Dispatch: Linux v6.12 distinguishes active requests from queued background work. Ordinary background allocation can wait, while forced paths can add queued work without that wait. This is not a cap on all requests or a hardware queue-depth setting. [linux-queues] Pressure: At num_background >= congestion_threshold, the kernel skips the remaining speculative readahead and WB_SYNC_NONE writeback invocation. This does not stop all reads, writes or fsync. [linux-pressure] Observation: The connection's waiting counter reads num_waiting, a broader population including foreground requests and callers blocked before allocation. It is not active_background. The read callback samples at offset zero and retains that value for continuation reads; an end-of-file read is not a zero counter value. Start a fresh read from offset zero for each sample. [linux-control] [linux-queues] Version scope: libfuse 3.16.2's request classification explicitly refers to kernel 4.8. In Linux v6.12, writeback can enter the forced background path, so that older classification is not a complete account of the later implementation. [libfuse-queues] [linux-pressure] Sources and caveats: - Source review of Linux v6.12 and libfuse 3.16.2; no mounted-daemon workload, performance benchmark or power-loss test was performed. Related terms: - [fuse](https://hesela.dev/terms/fuse/) - [backpressure](https://hesela.dev/terms/backpressure/) Citations: - [linux-queues] Linux v6.12: background allocation, dispatch and request accounting. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/dev.c (accessed 2026-11-29) - [linux-pressure] Linux v6.12: fuse_readahead, fuse_writepages and forced writeback requests. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/file.c (accessed 2026-11-29) - [linux-control] Linux v6.12: FUSE connection waiting and queue controls. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/control.c (accessed 2026-11-29) - [libfuse-queues] libfuse 3.16.2: connection parameters and kernel-4.8-era background request classification. https://github.com/libfuse/libfuse/blob/fuse-3.16.2/include/fuse_common.h (accessed 2026-11-29) - [hesela-fuse] Hesela: distinguish FUSE dispatch, congestion and waiting. https://hesela.com/analyses/fuse-writeback-cache-fsync/#background-pressure (accessed 2026-11-29) ### FUSE FLUSH URL: https://hesela.dev/terms/fuse-flush/ Also known as: fuse_lowlevel_ops.flush Status: shipping Record updated: 2026-10-18 FUSE FLUSH is a close-associated request whose callback is distinct from the filesystem's synchronization and final-release operations. Note: Multiplicity: duplicated descriptors can produce several FLUSH requests for one open. The callback is not a persistence barrier. [libfuse-api] Interpretation: distinguish it from FSYNC and from a drive-cache flush when reading storage logs. [hesela-fuse] Related terms: - [fuse](https://hesela.dev/terms/fuse/) - [fsync](https://hesela.dev/terms/fsync/) - [close](https://hesela.dev/terms/close/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [fuse-writeback-cache](https://hesela.dev/terms/fuse-writeback-cache/) - [fclose](https://hesela.dev/terms/fclose/) Citations: - [libfuse-api] libfuse 3.16.2: low-level open, flush, release and fsync contracts. https://github.com/libfuse/libfuse/blob/fuse-3.16.2/include/fuse_lowlevel.h (accessed 2026-10-18) - [hesela-fuse] Hesela: FUSE writeback caching and the fsync contract. https://hesela.com/analyses/fuse-writeback-cache-fsync/ (accessed 2026-10-18) ### FUSE INTERRUPT URL: https://hesela.dev/terms/fuse-interrupt/ Also known as: FUSE request interruption Status: shipping Record updated: 2026-11-30 FUSE INTERRUPT notifies a userspace filesystem that an earlier request was interrupted, without itself completing or rolling back that request. Note: Notification: After dispatch, the daemon may ignore the interrupt or answer the original request with EINTR. A fatal signal before dispatch can instead remove the original request. These are different stages, not a universal cancellation guarantee. [linux-interrupt] Control reply: An EAGAIN reply to the interrupt can requeue that notification when the original request is still outstanding; it does not resubmit the filesystem mutation. In Linux v6.12, ENOSYS on this control reply sets the connection's no_interrupt flag. Neither reply is the original operation's result. [linux-interrupt-reply] Registration: libfuse 3.16.2 can invoke the callback inside fuse_req_interrupt_func if interruption has already arrived. Initialize callback state before registering. The implementation holds the request mutex during that call; recursively registering or unregistering on the same request would try to acquire that mutex again. [libfuse-interrupt-api] [libfuse-interrupt-lock] Interpretation: An interruption flag is not evidence that a backend write never occurred. Reconcile the operation's result and backend state before retrying a non-idempotent change. This is a source-derived engineering precaution, not a measured failure rate. In 12 native schedules, libfuse 3.16.2/3.17.4 delivered two callbacks for two interrupts or two registrations after one interrupt: 144 case executions, not 144 independent samples; no filesystem was mounted. Unregistration retained the interrupted flag. [hesela-native-interrupt] The cancellation policy was chosen by the harness. EINTR before/after its write left SEED/DONE. This is not a libfuse rollback defect or durability test. [hesela-native-interrupt] Sources and caveats: - Reviewed Linux v6.12 protocol and implementation, the FAST 2017 study, and pinned libfuse 3.16.2/3.17.4 source. - Native synthetic-protocol evidence generated 2026-11-29 and replayed 2026-11-30 with identical normalized traces: 12 schedules, two versions, two compiler modes and three repetitions. - No mounted kernel/daemon workload, concurrency, deadlock, fsync or crash-durability test was run. Public harness, runner, verifier, observations and source archive pins are linked from the evidence guide. Related terms: - [fuse](https://hesela.dev/terms/fuse/) Citations: - [linux-interrupt] Linux v6.12: interruption races and connection abort. https://www.kernel.org/doc/html/v6.12/filesystems/fuse.html#interrupting-filesystem-operations (accessed 2026-11-29) - [linux-interrupt-reply] Linux v6.12: fuse_dev_do_write interrupt-reply handling. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/dev.c#L2011-L2024 (accessed 2026-11-29) - [libfuse-interrupt-api] libfuse 3.16.2: fuse_req_interrupt_func callback contract. https://github.com/libfuse/libfuse/blob/fuse-3.16.2/include/fuse_lowlevel.h#L1888-L1900 (accessed 2026-11-29) - [libfuse-interrupt-lock] libfuse 3.16.2: callback registration and request locking. https://github.com/libfuse/libfuse/blob/fuse-3.16.2/lib/fuse_lowlevel.c#L2539-L2551 (accessed 2026-11-29) - [hesela-fuse-interrupt] Hesela: interruption is not rollback. https://hesela.com/analyses/fuse-writeback-cache-fsync/#interrupt (accessed 2026-11-29) - [hesela-native-interrupt] Hesela native FUSE interruption: reproducible code, typed claims and observations. https://hesela.dev/research/fuse-interrupt-native/README.md (accessed 2026-11-30) ### FUSE writeback-cache URL: https://hesela.dev/terms/fuse-writeback-cache/ Also known as: FUSE_WRITEBACK_CACHE Status: shipping Record updated: 2026-10-22 FUSE writeback-cache is a negotiated mode that buffers file writes in the kernel page cache before forwarding them to a userspace filesystem. Note: With partial overwrites the daemon may need to serve reads even for a write-only open. [libfuse-api] External writers require an explicit coherence design, and enabling the mode alone does not provide one. [fuse-modes] The mode is negotiated with the FUSE_WRITEBACK_CACHE flag, bit 16 of the FUSE_INIT flags, added in protocol version 7.23. [fuse-uapi] Dirty pages are written back in the background, under memory pressure, or on close, fsync and the last munmap. Because the kernel keeps size and timestamps current, the mode is generally unsuitable for network filesystems. [fuse-modes] In Linux v6.16 a connection that negotiates writeback caching does not get passthrough, because the current design does not handle both together. [fuse-init-src] Advantages: - write(2) can often complete quickly, because writes go to the cache first. (sources: [fuse-modes]) Limitations: - If the filesystem stores timestamps more coarsely than nanoseconds, times can appear to change after a cache flush. (sources: [libfuse-common]) Sources and caveats: - fuse-modes is the Linux v6.12 FUSE I/O modes page, reread on the access date. Its text is identical at tag v6.16. - fuse-uapi is include/uapi/linux/fuse.h at tag v6.16, read in the version history and the FUSE_INIT flag definitions. - fuse-init-src is fs/fuse/inode.c at tag v6.16, read in process_init_reply. - libfuse-common is include/fuse_common.h at fuse-3.16.2, read for FUSE_CAP_WRITEBACK_CACHE and time_gran. - Bit 16 and 7.23 come from fuse-uapi. Related terms: - [fuse](https://hesela.dev/terms/fuse/) - [page-cache](https://hesela.dev/terms/page-cache/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [buffered-io](https://hesela.dev/terms/buffered-io/) Citations: - [fuse-modes] Linux v6.12: FUSE I/O modes. https://www.kernel.org/doc/html/v6.12/filesystems/fuse-io.html (accessed 2026-10-22) - [libfuse-api] libfuse 3.16.2: low-level open, flush, release and fsync contracts. https://github.com/libfuse/libfuse/blob/fuse-3.16.2/include/fuse_lowlevel.h (accessed 2026-10-18) - [hesela-fuse] Hesela: FUSE writeback caching and the fsync contract. https://hesela.com/analyses/fuse-writeback-cache-fsync/ (accessed 2026-10-18) - [fuse-uapi] Linux v6.16 include/uapi/linux/fuse.h: FUSE_WRITEBACK_CACHE and protocol history. https://github.com/torvalds/linux/blob/v6.16/include/uapi/linux/fuse.h (accessed 2026-10-22) - [fuse-init-src] Linux v6.16 fs/fuse/inode.c: FUSE_INIT reply processing. https://github.com/torvalds/linux/blob/v6.16/fs/fuse/inode.c (accessed 2026-10-22) - [libfuse-common] libfuse 3.16.2 include/fuse_common.h: writeback cache capability and timestamps. https://github.com/libfuse/libfuse/blob/fuse-3.16.2/include/fuse_common.h (accessed 2026-10-22) ### FUSE URL: https://hesela.dev/terms/fuse/ Also known as: Filesystem in Userspace, File system in userspace Status: shipping Record updated: 2026-11-29 FUSE connects a kernel filesystem interface to a userspace daemon that implements filesystem operations. Note: A kernel module, userspace library and mount utility connect the daemon through /dev/fuse. Access defaults to the mounting user. allow_other lifts this restriction, normally for root unless configured otherwise; default_permissions enables kernel file-mode checks. [fuse-kernel] Linux v6.12 starts with a 32-page default request limit; FUSE_MAX_PAGES negotiation can raise it, capped at 256 pages. [fuse-init-source] [fuse-limits-source] Its fuse_readahead path uses the smaller of the negotiated page limit and max_read divided by PAGE_SIZE. [fuse-read-source] The fuseblk default block size is a separate 512-byte setting. /sys/fs/fuse/connections exposes waiting counts, background limits and an abort control that fails pending and new requests. [fuse-kernel] In direct-io mode the page cache is bypassed, while cached mode is write-through by default and writeback-cache must be negotiated at initialization. Writeback-cache mode assumes all changes pass through the kernel module, so it is generally unsuitable for network filesystems. [fuse-io] Persistence depends on the daemon and its backend, not on the framework name. [libfuse-api] This filesystem interface is unrelated to binary fuse filters. Linux v6.12 maps a FUSE_FSYNCDIR ENOSYS reply to success and caches no_fsyncdir for that connection, separate from the regular-file no_fsync flag. libfuse 3.16.2's low-level dispatcher sends ENOSYS when fsyncdir is absent. This does not prove a namespace change was lost or persisted; inspect the backend contract. [fuse-dir-source] [libfuse-dispatch] DFUSE coordinates distributed leases inside a modified FUSE driver to support coherent writeback across clients. It is not a stock mount option or a generic persistence guarantee. [dfuse-socc25] Advantages: - Non-privileged users can mount filesystems implemented as ordinary processes. (sources: [fuse-kernel]) - A broken or deadlocked daemon can be handled by killing it or by a forced unmount while the filesystem is still attached. (sources: [fuse-kernel]) Limitations: - When an interrupted request has reached the daemon, the kernel queues a separate INTERRUPT request, which the daemon may ignore; a fatal signal before dispatch can instead remove the original request. (sources: [fuse-kernel]) - Partial-page writes in writeback-cache mode make the kernel issue READ requests even for files opened write-only. (sources: [fuse-io]) Sources and caveats: - fuse-kernel is the Linux kernel 7.3.0 FUSE documentation, read for components, mount options, the control filesystem, interrupts and connection abort. - fuse-io is the Linux kernel 7.3.0 FUSE I/O modes page, read for direct-io, write-through and writeback-cache behavior. - libfuse-api is the libfuse 3.16.2 low-level header, re-read for the open, flush, release and fsync contracts. - The buffered-io entry links here because cached FUSE modes route reads and writes through the page cache. - Directory-sync support was checked in Linux v6.12 and libfuse 3.16.2 source; no daemon was mounted or crash-tested. - The overview's unconditional 32-page sentence conflicts with v6.12 source: a 32-page default, FUSE_MAX_PAGES negotiation capped at 256, and a separate max_read bound in fuse_readahead. Source review, not a mounted-daemon test or a guarantee for other versions. - DFUSE SoCC 2025, sections 3-6, read as a protocol-extension example; no replication or crash test performed. - On 2026-10-26, FUSE overview section 1.5.1 was rechecked to distinguish fatal-signal cancellation before dispatch from a queued INTERRUPT after transfer to userspace. Related terms: - [fuse-writeback-cache](https://hesela.dev/terms/fuse-writeback-cache/) - [fuse-flush](https://hesela.dev/terms/fuse-flush/) - [page-cache](https://hesela.dev/terms/page-cache/) - [fsync](https://hesela.dev/terms/fsync/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [fuse-background-limit](https://hesela.dev/terms/fuse-background-limit/) - [fuse-interrupt](https://hesela.dev/terms/fuse-interrupt/) Citations: - [libfuse-api] libfuse 3.16.2: low-level open, flush, release and fsync contracts. https://github.com/libfuse/libfuse/blob/fuse-3.16.2/include/fuse_lowlevel.h (accessed 2026-10-23) - [hesela-fuse] Hesela: FUSE writeback caching and the fsync contract. https://hesela.com/analyses/fuse-writeback-cache-fsync/ (accessed 2026-10-18) - [fuse-kernel] Linux kernel 7.3.0 documentation: FUSE, sections 1.2-1.9. https://docs.kernel.org/filesystems/fuse/fuse.html (accessed 2026-10-26) - [fuse-io] Linux kernel 7.3.0 documentation: FUSE I/O Modes. https://docs.kernel.org/filesystems/fuse/fuse-io.html (accessed 2026-10-23) - [fuse-dir-source] Linux v6.12: fuse_dir_fsync and no_fsyncdir handling. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/dir.c (accessed 2026-10-25) - [libfuse-dispatch] libfuse 3.16.2: do_fsyncdir and an absent low-level callback. https://github.com/libfuse/libfuse/blob/fuse-3.16.2/lib/fuse_lowlevel.c (accessed 2026-10-25) - [fuse-init-source] Linux v6.12: fuse_conn_init and process_init_reply request-page negotiation. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/inode.c (accessed 2026-10-25) - [fuse-limits-source] Linux v6.12: default and maximum FUSE request-page constants. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/fuse_i.h (accessed 2026-10-25) - [fuse-read-source] Linux v6.12: fuse_readahead and direct-I/O request limits. https://github.com/torvalds/linux/blob/v6.12/fs/fuse/file.c (accessed 2026-10-25) - [dfuse-socc25] Li et al.: DFUSE, SoCC 2025, sections 3-6; DOI 10.1145/3772052.3772208. https://arxiv.org/html/2503.18191v3 (accessed 2026-10-25) ### Fuzzy checkpoint URL: https://hesela.dev/terms/fuzzy-checkpoint/ Status: shipping Record updated: 2026-10-23 A fuzzy checkpoint records recovery information while transaction processing continues, rather than freezing all activity into one instantaneous database image. Note: In ARIES, the checkpoint records transaction and dirty-page information without forcing dirty pages to storage. Recovery may need older log records. This is neither a backup nor permission to delete every pre-checkpoint log record. Checkpoint metadata and compensation records solve different problems, the former guides restart, while CLRs preserve rollback progress. [aries] A begin record opens the checkpoint, and an end record later carries the transaction table, the dirty-pages table and mapping data for open objects. Only after the end record reaches stable storage is the begin record's log address stored in a master record at a known location. A dirty-pages table of 1000 rows may be read 100 entries per latch acquisition, because the redo point also accounts for log records written since the checkpoint began. [aries] A textbook variant flushes only cache slots that have stayed dirty since before the previous checkpoint, so every committed update older than the penultimate checkpoint is already in the stable database. The maximum time a slot may stay dirty trades checkpoint work during normal operation against restart work after a failure. [bhg-ch6] Advantages: - Checkpoints can be taken while transactions, including updates, keep running. (sources: [aries]) Limitations: - A failure after the begin record is stable but before the end record is stable leaves an incomplete checkpoint, and the master record still names the previous one. (sources: [aries]) Sources and caveats: - aries re-read 2026-10-23 for the begin and end records, the master record and the incremental dirty-page scan. - bhg-ch6 read 2026-10-23 for the penultimate-checkpoint guarantee and the dirty-time trade-off. - A companion analysis on checkpoints and torn pages is listed but not used in prose. Related terms: - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [compensation-log-record](https://hesela.dev/terms/compensation-log-record/) - [page-lsn](https://hesela.dev/terms/page-lsn/) - [full-page-write](https://hesela.dev/terms/full-page-write/) Citations: - [aries] Mohan, Haderle, Lindsay, Pirahesh and Schwarz. ARIES. ACM TODS 17(1), 1992, pp. 121-122, section 5.4. https://www.cs.cmu.edu/~15849g/readings/mohan92.pdf (accessed 2026-10-23) - [hesela-wal] WAL, checkpoints and torn pages: three different recovery guarantees. https://hesela.com/analyses/wal-checkpoints-torn-pages/ (accessed 2026-10-12) - [bhg-ch6] Bernstein, Hadzilacos and Goodman. Concurrency Control and Recovery in Database Systems, 1987, chapter 6, Centralized Recovery. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/05/chapter6.pdf (accessed 2026-10-23) ### FuzzyLog URL: https://hesela.dev/terms/fuzzylog/ Also known as: FuzzyLog partially ordered shared log Status: research Record updated: 2026-11-16 FuzzyLog is a shared-log abstraction that represents updates as a partially ordered graph partitioned by data shard and geographical region. Note: Colors identify shards; each color has one ordered chain per region. Cross-region playback within a color respects causality, not a global total order. Causality across different colors needs additional application machinery. [osdi18] Within one region, multi-color appends are serializable, not necessarily strictly serializable. TXMap adds conflict validation and decision records; appending an intention alone is insufficient. [osdi18] Dapple implements the abstraction using chain replication and assumes battery-backed DRAM for durability. Client failure can block appends to affected colors. Recovery uses leases, fencing and a write-ahead log; competing recovery clients can livelock. [osdi18] The ZooKeeper comparison used DRAM and emulated renames with successive delete/create operations, unlike DappleZK's atomic renames. It is not an equivalent-operations comparison or a current product ranking. [osdi18] Sources and caveats: - Full-paper synthesis, not a benchmark or power-loss reproduction. No performance ranking is inferred. - The pinned README warns that concurrent tests can exhaust socket/file resources and suggests RUST_TEST_THREADS=1 or a test subset. The repository was inspected, not executed. [artifact] - Code snapshot 400a458c28524040b790e33f8e58809c60a948c5 is a reproducible inspection reference, not a verified identification of the paper's experimental revision. Related terms: - [tango](https://hesela.dev/terms/tango/) - [causal-consistency](https://hesela.dev/terms/causal-consistency/) - [serializability](https://hesela.dev/terms/serializability/) Citations: - [osdi18] Lockerman et al. The FuzzyLog: A Partially Ordered Shared Log. OSDI 2018, pp. 357-372; sections 3, 4.1, 4.4, 5 and 6.5. https://www.cs.yale.edu/homes/aspnes/papers/osdi2018-proceedings.pdf (accessed 2026-11-16) - [artifact] JLockerman/FuzzyLog README at 400a458c28524040b790e33f8e58809c60a948c5: build instructions and test resource limits. https://github.com/JLockerman/FuzzyLog/blob/400a458c28524040b790e33f8e58809c60a948c5/README.md (accessed 2026-11-16) ### fwrite URL: https://hesela.dev/terms/fwrite/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: fwrite(), fwrite(3) Status: shipping Record updated: 2026-10-21 fwrite is a C standard-I/O operation that attempts to write up to a requested number of fixed-size items to a stream and returns the number of complete items written. Note: The return value counts items, not bytes, unless size is one. For example, fwrite(data, 4, 3, stream) returns three on full success for twelve bytes. Compare against the requested count and inspect the stream error indicator separately, even when that count is complete. Complete-item counts do not describe every partial-item side effect. [linux-fwrite] Buffered acceptance is not persistent storage completion. Check fflush, any required file synchronization and fclose separately. ferror reports stream status; clearerr clears indicators without repairing failed output. [linux-fflush] [linux-ferror] [linux-fsync] In a seeded line-buffered /dev/full test, dynamic and static glibc 2.39 returned two requested one-byte items while ferror became set. The following fflush returned zero without clearing that indicator. The pinned fwrite implementation converts an internal EOF from a failed buffer flush to the full count. [glibc-fwrite] [glibc-fileops] [hesela-fwrite-error] The unchanged probe on static musl 1.2.5 returned zero of two items with ferror set; its following fflush also returned zero with the indicator still set. The fully buffered and unbuffered controls agreed across libraries. Musl's failed writev path sets F_ERR and clears pending-write pointers, so a later fflush need not retry those bytes. These are pinned API observations, not durability tests or universal return sequences. [musl-fwrite] [musl-write] [musl-fflush] [hesela-cross-libc] Limitations: - Item counts must not be mistaken for byte counts. - Successful stream output alone does not establish file durability. - A full item count does not necessarily imply a clear stream error indicator. Related terms: - [fflush](https://hesela.dev/terms/fflush/) - [fclose](https://hesela.dev/terms/fclose/) - [short-write](https://hesela.dev/terms/short-write/) - [fsync](https://hesela.dev/terms/fsync/) - [ferror](https://hesela.dev/terms/ferror/) - [clearerr](https://hesela.dev/terms/clearerr/) Citations: - [glibc-fwrite] glibc 2.39: _IO_fwrite return-value handling. https://raw.githubusercontent.com/bminor/glibc/glibc-2.39/libio/iofwrite.c (accessed 2026-10-21) - [glibc-fileops] glibc 2.39: newline flushing and stream errors. https://raw.githubusercontent.com/bminor/glibc/glibc-2.39/libio/fileops.c (accessed 2026-10-21) - [hesela-fwrite-error] Hesela: full fwrite counts and stream error indicators. https://hesela.com/analyses/fsync-failure-retry-durability/#fwrite-indicator (accessed 2026-10-21) - [linux-fwrite] Linux man-pages 6.19: fread(3) and fwrite(3), return units. https://man7.org/linux/man-pages/man3/fwrite.3.html (accessed 2026-10-21) - [linux-fflush] Linux man-pages 6.19: fflush(3). https://man7.org/linux/man-pages/man3/fflush.3.html (accessed 2026-10-21) - [linux-ferror] Linux man-pages 6.19: ferror(3) and clearerr(3). https://man7.org/linux/man-pages/man3/ferror.3.html (accessed 2026-10-21) - [linux-fsync] Linux man-pages 6.19: fsync(2). https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-21) - [hesela-stdio] Hesela: The user-space buffer comes before fsync. https://hesela.com/analyses/fsync-failure-retry-durability/#stdio-buffer (accessed 2026-10-21) - [musl-fwrite] musl 1.2.5: fwrite and line-buffered output. https://git.musl-libc.org/cgit/musl/tree/src/stdio/fwrite.c?h=v1.2.5 (accessed 2026-10-21) - [musl-write] musl 1.2.5: __stdio_write error handling. https://git.musl-libc.org/cgit/musl/tree/src/stdio/__stdio_write.c?h=v1.2.5 (accessed 2026-10-21) - [musl-fflush] musl 1.2.5: fflush and pending output. https://git.musl-libc.org/cgit/musl/tree/src/stdio/fflush.c?h=v1.2.5 (accessed 2026-10-21) - [hesela-cross-libc] Hesela: controlled fwrite comparison across libc and linkage. https://hesela.com/analyses/fsync-failure-retry-durability/#fwrite-libc (accessed 2026-10-21) ### Host-side flash GC URL: https://hesela.dev/terms/garbage-collection-host/ Also known as: host-managed garbage collection, host GC, file-system cleaning Status: shipping Record updated: 2026-11-14 Host-side flash garbage collection is storage-space reclamation performed by host software, including filesystem segment cleaning and management of host-controlled flash regions. Note: A log-structured filesystem reclaims space by selecting a victim segment, checking block liveness and moving survivors. F2FS uses 2 MB segments grouped into sections and zones, and expects a section to match the device's GC unit. [f2fs-doc] When free segments run low, F2FS chooses victims with few live blocks; background cleaning also considers age. [f2fs-doc] On a block-interface SSD the FTL collects stale data, needing up to 28% over-provisioning and about 1 GB of mapping DRAM per 1 TB of media. With zones that must be written sequentially and explicitly reset, that work moves to the host. On identical 2 TB hardware a ZNS configuration sustained 1010 MiB/s of writes against 370 MiB/s with 7% and 590 MiB/s with 28% over-provisioning. In the paper's RocksDB overwrite experiment, device write amplification was 2.0x with XFS and 2.4x with F2FS on the block-interface SSD, versus 1.0x with F2FS on ZNS and ZenFS. These are different configurations, not successive stages; the reported device metric does not include all host-side rewriting. [zns-atc21] The zone-aware ZenFS backend tracks which files have extents in each zone and resets a zone once all of them are deleted, leaving about 10% of zone space unused. [zns-atc21] Filesystem cleaning and device garbage collection can coexist. F2FS above a conventional block-interface SSD moves live filesystem blocks but does not itself erase physical NAND blocks; the controller still manages those. Reclaiming a filesystem segment is not the same operation as resetting a host-managed zone. [f2fs-layers] Advantages: - Background cleaning can be switched off, and a host layer can use application knowledge for data placement. (sources: [f2fs-doc], [zns-atc21]) Limitations: - F2FS on ZNS still pays host cleaning cost, because its large sections move more data per clean. (sources: [zns-atc21]) - A host FTL shares CPU and DRAM with applications, and zones of hundreds of megabytes to a few gigabytes (16 to 128 dies per stripe) limit placement freedom. (sources: [zns-atc21]) - Most file systems write in place and are hard to adapt to sequential-write and reset rules. (sources: [zns-atc21]) Sources and caveats: - The ZNS paper's authors are largely industry-affiliated, and its measurements come from one research platform, RocksDB workloads, a 2 TB drive and Linux 5.9. - The file-system documentation and the device paper describe different layers, so their figures are not interchangeable. - Arithmetic: 1010 / 590 = 1.7 and 1010 / 370 = 2.7, matching the paper's stated range. Related terms: - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [ftl](https://hesela.dev/terms/ftl/) - [trim](https://hesela.dev/terms/trim/) - [open-channel-ssd](https://hesela.dev/terms/open-channel-ssd/) - [zns](https://hesela.dev/terms/zns/) - [f2fs](https://hesela.dev/terms/f2fs/) - [zoned-block-device](https://hesela.dev/terms/zoned-block-device/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [f2fs-slack-space-recycling](https://hesela.dev/terms/f2fs-slack-space-recycling/) - [nand-copyback](https://hesela.dev/terms/nand-copyback/) - [sfs](https://hesela.dev/terms/sfs/) Citations: - [c1] Host-side flash GC. https://en.wikipedia.org/wiki/Garbage_collection_(SSD) (accessed 2026-03-26) - [f2fs-doc] Linux kernel documentation: F2FS (Flash-Friendly File System). https://docs.kernel.org/filesystems/f2fs.html (accessed 2026-10-16) - [zns-atc21] Bjorling et al. ZNS: Avoiding the Block Interface Tax for Flash-based SSDs. USENIX ATC 2021. https://www.usenix.org/system/files/atc21-bjorling.pdf (accessed 2026-11-14) - [f2fs-layers] Lee et al. F2FS: A New File System for Flash Storage. FAST 2015, sections 2.2, 2.6 and 3.2.4. https://files.usenix.org/s3fs-public/cdn/fast15-paper-lee.pdf (accessed 2026-11-14) ### SMR garbage collection URL: https://hesela.dev/terms/garbage-collection-smr/ Related article: https://hesela.com/tech/device-managed-smr/ Status: shipping Record updated: 2026-11-14 SMR garbage collection relocates live data to reclaim space or consolidate free tracks while respecting shingled-write constraints. Note: In drive-managed implementations, cleaning may run during idle periods or interleave with foreground requests. Measuring only post-workload activity can omit cleaning already performed during the run. [ext4] A fixed host-write byte threshold does not describe every implementation. Placement locality, mapping resources and cache allocation affect when space must be reclaimed. [analysis] Research designs reclaim different resources: Virtual Guard returns protected neighboring tracks from cache to their home bands, while SMaRT consolidates fragmented free tracks. Neither mechanism is fully described as merely draining incoming writes from a cache. [vguard] [smart-paper] Sources and caveats: - Evolving Ext4 evaluated four DM-SMR drives from two vendors. Its explanation of one drive's mapping strategy was an inference, not a confirmed universal firmware design. Related terms: - [device-managed-smr](https://hesela.dev/terms/device-managed-smr/) - [smr](https://hesela.dev/terms/smr/) - [shingled-band](https://hesela.dev/terms/shingled-band/) - [smr-persistent-cache](https://hesela.dev/terms/smr-persistent-cache/) - [shingle-translation-layer](https://hesela.dev/terms/shingle-translation-layer/) - [virtual-guard](https://hesela.dev/terms/virtual-guard/) - [smart-smr-translation](https://hesela.dev/terms/smart-smr-translation/) Citations: - [c1] SMR garbage collection. https://en.wikipedia.org/wiki/Shingled_magnetic_recording (accessed 2026-03-26) - [skylight] Aghayev and Desnoyers: Skylight, FAST 2015, sections 4.5-4.6. https://files.usenix.org/s3fs-public/cdn/fast15-paper-aghayev.pdf (accessed 2026-10-15) - [zoned] Zoned Storage: Shingled Magnetic Recording Hard Disks. https://zonedstorage.io/docs/introduction/smr (accessed 2026-10-15) - [analysis] Hesela: SMR stalls, cache limits and the errors SMART can miss. https://hesela.com/analyses/smr-drive-failure-signatures/ (accessed 2026-10-15) - [ext4] Aghayev et al. Evolving Ext4 for Shingled Disks. FAST 2017, sections 2.1 and 4.3. https://files.usenix.org/s3fs-public/cdn/fast17-aghayev.pdf (accessed 2026-10-19) - [vguard] Shafaei and Desnoyers. Virtual Guard: A Track-Based Translation Layer for Shingled Disks. HotStorage 2017, sections 2-4. https://www.usenix.org/system/files/conference/hotstorage17/hotstorage17-paper-shafaei.pdf (accessed 2026-11-14) - [smart-paper] He and Du. SMaRT: An Approach to Shingled Magnetic Recording Translation. FAST 2017, sections 4-5. https://www.usenix.org/system/files/conference/fast17/fast17-he.pdf (accessed 2026-11-14) ### Garbage collection (flash) URL: https://hesela.dev/terms/garbage-collection/ Also known as: GC, SSD garbage collection Status: shipping Record updated: 2026-11-17 Flash garbage collection reclaims a victim erase block by first preserving its valid data elsewhere and then erasing the block for reuse. Note: Relocation and erasure are different operations. The migration path can use controller-mediated copying or eligible NAND copyback; fewer channel transfers alone do not establish fewer physical writes. Erase-before-write makes collection migrate a victim block's valid pages to a new target block with free pages. The 2018 study contrasts program-time-dominated copies (t_PROG) in older SSDs with then-current high-end designs where off-chip transfers (t_DMA) take a large share of copy cost. [hong2018] A characterization whose v1 header is dated 10 Oct 2018, and whose manuscript prints no separate measurement date, used 81,920 pages from 20 1x nm-node MLC NAND chips with word line 62 as both source and destination (word line 63 is the most unreliable line but is configured as SLC, so it is not that combination), and for 1-year data retention at 30°C on that worst combination Table 1's copyback threshold is 2 for the 2001-3000 P/E bin. [hong2018] That threshold is this characterization, not a general collection rule. When a block is erased by 3,000 times, if 1-year retention is required, copyback cannot be used successively more than twice, and after 3K P/E cycles a third migration of that page is an off-chip copy. The study varied both P/E cycles and retention times, so 1-year is the condition on the limit, not the only retention time measured. [hong2018] Copying V valid pages once from a full N-page victim gives a net gain of N - V free pages after erasure. Metadata and parity excluded; not device write amplification. [agrawal2008] Foreground GC exists; idle-only collection is not universal. [kingston-gc] TRIM can avoid copying unneeded data but does not require immediate erasure or guarantee sanitization. [trim-guide] [wei2011] Limitations: - Reclaiming space can require relocating live pages, adding work beyond host writes. (sources: [hong2018]) Sources and caveats: - hong2018 is arXiv:1810.04603v1. The header date is 10 Oct 2018. Sections 1 and 3 and Table 1 were read in the PDF and the HTML. The 1-year threshold in that section is stated at 30°C. The characterization prints no separate measurement date. - The added foundations distinguish mechanism, controller-specific scheduling and illustrative local space accounting; no new hardware measurements or universal performance gains are claimed. - The foreground-only example in [kingston-gc] describes specific SandForce-based SSDs; it does not rank scheduling policies generally. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [trim](https://hesela.dev/terms/trim/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [ssd](https://hesela.dev/terms/ssd/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [nand-copyback](https://hesela.dev/terms/nand-copyback/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [block-level-mapping](https://hesela.dev/terms/block-level-mapping/) - [preemptible-garbage-collection](https://hesela.dev/terms/preemptible-garbage-collection/) - [nand-erase-suspension](https://hesela.dev/terms/nand-erase-suspension/) - [geckoftl](https://hesela.dev/terms/geckoftl/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [flashtier](https://hesela.dev/terms/flashtier/) - [page-validity-bitmap](https://hesela.dev/terms/page-validity-bitmap/) Citations: - [c1] Garbage collection (SSD). https://en.wikipedia.org/wiki/Garbage_collection_(SSD) (accessed 2026-03-26) - [hong2018] Hong, Kim, Park, Jung and Kim. Revitalizing Copybacks in Modern SSDs: Why and How. arXiv:1810.04603v1, 10 Oct 2018, sections 1 and 3. https://arxiv.org/abs/1810.04603v1 (accessed 2026-11-02) - [hesela-copyback] Hesela: NAND copyback, faster relocation is not fewer writes. https://hesela.com/analyses/nand-copyback-ecc-boundary/ (accessed 2026-10-11) - [agrawal2008] Agrawal et al. Design Tradeoffs for SSD Performance. USENIX ATC 2008, sections 3.2, 3.3 and 5. https://static.usenix.org/events/usenix08/tech/full_papers/agrawal/agrawal_html/index.html (accessed 2026-11-10) - [kingston-gc] Kingston. Garbage Collection Methodologies for Greater SSD Performance for Client Workloads. SandForce-specific scheduling example. https://www.kingston.com/en/blog/servers-and-data-centers/garbage-collection (accessed 2026-11-10) - [trim-guide] Everpure Microsoft Platform Guide. TRIM: logical invalidation versus physical erasure. https://support.everpuredata.com/r/microsoft-platform-guide/trim?contentId=SVOS6g4u2sQlaGo80gtekA (accessed 2026-11-10) - [wei2011] Wei, Grupp, Spada and Swanson. Reliably Erasing Data From Flash-Based Solid State Drives. USENIX FAST 2011, sections 2.2 and 3.3. https://static.usenix.org/event/fast11/tech/full_papers/Wei.pdf (accessed 2026-11-10) - [hesela-gc] Hesela: Garbage Collection in Flash Storage, mechanism and local reclamation accounting. https://hesela.com/tech/garbage-collection/ (accessed 2026-11-10) ### Gear hash URL: https://hesela.dev/terms/gear-hash/ Also known as: Gear fingerprint Status: shipping Record updated: 2026-10-20 Gear hash is a rolling fingerprint based on a byte-indexed table and a shift-and-add recurrence, used in content-defined boundary selection. Note: The FastCDC paper describes a left-shift recurrence with finite-width arithmetic and explains how mask placement changes the input history visible to a boundary test. The number of selected bits and their positions serve different roles; a boundary fingerprint is not a cryptographic identifier of the whole chunk. [fastcdc] Variants matter: fastcdc-py 1.7.0 uses p_next = floor(p/2) + g. From zero on one repeated byte with g > 0, p_t = 2g - ceil(2g / 2^t), eventually reaching the odd state 2g - 1. Its low-bit zero masks cannot pass after settling, though transient matches remain possible. [implementation] [repeated-study] At 2048/8192/65536 B parameters, the 256 separate 131073-byte constant-byte fixtures produce maximum-sized chunks for 255 byte values; 0x5D instead yields 63 chunks of 2070 B and a 663 B tail. Exact reconstruction and independent recurrence checks support this bounded result, not a general FastCDC performance or storage-savings claim. [repeated-study] Limitations: - A fingerprint's recurrence, integer width, table and boundary masks must be specified to reproduce behavior. Related terms: - [rolling-hash](https://hesela.dev/terms/rolling-hash/) - [fastcdc](https://hesela.dev/terms/fastcdc/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [deduplication](https://hesela.dev/terms/deduplication/) Citations: - [fastcdc] Xia et al. FastCDC: a Fast and Efficient Content-Defined Chunking Approach for Data Deduplication. USENIX ATC 2016, sections 3-4. https://files.usenix.org/s3fs-public/cdn/atc16-paper-xia.pdf (accessed 2026-10-20) - [implementation] ISCC. fastcdc-py v1.7.0: cdc_offset, masks and Gear table. https://github.com/iscc/fastcdc-py/blob/v1.7.0/fastcdc/fastcdc_py.py (accessed 2026-10-20) - [repeated-study] Hesela. Exhaustive constant-byte FastCDC experiment: pinned 1.7.0 Python API, source hashes, exact reconstruction and independent recurrence checks. https://hesela.dev/research/gear-repeated/results.json (accessed 2026-10-20) - [hesela-cdc] Hesela. Content-defined chunking: boundaries are not identity. https://hesela.com/analyses/content-defined-chunking-boundaries/#repeated-bytes (accessed 2026-10-20) ### GeckoFTL URL: https://hesela.dev/terms/geckoftl/ Status: research Record updated: 2026-11-17 GeckoFTL is a research flash translation layer that stores page-validity metadata in flash using a buffered, merge-based structure. Note: Logarithmic Gecko groups invalid-page bits into sorted runs. Queries combine bitmaps newest-first; an erase flag excludes obsolete history from a previous block lifetime. This exchanges cheaper metadata updates for more expensive collection queries. [gecko2016] An overwrite can miss the old physical address when its mapping is not cached. The 2015 precursor reconciles delayed invalidations through translation-page reads and cached state before moving victim pages. Its Lazy Gecko garbage collector is distinct from LazyFTL. [gecko2015] Erase boundary: A set bit marks an invalid page, not a live one. With offsets counted from zero, invalidate 1, erase, then invalidate 3 leaves only offset 3 invalid. A query must include the bitmap on the entry carrying the erase flag before stopping; merging must retain that flag to exclude older runs. The executable example isolates these rules. [gecko2016] [erase-example] Limitations: - Evaluation uses EagleTree simulation, not measurements of shipping SSDs. Metadata-only overhead reductions do not describe all device traffic. (sources: [gecko2016]) Sources and caveats: - Source synthesis, not an implementation replication. The 2015 precursor and SIGMOD 2016 paper are distinct versions; their algorithms and evaluation results should not be silently combined. - The synthetic example checks ordered invalidation summaries for one block. It does not implement mapping-cache reconciliation, entry partitioning, run storage, recovery or a device benchmark. [erase-example] [erase-code] Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [reverse-mapping-ftl](https://hesela.dev/terms/reverse-mapping-ftl/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [lazyftl](https://hesela.dev/terms/lazyftl/) - [page-validity-bitmap](https://hesela.dev/terms/page-validity-bitmap/) Citations: - [gecko2016] Dayan, Bonnet and Idreos. GeckoFTL: Scalable Flash Translation Techniques For Very Large Flash Devices. SIGMOD 2016, sections 3-5. https://stratos.seas.harvard.edu/sites/g/files/omnuum4611/files/stratos/files/geckoftl.pdf (accessed 2026-11-17) - [gecko2015] Dayan and Bonnet. Garbage Collection Techniques for Flash-Resident Page-Mapping FTLs. arXiv:1504.01666v1, sections 5-6. https://arxiv.org/abs/1504.01666v1 (accessed 2026-11-09) - [erase-example] Hesela: executable erase-boundary illustration with explicit scope and incorrect controls. https://hesela.dev/research/gecko-erase.json (accessed 2026-11-17) - [erase-code] Hesela: dependency-free JavaScript for the erase-boundary illustration. https://hesela.dev/research/gecko-erase.mjs (accessed 2026-11-17) ### Geiger URL: https://hesela.dev/terms/geiger/ Status: research Record updated: 2026-12-02 Geiger is a hypervisor research prototype that infers guest cache insertions and evictions from disk traffic, page faults and page-table updates. Note: An associated disk location (ADL) links a physical page to a device and block offset. Reuse reveals eviction after the fact; allocation and copy-on-write require observations beyond disk I/O. [asplos2006] Journal writes can alias one page to two disk locations; deallocated blocks leave stale associations. Filesystem-specific liveness tracking reduces spurious evictions. [asplos2006] Event matching and detection delay are separate metrics. MemRx adds replacement-policy modeling error; the remote-cache study simulates LRU storage caches from measured traces. [asplos2006] Figure 7 reports 2.30% missed OS-reported evictions for Dbench with liveness; section 5.4 states a 2.24% worst case. The discrepancy remains unresolved. [asplos2006] A higher hit ratio is not a throughput guarantee. Chen et al.'s separate ATC 2003 implementation shows reload overhead cancelling the gain for MQ; that is not a Geiger measurement. [chen2003] Limitations: - Antfarm-assisted swap-liveness tracking was not fully implemented; hardware virtualization can hide required observations. (sources: [asplos2006]) Sources and caveats: - Xen 2.0.7 prototype with Linux 2.4.30 guests; not evidence of current compatibility. [asplos2006] - Primary-source synthesis, not a replication. The figure/prose discrepancy is retained rather than silently corrected. - DOI and author list verified against ACM-deposited Crossref metadata. The author copy uses different printed page numbers; section and figure identifiers locate the evidence. Related terms: - [antfarm](https://hesela.dev/terms/antfarm/) - [page-cache](https://hesela.dev/terms/page-cache/) - [working-set](https://hesela.dev/terms/working-set/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) Citations: - [asplos2006] Jones, Arpaci-Dusseau and Arpaci-Dusseau. Geiger: Monitoring the Buffer Cache in a Virtual Machine Environment. ASPLOS 2006, sections 3-7. https://research.cs.wisc.edu/adsl/Publications/geiger-asplos06.pdf (accessed 2026-12-02) - [doi] ACM bibliographic record. DOI 10.1145/1168857.1168861. https://doi.org/10.1145/1168857.1168861 (accessed 2026-12-02) - [chen2003] Chen, Zhou and Li. Eviction Based Cache Placement for Storage Caches. USENIX ATC 2003, sections 4-6. https://www.usenix.org/legacy/publications/library/proceedings/usenix03/tech/full_papers/chen/chen_html/index.html (accessed 2026-12-02) ### Geometric mean URL: https://hesela.dev/terms/geometric-mean/ Status: research Record updated: 2026-11-19 The geometric mean of n positive values is the nth root of their product. Note: For positive x_i, G = exp(sum(ln(x_i))/n). Declare any weighting and ratio orientation. SPEC CPU2026 uses geometric aggregation of specified benchmark ratios; that is a suite scoring rule, not a measurement of one combined storage workload. [nist-geometric] [spec-ratios] With speedup defined as reference runtime / test runtime, constructed reference times [100, 100] s and test times [50, 200] s give ratios [2, 0.5] and geometric score 1. Executing each job once takes 200 s versus 250 s, so total-work speedup is 0.8. A geometric score of 1 does not imply equal total runtime or throughput. [fleming-wallace] [hesela-means] Use the same workload set and weights when comparing normalized scores. Specify failures, timeouts and zero-handling separately: a failed run is not automatically a valid positive ratio, and silently removing it changes the population. The geometric mean does not recover raw elapsed time or transferred byte counts that were not retained. [fleming-wallace] [spec-ratios] Related terms: - [harmonic-mean](https://hesela.dev/terms/harmonic-mean/) - [microbenchmark](https://hesela.dev/terms/microbenchmark/) Citations: - [nist-geometric] NIST Dataplot: Geometric Mean, product definition. https://itl.nist.gov/div898/software/dataplot/refman2/auxillar/geommean.htm (accessed 2026-11-19) - [fleming-wallace] Fleming and Wallace, How not to lie with statistics: the correct way to summarize benchmark results, CACM 29(3), 218-221 (1986), rules 2-3 and Table IX. https://cgi.cse.unsw.edu.au/~cs9242/18/papers/Fleming_Wallace_86.pdf (accessed 2026-11-19) - [spec-ratios] SPEC CPU2026 run rules, sections 4.10.1-4.10.2: individual ratios and geometric aggregation. https://open.spec.org/cpu2026/docs/runrules.html#metrics (accessed 2026-11-19) - [hesela-means] Hesela: exact synthetic rate and benchmark-ratio examples, executable module. https://hesela.com/research/means/model.mjs (accessed 2026-11-19) ### Ghost cache entry URL: https://hesela.dev/terms/ghost-cache-entry/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: cache history entry Status: research Record updated: 2026-11-29 In history-based cache policies, a ghost entry records a nonresident item's identity or history without retaining its cached payload. Note: An ARC history hit is still a cache miss requiring a fetch. [arc] In FAST 2003 ARC, the cache and ghosts remember at most twice the cache capacity in page identities. If T1 holds c pages, a new-page miss discards its oldest entry without adding it to a ghost list. An initially empty cache receiving only distinct requests can fill T1 while both ghost lists stay empty. [arc] A history hit fetches the page into T2 and adjusts recency target p within [0, c]. With B1 containing 2 entries and B2 containing 6, a B1 hit requests an increase of 3 before the capacity cap. For c = 10, p moves from 9 to 10, not to 12. [arc] [arc-example] 2Q keeps an out-queue of identifiers evicted from its first-access queue and promotes a page found there to the main queue. [twoq] The MQ experiments used FIFO history for four times the resident block count; a reload uses the remembered count plus one. [mq] LIRS tracks nonresident blocks in its stack and promotes a re-accessed one to low-reuse-distance status. [lirs] Linux can keep history in its page-cache index. Eviction leaves a counter snapshot as a shadow entry. On refault the counter difference gives a distance used to decide immediate activation. The v6.12 comment estimates shadow-node reclaim near 1.8% of available memory on 64-bit with seven nodes per page and 64 slots per node, not a hard memory cap. [ws] LRU-K keeps reference history separately from cached pages. Putting updated timestamps in a page header would force otherwise clean pages to be written back on eviction. Discarding history with the payload can instead make recurring pages look new. Its retained-information period bounds history lifetime, not payload residence. [lruk] LARC history can describe blocks that never entered the payload cache. [larc] Advantages: - A small history separates re-requested items from first-time ones, so one-time scans can be filtered out while reused items are promoted. (sources: [twoq], [arc]) Limitations: - For four history entries per 8 KiB block, entries of h bytes use 4h/8192 of resident payload. With h < 32 this is below 1.5625%, not a measured overhead or a bound on total implementation memory. (sources: [mq]) - History without a bound, as in LIRS according to the ARC authors, can have unbounded space overhead. (sources: [arc], [lirs]) - Flashield uses ghost for a different state: current data can remain readable before segment reclamation. (sources: [flashield]) Sources and caveats: - The ARC paper has an author at an industrial research laboratory, the multi-queue paper is by an industrial research institute and a university, the 2Q paper has one author also at a software company, and LIRS is university work read from technical report TR-02-6. - The MQ paper reports history overhead below 0.5%. At four entries per 8 KiB block this requires average entries below 10.24 bytes. The stated h < 32 bound alone does not establish it; the bounds are not a contradiction. - The kernel behaviour is from the v6.12 source comments; 8 / (7 x 64) = 1.79% matches the comment figure of 1.8%. - Arithmetic from the ARC rule: 6 / 2 = 3; a 1,000-page cache has a directory of at most 2,000 identifiers. - The sources cover general buffer caches and a page cache, not SSD mapping caches; their trace results are not repeated. - The 2c bound counts directory identities, not payload bytes or implementation metadata bytes. The cold-scan arithmetic follows Figure 4 under its stated assumptions; it is not a full ARC implementation. Related terms: - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [fifo-replacement](https://hesela.dev/terms/fifo-replacement/) - [clock-replacement](https://hesela.dev/terms/clock-replacement/) - [clock-pro](https://hesela.dev/terms/clock-pro/) - [two-queue-replacement](https://hesela.dev/terms/two-queue-replacement/) - [multi-queue-replacement](https://hesela.dev/terms/multi-queue-replacement/) - [linux-refault-distance](https://hesela.dev/terms/linux-refault-distance/) - [flashield](https://hesela.dev/terms/flashield/) - [lecar](https://hesela.dev/terms/lecar/) - [cacheus](https://hesela.dev/terms/cacheus/) - [mimir](https://hesela.dev/terms/mimir/) - [cliffhanger](https://hesela.dev/terms/cliffhanger/) - [gl-cache](https://hesela.dev/terms/gl-cache/) - [lazy-adaptive-replacement-cache](https://hesela.dev/terms/lazy-adaptive-replacement-cache/) Citations: - [arc] Megiddo and Modha. ARC: A Self-Tuning, Low Overhead Replacement Cache. FAST 2003, section III(A); Figure 4, cases II and IV(A). https://www.usenix.org/event/fast03/tech/full_papers/megiddo/megiddo.pdf (accessed 2026-11-02) - [hesela] Hesela: mapping caches, scan phases and cache-history semantics (constructed examples). https://hesela.com/analyses/ssd-mapping-cache-hmb/#scan-pollution (accessed 2026-10-15) - [twoq] Johnson and Shasha. 2Q: A Low Overhead High Performance Buffer Management Replacement Algorithm. VLDB 1994, pp. 439-450. https://www.vldb.org/conf/1994/P439.PDF (accessed 2026-10-16) - [mq] Zhou, Philbin and Li. The Multi-Queue Replacement Algorithm for Second Level Buffer Caches. USENIX ATC 2001. https://www.usenix.org/legacy/events/usenix01/full_papers/zhou/zhou.pdf (accessed 2026-10-31) - [lirs] Jiang and Zhang. LIRS: An Efficient Low Inter-reference Recency Set Replacement Policy to Improve Buffer Cache Performance. SIGMETRICS 2002. https://xiaodongzhang1911.github.io/Zhang-papers/TR-02-6.pdf (accessed 2026-10-16) - [ws] Linux v6.12 mm/workingset.c, leading comment on double CLOCK lists and shadow entries. https://github.com/torvalds/linux/blob/v6.12/mm/workingset.c (accessed 2026-11-07) - [lruk] O'Neil, O'Neil and Weikum. The LRU-K Page Replacement Algorithm for Database Disk Buffering. SIGMOD 1993, section 2.1.2, p. 301. https://www.cs.cmu.edu/~christos/courses/721-resources/p297-o_neil.pdf (accessed 2026-11-02) - [arc-example] Hesela. ARC directory occupancy and bounded target updates: worked arithmetic and code. https://hesela.dev/research/arc-directory.json (accessed 2026-11-02) - [flashield] Eisenman et al. Flashield. NSDI 2019, section 4.3. https://www.usenix.org/system/files/nsdi19-eisenman.pdf (accessed 2026-11-10) - [larc] Huang, Wei, Chen, Chen and Feng. Improving Flash-based Disk Cache with Lazy Adaptive Replacement. MSST 2013, sections III and V.B; Algorithm 1. https://msstconference.org/MSST-history/2013/Papers/2013.Paper.28.pdf (accessed 2026-11-29) ### GMR read head URL: https://hesela.dev/terms/giant-magnetoresistive-head/ Related article: https://hesela.com/tech/gmr-spin-valve-head/ Also known as: GMR head, giant magnetoresistive head Status: eol Record updated: 2026-10-22 A GMR read head is a hard-disk read element that uses giant magnetoresistance in a stack of thin magnetic and non-magnetic layers to turn weak disk fields into resistance changes. Note: Giant magnetoresistance was discovered independently in 1988 in Fe/Cr/Fe trilayers and in (Fe/Cr)n multilayers with n up to 60, with layers only a few atoms thick. The multilayers' resistance fell by almost 50% in a field at 4.2 K, the room-temperature trilayer showed much less, and earlier anisotropic magnetoresistance gave at most a few per cent. [c3] The first GMR read head was launched in 1997 and soon became the standard, since smaller, weaker bits need more sensitive heads. The head turns small magnetic changes into a current signal that represents ones and zeros. [c2] The head stacks a free layer, often nickel-iron, next to the disk, a non-magnetic spacer such as copper, a pinned layer of fixed orientation, often cobalt, and an exchange layer, with low resistance when free and pinned magnetisations align. The preceding AMR heads of 1991 gave about four times the capacity of induction heads. [c4] Tunnel magnetoresistance junctions reached 24% at 4.2 K and 12% at room temperature in 1995, around 50% at room temperature by 2007 and over 200% with MgO barriers, and were expected to dominate over GMR sensors. [c3] Limitations: - Layers only a few atoms thick depend on thin-film deposition techniques developed from the 1970s onward. (sources: [c2]) Sources and caveats: - The Nobel documents date from 2007, so their present-tense statements mean 2007. - The 4.2 K and room-temperature figures describe laboratory samples, not head performance in a drive. - The magnet laboratory page is an educational explainer, not a standard or paper. - No open source giving a measured areal density for GMR heads was found, so none is stated. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [longitudinal-recording](https://hesela.dev/terms/longitudinal-recording/) - [tunnel-magnetoresistive-head](https://hesela.dev/terms/tunnel-magnetoresistive-head/) - [areal-density](https://hesela.dev/terms/areal-density/) - [head-disk-interface](https://hesela.dev/terms/head-disk-interface/) Citations: - [c1] GMR read head. https://en.wikipedia.org/wiki/Giant_magnetoresistive_effect (accessed 2026-03-26) - [c2] Royal Swedish Academy of Sciences. The 2007 Nobel Prize in Physics, press release, 9 October 2007. https://www.nobelprize.org/prizes/physics/2007/press-release/ (accessed 2026-10-16) - [c3] Royal Swedish Academy of Sciences. The Discovery of Giant Magnetoresistance, scientific background on the 2007 Nobel Prize in Physics. https://www.nobelprize.org/uploads/2018/06/advanced-physicsprize2007.pdf (accessed 2026-10-16) - [c4] National High Magnetic Field Laboratory. Giant Magnetoresistance, Magnet Academy explainer. https://nationalmaglab.org/magnet-academy/read-science-stories/science-simplified/giant-magnetoresistance/ (accessed 2026-10-16) ### Git alternate object database URL: https://hesela.dev/terms/git-alternate-object-database/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: Git object alternates Status: shipping Record updated: 2026-10-19 A Git alternate object database is an additional object directory that a repository searches for objects it does not store locally. Note: Lookup scope: objects/info/alternates and GIT_ALTERNATE_OBJECT_DIRECTORIES can make objects available outside the repository's own object directory; full fsck includes these stores. A passing check therefore does not establish that a copied directory is self-contained. [git-fsck] Copy independence: clone --shared can borrow objects from its source. Repack without --local can copy borrowed reachable objects; local-only repacking deliberately excludes them. The --dissociate clone option breaks borrowing after transfer, but object-provider independence is separate from physical-media independence. [git-clone] [git-pack-local] Measured boundary: in Hesela's Git 2.43.0 fixture, shared and local-repacked copies failed after their provider pathname became unavailable while their own file hashes remained unchanged. Full-repack and dissociate controls remained readable. This is a controlled provider-disconnection test, not a garbage-collection or device-failure measurement. [hesela-git] Advantages: - Allows object reuse without immediately duplicating an entire object store. Limitations: - Availability can depend on an external repository and its object retention policy. Sources and caveats: - Versioned Git documentation and disposable native-Git 2.43.0 controls; no fleet failure-rate estimate. Related terms: - [git-bundle](https://hesela.dev/terms/git-bundle/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [deduplication](https://hesela.dev/terms/deduplication/) Citations: - [git-clone] Git v2.43.0: shared clones, local repacking and dissociation. https://github.com/git/git/blob/v2.43.0/Documentation/git-clone.txt (accessed 2026-10-19) - [git-fsck] Git v2.43.0: full and connectivity-only object checks. https://github.com/git/git/blob/v2.43.0/Documentation/git-fsck.txt (accessed 2026-10-19) - [git-pack-local] Git v2.43.0: pack-objects --local. https://github.com/git/git/blob/v2.43.0/Documentation/git-pack-objects.txt (accessed 2026-10-19) - [hesela-git] Hesela: Git backup dependency and verification controls. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#git-backup-closure (accessed 2026-10-19) ### Git bundle URL: https://hesela.dev/terms/git-bundle/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: Git bundle file Status: shipping Record updated: 2026-10-28 A Git bundle packages selected references and Git objects for transfer, optionally requiring prerequisite history in the receiving repository. Note: Recovery scope: a bundle can contain complete or incremental history for its selected refs. An incremental bundle requires the earlier objects it excludes; the uncommitted working tree is outside this history export. Inventory the selected refs and prerequisites rather than treating the file as an automatic capture of every local asset. [git-bundle] Verification boundary: in Git v2.43.0, bundle verify reads the header and checks prerequisites in the recipient. The command closes the file before verify_bundle; restoration separately passes the packed payload to index-pack. This implementation scope does not establish the behavior of every later version. [git-bundle-command] [git-bundle-unpack] Measured control: a one-byte change to a complete bundle's pack-checksum trailer still passed bundle verify in an empty repository on Git 2.43.0, but cloning failed with a pack SHA-1 mismatch. The intact control restored expected content and passed full fsck. Verify prerequisites, unpack a disposable copy and compare expected content as separate acceptance steps. [hesela-git] History boundary: a depth-one Git 2.43.0 control created a bundle successfully but failed cloning it into an empty recipient. Matching tip refs and zero missing-object diagnostics did not establish historical coverage. This is a version-scoped observation, not a universal shallow-bundle result. [git-partial] Git LFS stores payloads separately from the pointer blobs in a bundle. Five synthetic Git 2.43.0 / LFS 3.4.1 controls passed full Git fsck even when required LFS content was missing or corrupted. The latest-only store passed default LFS checking but could not restore the old file. Preserve and test the required payload history separately. [lfs-pointer] [lfs-fsck] [lfs-evidence] Advantages: - Supports transfer of selected committed history without a live remote server. Limitations: - An incremental bundle is not self-contained without its prerequisite history. - A verification result is scoped to the checks actually performed. Sources and caveats: - Upstream v2.43.0 source trace and three repetitions of constructed native-Git cases; not a new vulnerability claim. Related terms: - [git-alternate-object-database](https://hesela.dev/terms/git-alternate-object-database/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [git-partial-clone](https://hesela.dev/terms/git-partial-clone/) Citations: - [git-bundle] Git v2.43.0: bundle scope and prerequisites. https://github.com/git/git/blob/v2.43.0/Documentation/git-bundle.txt (accessed 2026-10-19) - [git-bundle-command] Git v2.43.0: bundle verify command implementation. https://github.com/git/git/blob/v2.43.0/builtin/bundle.c (accessed 2026-10-19) - [git-bundle-unpack] Git v2.43.0: prerequisite checks and index-pack during unbundling. https://github.com/git/git/blob/v2.43.0/bundle.c (accessed 2026-10-19) - [hesela-git] Hesela: Git backup dependency and verification controls. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#git-backup-closure (accessed 2026-10-19) - [git-partial] Hesela: Git partial-clone offline recovery controls. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#git-partial-closure (accessed 2026-10-23) - [lfs-pointer] Git LFS v3.4.1: pointer format. https://github.com/git-lfs/git-lfs/blob/v3.4.1/docs/spec.md (accessed 2026-10-28) - [lfs-fsck] Git LFS v3.4.1: revision and path scope of fsck. https://github.com/git-lfs/git-lfs/blob/v3.4.1/docs/man/git-lfs-fsck.adoc (accessed 2026-10-28) - [lfs-evidence] Hesela: Git LFS history and pointer-size recovery controls. https://hesela.dev/research/git-lfs-recovery/summary.json (accessed 2026-10-28) ### Git partial clone URL: https://hesela.dev/terms/git-partial-clone/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: partial Git clone Status: shipping Record updated: 2026-10-23 A Git partial clone omits selected repository objects while retaining a configured promise that missing objects can be fetched when needed. Note: Object scope: partial clone filters objects within a selected commit graph; shallow cloning limits the history graph itself. The two mechanisms are distinct and can be combined. A provider must remain available for objects not materialized locally. [git-partial-design] Verification: Git v2.43.0 fsck recognizes promised absence. In a seven-case experiment, full and strict checks passed with five missing blobs; a HEAD checkout fetched two but left historical reads unavailable offline. One online read fetched its object and changed the candidate inventory. These are designed cases, not failure frequencies. [git-partial-fsck] [git-partial] Recovery scope: rev-list --objects --all --missing=print can succeed while listing missing IDs. A shallow boundary can also hide required history without reporting missing objects. Retain the intended history scope and test a disposable copy with providers unavailable. [git-partial-rev-list] [git-partial-shallow] Archival boundary: self-contained objects do not establish reader compatibility. The native controls used one Git version, so cross-version restoration and external application dependencies remain untested. [git-partial] [git-partial-archive] Advantages: - Can avoid transferring file contents that are not yet needed. Limitations: - Missing promised objects remain a dependency, not an independent backup. Sources and caveats: - Pinned Git v2.43.0 design and implementation, plus native Git 2.43.0 controls. No later-version equivalence or hardware reliability inference. Related terms: - [git-bundle](https://hesela.dev/terms/git-bundle/) - [git-alternate-object-database](https://hesela.dev/terms/git-alternate-object-database/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) Citations: - [git-partial-design] Git v2.43.0: partial-clone dependency contract. https://github.com/git/git/blob/564d0252ca632e0264ed670534a51d18a689ef5d/Documentation/technical/partial-clone.txt (accessed 2026-10-23) - [git-partial-fsck] Git v2.43.0: promisor-aware object checks. https://github.com/git/git/blob/564d0252ca632e0264ed670534a51d18a689ef5d/builtin/fsck.c (accessed 2026-10-23) - [git-partial-rev-list] Git v2.43.0: missing-object enumeration. https://github.com/git/git/blob/564d0252ca632e0264ed670534a51d18a689ef5d/Documentation/rev-list-options.txt (accessed 2026-10-23) - [git-partial-shallow] Git v2.43.0: shallow history boundaries. https://github.com/git/git/blob/564d0252ca632e0264ed670534a51d18a689ef5d/Documentation/technical/shallow.txt (accessed 2026-10-23) - [git-partial] Hesela: Git partial-clone offline recovery controls. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#git-partial-closure (accessed 2026-10-23) - [git-partial-archive] Hutchinson et al.: Logical vs. Physical File System Backup, OSDI 1999, sections 1, 3-5. https://www.usenix.org/legacy/event/osdi99/full_papers/hutchinson/hutchinson.pdf (accessed 2026-10-23) ### Gittins index URL: https://hesela.dev/terms/gittins-index/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: Gittins scheduling index Status: research Record updated: 2026-11-26 The Gittins index scores an unfinished job by its best attainable ratio of completion probability to expected additional service before a stopping point. Note: Attained service a is time actually served, not wall-clock age. For ordinary jobs of unknown total service X, maximize P(X <= b | X > a) / E[min(X,b)-a | X > a] over b>a. Prefer the largest index; its reciprocal rank is minimized. [gittins-ordinary] SERPT instead minimizes E[X-a | X>a]. Gittins mean-response optimality concerns the stable preemptive M/G/1 model with known service distribution, not an arbitrary device or p99. [gittins-rank] In Hesela's invented law, X is 1 ms with probability 9/10 or 100 ms otherwise. A fresh job has mean remaining 10.9 ms and index 0.9/ms; an unfinished job served for 90 ms has 10 ms remaining and index 0.1/ms. SERPT and Gittins therefore choose different jobs. The worksheet conditions on unfinished work at atoms and retains exact rational values. [hesela-gittins] Sources and caveats: - Mathematical source synthesis and invented finite-support examples; no empirical storage measurements or general scheduling proof. - Age-only, one-server model; no SSD interruption mechanism, switching overhead or multistage observations are inferred. Related terms: - [shortest-remaining-processing-time](https://hesela.dev/terms/shortest-remaining-processing-time/) - [service-time](https://hesela.dev/terms/service-time/) - [mean-residual-life](https://hesela.dev/terms/mean-residual-life/) Citations: - [gittins-ordinary] Aalto and Scully. On the Gittins index for multistage jobs. Queueing Systems 102, 353-371 (2022), section 2, equation 1. DOI 10.1007/s11134-022-09760-z. https://link.springer.com/article/10.1007/s11134-022-09760-z (accessed 2026-11-26) - [gittins-rank] Scully, Harchol-Balter and Scheller-Wolf. Simple Near-Optimal Scheduling for the M/G/1. PACM 4(1), Article 11 (2020), sections 2-2.1. DOI 10.1145/3379477. https://ziv.codes/scully_simple_2020/scully_simple_2020.pdf (accessed 2026-11-26) - [hesela-gittins] Hesela: exact finite-support Gittins worksheet, conditional two-job example and independent direct-sum tests. https://hesela.dev/research/gittins-index/README.txt (accessed 2026-11-26) ### GL-Cache URL: https://hesela.dev/terms/gl-cache/ Also known as: Group-level learned cache Status: research Record updated: 2026-11-19 GL-Cache is a learned cache design that predicts the usefulness of object groups and combines group selection with merge-based eviction. Note: Objects are grouped by write time; a learned model ranks groups, while a lightweight age-and-size rule selects survivors during merging. Group-level learning therefore does not remove object-level decisions. [paper] The utility target sums 1/(object size times next-request delay). Future requests supply training labels; eviction uses predictions, not advance knowledge. Unrequested objects can leave online labels below their complete-future values. Ghost entries extend observation after eviction. [paper] Only the first merge group is selected by utility; the paper chooses companions close in write time. Selecting the globally lowest-ranked groups is a different policy. [paper] The pinned C micro-implementation calculates training contributions using request-counter distance plus one, scaled by 1,000,000 and divided by object size. Its feature preparation separately uses real-time group age. These clocks and the label scale must not be silently interchanged when reproducing the algorithm. [training] The author repository separates a metadata-only micro-implementation from a Rust prototype based on Pelikan Segcache. They are different evaluation surfaces, not interchangeable measurements of a deployed service. [repository] Limitations: - The reported 228-fold throughput comparison with LRB is for the micro-implementation at small cache sizes. It excludes networking and value storage, so it is not an end-to-end service speedup. (sources: [paper]) Sources and caveats: - Primary-paper and pinned-source review. No trace replay, native benchmark, model training or deployment-performance replication was performed. - The record distinguishes the paper's design from the released micro-implementation; code-specific clocks are not attributed to every implementation. Related terms: - [least-hit-density](https://hesela.dev/terms/least-hit-density/) - [cacheus](https://hesela.dev/terms/cacheus/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [segcache](https://hesela.dev/terms/segcache/) Citations: - [paper] Yang, Mao, Yue and Rashmi. GL-Cache: Group-level learning for efficient and high-performance caching. FAST 2023, pp. 115-133, sections 3.3-3.6, 4.1 and 4.4. https://www.usenix.org/system/files/fast23-yang.pdf (accessed 2026-11-19) - [training] GL-Cache author micro-implementation, dataPrep.c: prepare_one_row and update_train_y; commit fbb824091209f390f7c921aadee1fbf0d35209c2. https://github.com/Thesys-lab/fast23-GLCache/blob/fbb824091209f390f7c921aadee1fbf0d35209c2/micro-implementation/libCacheSim/cache/eviction/GLCache/dataPrep.c (accessed 2026-11-19) - [repository] GL-Cache author repository: micro-implementation versus prototype; commit fbb824091209f390f7c921aadee1fbf0d35209c2. https://github.com/Thesys-lab/fast23-GLCache/blob/fbb824091209f390f7c921aadee1fbf0d35209c2/README.md (accessed 2026-11-19) ### Glass storage URL: https://hesela.dev/terms/glass-storage/ Related article: https://hesela.com/tech/glass-storage/ Also known as: Project Silica, volumetric glass archive Status: research Record updated: 2026-10-22 Glass data storage records information as laser-written structures inside transparent glass and reads their optical response to recover the encoded data. Note: Recording methods: ultrashort laser pulses create optical structures within the glass volume; the reading method depends on the structure, with polarization-sensitive and phase-contrast approaches both demonstrated [silica2026]. Archive workflow: write-once media still needs verified ingestion, error correction, metadata and recoverable keys [n2]. Calculated capacity, peak write rate and accelerated-aging estimates describe different properties; none alone establishes successful long-term file retrieval [observatory]. Demonstration: A November 2019 glass-storage proof of concept reported successful storage and readback of a film. A write/read cycle is not observed centuries of retention or a commercial service. [silica-2019-demo] Advantages: - Separate read and write drives can be provisioned independently of the passive media library. (sources: [n2]) Limitations: - A thermal-stability estimate does not cover loss of readers, physical breakage or a lost decryption key. (sources: [silica2026], [n2]) Sources and caveats: - The table in the linked Observatory review retains author-reported usable capacities; a direct density-volume-overhead calculation does not reproduce them. The accounting difference is unresolved [silica2026] [observatory]. - The research label describes the evidence used here, not an exhaustive market-availability survey. The dated 2019 demonstration does not establish the technology's invention or global first appearance; firstSeen remains unknown. [silica-2019-demo] - The 2023 architecture includes prototype work and full-system simulation [n2]. - Microsoft and Warner Bros. reported the Superman film demonstration on 4 November 2019. This is a dated project report, not an independent replication. [silica-2019-demo] Related terms: - [optical-archival](https://hesela.dev/terms/optical-archival/) - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [optical-storage-voxel](https://hesela.dev/terms/optical-storage-voxel/) - [glass-substrate](https://hesela.dev/terms/glass-substrate/) - [optical-disc-lifetime-estimate](https://hesela.dev/terms/optical-disc-lifetime-estimate/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) Citations: - [c1] Project Silica. https://www.microsoft.com/en-us/research/project/project-silica/ (accessed 2026-03-26) - [n2] Microsoft Research — Project Silica: Towards Sustainable Cloud Archival Storage in Glass (SOSP 2023 PDF). https://www.microsoft.com/en-us/research/wp-content/uploads/2023/09/ProjectSilica-SOSP23.pdf (accessed 2026-10-07) - [n3] Microsoft Research — Project Silica’s advances in glass storage technology (blog). https://www.microsoft.com/en-us/research/blog/project-silicas-advances-in-glass-storage-technology/ (accessed 2026-10-07) - [silica2026] Microsoft Research Project Silica Team. Laser writing in glass for dense, fast and efficient archival data storage. Nature 650 (2026). https://www.nature.com/articles/s41586-025-10042-w (accessed 2026-10-18) - [observatory] Hesela: Glass Data Storage, mechanisms and interpretation of research evidence. https://hesela.com/tech/glass-storage/ (accessed 2026-10-18) - [silica-2019-demo] Microsoft: Project Silica Superman write/read proof of concept, 4 November 2019. https://news.microsoft.com/source/features/innovation/ignite-project-silica-superman (accessed 2026-10-22) ### Glass platter substrate URL: https://hesela.dev/terms/glass-substrate/ Status: shipping Record updated: 2026-10-22 A glass platter substrate is a disk blank of chemically strengthened glass or glass-ceramic used instead of nickel-phosphorus-plated aluminium alloy. Note: Against plated aluminium alloy, a 1996 review lists a modulus of 75 to 85 GPa versus 72, hardness of 540 to 650 versus 500 kg/mm2, thermal expansion of 8.5 to 12.0 versus 24.2 x 10^-6 per degree C and usable temperatures of 500 degrees C or more versus 280. Thermal conductivity is only 0.75 to 2.0 W/mK against 80.0. Glass polishes to a fine finish, deforms less in processing and clamping, and withstands higher shock. [c2] Glass can chip at the edges, crack, or fail from microscopic flaws under thermal shock during sputtering or at high rotation speed. High heat emissivity can force lower deposition temperatures, hurting coercivity and signal-to-noise ratio, and cleaning leaves static charge that attracts particles. Glass-ceramics have several times the fracture strength and may need no texturing for contact start/stop. [c2] Heat-assisted recording media may be deposited at 700 degrees C or more, where glass viscosity falls steeply near the transformation point and the disk can creep into a concave or convex shape. Such flatness deviation disturbs read and servo signals and can reduce track density, so one patented approach selects substrates by the slope of their expansion curve and keeps flatness below 25 microns. [c3] Sources and caveats: - c2 is an IBM Research review (1996) in IBM's own journal; glass compositions have since changed. - c3 is a patent (granted 2022) with a drive-maker assignee; it states the applicant's claims, not independent evidence. - No cited source names current drive models with glass platters; the status field is carried over, not confirmed. - Arithmetic: 24.2 / 8.5 = 2.8; 80.0 / 0.75 = 107. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [areal-density](https://hesela.dev/terms/areal-density/) - [hamr](https://hesela.dev/terms/hamr/) Citations: - [c1] Glass platter substrate. https://en.wikipedia.org/wiki/Hard_disk_drive (accessed 2026-03-26) - [c2] Thin-film media: Current and future technology. https://mirrors.meulie.net/bitsavers.org/pdf/ibm/IBM_Journal_of_Research_and_Development/405/johnson.pdf (accessed 2026-10-16) - [c3] US11270724B1: Glass substrates for heat assisted magnetic recording (HAMR) and methods and apparatus for use with the glass substrates. https://patents.google.com/patent/US11270724B1/en (accessed 2026-10-16) ### Global Translation Directory (DFTL) URL: https://hesela.dev/terms/global-translation-directory/ Also known as: GTD Status: research Record updated: 2026-11-09 The Global Translation Directory in DFTL maps translation-page identifiers to their current physical flash locations. Note: DFTL keeps the complete page-level mapping table on flash, packed into translation pages, and caches only active mappings in the Cached Mapping Table. Translation pages are updated out of place like data pages, so their physical locations move. The directory records where the current copy of each translation page sits and is kept in SRAM. [dftl] In the paper's binary geometry, a 2 KiB translation page holds 512 four-byte mappings. A 1 GiB device has 524,288 data pages, 1024 translation pages and a 4 KiB directory with four-byte entries. A later design finds the translation page by dividing the logical page number by the mappings per page and uses the remainder as the entry offset within that page. [dftl] [sftl] This directory locates mapping pages, while the Cached Mapping Table holds selected data-page mappings. Relocating a translation page requires updating its directory entry, which happens when a dirty cached mapping is written back and when garbage collection moves valid pages out of a translation block. [dftl] Advantages: - Storing the directory on nonvolatile media aids recovery after a power failure. (sources: [dftl]) Limitations: - A full-cache miss with a dirty victim can require two translation-page reads and one translation-page write. This counts translation work, excluding the requested data operation, garbage collection and queueing. (sources: [dftl]) Sources and caveats: - dftl is the ASPLOS 2009 paper by Gupta, Kim and Urgaonkar (Pennsylvania State University), read in section 3 including Figure 5. - sftl is the MSST 2011 paper by Jiang, Zhang, Yuan, Hu and Chen (Wayne State University, Tsinghua University), read in sections III.A and III.C with Figure 2. - 4-byte addresses, 512 mappings per page, 1 GB, 1024 translation pages, about 4 KB and the worst-case miss cost come from dftl. The division-and-remainder lookup comes from sftl. - Binary units make the original geometry explicit; directory payload excludes cache entries and other controller metadata. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [translation-page](https://hesela.dev/terms/translation-page/) - [page-level-mapping](https://hesela.dev/terms/page-level-mapping/) - [dftl](https://hesela.dev/terms/dftl/) Citations: - [dftl] Gupta, Kim and Urgaonkar. DFTL: A Flash Translation Layer Employing Demand-based Selective Caching of Page-level Address Mappings. ASPLOS 2009, section 3. https://doi.org/10.1145/1508244.1508271 (accessed 2026-11-09) - [ftl-guide] Hesela: Flash Translation Layer technology guide. https://hesela.com/tech/ftl/ (accessed 2026-10-18) - [writeback] Hesela: Replacing a mapping can write metadata. https://hesela.com/analyses/ssd-mapping-cache-hmb/#mapping-writeback (accessed 2026-10-18) - [sftl] Jiang, Zhang, Yuan, Hu and Chen. S-FTL: An Efficient Address Translation for Flash Memory by Exploiting Spatial Locality. MSST 2011. https://msstconference.org/MSST-history/2011/Papers/Research/4.Jiang.pdf (accessed 2026-10-22) ### GLORAN URL: https://hesela.dev/terms/gloran/ Status: research Record updated: 2026-12-04 GLORAN is a research design that indexes LSM range-deletion records globally across key and sequence-number dimensions. Note: Mechanism: an LSM-DRtree organizes deletion regions, while a validity estimator can bypass unnecessary probes. [gloran-paper] Comparison: RocksDB v9.7.3 already binary-searches fragmented tombstone spans, then selects a sequence visible to the read. A linear scan of unfragmented records is a different algorithm. [fragmenter] Sources and caveats: - Preprint v1 reviewed for design, baseline assumptions and evaluation. No engine execution or independent performance replication. - The manuscript's placeholder venue DOI is not treated as publication metadata; the verified identifier is arXiv:2511.06061v1. - Snapshot retention and crash recovery are not established by the performance tables. Related terms: - [range-tombstone](https://hesela.dev/terms/range-tombstone/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [rocksdb](https://hesela.dev/terms/rocksdb/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) Citations: - [gloran-paper] Wang, Mo and Luo. Don't Forget Range Delete! arXiv:2511.06061v1 (2025), sections 3-6 and Table 4. https://arxiv.org/html/2511.06061v1 (accessed 2026-12-04) - [fragmenter] RocksDB v9.7.3: FragmentedRangeTombstoneIterator::SeekToCoveringTombstone and snapshot filtering. https://github.com/facebook/rocksdb/blob/v9.7.3/db/range_tombstone_fragmenter.cc (accessed 2026-12-04) - [hesela] Hesela: reading normalized range-delete results. https://hesela.com/analyses/lsm-tombstones-delete-persistence/#gloran-baseline (accessed 2026-12-04) ### GogetaFS URL: https://hesela.dev/terms/gogetafs/ Also known as: GOGETAFS Status: research Record updated: 2026-11-21 GogetaFS is a research deduplicating file-system design that combines block fingerprints with logical-to-physical mappings to reduce separate metadata persistence. Note: An LFP entry joins a logical address, fingerprint and physical location; a rebuildable global table supplies fingerprint lookup. Filesystem recovery reconstructs that table. [paper] The pinned SSD implementation compares candidate bytes before sharing a block. A matching fingerprint with unequal content takes the allocation path instead; hash equality alone is not byte equality. The accelerated path also compares hinted content. [code] Evaluation: Persistent-memory results and FEMU-emulated SSD results have different hardware scopes. The default evaluation disables metadata protection. Faster failure recovery than another deduplicating system does not mean faster normal recovery or faster recovery than the base filesystem. [paper] The paper reports about p = 0.20 over ten runs for its feature-overhead comparison. [paper] Failure to reject a difference does not establish performance equivalence; an acceptable effect-size margin and uncertainty assessment are separate requirements. [asa] Sources and caveats: - Full paper sections 4.2-4.7, 5.2, 6.1-6.7 and artifact appendix inspected. This is source review, not a native implementation benchmark or reproduction. [paper] - The artifact requires a modified kernel and persistent-memory hardware; its scripts can install software and access a configured pmem device. No artifact installation or device experiment was run. [artifact] - Code inspection is limited to the pinned candidate-comparison and hint paths; it is not a concurrency, crash-safety or error-propagation audit. [code] Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [idedup](https://hesela.dev/terms/idedup/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [f2fs](https://hesela.dev/terms/f2fs/) - [nova](https://hesela.dev/terms/nova/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) Citations: - [paper] Pan et al. Don't Maintain Twice, It's Alright: Merged Metadata Management in Deduplication File System with GogetaFS. FAST 2025, sections 4-6. https://www.usenix.org/system/files/fast25-pan.pdf (accessed 2026-11-21) - [code] GogetaFS SSD source: candidate comparison and hint checks, commit ed330e7c. https://github.com/GogetaFS/GogetaFS/blob/ed330e7cf6b25facd844258ab46831fb2c25a5d8/gogeta.c (accessed 2026-11-21) - [asa] American Statistical Association: Statement on Statistical Significance and P-Values (2016). https://www.amstat.org/asa/files/pdfs/P-ValueStatement.pdf (accessed 2026-11-21) - [artifact] GogetaFS artifact evaluation: prerequisites, experiments and branch mapping. https://github.com/GogetaFS/GogetaFS-AE (accessed 2026-11-21) - [record] USENIX FAST 2025: GogetaFS publication record. https://www.usenix.org/conference/fast25/presentation/pan (accessed 2026-11-21) - [analysis] Hesela: deduplication metadata and recovery trade-offs. https://hesela.com/analyses/deduplication-restore-fragmentation/#gogetafs-metadata (accessed 2026-11-21) ### Golomb coding URL: https://hesela.dev/terms/golomb-coding/ Also known as: Golomb code Status: unknown Record updated: 2026-11-17 Golomb coding represents a nonnegative integer using a unary quotient and a truncated-binary remainder for a chosen positive divisor. Note: Mechanism: Divide x by m into quotient q and remainder r. Encode q in unary, then r with a balanced code over m values. With m = 1, no remainder bits are needed. Rice coding restricts m to a power of two. [larsson-finite] Worked bits: For m = 3, remainders 0, 1 and 2 use 0, 10 and 11. With a zero-run unary prefix terminated by 1, values 0 through 5 become 10, 110, 111, 010, 0110 and 0111. The divisor and unary convention must be shared by the decoder. [rice-costs] Bounded values: A code designed for an unbounded geometric distribution allocates codewords to values above a known maximum. That can waste space for short bounded lists. Finite-universe coding adapts the tail; its practical heuristic is not optimal for every parameter pair. [larsson-finite] Sources and caveats: - The 1966 paper is the historical reference; the modern quotient/remainder description and bounded-universe distinction follow Larsson's full paper. - Exact educational bit strings use the FLAC-style unary polarity, not a claim of identical wire syntax across all Golomb formats. - Executable controls: https://hesela.dev/research/golomb-rice.test.mjs. No native codec or finite-universe benchmark is reproduced. Related terms: - [rice-coding](https://hesela.dev/terms/rice-coding/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [variable-length-integer](https://hesela.dev/terms/variable-length-integer/) Citations: - [larsson-finite] N. Jesper Larsson: Run-Length Encoding in a Finite Universe, SPIRE 2019, arXiv:1909.06794v2, sections 1-5. https://arxiv.org/abs/1909.06794v2 (accessed 2026-11-17) - [golomb-1966] S. W. Golomb: Run-Length Encodings, IEEE Transactions on Information Theory 12(3), 1966, pp. 399-401. https://doi.org/10.1109/TIT.1966.1053907 (accessed 2026-11-17) - [rice-costs] Hesela: exact Golomb/Rice bit-cost examples and partition accounting. https://hesela.dev/research/golomb-rice.mjs (accessed 2026-11-17) ### Gorilla compression URL: https://hesela.dev/terms/gorilla-compression/ Also known as: Gorilla XOR encoding Status: research Record updated: 2026-11-17 Gorilla compression represents time-series timestamps by delta-of-delta encoding and values by XOR differences with preceding values. Note: Mechanism: A zero value XOR needs one bit; a changed value either reuses a stored bit window or describes a new one. Timestamp and value encodings are separate. [paper] Window cost: For a stored width of 64 bits and a new one-bit residual, containment-only reuse costs 66 bits; fresh metadata costs 14. The Beringei implementation checks cost as well as containment. The linked synthetic ledger isolates this decision, not full-stream size. [code] [ledger] Restarts: In the ledger, 64 identical values need 127 payload bits in one block or 190 across two blocks. Smaller restart units can increase payload while reducing how much preceding state a read must reconstruct. [ledger] Format: The paper and Beringei source use different control-bit conventions. An algorithm name alone does not establish byte compatibility. [paper] [code] Sources and caveats: - Paper DOI: 10.14778/2824032.2824078. The 2015 system and its workload results are distinct from a portable encoding specification. - The ledger counts synthetic value payloads only. Timestamp bits, framing, terminators, byte padding and indexes are excluded; no native compressor or throughput benchmark was run. - Beringei's first-value handling also differs from the ledger's raw 64-bit initialization. The cost guard is a local decision, not proof of a globally minimal stream. [code] Related terms: - [chimp-compression](https://hesela.dev/terms/chimp-compression/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [delta-encoding](https://hesela.dev/terms/delta-encoding/) Citations: - [paper] Pelkonen et al., Gorilla, PVLDB 8(12), 1816-1827 (2015), section 4.1. https://www.vldb.org/pvldb/vol8/p1816-teller.pdf (accessed 2026-11-17) - [code] Facebook Beringei: appendValue and readNextValue, pinned 75c3002. https://github.com/facebookarchive/beringei/blob/75c3002b179d99c8709323d605e7d4b53484035c/beringei/lib/TimeSeriesStream.cpp (accessed 2026-11-17) - [ledger] Hesela: exact XOR-window and restart accounting. https://hesela.dev/research/xor-window/README.md (accessed 2026-11-17) ### Grafite range filter URL: https://hesela.dev/terms/grafite-range-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: Grafite Status: research Record updated: 2026-11-14 Grafite is an approximate integer-range emptiness filter that stores locality-preserving hash codes in an Elias-Fano representation. Note: The author's implementation exposes either a target error with a range length or a bits-per-key budget; its separate bucket class is a heuristic filter, not the same guarantee. The size method includes object and encoded-container storage. [grafite-code] For leading budget B, the paper bounds false-positive probability by min(1, ell/2^(B-2)); ell counts possible integer positions, not stored keys. Query time is O(B), hence constant when B is fixed. Lower-order metadata is excluded from that leading budget. [grafite-paper] An exact sizing example gives minimum integer leading budgets of 9, 14 and 19 bits per key for lengths 1, 32 and 1024 at a 1% target. This evaluates a bound, not observed FPR or allocated memory. [budget] Limitations: - A positive answer still needs data verification; a bound of one provides no useful filtering guarantee. (sources: [grafite-paper]) Sources and caveats: - Primary-source review and original arithmetic only; no Grafite runtime, database benchmark or adaptive-security validation. [grafite-paper] [budget] Related terms: - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) - [rosetta-range-filter](https://hesela.dev/terms/rosetta-range-filter/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [sstable](https://hesela.dev/terms/sstable/) - [aeris-filter](https://hesela.dev/terms/aeris-filter/) - [memento-range-filter](https://hesela.dev/terms/memento-range-filter/) - [diva-range-filter](https://hesela.dev/terms/diva-range-filter/) Citations: - [grafite-paper] Costa, Ferragina and Vinciguerra. Grafite. PACMMOD 2(1), 2024; theorem 3.4, corollary 3.5 and section 6.1. DOI: 10.1145/3639258. https://arxiv.org/html/2311.15380v2 (accessed 2026-11-10) - [grafite-code] Grafite author implementation: filter constructors, query and size; pinned commit 6838e9c6f757b300c410e79bc9c608ece2c5f23f. https://github.com/marcocosta97/grafite/blob/6838e9c6f757b300c410e79bc9c608ece2c5f23f/include/grafite/grafite.hpp (accessed 2026-11-10) - [budget] Hesela: exact Grafite bound arithmetic and regression tests (CC0). https://hesela.dev/research/grafite-budget.test.mjs (accessed 2026-11-10) - [analysis] Hesela: range length and filter memory budgets. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#grafite-budget (accessed 2026-11-10) ### Grammar compression URL: https://hesela.dev/terms/grammar-compression/ Also known as: Grammar-based compression Status: research Record updated: 2026-11-17 Grammar compression represents an input string by a restricted grammar whose start sequence expands to exactly that string. Note: Representation: Nonterminal rules name reusable fragments, including fragments built from other rules. For the acyclic teaching grammar, each rule refers only to byte terminals or earlier rules, so expansion is deterministic and terminates. [furuya2020] [example] Accounting: A grammar-size measure counts symbols on rule right-hand sides, not encoded bytes. With r binary rules and a root of c symbols, this model counts 2r+c symbols; its 16-bit symbol encoding occupies 12+4r+2c bytes. It uses the fixed byte alphabet and no separate terminal productions. State conventions before comparing grammar sizes. [furuya2020] [example] Construction: Bille and colleagues' space bounds count machine words beyond a rewritable n-word input; generated rules are streamed out rather than retained in the measured working memory. These bounds are neither total process bytes nor compressed-file sizes. [bille2016] Example: Repeating ab 1024 times gives 2048 input bytes, 10 binary rules and 2 root symbols: 56 bytes in the teaching format. This is one constructed repetitive input, not an expected compression ratio for real data. [example] Limitations: - A small grammar does not by itself specify a file format, integrity protection, random-access index or minimum encoded size. (sources: [example], [larsson1999]) Sources and caveats: - The model measures logical representation lengths with explicit headers; filesystem allocation, replication and runtime object overhead are excluded. - No raw experimental corpora or third-party paper figures are redistributed. Related terms: - [re-pair](https://hesela.dev/terms/re-pair/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [byte-pair-encoding](https://hesela.dev/terms/byte-pair-encoding/) Citations: - [larsson1999] Larsson and Moffat: Offline Dictionary-Based Compression, DCC 1999, sections 2-4. https://avadeaux.net/larsson.dogma.net/dcc99.pdf (accessed 2026-11-17) - [furuya2020] Furuya et al.: Practical Grammar Compression Based on Maximal Repeats, Algorithms 13(4), 103 (2020), sections 2-5. https://www.mdpi.com/1999-4893/13/4/103 (accessed 2026-11-17) - [bille2016] Bille, Gortz and Prezza: Space-Efficient Re-Pair Compression, arXiv:1611.01479v1 (2016), sections 1-3. https://arxiv.org/pdf/1611.01479v1 (accessed 2026-11-17) - [example] Hesela: Re-Pair rule, stream and encoded-byte accounting, executable teaching model. https://hesela.dev/research/repair-grammar/README.md (accessed 2026-11-17) ### Grapheme cluster URL: https://hesela.dev/terms/grapheme-cluster/ Also known as: Extended grapheme cluster, EGC Status: shipping Record updated: 2026-11-17 A grapheme cluster is a Unicode text segment delimited by specified boundary rules to approximate a user-perceived character. Note: Variant: Default extended grapheme clusters follow UAX #29 boundary rules; legacy and tailored clusters are distinct alternatives. State the Unicode version and any tailoring when recording a count. A cluster can contain several scalar values, and a rendered glyph can span more than one cluster. [unicode-graphemes] Counting: U+0065 U+0301 is one extended cluster, two scalar values, two UTF-16 units and three UTF-8 bytes. U+1F1F5 U+1F1F1 is one extended cluster but eight UTF-8 bytes. Segmenting text does not normalize its spelling or determine a filesystem's name-equality policy. [unicode-graphemes] [rfc-utf8] Storage: A cluster limit is not a byte quota: repeated combining marks can extend one cluster. Truncating at a scalar boundary can still split a cluster. A display label may be shortened at an appropriate cluster boundary, but a recovery identifier needs its original representation or an explicit reversible mapping. [unicode-graphemes] [hesela-units] Chunking: Boundary decisions need context. For three regional indicators split after the first, separate segmentation yields (first) (second third), but whole-text segmentation yields (first second) (third). Both have two clusters, so count equality alone does not validate boundaries. The linked probe records both partitions without changing the scalar sequence; it is not a streaming segmenter. [unicode-graphemes] [hesela-units] Limitations: - Default boundaries approximate user expectations; script, language and application requirements can need tailoring. Sources and caveats: - UAX #29 revision 47 supplies the reference rules. The linked bounded examples record Node, ICU and Unicode versions; they are not a complete segmentation-conformance test. Related terms: - [character-encoding](https://hesela.dev/terms/character-encoding/) - [unicode-scalar-value](https://hesela.dev/terms/unicode-scalar-value/) - [unicode-normalization](https://hesela.dev/terms/unicode-normalization/) Citations: - [unicode-graphemes] Unicode Standard Annex 29 revision 47: grapheme cluster boundaries. https://www.unicode.org/reports/tr29/tr29-47.html#Grapheme_Cluster_Boundaries (accessed 2026-11-17) - [rfc-utf8] RFC 3629: UTF-8 validity and malformed input. https://www.rfc-editor.org/rfc/rfc3629.html (accessed 2026-11-17) - [hesela-units] Hesela: text length units in filename recovery. https://hesela.com/analyses/filename-identity-backup-restores/#unicode-length-units (accessed 2026-11-17) ### Gray code URL: https://hesela.dev/terms/gray-code/ Also known as: Gray labeling, Gray-code labeling Status: shipping Record updated: 2026-11-22 A Gray code orders distinct binary labels so that consecutive labels differ in exactly one bit. Note: In multibit NAND, labels associate threshold-voltage states with bits belonging to logical pages; they do not specify host LBA order or the programming schedule. [li2016] Gray adjacency limits a mistaken neighboring state to one wrong label bit. It does not correct that bit, detect every substitution or give the same bound for a jump across several states. With all eight three-bit labels used, another valid label remains possible after corruption. [bailon2022] A finite illustration uses 000,001,011,010,110,111,101,100 in ascending state order. Across its seven boundaries the left, middle and right bits change 1, 2 and 4 times. The alternative 000,001,011,111,101,100,110,010 gives 2, 3 and 2. Both are Gray labelings. Seven changes cannot be divided equally among three integer counts. [hesela-labeling] These counts describe label geometry, not measured page error rates, NAND read commands or SSD latency. State populations, voltage distributions, sensing and the ECC arrangement remain necessary for a reliability or performance claim. [bailon2022] Sources and caveats: - The 2022 paper separates fitted measured TLC distributions from idealized-channel code evaluation; neither is a fleet-wide failure rate. - Label counts are an independently enumerated teaching example, not a recovered chip mapping. All 40320 assignments are checked with a separate XOR oracle. - Gray-code labeling is distinct from gray failure, error-correcting redundancy and NAND program ordering. Related terms: - [tlc](https://hesela.dev/terms/tlc/) - [nand-page](https://hesela.dev/terms/nand-page/) Citations: - [bailon2022] Nicolas Bailon, Thiers and Freudenberger. Cell-Wise Encoding for TLC and QLC NAND. Electronics 11, 1585 (2022), sections 2-3, 5. https://doi.org/10.3390/electronics11101585 (accessed 2026-11-22) - [li2016] Li, En Gad, Jiang and Bruck. Data Archiving in 1x-nm NAND Flash Memories. IRPS 2016, section II.B-C and Figure 1. https://people.engr.tamu.edu/ajiang/Publications/2016/IRPS2016.pdf (accessed 2026-11-22) - [hesela-labeling] Hesela - Gray coding changes labels, not the program contract; finite enumeration and executable tests. https://hesela.com/analyses/nand-paired-pages-durability/#gray-labeling (accessed 2026-11-22) ### Gray failure URL: https://hesela.dev/terms/gray-failure/ Related analysis: https://hesela.com/analyses/nvme-fail-slow-unseen-by-smart/ Also known as: grey failure Status: unknown Record updated: 2026-11-07 A gray failure occurs when an application observes a system as unhealthy while that system's failure observer regards it as healthy. Note: This observer-relative definition is broader than slow hardware and can include intermittent errors and capacity problems. A slowdown detected by both observers need not be gray in this sense. [huang-hotos17] A fan-out model assumes m independent paths, each choosing uniformly among n core switches. Exposure to one specified switch is 1 - ((n - 1)/n)^m: about 99.7% for n=4 and m=20. This is path exposure, not a measured delay probability. Packet loss, retries and the responses required for completion determine the resulting request delay. Independence and uniformity are assumptions of this calculation, not verified routing properties. [huang-hotos17] A common pattern is a detector that does not exercise the failing path. A virtual machine can lose network connectivity internally while a remote manager still regards it as healthy, and a machine that loses access to its remote disk can crash with the cause attributed to the compute stack. [huang-hotos17] In Panorama's 25-hour ZooKeeper run, 705 of 797,219 verdicts were unhealthy: 0.0884% calculated from the reported counts; the paper prints 0.08%. Its negative observations occurred during the first 22 s of bootstrap. Verdicts are not independent failure incidents, and this run does not establish a fleet-wide false-alarm rate. [panorama] Advantages: - Treating the gap between observers as the failure signal points to detectors that use what applications observe, not only internal probes. (sources: [huang-hotos17]) Limitations: - Transient manifestations make individual cases hard to localize, for example which network device is dropping packets. (sources: [huang-hotos17]) Sources and caveats: - huang-hotos17, the HotOS 2017 paper by Huang et al. (Microsoft Research, Johns Hopkins University, Microsoft Azure), was reread on the access date in sections 2 to 4. - panorama is the OSDI 2018 paper by Huang, Guo, Lorch, Zhou and Dang (Johns Hopkins University, ByteDance, Microsoft Research, Microsoft), read in sections 7.1 to 7.6. - The HotOS section 2.1 formula measures exposure to one switch. Uniform independent path selection is the model assumption; Hesela recomputes 1-(3/4)^20, not packet-loss or request-delay probability. - The status stays unknown because neither source reports an incidence rate across systems. - OSDI section 7.6 reports the verdict counts and prints 0.08%; Hesela recomputes 100*705/797219 as 0.0884% after rounding. This source review and arithmetic check is not a reproduction of Panorama. Related terms: - [fail-slow](https://hesela.dev/terms/fail-slow/) - [differential-observability](https://hesela.dev/terms/differential-observability/) - [fail-stutter](https://hesela.dev/terms/fail-stutter/) Citations: - [huang-hotos17] Huang et al., Gray Failure: The Achilles' Heel of Cloud-Scale Systems, HotOS 2017, sections 2 to 4; DOI 10.1145/3102980.3103005. https://www.microsoft.com/en-us/research/wp-content/uploads/2017/06/paper-1.pdf (accessed 2026-11-07) - [hesela-observers] Hesela: Fail-slow NVMe SSDs: what SMART and heartbeats miss. https://hesela.com/analyses/nvme-fail-slow-unseen-by-smart/ (accessed 2026-10-13) - [panorama] Huang, Guo, Lorch, Zhou and Dang. Capturing and Enhancing In Situ System Observability for Failure Detection. OSDI 2018. https://www.usenix.org/system/files/osdi18-huang.pdf (accessed 2026-11-07) ### Greedy garbage collection URL: https://hesela.dev/terms/greedy-garbage-collection/ Also known as: greedy block cleaning Status: shipping Record updated: 2026-10-18 A flash block-cleaning policy that selects a candidate erase block with the fewest valid pages, minimizing the valid data copied for that selection. Note: The candidate set matters: a global greedy policy and a policy restricted to an age window are not the same algorithm. Immediate copying cost does not by itself determine long-run behavior under skewed update frequencies. A whole-device valid-page count does not specify the selected victim's valid-page count. For four fully programmed eight-page blocks, layouts [4,4,4,4] and [0,0,8,8] both contain 16 valid pages, but global greedy selection copies four and zero pages respectively. These constructed snapshots illustrate the next selection, not steady-state behavior. [hesela-op] Global greedy selection need not sort every block at each collection. Desnoyers describes bins indexed by valid-page count: an invalidation moves a block reference between adjacent bins, and selection finds the lowest nonempty bin. The paper gives O(1) movement and O(pages per block) worst-case search, rather than a scan proportional to device block count. [desnoyers] Limitations: - Uniform-write formulas are conditional models, not universal drive predictions. (sources: [desnoyers], [xiang]) Related terms: - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [hot-cold-data-separation](https://hesela.dev/terms/hot-cold-data-separation/) - [nand-page](https://hesela.dev/terms/nand-page/) - [nvme-reclaim-unit-handle](https://hesela.dev/terms/nvme-reclaim-unit-handle/) - [nvme-fdp](https://hesela.dev/terms/nvme-fdp/) - [static-wear-leveling](https://hesela.dev/terms/static-wear-leveling/) Citations: - [xiang] Xiang and Kurkoski. An Improved Analytic Expression for Write Amplification in NAND Flash. arXiv:1110.4245v1, section II. https://arxiv.org/abs/1110.4245v1 (accessed 2026-10-11) - [desnoyers] Peter Desnoyers. Analytic Modeling of SSD Write Performance. SYSTOR 2012, sections 2-3. DOI: 10.1145/2367589.2367603. https://www.ccs.neu.edu/home/pjd/papers/pjd-systor12.pdf (accessed 2026-10-11) - [hesela-op] Hesela: SSD over-provisioning, capacity denominators and analytical-model limits. https://hesela.com/analyses/ssd-overprovisioning-denominators/ (accessed 2026-10-11) ### GreedyDual-Size URL: https://hesela.dev/terms/greedydual-size/ Also known as: GDS, GD-Size Status: research Record updated: 2026-11-14 GreedyDual-Size is a cache-replacement policy that combines retrieval cost per unit size with aging and refreshes priority on access. Note: On insertion or a hit, set H = L + cost/size. Evict a minimum-H object when space is needed, advancing L to that victim's H, and repeat until the requested object fits. L is an eviction-driven offset, not elapsed time; it avoids decrementing every resident priority. [cao] The cost unit defines the objective: unit cost counts retrievals, while cost equal to size counts fetched bytes. Neither is automatically a latency model. Young's related Landlord formulation permits different hit-credit refresh choices; those choices need not reproduce the same eviction history. [young] DULO adapts this cost-density idea to sequences of disk blocks. Its historical design favors retaining short sequences under an assumed equal sequence-fetch cost, rather than merely minimizing block misses. That assumption is not a measurement of current SSDs. [dulo] Hesela's exact-arithmetic replay compares explicit decrements with the common-offset representation after every request. Deterministic identifier-order ties, fixed object metadata and initially empty caches are declared model choices. Operation counts exclude victim search and do not establish a runtime speedup. [hesela] For the declared seven-request witness, unit-cost GDS misses eight size units and byte-cost GDS misses nine, out of eleven requested. This is a counterexample to a per-trace optimality claim, not evidence that unit cost generally wins. The tie rule and full inputs are in the replay packet. [hesela] Limitations: - The original evaluation used historical Web-access traces; its performance comparisons are not a guarantee for a current storage workload. (sources: [cao]) - The file-caching model does not resolve changing retrieval costs, cache consistency, or distributed coordination. (sources: [young]) Sources and caveats: - Primary-source synthesis plus constructed arithmetic examples, not reproduction of the papers' trace-driven performance measurements. Related terms: - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) - [byte-hit-ratio](https://hesela.dev/terms/byte-hit-ratio/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [ripq](https://hesela.dev/terms/ripq/) Citations: - [cao] Cao and Irani. Cost-Aware WWW Proxy Caching Algorithms. USITS 1997, sections 3-5 and Figure 5. https://www.usenix.org/legacy/publications/library/proceedings/usits97/full_papers/cao/cao.pdf (accessed 2026-11-03) - [young] Young. On-Line File Caching. Algorithmica 33 (2002), pp. 371-383, section 1 and Figure 1. DOI: 10.1007/s00453-001-0124-5. https://www.cs.ucr.edu/~neal/Young02Online.pdf (accessed 2026-11-03) - [dulo] Jiang, Ding, Chen, Tan and Zhang. DULO. FAST 2005, sections 3.4 and 4. https://www.usenix.org/legacy/event/fast05/tech/full_papers/jiang/jiang_html/index.html (accessed 2026-11-03) - [hesela] Hesela. GreedyDual-Size priority equivalence: constructed inputs, exact replay and limitations. https://hesela.dev/research/greedydual-size/README.md (accessed 2026-11-03) ### Greenwood variance URL: https://hesela.dev/terms/greenwood-variance/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: Greenwood's formula, Greenwood variance estimator Status: shipping Record updated: 2026-11-19 Greenwood's formula estimates the sampling variance of a Kaplan-Meier survival estimate from event counts and risk-set sizes. Note: For ordinary unweighted, independent-unit, right-censored first-event data, the estimate is S_hat(t)^2 times the sum of d_i / (n_i * (n_i - d_i)) over event times through t. Here d_i counts events and n_i counts units at risk just beforehand; the displayed expression requires n_i > d_i. [km-1958] Its square root is a standard error of estimated survival, not a device lifetime spread. A confidence interval also needs a confidence level and construction: a log-log transformation can keep interior limits within the probability range, but its coverage remains approximate. [sawyer-2003] These are pointwise intervals for a fixed time, not simultaneous coverage of a complete survival curve. S_hat equal to zero or one requires explicit boundary handling; undefined limits or a degenerate interval are not evidence of certainty. [sawyer-2003] [scipy-ci] An error bar does not correct informative censoring or justify counting repeated telemetry rows as independent devices. Clustered, weighted and repeated-event analyses need a variance method matching their sampling structure; the R survival documentation distinguishes these from the ordinary calculation. [survival-methods] Related terms: - [risk-set](https://hesela.dev/terms/risk-set/) - [kaplan-meier-estimator](https://hesela.dev/terms/kaplan-meier-estimator/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) Citations: - [km-1958] Kaplan and Meier (1958): Nonparametric Estimation from Incomplete Observations, sections 1.4 and 2.2, equation (2f). https://web.stanford.edu/~lutian/coursepdf/KMpaper.pdf (accessed 2026-11-19) - [sawyer-2003] Sawyer (2003): The Greenwood and Exponential Greenwood Confidence Intervals in Survival Analysis, equations 1.2-1.3. https://www.math.wustl.edu/~sawyer/handouts/greenwood.pdf (accessed 2026-11-19) - [scipy-ci] SciPy 1.16.2: EmpiricalDistributionFunction.confidence_interval, clipping and undefined limits. https://docs.scipy.org/doc/scipy-1.16.2/reference/generated/scipy.stats._result_classes.EmpiricalDistributionFunction.confidence_interval.html (accessed 2026-11-19) - [survival-methods] R survival package: Methods, sections 2.2.1-2.2.2, confidence intervals and robust variance. https://stat.ethz.ch/R-manual/R-patched/library/survival/doc/methods.pdf (accessed 2026-11-19) ### Griffin URL: https://hesela.dev/terms/griffin/ Related analysis: https://hesela.com/analyses/ssd-overprovisioning-denominators/ Status: research Record updated: 2026-11-30 Griffin is a research hybrid-storage design that uses an HDD write log to coalesce overwrites before migrating data to an SSD. Note: Longer buffering can suppress more SSD writes but expose more reads to the HDD. Migration trades these effects against one another. [griffin2010] HDD failure can lose unmigrated updates. Selective caching can leave newer SSD blocks alongside missing older updates; full caching has simpler recovery semantics. [griffin2010] Write suppression and device-level write amplification have different denominators. The linked sensitivity example is invented arithmetic, not Griffin trace replay. [hesela] Limitations: - Modeled erasure savings are not an observed time-to-failure distribution. (sources: [griffin2010]) Sources and caveats: - Literature synthesis and separate hypothetical accounting; no Griffin implementation, device benchmark or endurance experiment reproduced. Related terms: - [hystor](https://hesela.dev/terms/hystor/) - [write-combining](https://hesela.dev/terms/write-combining/) - [write-amplification](https://hesela.dev/terms/write-amplification/) Citations: - [griffin2010] Soundararajan, Prabhakaran, Balakrishnan and Wobber. Extending SSD Lifetimes with Disk-Based Write Caches. FAST 2010, sections 3-6. https://www.usenix.org/legacy/event/fast10/tech/full_papers/soundararajan.pdf (accessed 2026-11-30) - [hesela] Hesela: Griffin and the missing lifetime denominator. https://hesela.com/analyses/ssd-overprovisioning-denominators/#griffin-lifetime (accessed 2026-11-30) ### Group commit URL: https://hesela.dev/terms/group-commit/ Related analysis: https://hesela.com/analyses/wal-checkpoints-torn-pages/ Status: shipping Record updated: 2026-12-02 Group commit is a logging optimization that shares a durable log synchronization across multiple concurrent transaction or write requests. Note: PostgreSQL can persist several commit records in one WAL synchronization without flushing all changed data pages. [pg-intro] Group commit can occur with commit_delay=0; an added delay is a batching opportunity, not a durability exemption. [pg-configuration] RocksDB also groups compatible concurrent writes; different write options can prevent grouping. [rocksdb-wal] Hesela's distinction: sharing persistence work does not turn separate transactions into one application-level atomic operation. [pg-transactions] The 1984 DeWitt et al. report distinguishes early lock release from client acknowledgment and requires dependency-aware log persistence; it does not establish invention priority. [dewitt-1984] Advantages: - Amortizes log synchronization overhead across concurrent commits. (sources: [pg-intro]) Limitations: - Waiting to collect more commits can increase latency and can reduce throughput. (sources: [pg-configuration]) - The mechanism does not itself specify replica acknowledgments or the storage stack's persistence guarantees. (sources: [pg-settings], [pg-reliability]) Related terms: - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [asynchronous-commit](https://hesela.dev/terms/asynchronous-commit/) - [xfs-delayed-logging](https://hesela.dev/terms/xfs-delayed-logging/) - [silo](https://hesela.dev/terms/silo/) - [fasterlog](https://hesela.dev/terms/fasterlog/) Citations: - [pg-intro] PostgreSQL 18: Write-Ahead Logging. https://www.postgresql.org/docs/18/wal-intro.html (accessed 2026-10-15) - [pg-configuration] PostgreSQL 18: WAL Configuration, group commit. https://www.postgresql.org/docs/18/wal-configuration.html (accessed 2026-10-15) - [pg-settings] PostgreSQL 18: WAL settings, commit_delay and synchronous_commit. https://www.postgresql.org/docs/18/runtime-config-wal.html (accessed 2026-10-15) - [pg-reliability] PostgreSQL 18: Reliability. https://www.postgresql.org/docs/18/wal-reliability.html (accessed 2026-10-15) - [rocksdb-wal] RocksDB: WAL Performance, Group Commit (unversioned wiki). https://github.com/facebook/rocksdb/wiki/WAL-Performance (accessed 2026-10-15) - [pg-transactions] PostgreSQL 18: Transactions. https://www.postgresql.org/docs/18/tutorial-transactions.html (accessed 2026-10-15) - [dewitt-1984] DeWitt et al. Implementation Techniques for Main Memory Database Systems. UCB/ERL M84/5 (1984), section 5.2. https://www2.eecs.berkeley.edu/Pubs/TechRpts/1984/Archive/ERL-m-84-5.pdf (accessed 2026-10-15) - [hesela-wal] Hesela: Group commit shares persistence work, not transaction identity. https://hesela.com/analyses/wal-checkpoints-torn-pages/#group-commit (accessed 2026-10-15) ### Grouped cross-validation URL: https://hesela.dev/terms/grouped-cross-validation/ Related analysis: https://hesela.com/analyses/smart-replacement-prediction-random-splits/ Also known as: group-wise cross-validation, group-aware cross-validation Status: shipping Record updated: 2026-10-22 Grouped cross-validation evaluates a predictor using splits that keep all observations from each specified group together in either training or testing within a split. Note: Grouped data breaks the i.i.d. assumption when samples share a source, such as several samples from each patient. GroupKFold keeps a group out of training whenever it is in a test fold, and its test folds form a complete partition of the data. [sklearn-validation] Its default is 5 folds, at least 2 are required and the number of distinct groups must be at least the number of folds. [sklearn-groupkfold] Grouping by physical drive tests unseen drives and grouping by site tests unseen sites, which are different generalization questions. StratifiedGroupKFold also tries to keep class proportions, LeaveOneGroupOut holds out one group per split and GroupShuffleSplit draws independent random group splits. [sklearn-validation] Kapoor and Narayanan list non-independence between training and test samples as a leakage type, for example different observations of the same patient on both sides of the split. Their survey found leakage-related errors reported in 17 fields, affecting 329 papers. [leakage] Advantages: - Estimates performance on groups absent from training, which a sample-level split overstates when samples within a group are dependent. (sources: [leakage], [sklearn-validation]) Limitations: - Choose groups for the deployment question. Grouping does not prevent future information or globally fitted preprocessing from entering training. (sources: [sklearn-validation]) - Fold sizes can differ when groups are unequal, because shuffled GroupKFold balances the number of groups rather than samples. (sources: [sklearn-validation]) Sources and caveats: - sklearn-validation is the scikit-learn user guide on cross-validation, re-read on 2026-10-22 in the section on grouped data. - sklearn-groupkfold is the scikit-learn GroupKFold API page, re-read on 2026-10-22, and is the source of the 5 and 2 fold values. - leakage is the 2022 arXiv preprint by Kapoor and Narayanan of Princeton University, read on 2026-10-22 in the abstract and leakage taxonomy. - The 17 fields and 329 papers come from leakage. Related terms: - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [smart](https://hesela.dev/terms/smart/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) Citations: - [sklearn-groupkfold] scikit-learn: GroupKFold, non-overlapping groups and per-fold behavior. https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GroupKFold.html (accessed 2026-10-22) - [sklearn-validation] scikit-learn: cross-validation for grouped data, time series and training-only transformations. https://scikit-learn.org/stable/modules/cross_validation.html (accessed 2026-10-22) - [leakage] Sayash Kapoor and Arvind Narayanan. Leakage and the Reproducibility Crisis in ML-based Science. arXiv:2207.07048v1, 2022. https://arxiv.org/abs/2207.07048 (accessed 2026-10-22) ### Gryff URL: https://hesela.dev/terms/gryff/ Also known as: Gryff replication Status: research Record updated: 2026-11-16 Gryff is a replication protocol that combines shared-register reads and writes with consensus for linearizable read-modify-write operations. Note: Gryff couples multi-writer ABD with EPaxos. Carstamps contain a logical timestamp, coordinator identifier and RMW counter. An RMW increments its base update's counter, placing it immediately after that update in the timestamp order; a concurrent write cannot be inserted between them. [nsdi20] An RMW must execute at a quorum before completion, rather than at only one replica. Otherwise, a later register-path read could miss its effect. RMW execution still resolves EPaxos dependencies. [nsdi20] With n = 2f + 1 replicas and reliable delivery, the paper proves read/write wait-freedom under up to f crashes. RMW completion additionally needs partial synchrony. Per-object linearizability does not turn separate reads of different keys into one atomic scan. [nsdi20] [nsdi25] Limitations: - The evaluation trades lower read-tail latency against higher write latency in its geo-replicated workloads; it is not an all-operation speedup. (sources: [nsdi20]) Sources and caveats: - Source synthesis of the published protocol and its later comparison. No distributed experiment, benchmark replication or deployment claim. Related terms: - [pineapple](https://hesela.dev/terms/pineapple/) - [linearizability](https://hesela.dev/terms/linearizability/) - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) Citations: - [nsdi20] Burke, Cheng and Lloyd. Gryff: Unifying Consensus and Shared Registers. NSDI 2020, pp. 591-617; sections 2-6 and Appendix B. https://www.usenix.org/system/files/nsdi20-paper-burke.pdf (accessed 2026-11-16) - [nsdi25] Bantikyan et al. Pineapple: Unifying Multi-Paxos and Atomic Shared Registers. NSDI 2025, section 2.3. https://www.usenix.org/system/files/nsdi25-bantikyan.pdf (accessed 2026-11-16) ### GUID Partition Table (GPT) URL: https://hesela.dev/terms/guid-partition-table/ Related analysis: https://hesela.com/analyses/ddrescue-image-provenance/ Also known as: GPT, GUID partition table Status: shipping Record updated: 2026-11-22 GUID Partition Table is a disk-partitioning format that records partition ranges and identifiers in primary and backup metadata with separate CRC32 checks for the headers and entry arrays. Note: GPT describes disk layout, not a filesystem. A protective MBR occupies LBA 0, the primary header LBA 1 and the backup header the final logical block. Partition ranges use logical block addresses; converting them to byte offsets requires the correct logical block size. [uefi] A passing header CRC does not establish that the referenced entry array passes its own CRC. Neither covers partition payload. Linux v6.18 separately checks the header and array, then compares selected metadata between copies; these checks do not prove that recovered files are complete or current. [linux] In Hesela's six constructed regular-file cases, all 24 invocations of sfdisk 2.39.3 and sgdisk 1.0.10 returned zero, including commands that warned about primary corruption or inconsistent copies. A partition listing or successful process exit does not certify both original copies: retain stdout, stderr, selected-copy behavior and independent byte checks. The exact package versions and hashes are recorded with the observations. [native] Limitations: - With a 92-byte header, the remaining reserved header-block bytes are outside the header CRC, although UEFI requires them to be zero; CRC success is not full format conformance. (sources: [uefi]) - Backup partition metadata is not a backup of the files described by it. (sources: [uefi]) - CRC checks do not authenticate the metadata or establish which of two inconsistent copies is newer. (sources: [uefi], [linux]) Sources and caveats: - Format explanation and version-pinned parser source review; no firmware or damaged-drive recovery test. - Six deliberate synthetic GPT files exercised by four read-only commands in one installed environment; not firmware, boot, kernel-parser, repair or damaged-drive testing. Related terms: - [protective-mbr](https://hesela.dev/terms/protective-mbr/) - [partition-type-guid](https://hesela.dev/terms/partition-type-guid/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [checksum](https://hesela.dev/terms/checksum/) - [ddrescue-mapfile](https://hesela.dev/terms/ddrescue-mapfile/) - [unique-partition-guid](https://hesela.dev/terms/unique-partition-guid/) - [disk-partition](https://hesela.dev/terms/disk-partition/) Citations: - [uefi] UEFI 2.10, chapter 5: GPT layout, headers and partition entries. https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html (accessed 2026-10-21) - [linux] Linux v6.18 GPT parsing: is_gpt_valid and compare_gpts. https://raw.githubusercontent.com/torvalds/linux/v6.18/block/partitions/efi.c (accessed 2026-10-21) - [native] Hesela: 24 native GPT parser observations, method and version scope. https://hesela.com/analyses/ddrescue-image-provenance/#gpt-parser-observations (accessed 2026-10-21) ### Gzip URL: https://hesela.dev/terms/gzip/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: GZIP, .gz Status: shipping Record updated: 2026-12-02 Gzip is a lossless compressed-file format whose file consists of a sequence of members, each carrying a compressed data stream and a trailer with CRC32 and uncompressed size modulo 2^32. Note: A member is a compression unit, not a TAR entry or full recovery object. Removing one can leave valid but incomplete input. Python gzip handles concatenation; zlib inflate stops at a member boundary and leaves continuation to its caller. Method 8 is DEFLATE, not a zlib wrapper. [rfc1952] [python-gzip] [zlib-v13] [rfc1951] CPython 3.12.3/zlib 1.3 controls returned expected bytes before EOF exposed a bad trailer; close did not finish validation. decompressobj plus flush returned bytes with eof false. unused_data marks post-stream input, not validation success. [python-zlib] [hesela-gzip] Data CRC32 excludes headers. Optional FHCRC is the low 16 header-CRC bits; RFC 1952 permits skipping it but requires rejection of reserved flag bits. Tested Python accepted stale FHCRC and reserved flags rejected by zlib 1.3 and GNU gzip 1.12. Resealing a name change restored acceptance, not identity. [rfc1952] [cpython-gzip] [zlib-header-inflate] [hesela-gzip-header] Native gzread accepts plain input and ignores trailing non-gzip material. Read failure can precede successful close; zero read can accompany truncation reported by gzerror and close. Preserve read and terminal errors. [zlib-v13] [hesela-gzip-header] Tested GNU 1.14 lists aggregate decoded size but the last member's CRC; 1.12 lists last-member size. GNU 1.11 can report unknown sizes on a pipe despite exit zero. Modern listing performs decompression; it is not a free output-budget check. Full intended length and identity need separate expectations. [gnu-gzip-114] [hesela-gzip-list] Matching version labels do not identify interpreter or library binaries. Replay separates changed outcomes from changed environment metadata; agreement on tested inputs is not independent replication. [hesela-gzip-replay] Limitations: - Complete gzip validation does not establish coverage of the decoded container. Concatenated gzip members can decode to separately terminated TARs, whose default reader stops after the first. (sources: [hesela-tar-boundary]) Sources and caveats: - Primary-source synthesis plus seven synthetic fixtures, not field reliability evidence. No third-party payload or source code redistributed. - Reproduction: https://hesela.dev/research/gzip-read-coverage.py ; observations: https://hesela.dev/research/gzip-read-coverage.json . Python standard library only; caller-returned bytes, not physical I/O. - Header/flag experiment: https://hesela.dev/research/gzip-header-contract.zip . Original 2026-10-22 captures retained; 2026-11-09 same-host replay matches fixtures and outcomes with kernel/libz-binary drift recorded separately. No independent review or field-rate claim. - GNU listing controls: https://hesela.dev/research/gzip-list-evidence/reproduction.zip . Three versions, eleven synthetic fixtures, three input modes; same-host replay, not independent peer replication. Related terms: - [archive-member](https://hesela.dev/terms/archive-member/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [checksum](https://hesela.dev/terms/checksum/) - [zstandard](https://hesela.dev/terms/zstandard/) - [restore-test](https://hesela.dev/terms/restore-test/) - [bgzf](https://hesela.dev/terms/bgzf/) - [deflate](https://hesela.dev/terms/deflate/) Citations: - [rfc1952] RFC 1952: GZIP file format specification 4.3, sections 2.2, 2.3.1 and 2.3.1.2. https://www.rfc-editor.org/rfc/rfc1952.html (accessed 2026-11-09) - [python-gzip] Python 3.12 gzip documentation: multi-member decompression and errors. https://docs.python.org/3.12/library/gzip.html (accessed 2026-10-18) - [python-zlib] Python 3.12 zlib documentation: eof, unused_data and unconsumed_tail. https://docs.python.org/3.12/library/zlib.html (accessed 2026-10-18) - [cpython-gzip] CPython v3.12.3 gzip.py: GzipFile.close and _GzipReader._read_eof. https://raw.githubusercontent.com/python/cpython/v3.12.3/Lib/gzip.py (accessed 2026-11-09) - [zlib-v13] zlib v1.3 public interface: inflate stops at a gzip member boundary. https://raw.githubusercontent.com/madler/zlib/v1.3/zlib.h (accessed 2026-11-09) - [hesela-gzip] Hesela: 42 gzip API operations distinguish trailer checks, member completion and expected content. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#gzip-coverage (accessed 2026-10-18) - [hesela-tar-boundary] Hesela: TAR boundaries after complete gzip validation, 48 reader observations. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#tar-boundary (accessed 2026-10-21) - [zlib-header-inflate] zlib v1.3 inflate.c: FLAGS and HCRC checks. https://raw.githubusercontent.com/madler/zlib/v1.3/inflate.c (accessed 2026-11-09) - [hesela-gzip-header] Hesela: gzip header checks and native reader status, 238 designed observations. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#gzip-header-validation (accessed 2026-11-09) - [rfc1951] RFC 1951: DEFLATE format, sections 2 and 3.2-3.3 (Informational, May 1996). https://www.rfc-editor.org/rfc/rfc1951.html (accessed 2026-11-11) - [gnu-gzip-114] GNU gzip 1.14 release: multi-member listing fix (9 April 2025). https://lists.gnu.org/archive/html/info-gnu/2025-04/msg00007.html (accessed 2026-11-28) - [hesela-gzip-list] Hesela: gzip listing size and CRC scope, 99 version/input observations. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#gzip-listing (accessed 2026-11-28) - [hesela-gzip-replay] Hesela: gzip replay separates experimental outcomes from environment identity. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#gzip-replay-environment (accessed 2026-12-02) ### Hamming distance URL: https://hesela.dev/terms/hamming-distance/ Related analysis: https://hesela.com/analyses/crc-polynomials-error-patterns/ Also known as: Hamming metric Status: shipping Record updated: 2026-11-29 Hamming distance counts the symbol positions in which two equal-length sequences differ. Note: For a binary code, minimum distance is the smallest number of bit inversions separating any two distinct codewords; it defines a guaranteed detection bound, not an observed error rate. A code with distance HD detects every pattern of up to HD-1 inverted bits, so HD=6 rules out undetected 1- to 5-bit errors. [koopman04] For a fixed CRC polynomial, minimum distance can decrease as the data word grows. The IEEE 802.3 CRC-32 polynomial gives HD of at least 8 up to 91 data bits, HD=7 to 171 bits, HD=6 to 268 bits, HD=5 to 2974 bits, HD=4 to 91,607 bits and HD=3 to at least 128K bits. [koopman02] At a 12,112-bit data word, the size used for a maximum-length Ethernet frame, the same polynomial detects all 2- and 3-bit errors but misses 223,059 of about 906 x 10^12 possible 4-bit errors across the 12,144-bit codeword. [koopman02] Let n count codeword bits including the CRC, and A_w count undetectable masks with exactly w flipped positions. For 1 <= w <= n, the fraction A_w / C(n,w) applies to uniformly selected weight-w masks; it does not depend on the bit-flip probability. Overall undetected-corruption probability additionally requires an error model. [rfc3385] [koopman02] Advantages: - Gives a worst-case guarantee that holds for every error pattern below the distance, wherever the inverted bits fall. (sources: [koopman04]) Limitations: - A distance holds only for a stated data word length, so one polynomial has different distances at different message sizes. (sources: [koopman02]) - Full-codeword pattern counts include changes to CRC bits; a model restricted to data positions must restrict both its undetectable-mask count and its denominator. (sources: [koopman02]) Sources and caveats: - koopman04 is Koopman and Chakravarty, DSN 2004, read in sections 2 to 4. - koopman02 is Koopman, DSN 2002, read in sections 1 to 3 and Table 1. - The 802.3 lengths 91, 268, 2974 and 91,607 bits, 12,112 and 12,144 bits, 223,059 and 906 x 10^12 come from koopman02. - The fixed-weight fraction follows by conditioning RFC 3385 section 3 on exactly w flips. The DSN 2002 count includes CRC bits and is not a measured storage error rate. Related terms: - [flip-n-write](https://hesela.dev/terms/flip-n-write/) - [cyclic-redundancy-check](https://hesela.dev/terms/cyclic-redundancy-check/) - [crc32c](https://hesela.dev/terms/crc32c/) - [crc-burst-error](https://hesela.dev/terms/crc-burst-error/) - [error-and-erasure-decoding](https://hesela.dev/terms/error-and-erasure-decoding/) - [interleaved-parity](https://hesela.dev/terms/interleaved-parity/) - [stopping-distance](https://hesela.dev/terms/stopping-distance/) Citations: - [koopman04] Koopman and Chakravarty. CRC Polynomial Selection For Embedded Networks. DSN 2004, sections 2-4. https://users.ece.cmu.edu/~koopman/roses/dsn04/koopman04_crc_poly_embedded.pdf (accessed 2026-10-22) - [hesela-crc] Hesela: CRC polynomials, constructed error patterns and exact small-code enumeration. https://hesela.com/analyses/crc-polynomials-error-patterns/ (accessed 2026-10-18) - [koopman02] Koopman. 32-Bit Cyclic Redundancy Codes for Internet Applications. DSN 2002, sections 1-3. https://users.ece.cmu.edu/~koopman/networks/dsn02/dsn02_koopman.pdf (accessed 2026-10-22) - [rfc3385] Sheinwald et al. RFC 3385: iSCSI CRC/Checksum Considerations, sections 2-3 (2002). https://www.rfc-editor.org/rfc/rfc3385.html (accessed 2026-10-27) ### HAMR thermal gradient URL: https://hesela.dev/terms/hamr-thermal-gradient/ Related article: https://hesela.com/tech/hamr/ Also known as: HAMR temperature gradient Status: research Record updated: 2026-10-16 A HAMR thermal gradient is the spatial rate of temperature change in the recording medium along a specified direction. Note: A gradient in K/nm is not a cooling rate in K/s; location, direction and the moving heat profile matter [hosen-gradient-2023]. A sharper profile does not by itself guarantee successful switching: pulse duration and field also matter, as illustrated by isolated-grain simulations with spatially uniform heating [meo-multiscale-2020]. Those simulations test temporal dynamics, not a measured full-track spatial-gradient optimization. Related terms: - [hamr](https://hesela.dev/terms/hamr/) - [curie-temperature-distribution](https://hesela.dev/terms/curie-temperature-distribution/) - [transition-jitter](https://hesela.dev/terms/transition-jitter/) Citations: - [hosen-gradient-2023] Hosen and Victora: Impact of Curie Temperature Distribution and Anisotropy Field Distribution on the User Density of HAMR Under Different Thermal Gradients, IEEE Transactions on Magnetics 59(11), 3201005 (2023), doi:10.1109/TMAG.2023.3287829; institutional abstract only. https://experts.umn.edu/en/publications/impact-of-curie-temperature-distribution-and-anisotropy-field-dis (accessed 2026-10-16) - [meo-multiscale-2020] Meo et al.: Magnetisation dynamics of granular HAMR media by means of a multiscale model, arXiv:2004.13345v1 (2020); sections II.2 and III.2, Figures 2-4. https://arxiv.org/html/2004.13345v1 (accessed 2026-10-16) ### Heat-assisted magnetic recording (HAMR) URL: https://hesela.dev/terms/hamr/ Technology reference: https://hesela.com/tech/hamr/ Also known as: HAMR Status: shipping Record updated: 2026-11-06 Heat-assisted magnetic recording uses localized optical heating to enable magnetic writing of high-anisotropy HDD media. Note: HAMR is one form of energy-assisted recording, not a synonym for the whole family. The laser, waveguide and NFT assist a magnetic writer; optical-transfer measurements on prototype heads demonstrate that the surrounding medium affects the response [optical-transfer-2018]. Optical heating temporarily lowers media coercivity, a field-strength quantity rather than the anisotropy energy density or a retention-time estimate [tdk-hamr-coercivity]. Limitations: - Component studies do not establish comparative fleet reliability. Sources and caveats: - Seagate reported 20 TB HAMR shipments in calendar 2020 [seagate-hamr-2020]. Its 17 January 2024 Mozaic 3+ launch described a later 30 TB-plus volume ramp, with some customer qualification still pending [seagate-mozaic3-2024]. - On 3 March 2026 Seagate reported Mozaic 4+ qualification and production with two hyperscale providers, supporting up to 44 TB [seagate-mozaic4-2026]. This does not imply universal availability. - The firstSeen field is unset because invention, demonstration and shipment are different events. Related terms: - [mamr](https://hesela.dev/terms/mamr/) - [pmr](https://hesela.dev/terms/pmr/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [helium-hdd](https://hesela.dev/terms/helium-hdd/) - [areal-density](https://hesela.dev/terms/areal-density/) - [near-field-transducer](https://hesela.dev/terms/near-field-transducer/) - [thermal-writability](https://hesela.dev/terms/thermal-writability/) - [superparamagnetic-limit](https://hesela.dev/terms/superparamagnetic-limit/) - [curie-temperature-distribution](https://hesela.dev/terms/curie-temperature-distribution/) - [hamr-thermal-gradient](https://hesela.dev/terms/hamr-thermal-gradient/) - [transition-jitter](https://hesela.dev/terms/transition-jitter/) - [magnetic-anisotropy](https://hesela.dev/terms/magnetic-anisotropy/) - [magnetic-recording-trilemma](https://hesela.dev/terms/magnetic-recording-trilemma/) - [magnetic-coercivity](https://hesela.dev/terms/magnetic-coercivity/) Citations: - [optical-transfer-2018] Visualizing the bidirectional optical transfer function for near-field enhancement in waveguide coupled plasmonic transducers (2018); Figures 2-3 and Methods. https://www.nature.com/articles/s41598-018-24061-3 (accessed 2026-10-16) - [seagate-mozaic4-2026] Seagate: Mozaic 4+ qualification and production announcement, 3 March 2026 (vendor claim). https://www.seagate.com/stories/articles/seagate-delivers-industrys-highest-capacity-hard-drives-with-next-generation-mozaic-4/ (accessed 2026-10-16) - [seagate-hamr-2020] Seagate fiscal Q2 2021 results, 21 January 2021: calendar-2020 HAMR shipments. https://investors.seagate.com/news/news-details/2021/Seagate-Technology-Reports-Fiscal-Second-Quarter-2021-Financial-Results/default.aspx (accessed 2026-10-23) - [seagate-mozaic3-2024] Seagate Mozaic 3+ launch, 17 January 2024: volume ramp and qualification scope. https://investors.seagate.com/news/news-details/2024/Seagates-Breakthrough-30TB-Hard-Drives-Ramp-Volume-Marking-an-Inflection-Point-in-the-Storage-Industry/default.aspx (accessed 2026-10-23) - [tdk-hamr-coercivity] TDK Headway: Technologies, HAMR discussion of optical heating and media coercivity. https://www.headway.tdk.com/technologies.html (accessed 2026-11-06) ### Happened-before relation URL: https://hesela.dev/terms/happened-before/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Happens-before relation, Causal precedence Status: unknown Record updated: 2026-11-16 The happened-before relation is a strict partial order generated by process-local event order, message sending before receipt, and transitivity. Note: Concurrency means neither event precedes the other, not that they occur simultaneously. The relation describes potential influence within the modeled communication, not proof that one event changed another's value. [lamport-clocks] In COPS, storage dependencies include client program order and reading a value written by another operation. Its model assumes inter-thread communication passes through the store; dependencies carried outside that model require separate treatment. [cops-clocks] The chosen event boundary matters: message arrival and execution of its interrupt handler need not have the same ordering. Declare which event is timestamped when interpreting a trace. [lamport-clocks] Sources and caveats: - Lamport 1978, printed p. 559: event relation and concurrency; p. 562: communication outside the modeled system. - COPS 2011, section 3: storage-operation dependency relation and communication assumption. This record concerns distributed events, not a language-specific memory-model definition. Related terms: - [lamport-clock](https://hesela.dev/terms/lamport-clock/) - [causal-consistency](https://hesela.dev/terms/causal-consistency/) - [session-guarantees](https://hesela.dev/terms/session-guarantees/) - [consistent-cut](https://hesela.dev/terms/consistent-cut/) Citations: - [lamport-clocks] Leslie Lamport. Time, Clocks, and the Ordering of Events in a Distributed System. Communications of the ACM 21(7), 558-565, July 1978; pp. 559-562. https://lamport.azurewebsites.net/pubs/time-clocks.pdf (accessed 2026-11-10) - [cops-clocks] Lloyd et al. Don't Settle for Eventual: Scalable Causal Consistency for Wide-Area Storage with COPS. SOSP 2011, sections 3, 4.4 and 5.3. https://www.cs.cmu.edu/~dga/papers/cops-sosp2011.pdf (accessed 2026-11-10) ### Hard link URL: https://hesela.dev/terms/hard-link/ Also known as: hardlink Status: shipping Record updated: 2026-11-16 A hard link is a directory entry naming an existing file's inode, so multiple hard links refer to the same file rather than to separate copies. Note: On Linux, link() creates another name without overwriting an existing destination and cannot cross mounted-filesystem boundaries. In-place writes through either name modify the shared file; replacing one name with rename() instead rebinds that name and leaves the other hard links attached to their original inode. Removing one link does not remove the other names. Separate open() calls through these names still create separate open file descriptions. Backup boundary: permission bits also belong to the shared file. In eight local rsync 3.2.7 schedules, rerunning archive mode into an existing hard-linked destination changed the older copy's mode from 0600 to 0644 without --inplace, including with --checksum. Copying into an empty destination isolated this mode change; skipping existing files left their permissions stale. These observations do not establish crash durability. [rsync-evidence] GNU tar --hard-dereference stores each hard-linked name as a regular payload entry. With normalized metadata, a controlled archive from shared source files was byte-identical to one from independent equal-content files. Full extraction restored correct bytes but lost the original sharing relation. Per-path hashes cannot establish that relationship; recovery acceptance must specify whether it matters. [tar-hard-links] [hesela-hardlink-selection] Restore topology: rsync 3.2.7/3.4.1 controls retained extra aliases with -aHc and imported them with --link-dest. Selecting a could pass hashes, sizes, modes, mtimes, counts and selected groups with the wrong external peer; selecting a and b repaired their pair but retained that alias. Later writes exposed coupling. [rsync-topology-manual] [hesela-rsync-topology] [hesela-rsync-selection] Advantages: - Provides another name for the same file without copying its contents. Limitations: - Shared file contents mean a hard link is not an independent backup. - Linux link() rejects directories and links across mounted filesystems. Sources and caveats: - Rsync evidence uses constructed files and complete byte/mode comparisons on one Linux host; it is not a production failure-rate estimate. - Five synthetic USTAR fixtures, eleven operations per fixture, CPython 3.12.3 and 3.12.15 with one GNU tar 1.35 binary. Exact payload and live device/inode comparisons; not independent reliability samples. https://hesela.dev/research/tar-hardlink-selection/observation-system.json - Topology and selected-restore studies retain separate sets of 320 invocations: synthetic quiescent files on one Linux/ext4 host and two rsync builds, not failure-rate samples. - Size, mode and mtime only; no concurrent, open-handle, bind-mount, media-independence, crash or application-recovery claim. - Immutable evidence and historical candidate-status context: https://hesela.dev/research/rsync-topology-20261023/PUBLICATION.md Related terms: - [o-tmpfile](https://hesela.dev/terms/o-tmpfile/) - [inode](https://hesela.dev/terms/inode/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [unlink](https://hesela.dev/terms/unlink/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [archive-member](https://hesela.dev/terms/archive-member/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [symbolic-link](https://hesela.dev/terms/symbolic-link/) - [path-resolution](https://hesela.dev/terms/path-resolution/) - [link-count](https://hesela.dev/terms/link-count/) - [extended-attribute](https://hesela.dev/terms/extended-attribute/) Citations: - [linux-link-2] Linux man-pages 6.19: link(2). https://man7.org/linux/man-pages/man2/link.2.html (accessed 2026-10-15) - [linux-rename-2] Linux man-pages 6.19: rename(2). https://man7.org/linux/man-pages/man2/rename.2.html (accessed 2026-10-15) - [linux-open-2] Linux man-pages 6.19: open(2). https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-15) - [hesela-namespace] Hesela: The name changes; existing readers do not. https://hesela.com/analyses/atomic-rename-directory-durability/#namespace-identity (accessed 2026-10-15) - [rsync-evidence] Hesela: measured rsync selection and hard-link backup boundaries. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#rsync-hardlink-evidence (accessed 2026-10-17) - [tar-hard-links] GNU tar 1.35: Hard Links. https://www.gnu.org/software/tar/manual/html_node/hard-links.html (accessed 2026-10-22) - [hesela-hardlink-selection] Hesela: selected TAR hard-link restore, complete observations and reproduction. https://hesela.dev/research/tar-hardlink-selection/README.md (accessed 2026-10-22) - [rsync-topology-manual] Rsync pinned upstream manual: hard-link transfer-set and destination-pattern limits. https://github.com/RsyncProject/rsync/blob/3305a7a063ab0167cab5bf7029da53abaa9fdb6e/rsync.1.md (accessed 2026-10-23) - [hesela-rsync-topology] Hesela: restoring names is not restoring file relationships. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#rsync-topology (accessed 2026-10-23) - [hesela-rsync-selection] Hesela: selected rsync restores, retained observations and reproduction. https://hesela.dev/research/rsync-topology-20261023/selection/README.md (accessed 2026-10-23) ### Hard patch (Featherstitch) URL: https://hesela.dev/terms/hard-patch/ Also known as: Featherstitch hard patch Status: research Record updated: 2026-12-01 A hard patch is a Featherstitch filesystem change represented without undo data after establishing that rollback will not be needed. Note: It still obeys persistence dependencies. The design bounds future dependency changes; simply finding no block-level cycle in today's graph is insufficient. Hard patches on one block can be merged. [featherstitch2007] The linked analysis gives a checked three-change counterexample to discarding undo data indiscriminately. [hesela-hard-patch] Overlap merging can combine soft patches too; it does not automatically eliminate the combined patch's need for undo data. [featherstitch2007] Sources and caveats: - Primary-source review and a constructed counterexample, not a historical-system execution or memory benchmark. Related terms: - [featherstitch](https://hesela.dev/terms/featherstitch/) - [metadata-update-dependency](https://hesela.dev/terms/metadata-update-dependency/) - [patchgroup](https://hesela.dev/terms/patchgroup/) Citations: - [featherstitch2007] Frost et al. Generalized File System Dependencies. SOSP 2007, sections 4.1-4.3 and Figure 4. https://read.seas.harvard.edu/~kohler/pubs/frost07generalized.pdf (accessed 2026-12-01) - [hesela-hard-patch] Hesela: When can undo data be omitted? https://hesela.com/analyses/soft-updates-metadata-ordering/#hard-patches (accessed 2026-11-29) ### Harmonia URL: https://hesela.dev/terms/harmonia/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: Harmonia in-network conflict detection Status: research Record updated: 2026-11-09 Harmonia is a replicated-storage research architecture that uses a programmable switch to detect read-write conflicts and route eligible reads to individual replicas. Note: Absence from the dirty set is insufficient. The recipient also checks progress against the read's commit stamp. Read-ahead and read-behind integrations use opposite comparison directions. [harmonia-paper] The design requires one active scheduler and ordered writes; an untrackable write is dropped rather than forwarded unseen. It is not a generic load-balancer configuration. [harmonia-paper] Hesela's six synthetic witnesses isolate the receiver predicates; they do not reproduce a cluster or prove protocol correctness. [hesela-witness] Sources and caveats: - Primary-source review; original predicate examples, not hardware or distributed-protocol validation. Related terms: - [craq](https://hesela.dev/terms/craq/) - [chain-replication](https://hesela.dev/terms/chain-replication/) - [linearizability](https://hesela.dev/terms/linearizability/) Citations: - [harmonia-paper] Hang Zhu et al.: Harmonia, PVLDB 13(3), 375-388 (2019), sections 6-8; DOI 10.14778/3368289.3368301. https://www.microsoft.com/en-us/research/wp-content/uploads/2020/05/harmonia-vldb20.pdf (accessed 2026-11-09) - [hesela-witness] Hesela: synthetic receiver-predicate inputs, outputs and code hash. https://hesela.dev/research/harmonia/results.json (accessed 2026-11-09) - [hesela-replication] Hesela: a clean routing decision can expire in transit. https://hesela.com/analyses/replication-acknowledgements-durability-lag/#harmonia (accessed 2026-11-09) ### Harmonic mean URL: https://hesela.dev/terms/harmonic-mean/ Status: research Record updated: 2026-11-19 The harmonic mean of positive values is their count divided by the sum of their reciprocals. Note: For n positive values x_i, H = n / sum(1/x_i); the result has the same units as the observations. A weighted harmonic mean is sum(w_i) / sum(w_i/x_i) for positive weights. State the population and weights rather than choosing a mean from the unit alone. [nist-harmonic] [python-harmonic] For sequential, nonoverlapping transfers with matching byte accounting, aggregate throughput is total bytes / total elapsed time. Equal byte volumes make this the unweighted harmonic mean of phase rates; unequal volumes require byte weights. Equal durations instead give the arithmetic mean. Concurrent jobs require their common wall-clock interval, not summed overlapping durations. [python-harmonic] [hesela-means] In a constructed example, 1000 MB at 100 MB/s takes 10 s and 1000 MB at 400 MB/s takes 2.5 s: 2000 MB / 12.5 s = 160 MB/s. Ten seconds at each rate instead gives 5000 MB / 20 s = 250 MB/s. MB means 1000000 bytes; these are accounting assumptions, not measured SSD performance. Include stalls in the elapsed interval when reporting end-to-end throughput. [hesela-means] Related terms: - [geometric-mean](https://hesela.dev/terms/geometric-mean/) - [throughput-storage](https://hesela.dev/terms/throughput-storage/) Citations: - [nist-harmonic] NIST Dataplot: Harmonic Mean, reciprocal-mean definition. https://itl.nist.gov/div898/software/dataplot/refman2/auxillar/harmmean.htm (accessed 2026-11-19) - [python-harmonic] Python statistics: harmonic_mean, equal-distance and weighted rate examples. https://docs.python.org/3/library/statistics.html#statistics.harmonic_mean (accessed 2026-11-19) - [hesela-means] Hesela: exact synthetic rate and benchmark-ratio examples, executable module. https://hesela.com/research/means/model.mjs (accessed 2026-11-19) ### Hash Challenges URL: https://hesela.dev/terms/hash-challenges/ Also known as: Hash Challenges deduplication protocol Status: research Record updated: 2026-12-04 Hash Challenges is a deduplication protocol that sends short hash prefixes to find candidates, then checks their remaining digest bytes before reusing chunks. Note: The sender transmits a prefix; the receiver returns suffixes for matching candidates. The sender confirms a full-digest match or rejects the candidate and supplies missing content. Prefix equality alone never authorizes reuse. [hc2012] The 2012 evaluation used source-tree snapshots, five measured runs after a cold start, SHA-1 digests and 28-bit challenges. Its reported savings concern that experiment, not modern storage fleets. SHA-1 is a historical choice, not a current security recommendation. [hc2012] [nist-hashes] For one absent query and M distinct unrelated chunks, independent uniform b-bit prefixes give expected candidate count M/2^b, but probability of any candidate 1-(1-2^-b)^M. With M=3 and b=2 these are 3/4 and 37/64. They are not an archive-wide birthday probability or a data-loss rate. The executable example uses constructed digests, not measured collisions. [hesela-hc] Traffic accounting: every candidate also requires a forward offset or rejection field. In a stated 100,000-query scenario, four-byte prefixes minimize total bytes but three-byte prefixes minimize serialized link service across widths 1-8. This is an analytical scenario, not measured transfer time. [hesela-hc] Limitations: - Shorter prefixes reduce outgoing hash bytes but increase candidate responses; the useful width depends on receiver population and traffic costs. (sources: [hc2012]) - Full-digest comparison retains the chosen hash function's collision assumptions; it is not byte-by-byte equality or proof of possession. (sources: [hc2012], [nist-hashes]) Sources and caveats: - Source synthesis plus a synthetic counting example; no implementation benchmark or reproduction of the paper's transfer-time results. - Protocol and evaluation: paper sections 2-3 and Appendix A. Model assumptions, code and tests: https://hesela.dev/research/hash-challenges/README.md - Directional traffic uses a deduplicated M-chunk inventory with one true match when present. Framing, retries, caps and processing are excluded; link service is not completion time. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [birthday-bound](https://hesela.dev/terms/birthday-bound/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [proof-of-ownership](https://hesela.dev/terms/proof-of-ownership/) Citations: - [hc2012] Barreto, Veiga and Ferreira. Hash challenges. Information Processing Letters 112(10), 380-385 (2012). DOI 10.1016/j.ipl.2012.01.012; sections 2-3. https://www.dpss.inesc-id.pt/~lveiga/prosopon/pubs/32-ipl-hash-challenges.pdf (accessed 2026-12-04) - [nist-hashes] NIST CSRC: Hash Functions, SHA-1 transition and security properties. https://csrc.nist.gov/projects/hash-functions (accessed 2026-12-04) - [hesela-hc] Hesela: hash-prefix counting and directional traffic budgets, assumptions and executable tests. https://hesela.dev/research/hash-challenges/README.md (accessed 2026-12-04) ### Hash collision URL: https://hesela.dev/terms/hash-collision/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Digest collision Status: shipping Record updated: 2026-11-20 A hash collision occurs when two distinct inputs produce the same hash value under the same function and parameters. Note: A table bucket can collide even when the full hash values differ. Reducing the values modulo the bucket count can merge them. Chained tables compare stored keys to distinguish candidates. This indexing problem differs from an attack on a cryptographic digest. [thorup] Hashing identical bytes twice is not a collision. Finding any colliding pair differs from finding a replacement for an already specified original, which is a second-preimage problem. [nist-collision] [nist-second-preimage] The ideal collision-resistance strength of an L-bit cryptographic hash is L/2 bits, so SHA-256 offers 128 bits against collisions but 256 bits against preimages, while SHA-1 may fall considerably below its expected 80 bits. Truncating a digest to a shorter length lowers that strength to half the truncated length, which leaves 48 bits for a 96-bit truncated SHA-256 value. [sp800-107] [nist-hash-functions] The first published collision for full SHA-1 required work equivalent to 2^63.1 SHA-1 compressions, about 6,500 CPU years and 100 GPU years, and produced two distinct PDF documents with one digest. [shattered] Fletcher-4 supplies a concrete non-cryptographic contrast: in a pinned OpenZFS scalar-function study, [0,4,0,4,0] and [1,0,6,0,1] share the result [8,24,52,96], with six changed bits and different SHA-256 file digests. Their signed difference cancels all four position moments. The fixed original reference is not replaced. This is not a cryptographic-hash collision, minimum-distance proof, mounted-pool experiment or measured hardware failure probability. [fletcher4-code] [fletcher4-packet] Advantages: - Collision strength is tabulated per approved function, so a digest can be chosen for a target strength, for example 192 bits for SHA-384 and SHA3-384 or 256 bits for SHA-512 and SHA3-512. (sources: [nist-hash-functions]) Limitations: - Collision resistance concerns the difficulty of finding colliding inputs, not an assertion that every input has a unique digest. (sources: [nist-hash]) - CRC undetected-error probabilities require a stated error model and cannot be treated as universal device failure rates. (sources: [rfc3385]) - Digital signatures depend on collision resistance, and SHA-1 was disallowed for signature generation at the end of 2013, with a plan to end its remaining uses published in December 2022. (sources: [nist-hash-functions]) - An application that needs a given collision strength from a truncated digest must keep at least twice that many output bits. (sources: [sp800-107]) Sources and caveats: - sp800-107 is NIST SP 800-107 Revision 1, read in sections 4.1, 4.2 and 5.1 for collision-resistance strength and truncation. - nist-hash-functions is the NIST CSRC hash functions project page, read for the security-strength table and SHA-1 transition history. - shattered is the 2017 paper on the first full SHA-1 collision, read in the abstract and introduction for the work estimate. - nist-collision and nist-second-preimage are glossary entries kept for the distinction between collisions and second preimages. - nist-hash and rfc3385 were not re-read and are kept only for the existing limitations. - Fletcher-4: nine constructed configurations, pinned scalar functions and a fixed reference. No mounted pool, field-rate estimate or independent peer replication. https://hesela.dev/research/fletcher4/results.json - Fletcher-4 source pins, licensing and claim limits: https://hesela.dev/research/fletcher4/sources.json Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [deduplication](https://hesela.dev/terms/deduplication/) - [rateless-iblt](https://hesela.dev/terms/rateless-iblt/) - [minimal-perfect-hash-function](https://hesela.dev/terms/minimal-perfect-hash-function/) - [universal-hashing](https://hesela.dev/terms/universal-hashing/) - [postgresql-hash-index](https://hesela.dev/terms/postgresql-hash-index/) - [birthday-bound](https://hesela.dev/terms/birthday-bound/) Citations: - [nist-collision] NIST CSRC glossary: collision. https://csrc.nist.gov/glossary/term/collision (accessed 2026-10-12) - [nist-second-preimage] NIST CSRC glossary: second preimage resistance. https://csrc.nist.gov/glossary/term/second_preimage_resistance (accessed 2026-10-12) - [nist-hash] NIST CSRC glossary: cryptographic hash function and security properties. https://csrc.nist.gov/glossary/term/cryptographic_hash_function (accessed 2026-10-12) - [rfc3385] RFC 3385: iSCSI CRC/Checksum Considerations, sections 1-2 and 10 (historical error-model analysis). https://www.rfc-editor.org/rfc/rfc3385.html (accessed 2026-10-12) - [hesela-integrity] Hesela: Why a valid checksum can still return the wrong data. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-10-12) - [sp800-107] Dang. NIST SP 800-107 Revision 1: Recommendation for Applications Using Approved Hash Algorithms (August 2012), sections 4.1-5.1. https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-107r1.pdf (accessed 2026-10-23) - [nist-hash-functions] NIST CSRC: Hash Functions project page, approved algorithms and security strengths. https://csrc.nist.gov/projects/hash-functions (accessed 2026-10-23) - [shattered] Stevens, Bursztein, Karpman, Albertini and Markov. The first collision for full SHA-1. CRYPTO 2017, abstract and section 1. https://shattered.io/static/shattered.pdf (accessed 2026-10-23) - [thorup] Thorup. High Speed Hashing for Integers and Strings. arXiv:1504.06804v9 (2020), sections 2, 2.1, 3 and 6. https://arxiv.org/pdf/1504.06804v9 (accessed 2026-11-10) - [fletcher4-code] OpenZFS zfs-2.3.4: pinned scalar Fletcher-4 functions and overflow arithmetic. https://github.com/openzfs/zfs/blob/34f96a15c73eab27dd6ad17bb5f1263bf26e37d7/module/zcommon/zfs_fletcher.c (accessed 2026-11-15) - [fletcher4-packet] Hesela: pinned Fletcher-4 scalar study, exact results, controls and offline replay (synthetic algorithm fixtures). https://hesela.dev/research/fletcher4/reproduce.zip (accessed 2026-11-15) ### Hash domain separation URL: https://hesela.dev/terms/hash-domain-separation/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Domain-separated hashing Status: shipping Record updated: 2026-10-22 Hash domain separation encodes an input's role or context so distinct uses of a hash function do not share the same input representation. Note: RFC 9162 distinguishes Merkle leaves and internal nodes with different initial bytes. This prevents a leaf from reusing the exact input encoding of a parent node. [rfc9162] Hesela's two-entry example demonstrates the untagged ambiguity without finding a SHA-256 collision. It also checks the independently trusted entry count; this is an educational construction, not a CT or storage-product exploit. [hesela-example] A shared role label does not separate variable-length fields inside one input. In Hesela's HMAC example, two distinct numeric pairs have the same concatenated bytes; an ordered tuple preserves their boundaries. Role separation and field framing solve different ambiguities. [hesela-framing] Limitations: - Role separation does not authenticate the root or establish freshness; serialization and the rest of the verification protocol still matter. (sources: [rfc9162]) Related terms: - [merkle-tree](https://hesela.dev/terms/merkle-tree/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [hmac](https://hesela.dev/terms/hmac/) - [message-authentication-code](https://hesela.dev/terms/message-authentication-code/) - [oblivious-prf](https://hesela.dev/terms/oblivious-prf/) Citations: - [rfc9162] RFC 9162: Certificate Transparency Version 2.0, sections 2.1.1 and 4.10. https://www.rfc-editor.org/rfc/rfc9162.html (accessed 2026-10-18) - [hesela-example] Hesela: Two trees, one root, no broken hash. https://hesela.com/analyses/checksums-identity-and-lost-writes/#merkle-domain-separation (accessed 2026-10-18) - [hesela-framing] Hesela: HMAC field-boundary counterexample and exact bytes. https://hesela.com/analyses/checksums-identity-and-lost-writes/#hmac-field-encoding (accessed 2026-10-22) ### HashCache URL: https://hesela.dev/terms/hashcache/ Also known as: HashCache-Basic, HashCache-SetMem, HashCache-Log Status: research Record updated: 2026-11-30 HashCache is a 2009 research cache storage engine whose indexing policies trade RAM use against disk lookup and write work. Note: Placement: Basic hashes object names to disk bins and checks full names before returning content. Colliding inserts replace occupants; even misses require disk access. Set adds associativity. SetMem keeps compact tags and replacement ranks in RAM, avoiding most miss reads when metadata is resident. Log adds offsets and generation state to support batched writes. [hashcache09] Memory scope: Zero index RAM does not mean zero process RAM. The proxy also uses buffers and a hot-object cache. The paper illustrates 11-bit SetMem and 47-bit Log entries; these are configuration-specific index budgets. [hashcache09] Worked budget: For an idealized 1 TiB payload budget with 8 KiB equal-size objects, 134217728 logical slots need 176 MiB at 11 bits each or 752 MiB at 47 bits. Halving object size doubles both totals. This packed-bit projection excludes allocation, table slack, disk metadata and other process memory; it is not a capacity or performance measurement. [budget-result] Evidence boundary: Evaluation used Polymix-4 and historical HDD systems. The large-drive experiment scattered 50 GB of data per drive rather than filling the drives. Neither that workload nor the reported throughput establishes modern SSD performance. [hashcache09] Sources and caveats: - Primary-paper review and a separate deterministic arithmetic example; no HashCache implementation or performance replication. Related terms: - [flashstore](https://hesela.dev/terms/flashstore/) - [skimpystash](https://hesela.dev/terms/skimpystash/) - [hash-collision](https://hesela.dev/terms/hash-collision/) Citations: - [hashcache09] Badam, Park, Pai and Peterson. HashCache: Cache Storage for the Next Billion. NSDI 2009, pp. 123-136; design, implementation and evaluation; Tables 3 and 9. https://www.usenix.org/legacy/event/nsdi09/tech/full_papers/badam/badam.pdf (accessed 2026-11-30) - [budget-result] Hesela: idealized packed-index budget results (CC0; not benchmark data). https://hesela.dev/research/hashcache-budget/result.json (accessed 2026-11-30) - [budget-code] Hesela: exact integer index-budget model (CC0). https://hesela.dev/research/hashcache-budget/model.mjs (accessed 2026-11-30) - [budget-tests] Hesela: index-budget regression tests (CC0). https://hesela.dev/research/hashcache-budget/model.test.mjs (accessed 2026-11-30) ### HashKV URL: https://hesela.dev/terms/hashkv/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Status: research Record updated: 2026-11-14 HashKV is a research key-value store that hashes keys into value-storage groups to localize update processing and garbage collection. Note: A segment group includes a main segment and overflow log segments. Cleaning reconstructs the latest versions from that group and the write cache, then updates relocated addresses in the LSM-tree. [hashkv-paper] Its hot/cold extension retains tags in the group and puts cold values in a separate log with vLog-style cleaning. Thus, avoiding group-validity lookups does not eliminate every index lookup or update. [hashkv-paper] Limitations: - The default evaluation disabled crash consistency, hotness awareness and selective separation. Its vLog baseline was the authors' own implementation, not a direct execution of the WiscKey artifact. (sources: [hashkv-paper]) Sources and caveats: - Historical source review; no independent throughput, durability or crash-recovery reproduction. Related terms: - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [value-log](https://hesela.dev/terms/value-log/) - [wisckey](https://hesela.dev/terms/wisckey/) Citations: - [hashkv-paper] Chan, Li, Lee and Xu. HashKV: Enabling Efficient Updates in KV Storage via Hashing. USENIX ATC 2018, pp. 1007-1019, sections 3.2-3.4 and 4.1. https://files.usenix.org/s3fs-public/cdn/atc18-chan.pdf (accessed 2026-11-14) - [hesela-kv] Hesela: key-value separation and cleaning authority. https://hesela.com/analyses/key-value-separation-cleaning-cost/#cleaning-authority (accessed 2026-11-14) ### Haystack URL: https://hesela.dev/terms/haystack/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Also known as: Haystack photo store Status: unknown Record updated: 2026-11-29 Haystack is an object-storage design that packs photo records into large volume files and locates them through compact in-memory mappings. Note: Layout: A stored record is a needle. Replacing an image appends another needle; the highest offset identifies the latest version only within the same physical volume. [paper] Recovery: The index file accelerates restart but is updated asynchronously. Startup scans trailing needles missing from the index. The paper's index-record Flags field is unused; deletion state is checked in the volume's needle, not refreshed by replaying that index. After restart, reads must inspect the stored delete flag. [paper] Reclamation: Deletion marks a record; compaction copies retained records into a replacement file. Marking deletion alone does not recover its occupied space. [engineering] During compaction, deletes reach both files; at the final switch, modifications are blocked and files and mappings are swapped atomically. [paper] I/O boundary: Avoiding metadata reads does not guarantee one physical disk operation per image. Extent and RAID boundaries can require more. Count application reads and device operations separately. [paper] Sources and caveats: - Historical architecture described in 2009 and 2010; current deployment status is unknown. Source synthesis, not a Haystack execution or benchmark. Related terms: - [object-storage](https://hesela.dev/terms/object-storage/) - [bitcask](https://hesela.dev/terms/bitcask/) - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [compaction](https://hesela.dev/terms/compaction/) - [checksum](https://hesela.dev/terms/checksum/) Citations: - [paper] Beaver, Kumar, Li, Sobel and Vajgel. Finding a Needle in Haystack: Facebook's Photo Storage. OSDI 2010, sections 3.4.1-3.4.5 and 3.6.1. https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Beaver.pdf (accessed 2026-11-29) - [engineering] Vajgel, Beaver and Sobel. Needle in a haystack: efficient storage of billions of photos. 30 April 2009. https://engineering.fb.com/2009/04/30/core-infra/needle-in-a-haystack-efficient-storage-of-billions-of-photos/ (accessed 2026-11-29) ### Hazard rate URL: https://hesela.dev/terms/hazard-rate/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Status: shipping Record updated: 2026-11-18 The hazard rate is the instantaneous event rate at a given time conditional on the event not having occurred before that time. Note: For a continuous lifetime T, h(t) = f(t) / S(t), with units of inverse time, not percent probability. Specify the clock and event: device age until first failure and time since the last replacement anywhere in a cluster are different random variables. A constant hazard gives exponential survival; neither constant hazard nor independence is established by a pooled AFR. Integrating the rate gives dimensionless cumulative hazard, not event probability; in an absolutely continuous event-time model S(t) = exp(-H(t)). [nist-hazard] A closed first-failure cohort can have a falling hazard even when every subgroup hazard rises. Its current hazard weights subgroup hazards by the surviving shares, not by their initial shares. If those hazards are differentiable, the change in the cohort hazard equals the survivor-weighted mean of subgroup changes minus the survivor-weighted variance of subgroup hazards. The derivative and variance both have units of inverse time squared. [vaupel-zhang-selection] [vaupel-missov-selection] For a constructed equal-share cohort with hazards 0.01 + 0.001t and 0.10 + 0.001t per year (t in years), both subgroup hazards rise but the cohort hazard falls from 0.055 at entry to about 0.046015 per year at age 10. The common hazard slope is 0.001 per year squared. The higher-risk subgroup's survivor share falls from 50% to about 28.91%. This is analytic arithmetic, not observed drive data or proof that aging improves a device. The example assumes fixed types, first failures, no arrivals, repair, replacement or other removal. Real fleet attribution also requires the relevant event, entry, retirement and exposure histories. [hesela-survivor-example] Limitations: - For an absolutely continuous lifetime and survivors at age a, the next u time units have event probability 1 - exp(-(H(a + u) - H(a))), with a >= 0, u >= 0 and positive survival at a. Replacing the hazard over that whole interval by h(a) instead gives 1 - exp(-h(a)u). The further shortcut h(a)u uses a small-increment approximation and can exceed one. A small starting hazard alone does not justify either shortcut when the hazard changes substantially. (sources: [nist-hazard]) - In an assumed Weibull lifetime model with shape 2 and scale 10 years, survivors at age 5 have 52.76% event probability over the next 5 years. Freezing the current hazard of 0.1 per year gives 39.35%; the linear shortcut gives 50%. Unconditional failure by age 10 is 63.21%, which includes failures before age 5 and answers a different question. These are formula substitutions, not drive observations or predictions using individual telemetry. At age zero the same model has zero instantaneous hazard, yet its first five years have 22.12% event probability; both starting-rate shortcuts give zero. (sources: [nist-weibull-horizon], [hesela-hazard-horizon]) Related terms: - [afr](https://hesela.dev/terms/afr/) - [mtbf](https://hesela.dev/terms/mtbf/) - [drive-day](https://hesela.dev/terms/drive-day/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [left-truncation](https://hesela.dev/terms/left-truncation/) - [interarrival-time](https://hesela.dev/terms/interarrival-time/) - [rate-of-occurrence-of-failures](https://hesela.dev/terms/rate-of-occurrence-of-failures/) - [survival-function](https://hesela.dev/terms/survival-function/) - [kaplan-meier-estimator](https://hesela.dev/terms/kaplan-meier-estimator/) - [cause-specific-hazard](https://hesela.dev/terms/cause-specific-hazard/) - [cumulative-hazard](https://hesela.dev/terms/cumulative-hazard/) - [weibull-distribution](https://hesela.dev/terms/weibull-distribution/) - [bathtub-curve](https://hesela.dev/terms/bathtub-curve/) - [lognormal-distribution](https://hesela.dev/terms/lognormal-distribution/) - [frailty-model](https://hesela.dev/terms/frailty-model/) Citations: - [nist-hazard] NIST e-Handbook: Failure (or hazard) rate (8.1.2.3). https://www.itl.nist.gov/div898/handbook/apr/section1/apr123.htm (accessed 2026-10-10) - [nist-exponential] NIST e-Handbook: Exponential distribution (8.1.6.1). https://www.itl.nist.gov/div898/handbook/apr/section1/apr161.htm (accessed 2026-10-10) - [schroeder-2007] Schroeder and Gibson: Disk failures in the real world, FAST 2007, sections 2.4 and 5.3. https://static.usenix.org/events/fast07/tech/schroeder/schroeder_html/index.html (accessed 2026-10-10) - [hesela-methods] Hesela: AFR is a rate, not a one-year failure probability. https://hesela.com/analyses/afr-rate-not-probability/ (accessed 2026-10-10) - [hesela-age-audit] Hesela: Missing SMART ages and the limits of drive-age comparisons. https://hesela.com/analyses/backblaze-age-missing-data-audit/ (accessed 2026-10-11) - [vaupel-zhang-selection] Vaupel and Zhang: Attrition in heterogeneous cohorts (2010), equations 1a-1b and sections 2, 4.1. https://www.demographic-research.org/articles/volume/23/26 (accessed 2026-11-06) - [vaupel-missov-selection] Vaupel and Missov: Unobserved population heterogeneity (2014), sections 3A-3F. https://www.demographic-research.org/articles/volume/31/22 (accessed 2026-11-06) - [hesela-survivor-example] Hesela: survivor composition and the hazard of a closed cohort. https://hesela.com/analyses/mttf-vs-field-replacement-rates/#survivor-selection (accessed 2026-11-06) - [nist-weibull-horizon] NIST e-Handbook 8.1.6.2: Weibull survival, hazard and cumulative-hazard formulas. https://www.itl.nist.gov/div898/handbook/apr/section1/apr162.htm (accessed 2026-11-18) - [hesela-hazard-horizon] Hesela: reproducible changing-hazard versus fixed-rate arithmetic. https://hesela.dev/research/hazard-horizon.mjs (accessed 2026-11-18) ### Host bus adapter (HBA) URL: https://hesela.dev/terms/hba/ Also known as: HBA, host adapter Status: shipping Record updated: 2026-10-22 A host bus adapter (HBA) connects a server's I/O bus, such as PCI Express, to a storage transport such as SAS, SATA or Fibre Channel and holds the initiator ports. Note: In the Linux SCSI subsystem a host is a bridge between a computer I/O bus such as PCI and a single SCSI initiator port, which sends commands to target ports such as disks, and one HBA may contain several hosts. The driver reports per-host limits, namely outstanding commands (can_queue), scatter-gather elements per command (sg_tablesize) and sectors per command (max_sectors). The default of 1,024 sectors gives a 512 KB maximum transfer with 512-byte sectors. [c2] For SATA, the AHCI register model allows 32 ports per controller and 32 command slots per port, with capability bits for native command queueing, 64-bit DMA, port multipliers and staggered spin-up. The Linux driver uses 168 scatter-gather entries per command against a hardware maximum of 64K. [c3] A fully populated controller can therefore have 32 x 32 = 1,024 commands outstanding. In an older SAS generation each phy runs at 300 MB/s half duplex, so an eight-link card has 2,400 MB/s. A narrow port has one phy and a wide port typically four, direct-attached drives are limited to the number of phys, and with expanders a card typically reaches 128 end devices. An edge expander connects up to 128 SAS ports and a fanout expander up to 128 edge expanders, giving up to 16,384 ports in one SAS domain. [c4] Limitations: - A narrow port to a single drive gets one phy's rate, so bandwidth depends on how many links are aggregated. (sources: [c4]) Sources and caveats: - c2 and c3 are Linux kernel documentation and source (master branch); c3 is a driver header, not the AHCI specification, whose download was not accessible. - c4 is an appendix of an Oracle HBA installation guide, not the T10 SAS standard; its 300 MB/s per phy is an older SAS generation. - Linux limits in c2 are defaults and vary by driver. - Fibre Channel and NVMe specifications were not consulted. - Arithmetic: 32 x 32 = 1,024 commands; 8 x 300 = 2,400 MB/s; 128 x 128 = 16,384 ports. Related terms: - [sas](https://hesela.dev/terms/sas/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [nvme](https://hesela.dev/terms/nvme/) - [ahci](https://hesela.dev/terms/ahci/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) Citations: - [c1] Host bus adapter (HBA). https://en.wikipedia.org/wiki/Host_bus_adapter (accessed 2026-03-26) - [c2] SCSI mid_level - lower_level driver interface, Linux kernel documentation. https://docs.kernel.org/scsi/scsi_mid_low_api.html (accessed 2026-10-16) - [c3] drivers/ata/ahci.h, Common AHCI SATA definitions, Linux kernel source. https://github.com/torvalds/linux/blob/master/drivers/ata/ahci.h (accessed 2026-10-16) - [c4] Introduction to Serial Attached SCSI (appendix G), Oracle documentation. https://docs.oracle.com/cd/E19269-01/820-1847-20/appendixg.html (accessed 2026-10-16) ### Hard disk drive (HDD) URL: https://hesela.dev/terms/hdd/ Technology reference: https://hesela.com/tech/hdd/ Also known as: hard drive, magnetic disk Status: shipping Record updated: 2026-11-09 Recorded firstSeen: 1956 (sources: [c1]) A non-volatile storage device that records data on spinning platters with a moving read/write head. Note: Heads move across magnetic recording surfaces while rotation brings sectors past them. Cache-miss access can include seeking and rotational delay; sustained media transfer and interface transfer are separate specifications. [density-manual] Capacity depends on recording surfaces and usable area as well as areal density. Increasing track density alone need not increase the bits passing a head per revolution at fixed radius and linear density. Do not infer user throughput or formatted capacity from a peak density figure. [hdd-card] Track layout, magnetic orientation and write assistance answer different questions. Drive-managed SMR hides its sequential-write constraint behind ordinary block access, while host-managed SMR exposes constraints to the host. Select software for the actual interface contract. [smr-models] Zoned bit recording uses different sector counts across radial recording zones. It helps explain why sequential media transfer can vary with track location at unchanged RPM. [zbr-frequency] Environmental evidence needs a defined event and sensor location. FAST 2016 separates SMART faults from controller/connectivity failures and counts the first intervention-triggering event. These observations do not define a universal temperature limit or a universal fitted humidity coefficient. [manousakis2016] Hesela's paired-exposure calculation demonstrates aggregation loss using constructed histories, not observed drive failures. Read the interpretation before reusing its JSON factors. [humidity-analysis] [humidity-model] Related terms: - [cmr](https://hesela.dev/terms/cmr/) - [smr](https://hesela.dev/terms/smr/) - [pmr](https://hesela.dev/terms/pmr/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [sata](https://hesela.dev/terms/sata/) - [sas](https://hesela.dev/terms/sas/) - [areal-density](https://hesela.dev/terms/areal-density/) - [st-412](https://hesela.dev/terms/st-412/) - [head-disk-interface](https://hesela.dev/terms/head-disk-interface/) - [flying-height](https://hesela.dev/terms/flying-height/) - [thermal-flying-height-control](https://hesela.dev/terms/thermal-flying-height-control/) - [mission-critical-hdd](https://hesela.dev/terms/mission-critical-hdd/) - [linear-recording-density](https://hesela.dev/terms/linear-recording-density/) - [track-density](https://hesela.dev/terms/track-density/) - [sshd](https://hesela.dev/terms/sshd/) - [zoned-bit-recording](https://hesela.dev/terms/zoned-bit-recording/) - [track-skew](https://hesela.dev/terms/track-skew/) - [sequential-io](https://hesela.dev/terms/sequential-io/) - [random-io](https://hesela.dev/terms/random-io/) - [embedded-servo](https://hesela.dev/terms/embedded-servo/) - [position-error-signal](https://hesela.dev/terms/position-error-signal/) - [read-on-arrival](https://hesela.dev/terms/read-on-arrival/) Citations: - [c1] Computer History Museum — 1956: First commercial hard disk drive shipped (The Storage Engine, IBM Model 350 RAMAC). https://www.computerhistory.org/storageengine/first-commercial-hard-disk-drive-shipped/ (accessed 2026-10-16) - [n2] Seagate — CMR and SMR hard drive list (mass-capacity context). https://www.seagate.com/products/cmr-smr-list/ (accessed 2026-10-07) - [n3] Western Digital — Helium hard drives explained (mechanics packaging). https://blog.westerndigital.com/helium-hard-drives-explained/ (accessed 2026-10-07) - [n4] IDEMA — HDD technology resources (industry association). https://idema.org/ (accessed 2026-10-07) - [density-manual] Seagate: Enterprise Capacity 3.5 HDD v4 SAS Product Manual, 100726011 Rev. A, May 2014, sections 3.5 and 4.1. https://www.seagate.com/www-content/product-content/enterprise-hdd-fam/enterprise-capacity-3-5-hdd/constellation-es-4/en-us/docs/100726011a.pdf (accessed 2026-10-19) - [smr-models] Zoned Storage: Shingled Magnetic Recording Hard Disks, overview and interface implementations. https://zonedstorage.io/docs/introduction/smr (accessed 2026-10-19) - [hdd-card] Hesela: Hard Disk Drive, density and transfer-rate interpretation. https://hesela.com/tech/hdd/ (accessed 2026-10-19) - [zbr-frequency] Leow et al.: Adaptive zone frequency compensation for disc drives, US6757119B2 (2004), Background of the Invention. https://patents.google.com/patent/US6757119B2/en (accessed 2026-10-23) - [manousakis2016] FAST 2016: Environmental Conditions and Disk Reliability in Free-cooled Datacenters. https://www.usenix.org/system/files/conference/fast16/fast16-papers-manousakis.pdf (accessed 2026-11-06) - [humidity-analysis] Hesela: SMART signals and environmental observability. https://hesela.com/analyses/smart-failure-signals/#environment-heading (accessed 2026-11-06) - [humidity-model] Hesela: constructed HDD humidity calculation and reproduction instructions. https://hesela.dev/research/hdd-humidity/README.md (accessed 2026-11-06) ### HDF5 chunked layout URL: https://hesela.dev/terms/hdf5-chunked-layout/ Also known as: HDF5 chunked storage, HDF5 dataset chunk Status: shipping Record updated: 2026-10-23 An HDF5 chunked layout divides a dataset into fixed-shape array blocks that can be stored and filtered separately. Note: Geometry: chunk dimensions are chosen at dataset creation. Compression and other filters operate on chunks; selecting a few values can require processing a whole filtered chunk. A different chunk shape requires rewriting the dataset. [h5py-dataset] Byte accounting: a 32 by 32 chunk of four-byte integers expands to 4,096 bytes, regardless of its smaller compressed size. In a measured scalar-read trace, a cache large enough for the compressed bytes but smaller than the decoded chunk still reread that chunk for each selection. [hesela-cache] Terminology: array chunk geometry is distinct from content-defined chunking, which places boundaries based on byte content for purposes such as deduplication. [h5py-dataset] [hesela-cdc] Checksum coverage: explicitly skipping filters on partial edge chunks can leave Fletcher32 declared without protecting that edge. In the HDF5 1.14.6 control, its reported mask was zero; the default edge policy detected the same mutation. Dataset extent, edge options and reader policy therefore matter alongside the filter inventory. [h5-edge-api] [hesela-verification] Variable-length data: string payloads reside in separate heaps outside the dataset filter pipeline. Compressed chunk bytes can therefore describe descriptors rather than compressed text, and cannot alone establish total file size. [h5-vlen-heaps] Raw transfer: filter-mask bits identify positions in the destination pipeline. A source mask cannot be assumed compatible with a different ordered pipeline. In a two-build test, Fletcher32 verified intact bytes before an incorrectly declared inverse shuffle changed the decoded array; explicitly skipping shuffle preserved values while retaining checksum rejection. [h5-transplant-api] [h5-transplant-shuffle] [hesela-transplant] Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [hdf5-raw-data-chunk-cache](https://hesela.dev/terms/hdf5-raw-data-chunk-cache/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [hdf5-global-heap](https://hesela.dev/terms/hdf5-global-heap/) Citations: - [h5py-dataset] h5py 3.15: Datasets, chunked storage and filter pipeline. https://docs.h5py.org/en/3.15.0/high/dataset.html (accessed 2026-10-17) - [hesela-cache] Hesela: HDF5 chunk cache, measured file-driver reads. https://hesela.com/analyses/hdf5-chunk-cache-read-amplification/ (accessed 2026-10-17) - [hesela-cdc] Hesela: Content-defined chunking boundaries. https://hesela.com/analyses/content-defined-chunking-boundaries/ (accessed 2026-10-17) - [h5-edge-api] HDF Group: H5Pset_chunk_opts, partial-edge filtering policy. https://support.hdfgroup.org/documentation/hdf5/latest/group___d_c_p_l.html (accessed 2026-10-19) - [hesela-verification] Hesela: HDF5 checksum coverage and reader-state observations. https://hesela.dev/datasets/hdf5-checksum-coverage/ (accessed 2026-10-19) - [h5-vlen-heaps] HDF Group: H5Pset_filter, variable-length heaps and filter scope. https://portal.hdfgroup.org/documentation/hdf5/latest/group___o_c_p_l.html (accessed 2026-10-20) - [h5-transplant-api] HDF5 1.14.6: direct-chunk API contract and positional filter mask. https://raw.githubusercontent.com/HDFGroup/hdf5/hdf5_1.14.6/src/H5Dpublic.h (accessed 2026-10-23) - [h5-transplant-shuffle] HDF5 1.14.6: shuffle parameter and inverse byte-lane transformation. https://raw.githubusercontent.com/HDFGroup/hdf5/hdf5_1.14.6/src/H5Zshuffle.c (accessed 2026-10-23) - [hesela-transplant] Hesela: native HDF5 raw-chunk interpretation observations and reproduction bundle. https://hesela.dev/research/hdf5-chunk-transplant/summary.json (accessed 2026-10-23) ### HDF5 dimension scale URL: https://hesela.dev/terms/hdf5-dimension-scale/ Related analysis: https://hesela.com/analyses/hdf5-swmr-application-consistency/ Also known as: H5DS dimension scale Status: shipping Record updated: 2026-10-28 An HDF5 dimension scale is a dataset associated with an array dimension to supply application-defined coordinates or labels. Note: Identity: a scale's name is separate from its dataset path and need not be unique. h5py name lookup returns the first matching attached scale, while the HDF5 storage profile does not define scale-list order. Do not treat insertion order as a portable selection rule. [h5py-dims] [h5ds-spec] Consistency: an axis label does not attach a scale. Coordinate interpretation and compatible extents are application responsibilities; several scales or unequal extents may be intentional. [h5ds-spec] Observed consequence: in two synthetic HDF5 builds, selecting between duplicate time-scale names changed an endpoint rate from 10 to 1 count/s with identical value-array bytes. Thirteen of fourteen cases were numerically readable, but only two met the experiment's single-time-axis policy. These are configuration outcomes, not reliability frequencies. [hesela-dimensions] Migration: in constructed native-VOL HDF5 1.14.2/1.14.6 files, object copies retained values, labels and scale counts without preserving H5DS associations. The 1.14.6 attribute-copy path repairs top-level references but not nested references in that branch; expand_refs did not repair the tested dimension attributes. [h5-copy-nested] [hesela-migration] Acceptance: reopen the copy and verify the intended coordinate object, shared identity, units, values and both reference directions. H5DSis_attached checks both directions; readable forward coordinates alone can survive a missing reverse list. Explicit destination reconstruction passed the small fixture, not a general conversion or crash-recovery guarantee. [h5-copy-attachment] [hesela-migration] Sources and caveats: - Hesela's synthetic files were observed with h5py 3.10.0/HDF5 1.14.2 and h5py 3.15.0/HDF5 1.14.6. Writers closed before fresh readers opened; no live acquisition, H5MD consumer or power-loss behavior was tested. - Migration observations are nine constructed cases, twice on each of HDF5 1.14.2 and 1.14.6. Replayed on 1.14.6 during publication preparation on 2026-10-28. No current-release, non-native VOL or netCDF/xarray claim. Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [hdf5-swmr](https://hesela.dev/terms/hdf5-swmr/) Citations: - [h5ds-spec] The HDF Group: HDF5 High Level Dimension Scales, storage profile and limitations. https://support.hdfgroup.org/documentation/hdf5/latest/_h5_d_s__u_g.html (accessed 2026-10-22) - [h5py-dims] h5py: Dimension Scales. https://docs.h5py.org/en/stable/high/dims.html (accessed 2026-10-22) - [hesela-dimensions] Hesela: HDF5 coordinate selection, two-build controlled observations. https://hesela.com/analyses/hdf5-swmr-application-consistency/#dimension-scales (accessed 2026-10-22) - [h5-copy-nested] HDF5 1.14.6: attribute-copy nested-reference boundary. https://raw.githubusercontent.com/HDFGroup/hdf5/hdf5_1.14.6/src/H5Aint.c (accessed 2026-10-28) - [h5-copy-attachment] HDF5 1.14.6: H5DS reference mode and bidirectional attachment. https://raw.githubusercontent.com/HDFGroup/hdf5/hdf5_1.14.6/hl/src/H5DS.c (accessed 2026-10-28) - [hesela-migration] Hesela: dimension-scale migration, native controls and replay. https://hesela.com/analyses/hdf5-swmr-application-consistency/#copying-axes (accessed 2026-10-28) ### HDF5 external storage URL: https://hesela.dev/terms/hdf5-external-storage/ Related analysis: https://hesela.com/analyses/hdf5-virtual-datasets-missing-sources/ Also known as: HDF5 external raw storage, HDF5 external file list Status: shipping Record updated: 2026-10-21 HDF5 external storage maps a contiguous dataset's raw bytes onto an ordered list of byte ranges in non-HDF5 files. Note: Mapping: each external-file-list segment specifies a filename, byte offset and reserved size; it is not a VDS mapping or a link to an HDF5 object. h5py exposes the list through Dataset.external. [h5-external-guide] [h5py-external] EOF behavior: the HDF5 1.14.6 reader zeroes the remaining bytes when a referenced file reaches EOF; an open failure takes an error path. This byte-level behavior differs from substituting a dataset fill element. [h5-external-source] Measured example: truncating a little-endian int32 fixture inside its second integer changed 287454020 to 13124 without a read error, even with fillvalue=-999. Big-endian storage returned 287440896. Missing files errored; empty files returned zeros. These are controlled synthetic observations on one build. [hesela-efl] Preservation: validate the required mapped ranges, offsets and source identity together. In the fixture, a 16-byte raw file equalled Dataset.nbytes but lacked eight mapped bytes because data started at offset eight. Same-length replacement passed the range check but changed values. The full analysis and downloadable harness retain the evidence and limits. [hesela-efl-analysis] Resolution: external raw files use HDF5_EXTFILE_PREFIX, which overrides the dataset-access prefix. Default relative lookup uses the process working directory; ${ORIGIN} in the prefix supports resolution relative to the containing HDF5 file. Preserve the reader settings as well as the stored filename. [h5-efile-prefix] Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [hdf5-virtual-dataset](https://hesela.dev/terms/hdf5-virtual-dataset/) - [hdf5-fill-value](https://hesela.dev/terms/hdf5-fill-value/) - [backup-verification](https://hesela.dev/terms/backup-verification/) Citations: - [h5-external-guide] The HDF Group: Dataset guide, External Storage Properties. https://support.hdfgroup.org/documentation/hdf5/latest/_h5_d__u_g.html (accessed 2026-10-21) - [h5-external-source] HDF5 1.14.6: H5D__efl_read EOF and open-error handling. https://github.com/HDFGroup/hdf5/blob/hdf5_1.14.6/src/H5Defl.c#L236-L344 (accessed 2026-10-21) - [h5py-external] h5py 3.15.0: Dataset.external and Dataset.nbytes. https://docs.h5py.org/en/3.15.0/high/dataset.html#h5py.Dataset.external (accessed 2026-10-21) - [hesela-efl] Hesela: external raw-file truncation observations (42 fixtures, HDF5 1.14.6). https://hesela.dev/research/hdf5-external-eof.json (accessed 2026-10-21) - [hesela-efl-analysis] Hesela: HDF5 dependencies, truncated external raw files. https://hesela.com/analyses/hdf5-virtual-datasets-missing-sources/#external-eof (accessed 2026-10-21) - [h5-efile-prefix] The HDF Group: H5Pset_efile_prefix and HDF5_EXTFILE_PREFIX. https://portal.hdfgroup.org/documentation/hdf5/latest/group___d_a_p_l.html (accessed 2026-10-21) ### HDF5 fill value URL: https://hesela.dev/terms/hdf5-fill-value/ Related analysis: https://hesela.com/analyses/hdf5-virtual-datasets-missing-sources/ Status: shipping Record updated: 2026-10-21 An HDF5 fill value is a configured or default element value used for uninitialized data, missing VDS source regions and some filter encodings. Note: Creation property: H5Pset_fill_value defines the value using a datatype; the default is zero interpreted for the dataset datatype. A suitable application may reserve an otherwise invalid value to make missing data conspicuous. [h5-properties] Virtual data: a missing source can produce fill values through a VDS read. Such an output value is not automatically a measurement, a validity mask or proof of a storage fault. [h5-vds] Interpretation: an explicit sentinel helps only if the application treats it as missing and excludes it from valid data. It cannot identify the intended source when another valid dataset is resolved in its place. [hesela-vds] Scale-offset: in HDF5 1.14.6, fully written floating-point values near the declared fill can decode as fill after scale-offset encoding. The official guide warns about near-zero data with default fill zero. A fill-valued result alone therefore does not establish that an element was never written; this differs from VDS source absence. [h5-scale-guide] [hesela-scale] External raw files: EOF zero-padding is not sentinel substitution. In a separate HDF5 1.14.6 int32 experiment, short external files returned zero bytes or a partially changed integer despite fillvalue=-999; an entirely absent file raised an error. Do not generalize VDS missing-source behavior to this storage mechanism. [hesela-efl] Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [hdf5-virtual-dataset](https://hesela.dev/terms/hdf5-virtual-dataset/) - [hdf5-scale-offset](https://hesela.dev/terms/hdf5-scale-offset/) - [hdf5-external-storage](https://hesela.dev/terms/hdf5-external-storage/) Citations: - [h5-vds] The HDF Group: Introduction to the Virtual Dataset. https://support.hdfgroup.org/documentation/hdf5/latest/_v_d_s_t_n.html (accessed 2026-10-17) - [h5-properties] The HDF Group: H5Pset_virtual source-file resolution and H5Pset_fill_value. https://support.hdfgroup.org/documentation/hdf5/latest/group___d_c_p_l.html (accessed 2026-10-17) - [hesela-vds] Hesela: HDF5 virtual dataset dependency observations. https://hesela.dev/datasets/hdf5-vds-dependencies/ (accessed 2026-10-17) - [h5-scale-guide] HDF Group dataset guide: scale-offset floating-point suggestions. https://hdfgroup.github.io/hdf5/develop/_h5_d__u_g.html (accessed 2026-10-20) - [hesela-scale] Hesela: 26 scale-offset round-trip configurations and limits. https://hesela.dev/datasets/hdf5-checksum-coverage/#scale-offset (accessed 2026-10-20) - [hesela-efl] Hesela: external raw-file truncation observations (42 fixtures, HDF5 1.14.6). https://hesela.dev/research/hdf5-external-eof.json (accessed 2026-10-21) ### HDF5 global heap URL: https://hesela.dev/terms/hdf5-global-heap/ Related analysis: https://hesela.com/analyses/hdf5-chunk-cache-read-amplification/ Also known as: HDF5 global heap collection Status: shipping Record updated: 2026-10-20 The HDF5 global heap stores file objects, including variable-length payloads, that datasets access through heap identifiers. Note: A file can contain multiple global-heap collections. They are reached through references rather than a single directory of all collections; "global" does not mean one contiguous region. Variable-length elements in dataset storage contain a sequence length and heap identifier instead of the complete payload. [h5-format] This is an on-disk structure, not the process-memory heap. It is also distinct from HDF5 fractal heaps, whose uses and filtering rules must not be assumed to apply to global heaps. [h5-format] Dataset filters do not process the separate variable-length payload heaps. A compressed chunk can therefore hold compressed descriptors while leaving referenced strings uncompressed. Raw chunk storage is insufficient to budget the complete file; the linked experiment compares three representations with byte-exact readback. [h5-filters] [hesela-vlen] In a controlled h5py 3.15.0 / HDF5 1.14.6 fixture, a one-bit change to a variable-length string's heap payload changed the returned string without changing its gzip-filtered chunk. A chunk-only digest therefore missed that mutation. Ordinary Fletcher32 creation for this VLEN datatype was rejected; the result is not evidence of successful Fletcher32 checking over a damaged VLEN payload. [hesela-heap-integrity] Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [hdf5-chunked-layout](https://hesela.dev/terms/hdf5-chunked-layout/) - [hdf5-raw-data-chunk-cache](https://hesela.dev/terms/hdf5-raw-data-chunk-cache/) Citations: - [h5-format] HDF5 File Format Specification: III.E Global Heap and IV.B Data Object Data Storage. https://portal.hdfgroup.org/documentation/hdf5/latest/_f_m_t4.html (accessed 2026-10-20) - [h5-filters] HDF Group: H5Pset_filter, dataset filters and heap scope. https://portal.hdfgroup.org/documentation/hdf5/latest/group___o_c_p_l.html (accessed 2026-10-20) - [hesela-vlen] Hesela: variable-length string storage controls and measurements. https://hesela.dev/datasets/hdf5-chunk-cache-reads/#variable-length (accessed 2026-10-20) - [hesela-heap-integrity] Hesela: controlled heap mutations, intact controls and reproduction package. https://hesela.dev/datasets/hdf5-checksum-coverage/#heap-integrity (accessed 2026-10-20) ### HDF5 hyperslab URL: https://hesela.dev/terms/hdf5-hyperslab/ Related analysis: https://hesela.com/analyses/hdf5-virtual-datasets-missing-sources/ Also known as: Hyperslab selection Status: shipping Record updated: 2026-11-12 An HDF5 hyperslab is a selection of elements in a multidimensional dataspace expressed through rectangular blocks and their positions. Note: H5Sselect_hyperslab describes a regular hyperslab with start, stride, count and block arrays, one value per dimension. A NULL stride selects a contiguous hyperslab, a NULL block means single elements, and a stride of 0 is not allowed. In the documented 2-D example, start [1,1], stride [4,4], count [3,7] and block [2,2] select 21 blocks of 2 × 2 elements, or 84 elements. [h5s] Selections can be combined. SET replaces the current selection, OR adds to it, AND keeps only the overlap, XOR keeps elements in exactly one of the two, and NOTA and NOTB remove one selection from the other. Selected regions are iterated in C order when I/O is performed. [h5s] A hyperslab names logical elements, not storage. With chunked storage an entire chunk is involved even when only one of its elements is needed. h5py suggests chunks of 10 KiB to 1 MiB, and up to 2 to 4 MiB for files in cloud object storage. [h5py-dataset] Stored selections: a legacy region reference retains a dataset selection, not its historical values. Shrink/re-extension can restore selection validity while returning fill or replacement data. On HDF5 1.14.2 and 1.14.6, unchanged reference bytes selected different values; the fill-only case had no allocated selected chunk and was not a payload checksum pass. [region-refs] [region-evidence] Advantages: - Describes strided and blocked regions compactly, without listing each element coordinate. (sources: [h5s]) Limitations: - A selection that cuts across many chunks can cost far more I/O than its element count suggests. (sources: [h5py-dataset]) - Overlapping blocks are not supported with the SET operator. (sources: [h5s]) Sources and caveats: - h5s is the HDF Group H5S dataspace reference, re-read on 2026-10-22 in H5Sselect_hyperslab and H5Scombine_hyperslab. - The start, stride, count and block example with 21 blocks of 2 × 2 elements comes from h5s, and 84 elements is 21 × 4. - h5py-dataset is the h5py 3.15.0 dataset page, re-read on 2026-10-22 in the chunked storage section. - The 10 KiB to 1 MiB and 2 to 4 MiB chunk-size suggestions come from h5py-dataset. - Region evidence covers native serial legacy references, 1D int32 and full-chunk shrink boundaries: nine controls per build, not a failure-rate study. Code and 36 retained files: https://hesela.dev/research/hdf5-region-lifetime/bundle.zip Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [hdf5-virtual-dataset](https://hesela.dev/terms/hdf5-virtual-dataset/) - [hdf5-chunked-layout](https://hesela.dev/terms/hdf5-chunked-layout/) Citations: - [h5s] The HDF Group: H5Sselect_hyperslab and dataspace selections. https://support.hdfgroup.org/documentation/hdf5/latest/group___h5_s.html (accessed 2026-10-22) - [h5py-dataset] h5py 3.15.0: slicing and chunked storage. https://docs.h5py.org/en/3.15.0/high/dataset.html (accessed 2026-10-22) - [h5-properties] The HDF Group: H5Pset_virtual mappings. https://support.hdfgroup.org/documentation/hdf5/latest/group___d_c_p_l.html (accessed 2026-10-18) - [region-refs] h5py 3.15.0: Object and Region References. https://docs.h5py.org/en/3.15.0/refs.html (accessed 2026-11-12) - [region-evidence] Hesela: HDF5 region-reference lifetime, two-build native observations. https://hesela.dev/research/hdf5-region-lifetime/summary.json (accessed 2026-11-12) ### HDF5 raw-data chunk cache URL: https://hesela.dev/terms/hdf5-raw-data-chunk-cache/ Also known as: RDCC, HDF5 chunk cache Status: shipping Record updated: 2026-10-19 The HDF5 raw-data chunk cache retains decoded dataset chunks in memory subject to byte capacity, hash-slot collisions and eviction policy. Note: Separate limits: colliding chunks cannot coexist in the cache even when byte capacity remains. Cache bytes and slot count therefore constrain different resources. [h5-chunking] Measured example: four compressed chunks and 32 scalar selections required 32 raw chunk reads with one slot, but four with 17 slots and enough bytes. Grouping the same selections by chunk also needed four reads with one slot. These are in-memory file-driver counts, not disk traffic or a timing speedup. [hesela-cache] Scope: each dataset has its own cache. Effective settings and library version matter; the byte budget is not a cap on all application memory. [h5py-file] Verification history: in the HDF5 1.14.6 control, a strict read reused values loaded earlier with checking disabled or a continuing failure callback. Fresh-reader and zero-cache controls rejected the same damaged bytes. Separate permissive salvage from acceptance; a later checking flag alone does not establish the history of decoded cached data. [h5-chunk-source] [hesela-verification] Sources and caveats: - The measured control used h5py 3.15.0 with HDF5 1.14.6. Seventeen slots was not established as a general optimum; decode volume was inferred, not directly instrumented. Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [hdf5-chunked-layout](https://hesela.dev/terms/hdf5-chunked-layout/) - [page-cache](https://hesela.dev/terms/page-cache/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) Citations: - [h5-chunking] The HDF Group: Chunking in HDF5, chunk caching and filters. https://support.hdfgroup.org/documentation/hdf5-docs/advanced_topics/chunking_in_hdf5.html (accessed 2026-10-17) - [h5py-file] h5py 3.15: File objects, Python file-like objects and chunk cache. https://docs.h5py.org/en/3.15.0/high/file.html (accessed 2026-10-17) - [hesela-cache] Hesela: HDF5 chunk cache, measured file-driver reads. https://hesela.com/analyses/hdf5-chunk-cache-read-amplification/ (accessed 2026-10-17) - [h5-chunk-source] HDF5 1.14.6: H5Dchunk.c, edge filtering and chunk-cache paths. https://github.com/HDFGroup/hdf5/blob/hdf5_1.14.6/src/H5Dchunk.c (accessed 2026-10-19) - [hesela-verification] Hesela: HDF5 checksum coverage and reader-state observations. https://hesela.dev/datasets/hdf5-checksum-coverage/ (accessed 2026-10-19) ### HDF5 scale-offset filter URL: https://hesela.dev/terms/hdf5-scale-offset/ Also known as: H5Z_FILTER_SCALEOFFSET Status: shipping Record updated: 2026-11-02 The HDF5 scale-offset filter reduces per-chunk numeric storage using an offset and a precision setting whose meaning differs between integer and floating-point data. Note: Integer precision: the parameter selects retained bits; zero requests an automatically selected lossless bit count. Floating-point zero is not a lossless setting, and decimal-place precision is not a significant-digit count. [h5-scale-api] Fill boundary: the HDF Group warns that floating-point values near zero can interact with default fill zero. A h5py 3.15.0 / HDF5 1.14.6 fixture returns 0.009 as zero with scaleoffset=2; moving the sentinel changes which neighborhood is affected. This is a version-scoped observation, not a new vulnerability or incidence estimate. [h5-scale-guide] [hesela-scale] Integrity: the high-level h5py API rejects pairing scale-offset and Fletcher32. A diagnostic low-level pipeline can check already transformed bytes without restoring discarded precision; preserve the API guard. NaN and infinities have no preservation guarantee with scale-offset. [h5-scale-guard] [h5-scale-dataset] Partial updates: in a fixed HDF5 1.14.2 fixture, 30 writes selecting only index 0 changed three unselected values in its four-element chunk by approximately +0.1 from their first decoded baseline. Changing the chunk minimum re-quantizes neighboring residuals. Python/core-image and C/sec2 clients agree on all 992 decoded values, but use one binary; no cross-version or field-frequency claim follows. A per-encoding precision setting alone is not a cumulative error bound against original data. [hdf5-requant-scale] [hdf5-requant-chunk] [hdf5-requant-evidence] Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [hdf5-chunked-layout](https://hesela.dev/terms/hdf5-chunked-layout/) - [hdf5-fill-value](https://hesela.dev/terms/hdf5-fill-value/) - [checksum](https://hesela.dev/terms/checksum/) - [hdf5-hyperslab](https://hesela.dev/terms/hdf5-hyperslab/) Citations: - [h5-scale-api] h5py 3.15.0 create_dataset: scale-offset precision and Fletcher32 restriction. https://github.com/h5py/h5py/blob/3.15.0/h5py/_hl/group.py#L103-L116 (accessed 2026-10-20) - [h5-scale-guard] h5py 3.15.0 filters.py: high-level scale-offset/Fletcher32 guard. https://github.com/h5py/h5py/blob/3.15.0/h5py/_hl/filters.py#L203-L226 (accessed 2026-10-20) - [h5-scale-guide] HDF Group dataset guide: scale-offset floating-point suggestions. https://hdfgroup.github.io/hdf5/develop/_h5_d__u_g.html (accessed 2026-10-20) - [h5-scale-dataset] h5py 3.15.0 dataset guide: scale-offset, special values and Fletcher32. https://github.com/h5py/h5py/blob/3.15.0/docs/high/dataset.rst (accessed 2026-10-20) - [hesela-scale] Hesela: 26 scale-offset round-trip configurations and limits. https://hesela.dev/datasets/hdf5-checksum-coverage/#scale-offset (accessed 2026-10-20) - [hdf5-requant-scale] HDF5 1.14.2: minimum-relative scale-offset encoding. https://github.com/HDFGroup/hdf5/blob/2d926cf0426d2ed9403946071d9b05ac8b4dd778/src/H5Zscaleoffset.c (accessed 2026-11-02) - [hdf5-requant-chunk] HDF5 1.14.2: dirty-chunk filter pipeline. https://github.com/HDFGroup/hdf5/blob/2d926cf0426d2ed9403946071d9b05ac8b4dd778/src/H5Dchunk.c (accessed 2026-11-02) - [hdf5-requant-evidence] Hesela: partial-update evidence, C replay and limits. https://hesela.dev/datasets/hdf5-checksum-coverage/#partial-requantization (accessed 2026-11-02) ### HDF5 SWMR URL: https://hesela.dev/terms/hdf5-swmr/ Related analysis: https://hesela.com/analyses/hdf5-swmr-application-consistency/ Also known as: HDF5 single-writer/multiple-reader Status: shipping Record updated: 2026-10-22 HDF5 SWMR is an access mode that permits one writer and multiple readers to use an HDF5 file with ordered metadata flushing under the required filesystem semantics. Note: Mechanism: metadata flush dependencies prevent readers following references to unflushed child structures. This requires compatible POSIX write semantics. [swmr-design] Reader protocol: h5py writers flush datasets and readers refresh them; notifications are separate. Objects are created before switching to SWMR. [h5py-swmr] Application boundary: Hesela observed unequal lengths in two readable arrays, and showed that a publication count does not prevent mutation of previously published values. This was a paused-writer observation, not a crash or power-loss test. [hesela-swmr] Metadata retries: HDF5 can retry inconsistent checksummed metadata reads under a bounded attempt policy. The retry information API describes library metadata reads, not NAND recovery counters or device-failure rates; the linked Hesela experiment does not measure retries. [h5-retries] Process-exit boundary: a separate post-flush experiment retained write/SWMR status flags after os._exit. Ordinary opens were rejected while SWMR reads worked; readable but unpublished payloads still selected no pairs. This is not power-loss evidence, and status flags do not establish whether a writer is alive. [hesela-exit] [h5-flags] Coordinate contract: a publication watermark does not choose the intended time scale. A separate closed-file experiment demonstrates duplicate scale names and readable but mismatched coordinates; it does not test live SWMR races. [hesela-dimensions] Limitations: - The documented SWMR scope forbids adding or deleting objects while SWMR writing is active; plan groups, datasets and attributes before switching modes. (sources: [swmr-design], [h5py-swmr]) - The HDF Group's cited scope excludes modification or append operations on variable-length, string and region-reference datatypes. (sources: [swmr-design]) - Correct SWMR behavior requires the documented POSIX write semantics; an HDF5-readable path alone does not establish filesystem suitability. (sources: [swmr-design], [h5py-swmr]) - Reader visibility is not a cross-dataset transaction or proof of recovery after power loss; the measured example assumes immutable published rows. (sources: [hesela-swmr]) Sources and caveats: - Documentation scope: h5py 3.15 and the cited HDF5 2.2.0 technical note. Hesela's observations used h5py 3.15.0 with HDF5 1.14.6; restrictions on other datatypes were documented, not experimentally tested. Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [advisory-file-lock](https://hesela.dev/terms/advisory-file-lock/) - [hdf5-dimension-scale](https://hesela.dev/terms/hdf5-dimension-scale/) Citations: - [h5py-swmr] h5py 3.15: Single Writer Multiple Reader. https://docs.h5py.org/en/3.15.0/swmr.html (accessed 2026-10-17) - [swmr-design] The HDF Group: SWMR metadata flush dependencies. https://support.hdfgroup.org/releases/hdf5/2.2.0/documentation/hdf5-2.2.0.doxygen/_s_w_m_r_t_n.html (accessed 2026-10-17) - [hesela-swmr] HDF5 SWMR: a readable file is not a complete measurement. https://hesela.com/analyses/hdf5-swmr-application-consistency/ (accessed 2026-10-17) - [h5-retries] The HDF Group: H5Fget_metadata_read_retry_info and metadata read attempts. https://portal.hdfgroup.org/documentation/hdf5/latest/group___s_w_m_r.html (accessed 2026-10-17) - [hesela-exit] Hesela: HDF5 process-exit observations. https://hesela.com/analyses/hdf5-swmr-application-consistency/#process-exit (accessed 2026-10-17) - [h5-flags] The HDF Group: File locking and superblock status. https://support.hdfgroup.org/documentation/hdf5/latest/_file_lock.html (accessed 2026-10-17) - [hesela-dimensions] Hesela: HDF5 coordinate selection, two-build controlled observations. https://hesela.com/analyses/hdf5-swmr-application-consistency/#dimension-scales (accessed 2026-10-22) ### HDF5 virtual dataset URL: https://hesela.dev/terms/hdf5-virtual-dataset/ Related analysis: https://hesela.com/analyses/hdf5-virtual-datasets-missing-sources/ Also known as: HDF5 VDS Status: shipping Record updated: 2026-10-21 An HDF5 virtual dataset maps selections from source datasets into a single logical array without storing those source values in the virtual mapping itself. Note: Mapping: sources are identified by filenames, dataset paths and selections, and may be defined before the sources exist. Ordinary array reads follow the mapping. [h5py-vds] Missing input: unavailable mapped data can be returned as a fill value. A successful read therefore does not establish that every source was present. [h5-vds] Resolution: HDF5_VDS_PREFIX can change where relative source names are found. A hash of the virtual file identifies its bytes, not every source selected by the reader environment. [h5-properties] Measured example: Hesela's fixed-shape experiment returned zeros for a missing source and replacement integers after a prefix override, while the virtual file hash stayed unchanged. This is bounded API evidence, not a claim about every source failure. [hesela-vds] Related terms: - [hdf5](https://hesela.dev/terms/hdf5/) - [hdf5-fill-value](https://hesela.dev/terms/hdf5-fill-value/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [hdf5-hyperslab](https://hesela.dev/terms/hdf5-hyperslab/) - [hdf5-external-storage](https://hesela.dev/terms/hdf5-external-storage/) Citations: - [h5py-vds] h5py 3.15.0: Virtual Datasets. https://docs.h5py.org/en/3.15.0/vds.html (accessed 2026-10-17) - [h5-vds] The HDF Group: Introduction to the Virtual Dataset. https://support.hdfgroup.org/documentation/hdf5/latest/_v_d_s_t_n.html (accessed 2026-10-17) - [h5-properties] The HDF Group: H5Pset_virtual source-file resolution and H5Pset_fill_value. https://support.hdfgroup.org/documentation/hdf5/latest/group___d_c_p_l.html (accessed 2026-10-17) - [hesela-vds] Hesela: HDF5 virtual dataset dependency observations. https://hesela.dev/datasets/hdf5-vds-dependencies/ (accessed 2026-10-17) ### HDF5 URL: https://hesela.dev/terms/hdf5/ Related analysis: https://hesela.com/analyses/hdf5-swmr-application-consistency/ Also known as: Hierarchical Data Format version 5 Status: shipping Record updated: 2026-11-12 HDF5 is a data model, storage format and software library for organizing typed datasets, groups and associated metadata. Note: Data model: typed multidimensional datasets, groups and links organize objects; applications define complete measurement semantics. [h5-model] Concurrent access: SWMR permits one writer and following readers, unlike coordinated parallel HDF5. File coherence does not establish that related datasets reached the same update. H5MD specifies step/time/value relationships for molecular data, not atomic publication. [h5-lock] [h5md-paper] Dependencies: VDS can map separate files. Missing sources can return fill, and reader path settings select sources; hashing the virtual file alone cannot establish archive completeness. [h5-vds] [h5-properties] Conversion: moving an out-of-range integer cast between HDF5 and NumPy changed values in a two-build experiment despite active Fletcher32. Validate ranges and missing-value semantics before narrowing. [hesela-hdf5-cast] Coordinates: ambiguous dimension-scale names changed a synthetic endpoint rate tenfold with unchanged value-array bytes. Readers need an intended coordinate object and sampling assumptions. Raw-copy checks also do not bind destination interpretation. [hesela-dimensions] [hesela-transplant] Limitations: - Legacy region references do not preserve historical values: shrink/re-extension restored readable selections returning fill or rewritten data on HDF5 1.14.2 and 1.14.6. Unallocated fill is not a payload checksum pass. (sources: [region-refs], [region-evidence]) Sources and caveats: - Region-reference controls use legacy native serial APIs, 1D int32 and full-chunk shrink; no modern opaque-reference, alternative VOL, concurrency or crash claim. Reproduction: https://hesela.dev/research/hdf5-region-lifetime/bundle.zip Related terms: - [hdf5-raw-data-chunk-cache](https://hesela.dev/terms/hdf5-raw-data-chunk-cache/) - [hdf5-chunked-layout](https://hesela.dev/terms/hdf5-chunked-layout/) - [hdf5-swmr](https://hesela.dev/terms/hdf5-swmr/) - [file-storage](https://hesela.dev/terms/file-storage/) - [application-consistent-snapshot](https://hesela.dev/terms/application-consistent-snapshot/) - [hdf5-virtual-dataset](https://hesela.dev/terms/hdf5-virtual-dataset/) - [hdf5-fill-value](https://hesela.dev/terms/hdf5-fill-value/) - [hdf5-dimension-scale](https://hesela.dev/terms/hdf5-dimension-scale/) - [fletcher-checksum](https://hesela.dev/terms/fletcher-checksum/) Citations: - [h5-lock] The HDF Group: File locking and superblock flags. https://support.hdfgroup.org/documentation/hdf5/latest/_file_lock.html (accessed 2026-10-17) - [h5-model] The HDF Group: HDF5 Data Model and File Structure. https://support.hdfgroup.org/documentation/hdf5/latest/_h5_d_m__u_g.html (accessed 2026-10-17) - [h5md-paper] de Buyl, Colberg and Hoefling: H5MD, arXiv:1308.6382v2 (2014), sections 2 and 3.4.1. https://arxiv.org/html/1308.6382 (accessed 2026-10-17) - [h5-vds] The HDF Group: Introduction to the Virtual Dataset. https://support.hdfgroup.org/documentation/hdf5/latest/_v_d_s_t_n.html (accessed 2026-10-17) - [h5-properties] The HDF Group: H5Pset_virtual source-file resolution and H5Pset_fill_value. https://support.hdfgroup.org/documentation/hdf5/latest/group___d_c_p_l.html (accessed 2026-10-17) - [hesela-hdf5-cast] Hesela: HDF5 integer conversion, two-build observations and source review. https://hesela.com/analyses/checksums-identity-and-lost-writes/#hdf5-integer-conversion (accessed 2026-10-20) - [hesela-dimensions] Hesela: HDF5 coordinate selection, two-build controlled observations. https://hesela.com/analyses/hdf5-swmr-application-consistency/#dimension-scales (accessed 2026-10-22) - [h5-transplant-api] HDF5 1.14.6: direct-chunk API contract and positional filter mask. https://raw.githubusercontent.com/HDFGroup/hdf5/hdf5_1.14.6/src/H5Dpublic.h (accessed 2026-10-23) - [hesela-transplant] Hesela: native HDF5 raw-chunk interpretation observations and reproduction bundle. https://hesela.dev/research/hdf5-chunk-transplant/summary.json (accessed 2026-10-23) - [region-refs] h5py 3.15.0: Object and Region References. https://docs.h5py.org/en/3.15.0/refs.html (accessed 2026-11-12) - [region-evidence] Hesela: HDF5 region-reference lifetime, two-build native observations. https://hesela.dev/research/hdf5-region-lifetime/summary.json (accessed 2026-11-12) ### Host-managed device memory decoder URL: https://hesela.dev/terms/hdm-decoder/ Related article: https://hesela.com/tech/cxl-memory/ Also known as: HDM decoder, CXL HDM decoder Status: unknown Record updated: 2026-11-16 An HDM decoder describes address ranges and interleaving used to route accesses to CXL device memory or translate them at an endpoint. Note: In the Linux 6.17 decoder model, root and switch decoders route host physical addresses (HPA); endpoints translate them into device physical addresses (DPA). Root decoders represent platform memory windows and need not be separate hardware blocks. [c1] Interleave ways and granularity distribute addresses among targets. Root and switch settings describe their immediate downstream targets; endpoint and region settings describe the entire interleave set. These settings must be consistent, but need not be identical at every level. [c1] Linux 6.17 can expose /dev/daxN.Y for application-managed mmap() access or convert capacity to page-allocator memory through dax_kmem. [c2] The underlying memory may still be volatile. [c3] Sources and caveats: - Decoder taxonomy follows the version-pinned Linux 6.17 driver model. Endpoint-only HPA-to-DPA translation is an explicit Linux assumption; this is not a universal platform support claim. [c1] - The lifecycle field is unknown because a decoder mechanism has no independently established product lifecycle. Related terms: - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [cxl-type-3-device](https://hesela.dev/terms/cxl-type-3-device/) - [dax](https://hesela.dev/terms/dax/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [cxl-memory-pooling](https://hesela.dev/terms/cxl-memory-pooling/) Citations: - [c1] Linux 6.17: CXL Driver Operation, Decoders and Regions. https://docs.kernel.org/6.17/driver-api/cxl/linux/cxl-driver.html (accessed 2026-10-27) - [c2] Linux 6.17: DAX Driver Operation, device DAX and dax_kmem. https://docs.kernel.org/6.17/driver-api/cxl/linux/dax-driver.html (accessed 2026-10-27) - [c3] Linux 6.17: Devices and Protocols, CXL memory and Type-3 devices. https://docs.kernel.org/6.17/driver-api/cxl/devices/device-types.html (accessed 2026-10-27) ### Head-disk interface (HDI) URL: https://hesela.dev/terms/head-disk-interface/ Related analysis: https://hesela.com/analyses/hdd-mechanical-failure-points/ Also known as: HDI, head disk interface Status: shipping Record updated: 2026-10-28 The head-disk interface is the interacting region between an HDD's head-carrying slider and rotating disk surface. Note: The interface involves gas-film support, local clearance and surface interactions, not the SATA or SAS host connection. Ma et al. distinguish passive flight, touchdown transition and stronger modulation using specialized head-media spacing and touchdown-sensor signals [touchdown]. A controlled contact experiment is not a count of catastrophic failures in an operating fleet [analysis]. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [flying-height](https://hesela.dev/terms/flying-height/) - [thermal-flying-height-control](https://hesela.dev/terms/thermal-flying-height-control/) - [rotational-vibration](https://hesela.dev/terms/rotational-vibration/) - [head-slap](https://hesela.dev/terms/head-slap/) - [touchdown-sensor](https://hesela.dev/terms/touchdown-sensor/) - [head-gas-bearing](https://hesela.dev/terms/head-gas-bearing/) - [giant-magnetoresistive-head](https://hesela.dev/terms/giant-magnetoresistive-head/) - [thermal-asperity](https://hesela.dev/terms/thermal-asperity/) Citations: - [touchdown] Ma et al.: Head disk interface characterization, CML report 15013, introduction and experiment. https://cml.berkeley.edu/wp-content/uploads/blue-reports/15013.pdf (accessed 2026-10-15) - [analysis] Hesela: HDD mechanical faults, evidence and diagnostic limits. https://hesela.com/analyses/hdd-mechanical-failure-points/ (accessed 2026-10-15) ### HDD head gas bearing URL: https://hesela.dev/terms/head-gas-bearing/ Also known as: head air bearing, slider gas bearing Status: shipping Record updated: 2026-10-29 An HDD head gas bearing is the thin moving gas film whose pressure supports the head-carrying slider against its suspension load. Note: The established name air-bearing surface (ABS) also appears in helium research. This is not the spindle bearing: the film lies between the slider's patterned surface and the spinning disk. Its pressure peaks near the transducer and acts like a stiff spring that stabilizes the slider over rough surfaces or across tracks. [gas-model] The film is rarefied. Its thickness ranges from several nanometers to several micrometers, comparable to the roughly 65 nm mean free path of air, while continuum flow is usually assumed only for a Knudsen number below 0.01. Models therefore solve a generalized Reynolds equation with rarefaction corrections. [gas-model] Gas composition changes the bearing in ways that bulk density alone does not predict. In one slider model, raising the helium fraction from 0 to 1 increased the mean free path by 200% and thermal conductivity by 700%. In air the gap under the transducer was 16.1 nm unheated and 7.2 nm heated. Fewer molecules in the gap reduced load capacity, so unheated clearance fell as helium was added, while heater protrusion shrank as heat flux rose. [gas-model] Advantages: - A low-density helium film reduces windage-induced vibration of the head, which supports higher areal density. (sources: [tp686], [gas-model]) - In the same model, a mixture of about 40% air and 60% helium gave the highest thermal actuation efficiency, 2% above air, so slightly less heater power produced the same clearance loss. (sources: [gas-model]) Limitations: - A low-density gas is hard to keep inside the enclosure: an early sealed helium drive was judged a failure because helium escaped by permeation through solid materials. (sources: [tp686]) Sources and caveats: - gas-model re-read 2026-10-29, chapters 1, 2, 6 and 8, for the pressure peak, the 65 nm mean free path, the 0.01 Knudsen limit, the 200% and 700% property changes, the 16.1 nm and 7.2 nm gaps and the 2% efficiency gain. - Those gap, property and efficiency values are numerical results for one commercial slider design, not drive measurements. - tp686 read 2026-10-29, pages 1 and 2, for windage-induced vibration, areal density and the permeation failure of an early sealed helium drive. - The helium-leak-port entry links here because helium escaping through a seal would change the gas composition that sets this film's clearance. - A companion analysis is listed but not used in prose. Related terms: - [head-disk-interface](https://hesela.dev/terms/head-disk-interface/) - [flying-height](https://hesela.dev/terms/flying-height/) - [thermal-flying-height-control](https://hesela.dev/terms/thermal-flying-height-control/) - [helium-hdd](https://hesela.dev/terms/helium-hdd/) - [fluid-dynamic-bearing](https://hesela.dev/terms/fluid-dynamic-bearing/) - [helium-leak-port](https://hesela.dev/terms/helium-leak-port/) Citations: - [gas-model] Nan Liu (2010), UC Berkeley dissertation, chapter 8: TFC sliders in air-helium mixtures. https://cml.berkeley.edu/wp-content/uploads/gold-reports/G10002.pdf (accessed 2026-10-29) - [card] Hesela: helium HDD construction and evidence boundaries. https://hesela.com/tech/helium-hdd/ (accessed 2026-10-16) - [tp686] Seagate technology paper TP686: Seagate's Helium Drive (2016). https://www.seagate.com/files/www-content/product-content/enterprise-hdd-fam/enterprise-capacity-3-5-hdd-10tb/_shared/docs/helium-drive-launch-tp686-1-1602us.pdf (accessed 2026-10-29) ### Head-of-line blocking URL: https://hesela.dev/terms/head-of-line-blocking/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: HOL blocking, HoL blocking Status: shipping Record updated: 2026-11-20 Head-of-line blocking occurs when earlier blocked work prevents later work from progressing even though that later work could otherwise be served. Note: Identify the shared queue or execution path, the blocked work and the resource available to later work. A long wait behind a busy single server alone does not demonstrate spare usable capacity or avoidable head-of-line blocking. [blocking-latency] Ruan and Pai's 2006 study traced blocking in filesystem-related calls in the Flash web server and Apache. Their FreeBSD 4.6 example held an exclusive parent-directory vnode lock while fetching a child inode from disk, delaying lookups sharing that path even when those lookups needed otherwise resident data. Read-only mounts and disabled access-time updates did not remove the blocking. Flash here names a web server, not NAND memory. These are historical observations, not a claim about current kernels. [blocking-latency] Separate queues or bypass can help only when work is actually independent and resources are usable. Reordering cannot discard data dependencies, and multiple host queues alone do not prove independent device service or completion order. [blk-mq] [hesela] Sources and caveats: - Source review of a historical storage-stack blocking mechanism; no replication or general diagnosis of contemporary SSDs. Related terms: - [first-come-first-served](https://hesela.dev/terms/first-come-first-served/) - [queueing-delay](https://hesela.dev/terms/queueing-delay/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [blk-mq](https://hesela.dev/terms/blk-mq/) - [tcp-selective-acknowledgment](https://hesela.dev/terms/tcp-selective-acknowledgment/) Citations: - [blocking-latency] Ruan and Pai. Understanding and Addressing Blocking-Induced Network Server Latency. USENIX ATC 2006, sections 2.2, 3.1 and 3.3. https://static.usenix.org/events/usenix06/tech/full_papers/ruan/ruan_html/index.html (accessed 2026-11-20) - [blk-mq] Linux 6.16: Multi-Queue Block IO Queueing Mechanism, hardware dispatch queues and tag-based completion. https://docs.kernel.org/6.16/block/blk-mq.html (accessed 2026-11-19) - [hesela] Hesela: queue order, blocked work and completion boundaries. https://hesela.com/analyses/ssd-fairness-shared-queues/#queue-order (accessed 2026-11-19) ### Head slap URL: https://hesela.dev/terms/head-slap/ Related analysis: https://hesela.com/analyses/hdd-mechanical-failure-points/ Also known as: head-slap Status: unknown Record updated: 2026-10-15 Head slap is a head-disk contact mechanism in which an HDD slider separates from the disk and then snaps back into it. Note: Li and Bogy identify this mechanism in their coupled structural and air-bearing simulation, distinct from long-pulse loading that overcomes a still-positive bearing force [shock]. Residual vibration can cause contact after the pulse ends. It is a mechanism, not a synonym for every head crash, a SMART counter or a universal shock threshold. Related terms: - [head-disk-interface](https://hesela.dev/terms/head-disk-interface/) - [flying-height](https://hesela.dev/terms/flying-height/) - [thermal-flying-height-control](https://hesela.dev/terms/thermal-flying-height-control/) Citations: - [shock] Li and Bogy: Operational Shock Failure Mechanisms in Hard Disk Drives, CML report 13009, sections 4.1-4.2 and 5. https://cml.berkeley.edu/wp-content/uploads/blue-reports/13009.pdf (accessed 2026-10-15) - [analysis] Hesela: HDD mechanical faults, evidence and diagnostic limits. https://hesela.com/analyses/hdd-mechanical-failure-points/ (accessed 2026-10-15) ### HeatWatch URL: https://hesela.dev/terms/heatwatch/ Related analysis: https://hesela.com/analyses/3d-nand-retention-evidence/ Status: research Record updated: 2026-11-26 HeatWatch is a research controller mechanism that predicts NAND read-reference voltages from wear, temperature history, retention time and dwell history. Note: It tracks thermal exposure and per-block metadata, then tunes its model using sampled wordlines. This changes sensing rather than heating cells or resetting wear. Background calibration still requires reads. [hpca] Raw-NAND read-retry callbacks expose device-specific sensing controls; they are not a portable NVMe host interface. [linux] The reported 3.85x lifetime ratio is a geometric-mean comparison across 28 workloads. The talk's worksheet summarizes all 28 even though its chart displays 13 individual workloads plus GMean; the mixed-trace result is separate. [talk] Limitations: - The trace-driven lifetime estimate uses an assumed ECC threshold, not observed SSD service years. (sources: [hpca]) Sources and caveats: - Primary-source synthesis, not a hardware reproduction. Historical charge-trap characterization does not establish modern QLC performance. Related terms: - [nand-dwell-time](https://hesela.dev/terms/nand-dwell-time/) - [nand-self-recovery](https://hesela.dev/terms/nand-self-recovery/) - [effective-retention-time](https://hesela.dev/terms/effective-retention-time/) - [retention-model-aware-reading](https://hesela.dev/terms/retention-model-aware-reading/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) Citations: - [hpca] Luo, Ghose, Cai, Haratsch and Mutlu. HeatWatch. HPCA 2018, sections 3-5. DOI: 10.1109/HPCA.2018.00050. https://people.inf.ethz.ch/omutlu/pub/heatwatch-3D-nand-errors-and-self-recovery_hpca18.pdf (accessed 2026-11-18) - [linux] Linux MTD NAND driver API: read-retry callbacks and interface scope. https://docs.kernel.org/driver-api/mtdnand.html (accessed 2026-11-18) - [talk] HeatWatch author talk, slide 57 and embedded lifetime worksheet: GEOMEAN over rows 2-29. https://people.inf.ethz.ch/omutlu/pub/heatwatch-3D-nand-errors-and-self-recovery_hpca18_talk.pptx (accessed 2026-11-26) - [hesela] Hesela: interpreting HeatWatch lifetime ratios and workload aggregation. https://hesela.com/analyses/3d-nand-retention-evidence/#heatwatch-lifetime (accessed 2026-11-18) ### Heavy hitter URL: https://hesela.dev/terms/heavy-hitter/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: Frequent item, Frequency-threshold heavy hitter Status: research Record updated: 2026-11-20 A frequency-threshold heavy hitter is a key whose count or nonnegative weight exceeds a specified share of the total over a defined observation window. Note: This record uses the strict convention f(x) > phi*N, where N is total observed mass and 0 < phi < 1. Other contracts use an inclusive threshold; record the convention. A top-k query instead selects the highest-frequency keys for a requested k, subject to available identities and a stated tie policy; it need not impose any minimum traffic share. [misra] [space] Candidate discovery, frequency estimation and exact verification are separate steps. Misra-Gries and Space-Saving retain key identities with bounds; bare Count-Min counters answer queries about supplied identities. Count-Min heavy-hitter constructions add candidate-tracking or hierarchical structures. An estimate is not an exact recount. [cm] [space] For a constructed three-request stream A B C, no key exceeds one third of the requests, although all tie for the highest count. Two-counter Misra-Gries returns no candidate at this strict boundary. The existing executable example records the complete input and result. [worked] Sources and caveats: - Scope is frequency or nonnegative-weight share (L1), not the separate L2 heavy-hitter definition based on squared frequencies. - Request counts, byte weights and service-time weights answer different questions. Define key identity, counted unit, stream completeness and the window before interpreting a result. - The weighted definition does not extend unit-insertion algorithm proofs to weighted updates, expiration, deletion or merging. Those need an explicit algorithm-specific contract. - The worked example is constructed, not measured device traffic or a cache-performance benchmark. Related terms: - [misra-gries](https://hesela.dev/terms/misra-gries/) - [space-saving](https://hesela.dev/terms/space-saving/) - [count-min-sketch](https://hesela.dev/terms/count-min-sketch/) - [cache-admission](https://hesela.dev/terms/cache-admission/) Citations: - [misra] Jayadev Misra. A Proof of a Heavy Hitters Algorithm (2018), introduction and section 3. https://www.cs.utexas.edu/~misra/Notes.dir/HeavyHitters.pdf (accessed 2026-11-20) - [space] Metwally, Agrawal and El Abbadi. Efficient Computation of Frequent and Top-k Elements in Data Streams, sections 1 and 3-4. https://www.cs.emory.edu/~cheung/Courses/584/Syllabus/papers/Frequency-count/2005-Metwally-Top-k-elements.pdf (accessed 2026-11-20) - [cm] Cormode and Muthukrishnan. An Improved Data Stream Summary: The Count-Min Sketch and its Applications, sections 4.1 and 5.2. https://www.cs.ox.ac.uk/people/graham.cormode/pubs/papers/cm-full.pdf (accessed 2026-11-20) - [worked] Hesela. Frequent-item certificates: strict-boundary example and executable checks. https://hesela.dev/research/heavy-hitter-certificates/README.md (accessed 2026-11-20) ### Hedged request URL: https://hesela.dev/terms/hedged-request/ Also known as: hedged read, request hedging Status: research Record updated: 2026-11-13 A hedged request is a redundant copy dispatched after an initial request remains unfinished for a chosen delay, allowing an eligible response to complete the operation. Note: A client sends a primary request, delays a secondary copy and cancels outstanding copies after an eligible result. A threshold at the request class's 95th percentile gives about 5% extra requests if that latency distribution remains representative and at most one copy is added. This is a request-count budget, not a 5% bound on CPU time, bytes or device work. [dean] In a benchmark that read 1,000 keys stored across 100 servers, a hedge sent after a 10 ms delay reduced the 99.9th-percentile latency for retrieving all values from 1,800 ms to 74 ms while sending 2% more requests. The technique works when slowness comes from interference rather than from the request itself. [dean] Full duplication has a different load budget from delayed hedging. The one-third baseline-utilization crossover in Vulimiri et al. assumes two immediate, uncancelled copies, Poisson arrivals, independent exponential service times and negligible client overhead. The paragraph preceding Theorem 1 approximates the coupled queues as independent. The duplicated utilization is twice the baseline; this is not a universal hedging limit. [vulimiri] An exact arithmetic companion compares baseline and duplicated load without claiming measured latency or simulating queues. [hesela-load] The S&X model separates shared job size from per-copy server slowdown. Copies keep the same size, so independent slowdowns do not imply independent runtimes. Its RIQ policy replicates only onto idle servers; this is a model distinction, not a storage performance guarantee. [gardner] Advantages: - Hedges can be marked as lower priority than primary requests, which reduces their overhead further. (sources: [dean]) Limitations: - A delay set at a high percentile only helps the small fraction of requests that exceed it. (sources: [dean]) - More aggressive hedging needs fast cancellation, otherwise several servers execute the same request unnecessarily. (sources: [dean]) Sources and caveats: - dean is the CACM 2013 article, read on pages 77-78 for the hedged-request description, the 95th-percentile deferral and the benchmark figures. - Latency values, percentages and threshold loads are quoted from the sources and were not recomputed. - 2026-11-04: checked conference paper section 2.1, independence-approximation paragraph and Theorem 1 against arXiv:1306.3707v1; scoped the threshold to baseline load and the independence approximation. No new system measurement. - 2026-11-05: corrected the conference-paper locator: independence is in the main text on p. 285; footnote 1 on p. 286 instead defines regularly varying distributions. - 2026-11-13: distinguished the percentile-triggered extra-request fraction from resource work; no new benchmark or universal load threshold. Related terms: - [tied-request](https://hesela.dev/terms/tied-request/) - [adaptive-replica-selection](https://hesela.dev/terms/adaptive-replica-selection/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [linearizability](https://hesela.dev/terms/linearizability/) - [tail-hour](https://hesela.dev/terms/tail-hour/) - [linnos](https://hesela.dev/terms/linnos/) - [load-aware-hedging](https://hesela.dev/terms/load-aware-hedging/) Citations: - [dean] Dean and Barroso. The Tail at Scale. CACM 56(2), 2013, pp. 77-78. DOI: 10.1145/2408776.2408794. https://www.barroso.org/publications/TheTailAtScale.pdf (accessed 2026-10-23) - [hesela] Hesela. Hedged reads: replica dependence and cancellation work, with exact synthetic examples. https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#hedged-reads (accessed 2026-10-17) - [vulimiri] Vulimiri et al. Low Latency via Redundancy. CoNEXT 2013, p. 285, independence-approximation paragraph and Theorem 1; DOI: 10.1145/2535372.2535392. https://conferences.sigcomm.org/co-next/2013/program/p283.pdf (accessed 2026-11-05) - [hesela-load] Hesela: exact load accounting for the independent-queue approximation. https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#redundancy-load (accessed 2026-11-04) - [gardner] Gardner et al. A Better Model for Job Redundancy: Decoupling Server Slowdown and Job Size. Author manuscript, sections 3-5. https://www.cs.cmu.edu/~harchol/Papers/TON17.pdf (accessed 2026-11-05) ### Helical scan recording URL: https://hesela.dev/terms/helical-scan/ Status: limited Record updated: 2026-10-22 Helical scan recording writes short slanted tracks across slowly moving tape with heads on a rotating drum, as in DAT-family data cartridges and some video formats. Note: In the DDS formats for 3.81 mm tape, a pair of heads with azimuths of about +20 and -20 degrees forms the track pattern from tape motion and drum rotation. Tracks have a 9.053 um average pitch, held to +/-0.045 um over 30 tracks, a 23.521 mm length and an angle of 6 deg 22' 39.6'' to the reference edge. [c2][c3] The test scanner is 30.00 mm across and turns at 2000 rpm, so the heads move at about 3.14 m/s against tape speeds of 5.43 mm/s (DDS-2) and 8.15 mm/s (DDS-3). [c2][c3] Density grew within the same geometry. DDS-2 records at most 2,999.9 flux transitions per mm, 70,560 bits per track, for 4 GB uncompressed on 125 m of tape, a step it attributes to 1.5 times higher track density. [c2] DDS-3 doubles linear density to 5,999.7 per mm and stores 12 GB, three times DDS-2, as more of each track carries user data. Each recorded cartridge holds one format, and the standards do not require a drive to read the others. [c3] Sources and caveats: - c2 (ECMA-198, 1995) and c3 (ECMA-236, 1996) cover the DDS family only; 8 mm formats and earlier DDS editions were not consulted in full, one scan not being extractable. - Scanner diameter, speed and tension are test conditions for signal measurement, not a drive design. - The title of c2 says 120 m tapes while its foreword gives 4 GB on 125 m. - No cited source compares helical scan with linear tape. - Arithmetic: pi x 0.030 m x 2000 / 60 = 3.14 m/s, about 580 x 5.43 mm/s and 385 x 8.15 mm/s; 23.521 mm / 0.1666 um = 141,000 bit cells. Related terms: - [tape](https://hesela.dev/terms/tape/) - [dat-cartridge](https://hesela.dev/terms/dat-cartridge/) - [lto](https://hesela.dev/terms/lto/) - [dlt](https://hesela.dev/terms/dlt/) Citations: - [c1] Helical scan recording. https://en.wikipedia.org/wiki/Helical_scan (accessed 2026-03-26) - [c2] ECMA-198: 3,81 mm Wide Magnetic Tape Cartridge for Information Interchange - Helical Scan Recording - DDS-2 Format using 120 m Length Tapes. https://ecma-international.org/wp-content/uploads/ECMA-198_2nd_edition_june_1995.pdf (accessed 2026-10-16) - [c3] ECMA-236: 3,81 mm Wide Magnetic Tape Cartridge for Information Interchange - Helical Scan Recording - DDS-3 Format using 125 m Length Tapes. https://www.ecma-international.org/wp-content/uploads/ECMA-236_1st_edition_june_1996.pdf (accessed 2026-10-16) ### Helium-filled HDD URL: https://hesela.dev/terms/helium-hdd/ Also known as: helium drive, He HDD Status: shipping Record updated: 2026-10-16 A helium-filled HDD is a hard disk drive whose head-disk assembly operates in a sealed helium atmosphere to reduce aerodynamic loading. Note: Helium is an enclosure technology, independent of track layout and assisted recording. The 2013 He6 is a modern high-volume production milestone, not a universal invention date: earlier disk systems used an external helium supply [history]. Gas-bearing geometry and heat transfer still govern local head clearance [gas-model]. HelioSeal names Western Digital's platform, not every helium HDD [card]. Advantages: - The HGST development report describes denser platter packaging after reducing flow-induced vibration. (sources: [c1]) Limitations: - Construction evidence does not establish a fleet failure rate or a lifetime diagnostic-port standard. (sources: [card]) Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [dual-actuator](https://hesela.dev/terms/dual-actuator/) - [helium-leak-port](https://hesela.dev/terms/helium-leak-port/) - [head-gas-bearing](https://hesela.dev/terms/head-gas-bearing/) - [flying-height](https://hesela.dev/terms/flying-height/) - [fluid-dynamic-bearing](https://hesela.dev/terms/fluid-dynamic-bearing/) Citations: - [c1] Aoyagi et al. (2017), JSME IIP2017 B-03, sections 2-4; DOI 10.1299/jsmeiip.2017.B-03. https://www.jstage.jst.go.jp/article/jsmeiip/2017/0/2017_B-03/_pdf/-char/en (accessed 2026-10-16) - [history] Roger Wood, Computer History Museum, helium-drive history, pp. 4-6. https://d1yx3ys82bpsa0.cloudfront.net/groups/chm-helium-white-paper.pdf (accessed 2026-10-16) - [gas-model] Nan Liu (2010), UC Berkeley dissertation, chapter 8: TFC sliders in air-helium mixtures. https://cml.berkeley.edu/wp-content/uploads/gold-reports/G10002.pdf (accessed 2026-10-16) - [card] Hesela: helium HDD construction and evidence boundaries. https://hesela.com/tech/helium-hdd/ (accessed 2026-10-16) ### Helium leak port URL: https://hesela.dev/terms/helium-leak-port/ Status: unknown Record updated: 2026-10-16 Helium leak port is an unverified legacy corpus label, not an established name for a lifetime diagnostic interface on helium HDDs. Note: Correction, 2026-10-16: the previous diagnostic-port definition is withdrawn. Seagate documents a manufacturing fill port with a final seal, separately from internal environmental sensors [sealing]. Neither establishes the claimed service interface. The existing slug and name remain for compatibility and to make the correction discoverable; they are not confirmation that this is standard terminology [card]. Limitations: - Do not infer a user-accessible test or refill connection from this legacy label. (sources: [sealing]) Related terms: - [helium-hdd](https://hesela.dev/terms/helium-hdd/) - [head-gas-bearing](https://hesela.dev/terms/head-gas-bearing/) Citations: - [sealing] Seagate TP686.1-1602US (February 2016), pp. 3-4: fill-port seal and internal sensors. https://www.seagate.com/files/www-content/product-content/enterprise-hdd-fam/enterprise-capacity-3-5-hdd-10tb/_shared/docs/helium-drive-launch-tp686-1-1602us.pdf (accessed 2026-10-16) - [card] Hesela: helium HDD construction and evidence boundaries. https://hesela.com/tech/helium-hdd/ (accessed 2026-10-16) ### Hermes replication URL: https://hesela.dev/terms/hermes-replication/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: Hermes protocol, HermesKV Status: research Record updated: 2026-11-16 Hermes is a replication protocol that combines invalidations and per-key logical timestamps to provide linearizable operations on in-memory data. Note: In the lease-based design, local reads require a Valid key and an operational replica with a membership lease. An invalid key stalls reads. Any replica can coordinate a write, but it needs acknowledgements from every other member of the current live group, not just a majority. [project] In the base failure-free path, the coordinator can reply after one round trip; validation messages still follow. Invalidation already carries the new value and timestamp. A blocked replica can replay that value with the original timestamp, preserving the write order. [paper] Failure handling: a missing acknowledgement is not permission to remove a replica locally. Reliable membership reconfiguration follows lease expiry; minority partitions stop serving requests. Ordinary writes avoid conflict aborts, but read-modify-write operations can abort. [paper] Timing scope: one round trip is measured from a replica, not an external client. The clock-free variant waits for majority-backed membership confirmation before returning speculative reads. [paper] Artifact boundary: the published implementation uses an RDMA cluster. Its protocol-action diagram includes optimizations beyond the paper, including starting writes from Invalid state; do not treat the diagram as the base state machine. [artifact] [artifact-notes] Limitations: - Single-key linearizability does not supply multi-key transactions or disk persistence; the stated failure model is non-Byzantine crash-stop and network faults. (sources: [paper]) Sources and caveats: - Source synthesis of the ASPLOS 2020 paper and pinned research artifact; no native RDMA experiment or model-checker run was performed. - The paper's benchmark uses in-memory key-value stores and protocol-specific configurations; its throughput is not evidence of persistent-storage performance. [paper] Related terms: - [craq](https://hesela.dev/terms/craq/) - [linearizability](https://hesela.dev/terms/linearizability/) - [quorum-lease](https://hesela.dev/terms/quorum-lease/) Citations: - [paper] Katsarakis et al. Hermes: a Fast, Fault-Tolerant and Linearizable Replication Protocol. ASPLOS 2020, sections 2.4, 3, 5 and 8. https://homepages.inf.ed.ac.uk/bgrot/pubs/HERMES_ASPLOS20.pdf (accessed 2026-11-16) - [project] Hermes research project: protocol properties and read authority. https://hermes-protocol.com/ (accessed 2026-11-16) - [artifact] Hermes artifact README, revision 949229c23881: implementation and hardware requirements. https://github.com/ease-lab/Hermes/blob/949229c238818509aed1435c46f9a76819ce2818/README.md (accessed 2026-11-16) - [artifact-notes] Hermes formal-specification README, revision 949229c23881: diagram optimizations. https://github.com/ease-lab/Hermes/blob/949229c238818509aed1435c46f9a76819ce2818/tla/README.md (accessed 2026-11-16) ### Hermit URL: https://hesela.dev/terms/hermit/ Also known as: Hermit remote memory Status: research Record updated: 2026-11-16 Hermit is a research Linux swap system that uses feedback-directed asynchronous work to reduce remote-memory page-fault costs without changing application code. Note: Feedback, not unlimited background work: Hermit adjusts reclamation using memory pressure and page turnaround, batches swap-out work, and overlaps reversible work with reads. Speculative duplicate fetches still resolve ownership at the final page-table update; losing requests release their pages. [paper] Denominator audit: Section 6.4.1 reports 13.8 to 10.2 microseconds but calls the reduction 35%. From those rounded endpoints, (13.8 - 10.2) / 13.8 is 26.1%; 13.8 / 10.2 - 1 is 35.3%, an inverse-latency gain. These are different metrics, not contradictory timings. The executable arithmetic does not reproduce the experiment. [paper] [arithmetic] [code] Overhead is not a share: The introduction's 14-microsecond total and 9-microsecond RDMA time imply a 5-microsecond residual: 55.6% relative to RDMA, but 35.7% of total latency. Do not mix these rounded inputs with the later 13.8-microsecond breakdown. [paper] [arithmetic] Evaluation boundary: The study used a CPU server and memory server on 100 GbE; Fastswap was ported to the same kernel. Its six workloads and local-memory ratios delimit the evidence. Less local memory can still make reclaim threads compete with application threads. [paper] Prototype boundary: The pinned tree targets Linux 5.14-rc5 and cgroup-v1. hermit_init initializes control flags to false; the README enables selected flags separately. The remoteswap README also offers a local-DRAM debugging backend, which cannot establish network performance. A fake swap file alone establishes no recovery guarantee. [readme] [init] [backend] Sources and caveats: - Source inspection and arithmetic audit, not a native Hermit run, RDMA benchmark, crash test or performance replication. - Endpoint calculations inherit the paper's rounding; raw observations and sampling uncertainty were not reconstructed. A reciprocal latency ratio is not a measured application-throughput increase. - Pinned source and documentation describe inspected artifacts, not proof of the exact revision or runtime configuration used for the paper's experiments. Related terms: - [fastswap](https://hesela.dev/terms/fastswap/) - [infiniswap](https://hesela.dev/terms/infiniswap/) - [canvas](https://hesela.dev/terms/canvas/) Citations: - [paper] Qiao et al. Hermit: Low-Latency, High-Throughput, and Transparent Remote Memory via Feedback-Directed Asynchrony. NSDI 2023; sections 1, 4-6, figure 10. https://www.usenix.org/system/files/nsdi23-qiao.pdf (accessed 2026-11-15) - [readme] Hermit authors: pinned kernel, cgroup-v1 and explicit activation recipe. https://github.com/uclasystem/hermit/blob/10dfa5c918310559376069160bec6609a9a41fd4/README.md (accessed 2026-11-15) - [init] Hermit authors: control flags, debugfs exposure and hermit_init, pinned revision 10dfa5c. https://github.com/uclasystem/hermit/blob/10dfa5c918310559376069160bec6609a9a41fd4/linux-5.14-rc5/mm/hermit.c (accessed 2026-11-15) - [backend] Hermit authors: remoteswap RDMA setup, fake swap partition and local-DRAM debugging backend. https://github.com/uclasystem/hermit/blob/10dfa5c918310559376069160bec6609a9a41fd4/remoteswap/README.md (accessed 2026-11-15) - [arithmetic] Hesela: explicit denominators calculated from rounded published latency endpoints. https://hesela.dev/research/hermit-latency.json (accessed 2026-11-15) - [code] Hesela: executable latency-ratio arithmetic and validation. https://hesela.dev/research/hermit-latency.mjs (accessed 2026-11-15) ### Hexadecimal byte encoding URL: https://hesela.dev/terms/hexadecimal/ Also known as: Base16, Base 16, Hex encoding, Hex Status: shipping Record updated: 2026-11-21 Hexadecimal byte encoding represents each octet as two hexadecimal characters while preserving the byte sequence. Note: Representation: Each character represents four bits, so an octet requires two characters and no padding. Base16 is case-insensitive; a protocol requiring one canonical text spelling must specify its letter case. Encoding bytes is not checksum computation, encryption or compression. [rfc4648] Validation: Node Buffer.from(text, 'hex') can truncate at a non-hex character or an unmatched final digit. Both 1a7 and 1ag123 decode to the single byte 1a. Even a full-length digest followed by invalid text can produce the expected digest bytes. Decoded length and equality alone do not validate the complete input. [node-buffer] [hesela-hex] Whitespace: Python bytes.fromhex accepts ASCII whitespace between complete byte pairs: aa bb decodes to aabb, while a b is rejected. An unseparated checksum profile must reject that whitespace before decoding. The accepted alphabet, length, separators and case policy belong to the representation contract. [python-fromhex] Byte identity: Preserve leading zero bytes: 0001 and 01 encode different byte sequences. Hex display does not assign integer byte order; the bytes 01 00 represent 256 as a big-endian unsigned integer and 1 as little-endian. [hesela-hex] Sources and caveats: - Primary-source synthesis and synthetic native decoder checks; no storage-service experiment or vulnerability claim. - Reproducible observations, runtime versions and controls: https://hesela.dev/research/hexadecimal/observations.json and https://hesela.dev/research/hexadecimal/probe.test.mjs. Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [byte](https://hesela.dev/terms/byte/) - [byte-order](https://hesela.dev/terms/byte-order/) Citations: - [rfc4648] RFC 4648: Base16 encoding, non-alphabet input and test vectors; sections 3.3, 8 and 10. https://www.rfc-editor.org/rfc/rfc4648.html#section-8 (accessed 2026-11-21) - [node-buffer] Node.js 24 Buffer: hexadecimal encoding and truncated decoding. https://nodejs.org/docs/latest-v24.x/api/buffer.html#buffers-and-character-encodings (accessed 2026-11-21) - [python-fromhex] Python 3.12 bytes.fromhex: hexadecimal digits and ASCII whitespace. https://docs.python.org/3.12/library/stdtypes.html#bytes.fromhex (accessed 2026-11-21) - [hesela-hex] Hesela: validate the whole hexadecimal checksum. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#hexadecimal-input (accessed 2026-11-21) ### Hibernator URL: https://hesela.dev/terms/hibernator/ Also known as: Hibernator disk array Status: research Record updated: 2026-11-29 Hibernator is a research disk-array design that coordinates rotational speeds and data placement to reduce energy use under an average-response-time target. Note: Coarse-grain Response selects speeds for successive epochs. Hotter data moves toward faster tiers; randomized shuffling redistributes data and parity during reconfiguration. The assumed disks stop before changing speed. [sosp05] Its safeguard raises all disks to full speed when the observed mean exceeds the limit. This is a soft average target, not a per-request deadline, and assumes the full-speed layout can meet the target. [sosp05] Evaluation combined trace-driven simulation with a database application attached to emulated multi-speed storage. The emulator charged energy from modeled power states; it did not measure the electricity of physical variable-speed disks. [sosp05] Hesela's constructed example shows why both the weighting and the tail matter: 90 requests at 4 ms and 10 at 30 ms average 6.6 ms, not the 17 ms mean of the two group means. Two further populations both average 10 ms but have nearest-rank p99 values of 4 ms and 304 ms. All requests are counted once and completed; these values are not Hibernator measurements. [example] Limitations: - Trace replay and a closed-loop application can offer different loads when storage slows; the paper discusses this difference in section 6. (sources: [sosp05]) Related terms: - [maid](https://hesela.dev/terms/maid/) - [power-state-break-even-time](https://hesela.dev/terms/power-state-break-even-time/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [drpm](https://hesela.dev/terms/drpm/) Citations: - [sosp05] Zhu et al. Hibernator: Helping Disk Arrays Sleep through the Winter. SOSP 2005, sections 3-6. DOI 10.1145/1095810.1095828. https://john.e-wilkes.com/papers/sosp2005-hibernator.pdf (accessed 2026-11-29) - [example] Hesela: request-weighted means and equal-mean latency populations; constructed inputs, exact calculations and tests. https://hesela.dev/research/hibernator-response/README.md (accessed 2026-11-29) ### Hierarchical storage management URL: https://hesela.dev/terms/hierarchical-storage-management/ Also known as: HSM Status: shipping Record updated: 2026-11-09 Hierarchical storage management automates data migration between storage tiers according to policies that balance access needs, capacity and cost. Note: HSM places less active data on lower-cost storage so higher-performance capacity can serve active work. Inactivity is a common policy input, not a requirement to use tape or any fixed sequence of media. [snia-hsm] File-based implementations can retain a local stub containing the information needed to locate and recall migrated data. Some metadata requests can be answered without fetching the payload. A pathname can therefore remain visible while its data is elsewhere. [hsm-migration] Premigration can retain the complete local file alongside its remote copy. In the documented client, later stubbing of premigrated files reclaims local space without resending their payload. A copied file is not necessarily a released file. [hsm-premigration] Migration changes placement; it does not by itself establish an independently retained recovery copy. Back up resident and migrated files according to the recovery requirement. Restoring a stub and restoring the complete file are different operations: recall through a restored stub still depends on an available, matching migration copy. [hsm-backup] For recovery planning, check the namespace or stub metadata, backend payload and retrieval service together. Treat that as an engineering checklist, not a durability guarantee from an HSM label. [hsm-overview] [hsm-backup] HSM need not use whole-file stubs. HighLight's 1993 design used a common block address space and fetched whole tertiary segments. Its initial selection policy still used file-level information; finer access-range tracking was future work. Distinguish the transfer unit from the policy's observation unit. [hsm-highlight] Sources and caveats: - SNIA supplies the general concept; IBM manuals for 8.1.27, 8.2.0 and 8.2.1 supply implementation examples, not a universal stub format or recall mode. - IBM documentation was read through indexed primary-source text; direct page requests returned HTTP 403. No HSM system or restore experiment was operated. - The recovery-dependency checklist is an engineering inference. Human-facing context: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/#hsm-placement - HighLight's mechanism and policy sections were read in the author-uploaded full text. Publisher-linked DOI 10.1109/MASS.1993.289765 establishes 1993; the repository's 1996 label is not used as the publication year. Related terms: - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [lustre-hsm](https://hesela.dev/terms/lustre-hsm/) - [lustre-hsm-release](https://hesela.dev/terms/lustre-hsm-release/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [backup](https://hesela.dev/terms/backup/) - [restore-test](https://hesela.dev/terms/restore-test/) Citations: - [snia-hsm] SNIA Dictionary: hierarchical storage management. https://www.snia.org/education/online-dictionary/term/hierarchical-storage-management (accessed 2026-11-09) - [hsm-migration] IBM Storage Protect for Space Management 8.2.0: Migrating files overview. https://www.ibm.com/docs/en/spfsm/8.2.0?topic=client-migrating-files-overview (accessed 2026-11-09) - [hsm-overview] IBM Storage Protect for Space Management 8.2.1: Overview of the space management client. https://www.ibm.com/docs/en/spfsm/8.2.1?topic=overview-space-management-client (accessed 2026-11-09) - [hsm-backup] IBM Storage Protect for Space Management 8.2.1: Backup and restore on space managed file systems. https://www.ibm.com/docs/en/spfsm/8.2.1?topic=systems-backup-restore-space-managed-file (accessed 2026-11-09) - [hsm-premigration] IBM Storage Protect for Space Management 8.1.27: dsmmigrate. https://www.ibm.com/docs/en/spfsm/8.1.27?topic=reference-dsmmigrate (accessed 2026-11-09) - [hsm-highlight] Kohl, Stonebraker and Staelin (1993): HighLight: a file system for tertiary storage (author-uploaded full text). https://www.researchgate.net/publication/2249371_Highlight_A_File_System_For_Tertiary_Storage (accessed 2026-11-09) ### Hint bit URL: https://hesela.dev/terms/hint-bit/ Also known as: PostgreSQL hint bit, tuple hint bits Status: shipping Record updated: 2026-10-16 A PostgreSQL hint bit is a tuple-header flag caching transaction-status information used to determine row visibility. Note: Visibility checks can set hint bits and dirty a page during a read, without changing application row values. SetHintBits in REL_18_0 also checks persistence ordering before recording committed status. [pg-hint-code] wal_log_hints controls WAL protection for hint-only changes, not the use of hint bits. Data checksums require that protection regardless of the setting. [pg-settings] Sources and caveats: - Scoped to PostgreSQL 18 documentation and the REL_18_0 implementation; no workload or power-loss experiment. Related terms: - [full-page-write](https://hesela.dev/terms/full-page-write/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) Citations: - [pg-hint-code] PostgreSQL REL_18_0: heapam_visibility.c, SetHintBits and visibility checks. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/access/heap/heapam_visibility.c (accessed 2026-10-16) - [pg-settings] PostgreSQL 18: WAL settings, hint logging and image compression. https://www.postgresql.org/docs/18/runtime-config-wal.html (accessed 2026-10-16) - [hesela-wal] Hesela: WAL page images, hint-bit changes and measurement boundaries. https://hesela.com/analyses/wal-checkpoints-torn-pages/#pg-page-images (accessed 2026-10-16) ### Hinted handoff URL: https://hesela.dev/terms/hinted-handoff/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Status: shipping Record updated: 2026-11-07 Hinted handoff retains information about an update missed by an intended replica and attempts to deliver it later. Note: Cassandra 5.0.0 coordinators retain missed or timed-out mutations for later delivery to their intended replicas. Hints are best effort and do not replace anti-entropy repair. [hints] Acknowledgements: For ordinary non-counter writes, ANY can be satisfied by a coordinator hint. ONE and QUORUM require replica responses. Hint-only acceptance does not establish immediate read availability; ANY is not a read consistency level. [cassandra] [levels] [proxy] Lifetime: max_hint_window limits new hint generation, not a universal expiry time or replay deadline. Default-enabled persistent windows also consider the oldest retained hint for the destination. Expiry separately depends on the affected tables' recorded and current gc_grace_seconds, capped by the maximum hint TTL. [config] [hint-code] Limitations: - An empty hint queue does not prove that replicas have received every missed mutation. (sources: [hints], [config]) - A hint acknowledgement alone is not evidence that an fsync completed. (sources: [proxy], [hint-service]) Related terms: - [anti-entropy-repair](https://hesela.dev/terms/anti-entropy-repair/) - [read-repair](https://hesela.dev/terms/read-repair/) - [sloppy-quorum](https://hesela.dev/terms/sloppy-quorum/) - [write-quorum](https://hesela.dev/terms/write-quorum/) Citations: - [hints] Apache Cassandra 5.0.0: Hints. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/managing/operating/hints.adoc (accessed 2026-11-07) - [config] Apache Cassandra 5.0.0: max_hint_window configuration. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/conf/cassandra.yaml (accessed 2026-11-07) - [hesela-repair] Replica repair: what has actually converged? https://hesela.com/analyses/replica-repair-coverage/ (accessed 2026-10-13) - [cassandra] Apache Cassandra 5.0.0: Dynamo architecture and consistency levels. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/architecture/dynamo.adoc (accessed 2026-11-07) - [levels] Apache Cassandra 5.0.0: ConsistencyLevel.java, read and counter-write validation. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/src/java/org/apache/cassandra/db/ConsistencyLevel.java (accessed 2026-11-07) - [proxy] Apache Cassandra 5.0.0: StorageProxy.java, submitHint and shouldHint. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/src/java/org/apache/cassandra/service/StorageProxy.java (accessed 2026-11-07) - [hint-code] Apache Cassandra 5.0.0: Hint.java, ttl and expirationInMillis. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/src/java/org/apache/cassandra/hints/Hint.java (accessed 2026-11-07) - [hint-service] Apache Cassandra 5.0.0: HintsService.java, buffered write and flushAndFsyncBlockingly. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/src/java/org/apache/cassandra/hints/HintsService.java (accessed 2026-11-07) ### Hippodrome URL: https://hesela.dev/terms/hippodrome/ Also known as: Hippodrome storage configuration Status: research Record updated: 2026-12-02 Hippodrome is a storage-management research system that iterates workload analysis, configuration search and data migration. Note: The loop can start from capacity requirements, then revise demand estimates as a less-constrained configuration exposes more I/O. Its solver assigns stores to logical units using device-utilization models. [hippodrome02] Workload feedback is distinct from model learning. The published prototype did not refine its device-performance models from observed prediction errors. [hippodrome02] Evaluation used random-access workloads and a scaled PostMark benchmark on a 60-disk array, restricting configurations to six-disk RAID-5 logical units. Synthetic runs recreated volumes without copying data; PostMark runs copied from a master. These shortcuts limit migration-time conclusions. [hippodrome02] CHAMELEON instead adjusts competing workloads' I/O rates using learned models and incremental feedback; changing a configuration and throttling its traffic are different interventions. [chameleon05] Sources and caveats: - Primary-paper synthesis of a historical prototype, not a replication or a current SSD configuration benchmark. [hippodrome02] Related terms: - [chameleon](https://hesela.dev/terms/chameleon/) - [disk-model-demerit](https://hesela.dev/terms/disk-model-demerit/) Citations: - [hippodrome02] Anderson et al. Hippodrome: Running Circles Around Storage Administration. FAST 2002, pp. 175-188, sections 3-5. https://www.usenix.org/legacy/publications/library/proceedings/fast02/full_papers/andersonHIP/andersonHIP.pdf (accessed 2026-12-02) - [chameleon05] Uttamchandani et al. CHAMELEON: A Self-Evolving, Fully-Adaptive Resource Arbitrator for Storage Systems. USENIX ATC 2005, sections 2-3. https://www.usenix.org/legacy/events/usenix05/tech/general/full_papers/uttamchandani/uttamchandani_html/paper.html (accessed 2026-12-02) - [analysis] Hesela: workload feedback and configuration validation. https://hesela.com/analyses/disk-model-demerit-validation/#hippodrome (accessed 2026-12-02) ### History independence URL: https://hesela.dev/terms/history-independence/ Also known as: History-independent storage Status: research Record updated: 2026-11-12 History independence limits what a stored representation reveals about prior operations beyond the abstract state permitted by its security model. Note: Observation model: Weak history independence considers one inspection; strong history independence considers repeated inspections. The protected representation and permitted observations must be specified. [hiflash] Different guarantees: Hiding a remote access trace does not automatically hide history after client compromise. In vORAM+HIRB, the HIRB structure is history independent but the combined system permits bounded recent-history leakage; its secure-deletion guarantee is separate. The model assumes an honest-but-curious server and locally erasable client memory. [voram-hirb] Limitations: - A property proved for one layer does not automatically cover the physical flash layout beneath it. (sources: [hiflash]) Related terms: - [oblivious-ram](https://hesela.dev/terms/oblivious-ram/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) - [ftl](https://hesela.dev/terms/ftl/) Citations: - [hiflash] Chen and Sion. HiFlash: A History Independent Flash Device. arXiv:1511.05180v1 (2015), sections II, IV and VI. https://arxiv.org/abs/1511.05180v1 (accessed 2026-11-12) - [voram-hirb] Roche, Aviv and Choi. A Practical Oblivious Map Data Structure with Secure Deletion and History Independence. arXiv:1505.07391v2, sections 1.2-1.3 and 3. https://arxiv.org/abs/1505.07391v2 (accessed 2026-11-12) - [hesela] Hesela: Deleted content and historical traces are different targets. https://hesela.com/analyses/ssd-sanitization-trim-evidence/#history-independence (accessed 2026-11-12) ### Hitchhiker URL: https://hesela.dev/terms/hitchhiker/ Related analysis: https://hesela.com/analyses/lrc-repair-costs-locality/ Also known as: Hitchhiker-XOR, Hitchhiker-XOR+, Hitchhiker-nonXOR Status: limited Record updated: 2026-11-03 Hitchhiker is an erasure-coded storage design that couples Reed-Solomon instances to reduce single-data-unit repair traffic without adding parity units. Note: Piggybacking adds functions of earlier code instances to later ones. Decoding the earlier instance allows those additions to be removed; the underlying recovery property is retained. Useful repair savings depend on the chosen functions, not merely on coupling instances. [piggybacking] Hitchhiker distinguishes XOR, XOR+ and nonXOR variants. XOR+ requires an all-XOR parity in its base code. Parity repair is not the optimized data-repair case; hop-and-couple addresses scattered substripe reads. [hitchhiker2014] The versioned decoder selects its special path only for one erased data unit; parity or multiple erasures take another path. That implementation does not establish a default HDFS deployment: the 3.4.3 policy guide lists RS and XOR codecs. [hadoop-hh343] [hdfs-ec343] In the fixed 10+4 accounting example, XOR+ reads 6.5 block-equivalents per missing data block and 10 for parity. Uniformly weighting ten data roles and four parity roles gives 7.5, a 25% reduction from the 10-block baseline, not the data-only 35%. These are independent repair counts, not a full-stripe outage or measured speedup. [hesela-hitchhiker] Hop-length controls a locality trade-off: half a block makes each substripe contiguous, but a short degraded read may also reconstruct its unrequested coupled bytes. Smaller hops reduce that separation at the cost of less contiguous substripe reads. Whole-block accounting does not establish small-read cost. [hitchhiker2014] Advantages: - Retains the base code's recovery property while allowing a different repair-read pattern. (sources: [piggybacking]) Limitations: - A decoder class alone does not establish an enabled HDFS policy or disk-level read savings. (sources: [hadoop-hh343], [hdfs-ec343]) Sources and caveats: - Status denotes a versioned implementation component, not a default filesystem policy. The public accounting module does not execute an encoder, decoder or HDFS cluster. Related terms: - [piggybacking-code](https://hesela.dev/terms/piggybacking-code/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [subpacketization](https://hesela.dev/terms/subpacketization/) Citations: - [hitchhiker2014] Rashmi et al. A Hitchhiker's Guide to Fast and Efficient Data Reconstruction in Erasure-coded Data Centers. SIGCOMM 2014, sections 3-7 and Appendix. https://www.cs.cmu.edu/~nihars/publications/Hitchhiker_SIGCOMM14.pdf (accessed 2026-11-03) - [piggybacking] Rashmi, Shah and Ramchandran. A Piggybacking Design Framework for Read-and Download-efficient Distributed Storage Codes, section II. https://www.cs.cmu.edu/~nihars/publications/Piggybacking.pdf (accessed 2026-11-03) - [hadoop-hh343] Apache Hadoop 3.4.3: HHXORErasureDecodingStep, single-data versus multiple/parity dispatch. https://github.com/apache/hadoop/blob/rel/release-3.4.3/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/coder/HHXORErasureDecodingStep.java (accessed 2026-11-03) - [hdfs-ec343] Apache Hadoop 3.4.3: HDFS Erasure Coding, supplied policies and supported codecs. https://hadoop.apache.org/docs/r3.4.3/hadoop-project-dist/hadoop-hdfs/HDFSErasureCoding.html (accessed 2026-11-03) - [hesela-hitchhiker] Hesela: Hitchhiker read plans and role-weighted recovery accounting. https://hesela.com/analyses/lrc-repair-costs-locality/#hitchhiker-read-plans (accessed 2026-11-03) ### Host-managed SMR (HM-SMR) URL: https://hesela.dev/terms/hm-smr/ Technology reference: https://hesela.com/tech/hm-smr/ Also known as: HM-SMR, host-managed zoned SMR, ZBC/ZAC host-managed Status: limited Record updated: 2026-11-14 An SMR disk interface that requires writes in sequential-write-required zones to begin at the zone write pointer. Note: Write rules: Sequential-write-required zones reject writes away from the write pointer. Optional conventional zones permit random writes. Closing preserves a zone's write position; a successful reset of an eligible sequential zone makes its previous contents invalid and permits reuse from the start. [c1] Resource limits: ZBC/ZAC can impose an open-zone limit, but define neither a ZNS-style active-zone limit nor native Zone Append. Append semantics may be emulated by host software. [c2] Software path: A general-purpose zoned-aware filesystem, or a suitable filesystem over dm-zoned, can handle placement for ordinary applications. zonefs exposes zones as files and leaves sequential writing to the application. [c3] Advantages: - SCSI and ATA implementations expose compatible zone-management concepts. (sources: [c2]) Limitations: - A SAS HBA must recognize host-managed devices and translate ZBC commands for attached ATA ZAC disks. (sources: [c4]) Sources and caveats: - Zoned Storage is maintained by Western Digital; the cited pages explain interface and software behavior, not comparative drive benchmarks. Related terms: - [smr](https://hesela.dev/terms/smr/) - [host-aware-smr](https://hesela.dev/terms/host-aware-smr/) - [device-managed-smr](https://hesela.dev/terms/device-managed-smr/) - [zns](https://hesela.dev/terms/zns/) - [zbc](https://hesela.dev/terms/zbc/) - [zac](https://hesela.dev/terms/zac/) - [zone-write-pointer](https://hesela.dev/terms/zone-write-pointer/) - [zone-reset](https://hesela.dev/terms/zone-reset/) - [open-zone-limit](https://hesela.dev/terms/open-zone-limit/) - [smore](https://hesela.dev/terms/smore/) - [smrstore](https://hesela.dev/terms/smrstore/) Citations: - [c1] Zoned Storage: zone models and management commands. https://zonedstorage.io/docs/introduction/zoned-storage (accessed 2026-10-18) - [c2] Zoned Storage: SMR zone types, resource limits and Zone Append. https://zonedstorage.io/docs/introduction/smr (accessed 2026-10-18) - [c3] Zoned Storage: Linux zoned storage access paths. https://zonedstorage.io/docs/linux/overview (accessed 2026-10-18) - [c4] Zoned Storage: SMR identification and HBA compatibility. https://zonedstorage.io/docs/getting-started/smr-disk (accessed 2026-10-18) ### HMAC URL: https://hesela.dev/terms/hmac/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Hash-based message authentication code, Keyed-hash message authentication code Status: shipping Record updated: 2026-10-22 HMAC is a message authentication code constructed from a cryptographic hash function and a shared secret key. Note: Generating and checking a tag uses the secret key. HMAC authenticates the covered bytes under the chosen algorithm and key assumptions; it does not encrypt them. HMAC-SHA-256 is one specific instantiation. [rfc2104] [rfc4231] A payload-only tag does not by itself establish a storage address or version. The surrounding protocol must bind the intended context, for example through unambiguous authenticated fields checked against trusted expectations. A previously valid record can still pass its tag check when replayed under the same key. [hesela-hmac] The authenticated input must preserve field boundaries. Hesela's selected address/generation pairs produce identical concatenated bytes even with the same role label; the fixed tuple distinguishes them. This is an encoding ambiguity, not an HMAC collision. [hesela-encoding] The original MAC security model requires a forgery on a message not previously authenticated. Replaying an already valid message/tag pair is outside that event, so freshness remains a protocol responsibility. [bck1996] Limitations: - Authentication does not provide confidentiality, repair damaged data or establish that a storage write survived a crash. (sources: [rfc2104], [hesela-hmac]) - A valid tag does not establish freshness or distinguish which holder of the shared key generated it. (sources: [rfc2104], [hesela-hmac]) Sources and caveats: - RFC 2104 is used for the construction, not its historical MD5 or SHA-1 recommendations. - The storage-context and replay examples are deterministic synthetic fixtures using a public test key, not device measurements or a security proof. Related terms: - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [checksum](https://hesela.dev/terms/checksum/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [dm-integrity](https://hesela.dev/terms/dm-integrity/) - [replay-attack](https://hesela.dev/terms/replay-attack/) - [rollback-protection](https://hesela.dev/terms/rollback-protection/) - [message-authentication-code](https://hesela.dev/terms/message-authentication-code/) - [hash-domain-separation](https://hesela.dev/terms/hash-domain-separation/) Citations: - [rfc2104] RFC 2104: HMAC construction and shared-key authentication, sections 1-2. https://www.rfc-editor.org/rfc/rfc2104.html (accessed 2026-10-21) - [rfc4231] RFC 4231: HMAC-SHA-256 instantiation and test cases 1 through 6. https://www.rfc-editor.org/rfc/rfc4231.html (accessed 2026-10-22) - [hesela-hmac] Hesela: HMAC authenticates bytes, not the expected version. https://hesela.com/analyses/checksums-identity-and-lost-writes/#hmac-context (accessed 2026-10-21) - [hesela-encoding] Hesela: A role label does not separate the fields. https://hesela.com/analyses/checksums-identity-and-lost-writes/#hmac-field-encoding (accessed 2026-10-22) - [bck1996] Bellare, Canetti and Krawczyk (1996): MAC security definition, section 2.1. https://cseweb.ucsd.edu/~mihir/papers/kmd5.pdf (accessed 2026-10-22) ### Host memory buffer (HMB) URL: https://hesela.dev/terms/hmb/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: HMB Status: shipping Record updated: 2026-11-22 Host Memory Buffer is an optional NVMe feature through which a controller uses assigned host-memory ranges. Note: The host enables HMB through Set Features (feature identifier 0Dh). Its contents are vendor-specific: cached FTL mapping entries are a documented use, not a required layout. Unlike Controller Memory Buffer (CMB), HMB resides in host memory. [nvme] [micron-hmb] NVMe 1.4a requires correct operation without HMB and protection against data loss or corruption on surprise removal while HMB is used. These requirements do not establish protection for every in-flight write. [nvme] [micron-plp] HMPRE and HMMIN specify requested memory in 4 KiB units; HSIZE describes allocation in CC.MPS memory-page units. EHM reports enablement separately. [nvme] While HMB is enabled, the host must not modify its descriptor list or assigned memory. Successful completion of disabling HMB permits host reuse. When enabling HMB with Memory Return (MR)=1, the size, descriptor-list address, descriptors and buffer contents must match what the controller last saw before HMB was disabled. MR=0 specifies an allocation whose contents are undefined to the controller. This return contract is not a persistence guarantee. [nvme] Re-enabling an enabled HMB returns Command Sequence Error; disabling an already disabled HMB succeeds without changing state. [nvme] A DIMVA 2025 study demonstrated timing communication across VMs sharing HMB translation ranges. File separation alone did not isolate cache state; the tested storage path and eviction behavior mattered. This is a device-specific observation, not universal exploitability. [hmb-timing] Advantages: - Host-provided working memory can support an SSD architecture without onboard DRAM. (sources: [kioxia]) - More space for cached FTL tables can reduce address-mapping overhead. (sources: [micron-hmb]) Limitations: - Actual allocation and performance depend on host support and device implementation. (sources: [nvme], [kioxia]) - Cache allocation does not specify hold-up energy or the recovery procedure for interrupted writes. (sources: [micron-plp]) Sources and caveats: - Protocol statements use NVMe 1.4a. KIOXIA and Micron describe implementations, not an independent comparison of all DRAM-less SSDs. - Kim and Kim's 2020 size-sweep evidence did not establish the mapping-cache interpretation for fixed-allocation SSD-B. [kim-hmb] Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [consumer-ssd](https://hesela.dev/terms/consumer-ssd/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [ftl](https://hesela.dev/terms/ftl/) - [dram-cache-ssd](https://hesela.dev/terms/dram-cache-ssd/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [translation-page](https://hesela.dev/terms/translation-page/) - [controller-memory-buffer](https://hesela.dev/terms/controller-memory-buffer/) - [nvme-persistent-memory-region](https://hesela.dev/terms/nvme-persistent-memory-region/) Citations: - [nvme] NVM Express 1.4a (9 March 2020), sections 5.15.2.2, 5.21.1.13 and 8.9. Copyright 2007-2020 NVM Express, Inc. https://www.nvmexpress.org/wp-content/uploads/NVM-Express-1_4a-2020.03.09-Ratified.pdf (accessed 2026-11-12) - [kioxia] KIOXIA: HMB (Host Memory Buffer) technology for DRAM-less SSDs, 28 August 2018. https://www.kioxia.com/en-jp/rd/technology/topics/topics-14.html (accessed 2026-10-12) - [hesela] SSD mapping caches: why DRAM size is not a speed rating. https://hesela.com/analyses/ssd-mapping-cache-hmb/ (accessed 2026-10-12) - [micron-hmb] Micron: Optimizing storage with host assists for the AI PC of the future. https://www.micron.com/about/blog/storage/ai/optimizing-storage-with-host-assists-for-the-ai-pc-of-the-future (accessed 2026-10-18) - [micron-plp] Micron: Client vs. Data Center SSDs, December 2023, page 5: data-at-rest and data-in-flight protection. https://www.micron.com/content/dam/micron/global/public/products/technical-marketing-brief/client-vs-enterprise-performance-use-cases-tech-brief.pdf (accessed 2026-10-18) - [hesela-hmb] Hesela: Host Memory Buffer (HMB). https://hesela.com/tech/hmb/ (accessed 2026-10-18) - [kim-hmb] Kim and Kim (2020). HMB in DRAM-less NVMe SSDs: Their usage and effects on performance. PLOS ONE 15(3): e0229645, section IV, Figure 10. https://doi.org/10.1371/journal.pone.0229645 (accessed 2026-10-18) - [hmb-timing] Juffinger et al. The HMB Timing Side Channel: Exploiting the SSD's Host Memory Buffer. DIMVA 2025, sections 3, 5.1, 6; DOI 10.1007/978-3-031-97620-9_10. https://tugraz.elsevierpure.com/ws/portalfiles/portal/92706772/The_HMB_Timing_Side_Channel.pdf (accessed 2026-11-22) ### Hole punching URL: https://hesela.dev/terms/hole-punching/ Also known as: file hole punching Status: shipping Record updated: 2026-11-09 Deallocating whole filesystem blocks within a file range while preserving the file's logical length and making the affected range read as zeros. Note: On Linux, FALLOC_FL_PUNCH_HOLE must be combined with FALLOC_FL_KEEP_SIZE; partial boundary blocks are zeroed rather than removed. The operation changes file content and requires filesystem support. It is not the same as collapsing a range, which shifts later data, or as a sanitization procedure. Advantages: - Can release whole blocks in a selected range without shortening the file. (sources: [fallocate]) Limitations: - A partial-block range need not release any whole filesystem block. (sources: [fallocate]) - File-level deallocation does not prove immediate physical reclamation below a thin pool. (sources: [lvmthin], [dm-thin]) Related terms: - [sparse-file](https://hesela.dev/terms/sparse-file/) - [file-preallocation](https://hesela.dev/terms/file-preallocation/) - [discard](https://hesela.dev/terms/discard/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) - [unwritten-extent](https://hesela.dev/terms/unwritten-extent/) - [madv-remove](https://hesela.dev/terms/madv-remove/) Citations: - [fallocate] Linux man-pages: fallocate(2), allocation and mode contracts. https://www.man7.org/linux/man-pages/man2/fallocate.2.html (accessed 2026-10-12) - [lvmthin] LVM2: lvmthin(7), physical allocation, discards and pool exhaustion. https://man7.org/linux/man-pages/man7/lvmthin.7.html (accessed 2026-10-12) - [dm-thin] Linux 6.12: device-mapper thin provisioning, metadata and exhaustion. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/admin-guide/device-mapper/thin-provisioning.rst (accessed 2026-10-12) - [hesela-allocation] Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ (accessed 2026-10-13) ### Holographic data storage URL: https://hesela.dev/terms/holographic-storage/ Related article: https://hesela.com/tech/holographic-data-storage/ Also known as: volume holographic storage Status: research Record updated: 2026-10-16 Holographic data storage records pages of bits as interference patterns of a data beam and a reference beam in a photosensitive medium, with many holograms sharing one volume. Note: One coherent beam carries a two-dimensional page of up to about a million bits from a spatial light modulator and the other is a plane-wave reference that indexes the page; because the medium is thick, several thousand holograms can share a volume by changing angle, wavelength or shift between recordings. [c2] Thin organic media suit rotating disks, thick photorefractive crystals angular multiplexing. [c2] With a linear medium the dynamic range per hologram is roughly the total divided by the number of holograms N, so readout signal falls as 1/N^2, signal-to-noise ratio falls with capacity and raw bit-error rate rises; integration time can compensate only at the expense of data rate. [c2] A rotating photopolymer disk demonstration read pages of about one megabit at 6 kHz, 6 Gb/s, with a raw error rate of about 0.8 percent that Reed-Solomon coding can correct, at about 5 bits per square micrometre. [c2] Arithmetic: doubling N cuts per-hologram signal to a quarter, 6 dB; 1024 x 1024 pixels x 6000 pages/s is 6.29 Gb/s. ECMA-377 (2007) specifies a 120 mm write-once cartridge of 200 GB with data holograms at 532.0 nm, a separate 655 nm beam for tracking, a 358 x 358 modulator with a 192 x 192 data page, a 300 rpm disk, and 208 pages of 1632 bytes per 188 user packets after Reed-Solomon parity. A finalizing step fixes the disk, which is operated at 35 +/- 2 degrees Celsius before it. [c3] Limitations: - Readout light erases the stored space-charge pattern in photorefractive crystals unless the hologram is fixed, for example by raising temperature during recording. [c2] (sources: [c2]) - The 2000 demonstration needed positioning repeatability better than 0.1 micrometre, and the standard prescribes micrometre-scale modulator and detector geometry. [c2][c3] (sources: [c2], [c3]) Sources and caveats: - The review is a 2000 university review written around two research consortia funded by a US defence research agency; the standard is from 2007; neither shows that a product exists, and no cost, price or market claim is made. - ECMA-377 was proposed by an alliance of companies, so it is not wholly vendor-independent; the review is the independent source. - The ACM Transactions on Storage article on holographic storage for the cloud returned an access-denied error and was not read. - Arithmetic: 192 x 192 = 36,864 pixels is 28.8 percent of the 128,164 modulator elements; user bytes are 192,512 / (208 x 1632) = 56.7 percent of data-page content after parity. - Arithmetic: 1024 x 1024 = 1,048,576 pixels per page, x 6000 pages/s = 6.29 Gb/s of channel data, consistent with the 6 Gb/s quoted; the standard gives 200 GB as nominal capacity and none is derived here. Related terms: - [optical-archival](https://hesela.dev/terms/optical-archival/) - [write-once-media](https://hesela.dev/terms/write-once-media/) - [optical-bler](https://hesela.dev/terms/optical-bler/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [magneto-optical](https://hesela.dev/terms/magneto-optical/) Citations: - [c1] Holographic data storage. https://en.wikipedia.org/wiki/Holographic_data_storage (accessed 2026-03-26) - [c2] Volume Holographic Data Storage, S. S. Orlov, Communications of the ACM, November 2000. https://cacm.acm.org/research/volume-holographic-data-storage/ (accessed 2026-10-16) - [c3] ECMA-377: Information Interchange on Holographic Versatile Disc (HVD) Recordable Cartridges, 200 Gbytes per Cartridge, May 2007 (Ecma). https://ecma-international.org/wp-content/uploads/ECMA-377_1st_edition_may_2007.pdf (accessed 2026-10-16) ### HORAE URL: https://hesela.dev/terms/horae/ Also known as: Horae I/O stack Status: research Record updated: 2026-11-29 HORAE is a research I/O stack that separates persistent write-order metadata from data transfers to reduce serialization. Note: Its ordering queue supports recovery, joint flushing across dependent devices and redirection of in-place updates. Durability remains a separate completion condition. [horae-osdi20] This prototype is not a standard NVMe flush feature. See the linked analysis for comparison limits. [hesela-horae] Sources and caveats: - Primary-source synthesis; no native HORAE execution, power-failure test or performance replication. Related terms: - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [cache-flush](https://hesela.dev/terms/cache-flush/) Citations: - [horae-osdi20] Xiaojian Liao, Youyou Lu, Erci Xu and Jiwu Shu. Write Dependency Disentanglement with HORAE. OSDI 2020, pp. 549-565; sections 4-6. https://www.usenix.org/conference/osdi20/presentation/liao (accessed 2026-11-29) - [hesela-horae] Hesela: HORAE and the scope of a joint flush. https://hesela.com/analyses/nfs-stable-writes-flush-fua/#horae-joint-flush (accessed 2026-11-29) ### Host-aware SMR URL: https://hesela.dev/terms/host-aware-smr/ Related article: https://hesela.com/tech/hm-smr/ Also known as: HA-SMR, host-aware shingled magnetic recording Status: research Record updated: 2026-10-18 A historical SMR disk interface that exposes zone information while accepting non-sequential writes in sequential-write-preferred zones. Note: Write model: Unlike host-managed SMR, host-aware disks accept random writes and remain usable as regular disks. Their sequential-write-preferred zones are distinct from host-managed sequential-write-required zones; conventional zones are optional in both models. [c1] Open zones: An advertised optimal open-zone count is a performance guideline rather than an enforced limit. Sequential placement can avoid work caused by non-sequential writes, but compatibility alone gives no workload latency guarantee. [c1] Linux support: Upstream Linux 6.8 removed the host-aware block-layer model while retaining ordinary block-device access. Do not expect queue/zoned to report host-aware; none does not establish CMR recording. This is distinct from device identification and command passthrough. [c3] Evidence scope: Wu et al. studied ST8000AS0022 drives with prototype firmware ZN03 in 2016. Bursty sequential writes and sustained non-sequential writes exposed different bottlenecks. Their 128-open-zone recommendation is device-specific, not an HA-SMR interface limit. [c4] Advantages: - The historical device interface permits zone-aware placement while accepting ordinary random writes; host software support is a separate requirement. (sources: [c2]) Limitations: - A SATA disk behind a SAS HBA needs compatible command translation to use its zone-management commands. (sources: [c2]) Sources and caveats: - Historical prototype interface; status research records that evidence, not current product availability. Linux behavior is qualified by the upstream removal commit; distributions may carry different patches. - The 2016 paper is a source review, not a reproduced experiment or a performance claim for other drives. Related terms: - [hm-smr](https://hesela.dev/terms/hm-smr/) - [device-managed-smr](https://hesela.dev/terms/device-managed-smr/) - [smr](https://hesela.dev/terms/smr/) - [zbc](https://hesela.dev/terms/zbc/) - [zac](https://hesela.dev/terms/zac/) - [zoned-block-device](https://hesela.dev/terms/zoned-block-device/) Citations: - [c1] Zoned Storage: SMR interface models, zone types and limits. https://zonedstorage.io/docs/introduction/smr (accessed 2026-10-18) - [c2] Zoned Storage: host-aware SMR and HBA compatibility. https://zonedstorage.io/docs/getting-started/smr-disk (accessed 2026-10-18) - [c3] Linux commit 7437bb73f087: remove the host-aware block-layer model. https://github.com/torvalds/linux/commit/7437bb73f087e5f216f9c6603f5149d354e315af (accessed 2026-10-18) - [c4] Wu et al., Evaluating Host Aware SMR Drives, HotStorage 2016, sections 3.1-3.3. https://www.usenix.org/system/files/conference/hotstorage16/hotstorage16_wu.pdf (accessed 2026-10-18) ### NVMe Host Controlled Thermal Management URL: https://hesela.dev/terms/host-controlled-thermal-management/ Related analysis: https://hesela.com/analyses/ssd-thermal-throttling-failures/ Also known as: HCTM, NVMe HCTM Status: shipping Record updated: 2026-10-21 NVMe Host Controlled Thermal Management is a controller feature through which a host configures temperature targets for automatic transitions to lower-power active power states or vendor-specific thermal actions. Note: Feature Identifier 10h sets TMT1 and TMT2 in kelvins; they are distinct from warning and critical composite thresholds. A zero disables the respective HCTM setting. [base23] SMART transition counts and action timers describe HCTM activity, with times in seconds and saturation at 0xFFFFFFFF; zero can mean no recorded activity or an unimplemented field. [base23] [nvmelog] Limitations: - Light and heavy throttling are examples, not fixed performance-loss percentages; these counters do not enumerate every vendor thermal action. (sources: [base23], [nvmelog]) Related terms: - [thermal-throttling-ssd](https://hesela.dev/terms/thermal-throttling-ssd/) - [nvme-composite-temperature](https://hesela.dev/terms/nvme-composite-temperature/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-warning-composite-temperature-time](https://hesela.dev/terms/nvme-warning-composite-temperature-time/) - [nvme-critical-composite-temperature-time](https://hesela.dev/terms/nvme-critical-composite-temperature-time/) - [nvme-autonomous-power-state-transition](https://hesela.dev/terms/nvme-autonomous-power-state-transition/) - [nvme-non-operational-power-state](https://hesela.dev/terms/nvme-non-operational-power-state/) Citations: - [base23] NVM Express Base Specification 2.3: Figure 210 (pp. 214-217), temperature hysteresis section 5.2.26.1.3.1, HCTM Figure 417 (p. 410). https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-15) - [nvmelog] libnvme v1.15: nvme_smart_log field definitions (July 2025). https://github.com/linux-nvme/libnvme/blob/v1.15/doc/man/nvme_smart_log.2 (accessed 2026-10-15) ### Host-managed band (SMR) URL: https://hesela.dev/terms/host-managed-band/ Also known as: host-managed zone, sequential write required zone Status: shipping Record updated: 2026-10-22 In host-managed shingled recording, the host tracks each sequentially written band, called a zone in the standards, and must write it strictly at its write pointer. Note: A host-managed zoned block device reports peripheral device type 14h, must support sequential write required zones and may add conventional and sequential write preferred zones. A host-aware device reports 00h and must not support sequential write required zones. [c2] Writes to a sequential write required zone must start at its write pointer and end on a physical-block boundary, or fail with UNALIGNED WRITE COMMAND. A write crossing the zone end gets WRITE BOUNDARY VIOLATION, and a read at or past the pointer gets ATTEMPT TO READ INVALID DATA. Writing the last LBA makes the zone FULL, only a write pointer reset makes an invalid pointer valid, and after a failed write the pointer may be unknown to the host. [c2] Linux describes each zone by 64-bit start, length, write pointer and capacity, a type and one of eight conditions, from empty and open to full, read-only and offline. [c4] Sequential zones accept random reads but no overwrite until reset. In one example a 15 TB host-managed SMR disk with 256 MB zones yields 55,356 sequential-zone files and a 140,391,743,488-byte conventional file, or 523 conventional zones of 256 MiB. [c3] Sources and caveats: - c2 is ZBC revision 1, a T10 working draft (May 2014) with open editor's notes, not the approved standard; it does not use the word band or mention SMR. - The link between zones and SMR media comes from Linux documentation (c3). - No cited source gives the capacity gain, performance or cost of host-managed SMR. - Arithmetic: 140,391,743,488 / 268,435,456 = 523 conventional zones; 523 + 55,356 = 55,879 zones. Related terms: - [hm-smr](https://hesela.dev/terms/hm-smr/) - [zbc](https://hesela.dev/terms/zbc/) - [zac](https://hesela.dev/terms/zac/) - [zoned-block-device](https://hesela.dev/terms/zoned-block-device/) - [zone-write-pointer](https://hesela.dev/terms/zone-write-pointer/) - [zone-reset](https://hesela.dev/terms/zone-reset/) - [zone-capacity](https://hesela.dev/terms/zone-capacity/) - [zone-finish](https://hesela.dev/terms/zone-finish/) Citations: - [c1] Host-managed band (SMR). https://en.wikipedia.org/wiki/Zoned_block_device (accessed 2026-03-26) - [c2] Zoned Block Commands (ZBC), T10/BSR INCITS 536 Revision 1, working draft. https://www.t10.org/ftp/zbcr01.pdf (accessed 2026-10-16) - [c3] ZoneFS - Zone filesystem for Zoned block devices, Linux kernel documentation. https://docs.kernel.org/filesystems/zonefs.html (accessed 2026-10-16) - [c4] include/uapi/linux/blkzoned.h, Linux kernel source. https://github.com/torvalds/linux/blob/master/include/uapi/linux/blkzoned.h (accessed 2026-10-16) ### Host Protected Area (HPA) URL: https://hesela.dev/terms/host-protected-area/ Related analysis: https://hesela.com/analyses/ssd-sanitization-trim-evidence/ Also known as: HPA, Host-Protected Area Status: unknown Record updated: 2026-10-24 A Host Protected Area is a region excluded from ordinary host reads and writes by an optional legacy ATA feature that lowers the device's maximum user-accessible address. Note: HPA changes the address limit reported to the host, not the partition table. The ATA/ATAPI-6 working draft describes reserving upper addresses for system data; it is historical evidence, not a current approved standard. [ata6-draft] This logical access restriction is distinct from SSD spare NAND and remapped pages. Removing it is not a sanitization operation. Accessible Max Address Configuration (AMAC) is a separate feature set. An HPA erase rule does not establish normal-mode ATA Security Erase coverage with AMAC. [seagate-erase-scope] [seagate-ata-security-2026] In the ATA/ATAPI-6 draft, the SET MAX security extension uses a password separate from Security Mode. An accepted SET MAX FREEZE LOCK blocks subsequent SET MAX commands, including SET MAX UNLOCK, until a power cycle. It does not make accessible user data read-only or certify erased data. [ata6-draft] Limitations: - A whole-device host overwrite still cannot address a region excluded by the active HPA limit. (sources: [ata6-draft]) Sources and caveats: - The 2021 clarification and 2026 guide disagree on normal-mode ATA Security Erase coverage with AMAC; this conflict remains unresolved. Use the applicable command-set revision and model/firmware evidence. [seagate-erase-scope] [seagate-ata-security-2026] Related terms: - [device-configuration-overlay](https://hesela.dev/terms/device-configuration-overlay/) - [sata](https://hesela.dev/terms/sata/) - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [secure-erase](https://hesela.dev/terms/secure-erase/) - [accessible-max-address-configuration](https://hesela.dev/terms/accessible-max-address-configuration/) Citations: - [ata6-draft] T13 ATA/ATAPI-6 working draft 1410D revision 3a (2001), sections 6.15 and 6.21; historical draft, not an approved standard. https://www.read.seas.harvard.edu/~kohler/class/04f-aos/ref/hardware/ATA-d1410r3a.pdf (accessed 2026-10-24) - [seagate-erase-scope] Seagate openSeaChest maintainer clarification (7 January 2021), discussion 52: HPA/DCO versus AMAC erase scope. https://github.com/Seagate/openSeaChest/discussions/52 (accessed 2026-10-24) - [hesela] Hesela: SSD sanitization: why TRIM and a successful command are not enough. https://hesela.com/analyses/ssd-sanitization-trim-evidence/ (accessed 2026-10-24) - [seagate-ata-security-2026] Seagate openSeaChest ATA Security Feature guide (last edited 11 February 2026), Security Erase. https://github.com/Seagate/openSeaChest/wiki/ATA-Security-Feature#security-erase (accessed 2026-10-24) ### Hot/cold data separation URL: https://hesela.dev/terms/hot-cold-data-separation/ Related analysis: https://hesela.com/analyses/nvme-fdp-placement-and-limits/ Also known as: update-frequency data separation Status: shipping Record updated: 2026-11-14 A flash-placement strategy that groups data by update frequency so frequently overwritten pages and long-lived pages need not share the same cleaning pool. Note: Hot and cold refer to update frequency, not physical temperature or hot/cold storage tiers. Separation alone is not enough: in an analytic model with greedy cleaning, hot and cold pools that keep the same spare fraction perform the same as uniformly distributed traffic. [desnoyers] The gain comes from giving hot data a larger share of the spare space. For a spare fraction of 0.1 and 64 pages per block, uniform traffic has a write amplification of 4.82. When 90% of writes go to 5% of the address space, naive greedy cleaning gives 6.24 and separation with an optimal division of free space gives 1.86. [desnoyers] Classification can be coarse. In a two-set model, update frequencies differing by about 2x can share placement with little penalty, which suggests bins with exponentially increasing frequency and a tolerance of 50% on each estimate. A multi-log placement built on this reduced cleaning overhead by 20% to 75% against earlier placement schemes on two database I/O traces. [stoica] Lifetime measures duration; death time identifies the overwrite or discard endpoint. Equal-duration versions written at different times can die separately. For cleaning, co-invalidation matters in addition to update frequency; logical grouping alone does not establish physical co-placement. [unwritten-contract] Advantages: - Under heavy update skew, separation with a matched free-space split can bring write amplification close to 1. (sources: [desnoyers]) Limitations: - Data classification can change with workload; a placement model is not evidence that every controller implements it. (sources: [desnoyers]) - The analytic gains assume perfect knowledge of each page's update frequency, and a shifting hot set is harder to exploit. (sources: [desnoyers], [stoica]) Sources and caveats: - desnoyers is the SYSTOR 2012 paper by Desnoyers (Northeastern University), reread on the access date in section 5, Figure 11 and Table 7. - stoica is the PVLDB 2013 paper by Stoica and Ailamaki (EPFL), read in the abstract, sections 4.2 and 4.3 and the trace evaluation. - 0.1, 64 pages, 4.82, 90%, 5%, 6.24 and 1.86 come from desnoyers. 2x, 50% and 20% to 75% come from stoica. - The added invalidation-time distinction uses section 3.4 of unwritten-contract; its historical FTL analysis is not an FDP-device performance measurement. Related terms: - [greedy-garbage-collection](https://hesela.dev/terms/greedy-garbage-collection/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [ftl](https://hesela.dev/terms/ftl/) - [nvme-fdp](https://hesela.dev/terms/nvme-fdp/) - [hot-storage](https://hesela.dev/terms/hot-storage/) - [nvme-reclaim-unit](https://hesela.dev/terms/nvme-reclaim-unit/) - [nvme-placement-identifier](https://hesela.dev/terms/nvme-placement-identifier/) - [block-invalidation-time](https://hesela.dev/terms/block-invalidation-time/) Citations: - [desnoyers] Peter Desnoyers. Analytic Modeling of SSD Write Performance. SYSTOR 2012, sections 2-6, Tables 1-2. DOI: 10.1145/2367589.2367603. https://www.ccs.neu.edu/home/pjd/papers/pjd-systor12.pdf (accessed 2026-10-22) - [hesela-op] Hesela: SSD over-provisioning, capacity denominators and analytical-model limits. https://hesela.com/analyses/ssd-overprovisioning-denominators/ (accessed 2026-10-11) - [stoica] Radu Stoica and Anastasia Ailamaki. Improving Flash Write Performance by Using Update Frequency. PVLDB 6(9), 2013, pp. 733-744. https://www.vldb.org/pvldb/vol6/p733-stoica.pdf (accessed 2026-10-22) - [unwritten-contract] He et al. The Unwritten Contract of Solid State Drives. EuroSys 2017, section 3.4. DOI: 10.1145/3064176.3064187. https://research.cs.wisc.edu/wind/Publications/eurosys17-he.pdf (accessed 2026-11-02) ### Hot journal URL: https://hesela.dev/terms/hot-journal/ Related analysis: https://hesela.com/analyses/wal-checkpoints-torn-pages/ Also known as: Hot rollback journal, SQLite hot journal Status: shipping Record updated: 2026-11-30 A hot journal is a SQLite rollback journal that requires replay to recover an interrupted database transaction. Note: SQLite's rollback-mode checks require an existing journal larger than 512 bytes, a valid nonzero header, no RESERVED lock on the database, and either an existing named super-journal or no super-journal name. The lock check distinguishes recovery work from a current writer's journal. SQLite obtains recovery locks and replays a hot journal before reading the database. [sqlite-locking] A leftover journal whose named super-journal was deleted at group commit is not hot. [sqlite-atomiccommit] See the distinction between journal files and recovery decisions. [hesela-wal] A disposable process-exit observation demonstrates journal retention after commit and rollback of unfinished writes; it is not a power-loss test. [hesela-journal-observation] The normal recovery path differs from immutable access. A read-only connection can fail with SQLITE_READONLY_ROLLBACK (776) when rollback is required. [sqlite-readonly-rollback] Bypassing that path with immutable=1 is not recovery: on two tested builds, constructed quiescent copies exposed uncommitted main-file records that still passed integrity_check. Normal recovery restored the committed records. Journal presence, structural validity and committed-state validity are separate checks. [hesela-hot-immutable] Advantages: - Lets SQLite identify unfinished rollback-mode work and recover before serving database reads. (sources: [sqlite-locking]) Limitations: - A journal filename alone does not establish hotness; its header, lock state and super-journal relationship matter. (sources: [sqlite-locking]) - Deleting or separating a hot journal from its database can remove information needed for recovery. (sources: [sqlite-locking]) Related terms: - [rollback-journal](https://hesela.dev/terms/rollback-journal/) - [sqlite-super-journal](https://hesela.dev/terms/sqlite-super-journal/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [fsync](https://hesela.dev/terms/fsync/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) Citations: - [sqlite-locking] SQLite: File Locking And Concurrency In SQLite Version 3. https://sqlite.org/lockingv3.html (accessed 2026-10-14) - [sqlite-atomiccommit] SQLite: Atomic Commit In SQLite. https://sqlite.org/atomiccommit.html (accessed 2026-10-14) - [hesela-wal] Hesela: WAL, checkpoints and torn pages, SQLite commit scope. https://hesela.com/analyses/wal-checkpoints-torn-pages/#sqlite-commit-scope (accessed 2026-10-14) - [hesela-journal-observation] Hesela: SQLite journal-lifecycle observations, measured synthetic workload and explicit limits. https://hesela.dev/research/sqlite-journal-observation.json (accessed 2026-10-14) - [hesela-hot-immutable] Hesela: two-build frozen SQLite crash-copy reader matrix, 400 constructed observations. https://hesela.dev/research/sqlite-hot-immutable/summary.json (accessed 2026-11-30) - [hesela-hot-immutable-package] Hesela: native reproduction code, full observations, source receipts and checks. https://hesela.dev/research/sqlite-hot-immutable/package.zip (accessed 2026-11-30) - [sqlite-readonly-rollback] SQLite: SQLITE_READONLY_ROLLBACK (776). https://sqlite.org/rescode.html#readonly_rollback (accessed 2026-11-30) ### Hot spare URL: https://hesela.dev/terms/hot-spare/ Related analysis: https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/ Also known as: Standby spare Status: shipping Record updated: 2026-11-02 A hot spare is a standby device or reserved distributed spare capacity available to take over a failed member's role in a redundant array or pool. Note: An unused spare is not an already synchronized extra member or an independent backup: replacement still requires reconstruction [zreplace]. In ZFS, spare activation and replacement state are distinct from completed resilvering [zconcepts]. A spare shortens the wait for replacement capacity; it does not add a parity level. OpenZFS documents ZED consuming pool events to automate replacement; monitoring and reconstruction completion still need separate checks [zpoolmonitor]. Linux MD's spare state also covers a device being recovered, not only an idle reserve [md-state]. A completed rebuild can restore redundancy without replenishing standby capacity. One documented revertible-spare workflow copies data from the commissioned spare to a replacement in the original slot; the spare returns to standby after copying, while the virtual disk remains optimal [perc11-revertible]. A separate controller setting can disable this behavior, so spare reversion is not an automatic consequence of every successful rebuild [perc11-spare-settings]. Persistent spare-slot assignment is a separate policy, disabled by default in the documented implementation. When enabled, it can assign the spare role to a replacement inserted into the failed or removed spare's slot; matching protocol and drive technology are required [perc11-persistent-slot]. This role assignment is distinct from copying data off a commissioned spare to return it to standby [perc11-spare-settings]. Automatic return in this workflow requires the original slot. With a replacement elsewhere, a manual Replace Member operation can return the commissioned spare to standby. It can temporarily affect disk performance; optimal redundancy does not imply unchanged performance [perc11-revertible]. Limitations: - Automatic activation depends on the platform's fault-management services and configuration; merely listing a spare does not prove replacement has started. (sources: [zpoolmonitor]) - OpenZFS 2.3 warns of corruption if pools on different hosts concurrently claim a shared spare; its spares do not replace separate log devices, and a distributed dRAID spare serves only its own vdev. (sources: [zconcepts]) - Controller-reported optimal status does not by itself show that an eligible standby spare is available again. (sources: [perc11-revertible]) Sources and caveats: - The revertible-spare example and its settings refer to Dell PERC 11, not a requirement for every array [perc11-revertible] [perc11-spare-settings]. - The persistent-slot default and protocol/technology requirements refer to Dell PERC 11. The protocol and technology checks are necessary conditions in that documented workflow, not a complete spare-eligibility checklist for every array [perc11-persistent-slot]. Related terms: - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [degraded-array](https://hesela.dev/terms/degraded-array/) - [resilver](https://hesela.dev/terms/resilver/) - [raid](https://hesela.dev/terms/raid/) - [mirroring](https://hesela.dev/terms/mirroring/) - [distributed-spare](https://hesela.dev/terms/distributed-spare/) Citations: - [zconcepts] OpenZFS 2.3: zpoolconcepts(7), device failure and hot spares. https://openzfs.github.io/openzfs-docs/man/v2.3/7/zpoolconcepts.7.html (accessed 2026-10-15) - [zreplace] OpenZFS 2.3: zpool-replace(8), replacement and sequential reconstruction. https://openzfs.github.io/openzfs-docs/man/v2.3/8/zpool-replace.8.html (accessed 2026-10-13) - [hesela-rebuild] Hesela: RAID rebuild read-error models and resilver boundaries. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#spare-policy-heading (accessed 2026-10-15) - [zpoolmonitor] OpenZFS 2.3: zpool(8), monitoring and event-driven spare replacement. https://openzfs.github.io/openzfs-docs/man/v2.3/8/zpool.8.html (accessed 2026-10-13) - [md-state] Linux 6.12: RAID arrays, per-device spare and in_sync states. https://docs.kernel.org/6.12/admin-guide/md.html (accessed 2026-10-15) - [perc11-revertible] Dell PERC 11 User's Guide: Using replace member and revertible hot spares. https://www.dell.com/support/manuals/en-us/perc-h755/perc11_ug/using-replace-member-and-revertible-hot-spares?guid=guid-89cb8f60-d020-4358-a011-ebf7c3e5708e&lang=en-us (accessed 2026-11-02) - [perc11-spare-settings] Dell PERC 11 User's Guide: Configure hot spare drives, revertible-spare setting. https://www.dell.com/support/manuals/en-us/perc-h755/perc11_ug/configure-hot-spare-drives?guid=guid-38d41313-139f-4505-98ec-bf429a62c7bf&lang=en-us (accessed 2026-11-01) - [perc11-persistent-slot] Dell PERC 11 User's Guide: Using persistent hot spare slots. https://www.dell.com/support/manuals/en-us/perc-h755/perc11_ug/using-persistent-hot-spare-slots?guid=guid-d623c546-acc8-4221-8571-07d6f2bb57df&lang=en-us (accessed 2026-11-01) ### Hot standby feedback URL: https://hesela.dev/terms/hot-standby-feedback/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: PostgreSQL hot_standby_feedback Status: shipping Record updated: 2026-11-01 Hot standby feedback is PostgreSQL's mechanism for reporting standby query retention needs upstream to defer conflicting row cleanup. Note: It can prevent cleanup-related query cancellations but retain dead rows and cause primary-side bloat; the default is off. [pg-feedback] It does not configure commit acknowledgements. [hesela-replication] Messages are sent at most once per wal_receiver_status_interval, whose default is 10 s, and cascading standbys pass them upstream until they reach the primary. Moving the standby clock forward or backward can delay messages and leave dead rows unremoved on the primary for long periods. [pg-feedback] In the PostgreSQL 18 WAL receiver each feedback message is 25 bytes, a type byte, an 8-byte timestamp and four 32-bit fields for xmin, catalog_xmin and their epochs. After feedback is turned off, the receiver sends invalid horizons once so the upstream can release the held xmin. [walreceiver] For streaming WAL, max_standby_streaming_delay is a replay-delay budget after receipt, not a per-query runtime allowance. A later conflicting query can have less grace because of earlier replay delays. For conflicts governed by this delay setting, -1 allows waiting without that time limit; a finite value is not an end-to-end commit deadline. These delay controls are separate from feedback and commit acknowledgement policy. [pg-streaming-delay] [pg-conflicts] Advantages: - Cleanup on the primary is no worse than if the same queries ran there directly, while their execution stays on the standby. (sources: [pg-conflicts]) Limitations: - Feedback does not eliminate every recovery conflict, including Access Exclusive locks and drops of tables, databases or tablespaces. (sources: [pg-conflicts]) - Slot synchronization needs a persistent physical upstream slot, which can be the existing streaming slot; feedback alone does not protect needed catalog history during a disconnection. (sources: [pg-decoding]) - While a standby is disconnected no feedback is provided, so archive and streaming delay settings may still need raising. (sources: [pg-conflicts]) Sources and caveats: - pg-feedback is the PostgreSQL 18 replication settings page, reread on the access date for hot_standby_feedback and wal_receiver_status_interval. - pg-conflicts is the PostgreSQL 18 hot standby page, reread in section 26.4.2. - walreceiver is src/backend/replication/walreceiver.c at tag REL_18_0, read in XLogWalRcvSendHSFeedback. - 10 s comes from pg-feedback. 25 bytes, 8-byte and 32-bit come from walreceiver as 1 + 8 + 4 x 4 bytes. - PostgreSQL 18 standby conflict and delay documentation reviewed on 2026-11-01; no replication experiment or commit-latency bound is claimed. Related terms: - [replication-slot](https://hesela.dev/terms/replication-slot/) - [failover-slot](https://hesela.dev/terms/failover-slot/) - [logical-decoding](https://hesela.dev/terms/logical-decoding/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [synchronous-replication](https://hesela.dev/terms/synchronous-replication/) Citations: - [pg-feedback] PostgreSQL 18: hot_standby_feedback. https://www.postgresql.org/docs/18/runtime-config-replication.html#GUC-HOT-STANDBY-FEEDBACK (accessed 2026-10-22) - [pg-conflicts] PostgreSQL 18: handling query conflicts on hot standby. https://www.postgresql.org/docs/18/hot-standby.html#HOT-STANDBY-CONFLICT (accessed 2026-10-22) - [pg-decoding] PostgreSQL 18: replication slot synchronization. https://www.postgresql.org/docs/18/logicaldecoding-explanation.html#LOGICALDECODING-REPLICATION-SLOTS-SYNCHRONIZATION (accessed 2026-10-16) - [hesela-replication] Hesela: Replication acknowledgements and logical failover readiness. https://hesela.com/analyses/replication-acknowledgements-durability-lag/ (accessed 2026-10-16) - [walreceiver] PostgreSQL 18.0 src/backend/replication/walreceiver.c: XLogWalRcvSendHSFeedback. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/replication/walreceiver.c (accessed 2026-10-22) - [pg-streaming-delay] PostgreSQL 18: max_standby_streaming_delay. https://www.postgresql.org/docs/18/runtime-config-replication.html#GUC-MAX-STANDBY-STREAMING-DELAY (accessed 2026-11-01) ### Hot storage tier URL: https://hesela.dev/terms/hot-storage/ Related article: https://hesela.com/tech/hot-warm-cold/ Also known as: hot tier, hot data Status: shipping Record updated: 2026-10-23 A hot storage tier prioritizes the access demands of active data through its performance, capacity and placement policy. Note: Frequent access and low latency are separate requirements. A rarely read object may still need an immediate response. Classify data using the application's access contract rather than age alone. [s3-classes] The hot system in the f4 study used HDDs, as did the warm system. Different layouts and redundancy policies supported different demand levels; hot did not mean flash. Cached requests also changed the load reaching storage. [c2] Advantages: - Compact in-memory metadata can reduce extra disk operations during blob reads. (sources: [c2]) Limitations: - Capacity-efficient placement must still sustain demand bursts and recovery traffic. (sources: [c2]) - An infrequent-access class may retain fast reads but add retrieval charges, so frequency and latency cannot be treated as synonyms. (sources: [s3-classes]) Sources and caveats: - The f4 paper describes Facebook's historical immutable-blob architecture, not a universal hot-tier threshold or a current hardware benchmark. - The previous claim that the f4 paper contains no hot-tier latency figure was removed: section 6.3 reports measured local-read latency. Related terms: - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [warm-storage](https://hesela.dev/terms/warm-storage/) - [cold-archive](https://hesela.dev/terms/cold-archive/) Citations: - [c1] Hot storage tier. https://en.wikipedia.org/wiki/Information_lifecycle_management (accessed 2026-03-26) - [c2] f4: Facebook's Warm BLOB Storage System, Muralidhar et al., USENIX OSDI 2014. https://www.usenix.org/conference/osdi14/technical-sessions/presentation/muralidhar (accessed 2026-10-16) - [c3] NVM Express NVM Command Set Specification, Revision 1.3 (31 July 2026), NVM Express, Inc. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-10-16) - [s3-classes] Amazon S3 User Guide: Understanding and managing S3 storage classes. https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html (accessed 2026-10-22) ### Hot, warm, and cold storage tiers URL: https://hesela.dev/terms/hot-warm-cold/ Technology reference: https://hesela.com/tech/hot-warm-cold/ Also known as: storage tiering, temperature tiers Status: shipping Record updated: 2026-11-28 Hot, warm and cold storage tiers classify data by access demand and service requirements to balance performance and cost. Note: Temperature describes a placement policy, not a physical medium. A hot tier prioritizes active workloads; warm and cold tiers trade some access capability or cost structure for cheaper capacity. Boundaries depend on the service and workload. [f4] Online and offline are separate distinctions: a block-blob service's Cold tier supports direct payload access, while its Archive tier requires rehydration. Minimum billable duration can create an early-deletion charge without preventing deletion. [azure-tiers] Evaluate retrieval steps, request frequency, bulk-recovery throughput and all relevant charges before migrating data. A tier label alone does not establish redundancy, immutability or an independent recovery copy. For a replicated HDFS 3.3.5 file with n replicas, HOT requests n on DISK, WARM one on DISK and n-1 on ARCHIVE, and COLD n on ARCHIVE; fallback rules can affect actual placement. Changing a policy does not itself relocate existing blocks; movement requires the mover or storage-policy satisfier. Its ARCHIVE storage type is not a promise of tape or offline retrieval. [c2] Advantages: - Lifecycle placement can use measured changes in demand instead of keeping every object in the same layout. (sources: [f4]) - Infrequent-access classes can retain prompt reads when the application cannot wait for asynchronous restoration. (sources: [s3-classes]) Limitations: - Object size, transitions and retrieval volume can change which access class is economical. (sources: [s3-classes]) - Account type and object format can restrict available tiers and transitions. (sources: [azure-tiers]) Sources and caveats: - The synthesis is not a standardized hot/warm/cold taxonomy. f4 is an immutable-blob system described at OSDI 2014. - The Azure and Amazon S3 documents describe their own service contracts; no prices or hidden cloud media assignments are inferred. - Historical citation IDs c2 and c3 are retained; their presence does not reinstate the older universal medium assignments. Related terms: - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [tape](https://hesela.dev/terms/tape/) - [lto](https://hesela.dev/terms/lto/) - [glass-storage](https://hesela.dev/terms/glass-storage/) - [hybrid-flash-array](https://hesela.dev/terms/hybrid-flash-array/) - [warm-storage](https://hesela.dev/terms/warm-storage/) - [hot-storage](https://hesela.dev/terms/hot-storage/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [automated-storage-tiering](https://hesela.dev/terms/automated-storage-tiering/) - [hierarchical-storage-management](https://hesela.dev/terms/hierarchical-storage-management/) - [f4](https://hesela.dev/terms/f4/) Citations: - [c1] Information lifecycle management. https://en.wikipedia.org/wiki/Information_lifecycle_management (accessed 2026-03-26) - [f4] Muralidhar et al., f4: Facebook's Warm BLOB Storage System, OSDI 2014, sections 3, 6.1 and 6.2. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-muralidhar.pdf (accessed 2026-10-19) - [azure-tiers] Microsoft Learn: Access tiers for blob data, online tiers, archive and billing. https://learn.microsoft.com/en-us/azure/storage/blobs/access-tiers-overview (accessed 2026-10-22) - [s3-classes] Amazon S3 User Guide: Understanding and managing S3 storage classes. https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html (accessed 2026-10-22) - [c2] Apache Hadoop 3.3.5: Archival Storage, SSD & Memory. https://hadoop.apache.org/docs/r3.3.5/hadoop-project-dist/hadoop-hdfs/ArchivalStorage.html (accessed 2026-10-22) - [c3] Muralidhar et al., f4: Facebook's Warm BLOB Storage System, OSDI 2014. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-muralidhar.pdf (accessed 2026-10-22) ### Hotpot URL: https://hesela.dev/terms/hotpot/ Also known as: Hotpot DSPM Status: research Record updated: 2026-11-16 Hotpot is a research distributed shared persistent-memory system that combines memory-mapped access, cached replicas and explicit distributed commits. Note: Hotpot reuses cached persistent-memory pages as replicas. Writes use local copy-on-write pages; commit propagates changes and establishes the requested replication degree. Its multiple-reader/multiple-writer mode uses a three-phase protocol, while its single-writer mode acquires write permission before updates. These are dataset-level choices. [socc17] The prototype invokes transactions through Hotpot-specific msync flags, a scatter-gather list, transaction identity and replication degree. Both begin and commit can request retry. This is a custom kernel ABI, not a transaction guarantee of ordinary POSIX msync. Its distributed barrier waits for all online nodes, not merely the nodes running one application. [usage] The evaluation used 17 machines with DRAM standing in for persistent memory and 40 Gbps InfiniBand. It measures that research setup, not power-loss durability on physical persistent-memory devices. [socc17] The author repository targets a modified Linux 3.11.1 kernel and labels the release beta. It was archived in 2022. Treat it as a historical prototype, not a supported deployment recommendation. [code] Limitations: - During a commit, the paper excludes simultaneous loss of persistent memory at the committing node and an owner node. The N-minus-one replica-loss statement must not be read as an unrestricted guarantee for every protocol phase. (sources: [socc17]) Sources and caveats: - Primary-paper and pinned-interface review. No Hotpot kernel installation, native cluster experiment or performance reproduction was performed. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) Citations: - [socc17] Yizhou Shan, Shin-Yeh Tsai and Yiying Zhang. Distributed Shared Persistent Memory. SoCC 2017. DOI 10.1145/3127479.3128610; sections 5, 6.2-6.4 and 8. https://engineering.purdue.edu/WukLab/hotpot-socc17.pdf (accessed 2026-11-16) - [usage] WukLab/Hotpot: usage.md, transaction and distributed-barrier interfaces, commit 20f8d315306f7026b0ee4804c5f3375dd380575f. https://github.com/WukLab/Hotpot/blob/20f8d315306f7026b0ee4804c5f3375dd380575f/hotpot/Documentations/usage.md (accessed 2026-11-16) - [code] WukLab/Hotpot: README and archive status; implementation reviewed at commit 20f8d315306f7026b0ee4804c5f3375dd380575f. https://github.com/WukLab/Hotpot (accessed 2026-11-16) ### HP AutoRAID URL: https://hesela.dev/terms/hp-autoraid/ Also known as: AutoRAID Status: unknown Record updated: 2026-12-02 HP AutoRAID is a disk-array architecture that automatically moves data between mirrored and parity-protected storage classes within the array. Note: Hierarchy: write-active data favor mirroring; less-active data favor RAID 5. The mirrored class is not an extra cache copy: data move between classes. Physical media need not differ. [autoraid96] Mechanism: logical addresses map through 64 KB relocation blocks. Parity writes usually use log-structured placement, but in-place updates remain a fallback when free space is scarce. [autoraid96] Pressure: a write-active set larger than mirrored capacity can cause repeated promotion and demotion. Free capacity therefore affects placement flexibility, not just the remaining address space. [autoraid96] Evidence: the journal paper separates product-prototype measurements from trace-driven simulation. Its 12-disk baseline used 2 GB, 7200 RPM drives and 24 MB of controller cache. Those experiments do not establish modern SSD performance. [autoraid96] History: the 1995 SOSP paper preceded the expanded 1996 journal article; these are versions of one research effort, not independent replications. [autoraid95] Worked example: with 120 physical units, 80 logical units and a 3-data/1-parity layout, reserving 12 units reduces the ideal mirrored-data ceiling from 20 to 2 units. This is a synthetic capacity bound, not a firmware policy or benchmark. [capacity] Sources and caveats: - Historical architecture; current product availability was not assessed. Publication dates are not asserted as introduction or end-of-life dates. - The capacity example excludes placement, allocation granularity, metadata and migration workspace; it is an upper bound, not a device sizing recommendation. Related terms: - [raid-1](https://hesela.dev/terms/raid-1/) - [raid-5](https://hesela.dev/terms/raid-5/) - [automated-storage-tiering](https://hesela.dev/terms/automated-storage-tiering/) - [hippodrome](https://hesela.dev/terms/hippodrome/) Citations: - [autoraid96] Wilkes et al. The HP AutoRAID hierarchical storage system. TOCS 14(1), 108-136 (1996). DOI 10.1145/225535.225539; sections 1.3, 2.2-2.4 and 3-4. https://john.e-wilkes.com/papers/AutoRAID.TOCS.pdf (accessed 2026-12-02) - [autoraid95] Wilkes, Golding, Staelin and Sullivan. The HP AutoRAID hierarchical storage system. SOSP 1995, 96-108; earlier conference version. https://john.e-wilkes.com/papers/AutoRAID.SOSP95.pdf (accessed 2026-12-02) - [capacity] Hesela: exact capacity-bound model, generated examples and tests. https://hesela.dev/research/autoraid-capacity/README.md (accessed 2026-12-02) ### Huffman coding URL: https://hesela.dev/terms/huffman-coding/ Also known as: Huffman code Status: shipping Record updated: 2026-11-19 Huffman coding constructs a prefix code that minimizes average codeword length for given symbol frequencies. Note: Optimality: The 1952 construction repeatedly combines the two least likely messages. Its guarantee minimizes expected codeword length for the specified probabilities under the prefix-code model and equal cost per coding digit; it does not minimize every file or its metadata. Equal-frequency choices can yield different optimal codes. [huffman1952] Decoding: The symbol-to-code mapping and stream boundaries remain necessary. The lengths 1,2,3,3 alone do not distinguish swapping the codewords assigned to C and D; canonical reconstruction also needs symbol order and the format rules. DEFLATE describes canonical codes using ordered code lengths; length zero means an unused symbol. Its single used distance symbol still has a one-bit code. These are format rules, not a universal single-symbol policy. [rfc1951-prefix] Accounting: A shorter symbol payload need not yield a smaller file after codebook and framing costs. The linked four-symbol example uses 28 payload bits instead of 32 fixed-width bits. [hesela-prefix-rice] Integrity: A changed bit can still form valid codewords with unchanged decoded length; prefix validity is not an integrity check. The linked exact example decodes ABCD as ABCC after one bit changes. [hesela-prefix-rice] Sources and caveats: - Source synthesis and a synthetic prefix-code illustration; not a complete DEFLATE decoder, optimal-file-size guarantee or measured corruption rate. Related terms: - [prefix-free-code](https://hesela.dev/terms/prefix-free-code/) - [deflate](https://hesela.dev/terms/deflate/) - [finite-state-entropy](https://hesela.dev/terms/finite-state-entropy/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [rice-coding](https://hesela.dev/terms/rice-coding/) - [wavelet-tree](https://hesela.dev/terms/wavelet-tree/) - [wavelet-matrix](https://hesela.dev/terms/wavelet-matrix/) - [tunstall-coding](https://hesela.dev/terms/tunstall-coding/) - [comma-free-code](https://hesela.dev/terms/comma-free-code/) - [entropy-coding](https://hesela.dev/terms/entropy-coding/) - [arithmetic-coding](https://hesela.dev/terms/arithmetic-coding/) Citations: - [huffman1952] David A. Huffman (1952), A Method for the Construction of Minimum-Redundancy Codes, Proceedings of the IRE 40(9), 1098-1101; DOI 10.1109/JRPROC.1952.273898. https://web.stanford.edu/class/ee398a/handouts/papers/Huffman%20-%20Min%20Redundancy%20Codes%20-%20IRE52.pdf (accessed 2026-11-17) - [rfc1951-prefix] RFC 1951: prefix codes and DEFLATE code descriptions, sections 3.2.1-3.2.2 and 3.2.7. https://www.rfc-editor.org/rfc/rfc1951.html (accessed 2026-11-17) - [hesela-prefix-rice] Hesela: prefix decoding, Rice parameters and payload accounting. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#prefix-rice (accessed 2026-11-17) ### Hybrid flash array URL: https://hesela.dev/terms/hybrid-flash-array/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: hybrid array, hybrid storage array, flash and disk array Status: shipping Record updated: 2026-10-31 A hybrid flash array is a storage system that combines flash with hard-disk capacity and uses caching or tiering to keep frequently accessed data on flash. Note: Cache safety depends on write policy. A clean cached copy can be discarded when a valid backing copy remains. A dirty write-back block can contain newer data than the origin; losing it can lose updates. Cache data and metadata need protection appropriate to the failure model. [dm-cache-612] [lvmcache] Linux dm-cache uses origin, cache and metadata devices. Its kernel target defaults to writeback; LVM documents writethrough as its default, configurable by the administrator. Check the active mode rather than inferring it from the word cache. Writethrough completes writes to cached blocks on both devices, but downstream volatile caches still matter. [dm-cache] [lvmcache] Before removing dirty cached data, write it back to the origin and verify completion through the supported management procedure. dm-cache requires a clean cache for passthrough and rejects shrinking over dirty blocks. A persistent cache can still be dirty relative to its backing store. After a crash, dm-cache assumes all cache blocks dirty because dirty-state changes are not persisted individually; this is not a count of lost writes. [dm-cache-612] One scheduled-tiering design moves 1 GB units under a per-volume policy, ranks activity hourly with a roughly 24-hour half-life and reserves 10% of higher-tier space for new allocations. Those placement rules describe that design, not every hybrid array. [tiering-whitepaper] In Linux 6.12 dm-cache, consistent recovery metadata does not ensure every recent write survives. Metadata commits accompany FLUSH/FUA and otherwise occur periodically. Writes not covered by a completed durability operation may be lost on power failure. A completed flush is not evidence that all dirty blocks reached the origin. [dm-cache-612] [writeback-612] Advantages: - The cited scheduled-tiering design can combine caching for short-term access changes with relocation for longer-term placement. (sources: [tiering-whitepaper]) - In dm-cache, the origin covers every logical block, even when its version is stale in writeback mode. (sources: [dm-cache]) Limitations: - Transfer granularity is implementation-specific: dm-cache accepts 32 KiB to 1 GiB chunks, while the cited tiering design specifies a 1 GB unit. (sources: [dm-cache], [tiering-whitepaper]) - A 1 TiB origin divided into 512 KiB blocks has 2,097,152 addressable blocks; this is not a metadata-size estimate or a count of resident cache entries. (sources: [dm-cache]) Sources and caveats: - QSAN Auto Tiering, February 2026, sections 2.1-2.3 supplies the placement parameters and cache/tiering comparison; its disposable-copy description does not apply to every write-back cache. [tiering-whitepaper] - Linux 6.12 supplies the pinned cache-state and removal rules; LVM2 documents management-layer defaults and optional RAID1 for cache data and metadata. [dm-cache-612] [lvmcache] - The kernel's documented 2048-sector migration threshold is 2048 x 512 = 1,048,576 bytes = 1 MiB; LVM can raise it to at least eight chunks. [dm-cache-612] [lvmcache] - Arithmetic: 1 TiB / 512 KiB = 2,097,152 origin blocks. Actual metadata depends on cache size, format and implementation. - Source comparison, not a hardware-failure experiment or a measured array speed-up. - Linux 6.12 documents metadata commits every second without FLUSH/FUA. This is a documented cadence, not an application persistence deadline. [dm-cache-612] - The origin-cleaning distinction is an inference from the documented writeback and cleaner contracts; flush/FUA propagation and completion remain separate requirements. [dm-cache-612] [writeback-612] Related terms: - [ssd](https://hesela.dev/terms/ssd/) - [hdd](https://hesela.dev/terms/hdd/) - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [logical-unit-number](https://hesela.dev/terms/logical-unit-number/) - [sshd](https://hesela.dev/terms/sshd/) - [write-through-cache](https://hesela.dev/terms/write-through-cache/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) - [storage-array](https://hesela.dev/terms/storage-array/) - [automated-storage-tiering](https://hesela.dev/terms/automated-storage-tiering/) Citations: - [c1] Hybrid flash array. https://en.wikipedia.org/wiki/Hybrid_array (accessed 2026-03-26) - [dm-cache] Linux kernel documentation: dm-cache (device-mapper cache target). https://docs.kernel.org/admin-guide/device-mapper/cache.html (accessed 2026-10-16) - [tiering-whitepaper] QSAN. Auto Tiering white paper, February 2026. https://www.qsan.com/data/dl_files/qs_wp_Auto-Tiering_(en).pdf (accessed 2026-10-16) - [dm-cache-612] Linux 6.12 documentation: dm-cache operating modes, cleaner and metadata. https://www.kernel.org/doc/html/v6.12/admin-guide/device-mapper/cache.html (accessed 2026-10-31) - [lvmcache] LVM2 lvmcache(7): cache modes, chunk size, migration threshold and RAID1 cache devices. https://man7.org/linux/man-pages/man7/lvmcache.7.html (accessed 2026-10-23) - [writeback-612] Linux 6.12: Explicit volatile write back cache control, flush/FUA completion and remapping drivers. https://www.kernel.org/doc/html/v6.12/block/writeback_cache_control.html (accessed 2026-10-31) ### Hybrid log URL: https://hesela.dev/terms/hybrid-log/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Also known as: HybridLog, FASTER hybrid log Status: shipping Record updated: 2026-12-02 A hybrid log combines an in-memory region supporting in-place updates with read-only regions spanning memory and persistent storage. Note: A mutable region permits repeated updates without a fresh append each time; updates to read-only records create tail copies. An epoch-coordinated safe read-only boundary defers read-modify-write copying while an older in-place update remains possible. [faster] Checkpoint choice: Fold-over freezes and flushes the main log through its tail, so subsequent updates need new records. A snapshot instead writes the in-memory state to a separate checkpoint file. In-memory completion does not itself establish durability. [faster-recovery] Recovery position: Concurrent prefix recovery identifies a committed prefix per session rather than one global issue-time cutoff. [cpr] The documented API also reports an exception list for pending operations excluded from a checkpoint; a sequence-number maximum alone is insufficient. [faster-recovery] Cleaning copies live records forward; truncation expires an address range. Scanning log records can return old versions and tombstones, unlike iteration over current keys. [faster-basics] Advantages: - Repeated hot-record updates can avoid index-pointer replacement and whole-record copying. (sources: [faster]) Limitations: - The 2018 throughput evaluation excludes checkpointing, recovery and expiration-based garbage-collection costs. (sources: [faster]) - Compaction is bounded by the safe read-only address, not simply by the tail. (sources: [faster-basics]) Sources and caveats: - Historical FASTER mechanism and later FasterKV API documentation are distinguished; no current-version benchmark is claimed. - The research papers are SIGMOD 2018 (DOI 10.1145/3183713.3196898) and SIGMOD 2019 (DOI 10.1145/3299869.3300090). Related terms: - [f2](https://hesela.dev/terms/f2/) - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [value-log](https://hesela.dev/terms/value-log/) - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) - [concurrent-prefix-recovery](https://hesela.dev/terms/concurrent-prefix-recovery/) - [fasterlog](https://hesela.dev/terms/fasterlog/) Citations: - [faster] Chandramouli et al. FASTER: A Concurrent Key-Value Store with In-Place Updates. SIGMOD 2018, sections 2.1, 6 and 7.1. https://www.microsoft.com/en-us/research/uploads/prod/2018/03/faster-sigmod18.pdf (accessed 2026-11-02) - [faster-recovery] FASTER documentation: FasterKV Checkpointing and Recovery, snapshot, fold-over and commit-point semantics. https://microsoft.github.io/FASTER/docs/fasterkv-recovery/ (accessed 2026-11-02) - [faster-basics] FASTER documentation: FasterKV Basics, Log Scan and Log Compaction. https://microsoft.github.io/FASTER/docs/fasterkv-basics/ (accessed 2026-11-02) - [cpr] Prasaad, Chandramouli and Kossmann. Concurrent Prefix Recovery: Performing CPR on a Database. SIGMOD 2019, section 2. https://www.microsoft.com/en-us/research/wp-content/uploads/2019/01/cpr-sigmod19.pdf (accessed 2026-11-02) - [hesela-kv] Key-value separation: the cleaning bill moves elsewhere. https://hesela.com/analyses/key-value-separation-cleaning-cost/#hybrid-log (accessed 2026-11-02) ### Hyder URL: https://hesela.dev/terms/hyder/ Also known as: Hyder II Status: research Record updated: 2026-11-16 Hyder is a research transaction engine that validates updates against a shared, ordered log containing a multiversion database. Note: Storage: Servers cache parts of a tree-shaped database whose persistent representation is the log itself. Transactions run against snapshots and append intention records containing their proposed changes. [hyder-cidr] Commit: Appending an intention does not decide whether it commits. Each server runs deterministic meld in log order to validate conflicts and incorporate accepted changes. A rejected intention has no effect on the committed database state. [hyder-2015] Isolation: Snapshot-based execution does not itself select snapshot isolation. Conflict checking depends on the requested isolation level; serializable execution must also protect read dependencies and key ranges. [hyder-cidr] Scaling: Every server must process the update stream. Log bandwidth, networking, validation work and conflicting transactions bound scale-out. The later pipeline uses premeld and group meld to reduce work before a still-sequential final meld stage. [hyder-cidr] [hyder-2015] Limitations: - The 2015 evaluation focuses on throughput and leaves failed or unanswered log operations outside its scope; it is not a fault-tolerance validation. (sources: [hyder-2015]) Sources and caveats: - Source synthesis, not a native Hyder execution or benchmark. - CIDR 2011 combines component measurements and simulations; section 5 explicitly excludes an integrated end-to-end flash prototype. [hyder-cidr] - The 2015 experiments use a CORFU log on SSD-backed servers and a modified YCSB workload. Their results concern that setup, not arbitrary storage hardware. [hyder-2015] Related terms: - [serializability](https://hesela.dev/terms/serializability/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [optimistic-concurrency-control](https://hesela.dev/terms/optimistic-concurrency-control/) - [silo](https://hesela.dev/terms/silo/) - [corfu](https://hesela.dev/terms/corfu/) - [calvin](https://hesela.dev/terms/calvin/) Citations: - [hyder-cidr] Bernstein, Reid and Das. Hyder: A Transactional Record Manager for Shared Flash. CIDR 2011, sections 1, 4 and 5. https://www.cidrdb.org/cidr2011/Papers/CIDR11_Paper2.pdf (accessed 2026-11-15) - [hyder-2015] Bernstein, Das, Ding and Pilman. Optimizing Optimistic Concurrency Control for Tree-Structured, Log-Structured Databases. SIGMOD 2015. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/07/hyder_sigmod_2015.pdf (accessed 2026-11-15) ### Hydra remote memory URL: https://hesela.dev/terms/hydra-remote-memory/ Also known as: Hydra (FAST 2022) Status: research Record updated: 2026-11-15 Hydra is a research resilience layer that erasure-codes individual remote-memory pages and controls fragment placement. Note: Completion: Each page has k data and r parity fragments on distinct remote machines. Failure-recovery writes wait for all k+r; EC-only completes after k without the same resilience guarantee. Reads can finish with the first k of k+delta requested fragments. [paper] Placement: CodingSets confines choices to disjoint extended groups, then selects less-loaded members. Under the paper's failure model, it trades fewer loss events for larger events, not a reduction in expected data lost. That invariance is not a guarantee for arbitrary rack-correlated failures; see the CodingSets topology control. [paper] Failure scope: Remote unreachability is distinct from silent corruption. The paper defines separate corruption modes and excludes local-network failure without disk fallback. Remote redundancy is not persistent storage. [paper] Artifact mismatch: The README illustrates 8+2, while the pinned header activates NDATAS=4 and NDISKS=NDATAS+2 with IS_PAGE_SIZE=4096. Configuration examples must not be reported as compiled defaults. [artifact] [header] Reproduction boundary: The README targets historical Ubuntu, kernel and RDMA stacks. The paper's persistent-memory comparison uses DRAM-based emulation, not measured Optane hardware. No Hydra deployment was run here. [artifact] [paper] Hesela arithmetic: For a fresh 4+2 page version with only four acknowledged fragments, losing one of those four leaves only three. With all six acknowledged, any two fragment losses leave four. The downloadable model enumerates every loss subset and keeps pending writes unavailable. This is a finite illustrative model, not an observed failure probability. [model] [results] Sources and caveats: - Primary-source synthesis and an original finite counting model, not a native Hydra experiment, benchmark replication or measured reliability estimate. - The remote-memory system is unrelated to the Hydra filesystem fuzzer; the slug disambiguates the two projects. Related terms: - [carbink](https://hesela.dev/terms/carbink/) - [infiniswap](https://hesela.dev/terms/infiniswap/) - [codingsets](https://hesela.dev/terms/codingsets/) Citations: - [paper] Lee et al. Hydra: Resilient and Highly Available Remote Memory. FAST 2022, pp. 181-198; sections 3.3, 4.1, 5 and 7.5. https://www.usenix.org/system/files/fast22-lee.pdf (accessed 2026-11-15) - [artifact] Hydra authors: README example and historical prerequisites; pinned revision. https://github.com/SymbioticLab/Hydra/blob/9918789f1faa5169307b1d4ae7a1c86303dc3563/README.md (accessed 2026-11-15) - [header] Hydra authors: active EC configuration and page size; pinned header. https://github.com/SymbioticLab/Hydra/blob/9918789f1faa5169307b1d4ae7a1c86303dc3563/resilience_manager/infiniswap.h (accessed 2026-11-15) - [model] Hesela: executable acknowledged-fragment enumeration with explicit assumptions. https://hesela.dev/research/hydra-completion.mjs (accessed 2026-11-15) - [results] Hesela: generated 4+2 completion matrix, counts and denominators. https://hesela.dev/research/hydra-completion.json (accessed 2026-11-15) ### Hyperbolic caching URL: https://hesela.dev/terms/hyperbolic-caching/ Also known as: Hyperbolic cache replacement Status: research Record updated: 2026-11-19 Hyperbolic caching is a replacement policy that estimates an object's frequency over its current cache residence and evaluates sampled eviction candidates lazily. Note: The base score is access count divided by time since insertion, not time since the last hit. Insertion starts the count at one; eviction discards this residence history. The lowest current score among sampled candidates is selected, not necessarily the global minimum. [paper] Constructed example: A has four accesses since time 0; B has one since time 9. With no further accesses to either, their scores at time 10 are 2/5 and 1; at time 12 both are 1/3; at time 20 they are 1/5 and 1/11. The lower-priority object changes from A to B. These are exact arithmetic results, not measured cache performance. [example] For 100 residents, a fixed lowest-priority set of ten and eight independent uniform draws with replacement, the chance of sampling at least one of those ten is 1 - (9/10)^8 = 56.953279%. This is neither the chance of selecting the unique global minimum nor a hit-rate prediction. [example] The author simulator's ordinary Sampling.sample path uses integer draws that permit repeated candidates. Retained-candidate and other sampling variants require their own probability model. [artifact] Cost classes share miss-cost estimates across related objects, so a class update can change resident priorities. They do not guarantee better performance: the paper's Django-Wiki test favored cost-oblivious hyperbolic caching. [paper] Sources and caveats: - Primary-paper and pinned-source review; no execution of the historical author simulator. - Equal-size, equal-cost resident objects; positive residence ages only. The reference calculation rejects zero age rather than specifying a production tie or timestamp policy. Related terms: - [lrfu](https://hesela.dev/terms/lrfu/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [greedydual-size](https://hesela.dev/terms/greedydual-size/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [cache-cost-class](https://hesela.dev/terms/cache-cost-class/) Citations: - [paper] Blankstein, Sen and Freedman. Hyperbolic Caching: Flexible Caching for Web Applications. USENIX ATC 2017, pp. 499-511, sections 2.1 and 2.4, Figure 1. https://www.usenix.org/system/files/conference/atc17/atc17-blankstein.pdf (accessed 2026-11-12) - [artifact] Author simulator: Sampling.sample, commit 884c466c311bb5b9fbdd09791d829b04032f3947. https://github.com/kantai/hyperbolic-caching/blob/884c466c311bb5b9fbdd09791d829b04032f3947/simulation/strategies/sampling.py (accessed 2026-11-12) - [example] Hesela: exact priority-crossing and sampling calculations. https://hesela.dev/research/hyperbolic/results.json (accessed 2026-11-12) - [code] Hesela: standalone reference arithmetic and input validation. https://hesela.dev/research/hyperbolic/model.py (accessed 2026-11-12) ### HyperDex URL: https://hesela.dev/terms/hyperdex/ Also known as: HyperDex hyperspace hashing Status: research Record updated: 2026-11-16 HyperDex is a distributed key-value store that uses secondary-attribute coordinates to place objects and route searches across servers. Note: The 2012 design divides attributes into low-dimensional subspaces. A search uses one subspace selected to minimize contacted servers. The implementation stores a complete object per subspace and adds f+1 replicas per region to tolerate f failures. Index copies and failure replicas are distinct costs. [sigcomm12] An immutable key subspace anchors updates. Value-dependent chaining includes both old and new locations when an attribute change moves an object; the new copy is stored before the old one is removed. [sigcomm12] Single-key get/put operations are linearizable, but search may return both the committed and concurrently updated versions of a matching object. That is not a single-version snapshot guarantee. Applications must distinguish key-operation consistency from search consistency. [sigcomm12] Warp's 2015 design extends HyperDex with acyclic transactions for multi-key serializability. Clients buffer writes and cache reads in a transaction context; the commit protocol validates reads and orders conflicting transactions. These are additional transaction mechanisms, not consequences of the base store's linearizable get/put operations. [warp15] Limitations: - Range predicates require an order-preserving coordinate mapping; arbitrary hashing does not preserve numeric order. (sources: [sigcomm12]) Sources and caveats: - Historical source review of the SIGCOMM 2012 design and Warp's 2015 preprint, not a benchmark replication. - Research classification describes the designs reviewed here, not current maintenance or commercial availability. Related terms: - [serializability](https://hesela.dev/terms/serializability/) - [linearizability](https://hesela.dev/terms/linearizability/) - [chain-replication](https://hesela.dev/terms/chain-replication/) Citations: - [sigcomm12] Escriva, Wong and Sirer. HyperDex: A Distributed, Searchable Key-Value Store. SIGCOMM 2012, pp. 25-36; sections 2.3, 3.2 and 4. https://www.cs.cornell.edu/people/egs/papers/hyperdex-sigcomm.pdf (accessed 2026-11-16) - [warp15] Escriva, Wong and Sirer. Warp: Lightweight Multi-Key Transactions for Key-Value Stores. arXiv:1509.07815v1, 2015; sections 2 and 2.1. https://arxiv.org/abs/1509.07815v1 (accessed 2026-11-16) ### HyperLogLog URL: https://hesela.dev/terms/hyperloglog/ Also known as: HLL Status: shipping Record updated: 2026-11-20 HyperLogLog is a compact probabilistic sketch that estimates the number of distinct values from maxima of hash-derived register ranks. Note: A hash prefix selects one of m registers; remaining bits determine a rank. Repeats leave maxima unchanged. Under independent uniform hash bits, the classic asymptotic relative standard error is about 1.04/sqrt(m): 16384 registers give 0.81%, not a worst-case bound. [flajolet2007] Direct register-wise maximum constructs the union sketch when both use the same precision, rank range, hash function and seed, input encoding, index/rank conventions and register order. The count remains estimated. HLL++ adds 64-bit hashes, bias correction and sparse storage with different small-cardinality behavior. [heule2013] [ertl2017] A register-only sketch cannot generally undo an insertion. Distinct assigned hashes 0001 and 0010 select one register with ranks 2 and 1. Sets {a} and {a,b} both store [2,0,0,0], but deleting a requires [0,0,0,0] or [1,0,0,0]. No full-hash collision is involved. [register-example] No-op insertion does not prove membership: adding b to {a} leaves the registers unchanged although b was absent. This cannot justify discarding a stored chunk. [register-example] PFADD returning 0 reports no changed registers, not confirmed duplicate input. [redis-pfadd] Register-wise minimum does not generally construct an intersection. Joint estimation can estimate overlap size, not recover its items. For A minus B, subtract B's count from the union count; subtracting B's count from A's requires that B is a subset of A. Estimated differences can have large relative errors when the result is small. [ertl2017] Limitations: - Redis PFMERGE includes an existing destination. In a pinned Redis 7.2.4 replay, reusing a rollup yields 120 for a requested 20-identity active union; a fresh destination yields 20. Expiring a source does not retract its contribution from the rollup. (sources: [redis-pfmerge], [native-window]) - A missing still-required source is accepted as empty: the same constructed 20-identity window then reports 10. Keep a complete manifest of sealed buckets and distinguish missing from intentionally empty input. These are population-selection failures, not measured estimator error rates. (sources: [redis-source], [native-window]) - The native replay adds a distinct 184th identity while PFADD returns 0, the estimate stays 183 and cached bytes remain identical. The example replacement checks source presence and builds into a fresh key on one server; it does not establish ingestion completeness, cross-server consistency or durability, and makes the destination persistent. (sources: [native-window]) Sources and caveats: - The three papers were read beyond their abstracts on 2026-10-29; the standard-error statement is asymptotic and assumes the stated hash-randomness model. - The four-bit example is a constructed information-loss witness, not an observed error rate or a reproduction of a paper's experiments. - The deletion result concerns only the register state. Sliding-window or deletion-aware designs can retain additional information. - HLL estimates a count, not variable-sized unique payload bytes, physical capacity savings or safe garbage-collection candidates. - The PFADD contract was read in the official command reference; the four-bit example does not execute Redis or reproduce its hash mapping. - The 2026-11-20 native controls use Redis 7.2.4 commit d2c8a4b91e8c0e6aefd1f5bc0bf582cddbe046b7, isolated Unix sockets and deterministic byte identities. They are not field measurements, an accuracy benchmark, a new Redis defect or a recommendation to deploy that historical version. [native-window] Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [deduplication](https://hesela.dev/terms/deduplication/) Citations: - [flajolet2007] Flajolet, Fusy, Gandouet and Meunier. HyperLogLog: the analysis of a near-optimal cardinality estimation algorithm. AofA 2007, sections 1 and 4. https://monge.univ-eiffel.fr/~fusy/Articles/FlFuGaMe07.pdf (accessed 2026-10-29) - [heule2013] Heule, Nunkesser and Hall. HyperLogLog in Practice. EDBT 2013, sections 4-6 and Figure 1. https://stefanheule.com/papers/edbt13-hyperloglog.pdf (accessed 2026-10-29) - [ertl2017] Ertl. New Cardinality Estimation Methods for HyperLogLog Sketches. arXiv:1706.07290v1, sections 2 and 6. https://arxiv.org/pdf/1706.07290v1 (accessed 2026-10-29) - [register-example] Hesela: exact register-state example with distinct assigned hashes, executable derivation and tests. https://hesela.dev/research/hyperloglog-registers.json (accessed 2026-10-29) - [redis-pfadd] Redis command reference: PFADD return information and the no-element creation exception. https://redis.io/docs/latest/commands/pfadd/ (accessed 2026-10-29) - [redis-pfmerge] Redis PFMERGE reference: an existing destination is an input to the union. https://redis.io/docs/latest/commands/pfmerge/ (accessed 2026-11-20) - [redis-source] Redis 7.2.4, pinned hyperloglog.c: pfaddCommand, pfcountCommand and pfmergeCommand. https://github.com/redis/redis/blob/d2c8a4b91e8c0e6aefd1f5bc0bf582cddbe046b7/src/hyperloglog.c#L1324 (accessed 2026-11-20) - [native-window] Hesela: native Redis HLL window controls, sparse/dense results, guarded-rebuild example and exact replay package. https://hesela.dev/research/hll-window/README.md (accessed 2026-11-20) ### Hystor URL: https://hesela.dev/terms/hystor/ Status: research Record updated: 2026-11-30 Hystor is a research block-storage system that combines separate SSD and HDD devices using cost-aware placement and optional write buffering. Note: Its frequency/request-size proxy prioritizes costly blocks; filesystem metadata receives separate treatment. After promotion, SSD timings no longer reveal the block's HDD latency. [hystor2011] The remap area retains selected blocks; a separate write-back area buffers incoming writes. HDD home locations remain reserved, but dirty SSD data cannot simply be discarded. [hystor2011] These policies do not establish crash durability. For comparison, Linux dm-cache separately specifies cache modes, mapping metadata and FLUSH/FUA commits; it is not a Hystor implementation. [dm-cache] The linked constructed example isolates the observation problem with fixed, invented costs. It does not reproduce Hystor's policy or measurements. [hesela] Limitations: - The evaluation used Linux 2.6.25.8 and Ext3 with historical SSD/HDD hardware; it does not establish present-day performance. (sources: [hystor2011]) Sources and caveats: - Primary-source synthesis and a separately labeled synthetic example; no hardware benchmark or power-loss test reproduced. - Evaluation devices: Intel X25-E 32 GB SSD and Seagate Cheetah 15k.5 SAS HDD; section 7.1. Related terms: - [sshd](https://hesela.dev/terms/sshd/) - [ssd](https://hesela.dev/terms/ssd/) - [hdd](https://hesela.dev/terms/hdd/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [griffin](https://hesela.dev/terms/griffin/) Citations: - [hystor2011] Chen, Koufaty and Zhang. Hystor. ICS 2011. DOI 10.1145/1995896.1995902; sections 3, 5 and 7. https://xiaodongzhang1911.github.io/Zhang-papers/TR-11-6.pdf (accessed 2026-11-21) - [dm-cache] Linux kernel documentation: dm-cache, operating modes and on-disk metadata. https://docs.kernel.org/admin-guide/device-mapper/cache.html (accessed 2026-11-21) - [hesela] Hesela: moving a block changes the latency you observe. https://hesela.com/analyses/ssd-mapping-cache-hmb/#hystor-observation (accessed 2026-11-21) ### I-JSON URL: https://hesela.dev/terms/i-json/ Also known as: Internet JSON, RFC 7493 Status: unknown Record updated: 2026-11-21 I-JSON is a restricted JSON profile for interoperable exchange of structured data. Note: Input: UTF-8 is required; unpaired surrogates and Unicode noncharacters are prohibited. Object names must be unique after escape decoding. [ijson-profile] Numbers: Numbers SHOULD NOT exceed binary64 range or precision; this is not a blanket MUST rejection rule. Values needing greater magnitude or precision are recommended as strings with agreed application semantics. [ijson-profile] Structure: Any JSON value is permitted; objects or arrays are recommended for compatibility with older receivers. [ijson-profile] Comparison: Ordinary JSON only recommends unique names. Decoded-name comparison is not Unicode normalization. [ijson-json] JCS preserves strings and adds deterministic serialization rules; I-JSON alone does not select canonical bytes. [ijson-jcs] Use: A successful parse is insufficient evidence of profile conformance. Check application requirements and signature validity separately before acting on signed data. [ijson-jcs] Sources and caveats: - Primary-source synthesis of the I-JSON profile and its distinction from JSON syntax, application validity and JCS canonicalization. - No new parser experiment or complete I-JSON validator is presented. Related terms: - [data-serialization](https://hesela.dev/terms/data-serialization/) - [json-canonicalization-scheme](https://hesela.dev/terms/json-canonicalization-scheme/) Citations: - [ijson-profile] RFC 7493: The I-JSON Message Format, sections 2.1-2.3 and 4.1 (Standards Track). https://www.rfc-editor.org/rfc/rfc7493.html (accessed 2026-11-21) - [ijson-json] RFC 8259: Object-name interoperability and decoded string comparison, sections 4 and 8.3. https://www.rfc-editor.org/rfc/rfc8259.html (accessed 2026-11-21) - [ijson-jcs] RFC 8785: Input adaptation, serialization and verification order, sections 3.1-3.2 and 5. https://www.rfc-editor.org/rfc/rfc8785.html (accessed 2026-11-21) - [ijson-reading] Hesela: Choose the rules before hashing JSON. https://hesela.com/analyses/checksums-identity-and-lost-writes/#json-canonicalization (accessed 2026-11-21) ### IceClave URL: https://hesela.dev/terms/iceclave/ Related article: https://hesela.com/tech/nvme/ Status: research Record updated: 2026-11-17 IceClave is a research trusted execution environment that isolates offloaded SSD programs from flash-management code and other in-storage programs. Note: The design exposes cached address mappings read-only in a protected region, while keeping FTL updates and runtime metadata in the secure world. Reading a mapping does not authorize flash access: a dedicated permission-checking process gates requests using per-entry program identities. [iceclave-paper] A missing cached mapping still redirects translation to the FTL in the secure world. The optimization avoids some transitions, not all mapping work. [iceclave-paper] The study combines a gem5/SimpleSSD/USIMM simulator with an OpenSSD Cosmos+ prototype for selected core functions; these are different evidence sources, not a commercial-device certification. [iceclave-paper] Trust boundary: The threat model includes malicious platform operators who may exploit the host or mount board-level physical attacks. The processor chip remains trusted against physical attack; secure code delivery is assumed. Those assumptions are narrower than protection against every hostile device or deployment. [iceclave-followup] Limitations: - The threat model trusts device vendors and assumes secure program delivery; software side-channel attacks are excluded. (sources: [iceclave-followup]) Sources and caveats: - Primary-source synthesis, not an executed prototype, hardware security audit or reproduced performance result. Related terms: - [computational-storage](https://hesela.dev/terms/computational-storage/) - [ftl](https://hesela.dev/terms/ftl/) - [willow](https://hesela.dev/terms/willow/) Citations: - [iceclave-paper] Kang et al. IceClave: A Trusted Execution Environment for In-Storage Computing. MICRO 2021, pp. 199-211, sections 3-6; DOI 10.1145/3466752.3480109. https://jianh.web.engr.illinois.edu/papers/iceclave-micro2021.pdf (accessed 2026-11-14) - [iceclave-followup] Xue et al. Building A Trusted Execution Environment for In-Storage Computing. Author follow-up, arXiv:2205.06361v1, sections 2-3 (2022). https://arxiv.org/html/2205.06361v1 (accessed 2026-11-14) ### IceFS URL: https://hesela.dev/terms/icefs/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: Ice file system Status: research Record updated: 2026-12-04 IceFS is a research filesystem that groups files into cubes to localize filesystem faults, recovery and journal transactions. Note: The OSDI 2014 prototype modifies Ext3/JBD in Linux 3.5. Cubes separate metadata allocation, bypass failed ancestor directories through indirection, and split transactions. Virtual journals still use shared journal space. [icefs-osdi14] Mount-time failures can remain global. Independent commit threads can increase device flush overhead; this is filesystem containment, not device redundancy or universal performance isolation. [icefs-osdi14] Online checking unmounts the faulty cube while healthy cubes remain available. Crash cleanup first blocks new requests, waits for active calls to leave, then discards dirty cached state without flushing it. Containment is not preservation of unsynchronized updates. [icefs-osdi14] The evaluation localized all triggered cases among nearly 200 selected injections at locations with existing detection checks. This is not a field failure rate or coverage of undetected corruption. [icefs-osdi14] The no fsync mode returns without flushing data or metadata. It changes the durability contract rather than making an equivalent fsync faster. Healthy cubes can still compete with repair for device bandwidth. [icefs-osdi14] Ext4's documented errors=remount-ro policy remounts the filesystem read-only; errors=continue keeps operating. Neither behavior describes IceFS's per-cube repair protocol. [ext4-error-policy] Sources and caveats: - Primary-source synthesis; no prototype execution or fault-injection replication. - The reported injection count is approximate. Exact trial counts and a production sampling denominator are unavailable in section 5.2; no confidence interval is inferred. Related terms: - [failure-domain](https://hesela.dev/terms/failure-domain/) - [fsync](https://hesela.dev/terms/fsync/) Citations: - [icefs-osdi14] Lu et al. Physical Disentanglement in a Container-Based File System. OSDI 2014, pp. 81-96; sections 4.1-4.4, 5.2, 5.5 and 5.6.1. https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-lu.pdf (accessed 2026-12-04) - [hesela-containment] Hesela: detection, containment and repair. https://hesela.com/analyses/filesystem-checksum-error-detection/#icefs-containment (accessed 2026-11-13) - [icefs-evidence] Hesela: IceFS evidence scope and source locators. https://hesela.dev/research/icefs/evidence.json (accessed 2026-12-04) - [ext4-error-policy] Linux kernel documentation: ext4 error-handling mount options. https://docs.kernel.org/admin-guide/ext4.html (accessed 2026-12-04) ### IDE / ATA URL: https://hesela.dev/terms/ide/ Related article: https://hesela.com/tech/pata/ Also known as: Integrated Drive Electronics, AT Attachment Status: unknown Record updated: 2026-10-25 IDE (Integrated Drive Electronics) is the ATA-defined storage interface associated with drives that integrate their controller electronics. Note: Naming: IDE denotes an interface defined by ATA. [snia-ide] PATA is parallel ATA, not a successor to a distinct IDE interface. Firmware terminology can be broader: the UEFI initialization specification describes both PATA and SATA IDE controllers. A SATA controller can emulate PATA registers or expose AHCI; an IDE-mode setting does not identify the cable. [uefi-ide] Early ATA: The ATA-1 revision 4c draft describes an integrated host-to-drive interface, a 40-pin connector and two devices per channel. Its PIO modes 0-2 have minimum cycle times of 600, 383 and 240 ns. At two bytes per cycle these imply about 3.3, 5.2 and 8.3 decimal MB/s, not the ceiling of all later PATA modes. [c2] Addressing: A 28-bit LBA space with 512-byte sectors spans 128 GiB, or about 137 GB. This is an addressing calculation, not the capacity limit of every ATA revision. [c2] Software: Removal of the legacy Linux IDE driver in 2021 concerns that driver implementation, not the disappearance of ATA devices or the libata subsystem. [c3] Advantages: - A defined register set, commands and LBA addressing carried over into later ATA generations and into the kernel libata layer. (sources: [c2], [c3]) Sources and caveats: - The ATA-1 source is working draft revision 4c, accessed through a university-hosted copy, not the published ANSI standard. - UEFI PI 1.8 establishes controller terminology, not the first historical use of IDE or PATA. - Arithmetic uses two bytes per minimum PIO cycle and 2^28 sectors of 512 bytes; neither calculation is a device benchmark. - Historical interface documentation does not establish a single current end-of-life status for all implementations. Related terms: - [pata](https://hesela.dev/terms/pata/) - [sata](https://hesela.dev/terms/sata/) - [hdd](https://hesela.dev/terms/hdd/) - [ahci](https://hesela.dev/terms/ahci/) - [st-412](https://hesela.dev/terms/st-412/) - [ultra-dma](https://hesela.dev/terms/ultra-dma/) Citations: - [c1] Parallel ATA. https://en.wikipedia.org/wiki/Parallel_ATA (accessed 2026-03-26) - [c2] Information technology - AT Attachment Interface for Disk Drives, ATA-1 draft revision 4c (X3T9.2 draft of ANSI X3.221). https://cs.baylor.edu/~maurer/CSI5338/IDE.pdf (accessed 2026-10-16) - [c3] ide: remove the legacy ide driver. Linux kernel commit b7fb14d3ac63, 2021. https://github.com/torvalds/linux/commit/b7fb14d3ac63 (accessed 2026-10-16) - [uefi-ide] UEFI PI 1.8: IDE controller terminology, sections 7.2.1.1 and 7.2.3.1. https://uefi.org/specs/PI/1.8/V5_IDE_Controller.html (accessed 2026-10-25) - [snia-ide] SNIA Dictionary: Integrated Drive Electronics, ATA interface naming. https://www.snia.org/education/online-dictionary/term/integrated-drive-electronics (accessed 2026-10-25) ### IDEA index URL: https://hesela.dev/terms/idea-index/ Also known as: Inverted Deduplication-Aware Index Status: research Record updated: 2026-11-17 IDEA is a research inverted index that maps terms to shared chunks and then maps those chunks to the files that reference them. Note: Whitespace-aligned chunking keeps textual terms inside chunks. The index separates term-to-chunk, chunk-to-file and file-to-path mappings. Its prototype integrates Lucene-based indexing with Destor. [levi2024] Already-chunked inputs and compressed documents need additional handling; arbitrary byte-string search is not interchangeable with whitespace-aligned term indexing. The evaluation uses Linux source versions and Wikipedia dumps. Its ranking prototype supports single-term queries; proposed multi-term ranking is not an implemented result. [levi2024] Sources and caveats: - Full-text source review, especially sections 4-8 and the artifact appendix; no native IDEA benchmark or paper-result reproduction. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [destor](https://hesela.dev/terms/destor/) - [dedupsearch](https://hesela.dev/terms/dedupsearch/) Citations: - [levi2024] Levi et al. Physical vs. Logical Indexing with IDEA: Inverted Deduplication-Aware Index. FAST 2024, pp. 243-258. https://www.usenix.org/system/files/fast24-levi.pdf (accessed 2026-11-17) - [hesela] Hesela: searching shared chunks and reconstructing file boundaries. https://hesela.com/analyses/deduplication-restore-fragmentation/#dedup-aware-search (accessed 2026-11-17) ### iDedup URL: https://hesela.dev/terms/idedup/ Also known as: latency-aware inline deduplication Status: research Record updated: 2026-11-21 iDedup is a research inline deduplication design that trades some capacity savings for longer duplicate-block sequences and memory-resident fingerprint lookup. Note: The FAST 2012 design matches runs consecutive in both file-block order and existing disk-block locations. A tunable sequence-length threshold limits fragmentation. Its LRU fingerprint cache can miss duplicates and competes with the file buffer cache. Deduplication runs during NVRAM destaging, before disk allocation. [paper] Memory-resident lookup does not make all metadata volatile. Shared blocks retain persistent reference counts, whose updates can require disk I/O. A fingerprint-cache miss is not proof that no duplicate exists. [paper] The evaluation replayed two enterprise CIFS traces on three spinning disks. The headline 60-70% concerns achievable deduplication relative to a maximum, not a 60-70% reduction of all input bytes. The reported 2-4% mean-response-time differences occur at Threshold-8 with a 1 GB metadata cache, not as a universal bound or p99 guarantee. [paper] A Hesela illustration reads the same twelve block addresses in three orders: one run, three runs or twelve runs. Unique-block count stays twelve. Runs describe address adjacency, not measured seeks or elapsed time; caching, scheduling and device geometry are excluded. This is not an iDedup implementation or paper reproduction. [layout] Sources and caveats: - Paper sections 3.2-3.4, 4.1.4, 4.2.3 and 5.2-5.7. Historical research, not a claim about present NetApp products. The full updated paper and evaluation figures were inspected; no native benchmark or trace replay was performed. - The synthetic illustration uses an explicit adjacency rule and no fitted parameters. Execute the linked JavaScript with Node.js to print its JSON; it does not infer disk latency. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [chunk-fragmentation](https://hesela.dev/terms/chunk-fragmentation/) - [sparse-indexing](https://hesela.dev/terms/sparse-indexing/) - [gogetafs](https://hesela.dev/terms/gogetafs/) Citations: - [paper] Srinivasan et al. iDedup: Latency-aware, Inline Data Deduplication for Primary Storage. FAST 2012, updated 10 February. https://www.usenix.org/legacy/events/fast12/tech/full_papers/Srinivasan2-10-12.pdf (accessed 2026-11-17) - [record] USENIX FAST 2012 publication record and updated-paper link. https://www.usenix.org/conference/fast12/idedup-latency-aware-inline-data-deduplication-primary-storage (accessed 2026-11-17) - [layout] Hesela: reproducible synthetic block-layout examples (JSON). https://hesela.dev/research/idedup-layout.json (accessed 2026-11-17) - [code] Hesela: block-layout illustration source (JavaScript). https://hesela.dev/research/idedup-layout.mjs (accessed 2026-11-17) - [hesela-dedup-restore] Hesela: Deduplication ratio does not predict restore cost. https://hesela.com/analyses/deduplication-restore-fragmentation/ (accessed 2026-11-17) ### Idempotency key URL: https://hesela.dev/terms/idempotency-key/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: Idempotency token Status: shipping Record updated: 2026-10-15 An idempotency key identifies attempts of one logical request so a service can recognize retries within its documented scope and retention rules. Note: Keep identity and parameters stable for a retry. DynamoDB TransactWriteItems documents a ClientRequestToken window of ten minutes after the first request completes; changed parameters within it are rejected, and later reuse is a new request. This service-specific rule is not a universal token lifetime. An identifier alone does not provide crash durability or duplicate suppression. Related terms: - [idempotency](https://hesela.dev/terms/idempotency/) - [retry-deduplication](https://hesela.dev/terms/retry-deduplication/) - [io-timeout](https://hesela.dev/terms/io-timeout/) Citations: - [dynamodb-token] Amazon DynamoDB API Reference: TransactWriteItems, ClientRequestToken contract. https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html#DDB-TransactWriteItems-request-ClientRequestToken (accessed 2026-10-15) - [hesela-timeouts] Storage timeouts: an expired timer is not a cancelled write. https://hesela.com/analyses/storage-timeouts-uncertain-completion/ (accessed 2026-10-15) ### Idempotency URL: https://hesela.dev/terms/idempotency/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: Idempotence Status: shipping Record updated: 2026-11-14 Idempotency is the property that repeating the same operation with identical inputs has the same intended effect as performing it once. Note: HTTP idempotency does not require identical responses or prohibit a separate log entry for each attempt (RFC 9110, section 9.2.2). It is not a durability or exactly-once execution guarantee. Repeating an assignment after another writer changes the value can overwrite that intervening update; duplicate suppression and concurrency control address distinct concerns. Crash recovery must retain the correct operands. CrookFS logs versioned old values for incremental parity replay. [shepherd07] A replay can be repeatable yet preserve inconsistent parity when it starts from mixed old/new blocks; a stale replay can also undo a later write. [parity-example] In a controlled native Linux AIO retry, whole-list and suffix-only retries left identical fixed-offset file bytes but produced four versus three successful write completions. The append control exposed a repeated record. Equal final content did not establish exactly-once execution; these are one-host observations, not a durability or device-rate result. [native-observations] Related terms: - [idempotency-key](https://hesela.dev/terms/idempotency-key/) - [retry-deduplication](https://hesela.dev/terms/retry-deduplication/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [io-shepherding](https://hesela.dev/terms/io-shepherding/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [linux-native-aio](https://hesela.dev/terms/linux-native-aio/) Citations: - [http-idempotency] RFC 9110: HTTP Semantics (June 2022), section 9.2.2, Idempotent Methods. https://www.rfc-editor.org/rfc/rfc9110.html#section-9.2.2 (accessed 2026-10-15) - [hesela-timeouts] Storage timeouts: an expired timer is not a cancelled write. https://hesela.com/analyses/storage-timeouts-uncertain-completion/ (accessed 2026-10-15) - [shepherd07] Gunawi et al. I/O Shepherding, SOSP 2007, section 4.1.4: non-idempotent policies. https://research.cs.wisc.edu/adsl/Publications/shepherd-sosp07.pdf (accessed 2026-11-09) - [parity-example] Hesela: restartable parity repair, explicit model and counterexamples. https://hesela.com/analyses/filesystem-checksum-error-detection/#parity-replay (accessed 2026-11-09) - [native-observations] Hesela: native AIO partial submission, frozen observations and derived results. https://hesela.dev/research/native-aio-prefix/summary.json (accessed 2026-11-14) - [native-reproduce] Hesela: native AIO source, observations, tests and exact-member offline archive. https://hesela.dev/research/native-aio-prefix/reproduce.zip (accessed 2026-11-14) ### Identity discrepancy URL: https://hesela.dev/terms/identity-discrepancy/ Status: unknown Record updated: 2026-10-25 An identity discrepancy is a disagreement between a stored block's identity and the identity expected by its reader. Note: A valid checksum can accompany a block belonging elsewhere. Logical identity requires file-system context; physical address identity alone cannot establish freshness after a lost write. [parity] In the FAST 2008 field study, identity discrepancies were detected during file-system reads, not RAID-level scrubs. [field] Sources and caveats: - Historical mechanism terminology; not a claim about every modern filesystem's scrub implementation. Related terms: - [silent-data-corruption](https://hesela.dev/terms/silent-data-corruption/) - [lost-write](https://hesela.dev/terms/lost-write/) - [misdirected-write](https://hesela.dev/terms/misdirected-write/) - [checksum](https://hesela.dev/terms/checksum/) - [parity-inconsistency](https://hesela.dev/terms/parity-inconsistency/) Citations: - [field] Bairavasundaram et al., An Analysis of Data Corruption in the Storage Stack, FAST 2008, sections 2.2-2.3. https://www.usenix.org/legacy/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram.pdf (accessed 2026-10-18) - [parity] Krioukov et al., Parity Lost and Parity Regained, FAST 2008, sections 4.2-4.6. https://www.usenix.org/legacy/event/fast08/tech/full_papers/krioukov/krioukov_html/main.html (accessed 2026-10-18) - [hesela] Hesela: interpreting the historical field study of silent corruption. https://hesela.com/analyses/silent-corruption-checksum-mismatches/ (accessed 2026-10-18) ### Idle Read After Write (IRAW) URL: https://hesela.dev/terms/idle-read-after-write/ Also known as: IRAW Status: research Record updated: 2026-11-03 Idle Read After Write is a research technique that retains completed-write data for comparison with disk contents during idle periods. Note: The 2008 study evaluates cache and scheduling policies through traces and simulation. It does not certify present-day drives or quantify field failure prevention. [iraw] Its validation rate counts WRITE requests. The trace analysis assumes known idle durations, whereas DiskSim does not; IRAWAge counts idle intervals, not elapsed milliseconds. [iraw] Idle time is shared with other drive services, including background media scans. The proposal warns against spending all idle time on verification; a high idle fraction is not an exclusive verification budget. [iraw] Limitations: - The paper excludes misdirected writes from its disk-level verification scope; a checked-request fraction is not wrong-address or wrong-drive fault coverage. (sources: [iraw]) - Filesystem block identity and payload comparison are separate checks. In the FAST 2008 system, RAID scrubbing could not perform the filesystem identity validation. (sources: [identity-study]) Related terms: - [read-after-write-verification](https://hesela.dev/terms/read-after-write-verification/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [scsi-verify](https://hesela.dev/terms/scsi-verify/) Citations: - [iraw] Alma Riska and Erik Riedel (Seagate Research). Idle Read After Write - IRAW. USENIX ATC 2008, pp. 43-56; sections 2-5.3. https://www.usenix.org/legacy/event/usenix08/tech/full_papers/riska/riska_html/index.html (accessed 2026-11-03) - [hesela-verification] HDD write verification: completion, persistence and comparison. https://hesela.com/analyses/hdd-write-verification-iraw/ (accessed 2026-10-19) - [identity-study] Bairavasundaram et al. An Analysis of Data Corruption in the Storage Stack. FAST 2008, sections 2.2.1-2.3. https://www.usenix.org/legacy/event/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/index.html (accessed 2026-11-03) ### iJournaling URL: https://hesela.dev/terms/ijournaling/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Status: research Record updated: 2026-11-14 iJournaling is a research ext4 journaling design that commits file-related metadata on fsync while retaining periodic compound transactions. Note: Separate per-core journals reduce unrelated commit dependencies; recovery reconstructs shared metadata. Directory fsync and uncommitted hard-link changes use normal journaling. [ijournaling] FastCommit's ATC 2024 comparison questions compatibility with applications relying on incidental persistence of other files. It did not benchmark iJournaling because the code was unavailable to its authors. [fastcommit] The Linux fsync contract concerns the referenced file, not every previously modified file; directory-entry durability requires separate attention. [fsync] The FAST 2025 DJFS study later evaluated an iJournaling port over CXL.mem on a CMM-H prototype, not the unchanged 2017 implementation. Code unavailable to one study's authors is a time-scoped statement, not proof of permanent unavailability. [djfs] Sources and caveats: - Historical source synthesis, not a prototype execution, performance replication or claim of stock-kernel support. - The companion article compares published block-count descriptions without treating the proposed single-block optimization as measured. Related terms: - [ext4-fast-commit](https://hesela.dev/terms/ext4-fast-commit/) - [physical-journaling](https://hesela.dev/terms/physical-journaling/) Citations: - [ijournaling] Park and Shin. iJournaling. USENIX ATC 2017, pp.787-798; sections 5.1-5.3 and 6.4. https://www.usenix.org/system/files/conference/atc17/atc17-park.pdf (accessed 2026-11-13) - [fastcommit] Shirwadkar, Kadekodi and Tso. FastCommit. USENIX ATC 2024, section 3 and section 4 footnote 4, pp.159-160. https://www.usenix.org/system/files/atc24-shirwadkar.pdf (accessed 2026-11-13) - [fsync] Linux man-pages 6.19: fsync(2), file and directory synchronization. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-13) - [djfs] Yoo et al. DJFS: Directory-Granularity Filesystem Journaling for CMM-H SSDs. FAST 2025, section 7.1, printed p.45. https://www.usenix.org/system/files/fast25-yoo.pdf (accessed 2026-11-14) ### Storage immutability URL: https://hesela.dev/terms/immutability-storage/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Status: shipping Record updated: 2026-10-15 Storage immutability prevents specified data from being overwritten or deleted under an enforced retention rule or hold. Note: Scope and bypass rights depend on the implementation. S3 Object Lock protects a specific object version, not the object name as a whole; new versions and delete markers remain possible. Governance bypass requires permission and an explicit bypass request. Compliance blocks user deletion during retention, including by the account root user, but is not protection against account deletion. Removing a legal hold does not end a concurrent retention period. [lock] Advantages: - Can enforce retention of a protected object version. (sources: [lock]) Limitations: - A policy name alone does not describe bypass permissions or hold-removal rights. (sources: [lock]) - Retaining data does not establish recoverability; test restoration separately. (sources: [nist]) - A retained version can contain pre-existing compromise; selecting a trusted recovery point is a separate task. (sources: [s4]) - S3 Object Lock does not prevent encryption-key deletion or loss of key access; retained ciphertext may be unreadable. (sources: [manage]) Related terms: - [worm-storage](https://hesela.dev/terms/worm-storage/) - [object-storage](https://hesela.dev/terms/object-storage/) - [air-gap-backup](https://hesela.dev/terms/air-gap-backup/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [object-versioning](https://hesela.dev/terms/object-versioning/) - [object-lock](https://hesela.dev/terms/object-lock/) - [legal-hold](https://hesela.dev/terms/legal-hold/) Citations: - [c1] Storage immutability. https://en.wikipedia.org/wiki/Object_lock (accessed 2026-03-26) - [nist] NIST SP 800-53 Rev. 5: CP-9(1), CP-9(2) and CP-10. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-53r5.pdf (accessed 2026-10-13) - [lock] Amazon S3 User Guide: Locking objects with Object Lock. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html (accessed 2026-10-13) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-13) - [s4] Strunk et al.: Self-Securing Storage: Protecting Data in Compromised Systems, OSDI 2000, sections 2.2, 3.3 and 5. https://static.usenix.org/events/osdi2000/full_papers/strunk/strunk_html/index.html (accessed 2026-10-13) - [manage] Amazon S3: Object Lock considerations. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html (accessed 2026-10-15) ### In-page logging URL: https://hesela.dev/terms/in-page-logging/ Related analysis: https://hesela.com/analyses/nand-erase-block-size-gc-cost/ Also known as: IPL Status: research Record updated: 2026-11-28 In-page logging stores database page updates as log records beside an unchanged page in the same flash erase block. Note: Reads replay the page's logs; a full log area triggers a merge into a clean block. The 2007 recovery extension forces relevant log sectors at commit and excludes uncommitted updates from merging. No-force refers to data pages, not an absence of durable log writes. [ipl2007] Transactional IPL later adds snapshot-aware merging and alternative commit protocols with different recovery costs. [tipl2011] Sources and caveats: - Historical research designs, not a feature claim for current SSDs. The IPL comparison is simulated; TIPL evaluates traced workloads. No hardware reproduction by Hesela. Related terms: - [page-differential-logging](https://hesela.dev/terms/page-differential-logging/) - [physiological-logging](https://hesela.dev/terms/physiological-logging/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [in-place-appends](https://hesela.dev/terms/in-place-appends/) Citations: - [ipl2007] Lee and Moon. Design of Flash-Based DBMS: An In-Page Logging Approach. SIGMOD 2007, pp. 55-66, sections 3 and 5. https://www2.cs.arizona.edu/~bkmoon/papers/sigmod07.pdf (accessed 2026-11-13) - [tipl2011] Lee and Moon. Transactional In-Page Logging for Multiversion Read Consistency and Recovery. ICDE 2011, pp. 876-887, sections III-VI. https://www2.cs.arizona.edu/~bkmoon/papers/icde11.pdf (accessed 2026-11-13) - [hesela-ipl] Hesela: log placement, commit and retained history. https://hesela.com/analyses/nand-erase-block-size-gc-cost/#in-page-logging (accessed 2026-11-13) ### In-Place Appends URL: https://hesela.dev/terms/in-place-appends/ Related analysis: https://hesela.com/analyses/nand-erase-block-size-gc-cost/ Also known as: IPA Status: research Record updated: 2026-11-28 In-Place Appends is a research design that stores small database updates in reserved, initially unprogrammed space on the same physical NAND page as their base data. Note: Unlike IPL's same-block placement, IPA keeps deltas on the base page. Exhausted capacity triggers an out-of-place write. The EDBT prototype distinguishes whole-page host writes from a native write_delta interface; avoiding relocation does not automatically reduce host transfer bytes. [ipa-edbt2017] The format reserves value-offset pairs for data and page metadata, plus control bytes. ECC needs separate accommodation. The SIGMOD evaluation combines OpenSSD hardware and emulation; it does not establish support in an arbitrary present-day SSD. IPA is not a replacement for database recovery. [ipa-sigmod2017] Appendix B uses normalized I/O counts with four operation units per DB page. Its ratio is not a measured host-byte WAF. [ipa-sigmod2017] The IPA-IDX follow-up uses physiological index logs rather than byte deltas. Reported GC totals and GC operations per host write have different denominators; neither is an observed device-lifetime gain. [ipa-idx2019] For staged comparisons, distinguish percentage points against the original baseline from a relative change against the intermediate configuration. IPA-IDX's TPC-B aggregates permit both calculations, with each run normalized by its own host-write count. [ipa-idx2019] Sources and caveats: - Historical source synthesis; no IPA implementation or hardware experiment reproduced by Hesela. - Hesela's linked layout calculation accounts for reserved bytes, not endurance, host traffic or atomicity. Related terms: - [in-page-logging](https://hesela.dev/terms/in-page-logging/) - [page-differential-logging](https://hesela.dev/terms/page-differential-logging/) - [incremental-step-pulse-programming](https://hesela.dev/terms/incremental-step-pulse-programming/) - [nand-page](https://hesela.dev/terms/nand-page/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [program-interference](https://hesela.dev/terms/program-interference/) Citations: - [ipa-sigmod2017] Hardock et al. From In-Place Updates to In-Place Appends: Revisiting Out-of-Place Updates on Flash. SIGMOD 2017, sections 6-8. https://dblab.reutlingen-university.de/paper/2017_SIGMOD_FromInPlaceUpdatesToInPlaceAppends.pdf (accessed 2026-11-28) - [ipa-edbt2017] Hardock et al. In-Place Appends for Real: DBMS Overwrites on Flash without Erase. EDBT 2017, pp. 586-589, sections 3-4. https://openproceedings.org/2017/conf/edbt/paper-441.pdf (accessed 2026-11-28) - [ipa-idx2019] Hardock, Koch, Vincon and Petrov. IPA-IDX: In-Place Appends for B-Tree Indices. DaMoN 2019, section 4 and Figures 3-4. DOI 10.1145/3329785.3329929. https://dblab.reutlingen-university.de/paper/2019_DAMON_IPA_IDX.pdf (accessed 2026-11-28) ### Incarnation identifier URL: https://hesela.dev/terms/incarnation-identifier/ Status: unknown Record updated: 2026-11-05 An incarnation identifier distinguishes successive instances of a process, machine or server whose local identifiers may otherwise be reused. Note: Birrell and Nelson's RPC design passes a conversation identifier with every call sequence number to distinguish incarnations of a calling machine, so sequence numbers need not survive a restart. Conversation identifiers come from a 32-bit clock that each machine initializes from network time servers when it restarts. [c1] On the server side, each exported interface carries a unique identifier that the callee checks on every call. A binding is therefore implicitly broken when the exporter crashes and restarts, so a client learns of a crash that happened between calls. [c1] TCP has the same problem with connection incarnations. Its initial sequence numbers come from a 32-bit clock that ticks about every 4 µs and cycles roughly every 4.55 hours. An endpoint that has lost its sequence-number memory must stay quiet for one maximum segment lifetime, taken as 2 minutes. [rfc9293] A recovery counter is not necessarily an incarnation identifier. Hesela's constructed GDBM 1.23 selector accepted adjacent counts from independently created databases. Caller-side evidence must bind the pair to its intended database; these mispaired inputs do not demonstrate failure of GDBM's correctly used crash-tolerance protocol. [gdbm-selection] GNU's numsync extension expects adjacent snapshot counts. The field orders snapshots but should not be classified as an incarnation identifier. [gdbm-numsync] A deliberately invalid file returned OK but failed reader-open, separating selection success from database readability. [gdbm-selection] GNU requires gdbm_sync only at a recoverable application state; the counter certifies neither identity nor application invariants. [gdbm-sync] Advantages: - Lets a receiver reject messages meant for an earlier instance without persisting per-sender sequence state across restarts. (sources: [c1]) Limitations: - Values drawn from a wrapping counter repeat after one cycle, so they are safe only while old messages cannot outlive that cycle. (sources: [rfc9293]) - Predictable values can be guessed, which is why TCP adds a secret-keyed pseudorandom function to its clock-based initial sequence numbers. (sources: [rfc9293]) Sources and caveats: - c1 is the 1984 ACM Transactions on Computer Systems paper by Birrell and Nelson, re-read on 2026-10-22 in its binding and call semantics sections. - The 32-bit clock for conversation identifiers comes from c1. - rfc9293 is IETF RFC 9293, Transmission Control Protocol, read on 2026-10-22 in sections 3.4.1 to 3.4.3. - The 32-bit clock, about 4 µs tick, 4.55-hour cycle and 2-minute maximum segment lifetime come from rfc9293. - The GDBM application analogy is based on nine constructed GDBM 1.23 selector cases, with independent source/prose review and outcome replay; no crash, reflink operation or correctly used protocol failure is claimed. - The 4 November four-case selector/reader supplement was author-verified with two native captures; the earlier independent review covers only the original nine cases. - The synchronization-point limitation was checked against the official GDBM 1.23 source archive on 2026-11-05; it is source synthesis, not another native experiment. Related terms: - [serial-number-arithmetic](https://hesela.dev/terms/serial-number-arithmetic/) - [transaction-id-wraparound](https://hesela.dev/terms/transaction-id-wraparound/) - [lost-write](https://hesela.dev/terms/lost-write/) Citations: - [c1] Birrell and Nelson. Implementing Remote Procedure Calls (1984), section 3.2, pp. 50-51. https://www.cl.cam.ac.uk/teaching/0708/DigiCommI/birrell1984rpc.pdf (accessed 2026-10-18) - [c2] Hesela: ordering storage generations across counter wrap. https://hesela.com/analyses/storage-generation-counter-wraparound/#incarnations (accessed 2026-10-18) - [rfc9293] IETF RFC 9293. Transmission Control Protocol (TCP), sections 3.4.1-3.4.3: initial sequence numbers and quiet time. https://www.rfc-editor.org/rfc/rfc9293 (accessed 2026-10-22) - [gdbm-selection] Hesela: GDBM recovery selection, database identity and reader-open controls. https://hesela.com/analyses/storage-generation-counter-wraparound/#gdbm-selection (accessed 2026-11-04) - [gdbm-numsync] GNU GDBM manual: Numsync Extension. https://www.gnu.org.ua/software/gdbm/manual/Numsync.html (accessed 2026-10-26) - [gdbm-sync] GNU GDBM 1.23 manual: Synchronizing the Database (doc/gdbm.texi). https://www.gnu.org.ua/software/gdbm/manual/Synchronizing-the-Database.html (accessed 2026-11-05) ### Inconsistent replication URL: https://hesela.dev/terms/inconsistent-replication/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: IR replication Status: research Record updated: 2026-11-16 Inconsistent replication is a fault-tolerant protocol that preserves an unordered operation set while leaving application-level ordering and conflict decisions to a higher layer. Note: Modes: Inconsistent operations preserve operations; consensus operations also preserve a selected result, subject to the protocol's application Merge rules. Neither mode imposes a total execution order. TAPIR supplies the transaction semantics. [tapir-paper] Implementation: The client groups replies by view and replica identity. A fast-path result needs f+ceil(f/2)+1 matching replies; otherwise the slow path selects a result and waits for finalization acknowledgements. [tapir-client] [tapir-config] Assumptions: The paper uses 2f+1 replicas and at most f simultaneous crash failures, not Byzantine failures or arbitrary loss of all replicas. Application invariants and recovery functions must satisfy the IR interface; IR is not a drop-in replacement for an ordered log. [tapir-paper] Sources and caveats: - Full-paper and pinned-code review. No prototype execution, performance reproduction or formal verification. The inspected repository revision is not identified as the evaluated 2015 artifact. Related terms: - [tapir](https://hesela.dev/terms/tapir/) Citations: - [tapir-paper] Zhang et al. Building Consistent Transactions with Inconsistent Replication. SOSP 2015, pp. 263-278; DOI 10.1145/2815400.2815404, sections 3-6. https://syslab.cs.washington.edu/papers/tapir-sosp15.pdf (accessed 2026-11-16) - [tapir-config] UWSysLab TAPIR configuration.cc: QuorumSize and FastQuorumSize, commit c50d906. https://github.com/UWSysLab/tapir/blob/c50d906a8ab554675d47a1d8cf3277e1eaa69d5b/lib/configuration.cc (accessed 2026-11-16) - [tapir-client] UWSysLab TAPIR IR client.cc: matching results, slow path and finalization, commit c50d906. https://github.com/UWSysLab/tapir/blob/c50d906a8ab554675d47a1d8cf3277e1eaa69d5b/replication/ir/client.cc (accessed 2026-11-16) ### Incremental backup URL: https://hesela.dev/terms/incremental-backup/ Status: shipping Record updated: 2026-12-02 An incremental backup records changes relative to an earlier backup state and reuses retained backup data to represent unchanged content. Note: For a dependent incremental format, the reference need not be the immediately previous backup: retain its actual predecessors, plus recovery WAL for PostgreSQL. [archive] In a deduplicated repository such as restic, a snapshot references a complete tree of stored blobs; restore depends on those objects, not a replay of every earlier snapshot. [restic-format] For ZFS snapshot history, -i transfers to the target while -I includes intermediate snapshots. Replication with -R -s can skip a dataset and its descendants when a snapshot is missing. [zfs-send] Change selection: the retained backup may be internally intact while a source edit was never selected. Hesela's inotify probe demonstrates a mapped edit without IN_MODIFY and a grandparent-directory watch that misses the tested nested file. These are API controls, not findings about a specific backup program. [hesela-inotify] GNU tar's listed-incremental snapshot (.snar) selects changes during backup creation; extraction does not require it. In Hesela's GNU tar 1.35 fixture, base plus tail without the required middle archive restored the expected names and sizes with exit zero but stale contents. An unchanged-source retry from the advanced cursor did not re-emit the missing payloads; a saved-base-cursor retry did. This is a synthetic dependency counterexample, not a failure-rate estimate. A saved cursor cannot recreate historical source bytes that have since disappeared. [tar-incremental-manual] [hesela-tar-lineage] Retention must follow actual predecessors, not archive counts. Base plus tail failed, while base plus a base-relative fork succeeded. This does not require every incremental format to replay all earlier backups. [hesela-tar-lineage] Advantages: - Can reduce copied data when much of a large database is unchanged. (sources: [archive]) Limitations: - In a dependent incremental format, a missing required predecessor can prevent reconstruction. (sources: [combine]) - A legal dependency chain does not establish input integrity. (sources: [combine]) - Correct predecessor selection alone does not establish source consistency under concurrent writes; TDB snapshots its source partitions in one atomic commit before copying them. (sources: [tdb-backup-lineage]) Related terms: - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [snapshot](https://hesela.dev/terms/snapshot/) - [full-backup](https://hesela.dev/terms/full-backup/) - [synthetic-full-backup](https://hesela.dev/terms/synthetic-full-backup/) - [differential-backup](https://hesela.dev/terms/differential-backup/) - [zfs-bookmark](https://hesela.dev/terms/zfs-bookmark/) - [zfs-receive-resume-token](https://hesela.dev/terms/zfs-receive-resume-token/) - [zfs-raw-send](https://hesela.dev/terms/zfs-raw-send/) - [inotify](https://hesela.dev/terms/inotify/) - [changed-block-tracking](https://hesela.dev/terms/changed-block-tracking/) - [dirty-bitmap](https://hesela.dev/terms/dirty-bitmap/) - [cumulus](https://hesela.dev/terms/cumulus/) Citations: - [combine] PostgreSQL 18: pg_combinebackup, dependency chains and hard links. https://www.postgresql.org/docs/18/app-pgcombinebackup.html (accessed 2026-10-13) - [archive] PostgreSQL 18: Continuous Archiving and Point-in-Time Recovery, sections 25.3.3 and 25.3.5. https://www.postgresql.org/docs/18/continuous-archiving.html (accessed 2026-10-13) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-13) - [restic-format] restic repository format: snapshots, trees and data. https://restic.readthedocs.io/en/stable/100_references.html (accessed 2026-10-14) - [zfs-send] OpenZFS v2.3: zfs-send(8), incremental history and skip-missing replication. https://openzfs.github.io/openzfs-docs/man/v2.3/8/zfs-send.8.html (accessed 2026-10-18) - [hesela-inotify] Hesela: What inotify misses: mapped writes and collapsed change events. https://hesela.com/analyses/inotify-change-detection/ (accessed 2026-10-19) - [tar-incremental-manual] GNU tar 1.35: Using tar to Perform Incremental Dumps, section 5.2. https://www.gnu.org/software/tar/manual/html_node/Incremental-Dumps.html (accessed 2026-10-23) - [hesela-tar-lineage] Hesela: GNU tar incremental recovery lineage, nine synthetic procedures. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#tar-incremental-lineage (accessed 2026-10-23) - [tdb-backup-lineage] Maheshwari, Vingralek and Shapiro: How to Build a Trusted Database System on Untrusted Storage, OSDI 2000, sections 6.1-6.3. https://www.usenix.org/legacy/events/osdi2000/full_papers/maheshwari/maheshwari_html/ (accessed 2026-10-24) ### Incremental step pulse programming URL: https://hesela.dev/terms/incremental-step-pulse-programming/ Related analysis: https://hesela.com/analyses/nand-paired-pages-durability/ Also known as: ISPP Status: shipping Record updated: 2026-11-26 Incremental step pulse programming raises NAND programming-pulse voltage in steps, with intervening verification to move cells toward their target threshold states. Note: Cells that reach their verify level are inhibited from further programming in that sequence. The applied program voltage and the cell's threshold voltage are different quantities. [zedaka-ispp] The program-verify reference controls whether programming continues for a cell; read references distinguish stored states when retrieving data. Neither is the voltage amplitude of the programming pulse. Reaching a verify level is not a measurement of how long the data will remain recoverable. [zedaka-ispp] [kim-ispp] Smaller steps can improve state-placement precision but typically require more program-and-verify work for a comparable voltage span. An ISPP sequence can operate within a coarse or fine programming pass; those passes are not individual pulses, host writes or program/erase cycles. [kim-ispp] Actual threshold shifts need not equal the applied voltage step. A 3D NAND study separated read variation from intrinsic over-programming and used calibrated Monte Carlo analysis to interpret the measured spread. An ideal step size is not a universal bound on the final distribution width. [park-ispp] Sources and caveats: - Mechanism: the NeurIPS 2023 supplement, Appendix A; programming parameters depend on the target state. [zedaka-ispp] - Pass/loop distinction: sections 2.1-2.2 of LazyRS. The publication's broader performance and integrity claims are not generalized here. [kim-ispp] - Park et al., sections 2.1.1, 2.2 and 3.1: measured 3D NAND plus a calibrated model; compared step sizes use arbitrary units, not portable voltage settings. [park-ispp] - Literature synthesis only; no device experiment or current-product endurance estimate. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [nand-page-pairing](https://hesela.dev/terms/nand-page-pairing/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) Citations: - [zedaka-ispp] Zedaka et al. Neural Modulation for Flash Memory: An Unsupervised Learning Framework for Improved Reliability. NeurIPS 2023 supplement, Appendix A, Algorithm 1. https://papers.nips.cc/paper_files/paper/2023/file/da7e0d7210b99ebc91c4a5f911962d6c-Supplemental-Conference.pdf (accessed 2026-11-26) - [kim-ispp] Kim and Kim (2023). LazyRS: Improving the Performance and Reliability of High-Capacity TLC/QLC Flash-Based Storage Systems Using Lazy Reprogramming. https://www.mdpi.com/2079-9292/12/4/843 (accessed 2026-11-26) - [park-ispp] Park et al. Investigation of Program Efficiency Overshoot in 3D Vertical Channel NAND Flash with Randomly Distributed Traps. Nanomaterials 13, 1451 (2023). https://www.mdpi.com/2079-4991/13/9/1451 (accessed 2026-11-26) ### Independent access range (Linux) URL: https://hesela.dev/terms/independent-access-range/ Related article: https://hesela.com/tech/dual-actuator/ Also known as: independent_access_ranges Status: shipping Record updated: 2026-10-23 A Linux independent access range is an advertised region of a block device that can service requests in parallel with its other reported regions. Note: Linux 6.14 documents /sys/block//queue/independent_access_ranges//sector and nr_sectors in 512-byte units, independent of logical block size. Both attributes are read-only with mode 0444, the ranges are numbered by increasing start sector and range 0 always starts at sector 0. [linux-abi] [blk-ia-ranges] For SCSI disks the driver reads the Concurrent Positioning Ranges VPD page B9h into a buffer of 64 + 256 x 32 bytes, a 64-byte header and up to 256 descriptors of 32 bytes. A page that reports only one range yields no ranges in sysfs, and a descriptor whose number differs from its position discards the whole set. [sd] Before a set is published, the block layer checks that the ranges have no holes or overlaps and that their sizes add up to the disk capacity, and otherwise it logs a warning and drops them. This is the kernel's representation, not the device log itself, and absence does not establish the physical actuator count. [blk-ia-ranges] Advantages: - The layout is exposed through ordinary read-only sysfs files, so userspace can read it without issuing SCSI or ATA commands. (sources: [linux-abi]) Limitations: - A VPD page shorter than 96 bytes or with a length that is not a multiple of 32 is rejected with an error, and no ranges are set. (sources: [sd]) - A revalidation that reports ranges identical to the current set leaves the registered entries in place, while any change replaces the whole sysfs directory. (sources: [blk-ia-ranges]) Sources and caveats: - linux-abi is the Linux 6.14 stable ABI page, read for the sysfs layout, units and numbering. - blk-ia-ranges is block/blk-ia-ranges.c at Linux v6.14, read for the attribute modes and the consistency checks. - sd is drivers/scsi/sd.c at Linux v6.14, read for the VPD page parsing in sd_read_cpr. - The 96-byte minimum is the 64-byte header plus one 32-byte descriptor as checked in the code. Related terms: - [dual-actuator](https://hesela.dev/terms/dual-actuator/) - [concurrent-positioning-range](https://hesela.dev/terms/concurrent-positioning-range/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [4kn-native](https://hesela.dev/terms/4kn-native/) Citations: - [linux-abi] Linux 6.14 stable ABI: independent_access_ranges. https://docs.kernel.org/6.14/admin-guide/abi-stable.html#abi-sys-block-disk-queue-independent-access-ranges (accessed 2026-10-23) - [blk-ia-ranges] Linux v6.14 block/blk-ia-ranges.c: sysfs attributes and range checks. https://raw.githubusercontent.com/torvalds/linux/v6.14/block/blk-ia-ranges.c (accessed 2026-10-23) - [sd] Linux v6.14 drivers/scsi/sd.c: sd_read_cpr and VPD page B9h parsing. https://raw.githubusercontent.com/torvalds/linux/v6.14/drivers/scsi/sd.c (accessed 2026-10-23) ### Independent reference model URL: https://hesela.dev/terms/independent-reference-model/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: IRM Status: research Record updated: 2026-11-21 The independent reference model describes cache requests as independent draws from a fixed popularity distribution over a fixed catalogue. Note: The request sequence has no temporal correlations. The next identity does not depend on earlier identities. Independent homogeneous Poisson streams provide a continuous-time representation with request probabilities proportional to their rates. [renewal] Measured marginal popularities alone do not establish independence. For example, repeating ABAB and AABB both request A and B equally often. With one LRU slot their long-run hit ratios are respectively 0 and 1/2, while independent equal-probability draws give 1/2. The shared frequency histogram is insufficient to predict cache behaviour. These are constructed controls, not workload measurements. [example] The Che approximation uses this assumption in its familiar exponential form. A model that matches popularity can still miss ordering, bursts or changes in the catalogue. Preserve the observation layer and distinguish steady-state estimates from a finite trace with an empty initial cache. [renewal] Sources and caveats: - A workload assumption, not a replacement algorithm. Periodic controls are analytically constructed and not samples drawn from IRM. Related terms: - [che-approximation](https://hesela.dev/terms/che-approximation/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) - [locality-of-reference](https://hesela.dev/terms/locality-of-reference/) - [tsetlin-library](https://hesela.dev/terms/tsetlin-library/) Citations: - [renewal] Martina, Garetto and Leonardi. A unified approach to the performance analysis of caching systems. arXiv:1307.6702v6 (2016), section II.A. https://arxiv.org/pdf/1307.6702v6 (accessed 2026-11-19) - [example] Hesela. Exact periodic one-slot controls and independent-reference arithmetic. https://hesela.dev/research/che-approximation/evidence.json (accessed 2026-11-19) ### InfiniBand URL: https://hesela.dev/terms/infiniband/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: IB Status: shipping Record updated: 2026-11-09 InfiniBand is a standardized switched-fabric interconnect architecture for computing and storage systems that supports message exchange and remote direct memory access. Note: Architecture: InfiniBand defines an interconnect, not a storage command set. RoCE carries RDMA over Ethernet; it is not another name for an InfiniBand fabric. A shared RDMA programming model does not establish wire compatibility. [ibta] [verbs] Endpoints: A queue pair groups send and receive work queues. The selected service determines supported operations and delivery guarantees; InfiniBand includes reliable and unreliable services. NVMe/RDMA specifically requires reliable queue-pair modes. [verbs] [rdma] Management: A subnet manager discovers the fabric, assigns local identifiers and configures routing. These network-management responsibilities are distinct from an NVMe discovery controller's storage connection information. [verbs] [rdma] Storage bindings: NVMe/RDMA can use InfiniBand, RoCE or iWARP as providers. iSER instead extends iSCSI for RDMA-capable protocols; RFC 7145 includes InfiniBand's Reliable Connected service. The fabric alone does not identify which storage protocol an endpoint supports. [rdma] [iser] Sharing: Justitia (NSDI 2022) separates NIC resource contention from fabric congestion; its tested applications could interfere despite reliable transport. This is historical experimental evidence, not a current-hardware performance guarantee. [justitia] Evidence boundary: This is an architecture and specification review, not a hardware, interoperability or latency experiment. No universal performance ranking follows from the transport name. Sources and caveats: - Primary-source architecture and protocol review. The archived vendor guide supports vocabulary and management roles; its historical speeds and performance marketing are not adopted as current facts. No experiment was performed. Related terms: - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [nvme-rdma](https://hesela.dev/terms/nvme-rdma/) - [roce-v2](https://hesela.dev/terms/roce-v2/) - [iwarp](https://hesela.dev/terms/iwarp/) - [iser](https://hesela.dev/terms/iser/) - [nvme-discovery-controller](https://hesela.dev/terms/nvme-discovery-controller/) Citations: - [ibta] InfiniBand Trade Association: architecture specification and InfiniBand/RoCE distinction. https://infinibandta.org/ibta-specification/ (accessed 2026-11-09) - [verbs] NVIDIA RDMA Aware Networks Programming User Manual, archived DOCA 3.5.0: glossary and sections 3.1-3.5. https://networking-docs.nvidia.com/doca/archive/3-5-0/rdma-aware-networks-programming-guide (accessed 2026-11-09) - [rdma] NVM Express NVMe over RDMA Transport 1.3, sections 1.4, 2 and 3.1. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVMe-over-RDMA-Transport-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-11-09) - [iser] RFC 7145: iSCSI Extensions for RDMA, section 1.2. https://www.rfc-editor.org/rfc/rfc7145.html#section-1.2 (accessed 2026-11-09) - [justitia] Zhang et al., Justitia: Software Multi-Tenancy in Hardware Kernel-Bypass Networks (NSDI 2022), sections 2.2, 3.1 and 3.3. https://www.usenix.org/system/files/nsdi22-paper-zhang_yiwen.pdf (accessed 2026-11-09) ### Infiniswap URL: https://hesela.dev/terms/infiniswap/ Status: research Record updated: 2026-11-15 Infiniswap is a research remote-paging system that uses RDMA-accessible memory as swap space with local-disk fallback. Note: Design: A kernel block device serves paging requests while a user-space daemon manages donated RAM. Mapping uses slabs, but transfers operate on pages; no application rewrite is required. [project] Read selection: A mapped slab is not proof that every page is remotely resident. The page bitmap is set after a remote write; reads otherwise use disk. Mapping alone does not prefetch old pages. [paper] Completion: A mapped page-out completes after RDMA WRITE, while its duplicate disk write is asynchronous. The shared dispatch buffer remains occupied until disk completion; exhausted entries can therefore block new requests. [paper] Failure scope: After remote loss, the design redirects reads to disk and uses the same slab's disk queue to order a pending write before its subsequent read. This is remote-loss handling, not a host-crash persistence guarantee. [paper] Prototype: The pinned README targets Linux 3.13.0 and reports tests on 4.4.0 and 4.11.0, requiring compatible RDMA support and an unused backup partition. These prerequisites are historical, not evidence of support on current kernels. [implementation] Sources and caveats: - Source synthesis, not a native Infiniswap execution, crash test or benchmark replication. - The host-crash distinction is an inference from the asynchronous disk path and the paper's remote-unreachability failure model. [paper] - Reported performance comes from specific 2017 RDMA workloads; section 8 assumes the network is not a bottleneck. [paper] Related terms: - [swapfile](https://hesela.dev/terms/swapfile/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [aifm](https://hesela.dev/terms/aifm/) - [fastswap](https://hesela.dev/terms/fastswap/) - [leap](https://hesela.dev/terms/leap/) - [hermit](https://hesela.dev/terms/hermit/) - [mind](https://hesela.dev/terms/mind/) - [clio](https://hesela.dev/terms/clio/) - [legoos](https://hesela.dev/terms/legoos/) - [hydra-remote-memory](https://hesela.dev/terms/hydra-remote-memory/) Citations: - [paper] Gu et al. Efficient Memory Disaggregation with Infiniswap. NSDI 2017, pp. 649-667, sections 4.1, 4.3-4.5 and 8. https://www.usenix.org/system/files/conference/nsdi17/nsdi17-gu.pdf (accessed 2026-11-15) - [project] Infiniswap authors: architecture and paging request paths. https://infiniswap.github.io/ (accessed 2026-11-15) - [implementation] Infiniswap author README, pinned prerequisites and component layout. https://github.com/SymbioticLab/infiniswap/blob/da7c14bf749ccadb4ef44953579d55143e8e7182/README.md (accessed 2026-11-15) ### Informative censoring URL: https://hesela.dev/terms/informative-censoring/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: Dependent censoring Status: shipping Record updated: 2026-11-05 Informative censoring occurs when the observation-ending process conveys information about the event time beyond what the survival analysis accounts for. Note: Hypothetical storage example: retiring drives because worsening telemetry predicts failure can remove high-risk devices before recorded failure. If the target is failure under continued service rather than time to retirement, treating those withdrawals as ordinary independent censoring can bias an unadjusted survival curve. Record withdrawal reasons and examine sensitivity to the censoring assumptions. Observed event and censoring times alone cannot verify the assumptions that identify the target survival distribution. [overgaard-hansen] Related terms: - [right-censoring](https://hesela.dev/terms/right-censoring/) - [kaplan-meier-estimator](https://hesela.dev/terms/kaplan-meier-estimator/) - [survival-function](https://hesela.dev/terms/survival-function/) - [competing-risks](https://hesela.dev/terms/competing-risks/) - [inverse-probability-of-censoring-weighting](https://hesela.dev/terms/inverse-probability-of-censoring-weighting/) - [log-rank-test](https://hesela.dev/terms/log-rank-test/) Citations: - [overgaard-hansen] Overgaard and Hansen: On the assumption of independent right censoring, arXiv:1905.02508v1. https://arxiv.org/html/1905.02508v1 (accessed 2026-10-13) ### Informed prefetching URL: https://hesela.dev/terms/informed-prefetching/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: Transparent Informed Prefetching, TIP Status: research Record updated: 2026-11-30 Informed prefetching uses application disclosures of future file accesses to schedule advance reads under shared resource constraints. Note: Disclosure identifies future accesses in file-level terms rather than prescribing a lower-level policy. The historical TIP prototype could exploit nonsequential and cross-file access knowledge. [tip94] TIP-2 balances buffers for advance reads, hinted reuse and unhinted LRU caching using estimated execution-time costs and benefits. The three demands compete for memory. [tip95] Limitations: - Application hints describe expected accesses, not completed reads or guaranteed cache residency. (sources: [tip94]) Sources and caveats: - Historical primary-source review; the Mach 3.0 TIP prototype and OSF/1 TIP-2 evaluation are distinct systems, not current Linux implementations. Related terms: - [tiptoe](https://hesela.dev/terms/tiptoe/) - [readahead](https://hesela.dev/terms/readahead/) - [table-based-prefetching](https://hesela.dev/terms/table-based-prefetching/) - [prefetch-wastage](https://hesela.dev/terms/prefetch-wastage/) - [quickmine](https://hesela.dev/terms/quickmine/) Citations: - [tip94] Patterson and Gibson. Exposing I/O Concurrency with Informed Prefetching. PDIS 1994, sections 1-2. https://www.pdl.cmu.edu/Publications/HTML-Papers/PDIS94/final.fm.shtml (accessed 2026-11-14) - [tip95] Patterson et al. Informed Prefetching and Caching. SOSP 1995, sections 3-4 and 6-7. https://www.cs.cmu.edu/afs/cs/project/pdl/ftp/TIP/SOSP15.pdf (accessed 2026-11-14) ### SCSI initiator and target URL: https://hesela.dev/terms/initiator-target/ Related article: https://hesela.com/tech/scsi/ Status: shipping Record updated: 2026-10-20 A SCSI initiator issues commands to logical units served by a SCSI target. Note: Roles and ports: A target can contain several logical units and have several target ports. SCSI port identity is transport-specific; in iSCSI it is not simply a physical network socket. [rfc7143] Error handling: iSCSI requires autosense: CHECK CONDITION responses include sense data. BUSY and TASK SET FULL are different statuses and do not imply sense data. [rfc7143] Sources and caveats: - Port mapping and mandatory autosense are described for iSCSI by RFC 7143; other transports have their own mappings and recovery rules. Related terms: - [scsi](https://hesela.dev/terms/scsi/) - [san](https://hesela.dev/terms/san/) - [iscsi](https://hesela.dev/terms/iscsi/) - [sas](https://hesela.dev/terms/sas/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [hba](https://hesela.dev/terms/hba/) - [multipath-io](https://hesela.dev/terms/multipath-io/) - [t10-scsi](https://hesela.dev/terms/t10-scsi/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [logical-unit-number](https://hesela.dev/terms/logical-unit-number/) - [command-descriptor-block](https://hesela.dev/terms/command-descriptor-block/) - [scsi-check-condition](https://hesela.dev/terms/scsi-check-condition/) - [scsi-logical-unit](https://hesela.dev/terms/scsi-logical-unit/) - [iscsi-autosense](https://hesela.dev/terms/iscsi-autosense/) Citations: - [c1] SCSI initiator and target (Wikipedia). https://en.wikipedia.org/wiki/SCSI_initiator_and_target (accessed 2026-10-11) - [c2] SCSI (Wikipedia), sections on the SCSI command protocol, parallel interface and general addressing. https://en.wikipedia.org/wiki/SCSI (accessed 2026-10-11) - [rfc7143] RFC 7143: SCSI ports, autosense and status (sections 4.4.2, 10.2, 11.4.2 and 11.4.7). https://www.rfc-editor.org/rfc/rfc7143.html (accessed 2026-10-20) ### Inline encryption URL: https://hesela.dev/terms/inline-encryption/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Linux blk-crypto Status: shipping Record updated: 2026-10-22 Inline encryption is per-I/O encryption in the storage path, controlled by a key, algorithm, data-unit size and data-unit number. Note: Linux v6.12 carries an encryption context with block I/O and manages hardware capabilities and keyslots. Unlike a memory crypto accelerator, the hardware processes storage requests; unlike a self-encrypting drive, it exposes per-request cryptographic control. [inline-source] The optional blk-crypto-fallback backend uses the kernel crypto API. For identical input and encryption parameters, correct implementations produce the same on-disk ciphertext, so the execution backend is distinct from the file format. [inline-source] The documented lifecycle separates completion, eviction and zeroization. Only after all I/O completes should a caller evict the key from each block device using it, then zeroize the key object. Releasing a request's keyslot reference is not the entire lifecycle. [inline-source] Limitations: - Support through blk-crypto does not itself prove hardware offload or authenticated encryption. (sources: [inline-source], [fscrypt-source]) Related terms: - [fscrypt](https://hesela.dev/terms/fscrypt/) - [self-encrypting-drive](https://hesela.dev/terms/self-encrypting-drive/) - [ufs](https://hesela.dev/terms/ufs/) - [xts-aes](https://hesela.dev/terms/xts-aes/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) Citations: - [inline-source] Linux v6.12: inline encryption, block-I/O contexts and software fallback. https://docs.kernel.org/6.12/block/inline-encryption.html (accessed 2026-10-22) - [fscrypt-source] Linux v6.12: fscrypt, encryption modes and inline encryption support. https://docs.kernel.org/6.12/filesystems/fscrypt.html (accessed 2026-10-22) - [hesela-fscrypt] Hesela: filesystem encryption and the execution backend. https://hesela.com/analyses/checksums-identity-and-lost-writes/#filesystem-encryption (accessed 2026-10-22) ### Inode change time URL: https://hesela.dev/terms/inode-change-time/ Also known as: ctime, Status change time, Last status change time Status: shipping Record updated: 2026-11-29 Inode change time (ctime) is the filesystem timestamp of the latest change to a file's inode status, including content writes and changes to selected metadata. Note: On Linux, writes and changes to permissions, ownership or link count update ctime. It is not creation time; btime is a separate field where supported. Setting atime or mtime with utimensat() normally updates ctime, even if the requested values are unchanged; specifying UTIME_OMIT for both timestamps leaves all timestamps unchanged. [linux-inode] [linux-utimensat] Timestamps count from the Epoch, 1970-01-01 00:00:00 UTC. Nanosecond precision is supported on XFS, JFS, Btrfs and ext4 since Linux 2.6.23, but not on ext2, ext3 or ReiserFS, where the nanosecond field reads 0. statx returns stx_ctime as 64-bit seconds plus a 32-bit nanosecond field. [linux-inode] [linux-statx] The default rsync quick check looks for changes in size or last-modified time and does not compare ctime. A ctime change alone therefore does not ensure that rsync reads or transfers file contents. [rsync-manual] A stat-family call does not freeze the file. Returned fields can reflect different instants when another process changes metadata. A descriptor identifies the open file but does not provide a consistent backup snapshot. [linux-stat] Advantages: - An mtime rolled back with utimensat does not roll back ctime, which is set to the current time by the same call. (sources: [linux-utimensat]) - Distinguishes inode status changes from content modification time. (sources: [linux-inode]) Limitations: - Does not identify which content or metadata changed. (sources: [linux-inode]) - Not a file creation timestamp or a complete audit trail. (sources: [linux-inode]) Sources and caveats: - linux-inode is the Linux man-pages 6.19 inode(7) page, re-read for the ctime triggers, the Epoch base and the nanosecond support list. - linux-utimensat is utimensat(2), re-read for UTIME_OMIT and the rule that ctime is set to the current time. linux-statx is statx(2), read for the 64-bit and 32-bit timestamp fields. - rsync-manual is the rsync(1) manual, re-read for the default quick check on size and last-modified time. - The delta-synchronization entry links here because change detection by metadata can miss or over-select files depending on which timestamp it reads. Related terms: - [inode](https://hesela.dev/terms/inode/) - [file-modification-time](https://hesela.dev/terms/file-modification-time/) - [file-access-time](https://hesela.dev/terms/file-access-time/) - [file-birth-time](https://hesela.dev/terms/file-birth-time/) - [rsync-quick-check](https://hesela.dev/terms/rsync-quick-check/) - [multigrain-timestamps](https://hesela.dev/terms/multigrain-timestamps/) Citations: - [linux-inode] Linux man-pages: inode(7). https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-10-23) - [linux-utimensat] Linux man-pages: utimensat(2). https://man7.org/linux/man-pages/man2/utimensat.2.html (accessed 2026-10-23) - [linux-stat] Linux man-pages: stat(2), concurrent metadata observations. https://man7.org/linux/man-pages/man2/stat.2.html (accessed 2026-10-21) - [rsync-manual] rsync(1): default quick-check file selection. https://download.samba.org/pub/rsync/rsync.1 (accessed 2026-10-23) - [hesela-file-times] Hesela: interpreting file timestamps during rsync selection. https://hesela.com/analyses/rsync-delta-shifted-blocks/#file-times (accessed 2026-10-21) - [linux-statx] Linux man-pages: statx(2), statx_timestamp seconds and nanoseconds. https://man7.org/linux/man-pages/man2/statx.2.html (accessed 2026-10-23) ### Inode URL: https://hesela.dev/terms/inode/ Also known as: index node Status: shipping Record updated: 2026-12-01 An inode is a filesystem object that holds a file's metadata and has a filesystem-local number, distinct from the directory names and open file descriptions that refer to the file. Note: On Linux, stat() exposes the inode number as st_ino, the containing device as st_dev, and the hard-link count as st_nlink. Inode numbers alone are not unique across filesystems. A pathname replacement can select a different inode while an existing descriptor still refers to the previous file; inode identity is therefore different from pathname identity and from a content version. In ext4, a linked inode can also be tracked for recovery of incomplete truncation; an orphan is not necessarily an inode with no names. [linux-v6-12-ext4-orphan] Linux file handles can include more than an inode number. In Linux v6.8 ext4, a nonzero supplied generation must match i_generation or reopening fails with ESTALE; zero skips that comparison. This identity check is not a content-version check, and saving handle bytes does not retain an open file. [ext4-handle] [handle-lifetime] With ext4 metadata checksums, the inode check includes the filesystem seed, inode number, i_generation and inode bytes, with checksum fields zeroed. With the same filesystem seed and inode number, a complete historical inode restores i_generation, inode bytes and their valid checksum together. [inode-csum] Linux v6.6 initializes i_generation randomly at allocation; it is not a trusted counter of every metadata change. [inode-generation] Freshness requires a separately retained intended state, not just a matching inode identity. [freshness-paper] Advantages: - Separates file metadata and identity from the names used to reach a file. Limitations: - An inode number alone is not a globally unique or permanent content identifier. - Matching inode identity does not imply unchanged file contents or a shared open file description. - A digest of file contents cannot establish that intended permissions survived when the payload is unchanged; the native ext4 permission-replay example demonstrates this on offline images without a journal. (sources: [inode-freshness-witness]) Sources and caveats: - The FAST 2008 source models parity-based protection under single errors; it is not an ext4 experiment. The freshness requirement here is a source-based interpretation, not a universal recovery guarantee. [freshness-paper] - The ext4 witness fixes i_generation in both baseline states. Allocation behavior is source-reviewed in Linux v6.6, not measured on a mounted kernel. [inode-generation] [inode-freshness-witness] Related terms: - [hard-link](https://hesela.dev/terms/hard-link/) - [unlink](https://hesela.dev/terms/unlink/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [ext4-orphan-inode](https://hesela.dev/terms/ext4-orphan-inode/) - [ext4-orphan-file](https://hesela.dev/terms/ext4-orphan-file/) - [file-modification-time](https://hesela.dev/terms/file-modification-time/) - [inode-change-time](https://hesela.dev/terms/inode-change-time/) - [file-access-time](https://hesela.dev/terms/file-access-time/) - [file-birth-time](https://hesela.dev/terms/file-birth-time/) - [statvfs](https://hesela.dev/terms/statvfs/) - [filesystem-quota](https://hesela.dev/terms/filesystem-quota/) - [symbolic-link](https://hesela.dev/terms/symbolic-link/) - [path-resolution](https://hesela.dev/terms/path-resolution/) - [dentry](https://hesela.dev/terms/dentry/) - [linux-file-handle](https://hesela.dev/terms/linux-file-handle/) - [filesystem](https://hesela.dev/terms/filesystem/) - [directory](https://hesela.dev/terms/directory/) - [regular-file](https://hesela.dev/terms/regular-file/) - [character-device](https://hesela.dev/terms/character-device/) - [named-pipe](https://hesela.dev/terms/named-pipe/) - [metadata](https://hesela.dev/terms/metadata/) - [unix-domain-socket](https://hesela.dev/terms/unix-domain-socket/) - [link-count](https://hesela.dev/terms/link-count/) - [xfs-allocation-group](https://hesela.dev/terms/xfs-allocation-group/) - [ext4](https://hesela.dev/terms/ext4/) Citations: - [linux-inode-7] Linux man-pages 6.19: inode(7). https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-10-15) - [linux-stat-3type] Linux man-pages 6.19: stat(3type). https://man7.org/linux/man-pages/man3/stat.3type.html (accessed 2026-10-15) - [linux-open-2] Linux man-pages 6.19: open(2). https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-15) - [hesela-namespace] Hesela: The name changes; existing readers do not. https://hesela.com/analyses/atomic-rename-directory-durability/#namespace-identity (accessed 2026-10-15) - [linux-v6-12-ext4-orphan] Linux v6.12: ext4 orphan inode handling. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/ext4/orphan.c (accessed 2026-10-15) - [ext4-handle] Linux v6.8: ext4_nfs_get_inode generation validation. https://github.com/torvalds/linux/blob/v6.8/fs/ext4/super.c#L1436-L1453 (accessed 2026-11-09) - [handle-lifetime] Linux v6.8: name_to_handle_at drops the lookup reference; handle reopening resolves the filesystem object again. https://github.com/torvalds/linux/blob/v6.8/fs/fhandle.c (accessed 2026-11-09) - [inode-csum] e2fsprogs v1.47.0: ext2fs_inode_csum inputs and checksum verification. https://raw.githubusercontent.com/tytso/e2fsprogs/v1.47.0/lib/ext2fs/csum.c (accessed 2026-12-01) - [inode-generation] Linux v6.6: ext4 inode allocation initializes i_generation. https://raw.githubusercontent.com/torvalds/linux/v6.6/fs/ext4/ialloc.c (accessed 2026-12-01) - [freshness-paper] Krioukov et al., Parity Lost and Parity Regained, FAST 2008, sections 4.5-4.7. https://www.usenix.org/legacy/event/fast08/tech/full_papers/krioukov/krioukov_html/index.html (accessed 2026-12-01) - [inode-freshness-witness] Hesela: native ext4 inode replay, permission checks and offline experiment limits. https://hesela.com/analyses/checksums-identity-and-lost-writes/#ext4-inode-freshness (accessed 2026-12-01) ### inotify URL: https://hesela.dev/terms/inotify/ Related analysis: https://hesela.com/analyses/inotify-change-detection/ Also known as: Linux filesystem event notification Status: shipping Record updated: 2026-11-21 inotify is a Linux interface that queues selected filesystem notifications for explicitly watched files or directories. Note: Observation limits: mapped changes can occur without modification events, and directory watches do not recursively cover subdirectories. An unread sequence of identical events can coalesce, so event counts are not operation counts. Queue overflow requires recovery of potentially stale application state. [inotify-api] Writable closure: IN_CLOSE_WRITE identifies a close associated with write access, not a byte comparison. The Linux v6.8 fsnotify_close hook selects the event from FMODE_WRITE. [close-hook] Measured controls: Hesela observed one event for 32 unread pwrite notifications, but 32 when reading the queue after each call. Shared mapped stores changed the file without IN_MODIFY; closing an unchanged writable file still produced IN_CLOSE_WRITE. These one-host checks are not a backup-product evaluation. [hesela-inotify] Reconciliation scope: a live rescan is not inherently a point-in-time inventory; see directory enumeration and Hesela's separate ordered-rename experiment. [hesela-inotify] Shared ownership: hard-link aliases in one instance reuse a watch; another registration can replace its mask. IN_MASK_ADD unions interests, but removal or IN_ONESHOT can end the shared watch. IN_MASK_CREATE rejects reuse with EEXIST. [inotify-api] [inotify-add-ownership] [inotify-remove-ownership] Shared readers: dup shares queue consumption; separate initializations create separate queues. A shared watcher needs subscriber accounting and event fan-out. [inotify-dup-ownership] [inotify-init-ownership] Library scope: in native fsnotify v1.10.1 Linux controls, a WRITE event's retained name resolved to a replacement inode, not the changed hard-linked file. Earlier CHMOD was delivered. [fsnotify-evidence] Advantages: - Can trigger inspection of selected files without repeatedly scanning every path. Limitations: - A notification stream alone does not establish complete or application-consistent backup capture. - IN_EXCL_UNLINK filters notifications through an unlinked entry, even with another hard link; it does not retract an earlier queued MODIFY. A later name lookup can reach a replacement inode. [unlinked-dispatch] [unlinked-dentry] [unlinked-evidence] Sources and caveats: - API documentation and controlled observations; not a durable change journal or an event-loss rate estimate. - Ownership controls: 66 sequential case executions on one Linux 6.8.0-149-generic host, across ext4/tmpfs. These verify API behavior, not a backup failure-rate estimate. [hesela-ownership-evidence] - Separate fsnotify v1.10.1 controls: 36 registration/lifetime schedules and 18 namespace schedules, three repetitions on ext4/tmpfs on one Linux host. The event-name lookup checks bytes and inode identity; not a backup-product failure rate. [fsnotify-evidence] - Separate raw directory controls: 42 fixtures and 84 paired streams, seven cases repeated three times on ext4/tmpfs on Linux 6.8.0-149-generic. [unlinked-evidence] - Separate review: 42 Python replay fixtures and 20 C fixtures across two compiler modes on the same host. These are not pooled failure-rate samples or independent-laboratory replication. [unlinked-evidence] Related terms: - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [snapshot](https://hesela.dev/terms/snapshot/) - [directory-enumeration](https://hesela.dev/terms/directory-enumeration/) - [watchman-clock](https://hesela.dev/terms/watchman-clock/) - [fanotify](https://hesela.dev/terms/fanotify/) - [hard-link](https://hesela.dev/terms/hard-link/) - [inode](https://hesela.dev/terms/inode/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [file-descriptor](https://hesela.dev/terms/file-descriptor/) - [viewbox](https://hesela.dev/terms/viewbox/) - [spyglass](https://hesela.dev/terms/spyglass/) Citations: - [inotify-api] Linux man-pages 6.19: inotify(7). https://man7.org/linux/man-pages/man7/inotify.7.html (accessed 2026-10-19) - [close-hook] Linux v6.8: fsnotify_close in include/linux/fsnotify.h. https://github.com/torvalds/linux/blob/v6.8/include/linux/fsnotify.h (accessed 2026-10-19) - [hesela-inotify] Hesela: What inotify misses: mapped writes and collapsed change events. https://hesela.com/analyses/inotify-change-detection/ (accessed 2026-10-19) - [inotify-add-ownership] Linux man-pages 6.19: inotify_add_watch(2). https://man7.org/linux/man-pages/man2/inotify_add_watch.2.html (accessed 2026-11-20) - [inotify-remove-ownership] Linux man-pages 6.19: inotify_rm_watch(2). https://man7.org/linux/man-pages/man2/inotify_rm_watch.2.html (accessed 2026-11-20) - [inotify-dup-ownership] Linux man-pages 6.19: dup(2). https://man7.org/linux/man-pages/man2/dup.2.html (accessed 2026-11-20) - [inotify-init-ownership] Linux man-pages 6.19: inotify_init(2). https://man7.org/linux/man-pages/man2/inotify_init.2.html (accessed 2026-11-20) - [hesela-ownership-evidence] Hesela: native inotify ownership controls, source and reproduction package. https://hesela.dev/research/inotify-ownership/README.md (accessed 2026-11-20) - [fsnotify-backend] fsnotify v1.10.1: pinned Linux watch registration and event-name construction. https://github.com/fsnotify/fsnotify/blob/76b01a6e8f502187fecedea8b025e79e5a86085c/backend_inotify.go (accessed 2026-11-20) - [fsnotify-evidence] Hesela: native fsnotify alias and event-name identity controls. https://hesela.dev/research/fsnotify-alias/README.md (accessed 2026-11-20) - [unlinked-dispatch] Linux v6.8: EXCL_UNLINK event-path filtering. https://github.com/torvalds/linux/blob/v6.8/fs/notify/fsnotify.c#L240 (accessed 2026-11-20) - [unlinked-dentry] Linux v6.8: d_unlinked tests directory-entry state. https://github.com/torvalds/linux/blob/v6.8/include/linux/dcache.h#L345 (accessed 2026-11-20) - [unlinked-file-hook] Linux v6.8: fsnotify_file uses the open file path, lines 92-101. https://github.com/torvalds/linux/blob/v6.8/include/linux/fsnotify.h#L92 (accessed 2026-11-20) - [unlinked-evidence] Hesela: raw directory notifications after unlink, original and separate C controls. https://hesela.dev/research/inotify-unlinked/PUBLICATION.md (accessed 2026-11-20) ### Inspection paradox URL: https://hesela.dev/terms/inspection-paradox/ Also known as: Length-biased inspection Status: shipping Record updated: 2026-11-28 The inspection paradox is the length bias by which sampling a time point overrepresents long intervals compared with sampling intervals equally. Note: For a renewal process with positive independent identically distributed gaps D and finite second moment, the long-run time-average residual wait is E[D^2] / (2 E[D]), not generally E[D] / 2. [renewal] Applied to storage checks, the observation unit must be a particular block and a specified detection property. The finite-window worksheet assumes uniform fault onset and complete intervals between detecting checks; it is not measured failure latency or a durability guarantee. A mean scrub-job frequency alone does not establish those assumptions. [hesela-intervals] The residual-wait formula for complete gaps must not silently discard an unfinished final gap. With uniform hypothetical onset over a fixed observation window, its known age contributes elapsed waiting but does not reveal the next check. An unfinished gap can leave the mean wait without a finite upper bound. This censors inspection time, not an observed physical fault onset. [hesela-censored] The inspected interval's full duration is not its elapsed age or residual wait. For complete known lifetimes, pooling all active request-time observations gives mean full duration sum(d_i^2) / sum(d_i), twice the corresponding mean age or remaining time. Choosing one request per nonempty snapshot is a different weighting when concurrent occupancy changes; finite windows weight overlaps rather than full lifetimes. The linked synthetic latency example derives this distinction without assuming a stationary queue. [hesela-inflight] Nonuniform onset need not share the time-average residual wait. A fixed synthetic onset profile reverses the regular/alternating schedule comparison. Comparing policies requires declaring any policy-dependent onset. [hesela-onset] Related terms: - [mean-time-to-detection](https://hesela.dev/terms/mean-time-to-detection/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [interval-censoring](https://hesela.dev/terms/interval-censoring/) - [adaptive-scrubbing](https://hesela.dev/terms/adaptive-scrubbing/) - [pollaczek-khinchine-formula](https://hesela.dev/terms/pollaczek-khinchine-formula/) - [palm-distribution](https://hesela.dev/terms/palm-distribution/) - [length-biased-sampling](https://hesela.dev/terms/length-biased-sampling/) Citations: - [renewal] Gallager: Discrete Stochastic Processes, ch. 4, Example 4.4.1 and Eq. 4.15, pp. 167-169 (MIT 6.262, 2011). https://ocw.mit.edu/courses/6-262-discrete-stochastic-processes-spring-2011/931ffa0940899c27f34b71ad64fd2bb0_MIT6_262S11_chap04.pdf (accessed 2026-10-17) - [hesela-intervals] Hesela: exact inspection-interval worksheet and storage assumptions. https://hesela.com/analyses/scrubbing-detection-not-durability/#interval-variability (accessed 2026-10-17) - [hesela-censored] Hesela: unfinished inspection windows, exact bounds and independent timeline tests. https://hesela.com/analyses/scrubbing-detection-not-durability/#unfinished-window (accessed 2026-10-20) - [hesela-inflight] Hesela: exact in-flight observation example, sampling designs and independently tested integration. https://hesela.com/analyses/storage-latency-coordinated-omission/#inflight-sampling (accessed 2026-11-19) - [hesela-onset] Hesela: fixed-profile onset sensitivity, exact weighted waiting times and independent tests. https://hesela.com/analyses/scrubbing-detection-not-durability/#onset-weighting (accessed 2026-11-25) ### Inter-flow interference URL: https://hesela.dev/terms/inter-flow-interference/ Also known as: SSD workload interference Status: research Record updated: 2026-11-16 Inter-flow interference is the change in one I/O flow's behavior caused by other flows sharing storage resources. Note: Separate host submission queues can still feed shared mapping, cache, scheduling and flash resources. MQSim explicitly models those boundaries. Equal request counts do not establish equal internal work. [mqsim] An observed slowdown does not identify its cause by itself. Keep isolated baselines, load generation and device preparation comparable before attributing a difference to a co-running flow. [hesela] Related terms: - [slowdown-fairness](https://hesela.dev/terms/slowdown-fairness/) - [nvme](https://hesela.dev/terms/nvme/) - [ssd-preconditioning](https://hesela.dev/terms/ssd-preconditioning/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [bfq](https://hesela.dev/terms/bfq/) - [flin](https://hesela.dev/terms/flin/) Citations: - [mqsim] Tavakkol et al. MQSim: A Framework for Enabling Realistic Studies of Modern Multi-Queue SSD Devices. FAST 2018, sections 3-6 and Appendix A. https://www.usenix.org/system/files/conference/fast18/fast18-tavakkol.pdf (accessed 2026-10-20) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-10-20) ### Interarrival time URL: https://hesela.dev/terms/interarrival-time/ Also known as: Inter-event time Status: shipping Record updated: 2026-11-18 An interarrival time is the elapsed interval between consecutive events in a specified event stream. Note: Choose the stream before computing gaps: all replacements in a fleet and replacements of a single device are different observations. The homogeneous Poisson model assumes independent, identically distributed exponential gaps; a mean gap alone does not establish that model. Event count per calendar window and gap duration are different variables. Related terms: - [rate-of-occurrence-of-failures](https://hesela.dev/terms/rate-of-occurrence-of-failures/) - [annual-replacement-rate](https://hesela.dev/terms/annual-replacement-rate/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [poisson-rate-model](https://hesela.dev/terms/poisson-rate-model/) - [weibull-distribution](https://hesela.dev/terms/weibull-distribution/) - [exponential-distribution](https://hesela.dev/terms/exponential-distribution/) Citations: - [nist-hpp] NIST e-Handbook 8.1.7.1: Homogeneous Poisson Process. https://www.itl.nist.gov/div898/handbook/apr/section1/apr171.htm (accessed 2026-10-12) - [hesela-measurement-clocks] Hesela: Disk replacement rates are not disk lifetimes. https://hesela.com/analyses/mttf-vs-field-replacement-rates/ (accessed 2026-10-12) ### Interlaced magnetic recording URL: https://hesela.dev/terms/interlaced-magnetic-recording/ Related analysis: https://hesela.com/analyses/imr-track-overlap-write-accounting/ Also known as: IMR Status: research Record updated: 2026-10-22 Interlaced magnetic recording alternates partially overlapping top and bottom tracks so that a bottom-track update can affect valid data on its two neighboring top tracks. Note: Bottom tracks are written first and are wider, and each top track is written over the boundary between two bottom tracks. Wu et al. report about 27% higher linear density and data rate for bottom tracks, and Hajkazemi et al. estimate top-track capacity at roughly 90% of a bottom track. Top and bottom name overlapping track roles, not opposite platter surfaces. [wu] [hajkazemi] A top-track update carries no neighbor penalty, but a bottom-track update can require rewriting the two overlapping top tracks, which in the worst in-place case means two reads and three writes. A three-phase allocation fills bottom tracks first up to 56% usage, then every other top track up to 78%, then the remaining top tracks. [wu] Hajkazemi et al. propose track-level translation such as dynamic track mapping. Their flip map needs 3 bits per bottom track, about 2.5 MB for a 20 TB drive with a mean track size of 1.5 MB, and a drive of that size has about 1.3 × 10^7 tracks. [hajkazemi] Advantages: - Raises areal density over conventional recording while leaving top-track updates free of neighbor rewrites. (sources: [wu]) Limitations: - Write cost depends on space usage and data placement, so one amplification figure does not describe a drive. (sources: [wu]) - The cited results come from simulation and trace-driven models, not measurements of a production drive. (sources: [wu], [hajkazemi]) Sources and caveats: - wu is the HotStorage 2018 paper by Wu et al., re-read on 2026-10-22 in sections 1 to 3. - The 27%, two reads and three writes, 56% and 78% figures come from wu. - hajkazemi is the USENIX ATC 2019 paper by Hajkazemi, Kulkarni, Desnoyers and Feldman, read on 2026-10-22 in sections 1 and 2. - The 90%, 3 bits, 2.5 MB, 20 TB, 1.5 MB and 1.3 × 10^7 figures come from hajkazemi. - kvimr and imrsim were not re-read, and no note sentence relies on them. Related terms: - [smr](https://hesela.dev/terms/smr/) - [hamr](https://hesela.dev/terms/hamr/) - [hdd](https://hesela.dev/terms/hdd/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [hot-cold-data-separation](https://hesela.dev/terms/hot-cold-data-separation/) - [adjacent-track-interference](https://hesela.dev/terms/adjacent-track-interference/) Citations: - [wu] Wu et al. Data Management Design for Interlaced Magnetic Recording. HotStorage 2018, sections 1-3. https://www.usenix.org/system/files/conference/hotstorage18/hotstorage18-paper-wu.pdf (accessed 2026-10-22) - [kvimr] Liang, Yang and Yang. KVIMR. USENIX ATC 2021, sections 3.3-3.4 and 4.1. https://www.usenix.org/system/files/atc21-liang.pdf (accessed 2026-10-21) - [imrsim] Zeng et al. IMRSim. arXiv:2206.14368v1, sections 2.1 and 3. https://arxiv.org/pdf/2206.14368v1 (accessed 2026-10-21) - [hesela-imr] Hesela: Interlaced recording, preservation policy and byte accounting. https://hesela.com/analyses/imr-track-overlap-write-accounting/ (accessed 2026-10-21) - [hajkazemi] Hajkazemi, Kulkarni, Desnoyers and Feldman. Track-based Translation Layers for Interlaced Magnetic Recording. USENIX ATC 2019. https://www.usenix.org/system/files/atc19-hajkazemi.pdf (accessed 2026-10-22) ### Interleaved parity URL: https://hesela.dev/terms/interleaved-parity/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: Interleaved parity check, IPC Status: research Record updated: 2026-10-19 Interleaved parity assigns separated data positions to independent parity groups so that a short contiguous loss can be distributed across those groups. Note: The XOR construction reviewed in FAST 2010 groups every m-th data sector with its parity sector [schroeder]. In Hesela's 16+2 byte example, even and odd positions form two groups of nine. All 17 adjacent pairs are recoverable, but only 81 of all 153 two-position erasure sets are. Losing positions 0 and 2 leaves two unknowns in one group. These are exact constructed-pattern counts, not fault probabilities [hesela-layout]. Known erasure locations and correct, version-consistent survivors are assumptions. Two parity bytes do not by themselves establish an MDS any-two-loss guarantee [hesela-layout]. Related terms: - [intra-disk-redundancy](https://hesela.dev/terms/intra-disk-redundancy/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [symbol-erasure](https://hesela.dev/terms/symbol-erasure/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [hamming-distance](https://hesela.dev/terms/hamming-distance/) Citations: - [schroeder] Schroeder, Damouras and Gill. Understanding latent sector errors and how to protect against them. FAST 2010, section 4. https://www.usenix.org/legacy/events/fast10/tech/full_papers/schroeder.pdf (accessed 2026-10-19) - [hesela-layout] Hesela: Interleaved XOR parity, complete erasure-pair enumeration. https://hesela.com/analyses/scrubbing-detection-not-durability/#intradisk-parity (accessed 2026-10-19) ### Interrupt coalescing URL: https://hesela.dev/terms/interrupt-coalescing/ Related article: https://hesela.com/tech/nvme/ Also known as: Interrupt aggregation, Interrupt moderation Status: shipping Record updated: 2026-10-20 Interrupt coalescing groups completion notifications to reduce interrupt frequency without combining the underlying I/O commands. Note: In NVMe over PCIe, posting a completion entry and signaling an interrupt are distinct events. Coalescing reduces notification frequency and can increase notification delay; host software still processes individual completion entries. [pcie] In the cited delayed-hit model, cache request coalescing instead lets pending requests for the same object share one in-flight fetch [latency-pipeline]. Base 2.0d feature 08h applies to I/O queues, not the Admin completion queue. Either TIME = 0 or THR = 0 disables coalescing. Otherwise, TIME uses 100-microsecond increments and THR is zero-based. Feature 09h can disable coalescing separately for an interrupt vector [base]. The time and threshold settings are recommendations, not strict latency bounds. CQ-head updates may restart aggregation while completions are being processed, delaying further interrupts. Do not infer completed-command counts or a hard application deadline from interrupt counts or coalescing settings [base]. Sources and caveats: - Mechanism explained using versioned NVMe PCIe and Base specifications; other devices have their own controls. - Source review, not a measurement of interrupt frequency, CPU cost or device latency. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [io-completion-polling](https://hesela.dev/terms/io-completion-polling/) - [request-coalescing](https://hesela.dev/terms/request-coalescing/) Citations: - [pcie] NVM Express PCIe Transport 1.0d, sections 3.2, 3.4.1 and 3.5; copyright 2008-2023 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-PCIe-Transport-Specification-1.0d-2023.12.27-Ratified.pdf (accessed 2026-10-20) - [base] NVM Express Base 2.0d, sections 5.27.1.6-5.27.1.7; copyright 2008-2024 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0d-2024.01.11-Ratified.pdf (accessed 2026-10-20) - [latency-pipeline] Keren et al. Latency-Aware Caching with Delayed Hits: From Bursty Traffic to Pipeline Architectures. NSDI 2026, sections 1.1 and 4. https://www.usenix.org/system/files/nsdi26-keren.pdf (accessed 2026-10-19) ### Intersymbol interference URL: https://hesela.dev/terms/intersymbol-interference/ Related article: https://hesela.com/tech/prml-read-channel/ Also known as: ISI, pulse crowding Status: unknown Record updated: 2026-10-20 Intersymbol interference occurs when a channel's response to one symbol contributes to observations used to detect other symbols. Note: In magnetic readback, closer recorded transitions can produce overlapping responses. A partial-response channel deliberately retains a modeled form of overlap and detects sequences jointly; equalization need not remove every neighboring-symbol contribution [kobayashi2009]. ISI is not itself random noise or an error count. Its effect depends on the response, symbol spacing, synchronization and detector assumptions. It also differs from interference between adjacent tracks: the relevant neighbors here are symbols along a signal sequence. Related terms: - [partial-response-target](https://hesela.dev/terms/partial-response-target/) - [prml-encoding](https://hesela.dev/terms/prml-encoding/) - [npml-detection](https://hesela.dev/terms/npml-detection/) - [adjacent-track-interference](https://hesela.dev/terms/adjacent-track-interference/) Citations: - [kobayashi2009] H. Kobayashi, PRML historical review, IEEE Communications Magazine 47(3), 14-17 (2009), full text. https://hp.hisashikobayashi.com/wp-content/uploads/2015/12/PRML-IEEE-Comm_Magazine.pdf (accessed 2026-10-20) ### Interval-censoring URL: https://hesela.dev/terms/interval-censoring/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: Interval censored data, Readout data Status: shipping Record updated: 2026-10-16 Interval-censoring is incomplete event-time observation in which an event is known to have occurred within an interval but its exact time is unknown. Note: NIST distinguishes interval records from exact event times and right-censored follow-up. [nist-interval] In storage, a verified last-good observation L and first detected persistent corruption R can imply L < T <= R only when both observations concern the same content version and the verification covers the event. A schedule or whole-job completion time is not automatically a block-level last-good observation. Repair, overwrites, missed checks and detection limits require explicit treatment. The midpoint is an imputed time, not an observed onset. This application is an interpretation rule, not a fitted failure model. [hesela-interval] Related terms: - [right-censoring](https://hesela.dev/terms/right-censoring/) - [informative-censoring](https://hesela.dev/terms/informative-censoring/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [mean-time-to-detection](https://hesela.dev/terms/mean-time-to-detection/) Citations: - [nist-interval] NIST/SEMATECH e-Handbook: Censoring, readout or interval data. https://www.itl.nist.gov/div898/handbook/apr/section1/apr131.htm (accessed 2026-10-16) - [hesela-interval] Hesela: Scrubbing inspection intervals and evidence bounds. https://hesela.com/analyses/scrubbing-detection-not-durability/#inspection-intervals (accessed 2026-10-16) ### Intra-disk redundancy URL: https://hesela.dev/terms/intra-disk-redundancy/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Status: research Record updated: 2026-10-31 Intra-disk redundancy stores redundant sectors within a drive so that some latent sector errors on that drive can be repaired without another drive. Note: Mechanism: A single XOR parity group repairs one known missing member when the remaining members are correct. Interleaving changes which logical sectors share a group; extra parity counts alone do not identify the recoverable patterns. [schroeder] Trace evidence: FAST 2010 used drives from eight models, selected for at least one LSE and at least 12 months in service. Its 1+1 parity evaluation reports an average of 15% of selected drives with a multiply damaged parity group, despite 50% redundancy. This is not a whole-fleet failure rate. Recorded discovery times do not establish exact fault onset. [schroeder] Implementation: The 2005 ixt3 prototype uses one parity block per file and replication for metadata. Recovering one failed data block reads the parity and the other data blocks of that file. Its computed user-parity space overhead ranged from 3% to 17% across analyzed volumes; this is not a fixed code rate. [iron] Recovery boundary: In Hesela's 16+2 XOR example, one known erasure plus an unflagged wrong survivor in the same group reconstructs wrong data that passes parity again. Detecting the second fault makes it a two-erasure ambiguity, not a repaired group. These are synthetic cases, not ixt3 measurements. [hesela-layout] Advantages: - Can recover isolated sector losses without another drive when sufficient same-drive redundancy remains usable. (sources: [iron], [schroeder]) Limitations: - The ixt3 prototype reads and updates a file's parity block on modification; that implementation cost is not a universal I/O count for all intra-disk codes. (sources: [iron]) - Larger parity segments can increase head movement when updating separated data and parity sectors. (sources: [schroeder]) Sources and caveats: - FAST 2010 sections 2 and 4.1.1 describe a selected historical cohort and trace-based parity evaluation, not deployed-code failure incidence. [schroeder] - IRON sections 6.1 and 6.2 describe the ixt3 implementation, recovery path and volume-dependent space accounting. [iron] - The linked XOR example enumerates constructed erasure patterns; it does not reproduce the private drive traces. [hesela-layout] Related terms: - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [interleaved-parity](https://hesela.dev/terms/interleaved-parity/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [stair-code](https://hesela.dev/terms/stair-code/) - [sector-disk-code](https://hesela.dev/terms/sector-disk-code/) - [io-shepherding](https://hesela.dev/terms/io-shepherding/) Citations: - [schroeder] Schroeder, Damouras and Gill. Understanding latent sector errors and how to protect against them. FAST 2010, sections 2 and 4. https://www.usenix.org/legacy/events/fast10/tech/full_papers/schroeder.pdf (accessed 2026-10-31) - [hesela-layout] Hesela: Interleaved XOR parity, complete erasure-pair enumeration. https://hesela.com/analyses/scrubbing-detection-not-durability/#intradisk-parity (accessed 2026-10-19) - [iron] Prabhakaran et al. IRON File Systems. SOSP 2005, sections 6.1 and 6.2. https://research.cs.wisc.edu/wind/Publications/iron-sosp05.pdf (accessed 2026-10-31) ### Invariant confluence URL: https://hesela.dev/terms/invariant-confluence/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: I-confluence Status: unknown Record updated: 2026-11-10 Invariant confluence requires valid states reachable from a common ancestor to remain valid when merged under the specified transactions and merge rule. Note: Contract: Specify the initial state, permitted transactions, invariant and merge operator together. Checking each replica locally is insufficient if their merged result can violate the invariant. [invariant-confluence] Guarantee: In the paper's model, invariant confluence characterizes when invariant preservation, transactional availability, convergence and coordination-free execution can coexist. Changing the operations or merge rule changes the question. [invariant-confluence] Sources and caveats: - Primary-source synthesis of the formal criterion, not a claim that arbitrary weakly consistent databases preserve application invariants. Related terms: - [calm-theorem](https://hesela.dev/terms/calm-theorem/) - [cap-theorem](https://hesela.dev/terms/cap-theorem/) - [serializability](https://hesela.dev/terms/serializability/) - [write-skew](https://hesela.dev/terms/write-skew/) - [escrow-transactions](https://hesela.dev/terms/escrow-transactions/) - [bounded-counter](https://hesela.dev/terms/bounded-counter/) Citations: - [invariant-confluence] Bailis et al. Coordination Avoidance in Database Systems. PVLDB 8(3), 185-196 (2014), sections 3-5. https://www.vldb.org/pvldb/vol8/p185-bailis.pdf (accessed 2026-11-10) ### Inverse probability of censoring weighting URL: https://hesela.dev/terms/inverse-probability-of-censoring-weighting/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: IPCW, Inverse-probability-of-censoring weighting Status: shipping Record updated: 2026-11-05 Inverse probability of censoring weighting reweights observed contributions by reciprocal probabilities of remaining uncensored to account for incomplete follow-up. Note: The denominator is a probability of remaining uncensored, not of being censored. Valid adjustment needs an appropriate censoring model, conditional independence given the included history and positive observation probabilities over the target population and time range. Measured-covariate balance checks cannot establish independence from unmeasured predictors. Balance of covariate means alone can miss nonlinear or interaction-related imbalance. [jackson-ipcw] For a time-dependent Brier score, observed events at or before the horizon and event-free observations through it use weights evaluated at their respective relevant times. Earlier censoring supplies no observed horizon outcome; it is not a nonfailure label. The scikit-survival 0.25.0 implementation estimates censoring with marginal Kaplan-Meier and assumes random censoring independent of features. A computed score does not prove those assumptions or support extrapolation beyond follow-up. [sksurv-brier] For drive studies, record withdrawal reasons and the history available before withdrawal. Weighting does not reconstruct individual missing failure times or automatically resolve selective retirement. [jackson-ipcw] Sources and caveats: - The storage application is a methods interpretation, not a fitted fleet result. Jackson (2019), DOI 10.1093/aje/kwz136, concerns statistical methodology rather than drive measurements. Related terms: - [informative-censoring](https://hesela.dev/terms/informative-censoring/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [brier-score](https://hesela.dev/terms/brier-score/) - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) - [kaplan-meier-estimator](https://hesela.dev/terms/kaplan-meier-estimator/) Citations: - [jackson-ipcw] Jackson (2019): Diagnosing Covariate Balance Across Levels of Right-Censoring Before and After Application of Inverse-Probability-of-Censoring Weights. https://academic.oup.com/aje/article/188/12/2213/5506601 (accessed 2026-11-05) - [sksurv-brier] scikit-survival 0.25.0: time-dependent Brier score, censoring weights and supported evaluation times. https://scikit-survival.readthedocs.io/en/v0.25.0/api/generated/sksurv.metrics.brier_score.html (accessed 2026-11-05) ### Inverted index URL: https://hesela.dev/terms/inverted-index/ Also known as: Inverted file Status: shipping Record updated: 2026-11-18 An inverted index maps extracted keys, such as text terms or array elements, to postings identifying the records that contain them. Note: Mapping: A record can contribute several keys and appear in several posting lists. PostgreSQL GIN uses operator classes to define extraction and matching; GIN is an implementation, not another name for every inverted index. [gin] Detail: Postings need not retain positions. SQLite FTS5 detail=full stores row, column and token-position information; reduced detail omits information and limits phrase and NEAR queries. Tokenization and detail settings therefore belong to the search contract. [fts5] Rechecking: An index can retain too little information to decide a query alone. PostgreSQL text-search GIN omits weight labels and rechecks weight-sensitive matches against table rows. This is a documented query requirement, not evidence of damaged postings. [textsearch] Representation: Inversion describes the key-to-record mapping, not one physical encoding. PostgreSQL GIN uses a B-tree over keys, with posting lists or posting trees for row identities. A B-tree can therefore be part of an inverted index. [gin] Maintenance: FTS5 external content separates indexed tokens from retrieved document values. The application must keep the two aligned; internal index consistency does not establish agreement with external rows or preservation of original document bytes. [fts5] [analysis] Sources and caveats: - Source synthesis of PostgreSQL 18 GIN and SQLite FTS5 documentation accessed on 2026-11-18; implementations differ. No performance benchmark or general recovery guarantee. - The linked analysis includes a separately recorded, four-document SQLite 3.45.1 detail-mode probe. Twelve query cases distinguish conjunction, phrase, NEAR and column-filter behavior; this is not a replication of the text-indexing survey. Related terms: - [fts5-external-content](https://hesela.dev/terms/fts5-external-content/) - [bitmap-index](https://hesela.dev/terms/bitmap-index/) Citations: - [gin] PostgreSQL 18: GIN indexes, sections 65.4.1, 65.4.3 and 65.4.4. https://www.postgresql.org/docs/18/gin.html (accessed 2026-11-18) - [fts5] SQLite FTS5: external-content tables, detail option and FTS index structure (sections 4.4, 4.6 and 9.2). https://sqlite.org/fts5.html (accessed 2026-11-18) - [textsearch] PostgreSQL 18: preferred text-search indexes, weight labels and rechecking (section 12.9). https://www.postgresql.org/docs/18/textsearch-indexes.html (accessed 2026-11-18) - [analysis] Hesela: index postings and external-content consistency. https://hesela.com/analyses/sqlite-index-runtime-dependencies/#inverted-postings (accessed 2026-11-18) - [detail-probe] Hesela: reproducible FTS5 detail-mode observations, fixture, errors and source hash. https://hesela.dev/research/inverted-detail/results.json (accessed 2026-11-18) ### Invertible Bloom lookup table URL: https://hesela.dev/terms/invertible-bloom-lookup-table/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Also known as: IBLT Status: research Record updated: 2026-10-23 An invertible Bloom lookup table is a randomized data structure that supports updates and can list encoded entries with high probability under its sizing assumptions. Note: Unlike a membership-only filter, an IBLT can recover entries by repeatedly removing decodable cells. Listing can stop with an incomplete result; the configured threshold is not an unconditional guarantee. With k cells per key chosen uniformly at random, listing succeeds with high probability when the cell count m exceeds (c_k + ε)n and almost surely fails below (c_k − ε)n, where c_k is 1.222 cells per key for k = 3 and 1.295 for k = 4. Successful lookups need considerably more cells than listing. [iblt2011] In a signed difference sketch, count zero can conceal nonzero item sums, and count one can combine additions with removals. Candidate validation must check the checksum, not just the count. [iblt2011] For a failure probability of at most δ, earlier constructions need Ω(n(log(1/δ)/log n + 1)) space and fully random hash functions. A 2024 construction needs only O(n + log(1/δ) log log(1/δ)) space with O(log(log(n)/δ))-wise independent hashing. [stacked2024] Advantages: - Space stays proportional to the design threshold however many pairs are present, and listing resumes once deletions bring the count back below it. (sources: [stacked2024]) Limitations: - An incomplete decode is not evidence that two sets are equal. (sources: [iblt2011]) Sources and caveats: - iblt2011 read 2026-10-23, sections 2 and 3 and Table 1, for the listing thresholds and the lookup sizing remark. - stacked2024 read 2026-10-23, abstract and section 1, for the space bounds and hashing requirements. - Two companion analyses on replica repair and signed peeling examples are listed but not used in prose. Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [set-reconciliation](https://hesela.dev/terms/set-reconciliation/) - [rateless-iblt](https://hesela.dev/terms/rateless-iblt/) - [xor-filter](https://hesela.dev/terms/xor-filter/) - [stable-bloom-filter](https://hesela.dev/terms/stable-bloom-filter/) Citations: - [iblt2011] Michael T. Goodrich and Michael Mitzenmacher. Invertible Bloom Lookup Tables. arXiv:1101.2245v3, sections 2 and 3 and Table 1. https://arxiv.org/abs/1101.2245v3 (accessed 2026-10-23) - [stacked2024] Fleischhacker, Larsen, Obremski and Simkin. Invertible Bloom Lookup Tables with Less Memory and Randomness. ESA 2024. https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2024.54 (accessed 2026-10-23) - [hesela-repair] Hesela: Replica repair, set reconciliation and record identity. https://hesela.com/analyses/replica-repair-coverage/#set-reconciliation (accessed 2026-10-16) - [hesela-peeling] Hesela: signed IBLT decoding, five constructed cases and 768 finite set-pair checks. https://hesela.com/analyses/replica-repair-coverage/#iblt-peeling (accessed 2026-10-20) ### I/O completion polling URL: https://hesela.dev/terms/io-completion-polling/ Related article: https://hesela.com/tech/nvme/ Also known as: Completion polling, Poll-mode completion processing Status: shipping Record updated: 2026-11-16 I/O completion polling checks for finished I/O requests in software instead of relying on an interrupt to initiate each completion check. Note: Polling need not mean waiting continuously for one request. SPDK's spdk_nvme_qpair_process_completions() handles ready completions and returns without waiting for outstanding commands to finish; a successful call can report zero completions. Applications can schedule further checks between other work [spdk-api]. That API requires one thread at a time to use a queue pair. Its max_completions argument limits the number of completions processed per call; zero means no such limit, not a request to wait until every outstanding command completes [spdk-api]. Polling and interrupt-assisted operation are not universally exclusive. SPDK also documents interrupt-capable PCIe and RDMA queue pairs, restricted to its primary process; after wakeup, software must still process completions. Check the transport and configuration rather than assuming every SPDK deployment disables interrupts [spdk-interrupt]. A lower interrupt count is not a complete performance result. Tai et al. compare completion policies using latency, throughput and CPU cost; their calibrated-interrupt prototype emulates device notification on dedicated cores while executing real SSD I/O. Its results do not establish a universal winner for production workloads [calibrated-interrupts]. Version trap: Linux 6.3 documented io_poll_delay = 0 as hybrid polling and positive values as a sleep in microseconds [linux-63]. In Linux 6.4, this deprecated attribute reads -1; its store handler accepts the byte count without changing a delay [linux-64]. A successful sysfs write therefore does not prove that a polling policy changed. Sources and caveats: - Definition concerns completion detection, not readiness polling, command submission or device health polling. - SPDK documentation checked on 2026-10-20; support depends on the implementation, transport and configuration. - No device benchmark, CPU-usage comparison or universal performance advantage is claimed. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [interrupt-coalescing](https://hesela.dev/terms/interrupt-coalescing/) - [rwf-hipri](https://hesela.dev/terms/rwf-hipri/) - [spandb](https://hesela.dev/terms/spandb/) - [flashshare](https://hesela.dev/terms/flashshare/) Citations: - [spdk-api] SPDK: spdk_nvme_qpair_process_completions API contract. https://spdk.io/doc/nvme_8h.html (accessed 2026-10-20) - [spdk-interrupt] SPDK: NVMe Interrupt Mode, supported transports and operational notes. https://spdk.io/doc/nvme_interrupt_mode.html (accessed 2026-10-20) - [calibrated-interrupts] Tai et al., Optimizing Storage Performance with Calibrated Interrupts, OSDI 2021, sections 2, 4.2.1 and 5.1. https://www.usenix.org/system/files/osdi21-tai.pdf (accessed 2026-10-23) - [linux-63] Linux 6.3 stable ABI: /sys/block//queue/io_poll_delay. https://www.kernel.org/doc/html/v6.3/admin-guide/abi-stable.html (accessed 2026-11-16) - [linux-64] Linux v6.4 block/blk-sysfs.c: queue_poll_delay_show and queue_poll_delay_store. https://github.com/torvalds/linux/blob/v6.4/block/blk-sysfs.c#L408-L417 (accessed 2026-11-16) ### I/O fencing URL: https://hesela.dev/terms/io-fencing/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: Storage fencing Status: shipping Record updated: 2026-11-30 I/O fencing enforces exclusion of a node from shared storage so that recovery cannot be undermined by its continued access. Note: Failure detection and quorum decisions do not themselves block storage traffic. A fence may act through power control, fabric access or storage-enforced reservations. Its scope must cover the resources and paths used by recovery, and a storage-only fence need not stop the whole host. Use the supported cluster procedure and verify completion before proceeding. NVMe reservations require their own namespace policy and recovery checks, and SCSI fencing commands are not interchangeable with NVMe commands. Fabric fencing cuts a node's access to a required capability, such as network or shared disk, rather than its power. After the cause is investigated and the node rejoins, some fabric devices need an explicit unfencing action before resources may start there. [cluster-fencing-guide] A multipath reservation agent registers a per-node key on each device and fences by preempting the victim key with PREEMPT AND ABORT under reservation type 5, write exclusive for registrants only. It reports failure if that key is still registered on any device. [multipath-fence-agent] Advantages: - A storage-enforced fence can stop a node's writes without cutting its power, leaving the host available for investigation. (sources: [cluster-fencing-guide]) Limitations: - Quorum normally restricts fencing eligibility, with documented exceptions. Device retries share the action timeout; expiry does not prove successful exclusion, and a multi-step fencing operation can involve several timeouts. (sources: [cluster-fencing-guide]) Sources and caveats: - cluster-fencing-guide, a cluster manager fencing guide, re-read 2026-10-23 for fabric fencing, unfencing, quorum rules and the reboot timeout and retry defaults. - multipath-fence-agent, a multipath reservation fence agent, re-read at the pinned commit for registration, reservation type 5, preemption and the verification count. - A companion analysis on stale writes after a lost heartbeat is listed but not used in prose. - The nvme-host-identifier entry links here because reservation-based fencing on NVMe acts on the host whose controllers share a Host Identifier. nvme-host-identifier is added to related for the reciprocal relation. - Pacemaker 3.0 sections 8.11-8.12 rechecked 2026-10-23: separate operation stages and a shared action-time budget do not guarantee successful fencing by a deadline. Related terms: - [scsi-persistent-reservations](https://hesela.dev/terms/scsi-persistent-reservations/) - [fencing-token](https://hesela.dev/terms/fencing-token/) - [multipath-io](https://hesela.dev/terms/multipath-io/) - [san](https://hesela.dev/terms/san/) - [nvme-reservation](https://hesela.dev/terms/nvme-reservation/) - [nvme-host-identifier](https://hesela.dev/terms/nvme-host-identifier/) - [lock-delay](https://hesela.dev/terms/lock-delay/) - [network-partition](https://hesela.dev/terms/network-partition/) - [split-brain](https://hesela.dev/terms/split-brain/) - [alua](https://hesela.dev/terms/alua/) - [failover](https://hesela.dev/terms/failover/) - [failback](https://hesela.dev/terms/failback/) - [frangipani](https://hesela.dev/terms/frangipani/) Citations: - [cluster-fencing-guide] ClusterLabs, Pacemaker Explained 3.0: Fencing, including Fencing and Quorum. https://clusterlabs.org/projects/pacemaker/doc/3.0/Pacemaker_Explained/html/fencing.html (accessed 2026-10-23) - [multipath-fence-agent] ClusterLabs fence_mpath source and embedded documentation, commit 65a423c846a91deff49271ffaeb8f7d4ed90ce50. https://github.com/ClusterLabs/fence-agents/blob/65a423c846a91deff49271ffaeb8f7d4ed90ce50/agents/mpath/fence_mpath.py (accessed 2026-10-23) - [hesela-fencing] Storage fencing: why a lost heartbeat does not stop writes. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-10-11) - [nvme-acquire] nvme-cli v2.15: nvme-resv-acquire manual. https://github.com/linux-nvme/nvme-cli/blob/v2.15/Documentation/nvme-resv-acquire.txt (accessed 2026-10-16) ### I/O request size URL: https://hesela.dev/terms/io-request-size/ Also known as: Benchmark block size Status: shipping Record updated: 2026-11-14 I/O request size is the number of bytes requested by one input/output operation at a specified system boundary. Note: A load generator's block size sets bytes per I/O, with a default of 4096 bytes, and separate sizes can apply to reads, writes and trims. A size split sets an operation mix: 10% at 4 KiB, 50% at 64 KiB and 40% at 32 KiB gives a mean of 45.2 KiB per operation, so throughput equals IOPS times 45.2 KiB. [fio] This size is distinct from a device's logical sector or a filesystem allocation unit. Kernel request merging can change counts and sizes below the application boundary: two adjacent 4K reads may become one 8K read, counted and queued as one I/O. [linux-iostats] A writable per-queue limit caps the kilobytes allowed in one filesystem request, at or below the hardware maximum, and merge attempts can be partly or fully disabled. [linux-sysfs-block] When relating successful data-transfer IOPS to bytes/s, use the actual completed bytes and the matching operation population, especially if sizes vary or transfers are short. A device may also report a minimum I/O size, often the physical block size for disks or the chunk size for RAID arrays, below which requests incur a performance penalty. [linux-sysfs-block] Advantages: - Stating the size per operation type lets read, write and trim results be compared without a blended average hiding the mix. (sources: [fio]) Limitations: - Counts taken above the merge layer and below it describe different operation populations, so their mean sizes cannot be mixed in one ratio. (sources: [linux-iostats]) Sources and caveats: - fio re-read 2026-10-23 for the 4096-byte default, per-direction sizes and the bssplit example mix. - linux-iostats re-read 2026-10-23 for merged-request fields and the two 4K reads merged into one 8K read. - linux-sysfs-block read 2026-10-23 for max_sectors_kb, max_hw_sectors_kb, minimum_io_size and nomerges. - The 45.2 KiB mean is arithmetic from the documented example mix, not a measured result. - The direct-io-alignment entry links here because aligned direct I/O constrains request sizes to multiples of the device block size, which is the boundary this entry defines. - A companion analysis on I/O accounting is listed but not used in prose. Related terms: - [iops](https://hesela.dev/terms/iops/) - [throughput-storage](https://hesela.dev/terms/throughput-storage/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [physical-sector](https://hesela.dev/terms/physical-sector/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [blk-mq](https://hesela.dev/terms/blk-mq/) - [sequential-io](https://hesela.dev/terms/sequential-io/) - [random-io](https://hesela.dev/terms/random-io/) - [direct-io-alignment](https://hesela.dev/terms/direct-io-alignment/) - [flashgraph](https://hesela.dev/terms/flashgraph/) Citations: - [fio] fio documentation: blocksize, bsrange and bssplit; online manual reviewed 23 October 2026. https://fio.readthedocs.io/en/master/fio_doc.html (accessed 2026-10-23) - [linux-iostats] Linux kernel documentation: I/O statistics fields; completed requests, merged requests and sectors. https://docs.kernel.org/admin-guide/iostats.html (accessed 2026-10-23) - [hesela-accounting] Hesela: IOPS, bytes and average occupancy; synthetic accounting examples. https://hesela.com/analyses/storage-latency-coordinated-omission/#io-accounting (accessed 2026-10-13) - [linux-sysfs-block] Linux kernel documentation: stable ABI, sysfs-block queue attributes max_sectors_kb, minimum_io_size and nomerges. https://docs.kernel.org/admin-guide/abi-stable.html (accessed 2026-10-23) ### I/O scheduler URL: https://hesela.dev/terms/io-scheduler/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: Linux I/O scheduler, block I/O scheduler Status: shipping Record updated: 2026-12-02 An I/O scheduler is a host block-layer policy that selects or regulates pending request dispatch to a storage device. Note: Linux exposes the available choices and brackets the active one in /sys/block//queue/scheduler. The iosched directory holds scheduler-specific settings. The choice applies to a device queue, not to every drive in a system. [switch] In Linux v6.16 a queue with exactly 1 hardware queue, or with tags shared across hardware queues, starts with mq-deadline when it is available, while other queues start with none. A driver flag can also suppress the default scheduler. [elevator] The none selection removes the elevator policy, not the block layer or the device's own scheduling. [elevator] The block layer does not guarantee completion order. [blk-mq] A scheduler setting does not replace the write-cache flush and FUA mechanisms needed for persistence. [cache-control] Queue selection and device preemption are different controls. Semi-preemptible I/O adds command boundaries where another request can be chosen; a higher host priority alone does not interrupt the current command. [semi-preemptible] Advantages: - Writing a scheduler name to the sysfs file switches the policy on the fly, without rebooting. (sources: [switch]) Limitations: - If initializing the default scheduler fails, the queue falls back to none and the kernel only logs a warning. (sources: [elevator]) Sources and caveats: - switch is the Linux 6.16 Switching Scheduler page, re-read for the sysfs selection syntax. - elevator is the v6.16 elevator.c source, re-read on git.kernel.org at the same tag for the default selection and its fallback. - blk-mq and cache-control are the Linux 6.16 block-layer pages, re-read for completion ordering and flush semantics. - The slowdown-fairness entry links here because the scheduler policy is one host-side factor in how slowdowns are shared between flows. Related terms: - [blk-mq](https://hesela.dev/terms/blk-mq/) - [mq-deadline](https://hesela.dev/terms/mq-deadline/) - [bfq](https://hesela.dev/terms/bfq/) - [kyber](https://hesela.dev/terms/kyber/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [mclock](https://hesela.dev/terms/mclock/) - [anticipatory-scheduling](https://hesela.dev/terms/anticipatory-scheduling/) - [work-conserving-scheduler](https://hesela.dev/terms/work-conserving-scheduler/) - [flashfq](https://hesela.dev/terms/flashfq/) - [fios](https://hesela.dev/terms/fios/) - [linux-writeback-throttling](https://hesela.dev/terms/linux-writeback-throttling/) - [freeblock-scheduling](https://hesela.dev/terms/freeblock-scheduling/) - [semi-preemptible-io](https://hesela.dev/terms/semi-preemptible-io/) - [linux-io-priority](https://hesela.dev/terms/linux-io-priority/) - [iocost](https://hesela.dev/terms/iocost/) - [first-come-first-served](https://hesela.dev/terms/first-come-first-served/) - [head-of-line-blocking](https://hesela.dev/terms/head-of-line-blocking/) - [ioflow](https://hesela.dev/terms/ioflow/) - [shortest-remaining-processing-time](https://hesela.dev/terms/shortest-remaining-processing-time/) - [fscan](https://hesela.dev/terms/fscan/) - [shortest-positioning-time-first](https://hesela.dev/terms/shortest-positioning-time-first/) - [disk-mimic](https://hesela.dev/terms/disk-mimic/) Citations: - [switch] Linux 6.16: Switching Scheduler. https://docs.kernel.org/6.16/block/switching-sched.html (accessed 2026-10-23) - [elevator] Linux v6.16: elevator.c, elevator_switch and the none selection. https://github.com/torvalds/linux/blob/v6.16/block/elevator.c (accessed 2026-10-23) - [cache-control] Linux 6.16: Explicit volatile write back cache control. https://docs.kernel.org/6.16/block/writeback_cache_control.html (accessed 2026-10-23) - [blk-mq] Linux 6.16: Multi-Queue Block IO Queueing Mechanism. https://docs.kernel.org/6.16/block/blk-mq.html (accessed 2026-10-23) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-10-21) - [semi-preemptible] Dimitrijevic, Rangaswami and Chang. Design and Implementation of Semi-preemptible IO. FAST 2003, sections 1 and 3. https://www.usenix.org/legacy/events/fast03/tech/full_papers/dimitrijevic/dimitrijevic.pdf (accessed 2026-11-09) ### I/O shepherding URL: https://hesela.dev/terms/io-shepherding/ Status: research Record updated: 2026-11-09 I/O shepherding centralizes filesystem fault-detection and recovery policies around block requests and responses. Note: CrookFS, an ext3-based research prototype, selects policies by block type and volume. Policies compose retries, checksums, replicas or repair. [shepherd07] Recovery can create persistent state: relocating a failed checkpoint write also changes allocation and mapping metadata. Chained transactions commit those changes before releasing the original transaction. [shepherd07] Repeated recovery also needs stable operands. Incremental parity updates use versioned old-value logging so earlier overwrites do not replace the inputs needed for replay. [shepherd07] Limitations: - Journal space must accommodate chained work; protection of the journal itself needs restricted policies. (sources: [shepherd07]) Sources and caveats: - Historical Linux 2.6.12 prototype and selected fault-injection workloads; not a feature claim about current ext3 or ext4. [shepherd07] Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [intra-disk-redundancy](https://hesela.dev/terms/intra-disk-redundancy/) - [lost-write](https://hesela.dev/terms/lost-write/) - [idempotency](https://hesela.dev/terms/idempotency/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) Citations: - [shepherd07] Gunawi et al. Improving File System Reliability with I/O Shepherding. SOSP 2007, sections 3-5. https://research.cs.wisc.edu/adsl/Publications/shepherd-sosp07.pdf (accessed 2026-11-09) - [hesela-integrity] Hesela: recovery policies, checkpoint repair and memory boundaries. https://hesela.com/analyses/filesystem-checksum-error-detection/#io-shepherding (accessed 2026-11-09) - [parity-example] Hesela: restartable parity repair, explicit model and counterexamples. https://hesela.com/analyses/filesystem-checksum-error-detection/#parity-replay (accessed 2026-11-09) ### I/O timeout URL: https://hesela.dev/terms/io-timeout/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: I/O command timeout Status: shipping Record updated: 2026-11-20 An I/O timeout is expiration of a layer's waiting limit for an operation, which can trigger recovery without proving that the operation never executed. Note: Linux SCSI timeout handling can extend waiting or initiate abort and recovery. A timed-out command can still be active in lower layers, so timeout, cancellation and durable completion are different states. [scsi-eh] Device-side error recovery control and command duration limits are distinct from a host waiting limit. An incident record should identify the timer's owner and retain the original request identity, final completion evidence, driver and protocol context before a retry is treated as safe. [hesela-timeouts] An NVMe Abort request and its target command have separate results. Linux v6.12's PCI-driver Abort status log reports only the Abort request status; it is not evidence that the target was cancelled or its effects reversed. [linux-nvme-abort] For POSIX AIO, an aio_suspend timeout leaves request completion separate. Preserve each original control block and use aio_error/aio_return to distinguish pending, canceled, successful and failed requests. [posix-suspend] [posix-return] Related terms: - [scsi](https://hesela.dev/terms/scsi/) - [multipath-io](https://hesela.dev/terms/multipath-io/) - [no-path-retry](https://hesela.dev/terms/no-path-retry/) - [retry-deduplication](https://hesela.dev/terms/retry-deduplication/) - [fail-slow](https://hesela.dev/terms/fail-slow/) - [error-recovery-control](https://hesela.dev/terms/error-recovery-control/) - [command-duration-limit](https://hesela.dev/terms/command-duration-limit/) - [metastable-failure](https://hesela.dev/terms/metastable-failure/) - [retry-amplification](https://hesela.dev/terms/retry-amplification/) - [retry-budget](https://hesela.dev/terms/retry-budget/) - [nvme-abort](https://hesela.dev/terms/nvme-abort/) - [nvme-keep-alive](https://hesela.dev/terms/nvme-keep-alive/) - [nvme-command-quiesce-time](https://hesela.dev/terms/nvme-command-quiesce-time/) - [posix-aio-cancellation](https://hesela.dev/terms/posix-aio-cancellation/) - [remote-procedure-call](https://hesela.dev/terms/remote-procedure-call/) - [omission-failure](https://hesela.dev/terms/omission-failure/) - [timing-failure](https://hesela.dev/terms/timing-failure/) - [tcp-retransmission-timeout](https://hesela.dev/terms/tcp-retransmission-timeout/) Citations: - [scsi-eh] Linux kernel documentation: SCSI EH, sections 1.2-1.4 and 2.1. https://docs.kernel.org/scsi/scsi_eh.html (accessed 2026-10-11) - [hesela-timeouts] Storage timeouts: an expired timer is not a cancelled write. https://hesela.com/analyses/storage-timeouts-uncertain-completion/ (accessed 2026-10-16) - [linux-nvme-abort] Linux v6.12: PCI NVMe abort_endio() and nvme_timeout(). https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/nvme/host/pci.c (accessed 2026-11-07) - [posix-return] POSIX.1-2024: aio_return, terminal status and one-time retrieval. https://pubs.opengroup.org/onlinepubs/9799919799/functions/aio_return.html (accessed 2026-11-13) - [posix-suspend] POSIX.1-2024: aio_suspend, expired waits and EAGAIN. https://pubs.opengroup.org/onlinepubs/9799919799/functions/aio_suspend.html (accessed 2026-11-13) ### io_uring cancellation URL: https://hesela.dev/terms/io-uring-cancellation/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: io_uring cancelation, IORING_OP_ASYNC_CANCEL Status: shipping Record updated: 2026-11-13 io_uring cancellation is a request to stop matching outstanding operations, with a result separate from each target operation's completion. Note: For a single user_data match with flags zero, the cancellation CQE reports 0 on success, -ENOENT when no target is found, or -EALREADY when immediate cancellation is no longer possible. A completed target and an incorrect identifier can both explain -ENOENT; inspect the target CQE. [cancel-api] Use distinct target and cancellation identifiers; do not recycle the target identifier until its completion and all cancellation attempts targeting it are accounted for. [cqe-identity] In Linux v6.14, a bulk counter can include running-work results, so it is not a completed-request ledger. [cancel-source] Read/write payload buffers must remain valid until the target operation completes; submission stability does not shorten that lifetime. [buffer-lifetime] Advantages: - Makes cancellation an explicit operation whose result can be correlated with its target. Limitations: - Cancellation is not rollback or persistence confirmation. - The single-target result convention does not describe bulk cancellation counts. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [io-uring-cqe](https://hesela.dev/terms/io-uring-cqe/) - [io-uring-linked-timeout](https://hesela.dev/terms/io-uring-linked-timeout/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [io-uring-linked-requests](https://hesela.dev/terms/io-uring-linked-requests/) - [posix-aio-cancellation](https://hesela.dev/terms/posix-aio-cancellation/) Citations: - [cancel-api] liburing 2.9: io_uring_prep_cancel(3), single-target results and completion handling. https://github.com/axboe/liburing/blob/liburing-2.9/man/io_uring_prep_cancel.3 (accessed 2026-10-17) - [cancel-source] Linux v6.14: io_async_cancel_one and __io_async_cancel, including the bulk-count path. https://github.com/torvalds/linux/blob/v6.14/io_uring/cancel.c (accessed 2026-10-17) - [cqe-identity] liburing 2.9: io_uring_cqe_get_data(3), application-supplied completion identity. https://github.com/axboe/liburing/blob/liburing-2.9/man/io_uring_cqe_get_data.3 (accessed 2026-10-17) - [hesela-uring] io_uring: completion is not a durable commit. https://hesela.com/analyses/io-uring-completion-ordering-durability/#cancellation-results (accessed 2026-10-17) - [buffer-lifetime] liburing: io_uring(7), SQE pointer lifetimes and data stability; current manual reviewed 17 October 2026. https://man7.org/linux/man-pages/man7/io_uring.7.html (accessed 2026-10-17) ### io_uring completion queue entry URL: https://hesela.dev/terms/io-uring-cqe/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: io_uring CQE Status: shipping Record updated: 2026-11-29 An io_uring completion queue entry is a result record containing an operation result, flags and application-provided identification data. Note: For ordinary one-shot writes, inspect res for the transferred byte count or a negative error number; a delivered entry alone does not mean success. A submission function's return value is a different result. [overview] [submit] In the Linux v6.16 ABI an entry is 16 bytes, a 64-bit user_data copied from the submission, a signed 32-bit res and 32-bit flags. Rings created with IORING_SETUP_CQE32 use 32-byte entries, available since Linux 5.19 and required for passthrough commands. When IORING_CQE_F_BUFFER is set, the upper 16 bits of flags carry the selected buffer ID, and IORING_CQE_F_MORE means the request will post further entries. [uapi-header] [setup] With IORING_FEAT_NODROP, available since Linux 5.5, completions that find the ring full are held by the kernel until space frees up. An entry is lost only when the kernel cannot allocate memory to hold it, which shows as a higher overflow counter. [setup] IORING_FEAT_CQE_SKIP reports support for IOSQE_CQE_SKIP_SUCCESS, documented since Linux 5.17. It is a setup capability, not the request flag itself. [suppression-setup] With that SQE flag, opcode-specific success suppresses reporting; the criterion matches normal link continuation, not merely res >= 0. A short read can remain reportable. Do not combine it with IO_DRAIN anywhere in the ring. [suppression-enter] Application inference: an empty completion queue alone establishes neither completion nor safe buffer reuse. Advantages: - Lets an application associate completion information with the submitted operation. (sources: [overview]) Limitations: - A successful ordinary buffered write is not itself a power-loss durability guarantee. (sources: [sync]) - Applications must reap entries promptly, because older kernels can reject new submissions with EBUSY while completions overflow. (sources: [setup]) - For SEND_ZC, F_NOTIF identifies a buffer-release notification; with REPORT_USAGE its res is a bitfield, so bit 31 must not be decoded as an ordinary negative errno. (sources: [suppression-enter], [uapi-header]) Sources and caveats: - overview is the io_uring(7) page and submit the io_uring_submit(3) page, both kept from the earlier version. - uapi-header is include/uapi/linux/io_uring.h at tag v6.16, read on the access date in struct io_uring_cqe and the IORING_CQE_F_* definitions. - setup is the Linux man-pages io_uring_setup(2) page, read in IORING_SETUP_CQE32 and IORING_FEAT_NODROP. - 16 bytes, 64-bit, 32-bit and 16 bits come from uapi-header. 32 bytes, 5.19 and 5.5 come from setup. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [io-uring-linked-requests](https://hesela.dev/terms/io-uring-linked-requests/) - [completion-latency](https://hesela.dev/terms/completion-latency/) - [fsync](https://hesela.dev/terms/fsync/) - [short-read](https://hesela.dev/terms/short-read/) - [io-uring-registered-buffers](https://hesela.dev/terms/io-uring-registered-buffers/) - [io-uring-provided-buffers](https://hesela.dev/terms/io-uring-provided-buffers/) - [io-uring-zero-copy-send](https://hesela.dev/terms/io-uring-zero-copy-send/) Citations: - [overview] liburing: io_uring(7), result reporting and shared rings. https://man7.org/linux/man-pages/man7/io_uring.7.html (accessed 2026-10-14) - [submit] liburing: io_uring_submit(3), submission return value. https://man7.org/linux/man-pages/man3/io_uring_submit.3.html (accessed 2026-10-14) - [sync] Linux man-pages: fsync(2), error and directory persistence boundaries. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-14) - [hesela-uring] io_uring: completion is not a durable commit. https://hesela.com/analyses/io-uring-completion-ordering-durability/ (accessed 2026-10-14) - [uapi-header] Linux v6.16 include/uapi/linux/io_uring.h: struct io_uring_cqe and CQE flags. https://github.com/torvalds/linux/blob/v6.16/include/uapi/linux/io_uring.h (accessed 2026-10-22) - [setup] Linux man-pages, io_uring_setup(2): CQE size and overflow behaviour. https://man7.org/linux/man-pages/man2/io_uring_setup.2.html (accessed 2026-10-22) - [suppression-enter] liburing 2.11: io_uring_enter(2), IOSQE_CQE_SKIP_SUCCESS and link/timeout exceptions. https://github.com/axboe/liburing/blob/liburing-2.11/man/io_uring_enter.2 (accessed 2026-11-12) - [suppression-setup] liburing 2.11: io_uring_setup(2), IORING_FEAT_CQE_SKIP capability. https://github.com/axboe/liburing/blob/liburing-2.11/man/io_uring_setup.2 (accessed 2026-11-12) ### io_uring drain URL: https://hesela.dev/terms/io-uring-drain/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: IOSQE_IO_DRAIN Status: shipping Record updated: 2026-10-22 io_uring drain is a submission flag that delays a request until earlier requests in the same ring finish and delays later requests until the drain request finishes. Note: Drain orders completion within one ring; it is not a device-cache flush. [flags] The documented API forbids mixing IO_DRAIN with IOSQE_CQE_SKIP_SUCCESS in one ring, including on separate requests. [enter] IOSQE_IO_DRAIN is bit 1 of the submission flags, value 2, and has been available since Linux 5.2. A drained request does not start before all previously submitted requests have completed, and later requests do not start before it completes. [enter] [uapi-header] A link chain orders only the requests joined to it, while a drain waits for every earlier request in the ring. One slow earlier request therefore also delays all requests submitted after the drain. [enter] Advantages: - Can establish a ring-scoped dependency before a synchronization request. (sources: [flags]) Limitations: - It does not order another ring or validate earlier write results. Sources and caveats: - flags is the liburing 2.9 io_uring_sqe_set_flags(3) page, kept from the earlier version. - enter is the Linux man-pages io_uring_enter(2) page, reread on the access date in IOSQE_IO_DRAIN, IOSQE_IO_LINK and IOSQE_CQE_SKIP_SUCCESS. - uapi-header is include/uapi/linux/io_uring.h at tag v6.16, read in enum io_uring_sqe_flags_bit. - Bit 1 and value 2 come from uapi-header. 5.2 comes from enter. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [io-uring-linked-requests](https://hesela.dev/terms/io-uring-linked-requests/) - [fsync](https://hesela.dev/terms/fsync/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) Citations: - [flags] liburing 2.9: io_uring_sqe_set_flags(3), chain and drain scope. https://github.com/axboe/liburing/blob/liburing-2.9/man/io_uring_sqe_set_flags.3 (accessed 2026-10-14) - [enter] liburing: io_uring_enter(2), IORING_OP_FSYNC, linking and CQE_SKIP_SUCCESS constraints. https://man7.org/linux/man-pages/man2/io_uring_enter.2.html (accessed 2026-10-22) - [hesela-uring] io_uring: completion is not a durable commit. https://hesela.com/analyses/io-uring-completion-ordering-durability/ (accessed 2026-10-14) - [uapi-header] Linux v6.16 include/uapi/linux/io_uring.h: submission flag bits. https://github.com/torvalds/linux/blob/v6.16/include/uapi/linux/io_uring.h (accessed 2026-10-22) ### io_uring integrity metadata URL: https://hesela.dev/terms/io-uring-integrity-metadata/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: io_uring PI attribute Status: shipping Record updated: 2026-10-15 io_uring integrity metadata is a separately described protection-information buffer attached to a read or write request through SQE attributes. Note: In Linux v6.14, attr_type_mask selects IORING_RW_ATTR_FLAG_PI and attr_ptr identifies io_uring_attr_pi, whose addr and len describe metadata rather than file-data bytes. Initialize the reserved field to zero. [pi-uapi] [pi-rw] The request path requires O_DIRECT; the block mapping path rejects a missing integrity profile, insufficient metadata or unsupported check flags. Zero check flags do not request guard, reference-tag and application-tag checks automatically. Kernel ABI presence alone does not prove filesystem or device support. [pi-rw] [pi-map] [pi-fops] Advantages: - Lets participating applications supply integrity metadata alongside ordinary read/write requests. Limitations: - Does not itself establish persistence, freshness, cryptographic authentication or repair. - The reviewed Linux v6.14 path does not accept user PI for buffered I/O; metadata format and checks depend on the supported stack. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [protection-information](https://hesela.dev/terms/protection-information/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [direct-io](https://hesela.dev/terms/direct-io/) - [io-uring-cqe](https://hesela.dev/terms/io-uring-cqe/) - [fsync](https://hesela.dev/terms/fsync/) Citations: - [pi-uapi] Linux v6.14: io_uring userspace ABI, SQE attributes and io_uring_attr_pi. https://github.com/torvalds/linux/blob/v6.14/include/uapi/linux/io_uring.h (accessed 2026-10-15) - [pi-rw] Linux v6.14: io_prep_rw_pi, io_prep_rw and io_rw_init_file in io_uring/rw.c. https://github.com/torvalds/linux/blob/v6.14/io_uring/rw.c (accessed 2026-10-15) - [pi-map] Linux v6.14: bio_integrity_map_iter and explicit integrity-check flags. https://github.com/torvalds/linux/blob/v6.14/block/bio-integrity.c (accessed 2026-10-15) - [pi-fops] Linux v6.14: direct block-device I/O mapping of user integrity metadata. https://github.com/torvalds/linux/blob/v6.14/block/fops.c (accessed 2026-10-15) - [hesela-uring-pi] Hesela: io_uring integrity metadata is a separate contract. https://hesela.com/analyses/io-uring-completion-ordering-durability/#integrity-metadata (accessed 2026-10-15) ### io_uring linked requests URL: https://hesela.dev/terms/io-uring-linked-requests/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: IOSQE_IO_LINK, IOSQE_IO_HARDLINK Status: shipping Record updated: 2026-11-12 io_uring linked requests are a chain of submission entries whose dependencies delay each successor until its predecessor completes. Note: IO_LINK is local to its chain and does not order unrelated requests. A chain must stay within a submission boundary, and the last entry of a submission ends the chain even when its link flag is set. IO_HARDLINK retains a link across a completion error; it does not convert the failed operation into a successful one. [flags] [enter] In the Linux v6.16 ABI, IOSQE_IO_LINK is flag bit 2 with value 4 and IOSQE_IO_HARDLINK is bit 3 with value 8. The link flag is available since Linux 5.3 and the hard link since 5.5. [uapi-header] [enter] Any unexpected result, including a short read, breaks an ordinary chain. Without completion suppression, the unstarted remainder reports -ECANCELED. A hard link still severs if the parent request fails at submission rather than at completion. [enter] In a chain without linked timeouts or IO_HARDLINK, a skip-enabled failure reports its own result while subsequent linked CQEs are omitted. [suppression-enter] In the upstream normal-chain tests, successful predecessors suppress their reports and the tail reports success; a failing request instead supplies the sole report. Waiting only for the tail can therefore miss the failure path. The unsuppressed tail can also fail: its identity alone never establishes success. This is source review, not an executed kernel test. [suppression-tests] Advantages: - Expresses dependencies without waiting in user space between every operation. (sources: [flags]) - Several chains and single requests can run in parallel, because only members of one chain are serialized. (sources: [enter]) Limitations: - Ordering a chain does not make its side effects an atomic transaction. - The chain breaks only on results that io_uring treats as errors, so an application-level check on an earlier result cannot stop later members. (sources: [enter]) Sources and caveats: - flags is the liburing 2.9 io_uring_sqe_set_flags(3) page, kept from the earlier version. - enter is the Linux man-pages io_uring_enter(2) page, read on the access date in IOSQE_IO_LINK and IOSQE_IO_HARDLINK. - uapi-header is include/uapi/linux/io_uring.h at tag v6.16, read in the IOSQE_*_BIT enumeration and flag definitions. - Bits 2 and 3 and values 4 and 8 come from uapi-header. 5.3, 5.5 and -ECANCELED come from enter. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [io-uring-cqe](https://hesela.dev/terms/io-uring-cqe/) - [io-uring-drain](https://hesela.dev/terms/io-uring-drain/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [io-uring-cancellation](https://hesela.dev/terms/io-uring-cancellation/) - [io-uring-linked-timeout](https://hesela.dev/terms/io-uring-linked-timeout/) Citations: - [flags] liburing 2.9: io_uring_sqe_set_flags(3), chain and drain scope. https://github.com/axboe/liburing/blob/liburing-2.9/man/io_uring_sqe_set_flags.3 (accessed 2026-10-14) - [hesela-uring] io_uring: completion is not a durable commit. https://hesela.com/analyses/io-uring-completion-ordering-durability/ (accessed 2026-10-14) - [enter] Linux man-pages, io_uring_enter(2): IOSQE_IO_LINK and IOSQE_IO_HARDLINK. https://man7.org/linux/man-pages/man2/io_uring_enter.2.html (accessed 2026-10-22) - [uapi-header] Linux v6.16 include/uapi/linux/io_uring.h: SQE flag bits. https://github.com/torvalds/linux/blob/v6.16/include/uapi/linux/io_uring.h (accessed 2026-10-22) - [suppression-enter] liburing 2.11: io_uring_enter(2), IOSQE_CQE_SKIP_SUCCESS and link/timeout exceptions. https://github.com/axboe/liburing/blob/liburing-2.11/man/io_uring_enter.2 (accessed 2026-11-12) - [suppression-tests] liburing 2.11: skip-cqe.c, test_link_success and test_link_fail (source inspection only). https://github.com/axboe/liburing/blob/liburing-2.11/test/skip-cqe.c (accessed 2026-11-12) ### io_uring linked timeout URL: https://hesela.dev/terms/io-uring-linked-timeout/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: IORING_OP_LINK_TIMEOUT, io_uring_prep_link_timeout Status: shipping Record updated: 2026-11-12 An io_uring linked timeout is a timer request attached to an operation that can trigger cancellation when its deadline expires. Note: In the two-request case, the target is marked IOSQE_IO_LINK and followed by the timeout SQE. A timeout CQE with -ECANCELED can mean the timer was disarmed after the target finished, not that the target itself was canceled. [link-timeout-api] Linux v6.14's io_req_task_link_timeout can attempt cancellation and report its error or -ETIME on a zero return; when no predecessor remains, it can emit -ETIME without that attempt. Check the target's separate result; timer expiry does not undo earlier writes. [timeout-source] io_uring_wait_cqe_timeout instead bounds a wait for a CQE; expiration of that wait does not establish cancellation of an outstanding operation. [wait-timeout-api] Read/write payload buffers must remain valid until the target operation completes; submission stability does not shorten that lifetime. [buffer-lifetime] A linked timeout marked IOSQE_CQE_SKIP_SUCCESS posts no CQE, regardless of expiration or cancellation. Suppression on the target alone does not select this timeout behavior; the timeout's own flag does. [suppression-enter] Advantages: - Associates a deadline with a specific outstanding operation. Limitations: - A deadline is not a transaction rollback or durability guarantee. - The two-request result discussion assumes visible completions; the suppression exception is described separately. Multishot requests, hard-linked chains and nonzero timeout flags remain outside this explanation. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [io-uring-cqe](https://hesela.dev/terms/io-uring-cqe/) - [io-uring-linked-requests](https://hesela.dev/terms/io-uring-linked-requests/) - [io-uring-cancellation](https://hesela.dev/terms/io-uring-cancellation/) - [io-timeout](https://hesela.dev/terms/io-timeout/) Citations: - [link-timeout-api] liburing 2.9: io_uring_prep_link_timeout(3), timeout and cancellation outcomes. https://github.com/axboe/liburing/blob/liburing-2.9/man/io_uring_prep_link_timeout.3 (accessed 2026-10-17) - [timeout-source] Linux v6.14: io_req_task_link_timeout and io_disarm_next. https://github.com/torvalds/linux/blob/v6.14/io_uring/timeout.c (accessed 2026-10-17) - [wait-timeout-api] liburing 2.9: io_uring_wait_cqe_timeout(3), waiting result versus operation result. https://github.com/axboe/liburing/blob/liburing-2.9/man/io_uring_wait_cqe_timeout.3 (accessed 2026-10-17) - [hesela-uring] io_uring: completion is not a durable commit. https://hesela.com/analyses/io-uring-completion-ordering-durability/#linked-timeout (accessed 2026-10-17) - [buffer-lifetime] liburing: io_uring(7), SQE pointer lifetimes and data stability; current manual reviewed 17 October 2026. https://man7.org/linux/man-pages/man7/io_uring.7.html (accessed 2026-10-17) - [suppression-enter] liburing 2.11: io_uring_enter(2), IOSQE_CQE_SKIP_SUCCESS and link/timeout exceptions. https://github.com/axboe/liburing/blob/liburing-2.11/man/io_uring_enter.2 (accessed 2026-11-12) ### io_uring provided buffers URL: https://hesela.dev/terms/io-uring-provided-buffers/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: io_uring buffer selection, io_uring provided-buffer ring Status: shipping Record updated: 2026-11-08 io_uring provided buffers are application-supplied buffers grouped for kernel selection by supported I/O requests. Note: Selection: IOSQE_BUFFER_SELECT and buf_group choose a supplied group. Supported read or receive requests select a destination; supported sends can instead select outgoing data. If IORING_CQE_F_BUFFER is set, the upper 16 CQE flag bits give the application buffer ID, not a fixed-buffer index. [buffers-provide] [buffers-send] [buffers-opcodes] Ring publication: io_uring_buf_ring_add writes a descriptor; io_uring_buf_ring_advance publishes previously added descriptors for kernel consumption. The insertion offset is relative to the ring tail, not the application buffer ID. Keep the ID-to-address mapping correct for each provisioning cycle. [buffers-add] [buffers-advance] Replenishment: io_uring_cqe_seen releases a completion slot, not a payload buffer back to its pool. For ordinary non-incremental buffers, finish processing a returned payload before adding and publishing that buffer again. The combined io_uring_buf_ring_cq_advance helper publishes previously added buffers while advancing the CQ; it does not populate their descriptors. [buffers-seen] [buffers-cq-advance] Continuation: in the Linux v6.16 ABI, IORING_CQE_F_MORE concerns additional completions from the request. IORING_CQE_F_BUF_MORE instead means an incrementally consumed buffer remains in use by the kernel. Do not recycle that entire buffer merely because one completion arrived; ordinary non-incremental buffer return is a different case. [buffers-uapi] Advantages: - Lets supported operations select from a supplied group instead of requiring a separate preselected payload buffer for each request. (sources: [buffers-provide]) Limitations: - Publishing a buffer transfers it to the ring; do not republish memory while the application or kernel still needs its contents. (sources: [buffers-advance], [buffers-uapi]) - For multishot receive, check IORING_CQE_F_MORE on every completion, including nonnegative results; replenishing buffers does not restart a terminated request. (sources: [buffers-recv-multishot]) - Multishot read requires a pollable file type; ordinary regular files fail with -EBADFD in the reviewed API. (sources: [buffers-read-multishot]) - IORING_FEAT_RECVSEND_BUNDLE in the features returned at ring setup reports the reviewed send-buffer capability; it is not an SQE flag. Supported requests still use IOSQE_BUFFER_SELECT with buf_group. (sources: [buffers-setup], [buffers-send-uapi]) Sources and caveats: - Primary documentation and pinned Linux v6.16 ABI review; no native kernel execution, performance benchmark or durability experiment. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [io-uring-registered-buffers](https://hesela.dev/terms/io-uring-registered-buffers/) - [io-uring-cqe](https://hesela.dev/terms/io-uring-cqe/) Citations: - [buffers-provide] liburing 2.8: buffer groups and selected IDs. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_prep_provide_buffers.3 (accessed 2026-11-08) - [buffers-add] liburing 2.8: ring offsets and application buffer IDs. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_buf_ring_add.3 (accessed 2026-11-08) - [buffers-advance] liburing 2.8: publishing buffers and ownership. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_buf_ring_advance.3 (accessed 2026-11-08) - [buffers-seen] liburing 2.8: completion-slot consumption. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_cqe_seen.3 (accessed 2026-11-08) - [buffers-cq-advance] liburing 2.8: combined CQ and buffer publication. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_buf_ring_cq_advance.3 (accessed 2026-11-08) - [buffers-uapi] Linux v6.16: CQE buffer-selection and continuation flags. https://github.com/torvalds/linux/blob/v6.16/include/uapi/linux/io_uring.h (accessed 2026-11-08) - [hesela-buffers] Hesela: fixed buffers and provided-buffer ownership. https://hesela.com/analyses/io-uring-completion-ordering-durability/#buffer-selection (accessed 2026-11-08) - [buffers-recv-multishot] liburing 2.8: receive termination and resubmission. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_prep_recv.3 (accessed 2026-11-08) - [buffers-read-multishot] liburing 2.8: pollable-file requirement for multishot read. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_prep_read_multishot.3 (accessed 2026-11-08) - [buffers-send] liburing 2.8: provided buffers for supported send operations. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_prep_send.3 (accessed 2026-11-08) - [buffers-opcodes] Linux v6.16: SEND opcode supports buffer selection. https://github.com/torvalds/linux/blob/v6.16/io_uring/opdef.c (accessed 2026-11-08) - [buffers-setup] liburing 2.8: reported send-buffer capability at ring setup. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_setup.2 (accessed 2026-11-08) - [buffers-send-uapi] Linux v6.10: separate setup feature bits and SQE selection flags. https://github.com/torvalds/linux/blob/v6.10/include/uapi/linux/io_uring.h (accessed 2026-11-08) ### io_uring registered buffers URL: https://hesela.dev/terms/io-uring-registered-buffers/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: io_uring fixed buffers Status: shipping Record updated: 2026-11-08 io_uring registered buffers are application-memory regions registered with a ring and selected by index for supported fixed-buffer operations. Note: Registration: io_uring_register_buffers registers an iovec array for later fixed-buffer operations. Reusing those regions can avoid repeated mapping and page-reference work, notably with O_DIRECT I/O; registration does not itself open a file with O_DIRECT or guarantee a workload speedup. [buffers-register] Selection: io_uring_prep_read_fixed uses buf_index to choose a registered region. The requested address and byte length must lie within that region; a subrange is allowed. This index is not a provided-buffer group ID or a selected buffer ID returned in CQE flags. [buffers-fixed] [buffers-provide] Completion: choosing registered memory does not establish that a read transferred every requested byte. Inspect the operation result and keep in-flight payload memory valid. Registration, request completion and the application's decision to reuse the payload are separate responsibilities. [buffers-fixed] [overview] Memory cost: the liburing 2.8 registration manual describes locked buffers charged against RLIMIT_MEMLOCK. Registering only part of a huge page still pins the whole huge page. Ring teardown can complete asynchronously, so closing the ring is not evidence that its pages were immediately unpinned. Size and measure the registered pool separately from each request's byte count. [buffers-memory] Limitations: - A fixed-buffer request must stay within its selected registered region; registration does not relax other I/O requirements. (sources: [buffers-fixed]) - Registering a provided-buffer ring does not register its payloads for fixed-buffer I/O; a group ID is not a fixed-buffer index. (sources: [buffers-ring-register], [buffers-register]) Sources and caveats: - Primary documentation and pinned Linux v6.16 ABI review; no native kernel execution, performance benchmark or durability experiment. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [io-uring-provided-buffers](https://hesela.dev/terms/io-uring-provided-buffers/) - [io-uring-cqe](https://hesela.dev/terms/io-uring-cqe/) - [direct-io](https://hesela.dev/terms/direct-io/) Citations: - [buffers-register] liburing 2.8: registration and fixed-buffer mapping. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_register_buffers.3 (accessed 2026-11-08) - [buffers-fixed] liburing 2.8: registered index and permitted subranges. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_prep_read_fixed.3 (accessed 2026-11-08) - [buffers-provide] liburing 2.8: buffer groups and selected IDs. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_prep_provide_buffers.3 (accessed 2026-11-08) - [overview] liburing 2.8: io_uring(7), payload-buffer lifetime. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring.7 (accessed 2026-11-08) - [buffers-memory] liburing 2.8: io_uring_register(2), locked memory and asynchronous teardown. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_register.2 (accessed 2026-11-08) - [hesela-buffers] Hesela: fixed buffers and provided-buffer ownership. https://hesela.com/analyses/io-uring-completion-ordering-durability/#buffer-selection (accessed 2026-11-08) - [buffers-ring-register] liburing 2.8: provided-buffer descriptor-ring registration. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_register_buf_ring.3 (accessed 2026-11-08) ### io_uring registered files URL: https://hesela.dev/terms/io-uring-registered-files/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: io_uring fixed files, io_uring direct descriptors Status: shipping Record updated: 2026-11-08 io_uring registered files are file references held in a ring-local table and addressed by table index for supported requests. Note: Identity: IOSQE_FIXED_FILE makes the SQE fd field a registered-table index, not a process file descriptor. Registering process fd 17 in slot 0 therefore makes 0 the fixed-file selector; 17 is not the slot number. [register-api] Lifetime: registration takes its own reference to the same open file description, not an independent open with a separate offset. Closing the original process descriptor does not remove that table entry. Requests already holding a resource retain it across replacement; a merely prepared SQE does not freeze the slot's identity. [registered-source] [registered-lookup] Updates: the helper reports an updated-entry count or a negative errno. Check it against the requested count. Linux v6.16 removes an old slot before looking up its replacement; failure can leave that slot empty, so an update is not an all-or-nothing transaction. IORING_REGISTER_FILES_SKIP advances the processed count without changing that slot; a positive count is not the number of changed references. [register-helper] [registered-source] Notifications: replacing a nonzero-tagged resource can produce a CQE carrying its old tag after outstanding uses finish. This is a resource-retirement notification, not the byte count or synchronization result of an I/O request. [register-api] Advantages: - Reduces repeated file-reference management for operations using the registered table. Limitations: - A direct descriptor selects a ring-local file reference; it does not itself enable O_DIRECT or bypass the page cache. (sources: [direct-open]) Sources and caveats: - API and pinned implementation review; no kernel execution, throughput benchmark or persistence experiment was performed. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [file-descriptor](https://hesela.dev/terms/file-descriptor/) - [io-uring-cqe](https://hesela.dev/terms/io-uring-cqe/) - [direct-io](https://hesela.dev/terms/direct-io/) Citations: - [register-api] liburing 2.8: io_uring_register(2), registered files and resource tags. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_register.2 (accessed 2026-11-08) - [register-helper] liburing 2.8: io_uring_register_files(3), registration and update return values. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_register_files.3 (accessed 2026-11-08) - [registered-source] Linux v6.16: io_sqe_files_register, __io_sqe_files_update and io_free_rsrc_node. https://github.com/torvalds/linux/blob/v6.16/io_uring/rsrc.c (accessed 2026-11-08) - [registered-lookup] Linux v6.16: io_assign_file and io_file_get_fixed. https://github.com/torvalds/linux/blob/v6.16/io_uring/io_uring.c (accessed 2026-11-08) - [direct-open] liburing 2.8: io_uring_prep_openat(3), direct descriptors and ordinary descriptors. https://github.com/axboe/liburing/blob/liburing-2.8/man/io_uring_prep_openat.3 (accessed 2026-11-08) - [hesela-uring] Hesela: io_uring completion and durability boundaries. https://hesela.com/analyses/io-uring-completion-ordering-durability/ (accessed 2026-11-08) ### io_uring zero-copy send URL: https://hesela.dev/terms/io-uring-zero-copy-send/ Also known as: SEND_ZC, IORING_OP_SEND_ZC Status: shipping Record updated: 2026-11-29 io_uring zero-copy send is a socket-send operation that attempts to avoid payload copying and separates the send result from any required buffer-release notification. Note: The initial CQE reports sent bytes or a negative error. If IORING_CQE_F_MORE is set, keep the payload unchanged until the matching IORING_CQE_F_NOTIF notification, even after an initial error. Both entries carry the request's user_data. Without F_MORE, no notification is promised for that send. [sendzc-enter] [sendzc-net] With IORING_SEND_ZC_REPORT_USAGE, notification res is a bitfield, not a second send result. IORING_NOTIF_USAGE_ZC_COPIED occupies bit 31 and therefore appears negative in signed res. Classify F_NOTIF before interpreting res as an errno. Without usage reporting, a zero notification result does not establish copy avoidance. [sendzc-uapi] Linux v6.16 sets COPIED when copying occurred or no successful zero-copy use was recorded. An unsuccessful send can therefore carry that indication without proving any nonzero copied-byte count. [sendzc-notif] Copy fallback is permitted. Notification releases this request's lifetime hold; it does not establish transmission, remote receipt or remote persistence. Traditional MSG_ZEROCOPY instead reports lifetime events through the socket error queue; its send-ID ranges are not the SEND_ZC CQE interface. [sendzc-enter] [sendzc-socket] Limitations: - A single-TCP-connection microbenchmark found zero-copy send costlier below about 1 KiB. This workload-specific crossover is not an API guarantee. [sendzc-jasny2026] Sources and caveats: - API review targets liburing 2.11; implementation details target Linux v6.16. These are pinned review versions, not claims about the latest releases. - The remote-persistence boundary is an engineering inference from the local send and buffer-lifetime contracts. No native zero-copy or performance experiment is claimed. Related terms: - [io-uring-cqe](https://hesela.dev/terms/io-uring-cqe/) - [zero-copy](https://hesela.dev/terms/zero-copy/) Citations: - [sendzc-enter] liburing 2.11: io_uring_enter(2), SEND_ZC results and notification lifetime. https://github.com/axboe/liburing/blob/liburing-2.11/man/io_uring_enter.2 (accessed 2026-11-29) - [sendzc-uapi] Linux v6.16: io_uring.h, SEND_ZC_REPORT_USAGE and notification flags. https://github.com/torvalds/linux/blob/v6.16/include/uapi/linux/io_uring.h (accessed 2026-11-29) - [sendzc-notif] Linux v6.16: notif.c, io_notif_tw_complete and zero-copy usage reporting. https://github.com/torvalds/linux/blob/v6.16/io_uring/notif.c (accessed 2026-11-29) - [sendzc-net] Linux v6.16: net.c, io_send_zc_prep and io_sendrecv_fail. https://github.com/torvalds/linux/blob/v6.16/io_uring/net.c (accessed 2026-11-29) - [sendzc-socket] Linux v6.16: MSG_ZEROCOPY, socket error-queue notifications and deferred copying. https://github.com/torvalds/linux/blob/v6.16/Documentation/networking/msg_zerocopy.rst (accessed 2026-11-29) - [sendzc-jasny2026] Jasny et al.: High-Performance DBMSs with io_uring, arXiv v3, section 4.6, Figure 17. https://arxiv.org/html/2512.04859v3 (accessed 2026-11-29) - [hesela-sendzc] Hesela: io_uring send results and buffer-release notifications. https://hesela.com/analyses/io-uring-completion-ordering-durability/#zero-copy-send (accessed 2026-11-29) ### io_uring URL: https://hesela.dev/terms/io-uring/ Related analysis: https://hesela.com/analyses/io-uring-completion-ordering-durability/ Also known as: Linux io_uring Status: shipping Record updated: 2026-11-28 io_uring is a Linux asynchronous I/O interface that exchanges requests and completion results through shared submission and completion rings. Note: Batching can reduce per-request submission overhead; it does not establish persistence. The completion result belongs to the specific operation, not to the ring as a whole. For file updates, identify the write set and its synchronization protocol. [overview] Linux v6.14 supports a separate PI metadata attribute for reads/writes; that path requires O_DIRECT and participating lower layers, and does not replace synchronization. [pi-rw] IORING_SETUP_IOPOLL targets storage completions; IORING_SETUP_SQPOLL runs a kernel thread checking submissions. SQPOLL alone does not select device-completion polling. The submission thread can sleep, requiring a wakeup; lower syscall counts do not establish lower total CPU cost. [uring-polling] Didona et al. found that the kernel submission poller could compete with the application for scarce cores in their Linux 5.13 raw-device tests. Their 4 KiB random-read study is not a current-kernel sizing rule or a filesystem benchmark. [storage-apis-2022] Asynchronous requests may use io-wq helper threads. IOSQE_ASYNC requests immediate offload instead of the initial nonblocking issue attempt; it does not establish write ordering. [async-flags] Advantages: - Supports batched asynchronous operations without requiring every request to use a separate synchronous syscall. Limitations: - Availability and behavior depend on the operation, kernel and filesystem. Related terms: - [io-uring-cqe](https://hesela.dev/terms/io-uring-cqe/) - [io-uring-linked-requests](https://hesela.dev/terms/io-uring-linked-requests/) - [io-uring-drain](https://hesela.dev/terms/io-uring-drain/) - [fsync](https://hesela.dev/terms/fsync/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [io-uring-integrity-metadata](https://hesela.dev/terms/io-uring-integrity-metadata/) - [io-uring-cancellation](https://hesela.dev/terms/io-uring-cancellation/) - [io-uring-linked-timeout](https://hesela.dev/terms/io-uring-linked-timeout/) - [io-uring-registered-files](https://hesela.dev/terms/io-uring-registered-files/) - [io-uring-registered-buffers](https://hesela.dev/terms/io-uring-registered-buffers/) - [io-uring-provided-buffers](https://hesela.dev/terms/io-uring-provided-buffers/) - [rwf-hipri](https://hesela.dev/terms/rwf-hipri/) - [io-wq](https://hesela.dev/terms/io-wq/) - [iosqe-async](https://hesela.dev/terms/iosqe-async/) Citations: - [overview] liburing: io_uring(7), result reporting and shared rings. https://man7.org/linux/man-pages/man7/io_uring.7.html (accessed 2026-10-14) - [hesela-uring] io_uring: completion is not a durable commit. https://hesela.com/analyses/io-uring-completion-ordering-durability/ (accessed 2026-10-14) - [pi-rw] Linux v6.14: io_prep_rw_pi, io_prep_rw and io_rw_init_file in io_uring/rw.c. https://github.com/torvalds/linux/blob/v6.14/io_uring/rw.c (accessed 2026-10-15) - [pi-map] Linux v6.14: bio_integrity_map_iter and explicit integrity-check flags. https://github.com/torvalds/linux/blob/v6.14/block/bio-integrity.c (accessed 2026-10-15) - [uring-polling] liburing: io_uring_setup(2), IOPOLL and SQPOLL. https://man7.org/linux/man-pages/man2/io_uring_setup.2.html (accessed 2026-11-10) - [storage-apis-2022] Didona et al., Understanding Modern Storage APIs, SYSTOR 2022, sections 3.1-3.3 and 4. https://doi.org/10.1145/3534056.3534945 (accessed 2026-11-10) - [async-flags] liburing 2.10: io_uring_sqe_set_flags(3), IOSQE_ASYNC. https://github.com/axboe/liburing/blob/liburing-2.10/man/io_uring_sqe_set_flags.3 (accessed 2026-11-28) ### io-wq URL: https://hesela.dev/terms/io-wq/ Also known as: io_uring worker pool Status: shipping Record updated: 2026-11-28 io-wq is the Linux io_uring worker facility that executes requests offloaded to asynchronous helper threads. Note: Linux v6.14 queues offloaded work and tries to activate a free worker; creation of another worker is constrained by the pool's worker count. Not every io_uring request needs this path. [worker-source] [async-flags] The bounded and unbounded classes describe work execution, not unlimited thread counts or an application deadline. io_uring_register_iowq_max_workers takes two maxima, bounded first and unbounded second. Passing two zeros queries the existing limits; successful calls return the previous settings in that array. Idle workers can be retired, so a maximum is not a reservation. [worker-limits] In the v6.14 worker-limit helper, zero leaves that class unchanged; positive requests are capped by RLIMIT_NPROC. Query again with a fresh zero-filled array after changing limits. The set-call array contains old values, not the new limits or live worker counts. [worker-source] [worker-limits] The registration result describes the selected task's pool, not every submitting task. If that pool does not exist, v6.14 returns two zeros; this is not evidence that execution is disabled. [worker-register] SQE consumption permits reuse of the submission slot even when execution has been deferred. It does not mean the requested transfer has finished or that its data buffer can be reused. [async-enter] Advantages: - Worker offload accommodates operations that cannot finish through the initial nonblocking issue path. (sources: [async-flags]) Limitations: - Pool sizing alone establishes neither write dependencies nor persistence. (sources: [async-enter]) Sources and caveats: - Pinned API review: liburing 2.10; implementation review: Linux v6.14 io_wq_enqueue, io_wq_create_worker and io_wq_max_workers. - No kernel workload, latency benchmark or power-loss experiment was run. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [iosqe-async](https://hesela.dev/terms/iosqe-async/) Citations: - [async-flags] liburing 2.10: io_uring_sqe_set_flags(3), IOSQE_ASYNC. https://github.com/axboe/liburing/blob/liburing-2.10/man/io_uring_sqe_set_flags.3 (accessed 2026-11-28) - [worker-limits] liburing 2.10: io_uring_register_iowq_max_workers(3). https://github.com/axboe/liburing/blob/liburing-2.10/man/io_uring_register_iowq_max_workers.3 (accessed 2026-11-28) - [worker-source] Linux v6.14: io-wq.c, enqueue, worker creation and io_wq_max_workers. https://github.com/torvalds/linux/blob/v6.14/io_uring/io-wq.c (accessed 2026-11-28) - [async-enter] liburing 2.10: io_uring_enter(2), submission consumption and IORING_OP_FSYNC. https://github.com/axboe/liburing/blob/liburing-2.10/man/io_uring_enter.2 (accessed 2026-11-28) - [hesela-workers] io_uring: helper-thread execution, limits and completion boundaries. https://hesela.com/analyses/io-uring-completion-ordering-durability/#worker-execution (accessed 2026-11-28) - [worker-register] Linux v6.14: io_register_iowq_max_workers, existing-pool and no-pool return paths. https://github.com/torvalds/linux/blob/v6.14/io_uring/register.c (accessed 2026-11-28) ### IOCost URL: https://hesela.dev/terms/iocost/ Also known as: I/O cost model based controller Status: shipping Record updated: 2026-11-16 IOCost is a Linux block-I/O controller that distributes service among cgroups using modeled device occupancy and proportional weights. Note: Accounting: modeled cost represents occupancy, not the completion latency of an individual request. The linear model distinguishes read/write, sequential/random access and request size. Equal bytes or IOPS need not consume equal modeled service. [paper] Sharing: hierarchical weights influence budgets; unused budget can be donated to active groups. Device feedback adjusts the overall issuance rate. This combines proportional allocation with work conservation, rather than assigning every group a fixed IOPS allowance. [paper] Configuration: Linux 6.12 exposes device-keyed io.cost.model and io.cost.qos only in the root cgroup; io.weight belongs to non-root groups. Latency percentiles and thresholds in io.cost.qos govern device-level feedback, not separate application deadlines. [linux-doc] Limitations: - Model calibration and feedback affect achieved sharing; weights alone do not guarantee a fixed throughput ratio. (sources: [paper], [linux-code]) - IOCost availability requires kernel support and device enablement; selecting an elevator does not itself enable this controller. (sources: [linux-doc], [linux-code]) Sources and caveats: - Source synthesis from the ASPLOS 2022 paper and Linux v6.12; no hardware benchmark or controller experiment was performed. Related terms: - [cgroup-v2-io-controller](https://hesela.dev/terms/cgroup-v2-io-controller/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) Citations: - [paper] Heo et al. IOCost: Block IO Control for Containers in Datacenters. ASPLOS 2022, sections 3.1-3.6; DOI 10.1145/3503222.3507727. https://www.cs.cmu.edu/~dskarlat/publications/iocost_asplos22.pdf (accessed 2026-11-16) - [linux-doc] Linux 6.12: cgroup v2 I/O interface files. https://docs.kernel.org/6.12/admin-guide/cgroup-v2.html#io-interface-files (accessed 2026-11-16) - [linux-code] Linux v6.12: blk-iocost.c, cost model, feedback and cgroup interfaces. https://github.com/torvalds/linux/blob/v6.12/block/blk-iocost.c (accessed 2026-11-16) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-11-16) ### IOFlow URL: https://hesela.dev/terms/ioflow/ Status: research Record updated: 2026-11-19 IOFlow is a research architecture that exposes storage-stage queues to a logically centralized controller for end-to-end I/O policies. Note: The controller maps high-level flows onto stage queues with service and routing controls. Storage tokens represent operation cost, not simply request-header bytes. [ioflow-paper] Its Windows prototype inserts drivers around SMB stages without requiring application or VM changes. Requests already inside an uncontrolled device remain outside its priority decisions; limiting outstanding work retains more scheduling choice upstream. [ioflow-paper] For evaluation, name the enforcement stage, operation-cost model and outstanding-request boundary. A configured rate alone does not establish application tail latency. Advantages: - A controller can coordinate policies across several storage stages. (sources: [ioflow-paper]) Limitations: - Priority enforcement depends on where contention occurs and which stages expose control. (sources: [ioflow-paper]) Sources and caveats: - Primary-paper architecture review; no prototype execution or contemporary performance measurement. Related terms: - [sroute](https://hesela.dev/terms/sroute/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [mclock](https://hesela.dev/terms/mclock/) - [queue-depth](https://hesela.dev/terms/queue-depth/) Citations: - [ioflow-paper] Thereska et al. IOFlow: A Software-Defined Storage Architecture. SOSP 2013, sections 3.1, 4.1 and 5; DOI 10.1145/2517349.2522723. https://www.microsoft.com/en-us/research/wp-content/uploads/2013/11/ioflow-sosp13.pdf (accessed 2026-11-19) ### IOMMU group URL: https://hesela.dev/terms/iommu-group/ Related article: https://hesela.com/tech/enterprise-ssd/ Also known as: I/O memory management unit group Status: shipping Record updated: 2026-11-02 An IOMMU group is the set of devices Linux treats as the minimum DMA-isolation ownership unit for safe userspace device access. Note: Separate PCIe function addresses need not provide independent isolation. Transactions within an enclosure or across a bridge without suitable Access Control Services may avoid the IOMMU. VFIO therefore bases ownership on the group, not just the requested function [vfio]. Linux v6.12's VFIO device-cdev interface retains this constraint. Opening /dev/vfio/devices/vfioX is not sufficient for device access: VFIO_DEVICE_BIND_IOMMUFD must succeed. Devices in one group cannot have different iommufd-context owners, or mix that ownership with a native kernel driver [vfio]. An I/O address space (IOAS) is different from a group. IOMMUFD manages mappings from I/O virtual addresses to userspace-backed memory and can represent the associated hardware page tables. Binding establishes ownership; attaching the device to an IOAS or hardware page table is a further operation in the DMA setup [iommufd]. Device DMA addresses must be distinguished from CPU virtual and CPU physical addresses. IOMMUs and host bridges may translate between them, so an application's contiguous buffer is not evidence of contiguous device-visible addresses [dma]. Memory-access isolation does not establish SSD service-time isolation. In MQSim's FAST 2018 paper, section 3.1 measures interference between two separate-queue read flows on four SSDs released in 2016-2017. Section 6.1 instead uses simulation to isolate write-cache, mapping-cache and back-end contention. Neither experiment measures an IOMMU group's security boundary [mqsim]. Limitations: - A group describes the platform's DMA ownership boundary, not an SSD latency or throughput guarantee. (sources: [vfio], [mqsim]) Sources and caveats: - Source review of pinned Linux v6.12 documentation and the original FAST 2018 paper; not a claim about the newest API revision or a Hesela hardware experiment. Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [nvme-submission-queue](https://hesela.dev/terms/nvme-submission-queue/) - [nvme-prp](https://hesela.dev/terms/nvme-prp/) - [storage-virtualization](https://hesela.dev/terms/storage-virtualization/) Citations: - [vfio] Linux v6.12 VFIO: Groups, Devices, and IOMMUs; VFIO Device cdev. https://docs.kernel.org/6.12/driver-api/vfio.html (accessed 2026-11-02) - [iommufd] Linux v6.12 IOMMUFD: User Visible Objects and Kernel API. https://docs.kernel.org/6.12/userspace-api/iommufd.html (accessed 2026-11-02) - [dma] Linux v6.12 Dynamic DMA mapping guide: CPU and DMA addresses. https://docs.kernel.org/6.12/core-api/dma-api-howto.html (accessed 2026-11-02) - [mqsim] Tavakkol, Gomez-Luna, Sadrosadati, Ghose and Mutlu: MQSim, FAST 2018, sections 3.1 and 6.1. https://www.usenix.org/system/files/conference/fast18/fast18-tavakkol.pdf (accessed 2026-11-02) ### IOPS URL: https://hesela.dev/terms/iops/ Also known as: Input/output operations per second Status: shipping Record updated: 2026-11-12 Observed IOPS is the number of completed input/output operations divided by the measurement duration at a specified system boundary. Note: State the counted operation types, elapsed interval, request sizes and treatment of errors; an offered request rate is not a completion rate. Linux block statistics separately count completed requests and merged requests, so application and device counts need not agree [linux-iostats]. For the same successful data-transfer operations and interval, bytes/s equals IOPS multiplied by the operation-weighted mean completed size; this is accounting, not a prediction of device capacity [hesela-accounting]. Directional fio runtime denominators and interval-sampled iops_mean are distinct reporting quantities; establish a common observation window before combining rates [fio-stat]. Limitations: - An IOPS figure without its workload, measurement boundary and latency distribution does not establish performance for another workload. (sources: [fio], [hesela-accounting]) Related terms: - [queue-depth](https://hesela.dev/terms/queue-depth/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [throughput-storage](https://hesela.dev/terms/throughput-storage/) - [io-request-size](https://hesela.dev/terms/io-request-size/) - [little-law](https://hesela.dev/terms/little-law/) - [sequential-io](https://hesela.dev/terms/sequential-io/) - [random-io](https://hesela.dev/terms/random-io/) - [microbenchmark](https://hesela.dev/terms/microbenchmark/) - [token-bucket](https://hesela.dev/terms/token-bucket/) - [leaky-bucket-meter](https://hesela.dev/terms/leaky-bucket-meter/) Citations: - [c1] IOPS. https://en.wikipedia.org/wiki/IOPS (accessed 2026-03-26) - [fio] fio documentation: blocksize, bssplit, I/O depth and interpreting the output; online manual reviewed 13 October 2026. https://fio.readthedocs.io/en/master/fio_doc.html (accessed 2026-10-13) - [linux-iostats] Linux kernel documentation: I/O statistics fields; completed requests, merged requests and sectors. https://docs.kernel.org/admin-guide/iostats.html (accessed 2026-10-13) - [hesela-accounting] Hesela: IOPS, bytes and average occupancy; synthetic accounting examples. https://hesela.com/analyses/storage-latency-coordinated-omission/#io-accounting (accessed 2026-10-13) - [fio-stat] fio 3.41 source: stat.c, add_ddir_lat_json and add_ddir_status_json; latency sample counts and directional runtime denominators. https://github.com/axboe/fio/blob/fio-3.41/stat.c#L1410-L1600 (accessed 2026-10-13) - [hesela-populations] Hesela: fio summaries, latency sample populations and runtime denominators; synthetic examples. https://hesela.com/analyses/storage-latency-coordinated-omission/#fio-populations (accessed 2026-10-13) ### IOSQE_ASYNC URL: https://hesela.dev/terms/iosqe-async/ Also known as: io_uring forced asynchronous execution Status: shipping Record updated: 2026-11-28 IOSQE_ASYNC is an io_uring submission-entry flag that requests helper-thread execution without the initial nonblocking issue attempt. Note: The flag selects offload from the outset for work expected to block. Without it, io_uring normally first attempts nonblocking issue. Forcing offload can add overhead, so it is not a general performance switch. Selecting offload does not promise an immediate start. [async-flags] This flag changes execution context, not dependency scope. It neither links a write to a following fsync nor validates a returned byte count. A durable acknowledgment still needs complete write results and correctly ordered synchronization. [async-enter] Limitations: - Applications need workload-specific evidence before enabling forced offload broadly. (sources: [async-flags]) Sources and caveats: - Reviewed against the liburing 2.10 SQE-flags and enter manuals; this is source synthesis, not a benchmark. Related terms: - [io-uring](https://hesela.dev/terms/io-uring/) - [io-wq](https://hesela.dev/terms/io-wq/) Citations: - [async-flags] liburing 2.10: io_uring_sqe_set_flags(3), IOSQE_ASYNC. https://github.com/axboe/liburing/blob/liburing-2.10/man/io_uring_sqe_set_flags.3 (accessed 2026-11-28) - [async-enter] liburing 2.10: io_uring_enter(2), submission consumption and IORING_OP_FSYNC. https://github.com/axboe/liburing/blob/liburing-2.10/man/io_uring_enter.2 (accessed 2026-11-28) - [hesela-workers] io_uring: helper-thread execution, limits and completion boundaries. https://hesela.com/analyses/io-uring-completion-ordering-durability/#worker-execution (accessed 2026-11-28) ### iSCSI autosense URL: https://hesela.dev/terms/iscsi-autosense/ Related article: https://hesela.com/tech/scsi/ Also known as: Autosense (iSCSI) Status: shipping Record updated: 2026-10-26 iSCSI autosense delivers sense data within a CHECK CONDITION command response. Note: Delivery: RFC 7143 requires targets to enable autosense, avoiding a separate REQUEST SENSE exchange for that response's detail. [rfc7143] Parsing: First inspect the iSCSI Response field. A nonzero value makes the SCSI Status field undefined; receivers must ignore it. BUSY and TASK SET FULL are not CHECK CONDITION. [rfc7143] Sources and caveats: - The mandatory delivery rule is specific to iSCSI; this entry does not prescribe recovery for every SCSI transport. Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [scsi](https://hesela.dev/terms/scsi/) - [scsi-check-condition](https://hesela.dev/terms/scsi-check-condition/) - [scsi-sense-key](https://hesela.dev/terms/scsi-sense-key/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [scsi-sense-data](https://hesela.dev/terms/scsi-sense-data/) Citations: - [rfc7143] RFC 7143 sections 10.2, 11.4.2, 11.4.3 and 11.4.7: autosense, status and response. https://www.rfc-editor.org/rfc/rfc7143.html#section-11.4.7 (accessed 2026-10-20) ### CHAP authentication (iSCSI) URL: https://hesela.dev/terms/iscsi-chap/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: iSCSI CHAP, iSCSI mutual CHAP Status: shipping Record updated: 2026-10-20 iSCSI CHAP is a shared-secret challenge-response authentication method used during iSCSI login. Note: The response is computed from a challenge, an identifier and a shared secret; the secret itself is not transmitted in the exchange. This verifies knowledge of a secret, not the trustworthiness of a device. [chap] Captured unencrypted exchanges can still enable offline password guessing. [security] Authenticating the initiator does not automatically authenticate the target. Mutual authentication adds the reverse check, and iSCSI requires different secrets for the two directions. [iscsi] [security] Authentication alone does not protect subsequent storage traffic against observation or modification. Packet protection is a separate requirement. An IPsec association can use NULL encryption, so IPsec presence alone does not establish confidentiality. [security] [ipsec] Sources and caveats: - Specification review, not an authentication or encryption deployment test. Historical algorithm requirements are not a current cipher-selection guide. Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [iscsi-node-name](https://hesela.dev/terms/iscsi-node-name/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) - [iscsi-digest](https://hesela.dev/terms/iscsi-digest/) Citations: - [chap] RFC 1994: challenge-response mechanism, sections 2 and 4.1. https://www.rfc-editor.org/rfc/rfc1994.html (accessed 2026-10-20) - [iscsi] RFC 7143: CHAP login exchange, section 12.1.3. https://www.rfc-editor.org/rfc/rfc7143.html#section-12.1.3 (accessed 2026-10-20) - [security] RFC 3723: iSCSI authentication and threats, sections 2.4 and 3.1. https://www.rfc-editor.org/rfc/rfc3723.html (accessed 2026-10-20) - [ipsec] RFC 7146: confidentiality transforms and NULL encryption, section 2.2. https://www.rfc-editor.org/rfc/rfc7146.html#section-2.2 (accessed 2026-10-20) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-20) ### iSCSI Command Sequence Number URL: https://hesela.dev/terms/iscsi-cmdsn/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: CmdSN Status: shipping Record updated: 2026-10-17 An iSCSI Command Sequence Number (CmdSN) identifies a command's position in the session-wide delivery sequence. Note: It is a 32-bit serial number; immediate commands carry the current value without advancing it. ExpCmdSN and MaxCmdSN delimit the command window. Delivery ordering is not a durability guarantee. [rfc] The paired analysis includes an illustrative cross-connection trace, not measured traffic. [analysis] Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) - [iscsi-statsn](https://hesela.dev/terms/iscsi-statsn/) Citations: - [rfc] RFC 7143: iSCSI numbering, section 4.2.2.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.2.1 (accessed 2026-10-17) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-17) ### iSCSI Connection URL: https://hesela.dev/terms/iscsi-connection/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Status: shipping Record updated: 2026-10-17 An iSCSI connection is a TCP connection carrying iSCSI protocol messages between an initiator and a target within an iSCSI session. Note: Each TCP connection must complete its own iSCSI login before entering the Full Feature Phase; the login associates it with a session and negotiates the applicable parameters. [login] Its connection ID (CID) is unique within that session, not a globally unique target identifier or a replacement for the session identity. [cid] Command connection allegiance normally keeps a command's associated data, responses and status on the connection carrying the request; recovery can explicitly reassign allegiance under the protocol's recovery rules. This is not arbitrary striping of a single command across the session's connections. [allegiance] A broken TCP connection does not by itself prove that every command can continue elsewhere: the negotiated ErrorRecoveryLevel and implemented recovery capabilities matter. [recovery] The paired analysis explains the difference between reconnecting transport and recovering outstanding work. [analysis] Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [iscsi-network-portal](https://hesela.dev/terms/iscsi-network-portal/) - [iscsi-portal-group](https://hesela.dev/terms/iscsi-portal-group/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) - [iscsi-error-recovery-level](https://hesela.dev/terms/iscsi-error-recovery-level/) - [iscsi-statsn](https://hesela.dev/terms/iscsi-statsn/) Citations: - [login] RFC 7143: iSCSI Login; section 4.2.4. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.4 (accessed 2026-10-17) - [cid] RFC 7143: Connection ID (CID); section 11.12.7. https://www.rfc-editor.org/rfc/rfc7143.html#section-11.12.7 (accessed 2026-10-17) - [allegiance] RFC 7143: Command Connection Allegiance; section 4.2.5.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.5.1 (accessed 2026-10-17) - [recovery] RFC 7143: Error Recovery Hierarchy; section 7.1.5. https://www.rfc-editor.org/rfc/rfc7143.html#section-7.1.5 (accessed 2026-10-17) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-17) ### iSCSI digest URL: https://hesela.dev/terms/iscsi-digest/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: iSCSI HeaderDigest, iSCSI DataDigest Status: shipping Record updated: 2026-10-21 An iSCSI digest is a negotiated check on a protocol data unit's header or data segment, conventionally using CRC32C for error detection. Note: HeaderDigest covers the basic and additional headers; DataDigest covers the data segment. Both include applicable padding, but an empty data segment has no data digest. The two keys are negotiated per connection and default to None. Negotiated digests apply in Full Feature Phase, not to Login Phase PDUs. CRC32C support does not establish that a digest was selected. [rfc] A preference list such as CRC32C,None still allows no digest. A CRC32C-only offer has a different policy meaning. Check the negotiated connection settings rather than treating an offered list as an active setting. [config] A CRC32C digest is not a message-authentication code or encryption. Application-layer error checks and packet security can have different protection endpoints. [security] Checking transport bytes therefore does not prove that a drive persisted a write. For iSER: RDMAExtensions=Yes requires both digest keys to be None because the RDMA-capable protocol supplies error detection. Inspect the negotiated transport before interpreting None as an absence of integrity protection. [iser] Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [iscsi-connection](https://hesela.dev/terms/iscsi-connection/) - [crc32c](https://hesela.dev/terms/crc32c/) - [iscsi-chap](https://hesela.dev/terms/iscsi-chap/) - [nvme-tcp-digest](https://hesela.dev/terms/nvme-tcp-digest/) - [iser](https://hesela.dev/terms/iser/) Citations: - [rfc] RFC 7143: digest coverage and negotiation, sections 11.2.3 and 13.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-11.2.3 (accessed 2026-10-20) - [config] Open-iSCSI configuration at a65ce4b: digest preference lists. https://github.com/open-iscsi/open-iscsi/blob/a65ce4b1858c175d0351c5760015a9ab70212c93/etc/iscsid.conf (accessed 2026-10-20) - [security] RFC 3723: Application Layer CRC, section 3.6. https://www.rfc-editor.org/rfc/rfc3723.html#section-3.6 (accessed 2026-10-20) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-20) - [iser] RFC 7145: iSER digest negotiation, section 6.1. https://www.rfc-editor.org/rfc/rfc7145.html#section-6.1 (accessed 2026-10-21) ### iSCSI Error Recovery Level URL: https://hesela.dev/terms/iscsi-error-recovery-level/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: iSCSI ERL, ErrorRecoveryLevel Status: shipping Record updated: 2026-10-17 The iSCSI Error Recovery Level is the session-wide negotiated value from 0 to 2 that selects the protocol recovery capabilities available to an initiator and target. Note: ErrorRecoveryLevel is negotiated during login, defaults to 0 and resolves to the lower offered value. Level 0 provides session recovery; level 1 adds digest-failure recovery within a command or connection; level 2 adds connection recovery and includes the lower levels. [key] [hierarchy] Implementations must support level 0, while levels 1 and 2 are optional. A supported higher level is not a guarantee that every error is recovered without disruption: implementations may escalate to recovery with a wider scope, and recovery depends on the relevant retained state and protocol rules. [hierarchy] [classes] Discovery sessions use level 0. [discovery] ERL is not a replica count, a durable-write guarantee, or a host multipathing policy; it describes recovery of the iSCSI association and its tasks. The paired analysis explains these boundaries. [analysis] Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) - [iscsi-connection](https://hesela.dev/terms/iscsi-connection/) - [initiator-target](https://hesela.dev/terms/initiator-target/) Citations: - [key] RFC 7143: ErrorRecoveryLevel; section 13.20. https://www.rfc-editor.org/rfc/rfc7143.html#section-13.20 (accessed 2026-10-17) - [hierarchy] RFC 7143: Error Recovery Hierarchy; section 7.1.5. https://www.rfc-editor.org/rfc/rfc7143.html#section-7.1.5 (accessed 2026-10-17) - [classes] RFC 7143: Recovery Classes; section 7.1.4. https://www.rfc-editor.org/rfc/rfc7143.html#section-7.1.4 (accessed 2026-10-17) - [discovery] RFC 7143: ErrorRecoveryLevel for Discovery Sessions; section 7.4.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-7.4.1 (accessed 2026-10-17) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-17) ### iSCSI Network Portal URL: https://hesela.dev/terms/iscsi-network-portal/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: iSCSI portal Status: shipping Record updated: 2026-10-17 An iSCSI network portal is a TCP/IP access point used by an iSCSI node, identified by an IP address at an initiator and by an IP address plus listening TCP port at a target. Note: The target-side address locates a place to open a TCP connection; it does not identify the target node by itself. Multiple iSCSI nodes can share network portals, and one node can be reachable through multiple portals, so an inventory should retain both the node name and the portal address. [architecture] As used by a particular node, a portal belongs to exactly one portal group within that node. This grouping determines which portals can coordinate connections belonging to a common session; merely discovering several target addresses does not establish that they can all join one session. [architecture] Login still supplies the required names and negotiates the association after TCP establishment. [login] The paired analysis provides the identity-to-address distinction in context. [analysis] Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [iscsi-node-name](https://hesela.dev/terms/iscsi-node-name/) - [iscsi-portal-group](https://hesela.dev/terms/iscsi-portal-group/) - [iscsi-connection](https://hesela.dev/terms/iscsi-connection/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) Citations: - [architecture] RFC 7143: iSCSI Architecture Model; section 4.4.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.4.1 (accessed 2026-10-17) - [login] RFC 7143: iSCSI Login; section 4.2.4. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.4 (accessed 2026-10-17) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-17) ### iSCSI Node Name URL: https://hesela.dev/terms/iscsi-node-name/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: iSCSI name Status: shipping Record updated: 2026-10-27 An iSCSI node name is the persistent, location-independent identifier of an iSCSI initiator or target, distinct from the IP addresses through which that node is reached. Note: The name identifies a logical node, not a network adapter, a TCP endpoint or a logical unit. A node can retain its name while its addresses or adapters change, and several nodes can share an address. RFC 7143 defines iqn., eui. and naa. naming formats; IQN is therefore one format, not a synonym for every iSCSI name. [names] [architecture] InitiatorName and TargetName carry node names during login, while a friendly alias does not replace a node name. A name identifies the claimed node but is not itself proof of authentication or authorization to access its logical units. [login] [security] The paired analysis explains how node names differ from portal addresses and session identifiers. [analysis] IQN construction: The yyyy-mm date qualifies the naming authority's domain ownership, not device creation. [iqn] The reversed domain identifies the naming authority; that authority allocates any optional suffix. [naming-examples] The domain need not resolve in DNS, and the colon-prefixed suffix is optional; the authority must ensure worldwide uniqueness. [iqn] Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [iscsi-network-portal](https://hesela.dev/terms/iscsi-network-portal/) - [iscsi-portal-group](https://hesela.dev/terms/iscsi-portal-group/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) Citations: - [names] RFC 7143: iSCSI Names; section 4.2.7. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.7 (accessed 2026-10-17) - [architecture] RFC 7143: iSCSI Architecture Model; section 4.4.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.4.1 (accessed 2026-10-17) - [login] RFC 7143: iSCSI Login; section 4.2.4. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.4 (accessed 2026-10-17) - [security] RFC 7143: In-Band Initiator-Target Authentication; section 9.2. https://www.rfc-editor.org/rfc/rfc7143.html#section-9.2 (accessed 2026-10-17) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-17) - [naming-examples] RFC 3721: constructing IQNs; section 1.1 (naming authority, domain date and suffix examples). https://www.rfc-editor.org/rfc/rfc3721.html#section-1.1 (accessed 2026-10-27) - [iqn] RFC 7143: IQN construction; section 4.2.7.4 (ownership date, DNS and optional suffix). https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.7.4 (accessed 2026-10-27) ### iSCSI Portal Group URL: https://hesela.dev/terms/iscsi-portal-group/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Status: shipping Record updated: 2026-10-17 An iSCSI portal group is a node-scoped set of network portals capable of coordinating the connections of a common iSCSI session. Note: A portal group is scoped to an iSCSI node, and each portal as used by that node belongs to exactly one group. Both initiators and targets have portal groups, but the protocol directly exposes target portal groups. Not every portal in a group must participate in every session. [architecture] The target's TargetPortalGroupTag (TPGT) identifies the group within that target node, not globally; it is a 16-bit value and zero is explicitly legal. A matching tag on different target names does not identify the same group. [tag] The target name plus TPGT identifies the SCSI target port in the mapping model. [mapping] Group membership does not override the negotiated connection limit or guarantee that a particular implementation supports multiple active connections. [connections] The paired analysis separates portal groups from independent host paths. [analysis] Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [iscsi-node-name](https://hesela.dev/terms/iscsi-node-name/) - [iscsi-network-portal](https://hesela.dev/terms/iscsi-network-portal/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) - [iscsi-connection](https://hesela.dev/terms/iscsi-connection/) Citations: - [architecture] RFC 7143: iSCSI Architecture Model; section 4.4.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.4.1 (accessed 2026-10-17) - [tag] RFC 7143: TargetPortalGroupTag; section 13.9. https://www.rfc-editor.org/rfc/rfc7143.html#section-13.9 (accessed 2026-10-17) - [mapping] RFC 7143: SCSI Architecture Model; section 4.4.2. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.4.2 (accessed 2026-10-17) - [connections] RFC 7143: MaxConnections; section 13.2. https://www.rfc-editor.org/rfc/rfc7143.html#section-13.2 (accessed 2026-10-17) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-17) ### iSCSI Session URL: https://hesela.dev/terms/iscsi-session/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Status: shipping Record updated: 2026-10-28 An iSCSI session is a protocol association between an initiator and a target that groups TCP connections and, for a normal session, represents a SCSI I_T nexus. Note: A session normally has one or more TCP connections, each with its own connection ID; connections can be added or removed without making the session and a connection the same object. The initiator name plus ISID identifies the SCSI initiator port, and the target name plus TPGT identifies the SCSI target port. [layers] [mapping] MaxConnections is a session-wide negotiated limit whose default is 1 and whose result is the lower offered value, so multiple-connection capability must not be assumed. [connections] A normal session can carry SCSI commands for logical units; a discovery session is restricted to target discovery and logout, has MaxConnections equal to 1 and uses ErrorRecoveryLevel 0. [type] A failed session can temporarily retain state without an active connection under the recovery rules. [continuation] The paired analysis distinguishes connections within one session from separate sessions. [analysis] Login identity: ISID is initiator-selected; TSIH is target-assigned. A new-session login sends TSIH=0; successful final login supplies a nonzero handle. [login-handle] Within the same InitiatorName, TargetName and target portal group, an existing ISID with TSIH=0 requests session reinstatement, terminating the old session's active tasks. With the same ISID and a matching nonzero TSIH, a new CID adds a connection; an existing CID reinstates it. These identifiers do not authenticate the initiator. [login-start] [reinstatement] [authentication] Below ErrorRecoveryLevel 2, connection reinstatement terminates the old connection's active tasks. At level 2 it enables later task reassignment; it does not itself establish that the work completed. [connection-reinstatement] Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [logical-unit-number](https://hesela.dev/terms/logical-unit-number/) - [iscsi-node-name](https://hesela.dev/terms/iscsi-node-name/) - [iscsi-portal-group](https://hesela.dev/terms/iscsi-portal-group/) - [iscsi-connection](https://hesela.dev/terms/iscsi-connection/) - [iscsi-error-recovery-level](https://hesela.dev/terms/iscsi-error-recovery-level/) - [iscsi-cmdsn](https://hesela.dev/terms/iscsi-cmdsn/) - [iscsi-statsn](https://hesela.dev/terms/iscsi-statsn/) Citations: - [layers] RFC 7143: Layers and Sessions; section 4.2.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.1 (accessed 2026-10-17) - [mapping] RFC 7143: SCSI Architecture Model; section 4.4.2. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.4.2 (accessed 2026-10-17) - [connections] RFC 7143: MaxConnections; section 13.2. https://www.rfc-editor.org/rfc/rfc7143.html#section-13.2 (accessed 2026-10-17) - [type] RFC 7143: SessionType; section 13.21. https://www.rfc-editor.org/rfc/rfc7143.html#section-13.21 (accessed 2026-10-17) - [continuation] RFC 7143: Session Continuation and Failure; section 6.3.6. https://www.rfc-editor.org/rfc/rfc7143.html#section-6.3.6 (accessed 2026-10-17) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-17) - [login-handle] RFC 7143: ISID and TSIH; sections 11.12.5-11.12.6 and 11.13.3. https://www.rfc-editor.org/rfc/rfc7143.html#section-11.13.3 (accessed 2026-10-27) - [login-start] RFC 7143: scoped login identity decision table; section 6.3.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-6.3.1 (accessed 2026-10-27) - [reinstatement] RFC 7143: session reinstatement terminates active tasks; section 6.3.5. https://www.rfc-editor.org/rfc/rfc7143.html#section-6.3.5 (accessed 2026-10-27) - [authentication] RFC 7143: in-band initiator-target authentication; section 9.2. https://www.rfc-editor.org/rfc/rfc7143.html#section-9.2 (accessed 2026-10-27) - [connection-reinstatement] RFC 7143: connection reinstatement and task reassignment; section 6.3.4. https://www.rfc-editor.org/rfc/rfc7143.html#section-6.3.4 (accessed 2026-10-28) ### iSCSI Status Sequence Number URL: https://hesela.dev/terms/iscsi-statsn/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: StatSN Status: shipping Record updated: 2026-10-17 An iSCSI Status Sequence Number (StatSN) numbers target responses within one connection for status acknowledgement and recovery. Note: The initiator acknowledges status through ExpStatSN. Separate connections have separate counters, so their numeric values are not a session-wide completion clock. [rfc] The paired analysis includes an illustrative cross-connection trace, not measured traffic. [analysis] Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [iscsi-connection](https://hesela.dev/terms/iscsi-connection/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) - [iscsi-cmdsn](https://hesela.dev/terms/iscsi-cmdsn/) Citations: - [rfc] RFC 7143: iSCSI numbering, section 4.2.2.2. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.2.2.2 (accessed 2026-10-17) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-17) ### iSCSI URL: https://hesela.dev/terms/iscsi/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Status: shipping Record updated: 2026-12-01 iSCSI is a storage transport protocol that carries SCSI commands, data and responses between initiators and targets over TCP/IP networks. Note: iSCSI transports SCSI commands over TCP between initiators and targets; it is a transport mapping, not a new recording medium or a replacement for the SCSI command model. Its SCSI response includes sense data when CHECK CONDITION is returned. [rfc7143] Identity: A node name is a persistent identity, whereas a network portal is an access address; portal groups coordinate connections belonging to a session. These are different scopes, not interchangeable names for a target or LUN. [architecture] Capabilities: The default session connection limit is 1, and error recovery level 0 is mandatory while higher levels are optional; multiple connections and transparent task recovery must not be inferred merely from iSCSI support. [connections] [recovery] The paired analysis follows these identity, session and recovery boundaries. [analysis] Buffer visibility: Interleaving copying with CRC calculation needs an explicit validation boundary; unchecked data placed directly into application or file-cache buffers can become visible before rejection. [fast05] Protection: CHAP login authentication, transport digests and packet confidentiality require separate evidence. [security] Related terms: - [san](https://hesela.dev/terms/san/) - [scsi](https://hesela.dev/terms/scsi/) - [block-storage](https://hesela.dev/terms/block-storage/) - [alua](https://hesela.dev/terms/alua/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [logical-unit-number](https://hesela.dev/terms/logical-unit-number/) - [iscsi-node-name](https://hesela.dev/terms/iscsi-node-name/) - [iscsi-network-portal](https://hesela.dev/terms/iscsi-network-portal/) - [iscsi-portal-group](https://hesela.dev/terms/iscsi-portal-group/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) - [iscsi-connection](https://hesela.dev/terms/iscsi-connection/) - [iscsi-error-recovery-level](https://hesela.dev/terms/iscsi-error-recovery-level/) - [iscsi-cmdsn](https://hesela.dev/terms/iscsi-cmdsn/) - [iscsi-statsn](https://hesela.dev/terms/iscsi-statsn/) - [iscsi-digest](https://hesela.dev/terms/iscsi-digest/) - [iscsi-chap](https://hesela.dev/terms/iscsi-chap/) - [iscsi-autosense](https://hesela.dev/terms/iscsi-autosense/) - [iser](https://hesela.dev/terms/iser/) - [dm-switch](https://hesela.dev/terms/dm-switch/) Citations: - [c1] iSCSI. https://en.wikipedia.org/wiki/ISCSI (accessed 2026-03-26) - [rfc7143] RFC 7143: SCSI concepts and iSCSI transport; sections 4.1, 4.2 and 11.4.7. https://www.rfc-editor.org/rfc/rfc7143.html (accessed 2026-10-13) - [architecture] RFC 7143: iSCSI Architecture Model; section 4.4.1. https://www.rfc-editor.org/rfc/rfc7143.html#section-4.4.1 (accessed 2026-10-17) - [connections] RFC 7143: MaxConnections; section 13.2. https://www.rfc-editor.org/rfc/rfc7143.html#section-13.2 (accessed 2026-10-17) - [recovery] RFC 7143: Error Recovery Hierarchy; section 7.1.5. https://www.rfc-editor.org/rfc/rfc7143.html#section-7.1.5 (accessed 2026-10-17) - [analysis] Hesela: iSCSI identity, sessions and recovery. https://hesela.com/analyses/iscsi-identity-sessions-recovery/ (accessed 2026-10-17) - [security] RFC 3723: iSCSI security issues and application-layer CRC, sections 3.1 and 3.6. https://www.rfc-editor.org/rfc/rfc3723.html (accessed 2026-10-20) - [fast05] Joglekar, Kounavis and Berry, FAST 2005: software iSCSI, section 3.3 (copy/CRC buffer visibility). https://www.usenix.org/legacy/event/fast05/tech/full_papers/joglekar/joglekar_html/ (accessed 2026-10-20) ### iSCSI Extensions for RDMA (iSER) URL: https://hesela.dev/terms/iser/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: iSER, iSCSI over RDMA Status: shipping Record updated: 2026-11-09 iSER extends iSCSI to use an RDMA-capable transport for direct placement of SCSI data into registered I/O buffers. Note: Negotiation: RDMAExtensions is session-wide, defaults to No and requires both peers to offer Yes on the leading connection. Discovery sessions cannot negotiate it. Subsequent connections inherit the session's mode. [negotiation] Transfer direction: The target uses RDMA Write for SCSI-read data and RDMA Read to fetch solicited SCSI-write data. Immediate write data travels with the command in Send, while non-immediate unsolicited data uses Data-Out in Send. [transfer] Protection: In iSER-assisted mode, RDMAExtensions=Yes requires HeaderDigest=None and DataDigest=None for every connection in the session and delegates error detection to the RDMA-capable protocol. This does not establish peer authentication, encryption or persistence of a SCSI write. Buffer-access lifetime is a separate concern. [digest] [lifetime] Sources and caveats: - Protocol explanation based on RFC 7145, not an interoperability, performance or durability experiment. Related terms: - [iscsi](https://hesela.dev/terms/iscsi/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [nvme-rdma](https://hesela.dev/terms/nvme-rdma/) - [rdma-steering-tag](https://hesela.dev/terms/rdma-steering-tag/) - [iscsi-session](https://hesela.dev/terms/iscsi-session/) - [iscsi-digest](https://hesela.dev/terms/iscsi-digest/) - [infiniband](https://hesela.dev/terms/infiniband/) Citations: - [negotiation] RFC 7145: iSER login and RDMAExtensions, sections 5.1 and 6.3. https://www.rfc-editor.org/rfc/rfc7145.html#section-6.3 (accessed 2026-10-21) - [transfer] RFC 7145: transfer model and SCSI write operations, sections 1.4 and 9.5.1. https://www.rfc-editor.org/rfc/rfc7145.html#section-9.5.1 (accessed 2026-10-21) - [digest] RFC 7145: HeaderDigest and DataDigest, section 6.1. https://www.rfc-editor.org/rfc/rfc7145.html#section-6.1 (accessed 2026-10-21) - [lifetime] RFC 7145: STag invalidation and security considerations, sections 8.3.2 and 11. https://www.rfc-editor.org/rfc/rfc7145.html#section-11 (accessed 2026-10-21) ### ISO-8859-1 (Latin-1) URL: https://hesela.dev/terms/iso-8859-1/ Also known as: Latin-1, Latin1, ISO/IEC 8859-1 Status: shipping Record updated: 2026-11-20 ISO-8859-1, also called Latin-1, is an eight-bit single-byte coded character set for Latin-alphabet text with a graphic repertoire distinct from Windows-1252. Note: Identity: ISO-8859-1 and windows-1252 are separate registered character sets. The Latin-1 graphic repertoire does not contain the euro sign. The published Unicode mapping also includes control characters; its complete byte-to-code-point mapping should not be confused with the scope of the original graphic-character standard. [iana] [latin-map] Byte contract: The Latin-1 mapping maps a byte's value directly to the corresponding Unicode code point, so 80 hexadecimal becomes U+0080 and E9 becomes U+00E9. Node Buffer.toString("latin1") follows this byte-preserving mapping. It does not validate that a control is acceptable in a filename. [latin-map] [node-buffer] Label resolution: WHATWG TextDecoder maps latin1 and iso-8859-1 to windows-1252; byte 80 then becomes U+20AC even with fatal: true. This API alias does not make the two registered encodings identical. Record the API, resolved encoding and error policy. [whatwg-labels] [whatwg-index] Recovery: Keeping every byte decodable does not recover the intended text. Retain the original bytes and their interpretation metadata when migrating a legacy inventory, and check destination-name collisions separately. [hesela-filenames] Limitations: - A successful decode does not identify the original encoding or establish destination filename validity. Sources and caveats: - Source-reviewed identity with exhaustive constructed one-byte codec observations: https://hesela.dev/research/legacy-single-byte/README.md. No filesystem experiment or encoding detector. Related terms: - [windows-1252](https://hesela.dev/terms/windows-1252/) - [character-encoding](https://hesela.dev/terms/character-encoding/) - [ascii](https://hesela.dev/terms/ascii/) - [utf-8](https://hesela.dev/terms/utf-8/) - [filename-collision](https://hesela.dev/terms/filename-collision/) Citations: - [iana] IANA character sets: distinct ISO-8859-1 and windows-1252 registrations. https://www.iana.org/assignments/character-sets (accessed 2026-11-20) - [latin-map] Unicode: ISO/IEC 8859-1:1998 mapping, table 2.0, including control characters. https://www.unicode.org/Public/MAPPINGS/ISO8859/8859-1.TXT (accessed 2026-11-20) - [whatwg-labels] WHATWG Encoding Standard: names and labels. https://encoding.spec.whatwg.org/#names-and-labels (accessed 2026-11-20) - [whatwg-index] WHATWG windows-1252 index, dated 2024-09-18. https://encoding.spec.whatwg.org/index-windows-1252.txt (accessed 2026-11-20) - [node-buffer] Node.js 24: Buffer character encodings and WHATWG compatibility warning. https://nodejs.org/docs/latest-v24.x/api/buffer.html#buffers-and-character-encodings (accessed 2026-11-20) - [hesela-filenames] Hesela: Latin-1 and Windows-1252 decoder contracts in filename recovery. https://hesela.com/analyses/filename-identity-backup-restores/#legacy-single-byte (accessed 2026-11-20) ### ISO 9660 URL: https://hesela.dev/terms/iso-9660/ Related article: https://hesela.com/tech/optical-archival/ Also known as: ISO9660, ECMA-119 Status: shipping Record updated: 2026-10-21 ISO 9660 defines volume and file structures for exchanging files on CD-ROM, separately from the disc's physical recording format. Note: Volume descriptors, directory records and path tables describe how files are named and located. The 1987 ECMA-119 edition is technically identical to ISO 9660:1988. Its Level 1 filename limits are eight characters plus a three-character extension, not a universal rule for every interchange level. [ecma119] Joliet adds a supplementary naming hierarchy; Rock Ridge adds filesystem information through System Use fields. A reader may ignore either extension. Record the namespace and reader settings used during recovery, because successful mounting alone does not establish that the intended names and metadata were recovered. [joliet-spec] [linux-isofs] [archive] A Hesela two-file image fixture selects ISO 9660, Rock Ridge and Joliet explicitly with pycdlib 1.14.0. Three different names locate the same subject bytes, while its Rock Ridge name is absent from the other two lookups. This is a same-library observation, not a physical-disc or operating-system compatibility test. [namespace-fixture] Sources and caveats: - The ISO baseline here is the 1987 ECMA-119 edition, not a claim that this is the latest edition. Related terms: - [joliet](https://hesela.dev/terms/joliet/) - [rock-ridge](https://hesela.dev/terms/rock-ridge/) - [universal-disk-format](https://hesela.dev/terms/universal-disk-format/) - [optical-archival](https://hesela.dev/terms/optical-archival/) Citations: - [ecma119] Ecma International: ECMA-119, 2nd edition (1987), scope and clauses 6-10. https://ecma-international.org/wp-content/uploads/ECMA-119_2nd_edition_december_1987.pdf (accessed 2026-10-21) - [joliet-spec] Ecma International: ECMA-119, 6th edition (2025), Annex C reproducing Joliet version 1 (1995). https://ecma-international.org/wp-content/uploads/ECMA-119_6th_edition_december_2025.pdf (accessed 2026-10-21) - [linux-isofs] Linux v6.18 ISO9660 filesystem documentation: extension, permission and session options. https://www.kernel.org/doc/html/v6.18/filesystems/isofs.html (accessed 2026-10-21) - [archive] Hesela: optical archival storage and preservation checks. https://hesela.com/tech/optical-archival/ (accessed 2026-10-21) - [namespace-fixture] Hesela: pinned ISO namespace fixture, method, results and limitations. https://hesela.dev/research/optical-namespace/README.md (accessed 2026-10-21) ### iWARP URL: https://hesela.dev/terms/iwarp/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Status: shipping Record updated: 2026-10-23 iWARP is an IETF RDMA protocol suite whose TCP mapping combines RDMAP, Direct Data Placement and MPA framing over TCP. Note: Scope: RFC 5040 defines the broader suite to permit TCP, SCTP or other transport mappings; this record explains its TCP mapping. RDMAP supplies RDMA operations above Direct Data Placement (DDP). [rdmap] Framing: MPA adapts TCP's reliable, ordered byte stream to the record boundaries DDP needs. A TCP connection alone does not implement this RDMA stack. [mpa] Storage binding: iWARP is one provider for NVMe/RDMA, not another spelling of NVMe/TCP. Delivery into a remote buffer is not by itself a storage-persistence guarantee. [rdma] [rdmap] Sources and caveats: - IETF protocol-suite definition and TCP mapping distinguished explicitly; no measured performance or deployment compatibility claim. Related terms: - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [nvme-rdma](https://hesela.dev/terms/nvme-rdma/) - [roce-v2](https://hesela.dev/terms/roce-v2/) - [rdma-steering-tag](https://hesela.dev/terms/rdma-steering-tag/) Citations: - [rdmap] RFC 5040: RDMAP, sections 1.3 and 2.1. https://www.rfc-editor.org/rfc/rfc5040 (accessed 2026-10-23) - [mpa] RFC 5044: Marker PDU Aligned Framing for TCP, abstract and section 3. https://www.rfc-editor.org/rfc/rfc5044 (accessed 2026-10-23) - [rdma] NVM Express NVMe over RDMA Transport 1.3, section 2. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVMe-over-RDMA-Transport-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-10-23) ### Jaccard similarity URL: https://hesela.dev/terms/jaccard-similarity/ Related analysis: https://hesela.com/analyses/deduplication-restore-fragmentation/ Also known as: Jaccard index, set resemblance Status: shipping Record updated: 2026-11-20 Jaccard similarity is the size of the intersection of two sets divided by the size of their union when that union is nonempty. Note: The measure is symmetric and lies between zero and one. Directional containment divides the intersection by the size of one specified input instead. A small set fully contained in a larger one can therefore have low Jaccard similarity but complete containment in that direction. [resemblance] The item definition determines what is compared. Sets of chunk identities discard occurrence counts and recipe order; choosing shingles or occurrence-labelled tokens changes the sets. Two empty sets give 0/0, so software must declare its convention rather than infer a value from the formula. [resemblance] For A={a,b} and B={a,c}, Jaccard similarity is 1/3. With one occurrence of each chunk and equal sizes, half of B's bytes already occur in A. If a is nine times the size of b and c, that byte share is 9/10 without changing Jaccard similarity. Metadata, compression and replication costs remain separate. [examples] Scalar similarities cannot in general be merged. Against {a,b}, the shards {a} and {b} each score 1/2 but their union scores 1. Repeating shard {a} gives the same two input scores but a union score of 1/2. Retain compatible sketch state or the underlying identities, not only scores. [examples] Sources and caveats: - Synthetic arithmetic concerns explicitly named identities and logical payload bytes, not observed capacity savings. [examples] Related terms: - [minhash](https://hesela.dev/terms/minhash/) - [deduplication](https://hesela.dev/terms/deduplication/) - [deduplication-ratio](https://hesela.dev/terms/deduplication-ratio/) - [theta-sketch](https://hesela.dev/terms/theta-sketch/) Citations: - [resemblance] Broder. On the resemblance and containment of documents. SEQUENCES 1997, section 2. https://skeptric.com/resources/broder97resemblance.pdf (accessed 2026-11-20) - [examples] Hesela. MinHash and deduplication denominators: exact finite-set illustration and tests. https://hesela.dev/research/minhash/README.md (accessed 2026-11-20) ### Jackknife URL: https://hesela.dev/terms/jackknife/ Also known as: Delete-one jackknife, Jackknife resampling Status: shipping Record updated: 2026-11-19 The jackknife estimates statistical bias or uncertainty by recalculating an estimator after systematically deleting observations or groups. Note: In the ordinary delete-one form, remove each of n observations in turn and recompute the same statistic. With leave-one-out estimates theta_(i) and their average theta_bar, the variance estimate is (n - 1)/n times sum((theta_(i) - theta_bar)^2); its square root is the standard error. The basic independent, identically distributed setup does not establish validity for every estimator. [efron-stein-1981] Deleting a whole cluster is different from deleting one row. Daily records from the same drive are not automatically independent units; the deletion scheme must match the sampling design and dependence. Cluster deletion does not itself remove dependence between clusters. [stata-jackknife] For a completely observed fixed-horizon binary endpoint sample, every delete-one event fraction is zero when no event is observed. Its jackknife standard error is therefore zero. This is an algebraic property of the observed sample, not proof of zero population risk. With 100 independent trials sharing one event probability, zero events instead give a one-sided 95% exact binomial upper bound of about 2.9513%. This invented endpoint example is not AFR from unequal drive-time exposure. [nist-exact-binomial] [hesela-jackknife] Limitations: - The ordinary delete-one jackknife can fail for nonsmooth statistics such as the sample median; computing a spread does not guarantee a calibrated confidence interval. (sources: [efron-1979]) Related terms: - [bootstrap](https://hesela.dev/terms/bootstrap/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [binomial-proportion](https://hesela.dev/terms/binomial-proportion/) - [cluster-bootstrap](https://hesela.dev/terms/cluster-bootstrap/) Citations: - [efron-stein-1981] Efron and Stein (1981): The Jackknife Estimate of Variance, equations 1.1-1.3. https://pdodds.w3.uvm.edu/files/papers/others/1981/efron1981a.pdf (accessed 2026-11-19) - [stata-jackknife] Stata: jackknife, observation and cluster deletion, Methods and formulas. https://www.stata.com/manuals/rjackknife.pdf (accessed 2026-11-19) - [efron-1979] Efron (1979): Bootstrap Methods: Another Look at the Jackknife, section 3. https://blogs.helsinki.fi/bk-club/files/2012/05/Efron_Bootstrap_AS1979.pdf (accessed 2026-11-19) - [nist-exact-binomial] NIST Dataplot: exact binomial confidence limits, one-sided and two-sided bounds. https://itl.nist.gov/div898/software/dataplot/refman2/auxillar/exacbici.htm (accessed 2026-11-19) - [hesela-jackknife] Hesela: jackknife spread and zero-event bounds, synthetic reproducible example. https://hesela.com/analyses/afr-rate-not-probability/#jackknife (accessed 2026-11-19) ### Jain's fairness index URL: https://hesela.dev/terms/jains-fairness-index/ Also known as: Jain index, Jain fairness index Status: research Record updated: 2026-11-19 Jain's fairness index measures equality among nonnegative allocations using their squared sum divided by their count times their sum of squares. Note: For n allocations, J = (sum x_i)^2 / (n sum x_i^2). At least one x_i must be positive: all-zero allocations make the ratio undefined. The range is 1/n to 1, with 1 for equal positive allocations. This measures equality of the chosen quantity, not whether service is adequate. [jain-1984] Normalization: define the population, interval and units first. If the objective is proportional allocation, compare service divided by positive entitlement weights, rather than raw IOPS. Choosing that target is separate from calculating the index. [jain-1994] Window example: two clients receive (100, 0) completed requests in one second and (0, 100) in the next. Each window gives J = 0.5, but their two-second totals give J = 1. Both clients are assumed continuously backlogged; aggregate equality hides a one-second window without completions for each. An unfinished request may still be executing. This is constructed arithmetic, not a device measurement. [hesela] Limitations: - Storage reservations, limits and latency objectives need separate checks; a fairness score alone does not verify them. (sources: [mclock]) Sources and caveats: - The 1984 report defines the metric; the 1994 presentation supplies explicit allocation normalization. The storage interpretation also uses mClock section 2. - The two-window example is independently calculated from invented completion counts; it is not a scheduler implementation or empirical result. Related terms: - [slowdown-fairness](https://hesela.dev/terms/slowdown-fairness/) - [d2fq](https://hesela.dev/terms/d2fq/) - [mclock](https://hesela.dev/terms/mclock/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) Citations: - [jain-1984] Jain, Chiu and Hawe. A Quantitative Measure of Fairness and Discrimination. DEC-TR-301, 1984, sections 5-6. https://www.cs.wustl.edu/~jain/papers/ftp/fairness.pdf (accessed 2026-11-19) - [jain-1994] Raj Jain. Fairness: How to Measure Quantitatively. ATM Forum 94-0881, Proposal and Summary slides. https://www.cse.wustl.edu/~jain/atmf/ftp/af_fairn.pdf (accessed 2026-11-19) - [mclock] Gulati, Merchant and Varman. mClock: Handling Throughput Variability for Hypervisor IO Scheduling. OSDI 2010, section 2. https://www.usenix.org/events/osdi10/tech/full_papers/Gulati.pdf (accessed 2026-11-19) - [hesela] Hesela: A whole-run fairness score can hide completion gaps. https://hesela.com/analyses/ssd-fairness-shared-queues/#jain-windows (accessed 2026-11-19) ### JBOD URL: https://hesela.dev/terms/jbod/ Also known as: Just a Bunch Of Disks Status: shipping Record updated: 2026-10-22 JBOD (just a bunch of disks) is a set of drives used without coordinated control, or more often today an enclosure of disks with or without RAID functions. Note: The term originally meant disks without coordinated control software and now most often means a cabinet of disks whether or not RAID functions are present [c2], so a datasheet has to say which sense applies. For software-managed redundancy, one open-source storage stack advises a host bus adapter rather than a RAID controller, since hardware RAID can limit self-healing on checksum failures, hide sector sizes, require the same controller model for recovery, add a cache failure point and rename arrays. It also warns against single-drive RAID 0 arrays, SATA disks in SAS expanders without an interposer, and SATA port multipliers on SAS controllers. [c3] SCSI Enclosure Services (SES-3, INCITS 518-2018) lets a host manage power supplies, cooling, indicators and drives. Each slot has a 4-byte status element, a host can light an identify LED before a drive is pulled, and slots are numbered 0 to 254, with 255 meaning none. SAS-2 and SAS-3 expanders usually contain an SES device. A SATA disk behind an expander gets an arbitrary SAS address that may change with the slot, and NVMe-MI mirrors SES commands for NVMe enclosures. [c4] Sources and caveats: - c2 is the SNIA dictionary entry, consulted on the SNIA Japan mirror. - c3 is OpenZFS hardware guidance, from a software stack with its own interest in raw drive access. - c4 is sg3_utils documentation by its author describing the T10 SES standards, not the standard text. - No cited source gives capacity, throughput or price for an enclosure; behaviour depends on expander and firmware. Related terms: - [sas-expander](https://hesela.dev/terms/sas-expander/) - [hba](https://hesela.dev/terms/hba/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [lvm](https://hesela.dev/terms/lvm/) - [disk-shelf](https://hesela.dev/terms/disk-shelf/) - [sas](https://hesela.dev/terms/sas/) - [nvme-backplane](https://hesela.dev/terms/nvme-backplane/) Citations: - [c1] JBOD. https://en.wikipedia.org/wiki/Non-RAID_drive_architectures (accessed 2026-03-26) - [c2] JBOD, SNIA Dictionary. https://snia-j.org/dictionary/907/ (accessed 2026-10-16) - [c3] Hardware, OpenZFS documentation: Performance and Tuning. https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Hardware.html (accessed 2026-10-16) - [c4] The sg_ses utility. https://doug-gilbert.github.io/sg_ses.html (accessed 2026-10-16) ### JEDEC SSD standards URL: https://hesela.dev/terms/jedec-solid-state/ Also known as: JESD218, JESD219 Status: shipping Record updated: 2026-10-22 JESD218 and JESD219 are the JEDEC SSD standards that define the TBW endurance rating, client and enterprise classes, endurance workloads and how ratings are verified. Note: JESD218 covers SSD definitions, capacity, application classes, endurance rating and verification for NAND SSDs, and JESD219 defines client and enterprise workloads. [c2][c5] TBW is the most terabytes a host may write with the class workload while the SSD keeps its capacity, UBER, functional failure requirement (FFR) and power-off retention. The client class means 40 °C active use 8 hours a day, 1 year retention at 30 °C, FFR ≤ 3% and UBER ≤ 1e-15, and the enterprise class 55 °C 24 hours a day, 3 months at 40 °C, FFR ≤ 3% and UBER ≤ 1e-16. [c2][c3] Retention applies only to power-off data and only until the rated endurance is used up. [c4] The direct verification method stresses drives to full TBW, and extrapolation is allowed when that would exceed 1,000 hours. Both count only endurance failures, include high- and low-temperature lots and need samples for 60% statistical confidence. With constant WAF and the most cycled block at twice the average, TBW < (C x NAND cycles) / (2 x WAF), so 1 TB, 3,000 cycles and WAF 4 give under 375 TB. [c2] The enterprise workload covers 100% of user capacity with random data. Payloads are 67% 4 KiB, 10% 8 KiB, 7% 16 KiB, 3% each 32 KiB and 64 KiB, and 10% under 4 KiB. Half of all accesses go to the first 5% of LBA space, 30% to the next 15% and 20% to the rest. [c2] Limitations: - Several extrapolation methods need internal NAND or controller data, so third parties cannot fully reproduce a verification. (sources: [c2]) - A TBW rating is not a prediction of drive failure. (sources: [c4]) Sources and caveats: - The text of JESD218 and JESD219 was not consulted; the current revision, JESD218C.01 (August 2026), requires member login or purchase, and c5 is its catalog page only. - Values follow the 2010 JC-64.8 chair presentation (c2), hosted by JEDEC, with some slides submitted by a flash vendor; later revisions may differ. - c3 is a Seagate technology paper (TP618, 2010) and c4 a Western Digital white paper (2023); c4 lists no FFR or UBER. - c3 typesets UBER ambiguously (10-15, 10%-16); taken as 1e-15 and 1e-16, consistent with c2. - Arithmetic (illustrative, not from the standard): 1 TB x 3,000 / (2 x 4) = 375 TB. Related terms: - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [dwpd](https://hesela.dev/terms/dwpd/) - [tbw](https://hesela.dev/terms/tbw/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [data-retention](https://hesela.dev/terms/data-retention/) - [restricted-copyback](https://hesela.dev/terms/restricted-copyback/) Citations: - [c1] JEDEC SSD standards. https://en.wikipedia.org/wiki/JEDEC (accessed 2026-03-26) - [c2] JEDEC SSD Specifications Explained. https://www.jedec.org/sites/default/files/Alvin_Cox%20%5bCompatibility%20Mode%5d_0.pdf (accessed 2026-10-16) - [c3] Establishing Industry Endurance Standards for Solid State Storage, Seagate TP618. https://www.seagate.com/files/staticfiles/docs/pdf/whitepaper/tp618-ssd-tech-paper-us.pdf (accessed 2026-10-16) - [c4] SSD Endurance and HDD Workloads, Western Digital white paper. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/white-paper/white-paper-ssd-endurance-and-hdd-workloads.pdf (accessed 2026-10-16) - [c5] Solid-State Drive (SSD) Requirements and Endurance Test Method, JESD218C.01. https://www.jedec.org/standards-documents/docs/jesd218b01 (accessed 2026-10-16) ### Joliet URL: https://hesela.dev/terms/joliet/ Related article: https://hesela.com/tech/optical-archival/ Also known as: Joliet extensions Status: shipping Record updated: 2026-10-21 Joliet extends ISO 9660 with a supplementary directory hierarchy containing big-endian UCS-2 filenames. Note: A Joliet volume retains a primary ISO 9660 hierarchy for readers that do not recognize the supplementary one. The 1995 specification allows a combined filename and extension budget of 128 bytes, representing 64 UCS-2 characters. UCS-2 on the disc is not UTF-8. [joliet-spec] Fallback can expose different names. Joliet name support does not by itself preserve Rock Ridge permissions or symbolic links. Linux offers a nojoliet mount option and separate filename-encoding controls. Recovery checks should include names and required metadata as well as file bytes. [linux-isofs] [archive] Sources and caveats: - Annex C of ECMA-119 (2025) faithfully reproduces Microsoft's Joliet version 1 specification dated 22 May 1995. Related terms: - [iso-9660](https://hesela.dev/terms/iso-9660/) - [rock-ridge](https://hesela.dev/terms/rock-ridge/) - [universal-disk-format](https://hesela.dev/terms/universal-disk-format/) - [optical-archival](https://hesela.dev/terms/optical-archival/) Citations: - [joliet-spec] Ecma International: ECMA-119, 6th edition (2025), Annex C reproducing Joliet version 1 (1995). https://ecma-international.org/wp-content/uploads/ECMA-119_6th_edition_december_2025.pdf (accessed 2026-10-21) - [linux-isofs] Linux v6.18 ISO9660 filesystem documentation: extension, permission and session options. https://www.kernel.org/doc/html/v6.18/filesystems/isofs.html (accessed 2026-10-21) - [archive] Hesela: optical archival storage and preservation checks. https://hesela.com/tech/optical-archival/ (accessed 2026-10-21) ### Journal checkpoint URL: https://hesela.dev/terms/journal-checkpoint/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: JBD2 checkpoint Status: shipping Record updated: 2026-12-01 In JBD2 terminology, a journal checkpoint writes committed journaled state to its home locations so the corresponding log space can be reclaimed. Note: This is not the same event as committing recovery information to the journal. In JBD2, checkpointing concerns committed buffers and journal-space management. [api] Do not infer an application's transaction boundary from this filesystem mechanism. [hesela] XFS uses checkpoint for a batched transaction written to its journal, not this JBD2 home-writeback stage. [xfs-design] Limitations: - The cited Linux v6.12 mechanism and explanatory model do not certify a deployed kernel or storage stack. (sources: [hesela]) Related terms: - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) - [journal-revoke-record](https://hesela.dev/terms/journal-revoke-record/) - [ext4-fast-commit](https://hesela.dev/terms/ext4-fast-commit/) - [physical-journaling](https://hesela.dev/terms/physical-journaling/) - [logical-journaling](https://hesela.dev/terms/logical-journaling/) - [xfs-delayed-logging](https://hesela.dev/terms/xfs-delayed-logging/) - [xfs-ail](https://hesela.dev/terms/xfs-ail/) - [journal-checksum](https://hesela.dev/terms/journal-checksum/) - [dualfs](https://hesela.dev/terms/dualfs/) - [spanfs](https://hesela.dev/terms/spanfs/) Citations: - [api] Linux v6.12: The Linux Journalling API, checkpointing. https://www.kernel.org/doc/html/v6.12/filesystems/journalling.html (accessed 2026-10-14) - [hesela] Hesela: Ext4 journal replay, revocation and repeatable recovery. https://hesela.com/analyses/ext4-journal-replay-revocation/ (accessed 2026-10-14) - [xfs-design] Linux v6.16: XFS Logging Design, asynchronous transactions, checkpoints and item lifecycle. https://github.com/torvalds/linux/blob/v6.16/Documentation/filesystems/xfs/xfs-delayed-logging-design.rst (accessed 2026-10-15) ### Journal checksum URL: https://hesela.dev/terms/journal-checksum/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Status: shipping Record updated: 2026-12-04 A journal checksum is an integrity value computed over specified journal records or payloads to detect changes within that coverage. Note: Checksum coverage and recovery action depend on the journal format. In JBD2, descriptor, commit and journaled-block tag checks have distinct roles. A valid commit-block checksum does not by itself validate every journal payload. [recovery] With JBD2 checksum v2, a block tag holds a 16-bit truncated crc32c of the journal UUID, sequence number and data block, while checksum v3 stores the full 32-bit value. Both versions store a crc32c of the UUID and commit block in the commit header. The v1, v2 and v3 formats are mutually exclusive. [jbd2-h] [ext4-journal] In Linux v6.12, a journaled-block tag mismatch skips that image while remembering a recovery error. Other images can still be replayed, and final writeback is attempted even after a failed pass. A commit checksum failure on a block whose commit time is older than the previous transaction is treated as stale data and ends recovery without error. This is not a guarantee that mounting succeeds. [recovery] File-data coverage: data=ordered and data=writeback use metadata-only journaling, unlike data=journal. A valid journal checksum therefore does not validate all file contents. Ordering protects a different dependency. [ext4-modes] A bounded state-enumeration guide shows how valid metadata and a commit can coexist with missing new data when required ordering is removed. [coverage-model] Advantages: - Seeding the checksums with the journal UUID helps separate current records from blocks left by an earlier journal. (sources: [jbd2-h], [recovery]) - The 32-bit tag of checksum v3 leaves fewer accidental matches than the truncated 16-bit tag of v2. (sources: [jbd2-h]) Limitations: - A mismatch detects a change within the covered bytes but does not reconstruct the journaled block. (sources: [recovery]) - Without async_commit, a failed commit checksum stops the scan at that transaction and records it as the failed commit, while with async_commit the scan continues to the next transaction. (sources: [recovery]) Sources and caveats: - recovery is fs/jbd2/recovery.c, re-read at tag v6.12 on git.kernel.org for tag verification, the stale commit-time rule and the async_commit branch. - jbd2-h is include/linux/jbd2.h at v6.12, read for the 16-bit and 32-bit tag checksum fields and the commit header layout. ext4-journal is the Linux 6.12 ext4 journal documentation, read for the checksum feature flags. - Behavior is scoped to the pinned Linux v6.12 source, not a fault-injection experiment or a guarantee about every filesystem. - The filesystem-consistency-invariant entry links here because journal checksums are one mechanism for detecting records that would break such an invariant on replay. - 2026-12-04: data-mode scope checked against Linux v6.12 documentation. The linked Boolean model is an explanatory counterexample, not a kernel run, measured crash frequency or full OptFS implementation. Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [journal-checkpoint](https://hesela.dev/terms/journal-checkpoint/) - [journal-revoke-record](https://hesela.dev/terms/journal-revoke-record/) - [crash-corruption-ambiguity](https://hesela.dev/terms/crash-corruption-ambiguity/) - [optimistic-crash-consistency](https://hesela.dev/terms/optimistic-crash-consistency/) Citations: - [recovery] Linux v6.12: fs/jbd2/recovery.c. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/jbd2/recovery.c (accessed 2026-10-23) - [hesela] Hesela: Ext4 replay, checksum failure paths and ambiguous tails. https://hesela.com/analyses/ext4-journal-replay-revocation/ (accessed 2026-10-17) - [jbd2-h] Linux v6.12: include/linux/jbd2.h, commit header and block tag checksum fields. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/jbd2.h?h=v6.12 (accessed 2026-10-23) - [ext4-journal] Linux 6.12 documentation: ext4 journal (jbd2) on-disk format. https://docs.kernel.org/6.12/filesystems/ext4/journal.html (accessed 2026-10-23) - [ext4-modes] Linux v6.12 ext4 administration guide: Data Mode and journal_async_commit. https://docs.kernel.org/6.12/admin-guide/ext4.html (accessed 2026-12-04) - [coverage-model] Hesela: journal checksum coverage, executable counterexample and primary-source guide. https://hesela.dev/research/journal-coverage/README.md (accessed 2026-12-04) ### Journal-guided resynchronization URL: https://hesela.dev/terms/journal-guided-resynchronization/ Status: research Record updated: 2026-11-04 Journal-guided resynchronization uses filesystem recovery records to target RAID consistency checks after a crash. Note: Denehy and colleagues' FAST 2005 prototype combined ext3 declared mode with a verify-read request to software RAID. Declarations recorded data-write destinations before modification; verify-read checked a stripe and repaired inconsistent parity. Ordinary read-modify-write can retain a pre-existing parity error. [denehy] Recovery covers the journal itself as well as home locations. The prototype verifies superblocks, checks the first committed transaction's destinations before replay, and verifies a bounded region beyond the last commit. Declarations for the next uncommitted transaction require home-location checks only when descriptors are absent; descriptors imply completed data writes under declared-mode ordering. These are protocol-specific conditions, not a generic journal property. [denehy] A completed XOR read-modify-write preserves the exact pre-existing parity syndrome even when the new data differ. Hesela's linked byte-level tests demonstrate this algebraic invariant; they are not kernel fault injection. Recomputed parity can match surviving data without proving application-version correctness. [hesela] The paper evaluates a 1 GB, five-disk array on Linux 2.6.11. Its comparator includes write sorting; small synchronous transactions expose extra declaration cost. The measured recovery is parity resynchronization, not failed-member reconstruction or a modern-array performance guarantee. [denehy] Advantages: - Reuses cross-layer information to narrow recovery work. Limitations: - Historical prototype, not a current ext4 setting. - Requires coordinated filesystem and RAID changes, not merely an existing journal. Related terms: - [write-intent-bitmap](https://hesela.dev/terms/write-intent-bitmap/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [partial-parity-log](https://hesela.dev/terms/partial-parity-log/) Citations: - [denehy] Denehy, Arpaci-Dusseau and Arpaci-Dusseau. Journal-guided Resynchronization for Software RAID. FAST 2005, sections 4-5. https://www.usenix.org/legacy/event/fast05/tech/full_papers/denehy/denehy_html/main.html (accessed 2026-11-04) - [hesela] Hesela: RAID write-hole recovery mechanisms. https://hesela.com/analyses/raid-write-hole-bitmap-ppl/#journal-guided (accessed 2026-11-03) ### Journal revoke record URL: https://hesela.dev/terms/journal-revoke-record/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Also known as: JBD2 revocation Status: shipping Record updated: 2026-10-22 A journal revoke record identifies a block whose older journaled images must not be replayed over newer uses of that block. Note: JBD2 tracks the latest revoking transaction per block, and a journaled image from a later transaction can still replay. [revoke] The record exists for blocks that were journaled and are no longer journaled, typically metadata freed and reused as file data. It does not mark one journal block as superseded by another, and adding a block to a transaction removes all existing revoke records for it. [journal-doc] In the Linux v6.16 on-disk format, a revocation block has journal block type 5 and a header of at least 16 bytes, yet it occupies a full journal block. The 4-byte r_count at offset 0xC gives the bytes used, and block numbers start at offset 0x10, 8 bytes each with 64-bit block number support and 4 bytes otherwise. With checksum versions 2 and 3, a tail holding r_checksum ends the block. [journal-doc] [jbd2-header] Recovery makes three passes: it finds the end of the log, collects revoke records, then replays only blocks that are not revoked. If one block has several revoke records, only the last counts. A block revoked and then written as data keeps its revoke, so old log records cannot overwrite the new data. [recovery] [revoke-v616] Advantages: - Lets a freed metadata block be reused for file data without the journal overwriting that data during replay. (sources: [journal-doc]) Limitations: - Each revocation block takes a full journal block, so freeing many journaled blocks consumes extra log space. (sources: [journal-doc]) - The cited v6.16 sources describe one kernel version and do not certify a deployed kernel or storage stack. (sources: [revoke-v616]) Sources and caveats: - journal-doc is Documentation/filesystems/ext4/journal.rst at tag v6.16, read in the revocation block section and the block header table. - revoke-v616 is fs/jbd2/revoke.c and recovery is fs/jbd2/recovery.c, both at tag v6.16, read in their header comments and jbd2_journal_recover. - jbd2-header is include/linux/jbd2.h at tag v6.16, read for JBD2_REVOKE_BLOCK and the revoke table fields. - 16 bytes, 0xC, 0x10, 8 and 4 bytes come from journal-doc. Block type 5 comes from jbd2-header. The three passes come from recovery. Related terms: - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [journal-checkpoint](https://hesela.dev/terms/journal-checkpoint/) - [ext4-fast-commit](https://hesela.dev/terms/ext4-fast-commit/) - [ext4-data-journal](https://hesela.dev/terms/ext4-data-journal/) Citations: - [revoke] Linux v6.12: fs/jbd2/revoke.c, recovery rules and jbd2_journal_test_revoke. https://github.com/torvalds/linux/blob/v6.12/fs/jbd2/revoke.c (accessed 2026-10-14) - [hesela] Hesela: Ext4 journal replay, revocation and repeatable recovery. https://hesela.com/analyses/ext4-journal-replay-revocation/ (accessed 2026-10-14) - [journal-doc] Linux v6.16 Documentation/filesystems/ext4/journal.rst: revocation block layout. https://github.com/torvalds/linux/blob/v6.16/Documentation/filesystems/ext4/journal.rst (accessed 2026-10-22) - [revoke-v616] Linux v6.16 fs/jbd2/revoke.c: revoke semantics and revoke tables. https://github.com/torvalds/linux/blob/v6.16/fs/jbd2/revoke.c (accessed 2026-10-22) - [recovery] Linux v6.16 fs/jbd2/recovery.c: three-pass journal recovery. https://github.com/torvalds/linux/blob/v6.16/fs/jbd2/recovery.c (accessed 2026-10-22) - [jbd2-header] Linux v6.16 include/linux/jbd2.h: journal block types. https://github.com/torvalds/linux/blob/v6.16/include/linux/jbd2.h (accessed 2026-10-22) ### JSON Canonicalization Scheme URL: https://hesela.dev/terms/json-canonicalization-scheme/ Also known as: JCS, RFC 8785 Status: unknown Record updated: 2026-11-21 JSON Canonicalization Scheme defines a repeatable UTF-8 representation of constrained JSON data for hashing and signing. Note: Rules: JCS uses ECMAScript primitive serialization and recursive object-property ordering by UTF-16 code units. Array order stays intact, and Unicode strings are not normalized. RFC 8785 is Informational, not an Internet Standards Track specification. [jcs-rfc] Input: I-JSON prohibits duplicate object names, unpaired surrogates and Unicode noncharacters. Its interoperability guidance bounds numeric precision; identifiers requiring larger exact integers can use strings. Validation must occur before a parser discards evidence such as duplicate names. [jcs-ijson] Scope: Repeatable output from a particular serializer is insufficient to establish a shared canonical format. Protocol Buffers warns that schema, build and library changes can alter deterministic output. [jcs-protobuf] Use: Agree on the representation profile and required application fields before comparing hashes. A canonical representation does not authenticate its reference or establish freshness. Selected rule examples distinguish ordering, normalization and input acceptance. [jcs-example] Implementation trap: Rebuilding an ordinary JavaScript object from sorted keys does not preserve JCS order for array-index names: enumeration places 2 before 10, while UTF-16 comparison places 10 before 2. The linked probe includes a non-index-name control. [jcs-example] [jcs-own-keys] Sources and caveats: - Source synthesis of RFC 8785 and I-JSON, with original selected-input examples rather than a full canonicalizer or JCS conformance suite. - The linked examples perform no storage I/O and do not measure durability, corruption frequency or production security. Related terms: - [cbor](https://hesela.dev/terms/cbor/) - [i-json](https://hesela.dev/terms/i-json/) - [data-serialization](https://hesela.dev/terms/data-serialization/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) Citations: - [jcs-rfc] RFC 8785: JSON Canonicalization Scheme, sections 3.1-3.2.4 and status. https://www.rfc-editor.org/rfc/rfc8785.html (accessed 2026-11-17) - [jcs-ijson] RFC 7493: I-JSON numbers, characters and object constraints, sections 2.1-2.3. https://www.rfc-editor.org/rfc/rfc7493.html (accessed 2026-11-17) - [jcs-protobuf] Protocol Buffers: Proto Serialization Is Not Canonical. https://protobuf.dev/programming-guides/serialization-not-canonical/ (accessed 2026-11-17) - [jcs-example] Hesela: JSON canonicalization rule examples in storage integrity. https://hesela.com/analyses/checksums-identity-and-lost-writes/#json-canonicalization (accessed 2026-11-17) - [jcs-own-keys] ECMAScript 2025: OrdinaryOwnPropertyKeys. https://tc39.es/ecma262/2025/multipage/ordinary-and-exotic-objects-behaviours.html#sec-ordinaryownpropertykeys (accessed 2026-11-17) ### JSON text sequence URL: https://hesela.dev/terms/json-text-sequence/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: JSON-seq, JSON text sequences, RFC 7464 Status: unknown Record updated: 2026-11-21 A JSON text sequence frames UTF-8 JSON values with a record-separator byte before each value and a line-feed byte after it. Note: Framing: RFC 7464 registers application/json-seq. RS (0x1E) permits multiline values; consecutive separators are not empty records. [json-sequence-rfc] Recovery: Parsers can resume at another RS after malformed input. Top-level numbers, booleans and null require trailing JSON whitespace or must be dropped as potentially truncated. Encoder and recovery grammars differ. [json-sequence-rfc] Integrity: No end marker or cryptographic integrity protection is provided. Recovering later values does not prove completeness. [json-sequence-rfc] Streaming: An incremental parser can emit partial results before a later error invalidates the element; emitted values alone are not validation evidence. [json-sequence-rfc] Sources and caveats: - Specification synthesis, not a parser conformance study or a crash-recovery experiment. Related terms: - [data-serialization](https://hesela.dev/terms/data-serialization/) - [newline-delimited-json](https://hesela.dev/terms/newline-delimited-json/) Citations: - [json-sequence-rfc] RFC 7464: JSON Text Sequences, sections 2-4. https://www.rfc-editor.org/rfc/rfc7464.html (accessed 2026-11-21) ### k-of-n completion URL: https://hesela.dev/terms/k-of-n-completion/ Related analysis: https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/ Also known as: k out of n completion Status: research Record updated: 2026-11-03 A k-of-n completion rule finishes a logical operation after any k of n eligible component responses have completed. Note: The collection time is the kth ordered response time, measured from a shared request origin, when any eligible subset of size k suffices. With independent, identically distributed exponential response times of mean 1/μ, the expected time to collect any k of n is (H_n − H_(n−k))/μ, where H is the harmonic number. The kth-arrival identity does not require independence. Queueing can invalidate the IID response-time assumptions behind the harmonic expectation; the cited fork-join model instead derives bounds on mean response time. [kofn-delay] A coded read needs distinct valid fragments from one object generation and sufficient decoding rank; receiving k arbitrary messages is not enough. Metadata lookup and decoding may add time. One in-memory object cache reads k + 1 of k + r splits and decodes the first k to arrive; with k = 10 this costs at most 10% extra bandwidth and cut median and tail read latency by more than 50% relative to selective replication. [ec-cache] Pairwise independence alone does not determine a three-response deadline probability. In an exact constructed example, every response is 1% late and every pair has the same independent joint distribution, yet an any-one-of-three read misses with probability anywhere from 0% to 0.01%; mutual independence gives 0.0001%. With three responses, needing one misses only if all three are late; needing two misses if at least two are late; needing all three misses if at least one is late. These are mathematical identification bounds for specified inputs, not confidence intervals or measured fleet probabilities. [pairwise-bounds] [pairwise-example] Advantages: - Late binding to the first k arrivals means a single slow server need not determine the latency of the whole operation. (sources: [ec-cache]) Limitations: - Each extra request adds load: beyond one or two additional reads the tail benefit was small, and many more would raise communication and bandwidth overhead in proportion. (sources: [ec-cache]) - The IID distribution and expectation formulas require mutually independent response times; the kth-arrival identity itself does not. A shared file-size component can correlate service times. (sources: [kofn-delay]) - Pair statistics do not replace aligned logical-request outcomes; cancellations and timeouts can leave component completion times unobserved. (sources: [pairwise-bounds], [pairwise-example]) Sources and caveats: - kofn-delay read 2026-10-23, sections II, III and IV-C, for the order-statistic expectation, the queueing bounds and the correlated service model. - ec-cache read 2026-10-23, sections 1, 4.3 and 6.6.2, for late binding, the k = 10 and 10% bandwidth configuration and additional-read results. - 2026-10-29: Joshi et al. v2, II-B and III-B, distinguishes the arrival identity from IID expectation formulas. Ramachandra and Natarajan v6, introduction and 4.1, supports the pairwise/mutual distinction. Hesela's example is mathematical, not empirical. - 2026-11-03: rechecked five primary papers and the exact eight-state derivation; clarified the difference between required-response counts and late-response counts. Existing mathematical scenarios retained, no device measurements or independent peer review claimed. Related terms: - [tail-latency](https://hesela.dev/terms/tail-latency/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [fork-early-cancel](https://hesela.dev/terms/fork-early-cancel/) - [hedged-request](https://hesela.dev/terms/hedged-request/) - [power-aware-coding](https://hesela.dev/terms/power-aware-coding/) Citations: - [ec-cache] Rashmi et al. EC-Cache: Load-Balanced, Low-Latency Cluster Caching with Online Erasure Coding. OSDI 2016, sections 1, 4.3 and 6.6.2. https://www.usenix.org/system/files/conference/osdi16/osdi16-rashmi.pdf (accessed 2026-10-23) - [example] Hesela: k-of-n response collection and exact joint-state examples. https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#kofn-completion (accessed 2026-10-20) - [kofn-delay] Joshi, Liu and Soljanin. On the Delay-Storage Trade-off in Content Download from Coded Distributed Storage Systems. arXiv 1305.3945v2, 2013. https://arxiv.org/pdf/1305.3945v2 (accessed 2026-10-23) - [pairwise-bounds] Ramachandra and Natarajan. Tight Probability Bounds with Pairwise Independence. arXiv:2006.00516v6, 2022; introduction and section 4.1. https://arxiv.org/pdf/2006.00516v6 (accessed 2026-10-29) - [pairwise-example] Hesela: exact three-response distributions and reproducible calculation, not measured performance. https://hesela.dev/research/pairwise-replica-tails/PUBLICATION.md (accessed 2026-10-29) ### Kangaroo URL: https://hesela.dev/terms/kangaroo/ Related analysis: https://hesela.com/analyses/ssd-overprovisioning-denominators/ Also known as: Kangaroo flash cache Status: research Record updated: 2026-11-19 Kangaroo is a tiny-object flash cache that combines a small log-structured staging cache with a larger set-associative cache. Note: KLog batches objects for KSet to reduce set rewrites while limiting the DRAM index to the staging tier. KSet also retains Bloom filters and hit metadata in memory; no full-object index does not mean no DRAM cost. [paper] Threshold admission counts objects mapping to a set, not bytes. The pinned simulator rejects undersized groups and offers rejected objects to log readmission; warm-up controls when admission filtering runs. Its write-factor calculation weights the set component by the admitted-byte fraction before adding log writes. [threshold] [cache] Constructed drain: forty 100-byte objects occupy one padded 4,096-byte log write. With threshold 2, forty singleton groups cause no set writes and retain no objects after the drain; twenty pairs cause 81,920 set-write bytes and retain forty objects. Lower write traffic alone therefore does not establish better caching. This example has no hits, readmission, metadata or FTL copying. [example] Limitations: - The published production tests report application write rates, not NAND-programmed bytes, and their different request streams prevent direct comparison between the two admission-policy experiments. (sources: [paper]) Sources and caveats: - Primary paper and pinned simulator source reviewed; no original trace replay or on-flash benchmark was performed. - The byte ledger is an original, single-drain illustration, not an implementation or replication of Kangaroo. Its fixed write units do not describe every SSD. Related terms: - [ripq](https://hesela.dev/terms/ripq/) - [write-amplification](https://hesela.dev/terms/write-amplification/) Citations: - [paper] McAllister et al. Kangaroo: Caching Billions of Tiny Objects on Flash. SOSP 2021, pp. 243-262, sections 3-5. DOI: 10.1145/3477132.3483568. https://www.cs.cmu.edu/~beckmann/publications/papers/2021.sosp.kangaroo.pdf (accessed 2026-11-19) - [threshold] Kangaroo simulator, commit 48397846: threshold admission and rejected-group handling. https://github.com/saramcallister/Kangaroo/blob/48397846af0b838a0431977bc7a4a2e1493fe181/simulator/admission/threshold.hpp (accessed 2026-11-19) - [cache] Kangaroo simulator, commit 48397846: insertion, warm-up and calcFlashWriteAmp. https://github.com/saramcallister/Kangaroo/blob/48397846af0b838a0431977bc7a4a2e1493fe181/simulator/caches/mem_log_sets_cache.cpp (accessed 2026-11-19) - [example] Hesela. Synthetic log-and-set drain: bytes, admission counts and explicit unavailable metrics. https://hesela.dev/research/kangaroo/evidence.json (accessed 2026-11-19) - [model] Hesela. Executable byte-accounting example (CC0). https://hesela.dev/research/kangaroo/model.mjs (accessed 2026-11-19) - [tests] Hesela. Exact-byte and input-validation tests (CC0). https://hesela.dev/research/kangaroo/model.test.mjs (accessed 2026-11-19) - [article] Hesela. Cache admission can lower writes by dropping objects. https://hesela.com/analyses/ssd-overprovisioning-denominators/#kangaroo-admission (accessed 2026-11-19) ### Kaplan-Meier estimator URL: https://hesela.dev/terms/kaplan-meier-estimator/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: Product-limit estimator, Kaplan-Meier estimate Status: shipping Record updated: 2026-11-19 The Kaplan-Meier estimator is a nonparametric estimator of the survival function that multiplies conditional survival estimates at observed event times while accounting for right-censored observations. Note: At each distinct failure time, multiply by 1 - d_i/n_i, where d_i counts failures and n_i counts devices at risk just beforehand. Censoring removes devices from later risk sets without causing a failure step. [nist-km] Interpretation requires appropriate censoring assumptions; nonparametric does not mean assumption-free. [kaplan-meier-1958] For delayed entry, devices contribute to risk sets only after their observed entry ages. Adjusted risk sets can support population survival estimation under suitable truncation assumptions, but do not reconstruct individual unobserved failures or identify survival before ages supported by the cohort. [schisterman-2013] Report numbers at risk, uncertainty and the supported time range, not an extrapolated lifetime guarantee. For tied recorded failure and censoring times, the usual failure-before-censoring convention includes the censored unit in that event-time risk set. If the last observation is censored, the tail need not fall to zero; it is not a lifetime extrapolation. [kaplan-meier-1958] Integrating the estimated survival steps only up to a specified supported horizon gives restricted mean survival time, in the same units as the observation clock. This finite-window area is not a full lifetime mean when the remaining tail is unknown. [royston-parmar-2013] For ordinary independent-unit, right-censored data, Greenwood's formula estimates sampling variance from the same event-time risk sets. State the interval transformation and confidence level: pointwise uncertainty at a fixed time is not a simultaneous band for the whole curve. Near zero or one, explicit boundary handling is necessary. [sawyer-greenwood] Related terms: - [survival-function](https://hesela.dev/terms/survival-function/) - [nelson-aalen-estimator](https://hesela.dev/terms/nelson-aalen-estimator/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [left-truncation](https://hesela.dev/terms/left-truncation/) - [informative-censoring](https://hesela.dev/terms/informative-censoring/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [cumulative-incidence-function](https://hesela.dev/terms/cumulative-incidence-function/) - [restricted-mean-survival-time](https://hesela.dev/terms/restricted-mean-survival-time/) - [greenwood-variance](https://hesela.dev/terms/greenwood-variance/) - [risk-set](https://hesela.dev/terms/risk-set/) - [log-rank-test](https://hesela.dev/terms/log-rank-test/) Citations: - [nist-km] NIST e-Handbook 8.2.1.5: Empirical model fitting, Kaplan-Meier approach. https://www.itl.nist.gov/div898/handbook/apr/section2/apr215.htm (accessed 2026-10-13) - [kaplan-meier-1958] Kaplan and Meier (1958): Nonparametric Estimation from Incomplete Observations, sections 1.1, 1.4 and 2.1. https://web.stanford.edu/~lutian/coursepdf/KMpaper.pdf (accessed 2026-10-13) - [schisterman-2013] Schisterman et al. (2013): Accuracy Loss Due to Selection Bias in Cohort Studies with Left Truncation, Discussion. https://pmc.ncbi.nlm.nih.gov/articles/PMC6151356/ (accessed 2026-10-13) - [royston-parmar-2013] Royston and Parmar (2013): Restricted mean survival time, Methods, Definition of RMST, equation 1; BMC Medical Research Methodology 13:152. https://link.springer.com/article/10.1186/1471-2288-13-152 (accessed 2026-11-05) - [sawyer-greenwood] Sawyer (2003): The Greenwood and Exponential Greenwood Confidence Intervals in Survival Analysis, equations 1.2-1.3. https://www.math.wustl.edu/~sawyer/handouts/greenwood.pdf (accessed 2026-11-19) ### Key commitment URL: https://hesela.dev/terms/key-commitment/ Also known as: Key robustness, Key collision resistance Status: shipping Record updated: 2026-11-22 Key commitment makes it computationally difficult to construct a ciphertext that authenticates under two different keys. Note: The guarantee concerns adversarially chosen keys and inputs, not just accidental wrong-key rejection. RFC 9771 allows the nonce, associated data and plaintext to differ between the two encryption inputs. Full commitment binds all inputs and implies key commitment; the converse does not hold. [rfc9771] Storage relevance: Albertini et al. analyze malicious key import during rotation and inconsistent DEKs supplied to different envelope recipients. The attacker controls the candidate keys; this does not recover an arbitrary secret key. Ordinary authenticated encryption can satisfy its usual security goals while lacking this extra property. [albertini2022] Migration example: from version 2.0.x, the cited encryption SDK distinguishes ForbidEncryptAllowDecrypt (noncommitting writes, either read format), RequireEncryptAllowDecrypt (committing writes, either read format) and RequireEncryptRequireDecrypt (committing writes and reads only). The strict default rejects legacy messages without commitment; possession of their keys is insufficient for acceptance. [sdk-policy] Before changing writers, upgrade every required reader. Before strict decryption, resolve retained legacy ciphertext, including recovery copies. A wrapping-key rotation is a different operation from migrating the payload format. [sdk-migration] Limitations: - A successful round trip or wrong-key test is not a proof of a cryptographic commitment bound. (sources: [rfc9771]) Sources and caveats: - Source synthesis, not an attack reproduction or a cloud-service assessment. Historical scenarios in the 2022 paper must not be read as current product vulnerabilities. [albertini2022] - The migration policy names describe the AWS Encryption SDK, not a universal KMS API. Source documentation reviewed on 2026-11-22. [sdk-policy] Related terms: - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [aes-gcm-siv](https://hesela.dev/terms/aes-gcm-siv/) - [envelope-encryption](https://hesela.dev/terms/envelope-encryption/) - [key-rotation](https://hesela.dev/terms/key-rotation/) Citations: - [rfc9771] RFC 9771: Properties of AEAD Algorithms, sections 4.3.2-4.3.3 (Informational, 2025). https://www.rfc-editor.org/rfc/rfc9771.html#section-4.3.3 (accessed 2026-11-22) - [albertini2022] Albertini et al.: How to Abuse and Fix Authenticated Encryption Without Key Commitment. USENIX Security 2022, pp. 3291-3308, sections 2-3. https://www.usenix.org/system/files/sec22-albertini.pdf (accessed 2026-11-22) - [sdk-policy] AWS Encryption SDK: Setting your commitment policy. https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migrate-commitment-policy.html (accessed 2026-11-22) - [sdk-migration] AWS Encryption SDK: How to migrate and deploy, staged reader and writer rollout. https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migration-guide.html (accessed 2026-11-22) ### Key rotation URL: https://hesela.dev/terms/key-rotation/ Related analysis: https://hesela.com/analyses/ssd-sanitization-trim-evidence/ Also known as: Cryptographic key rotation Status: shipping Record updated: 2026-11-22 Key rotation replaces the key or key material selected for new cryptographic operations without necessarily removing earlier decryption keys. Note: Separate the layers: activating a new wrapping-key version, rewrapping existing data-encryption keys and re-encrypting payloads with new data keys are different actions. A completed rotation need not perform either migration. [rotation-guide] [envelope-guide] Managed-key example: rotation can change current KMS key material while the same logical key still decrypts old ciphertext using earlier material. It does not rotate existing data keys, rewrite protected data or remedy compromise of a data key. [kms-rotation] Service integration: the cited customer-managed encryption-key (CMEK) integrations can automatically rewrap existing DEKs, use the new primary only for subsequent encryption, or continue using the originally configured version. Automatic migration may take time. A KMS rotation event alone therefore does not establish which resource versions migrated; check the documented behavior for that resource type. [cmek-rotation] Migration and retirement: the cited re-encryption workflow decrypts with the prior version and encrypts with the new primary version. Retiring a version before all required data can be recovered without it risks permanent data loss. [reencrypt-guide] [rotation-guide] Assessment: a rotation log establishes a key-management event, not that old ciphertext, wrapped-key copies or usable decryption keys disappeared. Record which layer changed and which recovery paths remain. [rotation-guide] [kms-rotation] Limitations: - Changing a wrapping key does not upgrade the payload's algorithm suite. In the cited client-side encryption SDK, RequireEncryptAllowDecrypt admits legacy noncommitting ciphertext; RequireEncryptRequireDecrypt rejects it. Test retained backups and all required readers before tightening that policy. (sources: [kms-rotation], [sdk-policy], [sdk-migration]) Sources and caveats: - The managed-key example is AWS KMS rotation. Google Cloud KMS supplies migration, retirement and resource-specific CMEK integration guidance; these behaviors do not describe every key-management API. - Source synthesis only; no cloud account, key, ciphertext or storage device was modified. Related terms: - [envelope-encryption](https://hesela.dev/terms/envelope-encryption/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) - [key-commitment](https://hesela.dev/terms/key-commitment/) Citations: - [envelope-guide] Google Cloud KMS: Envelope encryption, data keys and key-encryption keys. https://docs.cloud.google.com/kms/docs/envelope-encryption (accessed 2026-11-14) - [rotation-guide] Google Cloud KMS: Key rotation, after you rotate keys. https://docs.cloud.google.com/kms/docs/key-rotation (accessed 2026-11-14) - [kms-rotation] AWS KMS: Rotate KMS keys, current material and unchanged data keys. https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html (accessed 2026-11-22) - [reencrypt-guide] Google Cloud KMS: Re-encrypting data, workflow. https://docs.cloud.google.com/kms/docs/re-encrypt-data (accessed 2026-11-14) - [cmek-rotation] Google Cloud KMS: CMEK key rotation, integration patterns and resource-specific behavior. https://docs.cloud.google.com/kms/docs/cmek-rotation (accessed 2026-11-15) - [sdk-policy] AWS Encryption SDK: Setting your commitment policy. https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migrate-commitment-policy.html (accessed 2026-11-22) - [sdk-migration] AWS Encryption SDK: How to migrate and deploy, staged reader and writer rollout. https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/migration-guide.html (accessed 2026-11-22) ### Key-value separation URL: https://hesela.dev/terms/key-value-separation/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Also known as: KV separation Status: shipping Record updated: 2026-12-02 Key-value separation stores values outside the main key index and retains references in that index. Note: Separating values does not eliminate cleaning. [blobdb] In WiscKey, the LSM-tree sorts keys and value references; values append to a separate log. Deleting a key leaves garbage in that log. Ignoring pointer size, index amplification 10 and 16 B keys give (10 x 16 + 1024) / (16 + 1024) = 1.14 for 1 KB values, or 2.8 for 64 B values. [wisckey] Figure 12 compares a 4 GB scan of a 100-GB database, using 16-B keys and 64-B values at its smallest size. WiscKey's reported throughput was about one twelfth of LevelDB's when randomly loaded, versus about 25% lower when sequentially loaded. These are historical measurements, not a general separation penalty. [wisckey] WiscKey's collector reads the tail, checks liveness in the tree, copies live values to the head, then frees space; log records include keys. [wisckey] HashKV's Figure 2 reports vLog prototype write amplification of 19.7 for updates and 1.6 for loading. It loaded 40 GiB of 1-KiB pairs, then issued 40 GiB of Zipf(0.99) updates with 12 GiB of reserved space; its write cache was disabled. The ratio is total device-write bytes divided by inserted or updated bytes. This differs from section 4.1's 64 MiB cache defaults. HashKV's hash grouping avoids per-record tree lookups during cleaning. [hashkv] RocksDB's integrated BlobDB background-extraction path creates immutable, key-sorted blob files; separation therefore does not imply unsorted values. Values at or above min_blob_size qualify for blob files; smaller ones stay inline. Compaction relocates blobs and updates references without separate index operations. It supports WAL recovery and differs from legacy StackableDB. [blobdb] With an age cutoff of 0.25, blobs in the oldest 5 of 20 blob files are relocated when compaction reaches them. [blobdb] [rocksdbopts] Advantages: - In WiscKey, keeping keys and value references in the sorted index reduces its size relative to also storing values there. (sources: [wisckey]) Limitations: - Unreferenced values occupy space until garbage collection runs. The RUM paper frames read, update and space tradeoffs as a conjecture, not a universal proof that every engineering improvement must worsen another cost. (sources: [wisckey], [blobdb], [rum-paper]) - In WiscKey's collector, relocated records and the updated tail must be durable before old space is reclaimed. This is a reclamation protocol, not a universal synchronous-write requirement for every separated store. (sources: [wisckey]) - HashKV's segment-group scan also checks the write cache and still updates index addresses after moving survivors. Its hot/cold extension leaves tagged metadata in the group; the separate cold-data log uses vLog-style cleaning. The group's no-lookup rule does not describe every collector in the system. (sources: [hashkv]) - RocksDB v11.8.1 also has experimental Blob Direct Write v1, disabled by default. Qualifying Put values become BlobIndex references before WAL/memtable insertion. WAL replay of active direct-write files is unsupported; flush/SST creation must first make them manifest-visible. This differs from background extraction. (sources: [blob-direct-options]) Sources and caveats: - Implementation details come from the RocksDB wiki and source, maintained by Meta, so they are not independent of the code owner. - The 1.14 and 2.8 figures are formula results with the pointer size ignored, not measurements; the same formula gives 1.5 for 256 B values and 1.04 for 4 KB values. - The unseparated write amplification of 3.1 and 14 (1 GB and 100 GB databases) and the 10% and 35% garbage-collection throughput drops are from the 2016 paper's own tests. - The 19.7 figure is one workload on one university prototype; the paper reports 19.1 and 7.9 for two unseparated stores with default settings. - Defaults are from release v9.11.2 and later versions change them; 0.25 x 20 = 5 files. - 2026-10-30 source-scope correction: separate prototype-specific statements from the integrated implementation; preserve the existing numerical examples and their prior limitations. - Figure 12's axis specifies 16-B keys and varying values; the surrounding prose calls the smallest case 64-B pairs. We follow the axis and section 4.1's fixed-key method. - Figure 12 used a 500-GB Samsung 840 EVO, Linux 3.14/ext4, 64 GB memory and disabled compression. No current-device prediction or independent reproduction is implied. [wisckey] Related terms: - [parallax](https://hesela.dev/terms/parallax/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [value-log](https://hesela.dev/terms/value-log/) - [database-write-amplification](https://hesela.dev/terms/database-write-amplification/) - [hybrid-log](https://hesela.dev/terms/hybrid-log/) - [fawn-ds](https://hesela.dev/terms/fawn-ds/) - [tucana](https://hesela.dev/terms/tucana/) - [kreon](https://hesela.dev/terms/kreon/) - [bourbon](https://hesela.dev/terms/bourbon/) - [kvell](https://hesela.dev/terms/kvell/) - [wisckey](https://hesela.dev/terms/wisckey/) - [hashkv](https://hesela.dev/terms/hashkv/) - [blobdb](https://hesela.dev/terms/blobdb/) Citations: - [blobdb] RocksDB wiki: BlobDB, integrated implementation, garbage collection and configuration (page revised 22 September 2022). https://github.com/facebook/rocksdb/wiki/BlobDB (accessed 2026-11-03) - [hesela-kv] Key-value separation: the cleaning bill moves elsewhere. https://hesela.com/analyses/key-value-separation-cleaning-cost/ (accessed 2026-10-12) - [wisckey] Lu et al. WiscKey: Separating Keys from Values in SSD-conscious Storage. FAST 2016, sections 3.3-3.5 and 4.1.2, Figure 12. https://files.usenix.org/s3fs-public/cdn/fast16-papers-lu.pdf (accessed 2026-11-11) - [hashkv] Chan, Li, Lee and Xu. HashKV: Enabling Efficient Updates in KV Storage via Hashing. USENIX ATC 2018, section 2.2 and Figure 2; sections 3.2-3.4 and 4.1. https://files.usenix.org/s3fs-public/cdn/atc18-chan.pdf (accessed 2026-11-11) - [rocksdbopts] RocksDB include/rocksdb/advanced_options.h, release v9.11.2, blob options. https://github.com/facebook/rocksdb/blob/v9.11.2/include/rocksdb/advanced_options.h (accessed 2026-10-16) - [rum-paper] Athanassoulis et al. Designing Access Methods: The RUM Conjecture. EDBT 2016, pp. 461-466, sections 1-4. DOI: 10.5441/002/edbt.2016.42. https://openproceedings.org/2016/conf/edbt/paper-12.pdf (accessed 2026-11-22) - [blob-direct-options] RocksDB v11.8.1: advanced_options.h, experimental direct-write v1 contract. https://github.com/facebook/rocksdb/blob/abeebd9630f11bd08c28b7bd43c7bdfc62050654/include/rocksdb/advanced_options.h#L1202-L1257 (accessed 2026-12-02) ### Key-value SSD URL: https://hesela.dev/terms/key-value-ssd/ Also known as: KV-SSD, NVMe key value drive Status: limited Record updated: 2026-10-22 A key-value SSD stores and retrieves variable-length values by key, through commands such as Store, Retrieve, Delete, Exist and List, instead of fixed-size logical blocks. Note: The NVMe Key Value Command Set (Revision 1.1, 2024) limits keys to 16 bytes and aborts longer ones with Invalid Field in Command, while a value may run from zero bytes to a maximum set by the namespace's KV format. A namespace can offer up to 16 KV formats, the command set is Command Set Identifier 01h, and Store, Retrieve, Delete, Exist and List are mandatory. [nvme-kv] Store and Delete are atomic for a single pair, there are no fused operations and no ordering guarantee between concurrent commands on one key, and List order is unspecified but stable while contents do not change. Namespace size and utilisation are counted in bytes, each pair needing at least key plus value size, and compression is out of scope. [nvme-kv] The SNIA Key Value Storage API (version 1.1, 2020) is the host-side counterpart, with at most one Key Space per NVMe namespace or SCSI logical unit, optional Key Groups and device-reported key and value limits. [snia-kvs] Advantages: - Applications can address data by key without first mapping it to logical blocks, and can query stored keys on the device itself. (sources: [nvme-kv], [snia-kvs]) Limitations: - Longer application keys must be shortened or mapped by the host. (sources: [nvme-kv]) - Multi-key transactions and ordered range scans have to be built by the host. (sources: [nvme-kv]) Sources and caveats: - Both documents define interface semantics only, and neither names implementing products or describes adoption. - Neither gives performance, capacity, endurance or cost figures, so no advantage over block SSDs is quantified; the numbers are specification limits. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [computational-storage](https://hesela.dev/terms/computational-storage/) - [block-storage](https://hesela.dev/terms/block-storage/) - [object-storage](https://hesela.dev/terms/object-storage/) Citations: - [c1] Key-value SSD. https://en.wikipedia.org/wiki/Key-value_store (accessed 2026-03-26) - [nvme-kv] NVM Express Key Value Command Set Specification, Revision 1.1, ratified 5 August 2024. https://nvmexpress.org/wp-content/uploads/NVM-Express-Key-Value-Command-Set-Specification-Revision-1.1-2024.08.05-Ratified.pdf (accessed 2026-10-16) - [snia-kvs] SNIA Key Value Storage API Specification, Version 1.1, 28 September 2020. https://www.snia.org/sites/default/files/technical-work/kvsapi/release/SNIA-Key-Value-Storage-API-v1.1.pdf (accessed 2026-10-16) ### Kingman approximation URL: https://hesela.dev/terms/kingman-approximation/ Also known as: Kingman's formula, VUT approximation Status: research Record updated: 2026-11-20 The Kingman approximation estimates mean waiting in a single-server FCFS queue from utilization, mean service time and arrival and service variability. Note: Write E[Q] approximately equal to ((c_a^2 + c_s^2)/2) * rho/(1-rho) * E[S], where rho = lambda E[S], c_a^2 = Var(A)/E[A]^2 and c_s^2 = Var(S)/E[S]^2. A is an interarrival interval, not a request count. The inputs are squared coefficients of variation (SCVs), not unsquared CVs. [practitioners] The usual GI/G/1 interpretation has iid interarrival intervals, iid service times independent of arrivals, one work-conserving nonpreemptive FCFS server, unlimited waiting space, finite second moments and 0 < rho < 1. The heavy-traffic basis concerns a family of queues approaching saturation; it does not certify an arbitrary finite-load estimate or a storage p99. Stronger moment-convergence results need their own regularity conditions. [transform] SCV one does not establish Poisson arrivals. Intervals 0.5 and 3 with probabilities 0.8 and 0.2 have mean one and variance one but are not exponential. Even with equal arrival means and SCVs, exact GI/M/1 mean waits can differ: at 50% utilization and exponential mean-1 ms service, three declared arrival laws give 1, 0.958912 and 0.699539 ms. [hesela-gim1] At mean service 1 ms and service SCV one, changing arrival SCV from 0.25 to 4 changes the estimate from 2.5 to 10 ms at 80% utilization. These are evaluations of an approximation, not observed waits or measured approximation errors. Marginal SCVs do not encode serial correlation or feedback from a closed-loop load generator. [hesela-kingman] Sources and caveats: - Source synthesis plus exact arithmetic applied to an approximate formula; no hardware measurements or simulation. - The original 1961 publisher record establishes attribution; the open 2022 manuscript was used to inspect the theory and its stronger assumptions. Related terms: - [queueing-delay](https://hesela.dev/terms/queueing-delay/) - [service-time](https://hesela.dev/terms/service-time/) - [pollaczek-khinchine-formula](https://hesela.dev/terms/pollaczek-khinchine-formula/) Citations: - [practitioners] Harchol-Balter and Scully: The most common queueing theory questions asked by computer systems practitioners, section 1; VUT expression and SCV definitions. https://www.cs.cmu.edu/~harchol/Papers/TeaPACS21.pdf (accessed 2026-11-19) - [transform] Boon, Janssen and van Leeuwaarden: Heavy-traffic single-server queues and the transform method, arXiv:2206.09844v1 (2022), sections 1-3. https://arxiv.org/abs/2206.09844v1 (accessed 2026-11-19) - [kingman1961] J. F. C. Kingman: The single server queue in heavy traffic, 57(4), 902-904 (1961). Bibliographic provenance; DOI 10.1017/S0305004100036094. https://doi.org/10.1017/S0305004100036094 (accessed 2026-11-19) - [hesela-kingman] Hesela: VUT sensitivity calculations and moment-matched non-Poisson counterexample. https://hesela.dev/research/kingman/README.md (accessed 2026-11-19) - [hesela-gim1] Hesela: Equal arrival moments do not identify mean waiting; GI/M/1 model, primary-source equations and rational numerical certificates. https://hesela.dev/research/gim1-moments/README.md (accessed 2026-11-19) ### KLL sketch URL: https://hesela.dev/terms/kll-sketch/ Also known as: Karnin-Lang-Liberty sketch Status: research Record updated: 2026-11-28 A KLL sketch is a randomized streaming summary that uses weighted compaction to estimate quantiles or ranks with an additive rank-error contract. Note: Compaction retains weighted representatives instead of every input value. The error concerns positions in the ordered observations, not milliseconds. The original paper distinguishes single-query from all-query guarantees and separates mergeable and non-mergeable constructions; do not combine their strongest properties. [kll-paper] A narrow rank interval can cross a large gap in values. DDSketch instead targets relative-value accuracy. Neither contract is automatically a confidence interval for a wider population. [kll-bounds] [ddsketch-paper] With duplicate values, several sorted positions share one value. Record inclusive/exclusive rank and the quantile selection convention. [rank-conventions] Hesela's exact constructed example has 10,000 distinct durations. Its nearest-rank p99 is 10 ms, while the next observation is 1000 ms at rank 0.9901. This is synthetic arithmetic, not an observed KLL output or a device benchmark. No k setting or failure probability is inferred. [hesela-rank-gap] Sources and caveats: - Primary-source synthesis and exact synthetic arithmetic. No KLL execution or storage benchmark. Related terms: - [quantile-sketch](https://hesela.dev/terms/quantile-sketch/) - [quantile](https://hesela.dev/terms/quantile/) - [ddsketch](https://hesela.dev/terms/ddsketch/) - [latency-histogram-bin](https://hesela.dev/terms/latency-histogram-bin/) Citations: - [kll-paper] Karnin, Lang and Liberty. Optimal Quantile Approximation in Streams (2016), definitions 1-2, sections 2 and 4, Table 1. arXiv:1603.05346. https://arxiv.org/abs/1603.05346 (accessed 2026-11-28) - [ddsketch-paper] Masson, Rim and Lee. DDSketch. PVLDB 12(12), 2195-2205 (2019), section 1 and definition 1. DOI 10.14778/3352063.3352135. https://www.vldb.org/pvldb/vol12/p2195-masson.pdf (accessed 2026-11-28) - [kll-bounds] Apache DataSketches: Understanding KLL Bounds, discontinuities and error dimensions. https://datasketches.apache.org/docs/KLL/UnderstandingKLLBounds.html (accessed 2026-11-28) - [rank-conventions] Apache DataSketches: Sketching Quantiles and Ranks Tutorial, duplicates and inclusive/exclusive ranks. https://datasketches.apache.org/docs/QuantilesAll/SketchingQuantilesAndRanksTutorial.html (accessed 2026-11-28) - [hesela-rank-gap] Hesela: p99 accuracy, rank error is not latency error. Constructed example and downloadable tests. https://hesela.com/analyses/quantile-rank-error-latency-gap/ (accessed 2026-11-28) ### Kosmo URL: https://hesela.dev/terms/kosmo/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: Kosmo MRC estimator Status: research Record updated: 2026-11-18 Kosmo estimates miss-ratio curves for supported cache-eviction policies using shared object records and policy-specific eviction maps. Note: Mechanism: eviction maps reconstruct cache states when needed; a histogram of minimum containing-cache sizes becomes the estimated curve. The design also uses SHARDS sampling. [kosmo-paper] Boundary: the output is nonincreasing even for policies that violate inclusion. It cannot exactly represent an upward segment of the actual miss-ratio curve. [kosmo-paper] Policy identity: Kosmo distinguishes ideal LFU, which retains frequency counters for evicted objects, from the modeled reset-on-eviction variant. Reaccess starts the latter counter at one; its resident sets can violate inclusion. A stack-method result for ideal LFU does not automatically apply to this variant. [kosmo-paper] Evaluation: LFU and FIFO used 52 traces, while 2Q and LRFU used 33. The described LRU and MRU variants were not included in the performance evaluation. [kosmo-paper] Alternative: Miniature Simulations evaluates sampled caches at selected capacities; it does not impose the same single-histogram shape. It still has sampling error and configuration costs. [minisim-paper] Exact illustration: the existing FIFO example has 9/12 misses at three slots and 10/12 at four. Any nonincreasing estimate must have maximum absolute error at least 1/24 over those two points. This is an algebraic bound, not a measured Kosmo error or a bound on mean error. [hesela-bound] Sources and caveats: - Source review and exact arithmetic only. No Kosmo implementation was executed. Related terms: - [lrfu](https://hesela.dev/terms/lrfu/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) - [cache-inclusion-property](https://hesela.dev/terms/cache-inclusion-property/) - [belady-anomaly](https://hesela.dev/terms/belady-anomaly/) - [fifo-replacement](https://hesela.dev/terms/fifo-replacement/) - [shards](https://hesela.dev/terms/shards/) Citations: - [kosmo-paper] Shakiba, Sultan and Stumm. Kosmo: Efficient Online Miss Ratio Curve Generation for Eviction Policy Evaluation. FAST 2024. https://www.usenix.org/system/files/fast24-shakiba.pdf (accessed 2026-11-01) - [minisim-paper] Waldspurger, Saemundson, Ahmad and Park. Cache Modeling and Optimization using Miniature Simulations. USENIX ATC 2017, pp. 487-498; sections 1.1 and 3.1-3.2. https://www.usenix.org/system/files/conference/atc17/atc17-waldspurger.pdf (accessed 2026-11-01) - [hesela-bound] Hesela: exact monotone approximation bound from the existing FIFO capacity counts; code and assumptions linked in the companion article. https://hesela.dev/research/monotone-mrc.json (accessed 2026-11-01) ### Kreon URL: https://hesela.dev/terms/kreon/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Also known as: Kreon key-value store Status: research Record updated: 2026-11-10 Kreon is a research key-value store that combines a separate value log with a multilevel index containing a B-tree at each level. Note: Spills update affected parts of the next level instead of rewriting its entire contents. Log cleaning still moves live records and updates their index references. [kreon-thesis] The research design uses a custom kmmap kernel path with page priorities, not only standard mmap. L0 can be reconstructed from the persisted log suffix; its checkpoint reduces replay work. That does not establish durability of every acknowledged insert. [kreon-thesis] Sources and caveats: - The pinned repository describes a multilevel B+-tree index. The dissertation supplies the custom-kernel and recovery discussion; the repository was not executed. [kreon-project] [kreon-thesis] Related terms: - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [value-log](https://hesela.dev/terms/value-log/) - [tucana](https://hesela.dev/terms/tucana/) Citations: - [kreon-thesis] Papagiannis. Memory-Mapped I/O for Fast Storage. PhD dissertation, December 2020, chapter 3, sections 3.2.1-3.2.3. https://tpapagian.github.io/files/apapag_phd_thesis.pdf (accessed 2026-11-10) - [kreon-project] Kreon author repository, pinned README: multilevel B+-tree indexing and benchmark build configurations. https://github.com/CARV-ICS-FORTH/kreon/blob/20d81746783dc1155e69e7f4f40af483059f3ec2/README.md (accessed 2026-11-10) - [hesela-kv] Hesela: Tucana, Kreon and the cost of mapped writes. https://hesela.com/analyses/key-value-separation-cleaning-cost/#mapped-write-cost (accessed 2026-11-10) ### Kuco URL: https://hesela.dev/terms/kuco/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: KucoFS Status: research Record updated: 2026-11-14 Kuco is a research persistent-memory file-system architecture that offloads lookup and concurrency work to userspace while retaining trusted kernel metadata updates. Note: KucoFS implements Kuco. Userspace supplies located metadata addresses, but Kfs validates them and resolves the pathname itself when validation fails. [kuco-paper] Copy-on-write data persistence precedes the metadata log. Read protection is partition-grained, not full POSIX ACL support; atomic-mmap uses private copies and msync, not unrestricted in-place DAX stores. [kuco-paper] Sources and caveats: - Primary-source design synthesis, not a reproduced prototype, hardware measurement or current deployment recommendation. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [dax](https://hesela.dev/terms/dax/) - [aerie](https://hesela.dev/terms/aerie/) - [splitfs](https://hesela.dev/terms/splitfs/) - [madfs](https://hesela.dev/terms/madfs/) Citations: - [kuco-paper] Youmin Chen et al. Scalable Persistent Memory File System with Kernel-Userspace Collaboration. FAST 2021, pp. 81-95, sections 3.2-3.4, 4.2-4.5 and 5.1. https://www.usenix.org/system/files/fast21-chen-youmin.pdf (accessed 2026-11-13) - [hesela-direct-access] Hesela. Direct access does not transfer authority. https://hesela.com/analyses/pmem-persistence-domains-dax/#direct-access-authority (accessed 2026-11-13) ### KVell URL: https://hesela.dev/terms/kvell/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Status: research Record updated: 2026-11-21 KVell is a research key-value store that combines per-worker memory indexes with unsorted slab files and batched direct I/O. Note: Layout: same-size single-page updates overwrite their slab slot instead of entering an LSM compaction pipeline. A cache miss still requires a page read before its rewrite. [kvell-paper] [kvell-slab] Trade-offs: small-item scans can fetch a page per item, and paging the key-location index sharply reduces lookup throughput. The index budget is separate from the data-page cache. [kvell-paper] Recovery: the design assumes power-fail-atomic 4 KiB page writes. Its recovery experiment kills the process, not device power. Ordinary scans return current values per key, not a single snapshot. [kvell-paper] Artifact: the pinned prototype documents no support for items larger than 4 KiB, although the paper describes a multi-block design. KVell+ is a separate snapshot-isolation extension. [kvell-overview] [kvell-project] Limitations: - O_DIRECT alone does not provide O_SYNC durability guarantees; atomic page writes and persistence are separate requirements. [open-manual] [kvell-paper] Sources and caveats: - Full 15-page paper and pinned update source reviewed. No KVell execution, power-loss experiment or benchmark reproduction. - Prototype restrictions are scoped to a6cbc0cb186c7934dc6be785225d809f62730fea, not inferred for every later branch. Related terms: - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [direct-io](https://hesela.dev/terms/direct-io/) - [nvme-atomic-write-unit-power-fail](https://hesela.dev/terms/nvme-atomic-write-unit-power-fail/) - [online-commutative-processing](https://hesela.dev/terms/online-commutative-processing/) Citations: - [kvell-paper] Lepers et al. KVell. SOSP 2019, pp. 447-461, sections 5.2-5.6, 6.5-6.6. DOI: 10.1145/3341301.3359628. https://github.com/BLepers/KVell/blob/a6cbc0cb186c7934dc6be785225d809f62730fea/sosp19-final40.pdf (accessed 2026-11-11) - [kvell-slab] KVell author code, revision a6cbc0cb: slab.c, single-page update callbacks. https://github.com/BLepers/KVell/blob/a6cbc0cb186c7934dc6be785225d809f62730fea/slab.c#L197-L247 (accessed 2026-11-11) - [kvell-overview] KVell author artifact, revision a6cbc0cb: OVERVIEW, prototype scope and item-size limits. https://github.com/BLepers/KVell/blob/a6cbc0cb186c7934dc6be785225d809f62730fea/OVERVIEW.md (accessed 2026-11-11) - [kvell-project] KVell author repository: distinct SOSP KVell and OSDI KVell+ artifacts. https://github.com/BLepers/KVell/blob/a6cbc0cb186c7934dc6be785225d809f62730fea/README.md (accessed 2026-11-11) - [open-manual] Linux man-pages: open(2), O_DIRECT does not provide the synchronized I/O guarantees of O_SYNC. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-11-11) - [hesela] Hesela: KVell, page traffic and persistence assumptions. https://hesela.com/analyses/key-value-separation-cleaning-cost/#kvell-page-cost (accessed 2026-11-11) ### Kyber I/O scheduler URL: https://hesela.dev/terms/kyber/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: Kyber Status: shipping Record updated: 2026-10-23 Kyber is a Linux I/O scheduler that adjusts request-domain concurrency using measured latency and configured targets. Note: Device-wide tokens bound outstanding requests in each domain. In Linux v6.16 the maximum depths are 256 for reads, 128 for writes, 64 for discards and 16 for other requests, and 25 percent of requests are reserved for synchronous operations. [kyber] The default targets are 2 ms for reads, 10 ms for writes and 5 s for discards, and read_lat_nsec and write_lat_nsec take values in nanoseconds. Latency feedback changes domain depths. A target is a control input, not a deadline for every request or an application latency guarantee. [kyber] [kyber-doc] For requests handled by Kyber in v6.16, REQ_OP_WRITE selects the write domain regardless of the synchronous flag. Reserving request capacity for synchronous traffic is a separate mechanism. Neither classification establishes persistence after power loss. [kyber] [cache-control] The v6.16 feedback loop uses histogram-bucket estimates of device-I/O p90 for congestion detection and total block-request p99 for depth adjustment. These populations are not application or fsync latency distributions. [kyber] Advantages: - Separate token pools per domain let reads keep dispatch capacity while writes or discards are throttled. (sources: [kyber]) Limitations: - Each histogram bucket spans one quarter of the target, with 4 buckets at or below it and 4 above, so percentile estimates are coarse. (sources: [kyber]) - Only the read and write targets are documented as sysfs tunables, while the discard target is fixed in source. (sources: [kyber-doc], [kyber]) Sources and caveats: - Scoped to Linux v6.16, where the tunable documentation describes synchronous-write latency whereas kyber_sched_domain classifies all REQ_OP_WRITE requests together. [kyber-doc] [kyber] - kyber is the v6.16 kyber-iosched.c source, re-read on git.kernel.org at the same tag for domain depths, default targets and histogram constants. - kyber-doc and cache-control are the Linux 6.16 documentation pages, re-read for tunable units and flush semantics. - The little-law entry links here because Kyber regulates in-flight concurrency, which Little's law ties to throughput and latency. Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [blk-mq](https://hesela.dev/terms/blk-mq/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [kyber] Linux v6.16: kyber-iosched.c, domain selection and latency feedback. https://github.com/torvalds/linux/blob/v6.16/block/kyber-iosched.c (accessed 2026-10-23) - [kyber-doc] Linux 6.16: Kyber I/O scheduler tunables. https://docs.kernel.org/6.16/block/kyber-iosched.html (accessed 2026-10-23) - [cache-control] Linux 6.16: Explicit volatile write back cache control. https://docs.kernel.org/6.16/block/writeback_cache_control.html (accessed 2026-10-23) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-10-21) ### Label shift URL: https://hesela.dev/terms/label-shift/ Also known as: prior probability shift, target shift Status: unknown Record updated: 2026-11-23 Label shift is a distribution change in which class proportions change while the distribution of features conditional on each class remains unchanged. Note: For source distribution P and target Q, label shift assumes P(X | Y) = Q(X | Y), while class probabilities may differ. This is a specific distribution-shift model, not a synonym for any change between fleets or time periods. [lipton-icml18] With a fixed prediction rule and unchanged class-conditional feature distributions, population recall and false-positive rate remain unchanged. Precision depends on prevalence: TPR x pi / (TPR x pi + FPR x (1 - pi)), where pi is the positive-class proportion and the denominator must be positive. Finite-sample estimates can still vary. [lipton-icml18] In a constructed 10,000-observation example, 80% recall and 10% FPR give precision 4000/4500 with 50% positives and 80/1070 with 1% positives. At the same 1% prevalence, changing the healthy-class alarm rate to 20% gives 80/2060 instead. The last population violates the fixed-rule label-shift model; prevalence alone cannot select the right result. [worked-example] For storage, retain the observation unit, failure definition and prediction horizon. Changes in device mix, telemetry or within-class sampling can change the conditional distributions, so prior correction needs more than a new fleet failure count. [lipton-icml18] Limitations: - Estimating unseen target class proportions with BBSE additionally needs source support for target labels and an invertible expected confusion matrix. (sources: [lipton-icml18]) - Posterior reweighting requires justified probabilities; arbitrary classifier scores do not become calibrated by changing class priors. (sources: [podkopaev-uai21]) Sources and caveats: - 2026-11-23: reviewed Lipton et al., assumptions A.1-A.3 and Lemma 1; definition and fixed-rule rate invariance are distinct from BBSE estimation conditions. - 2026-11-23: reviewed Podkopaev and Ramdas, section 3.2, equation 16, for posterior and calibration scope. - The 10,000-observation populations are exact constructed counts, not measured drives, estimated fleet rates or a reproduction of a published storage experiment. - Device-mix and label-horizon cautions apply the conditional-distribution assumption to storage; no named fleet is asserted to satisfy label shift. - 2026-11-23: added a reciprocal covariate-shift relation, contrasting which conditional distribution is held fixed; existing definition and example unchanged. Related terms: - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [covariate-shift](https://hesela.dev/terms/covariate-shift/) Citations: - [lipton-icml18] Lipton, Wang and Smola. Detecting and Correcting for Label Shift with Black Box Predictors. ICML 2018, assumptions A.1-A.3 and Lemma 1. https://proceedings.mlr.press/v80/lipton18a/lipton18a.pdf (accessed 2026-11-23) - [podkopaev-uai21] Podkopaev and Ramdas. Distribution-free uncertainty quantification for classification under label shift. UAI 2021, section 3.2. https://proceedings.mlr.press/v161/podkopaev21a/podkopaev21a.pdf (accessed 2026-11-23) - [worked-example] Hesela: exact synthetic class-mixture counts and a conditional-shift counterexample. https://hesela.dev/research/label-shift/model.py (accessed 2026-11-23) - [worked-tests] Hesela: exact-count invariance, zero-denominator and invalid-input regression tests. https://hesela.dev/research/label-shift/test_model.py (accessed 2026-11-23) - [cloud-reading] Hesela: cloud disk-error prediction and time-forward evaluation. https://hesela.com/analyses/cloud-disk-error-prediction/ (accessed 2026-11-23) ### Lamport clock URL: https://hesela.dev/terms/lamport-clock/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Lamport logical clock, Scalar logical clock Status: unknown Record updated: 2026-11-10 A Lamport clock assigns scalar logical timestamps that increase along happened-before relations without identifying every causal dependency. Note: For integer counters, increment before each local or send event; timestamp a receive with max(local, message) + 1. Thus a -> b implies C(a) < C(b), but the converse fails. [lamport-clocks] Ordering first by timestamp and then by a fixed order of unique process IDs gives a total order consistent with causality, not elapsed time or proof of communication. [lamport-clocks] COPS (2011) combines a Lamport clock with a unique node identifier to order versions for last-writer-wins conflict handling. It separately checks dependencies before exposing remotely replicated writes. The version number alone does not establish dependency availability. [cops-clocks] Sources and caveats: - Lamport 1978, printed pp. 559-562: Clock Condition, integer implementation and total-order construction. The formula is a valid unit-increment implementation, not a verbatim quotation. - COPS 2011, sections 4.4 and 5.3: version construction and separate dependency checks. Source synthesis, not a system benchmark. Related terms: - [happened-before](https://hesela.dev/terms/happened-before/) - [causal-consistency](https://hesela.dev/terms/causal-consistency/) - [sequential-consistency](https://hesela.dev/terms/sequential-consistency/) Citations: - [lamport-clocks] Leslie Lamport. Time, Clocks, and the Ordering of Events in a Distributed System. Communications of the ACM 21(7), 558-565, July 1978; pp. 559-562. https://lamport.azurewebsites.net/pubs/time-clocks.pdf (accessed 2026-11-10) - [cops-clocks] Lloyd et al. Don't Settle for Eventual: Scalable Causal Consistency for Wide-Area Storage with COPS. SOSP 2011, sections 3, 4.4 and 5.3. https://www.cs.cmu.edu/~dga/papers/cops-sosp2011.pdf (accessed 2026-11-10) ### Late-binding journal URL: https://hesela.dev/terms/late-binding-journal/ Related analysis: https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ Also known as: Late-binding journaling Status: research Record updated: 2026-10-24 A late-binding journal records an operation's logical order before binding its recovery record to the physical locations holding its data. Note: The research design persists containing tree nodes before the corresponding log flush. Recovery reserves referenced nodes before replay. Logging values can remain preferable for small updates because forced node writes reduce batching. [fast16] BetrFS 0.2 recovers through the last completed log flush or checkpoint; a query-visible update alone is not evidence of durability. [fast16] Bindings may name nodes missing from the checkpoint's allocation table. Reserving these nodes prevents replay from reusing blocks that still hold recovery data. [fast16] An unbound insert can bind to a NULL node only after all transactions involving its key-value pair and the deleting transaction commit, while the log has not yet been flushed. This scoped cancellation avoids writing an obsolete value. [fast16] Limitations: - This is a specific research recovery protocol, not a generic filesystem option or proof of hardware power-loss safety. (sources: [fast16]) Sources and caveats: - FAST 2016 BetrFS 0.2, section 3, source-reviewed on 2026-10-23. No implementation or hardware experiment performed. - Section 3 cancellation conditions rechecked on 2026-10-24; the teaching model does not implement this recovery protocol. Related terms: - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [buffered-upsert](https://hesela.dev/terms/buffered-upsert/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [fsync](https://hesela.dev/terms/fsync/) Citations: - [fast16] Jun Yuan et al. Optimizing Every Operation in a Write-optimized File System. FAST 2016, pp. 1-14; section 3 (pp. 3-5), sections 6-7. https://files.usenix.org/s3fs-public/cdn/fast16-papers-yuan.pdf (accessed 2026-10-24) - [hesela-buffered] Hesela. B-epsilon trees: visible updates, deferred work. https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ (accessed 2026-10-23) ### Latency histogram bin URL: https://hesela.dev/terms/latency-histogram-bin/ Also known as: latency bucket Status: research Record updated: 2026-11-20 A latency histogram bin counts observations within a range of measured durations, whose representative value need not equal any individual observation. Note: Histogram precision depends on bin boundaries, not the number of digits printed for a representative. In fio JSON+, duration keys represent intervals; preserve units, latency statistic and histogram layout before combining counts. [fio-hist-manual] A quantile selected from counts belongs to the selected interval. It is not thereby an exact latency or a confidence interval for a population quantile. A threshold inside that interval may leave the number of violations unresolved. Saturating overflow bins need separate treatment because their representative does not cap the observations. [fio-hist-code] Hesela supplies a constructed count example, tested arithmetic and source hashes; no hardware benchmark was run. Counts are combined without reconstructing individual samples, and integer rank comparisons avoid floating-point threshold rounding. [hesela-histogram] A separate executed fio 3.41 null-engine check reconciles 8192 per-I/O completion records with JSON+ bins across four runs. Four other runs with window-mean logging each emit two log rows while their histograms retain 2048 observations. Averaged log rows must not be treated as individual latency samples; equal millisecond timestamps also do not identify duplicate I/Os. These are reporting checks without device transfers. [hesela-log-check] Related terms: - [quantile](https://hesela.dev/terms/quantile/) - [completion-latency](https://hesela.dev/terms/completion-latency/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [coordinated-omission](https://hesela.dev/terms/coordinated-omission/) - [submission-latency](https://hesela.dev/terms/submission-latency/) - [quantile-sketch](https://hesela.dev/terms/quantile-sketch/) - [ddsketch](https://hesela.dev/terms/ddsketch/) - [opentelemetry-exponential-histogram](https://hesela.dev/terms/opentelemetry-exponential-histogram/) Citations: - [fio-hist-manual] fio manual: JSON+ bin midpoints, log_hist_msec and log_hist_coarseness; accessed 21 October 2026. https://fio.readthedocs.io/en/latest/fio_doc.html#json-output (accessed 2026-10-21) - [fio-hist-code] fio 3.41 stat.c: plat_val_to_idx, plat_idx_to_val and count-based percentile selection. https://github.com/axboe/fio/blob/fio-3.41/stat.c (accessed 2026-10-21) - [hesela-histogram] Hesela: histogram precision, strict-threshold bounds and reproducible arithmetic. https://hesela.com/analyses/storage-latency-coordinated-omission/#histogram-resolution (accessed 2026-10-21) - [hesela-log-check] Hesela: executed fio 3.41 null-engine log/histogram reconciliation, raw evidence and replay checker. https://hesela.com/analyses/storage-latency-coordinated-omission/#native-log-check (accessed 2026-10-21) ### Storage latency URL: https://hesela.dev/terms/latency-storage/ Status: shipping Record updated: 2026-11-30 Storage latency is the elapsed time between specified start and completion events for an I/O operation, including any delays inside those measurement boundaries. Note: Specify whether timing begins at application arrival, I/O creation or submission; read delivery and write completion are not interchangeable persistence guarantees. Pool comparable means using the number of observations for each statistic, not an equal weight for each summary row. Check fio latency N: the cited version can emit mean zero for an empty sample set [fio-stat]. Related terms: - [evfs-event-driven](https://hesela.dev/terms/evfs-event-driven/) - [iops](https://hesela.dev/terms/iops/) - [nvme](https://hesela.dev/terms/nvme/) - [coordinated-omission](https://hesela.dev/terms/coordinated-omission/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [submission-latency](https://hesela.dev/terms/submission-latency/) - [completion-latency](https://hesela.dev/terms/completion-latency/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [little-law](https://hesela.dev/terms/little-law/) - [microbenchmark](https://hesela.dev/terms/microbenchmark/) - [service-time](https://hesela.dev/terms/service-time/) - [queueing-delay](https://hesela.dev/terms/queueing-delay/) - [cache-cost-class](https://hesela.dev/terms/cache-cost-class/) Citations: - [c1] Storage latency. https://en.wikipedia.org/wiki/Hard_disk_drive_performance_characteristics (accessed 2026-03-26) - [fio] fio documentation: I/O depth, io_submit_mode and interpreting slat/clat/lat. Online manual reviewed 11 October 2026. https://fio.readthedocs.io/en/master/fio_doc.html (accessed 2026-10-11) - [hesela-latency] Hesela: synthetic arrival cohorts, timing boundaries and percentile pooling. https://hesela.com/analyses/storage-latency-coordinated-omission/ (accessed 2026-10-11) - [fio-stat] fio 3.41 source: stat.c, add_ddir_lat_json and add_ddir_status_json; latency sample counts and directional runtime denominators. https://github.com/axboe/fio/blob/fio-3.41/stat.c#L1410-L1600 (accessed 2026-10-13) - [hesela-populations] Hesela: fio summaries, latency sample populations and runtime denominators; synthetic examples. https://hesela.com/analyses/storage-latency-coordinated-omission/#fio-populations (accessed 2026-10-13) - [hesela-tail] Hesela: Slow RAID hours are not request tail latency; source audit and reproducible counterexamples. https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/ (accessed 2026-10-15) ### Latent sector error URL: https://hesela.dev/terms/latent-sector-error/ Also known as: LSE Status: shipping Record updated: 2026-11-29 A latent sector error is an inaccessible sector whose failure remains undiscovered until that location is accessed. Note: Sector-level inaccessibility does not by itself imply whole-drive failure or irrecoverable array-level loss [lse]. Workload access or scrubbing can reveal the error; the logged discovery time is not necessarily when the sector became inaccessible [sch2010]. A fraction of drives with at least one detected error over an observation period is not an error count per bit read [lse]. Reported-count caution: section 5.2 of SIGMETRICS 2007 prints 53,820 affected drives, 1.53 million drives and 3.45% together. The displayed operands instead give approximately 3.517647%. This is an unresolved inconsistency, not a corrected fleet estimate; the text does not identify which field is wrong. Hesela's exact-arithmetic audit also checks an explicitly assumed rounding envelope. [lse] [reported-count-audit] Limitations: - The 32-month collection window is not equal follow-up for every drive. Nearline write errors handled inside the drive were not visible in these logs, and observation ended on removal. Do not annualize the headline affected-drive fraction or treat it as a modern device rating. (sources: [lse]) Sources and caveats: - The main NetApp analysis in FAST 2010 selects drives with at least twelve months in service and at least one LSE, rather than an unselected fleet [sch2010]. These within-drive results alone do not establish how errors overlap across members of an array. - FAST 2010 reuses a selected subset of the earlier NetApp records; its main analysis is not an independent replication of whole-fleet LSE incidence. [sch2010] Related terms: - [annual-sector-error-rate](https://hesela.dev/terms/annual-sector-error-rate/) - [silent-data-corruption](https://hesela.dev/terms/silent-data-corruption/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-6](https://hesela.dev/terms/raid-6/) - [intra-disk-redundancy](https://hesela.dev/terms/intra-disk-redundancy/) - [pending-sector](https://hesela.dev/terms/pending-sector/) - [unrecoverable-read-error](https://hesela.dev/terms/unrecoverable-read-error/) Citations: - [lse] Bairavasundaram, Goodson, Pasupathy and Schindler. An Analysis of Latent Sector Errors in Disk Drives. SIGMETRICS 2007, sections 4 and 5.2 (PDF page 4). https://research.cs.wisc.edu/adsl/Publications/latent-sigmetrics07.pdf (accessed 2026-11-29) - [hesela-scrub] Hesela: Scrubbing, detection time and repair boundaries. https://hesela.com/analyses/scrubbing-detection-not-durability/ (accessed 2026-10-11) - [sch2010] Schroeder, Damouras and Gill: Understanding latent sector errors and how to protect against them, FAST 2010, section 2. https://www.usenix.org/legacy/events/fast10/tech/full_papers/schroeder.pdf (accessed 2026-11-29) - [reported-count-audit] Hesela: published LSE counts, exact arithmetic, rounding sensitivity and tests. https://hesela.dev/research/lse-reported-counts/README.md (accessed 2026-11-29) ### Lateral charge spreading URL: https://hesela.dev/terms/lateral-charge-spreading/ Also known as: LCS in NAND Status: unknown Record updated: 2026-10-29 Lateral charge spreading is migration of stored charge along a shared trapping layer between neighboring cells in charge-trap NAND. Note: In charge-trap 3D NAND, cells stacked along one bitline share a single charge-trap layer, so trapped charge is not confined to one cell. [luo2018] Lateral charge spreading is the diffusion of that charge into vertically adjacent cells, at a rate proportional to the difference in charge concentration between them. [star] Because each cell's charge is set by its data, the effect is pattern-dependent: a highest-state cell between two erased neighbors is a typical weak pattern. One study characterized such weak patterns on 160 real 3D TLC and QLC chips and reported retention errors as up to 48% of total bit errors. [star] An earlier characterization quantified retention interference: the retention loss of a cell correlates with the state of its vertically adjacent neighbor, as charge leaks from the higher-voltage cell to the lower one through the shared layer. It separately reported early retention loss, where the retention error rate rises by an order of magnitude within about 3 hours of programming. [luo2018] Retention interference names the observation, lateral spreading the mechanism, and neither is program interference. Advantages: - Because the mechanism is tied to neighboring data states, scrambling or remapping data before programming can remove the weakest patterns without changing the cell technology. (sources: [star]) Limitations: - The diffusion path depends on a connected trapping layer, so the effect should not be assumed for floating-gate or other vertical NAND structures without that connection. (sources: [luo2018]) Sources and caveats: - luo2018 read 2026-10-29, sections 4.3 and 4.4, for the shared trap layer, the neighbor-dependent leakage direction and the 3-hour order-of-magnitude rise. - star re-read 2026-10-29, section II-C and the weak-pattern characterization, for the gradient-driven rate, the 160-chip study and the 48% share; its lifetime figures are not used. - The early-retention-loss entry links here because the cited characterization reports early retention loss alongside the neighbor-dependent leakage attributed to this mechanism. - A companion analysis is listed but not used in prose. Related terms: - [charge-trap-flash](https://hesela.dev/terms/charge-trap-flash/) - [retention-interference](https://hesela.dev/terms/retention-interference/) - [early-retention-loss](https://hesela.dev/terms/early-retention-loss/) - [qlc-ssd](https://hesela.dev/terms/qlc-ssd/) - [data-retention](https://hesela.dev/terms/data-retention/) Citations: - [star] Kwon et al. - STAR, arXiv:2511.06249v1 (2025), Section II-C. https://arxiv.org/abs/2511.06249v1 (accessed 2026-10-29) - [evidence-review] Hesela - 3D NAND retention: STAR v1 consistency check. https://hesela.com/analyses/3d-nand-retention-evidence/#star-evidence (accessed 2026-10-16) - [luo2018] Luo et al.: Improving 3D NAND Flash Memory Lifetime by Tolerating Early Retention Loss and Process Variation, arXiv:1807.05140v2. https://arxiv.org/abs/1807.05140v2 (accessed 2026-10-29) ### Layer-to-layer process variation URL: https://hesela.dev/terms/layer-to-layer-process-variation/ Status: shipping Record updated: 2026-11-18 Layer-to-layer process variation is fabrication-induced variation in cell characteristics between the vertical layers of a 3D NAND chip. Note: Etching channels through dozens of stacked layers does not produce identical cells at every depth, so threshold-voltage distributions and raw bit error rates differ by layer within one block. Each page of a block sits in a single layer, so one read reference per block, as used for planar NAND, no longer fits every page. [luo] In MLC chips with 30 to 40 layers worn to 10,000 P/E cycles, the MSB page of the worst middle layer showed 21 times the raw bit error rate of the top layer, and MSB pages averaged 2.4 times the LSB error rate. The top half of the stack had lower error rates than the bottom half, a pattern attributed to cell size changing with depth. [luo] The pattern repeats across blocks and P/E counts, so a per-layer read offset can be learned once per chip. Applying such offsets cut the average raw bit error rate by 43.3% in simulation on the measured data, with a table budget of 2 bytes per layer per chip. The authors estimate under 100 ns for lookup and addition, not end-to-end SSD read latency. [luo] A 2018 survey projected a 300-512-layer limit. This is a historical forecast, not a measured physical ceiling or a present-day fabrication limit. [survey] Advantages: - Grouping pages from weak and strong layers into the same RAID stripe cut the worst-case raw bit error rate by 66.9% at 10,000 P/E cycles, at the cost of one blank wordline per block, under 0.8% of capacity. (sources: [luo]) Limitations: - The cited single-vendor characterization is not a modern SSD fleet failure-rate estimate. (sources: [luo]) - Offsets are learned separately for each chip, and the tested parts were MLC, so the layer ratios above give no direct figure for TLC or QLC stacks. (sources: [luo]) Sources and caveats: - luo is the POMACS 2018 (SIGMETRICS) paper by authors at Carnegie Mellon University, Seagate Technology and ETH Zurich, read in its arXiv v2 copy, sections 4.1-4.2, 5.1 and 6.1-6.2. - survey is the group's arXiv v2 review dated 5 January 2018. Sections 6.1-6.2 describe the then-current layer range and a forecast attributed to references 139 and 152, not a measured ceiling. - The 21x, 2.4x and 30-40 layer values come from section 4.2 and Figure 5, the 43.3%, 2N bytes and 100 ns values from section 6.1, and the 66.9% and 0.8% values from section 6.2. - 2 bytes per layer restates the paper's 2N bytes for N layers, one byte per offset for each of two read references. - The characterization, simulated RBER comparison and controller-overhead estimates are distinct evidence; layer numbers were normalized from 0 to 100. - luo now points to the arXiv record because the earlier author-page URL served an interstitial page on 2026-10-22. Related terms: - [3d-nand](https://hesela.dev/terms/3d-nand/) - [read-retry](https://hesela.dev/terms/read-retry/) - [bit-error-rate](https://hesela.dev/terms/bit-error-rate/) - [cross-temperature-effect](https://hesela.dev/terms/cross-temperature-effect/) - [layer-variation-aware-reading](https://hesela.dev/terms/layer-variation-aware-reading/) - [v-nand](https://hesela.dev/terms/v-nand/) Citations: - [luo] Luo et al. Improving 3D NAND Flash Memory Lifetime by Tolerating Early Retention Loss and Process Variation. POMACS 2018, arXiv:1807.05140v2. https://arxiv.org/abs/1807.05140 (accessed 2026-10-22) - [hesela3d] Hesela: 3D NAND retention, cell architecture and evidence limits. https://hesela.com/analyses/3d-nand-retention-evidence/ (accessed 2026-10-11) - [survey] Cai, Ghose, Haratsch, Luo and Mutlu. Errors in Flash-Memory-Based Solid-State Drives: Analysis, Mitigation, and Recovery. arXiv:1711.11427v2, 2018. https://arxiv.org/abs/1711.11427v2 (accessed 2026-11-18) ### Layer Variation Aware Reading (LaVAR) URL: https://hesela.dev/terms/layer-variation-aware-reading/ Also known as: LaVAR Status: research Record updated: 2026-11-18 Layer Variation Aware Reading adjusts a block's NAND read-reference voltage using a learned offset for its chip and layer. Note: Calibration samples a block and stores layer offsets in a per-chip table. The proposal budgets two one-byte offsets per layer, for Va and Vb; its tested Vc did not need a layer correction. [luo] Linux documents vendor-specific raw-NAND retry modes, not a portable NVMe host interface for installing these tables. [linux] Limitations: - Single-vendor 3D MLC evidence does not establish current TLC or QLC performance. (sources: [luo]) Sources and caveats: - Literature synthesis, not a hardware reproduction. See the linked analysis for the evaluation boundary. Related terms: - [layer-to-layer-process-variation](https://hesela.dev/terms/layer-to-layer-process-variation/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) - [read-retry](https://hesela.dev/terms/read-retry/) Citations: - [luo] Luo et al. Improving 3D NAND Flash Memory Lifetime by Tolerating Early Retention Loss and Process Variation. POMACS 2018, sections 4.1 and 6.1. https://ghose.cs.illinois.edu/papers/18sigmetrics_3dflash.pdf (accessed 2026-11-18) - [linux] Linux MTD NAND driver API: nand_setup_read_retry. https://docs.kernel.org/driver-api/mtdnand.html (accessed 2026-11-18) - [hesela] Hesela: layer-specific voltage correction and evidence scope. https://hesela.com/analyses/nand-read-retry-latency/#layer-variation-aware-reading (accessed 2026-11-18) ### Lazy Adaptive Replacement Cache URL: https://hesela.dev/terms/lazy-adaptive-replacement-cache/ Also known as: LARC Status: research Record updated: 2026-11-29 Lazy Adaptive Replacement Cache filters flash-cache admission through an adaptive history of recently requested, uncached block identifiers. Note: LARC keeps resident blocks in an LRU queue Q and candidate identifiers, without payload, in a separate queue Qr. A request missing both queues goes to backing storage and records only its identifier, even when flash space is free. A later Qr match admits the block; a resident hit updates Q. [larc] The history target Cr grows on resident misses and shrinks on resident hits, between 10% and 90% of resident capacity C. Algorithm 1 does not trim Qr in its resident-hit branch, so the target is not an instantaneous occupancy bound. [larc] CacheSack calls its related policy AdmitOnSecondMiss and uses a recency condition. Its production implementation also suppresses insertions for very recent reuse likely served by a lower-tier RAM buffer. These implementation-specific timing rules should not be substituted for LARC's original queue algorithm. [cachesack] Limitations: - Always-on filtering delays admission after working-set changes; the mARC authors identify this warm-up trade-off when motivating state-dependent filtering. (sources: [marc]) - The historical flashcache prototype can fail to allocate a block because dirty or locked residents cannot be reused; it returns the candidate to Qr's LRU end. (sources: [larc]) Sources and caveats: - Primary-source synthesis of the 2013 algorithm and later comparisons; no new device measurements or reproduction of reported speedups. Related terms: - [cache-admission](https://hesela.dev/terms/cache-admission/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [cachesack](https://hesela.dev/terms/cachesack/) - [marc](https://hesela.dev/terms/marc/) - [fomo-cache-admission](https://hesela.dev/terms/fomo-cache-admission/) Citations: - [larc] Huang, Wei, Chen, Chen and Feng. Improving Flash-based Disk Cache with Lazy Adaptive Replacement. MSST 2013, sections III and V.B; Algorithm 1. https://msstconference.org/MSST-history/2013/Papers/2013.Paper.28.pdf (accessed 2026-11-29) - [marc] Santana, Lyons, Koller, Rangaswami and Liu. To ARC or not to ARC. HotStorage 2015, sections 2.4 and 3. https://files.usenix.org/s3fs-public/cdn/hotstorage15-santana.pdf (accessed 2026-11-29) - [cachesack] Yang et al. CacheSack: Admission Optimization for Google Datacenter Flash Caches. USENIX ATC 2022, sections 5.2 and 7.1. https://www.usenix.org/system/files/atc22-yang-tzu-wei.pdf (accessed 2026-11-29) ### Lazy leveling URL: https://hesela.dev/terms/lazy-leveling/ Status: research Record updated: 2026-11-10 Lazy leveling combines tiering at smaller LSM-tree levels with leveling at the largest level. Note: Dayan and Idreos introduce this policy in Dostoevsky. Its point-lookup analysis co-optimizes Bloom-filter allocation; short range lookups retain a larger startup cost. It still performs merges when data moves down the tree. [dostoevsky] Related terms: - [fluid-lsm-tree](https://hesela.dev/terms/fluid-lsm-tree/) - [leveled-compaction](https://hesela.dev/terms/leveled-compaction/) - [tiered-compaction](https://hesela.dev/terms/tiered-compaction/) - [sorted-run](https://hesela.dev/terms/sorted-run/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) Citations: - [dostoevsky] Dayan and Idreos. Dostoevsky. SIGMOD 2018, pp. 505-520; sections 4.1-4.3 and Figure 8. DOI: 10.1145/3183713.3196927. https://nivdayan.github.io/dostoevsky.pdf (accessed 2026-11-10) ### LazyBase URL: https://hesela.dev/terms/lazybase/ Status: research Record updated: 2026-11-11 LazyBase is a research database that batches updates while letting read queries trade result freshness for query cost. Note: The EuroSys 2012 prototype applies self-consistent updates (SCUs) atomically and gives each query a consistent snapshot. An old snapshot need not mix parts of an atomic batch. Updates supply replacement values; the service does not support general read-modify-write transactions. [lazybase-2012] Queries read the merged authority plus pipeline batches needed for their freshness requirement. Sorted batches have indexes; unsorted batches require scans. Relaxing freshness can avoid those scans, without promising a fixed speedup. [lazybase-2012] The FAST 2014 production design uses independent filesystem-segment batches and disables client-requested freshness in the early product. FreshnessComplete marks the boundary before which every segment's events have been observed; FreshnessPartial marks the latest event processed anywhere. Coverage between them is incomplete, so the upper timestamp is not a completeness watermark for incremental backup. [express-query-2014] That design also removed auto-increment ID remapping because it could destroy pathname sort locality, require joins and scans, and serialize ingestion. [express-query-2014] Illustration: with completeness at 10:00 and the latest event at 10:05, another segment's 10:03 event may still be absent. Advancing a backup cursor to 10:05 can skip it. This example is constructed, not a measurement. Sources and caveats: - Source synthesis of the research prototype and a separate historical production design, not a benchmark reproduction or a claim of current product availability. - The FAST 2014 system is StoreAll Express Query. The EuroSys 2012 evaluation uses tweets and synthetic data on its stated hardware/Cassandra configuration; the reported comparisons do not establish performance against current releases. [lazybase-2012] [express-query-2014] Related terms: - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [monotonic-reads](https://hesela.dev/terms/monotonic-reads/) - [replication-lag](https://hesela.dev/terms/replication-lag/) - [pbs-k-staleness](https://hesela.dev/terms/pbs-k-staleness/) Citations: - [lazybase-2012] Cipar et al. LazyBase: Trading Freshness for Performance in a Scalable Database. EuroSys 2012, 169-182, sections 3-4. DOI: 10.1145/2168836.2168854. https://istc-cc.cmu.edu/publications/papers/2012/euro166-cipar.pdf (accessed 2026-11-11) - [express-query-2014] Johnson et al. From Research to Practice: Engineering a Production Metadata Database for a Scale Out File System. FAST 2014, 191-198, sections 3.1-3.3. https://www.usenix.org/conference/fast14/technical-sessions/presentation/johnson (accessed 2026-11-11) - [hesela-consistency] Hesela: Storage consistency, ordering, transactions and durability. https://hesela.com/analyses/storage-consistency-ordering/ (accessed 2026-11-11) ### LazyFTL URL: https://hesela.dev/terms/lazyftl/ Also known as: Lazy flash translation layer Status: research Record updated: 2026-11-09 LazyFTL is a research page-level flash translation layer that delays global mapping updates using separate update and cold-block areas. Note: LazyFTL separates a flash-resident global mapping table (GMT) from an SRAM update mapping table (UMT). The latter tracks pages in update and cold-block areas, including entries already propagated to GMT. [lazy2011] Conversion batches mapping-page updates and reclassifies a block without copying its user pages; garbage collection still moves live pages and erases blocks. [lazy2011] Recovery must reconstruct volatile state. Section 6.4 outlines alternatives using NOR bookkeeping, mapping-area records or age-bounded block discovery; its repeated-conversion algorithm is not supplied. [lazy2011] Advantages: - Conversion can incorporate pending updates from other blocks when they share the mapping pages being rewritten. (sources: [lazy2011]) Limitations: - Evaluation uses a trace-driven 1 GB SLC model with wear leveling omitted; it does not benchmark DFTL. (sources: [lazy2011]) - The recovery design is not evidence of power-cut validation on a shipping SSD. (sources: [lazy2011]) Sources and caveats: - Historical source synthesis, not a reproduced implementation or measured device benchmark. Source locators and SHA-256 are retained in the research ledger. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [page-level-mapping](https://hesela.dev/terms/page-level-mapping/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [translation-page](https://hesela.dev/terms/translation-page/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) Citations: - [lazy2011] Ma, Feng and Li. LazyFTL: A Page-level Flash Translation Layer Optimized for NAND Flash Memory. SIGMOD 2011, sections 3.2, 4.1-4.2 and 6.1-6.4. https://dbgroup.cs.tsinghua.edu.cn/ligl/papers/sigmod2011-lazyftl.pdf (accessed 2026-11-09) ### Lazy timestamp persistence URL: https://hesela.dev/terms/lazytime/ Related analysis: https://hesela.com/analyses/rsync-delta-shifted-blocks/ Also known as: lazytime, MS_LAZYTIME Status: shipping Record updated: 2026-11-09 Lazytime is a Linux filesystem policy that defers writing selected inode timestamp changes to storage while retaining their updated values in memory. Note: The policy applies to atime, mtime and ctime. Documented persistence triggers include other inode changes, fsync(), syncfs(), sync(), eviction of an undeleted inode and aged timestamp writeback. strictatime and lazytime can be combined: update selection and persistence are separate decisions. [linux-mount-flags] Do not interpret the manual's 24-hour description as an unconditional durability deadline. Linux v6.12 initializes its dirtytime interval to 12 hours and describes possible two-interval behavior; dirtytime_expire_seconds tunes both writeback eligibility and worker wakeups. [linux-dirtytime-v612] [linux-vm-dirtytime] fdatasync() may omit atime and mtime updates because those fields are not needed to retrieve file data. It is not interchangeable with fsync() when timestamp persistence matters. Neither policy establishes payload identity or a consistent backup snapshot. [linux-fsync] Advantages: - Can defer timestamp-only inode writes while keeping current timestamps visible in memory. Limitations: - Timestamp updates still pending in memory may be lost in a crash. - A scheduling interval is not proof that a particular update reached storage. Sources and caveats: - Source synthesis, with implementation details scoped to Linux v6.12; no crash test or measured performance claim. Related terms: - [relatime](https://hesela.dev/terms/relatime/) - [file-access-time](https://hesela.dev/terms/file-access-time/) - [file-modification-time](https://hesela.dev/terms/file-modification-time/) - [inode-change-time](https://hesela.dev/terms/inode-change-time/) - [fsync](https://hesela.dev/terms/fsync/) - [fdatasync](https://hesela.dev/terms/fdatasync/) Citations: - [linux-mount-flags] Linux mount(2): MS_LAZYTIME and timestamp policy. https://man7.org/linux/man-pages/man2/mount.2.html (accessed 2026-11-09) - [linux-dirtytime-v612] Linux v6.12 fs/fs-writeback.c: dirtytime interval and writeback. https://github.com/torvalds/linux/blob/v6.12/fs/fs-writeback.c#L53 (accessed 2026-11-09) - [linux-vm-dirtytime] Linux 6.12 VM documentation: dirtytime_expire_seconds. https://docs.kernel.org/6.12/admin-guide/sysctl/vm.html#dirtytime-expire-seconds (accessed 2026-11-09) - [linux-fsync] Linux fsync(2): timestamp metadata and fdatasync. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-09) - [hesela-timestamp-policies] Hesela: timestamp selection is separate from persistence. https://hesela.com/analyses/rsync-delta-shifted-blocks/#timestamp-policies (accessed 2026-11-09) ### LDPC (NAND ECC) URL: https://hesela.dev/terms/ldpc/ Related analysis: https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ Also known as: low-density parity-check code Status: shipping Record updated: 2026-11-22 An LDPC code is an error-correcting linear block code defined by a sparse parity-check matrix. Note: In NAND, repeated sensing can supply confidence information for iterative decoding; the code family alone does not specify the recovery policy. In the 2011 simulation, BCH dimensions (n,k)=(9152,8256) and LDPC dimensions (9118,8225) give different exact rates that both round to 0.9021. The tested LDPC code with hard decisions was only slightly better than the BCH baseline, while one extra bit of reliability from additional reads recovered almost all of the gain of full soft information. [wang2011] For four-level cells, six reads recovered more than half of the gap between three-read hard decoding and full soft precision, with diminishing returns per read. [wang2014] With a rate-8/9 code over 4 KB, soft decoding with six extra sensing levels tolerated about three times the raw bit error rate of BCH at a failure target of 1e-15, while hard-decision LDPC tolerated only slightly more. Seven-level sensing took about 125 µs and transferring the results about 80 µs, against about 8 µs of decoding. Trying hard decisions first still lengthened reads by 25 to 120% at 10,000 program/erase cycles, with a 28.8% hard-decoding failure probability. [zhao2013] With 83 µs per hard read and 213 µs per soft read, a 28.8% fallback rate gives an average of 83 + 0.288 x 213 = about 144 µs. Read thresholds that maximise mutual information also minimise frame errors for a well-designed code, but not for a code with a high error floor from small absorbing sets. [wang2014] For erasure peeling, stopping distance belongs to the chosen check matrix; stopping redundancy counts checks needed to match minimum distance, not stored parity bits. [schwartz2006] Absorbing and fully absorbing sets impose different strict check-majority conditions. [dolecek2010] [trapping-example] Advantages: - Combining look-ahead sensing, progressive sensing and data-placement interleaving reduced the worst modeled read-response-time increase from over 100% to below 20% in the studied traces. (sources: [zhao2013]) Limitations: - The best code at one read precision is typically not the best at another, so code and quantisation have to be designed together. (sources: [wang2014]) Sources and caveats: - The 2011 and 2014 papers have a co-author at a chip company (Inphi), which also supported the 2014 work with a gift; the 2013 study is university work. - All three results are simulations on modelled or specifically measured chips with codes designed by the authors. - Latencies and the 28.8% failure probability are from 25 nm planar MLC devices of the time and one simulator, not from current devices. - Arithmetic: 8,256 / 9,152 and 8,225 / 9,118 both round to 0.9021; 55 + 20 + 8 = 83 µs and 125 + 80 + 8 = 213 µs; the 144 µs average ignores queueing and lower pages and lies within the paper's 25 to 120% range. - Stopping-set theory concerns erasures with correct surviving symbols; it does not quantify noisy NAND soft-decoding gains. - The Wang 2014 simulations quantize channel observations while internal decoder messages remain floating point; they do not validate a fixed-point controller. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [ssd](https://hesela.dev/terms/ssd/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [read-retry](https://hesela.dev/terms/read-retry/) - [soft-decision-decoding](https://hesela.dev/terms/soft-decision-decoding/) - [log-likelihood-ratio](https://hesela.dev/terms/log-likelihood-ratio/) - [bit-error-rate](https://hesela.dev/terms/bit-error-rate/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [codeword](https://hesela.dev/terms/codeword/) - [raw-bit-error-rate](https://hesela.dev/terms/raw-bit-error-rate/) - [uncorrectable-bit-error-rate](https://hesela.dev/terms/uncorrectable-bit-error-rate/) - [flash-controller](https://hesela.dev/terms/flash-controller/) - [code-rate](https://hesela.dev/terms/code-rate/) - [stopping-set](https://hesela.dev/terms/stopping-set/) - [stopping-distance](https://hesela.dev/terms/stopping-distance/) - [stopping-redundancy](https://hesela.dev/terms/stopping-redundancy/) - [absorbing-set](https://hesela.dev/terms/absorbing-set/) - [fully-absorbing-set](https://hesela.dev/terms/fully-absorbing-set/) - [trapping-set](https://hesela.dev/terms/trapping-set/) Citations: - [c1] LDPC (NAND ECC). https://en.wikipedia.org/wiki/Low-density_parity-check_code (accessed 2026-03-26) - [wang2011] Wang, Courtade, Shankar and Wesel. Soft Information for LDPC Decoding in Flash: Mutual-Information Optimized Quantization. IEEE GLOBECOM 2011, sections II-IV. https://www.seas.ucla.edu/csl/files/publications/Jiadong_GC2011.pdf (accessed 2026-10-11) - [wang2014] Wang et al. Enhanced Precision Through Multiple Reads for LDPC Decoding in Flash Memories. Author manuscript arXiv:1309.0566v4, 2014, sections IV and V.D. https://arxiv.org/abs/1309.0566v4 (accessed 2026-10-11) - [hesela-ldpc] Hesela: LDPC in NAND, the read cost of confidence. https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ (accessed 2026-10-11) - [zhao2013] Zhao, Zhao, Sun, Zhang, Zhang and Zheng. LDPC-in-SSD: Making Advanced Error Correction Codes Work Effectively in Solid State Drives. USENIX FAST 2013. https://www.usenix.org/system/files/conference/fast13/fast13-final125.pdf (accessed 2026-10-16) - [schwartz2006] Schwartz and Vardy. On the Stopping Distance and the Stopping Redundancy of Codes. arXiv:cs/0503058v2, section II. https://arxiv.org/pdf/cs/0503058v2 (accessed 2026-11-22) - [dolecek2010] Dolecek et al. Analysis of Absorbing Sets and Fully Absorbing Sets of Array-Based LDPC Codes (2010), Definition 1. DOI 10.1109/TIT.2009.2034781. https://people.eecs.berkeley.edu/~bora/Journals/2010/IT-10.pdf (accessed 2026-11-22) - [trapping-example] Hesela: executable synthetic parity-graph and decoder-dependent witness. https://hesela.dev/research/ldpc-absorbing.mjs (accessed 2026-11-22) ### LeaFTL URL: https://hesela.dev/terms/leaftl/ Also known as: Learning-based flash translation layer Status: research Record updated: 2026-11-09 LeaFTL is a research flash translation layer that compresses logical-to-physical page mappings into learned linear segments. Note: Approximate segments have a bounded address error. The predicted page's out-of-band metadata identifies neighboring logical pages, allowing correction with one additional flash access in the described design. This is address verification, not permission to return an approximate payload. [lea2023] The published evaluation includes both a simulator and an open-channel SSD prototype. The latter runs the FTL on the host; it is not a survey of retail SSD firmware. [lea2023] The public artifact documents simulation experiments using WiscSim, PyPy2 and external traces, with substantial CPU and memory requirements. [artifact] Without protected DRAM, the described recovery scans flash, rebuilds block-validity counters and relearns recently allocated blocks. The prototype's reported 101.3 ms mean segment-reconstruction time is only one component of its 15.8-minute mean recovery, measured after intentional system restarts. These are author-reported prototype results, not a retail-SSD recovery bound. [lea2023] Advantages: - Compressing mappings can leave more controller memory available for data caching. (sources: [lea2023]) Limitations: - Lookup correction relies on the bounded-error and metadata design; compression alone does not establish crash consistency or a universal latency bound. (sources: [lea2023]) Sources and caveats: - Primary-source synthesis. No benchmark replication, power-cut experiment or independent peer review is claimed. LeaFTL (ASPLOS 2023) and LearnedFTL (HPCA 2024) are distinct designs. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [translation-page](https://hesela.dev/terms/translation-page/) - [page-level-mapping](https://hesela.dev/terms/page-level-mapping/) - [reverse-mapping-ftl](https://hesela.dev/terms/reverse-mapping-ftl/) - [learnedftl](https://hesela.dev/terms/learnedftl/) Citations: - [lea2023] Sun et al. LeaFTL: A Learning-Based Flash Translation Layer for Solid-State Drives. ASPLOS 2023, sections 3-5; DOI 10.1145/3575693.3575744. https://jianh.web.engr.illinois.edu/papers/leaftl-asplos2023.pdf (accessed 2026-11-09) - [artifact] LeaFTL author artifact: simulation setup, workloads and reproduction commands. https://github.com/platformxlab/LeaFTL (accessed 2026-11-09) - [analysis] Hesela: SSD mapping caches, learned lookup validation and evaluation boundaries. https://hesela.com/analyses/ssd-mapping-cache-hmb/#research (accessed 2026-11-09) ### Leaky-bucket meter URL: https://hesela.dev/terms/leaky-bucket-meter/ Also known as: Leaky bucket, Leaky bucket as a meter Status: shipping Record updated: 2026-11-12 A leaky-bucket meter tracks work as a level that rises with charges and drains at a configured rate to assess conformance. Note: Mechanism: work increases the level while elapsed time reduces it toward zero. This is the meter interpretation of a leaky bucket, not a promise of uniformly spaced completions. QEMU v9.2.0 uses this accounting to delay disk I/O and supports bursts. [qemu-code] [qemu-doc] Accounting: with QEMU iops-size set to 4096 bytes, a 6144-byte request costs 1.5 operations; requests of at most 4096 bytes cost one unit. Drives in one throttle group share limits on their combined I/O. [qemu-code] [qemu-doc] Limitations: - A limiter's charging and waiting rules must be distinguished from the storage device's completion behavior. (sources: [qemu-code]) Sources and caveats: - Pinned QEMU v9.2.0 source review; no virtual-machine benchmark. Documentary default bucket sizes and exact burst-duration examples are not reproduced. Related terms: - [token-bucket](https://hesela.dev/terms/token-bucket/) - [iops](https://hesela.dev/terms/iops/) - [io-request-size](https://hesela.dev/terms/io-request-size/) - [queue-depth](https://hesela.dev/terms/queue-depth/) Citations: - [qemu-doc] QEMU v9.2.0: disk-I/O throttling, operation charging and throttle groups. https://raw.githubusercontent.com/qemu/qemu/v9.2.0/docs/throttle.txt (accessed 2026-11-12) - [qemu-code] QEMU v9.2.0: throttle_leak_bucket, throttle_compute_wait and throttle_account. https://raw.githubusercontent.com/qemu/qemu/v9.2.0/util/throttle.c (accessed 2026-11-12) - [hesela-bursts] Hesela: rate limits, burst budgets and shared SSD queues. https://hesela.com/analyses/ssd-fairness-shared-queues/#rate-burst-scope (accessed 2026-11-12) ### LeanStore URL: https://hesela.dev/terms/leanstore/ Status: research Record updated: 2026-11-15 LeanStore is a research storage engine that manages database pages across RAM and SSDs while reducing buffer-management and synchronization overhead. Note: 2018 design: Pointer swizzling replaces a page identifier with a memory pointer on the hot path. Each page has one owning reference; parents with swizzled children cannot be evicted. [leanstore-2018] Cooling: An unswizzled page can remain in RAM in a FIFO queue. A new access can restore its pointer without reading storage. Before reuse, the minimum active thread epoch must exceed the page's unswizzling epoch; waiting in the queue alone is insufficient. [leanstore-2018] Later design: The 2023 vmcache uses hardware page translation with explicit database-controlled reads and eviction, not ordinary file-backed mmap. Its basic form uses standard OS primitives; exmap is a separate Linux extension for scalable page-table manipulation. [vmcache-2023] Version scope: The implementation repository distinguishes pointer-swizzling branches from VMCache branches. Neither the 2018 replacement protocol nor a later feature list describes every revision. [implementation] Sources and caveats: - Source synthesis, not a native LeanStore execution, crash test or reproduced benchmark. - The 2018 storage-manager comparison disabled transactions, logging, compaction and compression in the comparison engines; its TPC-C workload was not a full transactional-throughput benchmark. [leanstore-2018] - The pinned README separates feature branches. It is evidence of version organization, not verification of recovery behavior. [implementation] Related terms: - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) - [clock-replacement](https://hesela.dev/terms/clock-replacement/) - [llama](https://hesela.dev/terms/llama/) Citations: - [leanstore-2018] Leis, Haubenschild, Kemper and Neumann. LeanStore. ICDE 2018, pp. 185-196; sections III-IV and V-A. DOI 10.1109/ICDE.2018.00026. https://db.in.tum.de/~leis/papers/leanstore.pdf (accessed 2026-11-15) - [vmcache-2023] Leis, Alhomssi, Ziegler, Loeck and Dietrich. Virtual-Memory Assisted Buffer Management. SIGMOD 2023; sections 3-4. https://www.cs.cit.tum.de/fileadmin/w00cfj/dis/_my_direct_uploads/vmcache.pdf (accessed 2026-11-15) - [implementation] LeanStore official README at fcb64bf39cf69c435173f76e062cbb305a9a998f: Cite, VMCache and Pointer Swizzling versions. https://github.com/leanstore/leanstore/blob/fcb64bf39cf69c435173f76e062cbb305a9a998f/README.md (accessed 2026-11-15) - [metadata] Technical University of Munich: LeanStore ICDE 2018 publication metadata, authors, pages and DOI. https://portal.fis.tum.de/en/publications/leanstore-in-memory-data-management-beyond-main-memory/ (accessed 2026-11-15) - [hesela-buffered] Hesela: B-epsilon trees and the trade-offs of buffered index updates. https://hesela.com/analyses/b-epsilon-trees-buffered-updates/ (accessed 2026-11-15) ### Leap URL: https://hesela.dev/terms/leap/ Also known as: Leap prefetcher Status: research Record updated: 2026-11-15 Leap is a research remote-memory system that combines majority-based page prefetching with a streamlined Linux RDMA data path. Note: History, not the whole working set: Leap tracks page-access differences on the paging path, avoiding continuous observation of local-memory hits. Small recent windows are searched first and expanded when no strict majority exists. [paper] Verify the vote: Boyer-Moore produces a candidate even when no value exceeds half the window. A counting pass is needed to establish a majority; the pinned Leap function performs that check. This verifies past frequency, not the next request. [majority] [code] Version boundary: Algorithm 2 describes reuse of the previous trend when no new majority is found and the prefetch window remains nonzero. In the pinned swapin_readahead function, failed detection instead jumps to the aligned-cluster fallback. Do not silently equate this revision with the evaluated implementation. [paper] [code] Resource trade-off: Prefetching spends bandwidth and cache space before demand. Leap adapts its request window using prefetch hits, separately from the history window used to detect a stride. Short-lived irregularity and permanently random access therefore need different responses. [paper] Prototype scope: The README lists Linux 4.4.0/4.11.0 and specific RDMA hardware and driver versions. Remote I/O selection and custom prefetching have separate controls. These are historical prerequisites, not current Linux compatibility claims. [readme] Worked examples: A balanced alternating history has no strict majority. A small recent window can select a new stride even when the full history favors the old one. The deterministic model also gets zero of four predictions right after an unseen phase change. Inputs, denominators and code are downloadable. [example] [model] Sources and caveats: - Source review plus synthetic algorithm examples, not a native Leap run or an RDMA performance replication. - The model isolates strict-majority detection on complete histories; it does not reproduce kernel initialization, adaptive prefetch sizing, fallback traffic or cache eviction. - The paper/code distinction identifies two inspected descriptions, not the revision used for the published measurements. No universal speedup or crash-durability guarantee is inferred. Related terms: - [infiniswap](https://hesela.dev/terms/infiniswap/) - [fastswap](https://hesela.dev/terms/fastswap/) Citations: - [paper] Al Maruf and Chowdhury. Effectively Prefetching Remote Memory with Leap. USENIX ATC 2020, pp. 843-857; sections 3-6. https://www.usenix.org/system/files/atc20-maruf.pdf (accessed 2026-11-15) - [majority] J Strother Moore: The Boyer-Moore Majority Vote Algorithm, author explanation. https://www.cs.utexas.edu/~moore/best-ideas/mjrty/index.html (accessed 2026-11-15) - [code] Leap authors: trend verification and swapin_readahead fallback, revision 13787f2. https://github.com/SymbioticLab/Leap/blob/13787f2bb5e4cf830e7ff05c189a81c295645022/mm/swap_state.c (accessed 2026-11-15) - [readme] Leap authors: dependencies, code organization and independent runtime controls, revision 13787f2. https://github.com/SymbioticLab/Leap/blob/13787f2bb5e4cf830e7ff05c189a81c295645022/README.md (accessed 2026-11-15) - [example] Hesela: deterministic majority-window examples and phase-change counterexample. https://hesela.dev/research/leap-trend.json (accessed 2026-11-15) - [model] Hesela: executable educational majority-window model. https://hesela.dev/research/leap-trend.mjs (accessed 2026-11-15) ### Learned Bloom filter URL: https://hesela.dev/terms/learned-bloom-filter/ Also known as: Sandwiched learned Bloom filter Status: research Record updated: 2026-11-10 A learned Bloom filter combines a membership classifier with a backup filter containing stored keys that the classifier rejects. Note: The classifier's positive answer is a candidate, not an exact lookup. Every stored key rejected at the chosen threshold must enter the backup filter; this supplies the no-false-negative property for the represented set, not classifier accuracy alone. The original SIGMOD design evaluates absent queries from a held-out workload. [learned-index] Let a be the classifier-positive fraction of absent queries and b the backup-positive fraction conditional on classifier rejection. Total FPR is a + (1-a)b. The denominator contains absent queries only. A changed query distribution can change a without changing the stored keys. [learned-model] A sandwiched design first checks a Bloom filter holding all stored keys, then the classifier and backup. Its exact probability decomposition is p0 times [a0 + (1-a0)b0], where a0 and b0 are conditional on reaching their stages. Using unconditioned rates instead needs a justified model of the hash construction and query selection. [hesela-example] Memory comparisons include the learned model and every filter. Replacing a model or threshold can change which stored keys need backup coverage; revalidate that coverage before publishing the replacement. [learned-index] The sandwiched design trades extra hash work for early rejection; its theoretical space optimum is not a universal throughput result. [learned-model] Limitations: - A held-out false-positive rate is not a distribution-free guarantee for later queries. (sources: [learned-model]) Sources and caveats: - Primary-source synthesis and an exact rational probability example; no model training, device measurement or paper benchmark replication. Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [sstable](https://hesela.dev/terms/sstable/) - [proteus-range-filter](https://hesela.dev/terms/proteus-range-filter/) Citations: - [learned-index] Kraska, Beutel, Chi, Dean and Polyzotis. The Case for Learned Index Structures. SIGMOD 2018, section 5.1. DOI: 10.1145/3183713.3196909. https://www.cl.cam.ac.uk/~ey204/teaching/ACS/R244_2018_2019/papers/Kraska_SIGMOD_2018.pdf (accessed 2026-11-10) - [learned-model] Mitzenmacher. A Model for Learned Bloom Filters and Optimizing by Sandwiching. NeurIPS 2018, sections 3-5. https://proceedings.neurips.cc/paper_files/paper/2018/file/0f49c89d1e7298bb9930789c8ed59d48-Paper.pdf (accessed 2026-11-10) - [hesela-example] Hesela: exact hypothetical learned-filter probabilities and conditional-stage counterexample; not a trained-model benchmark. https://hesela.dev/research/learned-bloom/README.md (accessed 2026-11-10) ### LearnedFTL URL: https://hesela.dev/terms/learnedftl/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Status: research Record updated: 2026-11-22 LearnedFTL is a research page-level flash translation layer that supplements a mapping cache with bitmap-qualified address prediction. Note: After a cached-mapping miss, a per-logical-page bitmap selects either a model-derived address or the translation-page fallback. A set bit marks an exact prediction for that mapping, not permission to read approximate data. The paper clears the bit on an overwrite. [paper] Virtual physical page numbers make parallel placement easier to model. Group-based allocation brings related mappings together for training during garbage collection. [paper] In the pinned author artifact, model_predict compares its prediction with the emulator's mapping table, while the bitmap-clearing block in ssd_write is commented out. In ssd_read, model_hit_num increases before model eligibility and prediction success are checked; a failed prediction can still reach the translation-page fallback. That counter therefore does not, by itself, count successful avoided translation reads. This is a static observation of the pinned source, not a demonstrated data-loss event or a reproduced performance result. [code] LeaFTL is a different design. Its bounded-error segments use out-of-band metadata to correct mispredictions. Similar names do not make the algorithms or evaluation artifacts interchangeable. [lea] The HPCA evaluation uses FEMU and reimplemented comparison algorithms. Retention-rewrite training is proposed but not evaluated there: the emulator lacks that rewrite mechanism, so the evaluated model training uses garbage collection. [paper] Advantages: - A qualified prediction can avoid a mapping-page read even when the mapping cache misses. (sources: [paper]) Limitations: - A historical accuracy bit must remain consistent with the current mapping; prediction coverage is not a crash-recovery guarantee. (sources: [paper], [code]) - The artifact's setup requires a virtual machine and substantial host memory. (sources: [artifact]) Sources and caveats: - Primary-paper synthesis and a static review of the pinned author implementation. No emulator run, hardware test, benchmark replication or independent review is claimed. - The counter interpretation follows source control flow; it does not establish the numerical impact on published graphs. Paper design and inspected artifact are distinguished. Related terms: - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [leaftl](https://hesela.dev/terms/leaftl/) - [dftl](https://hesela.dev/terms/dftl/) - [global-translation-directory](https://hesela.dev/terms/global-translation-directory/) - [translation-page](https://hesela.dev/terms/translation-page/) - [ftl](https://hesela.dev/terms/ftl/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) Citations: - [paper] Wang et al. LearnedFTL: A Learning-Based Page-Level FTL for Reducing Double Reads in Flash-Based SSDs. HPCA 2024, sections III-IV. https://ranger.uta.edu/~jiang/publication/Conferences/2024/HPCA24%28LearnedFTL%29.pdf (accessed 2026-11-22) - [code] LearnedFTL author artifact, commit 4702166cdc8daf32008a65a79f72ad991c2a991d: model_predict, ssd_read and ssd_write. https://github.com/astlxmu/LearnedFTL/blob/4702166cdc8daf32008a65a79f72ad991c2a991d/hw/femu/bbssd/ld-tpftl.c (accessed 2026-11-22) - [artifact] LearnedFTL author artifact: build, virtual-machine setup and FTL selection at the inspected commit. https://github.com/astlxmu/LearnedFTL/blob/4702166cdc8daf32008a65a79f72ad991c2a991d/README.md (accessed 2026-11-22) - [lea] Sun et al. LeaFTL: A Learning-Based Flash Translation Layer for Solid-State Drives. ASPLOS 2023, section 3. https://jianh.web.engr.illinois.edu/papers/leaftl-asplos2023.pdf (accessed 2026-11-22) - [analysis] Hesela: SSD mapping caches, learned lookup validation and evaluation boundaries. https://hesela.com/analyses/ssd-mapping-cache-hmb/#research (accessed 2026-11-22) ### Learning Relaxed Belady URL: https://hesela.dev/terms/learning-relaxed-belady/ Also known as: LRB Status: research Record updated: 2026-11-19 Learning Relaxed Belady is a learned cache replacement policy that predicts request-index time to the next access for sampled eviction candidates. Note: Relaxed Belady permits eviction beyond a future-request boundary instead of requiring the farthest future request. LRB learns this task online; it does not receive future requests at eviction time. [paper] In the pinned simulator, rank() uses LRU before a model exists, or when the oldest resident reaches the memory-window age. Otherwise it samples distinct residents, predicts their scores and chooses the highest. The default sample count is 64. [code] [header] Training distinguishes observed reuse from timeout labels. On reuse, the distance runs from the sampling request to the later request. When nonresident metadata expires, forget() supplies twice the memory window instead. Training stores log1p(distance); the timeout value is a surrogate, not an observed return time. [code] [header] Good decision ratio counts qualifying evictions divided by all eviction decisions, not saved bytes. Section 6.4 reports a case where a competitor has a higher ratio but worse byte miss ratio. [paper] The observed label is a residual request-index interval, computed as next request minus sample index, not a count of distinct objects or necessarily the full interval since the last access. In A B B B A, sampling A after index 2 (zero-based) gives residual 2, full interval 4 and distinct-entry distance 1. The code records sample age separately as sample index minus last access. [code] [header] [labels] With a model present and all resident ages below the window, the pinned sampler requires 64 distinct residents by default. Fewer residents cannot fill that set, so rank() cannot reach prediction. A bounded source-function probe confirms the loop boundary; capping the sample budget restores return in its fixtures. [code] [probe] Sources and caveats: - Primary-paper/source review plus an isolated rank() probe with injected model presence and a prediction test double; no model training, full simulator replay or reproduction of CDN performance results. - The NSDI landing-page abstract reports 5-24% WAN reduction; the retained full-paper abstract and section 6.4 report 4-25%. No single performance range is promoted here. Related terms: - [farthest-in-future-replacement](https://hesela.dev/terms/farthest-in-future-replacement/) - [least-hit-density](https://hesela.dev/terms/least-hit-density/) - [reuse-time](https://hesela.dev/terms/reuse-time/) Citations: - [paper] Song, Berger, Li and Lloyd. Learning Relaxed Belady for Content Distribution Network Caching. NSDI 2020, pp. 529-544, sections 3-4 and 6.4. https://www.pdl.cmu.edu/PDL-FTP/associated/nsdi20-paper-song.pdf (accessed 2026-11-19) - [code] LRB author simulator, lrb.cpp: lookup, forget and rank; commit 9e8b4423383c01c4528deb447f152f0437a37c3a. https://github.com/sunnyszy/lrb/blob/9e8b4423383c01c4528deb447f152f0437a37c3a/src/caches/lrb.cpp (accessed 2026-11-19) - [header] LRB author simulator, lrb.h: training labels, sample count and default objective; commit 9e8b4423383c01c4528deb447f152f0437a37c3a. https://github.com/sunnyszy/lrb/blob/9e8b4423383c01c4528deb447f152f0437a37c3a/include/webcachesim/caches/lrb.h (accessed 2026-11-19) - [analysis] Hesela: learning a useful victim and measuring the right objective. https://hesela.com/analyses/sieve-cache-eviction-traces/#learned-belady (accessed 2026-11-19) - [labels] Hesela. Constructed request-clock and sampling-origin examples, with executable source and tests. https://hesela.dev/research/lrb-label-clock/results.json (accessed 2026-11-19) - [probe] Hesela. Pinned rank() sampling-cardinality probe, fallback controls and local cap comparison. https://hesela.dev/research/lrb-sampling/README.md (accessed 2026-11-19) ### Least Hit Density URL: https://hesela.dev/terms/least-hit-density/ Also known as: LHD Status: research Record updated: 2026-11-28 Least Hit Density is a cache replacement policy that ranks objects by predicted hits per byte-access of remaining occupancy. Note: LHD divides conditional hit probability by object size times expected remaining lifetime. Time is counted in accesses, not seconds; age resets on a reference. Remaining lifetime excludes occupancy already spent. Hit and eviction outcomes both contribute to the lifetime estimate. [lhd-paper] LHD learns separate distributions of hit and eviction ages for object classes, then conditions on the candidate's current age. Classification can use reference history or application identity. These are estimates, not the next access time of an individual object. [lhd-paper] The score is not a request hit ratio or byte hit ratio. For constructed candidates A and B, probabilities 0.8 and 0.4, sizes 100 and 50 bytes, and remaining lifetimes 10 and 2 accesses give 0.0008 and 0.004 hits per byte-access. B has five times the density despite half the hit probability; ignoring lifetime would incorrectly tie them. [worked] The released simulator approximates victim selection by sampling and also considering recently admitted objects. It starts with eight sampled candidates, then uses the configured count after more than 50 reconfigurations. Its model accumulates hit and eviction histograms; object size is applied separately when obtaining a rank. [lhd-code] [lhd-header] In a constructed completed-lifetime ledger, one hit occupying 100 bytes for 2 accesses and one eviction occupying 100 bytes for 8 accesses yield 1/1000 hits per byte-access. Omitting the eviction overstates density fivefold. [worked] Limitations: - The eviction policy influences the observations used for learning; early eviction can hide later reuse. The pinned simulator assigns explorer status only during early reconfigurations and when its remaining exploration budget is positive. (sources: [lhd-paper], [lhd-code], [lhd-header]) - The pinned simulator gives the last age bucket its lowest rank before adding any explorer bonus. That bucket begins before the overflow counter increments, so zero overflows does not rule out terminal ranks. (sources: [lhd-header], [boundary]) Sources and caveats: - Source review plus constructed arithmetic, not a replication of LHD hit-rate or RankCache throughput experiments. The public JSON links its calculation module. [worked] - The paper evaluates Memcachier and Microsoft Research traces with workload-specific preparation. Reported savings are not guarantees for other traces, storage tiers or hardware. [lhd-paper] - The CMU-CORGI repository contains an idealized simulator, not the RankCache system implementation. Its README describes a cache without fragmentation. [lhd-readme] - The boundary probe supplies class scores and a fixed coarsening shift; it does not run learning, adaptation or victim sampling and does not measure hit-rate impact. [boundary] Related terms: - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) - [byte-hit-ratio](https://hesela.dev/terms/byte-hit-ratio/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [gl-cache](https://hesela.dev/terms/gl-cache/) - [learning-relaxed-belady](https://hesela.dev/terms/learning-relaxed-belady/) Citations: - [lhd-paper] Beckmann, Chen and Cidon. LHD: Improving Cache Hit Rate by Maximizing Hit Density. NSDI 2018, pp. 389-403, sections 3.1-3.5. https://www.usenix.org/system/files/conference/nsdi18/nsdi18-beckmann.pdf (accessed 2026-10-30) - [lhd-code] CMU-CORGI/LHD. lhd.cpp: rank, update and modelHitDensity; commit 806ef466160c5e968efcc60d1e6476ab802f7f55. https://github.com/CMU-CORGI/LHD/blob/806ef466160c5e968efcc60d1e6476ab802f7f55/lhd.cpp (accessed 2026-10-30) - [lhd-header] CMU-CORGI/LHD. lhd.hpp: getHitDensity and simulation parameters; commit 806ef466160c5e968efcc60d1e6476ab802f7f55. https://github.com/CMU-CORGI/LHD/blob/806ef466160c5e968efcc60d1e6476ab802f7f55/lhd.hpp (accessed 2026-10-30) - [lhd-readme] CMU-CORGI/LHD. README: simulation scope and trace requirements; commit 806ef466160c5e968efcc60d1e6476ab802f7f55. https://github.com/CMU-CORGI/LHD/blob/806ef466160c5e968efcc60d1e6476ab802f7f55/README (accessed 2026-10-30) - [worked] Hesela. LHD density accounting: constructed candidates, completed lifetimes and executable arithmetic. https://hesela.dev/research/lhd-density.json (accessed 2026-10-30) - [boundary] Hesela. Native LHD age-boundary probe: pinned functions, seven cases and integer-threshold tests. https://hesela.dev/research/lhd-age-boundary/README.md (accessed 2026-11-28) ### LeCaR URL: https://hesela.dev/terms/lecar/ Also known as: Learning Cache Replacement Status: research Record updated: 2026-11-14 LeCaR is a cache replacement policy that learns a probability distribution over LRU and LFU eviction choices from remembered eviction mistakes. Note: An eviction expert is sampled using its current weight, rather than always choosing the larger weight. A miss on a remembered victim penalizes the responsible expert; the original design discounts this penalty with time spent outside the cache and uses a fixed learning rate. [lecar-paper] Both experts describe the same resident cache, not two independently running caches. In the pinned implementation, agreement on a victim bypasses attribution history; an entry forgotten from bounded history also cannot trigger a later weight penalty. Absence of a penalty therefore does not certify a good eviction. [lecar-code] CACHEUS revisits the expert pair and adapts the learning rate to address workload-dependent weaknesses. [cacheus-paper] Sources and caveats: - Primary-paper and pinned-source review. No author simulator execution or reproduction of workload hit rates. - The consensus-eviction detail is scoped to the linked implementation, not asserted as a line in the original LeCaR pseudocode. Related terms: - [cacheus](https://hesela.dev/terms/cacheus/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [lfu-replacement](https://hesela.dev/terms/lfu-replacement/) Citations: - [lecar-paper] Vietri et al. Driving Cache Replacement with ML-based LeCaR. HotStorage 2018, sections 3-4. https://www.usenix.org/system/files/conference/hotstorage18/hotstorage18-paper-vietri.pdf (accessed 2026-11-14) - [cacheus-paper] Rodriguez et al. Learning Cache Replacement with CACHEUS. FAST 2021, pp. 341-354, sections 3-6. https://www.usenix.org/system/files/fast21-rodriguez.pdf (accessed 2026-11-14) - [lecar-code] LeCaR author implementation: evict, addToHistory, miss and adjustWeights; commit 1eec63ce166502be33ddd1f35bc041ed73a24f4d. https://github.com/sylab/cacheus/blob/1eec63ce166502be33ddd1f35bc041ed73a24f4d/code/algs/lecar.py (accessed 2026-11-14) - [hesela] Hesela: source-reviewed eviction feedback cases. https://hesela.com/analyses/sieve-cache-eviction-traces/#expert-feedback (accessed 2026-11-14) ### Left-truncation URL: https://hesela.dev/terms/left-truncation/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: Delayed entry Status: shipping Record updated: 2026-11-05 Left-truncation is selection into a time-to-event sample only after a unit has survived to its observation-entry time. Note: A drive already several years old at the start of a study enters the observed risk set at that age, not at birth. Drives that failed before entry are absent. This differs from right-censoring, which limits follow-up after entry, and from an unknown or missing age value. Models for a lifetime-from-birth question must account for delayed entry under their stated assumptions. Adjusting risk sets alone does not remove informative-entry bias or identify survival before the earliest supported entry age. [schisterman-2013] Related terms: - [selection-bias](https://hesela.dev/terms/selection-bias/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [drive-day](https://hesela.dev/terms/drive-day/) - [survival-function](https://hesela.dev/terms/survival-function/) - [kaplan-meier-estimator](https://hesela.dev/terms/kaplan-meier-estimator/) - [length-biased-sampling](https://hesela.dev/terms/length-biased-sampling/) Citations: - [oakley-2024] Oakley, Forshaw, Philipson and Wilson (2024), Examining the impact of critical attributes on hard drive failure times, sections 1-3. https://doi.org/10.1002/asmb.2829 (accessed 2026-10-10) - [hesela-age-audit] Hesela: Missing SMART ages and the limits of drive-age comparisons. https://hesela.com/analyses/backblaze-age-missing-data-audit/ (accessed 2026-10-11) - [schisterman-2013] Schisterman et al. (2013): Accuracy Loss Due to Selection Bias in Cohort Studies with Left Truncation, Discussion. https://pmc.ncbi.nlm.nih.gov/articles/PMC6151356/ (accessed 2026-10-13) ### Leftover service curve URL: https://hesela.dev/terms/leftover-service-curve/ Also known as: Residual service curve, Blind-multiplexing service bound Status: shipping Record updated: 2026-11-20 A leftover service curve lower-bounds the service available to a selected flow after accounting for competing traffic. Note: Blind multiplexing: strict aggregate beta and cross-traffic envelope alpha2 yield the ordinary residual curve max(0,beta-alpha2) when that curve is nondecreasing. This accounts for bursts, not just average utilization. [netcal-book] For strict beta(u)=R*max(0,u-T), alpha2(u)=b2+r2*u for u>0 and r2 w but does not itself check primality. Callers must enforce the code's parameter contract. Liber8tion is a separate constructor for w=8, not permission to pass eight to the Liberation formula. [jerasure] Hesela's finite checker verifies all 544 two-device erasure sets across 22 configurations: w in {3,5,7,11}, 2 <= k <= w. These are exhaustive counts within that grid, not device-failure probabilities or a proof for every prime. Deliberately evaluating the formula outside its contract at k=4, w=9 loses recoverability when D0 and D3 are erased. [hesela-results] For k=w=5, 21 of the 25 data positions affect two parity symbols and four affect three, averaging 54/25 = 2.16 under equal weighting. Changing D1 symbol 2 affects P2, Q1 and Q2. Those three symbol locations occupy three blocks with one symbol per block, but only two blocks if all five positions on each parity device share a block. This counts locations, not physical writes: reads, batching, logging and durability are outside the model. [hesela-results] Removing the extra Q coefficients lowers update counts but breaks two-device recovery. A direct-XOR encoder and exhaustive small-payload checks independently test the matrix implementation. [hesela-tests] Sources and caveats: - Source synthesis and deterministic algebraic verification; no measured drive reliability or hardware benchmark. - Known device erasures remove all their symbol positions. Surviving positions must be intact, correctly identified and from one consistent codeword version. - The checker intentionally accepts only odd primes 3..31 and 2 <= k <= w; published enumerations stop at w=11. This implementation bound is not a limit on the published family. Related terms: - [liber8tion](https://hesela.dev/terms/liber8tion/) - [raid-6](https://hesela.dev/terms/raid-6/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) Citations: - [plank2008] James S. Plank. The RAID-6 Liberation Codes. FAST 2008, pp. 97-110; sections 3.1-3.4, 6 and 7. https://www.usenix.org/legacy/events/fast08/tech/full_papers/plank/plank.pdf (accessed 2026-11-22) - [jerasure] Jerasure liberation.c at commit 414c96ef2b9934953b6facb31d803d79b1dd1405: Liberation and Liber8tion constructors. https://github.com/tsuraan/Jerasure/blob/414c96ef2b9934953b6facb31d803d79b1dd1405/src/liberation.c (accessed 2026-11-22) - [hesela-results] Hesela: Exact finite results, update-location example and composite-parameter negative control. https://hesela.dev/research/liberation/results.json (accessed 2026-11-22) - [hesela-code] Hesela: Standalone Python GF(2) model and result generator. https://hesela.dev/research/liberation/model.py (accessed 2026-11-22) - [hesela-tests] Hesela: Independent direct-XOR oracle, exhaustive tiny payloads and negative controls. https://hesela.dev/research/liberation/test_model.py (accessed 2026-11-22) - [hesela-method] Hesela: Methods, units, assumptions and reproduction steps. https://hesela.dev/research/liberation/README.txt (accessed 2026-11-22) ### LightNVM URL: https://hesela.dev/terms/lightnvm/ Status: eol Record updated: 2026-11-17 LightNVM was a Linux subsystem for open-channel SSDs that exposed device geometry and physical-address I/O to host-managed translation layers. Note: Support: The upstream subsystem, including pblk, was removed in Linux 5.15. Historical setup guides describe compatible kernels and OCSSD interfaces, not current upstream support. [removal] [release] Responsibility: The FAST 2017 PPA interface exposes channels and parallel units for host placement and scheduling; ECC and read-threshold tuning remain on the device. Physical access does not mean controller-free raw NAND. [paper] pblk: This host FTL presents ordinary block I/O, maps logical to physical addresses at 4 KiB granularity and handles garbage collection, errors and recovery. The paper's host buffer can acknowledge a write before media persistence; flush drains it and can add padding to meet NAND programming granularity. [pblk] [paper] Measurement: Most FAST 2017 experiments used factory state with pblk's rate-limiter disabled unless stated otherwise. Reduced read/write interference in that setup is not a general steady-state latency guarantee. [paper] Interface: ZNS exposes logical zones and a zone state machine, not LightNVM's physical-page interface. Removing the Linux subsystem does not establish the end of every OCSSD userspace stack. [zns] [removal] Sources and caveats: - Source synthesis, not a hardware experiment or performance reproduction. EOL describes the removed upstream kernel subsystem, not the availability of every downstream or userspace implementation. - The paper's Table 2 gives 80 MB/s for the four-active-PU RocksDB sequential-write case; nearby prose gives 88 MB/s. That discrepancy is unresolved, so no exact speed ratio is derived from it. [paper] - The upstream v5.14 drivers/Kconfig includes LightNVM; v5.15 removes it. Versioned source checks confirm the release boundary independently of the historical setup page. [removal] [release] Related terms: - [open-channel-ssd](https://hesela.dev/terms/open-channel-ssd/) - [ftl](https://hesela.dev/terms/ftl/) - [zns](https://hesela.dev/terms/zns/) - [sdf](https://hesela.dev/terms/sdf/) - [pblk](https://hesela.dev/terms/pblk/) Citations: - [paper] Bjorling, Gonzalez and Bonnet. LightNVM: The Linux Open-Channel SSD Subsystem. FAST 2017, pp. 359-374, sections 2-5. https://www.usenix.org/system/files/conference/fast17/fast17-bjorling.pdf (accessed 2026-11-17) - [pblk] Linux v5.14: pblk Physical Block Device Target responsibilities. https://github.com/torvalds/linux/blob/v5.14/Documentation/driver-api/lightnvm-pblk.rst (accessed 2026-11-17) - [removal] Linux commit 9ea9b9c48387: remove the lightnvm subsystem, 2021. https://github.com/torvalds/linux/commit/9ea9b9c48387edc101d56349492ad9c0492ff78d (accessed 2026-11-17) - [release] Linux NVMe maintainer: first round of NVMe updates for Linux 5.15, 18 August 2021. https://lists.infradead.org/pipermail/linux-nvme/2021-August/027027.html (accessed 2026-11-17) - [zns] Zoned Storage: NVMe Zoned Namespaces, logical zones and device-managed media reliability. https://zonedstorage.io/docs/introduction/zns (accessed 2026-11-17) ### LightTx URL: https://hesela.dev/terms/lighttx/ Related analysis: https://hesela.com/analyses/linux-atomic-writes-durability/ Also known as: LightTx transactional SSD Status: research Record updated: 2026-12-04 LightTx is a research SSD architecture that separates device-side transaction recovery from host-side concurrency control. Note: Writes carry transaction identifiers; commit makes their mappings visible. Page-independent commit permits overlapping page updates without delegating read isolation to the SSD. Internal block zones bound transaction-state tracking; these are not an NVMe Zoned Namespace interface. [lighttx-tc15] Limitations: - The paper evaluates a DiskSim-based simulator, not a shipping SSD. Its results do not establish present-day device support. (sources: [lighttx-tc15]) Sources and caveats: - Full-text review: sections 3.1-3.4 and 4.1-4.2; Figure 7. No experiment reproduced. PDF SHA-256: a9c13bd1635a3d83d9d86e34e256189d38780a7722210fefb4ecc995d3a51ea9. Related terms: - [txflash](https://hesela.dev/terms/txflash/) Citations: - [lighttx-tc15] Lu, Shu, Guo, Li and Mutlu. High-Performance and Lightweight Transaction Support in Flash-Based SSDs. IEEE TC 64(10), 2015. DOI: 10.1109/TC.2015.2389828. https://pdl.cmu.edu/PDL-FTP/NVM/lightweight-ssd-transactions-light-tx_ieee-tc15.pdf (accessed 2026-12-04) ### Limplock URL: https://hesela.dev/terms/limplock/ Status: unknown Record updated: 2026-11-21 Limplock is sustained slow progress caused by degraded hardware when a system cannot shift affected work to healthy resources. Note: Scope: Operation, node and cluster limplock distinguish affected requests from wider resource exhaustion. Slow work can occupy shared workers or build queues that obstruct otherwise healthy work. [do-socc13] Detection: A timeout that measures silence can miss continuous but inadequate progress. Retries may revisit the same slow resource, or leave earlier work occupying the capacity needed for recovery. [do-socc13] Isolation: Separating operation classes and destinations can contain propagation. A successful crash-failover test alone does not exercise slow-progress recovery. [do-hotcloud13] Limitations: - The 2013 experiments concern historical implementations and injected slowdowns, not the incidence of this behavior in current deployments. (sources: [do-socc13]) Sources and caveats: - Full SoCC 2013 paper read, DOI 10.1145/2523616.2523627. Tested Hadoop/HDFS 1.0.4, ZooKeeper 3.4.5, Cassandra 1.2.3 and HBase 0.94.2; 56 experiments across 22 protocols, repeated 3-5 times. Not independently reproduced. - HotCloud 2013 is the earlier position and exploratory study, not independent corroboration of the later SoCC experiments. Source PDFs retained privately with SHA-256 hashes. Related terms: - [fail-slow](https://hesela.dev/terms/fail-slow/) - [gray-failure](https://hesela.dev/terms/gray-failure/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [backpressure](https://hesela.dev/terms/backpressure/) Citations: - [do-socc13] Do et al. Limplock: Understanding the Impact of Limpware on Scale-Out Cloud Systems. SoCC 2013, sections 3-6. https://raw.githubusercontent.com/ucare-uchicago/ucare-html/main/pdf/socc13-limplock.pdf (accessed 2026-11-21) - [do-hotcloud13] Do and Gunawi. The Case for Limping-Hardware Tolerant Clouds. HotCloud 2013, sections 3-5. https://www.usenix.org/system/files/conference/hotcloud13/hotcloud13-do.pdf (accessed 2026-11-21) - [hesela-failslow] Hesela: Fail-slow hardware: 101 reports, not a fleet failure rate. https://hesela.com/analyses/fail-slow-hardware-types/ (accessed 2026-11-21) ### Linear recording density URL: https://hesela.dev/terms/linear-recording-density/ Also known as: linear bit density, BPI, bits per inch Status: shipping Record updated: 2026-10-23 Linear recording density is the number of recorded bits per unit distance along a recording track. Note: Bits per inch (BPI) measures the along-track dimension; it is not track density, which counts tracks across the medium. BPI multiplied by TPI gives local areal density when their recording conditions and bit-count conventions match. [density-demo] Specify whether the count describes user bits or encoded channel bits. Flux changes per inch are a distinct quantity and must not be substituted without the recording-code relationship. [density-demo] In a 2018 HAMR demonstration, the displayed user areal density already allows for error-correction overhead, and raw written density is 13% higher. Recovering the user value requires division by 1.13. Subtracting 13% of the raw value uses the wrong denominator. [density-coding] For a circular track at radius r inches, BPI x 2 x pi x r gives bits per revolution. Multiplying by RPM/60 gives idealized bits passing one head per second, using the same bit convention. This geometric result excludes workload effects and does not itself measure host throughput. [hdd-card] Sources and caveats: - Seagate's 2019 slide 14 distinguishes kBPI from kfci; the geometry is dimensional arithmetic, not a drive benchmark. [density-demo] Related terms: - [areal-density](https://hesela.dev/terms/areal-density/) - [track-density](https://hesela.dev/terms/track-density/) - [hdd](https://hesela.dev/terms/hdd/) - [prml-encoding](https://hesela.dev/terms/prml-encoding/) - [zoned-bit-recording](https://hesela.dev/terms/zoned-bit-recording/) Citations: - [density-demo] Seagate: HDD Technology Update, Library of Congress DSA 2019, slide 14. https://digitalpreservation.gov/meetings/DSA2019/Day_1/05_trantham_LibraryOfCongress_2019_Trantham_Seagate.pdf (accessed 2026-10-19) - [density-manual] Seagate: Enterprise Capacity 3.5 HDD v4 SAS Product Manual, 100726011 Rev. A, May 2014, sections 3.5 and 4.1. https://www.seagate.com/www-content/product-content/enterprise-hdd-fam/enterprise-capacity-3-5-hdd/constellation-es-4/en-us/docs/100726011a.pdf (accessed 2026-10-19) - [hdd-card] Hesela: Hard Disk Drive, density and transfer-rate interpretation. https://hesela.com/tech/hdd/ (accessed 2026-10-19) - [density-coding] Seagate: Disk Drive Technology Trends, Library of Congress DSA 2018, slide 10. https://www.digitalpreservation.gov/meetings/DSA2018/Day_1/5_TO_P2-2_Trantham_Disk_Trends.pdf (accessed 2026-10-19) ### Linearizability URL: https://hesela.dev/terms/linearizability/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Linearizable consistency Status: shipping Record updated: 2026-11-28 Linearizability requires concurrent operations on an object to behave as a legal sequential execution that preserves the real-time order of non-overlapping operations. Note: Each completed operation can be placed at a point between invocation and response. Retained pending calls also preserve real-time order in the completed extension. [linearizability-typo] An overlapping write may finish before a read responds without having to precede that read in the legal order. [herlihy-wing] Separate linearizable reads and writes do not make a client's read-modify-write sequence atomic. Persistence across failures needs an explicit recovery contract. The property is local: a history is linearizable if and only if its restriction to each object is linearizable, so objects can be implemented and verified independently. Its specification is nonblocking: a pending total operation has a legal response without completing another pending operation. An implementation may nevertheless block or deadlock; linearizability alone does not guarantee wait-free progress. Sequential consistency drops the real-time order and is not local, and serializability is neither local nor nonblocking. [herlihy-wing] Testing a recorded run means searching for a legal order of its operations. Splitting a set history by key applies the locality idea inside one object. On histories of 560,000 call and return entries from 4 threads, a key-partitioned checker averaged under 7 s and 401 MiB on two benchmarks where cache-pruned search averaged 81 s and 94 s at 678 MiB. [p-compositionality] Advantages: - Clients can treat each operation as one instantaneous step and reuse the sequential specification of the object when reasoning about concurrent use. (sources: [herlihy-wing]) Limitations: - Checking whether a single run is linearizable is NP-complete in general, with a worst-case search space of O(N!) in the run length, so test tools depend on pruning. (sources: [p-compositionality]) Sources and caveats: - herlihy-wing read 2026-10-23, sections 2.2 and 3.1 to 3.3, for the definition, locality, the nonblocking theorem and the comparison with other conditions. - p-compositionality read 2026-10-23, sections 1 and 5.2, for complexity, history sizes, run times and memory figures. - A companion analysis on ordering and durability is listed but not used in prose. - Herlihy and Wing section 3.2 re-read 2026-11-16: Theorem 2 concerns a legal history extension, not implementation progress. Related terms: - [durable-linearizability](https://hesela.dev/terms/durable-linearizability/) - [serializability](https://hesela.dev/terms/serializability/) - [read-your-writes](https://hesela.dev/terms/read-your-writes/) - [monotonic-reads](https://hesela.dev/terms/monotonic-reads/) - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [read-atomic-isolation](https://hesela.dev/terms/read-atomic-isolation/) - [fractured-read](https://hesela.dev/terms/fractured-read/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [session-guarantees](https://hesela.dev/terms/session-guarantees/) - [sequential-consistency](https://hesela.dev/terms/sequential-consistency/) - [strict-serializability](https://hesela.dev/terms/strict-serializability/) - [safe-register](https://hesela.dev/terms/safe-register/) - [regular-register](https://hesela.dev/terms/regular-register/) - [raft](https://hesela.dev/terms/raft/) - [tango](https://hesela.dev/terms/tango/) - [scalog](https://hesela.dev/terms/scalog/) - [gryff](https://hesela.dev/terms/gryff/) - [pineapple](https://hesela.dev/terms/pineapple/) - [hermes-replication](https://hesela.dev/terms/hermes-replication/) - [safety-property](https://hesela.dev/terms/safety-property/) - [strict-linearizability](https://hesela.dev/terms/strict-linearizability/) - [atomic-register](https://hesela.dev/terms/atomic-register/) Citations: - [herlihy-wing] Herlihy and Wing. Linearizability: A Correctness Condition for Concurrent Objects. ACM TOPLAS 12(3), 1990, sections 2.2 and 3.1 to 3.3. https://www.cs.cmu.edu/~wing/publications/HerlihyWing90.pdf (accessed 2026-10-23) - [etcd-guarantees] etcd v3.6 API guarantees: durability, strict serializability and operation completion. https://etcd.io/docs/v3.6/learning/api_guarantees/ (accessed 2026-10-12) - [hesela-consistency] Storage consistency: ordering is not a transaction or a durability promise. https://hesela.com/analyses/storage-consistency-ordering/ (accessed 2026-10-12) - [p-compositionality] Horn and Kroening. Faster Linearizability Checking via P-Compositionality. FORTE 2015, arXiv 1504.00204, sections 1 and 5. https://arxiv.org/abs/1504.00204 (accessed 2026-10-23) - [linearizability-typo] Sela, Herlihy and Petrank. Linearizability: A Typo. arXiv:2105.06737v2 (2021), sections 3.1 and 4. https://arxiv.org/pdf/2105.06737v2 (accessed 2026-11-28) ### Link count URL: https://hesela.dev/terms/link-count/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: hard-link count, st_nlink, stx_nlink Status: shipping Record updated: 2026-11-15 A link count is filesystem metadata reporting the number of hard links to an object, subject to filesystem-specific counting conventions. Note: Meaning: Linux exposes the hard-link count as st_nlink in stat results and stx_nlink in statx results. It counts links, not processes, open descriptors or independent copies. The count does not identify the names that refer to the file. [link-count-inode] Lifetime: For ordinary local Linux files, removing the final hard link can leave an open file usable through an existing descriptor. A zero link count therefore does not establish that the file is no longer in use, that its blocks have been reclaimed or that its data has been securely erased. Network-filesystem behavior needs separate qualification. [link-count-unlink] Observation: stat() follows a final symbolic link, whereas lstat() reports the link object itself; fstat() reports the object selected by a descriptor. Choose the object before comparing counts. Linux also warns that different stat fields can describe different moments during a call. A multi-file inventory needs its own consistency boundary; matching counts alone cannot identify matching hard-link groups. [link-count-stat] Directories: Do not treat the link count as a portable count of child entries. The ext4 on-disk documentation describes DIR_NLINK using i_links_count = 1 when the directory's hard-link count is not known. This is a directory-count convention, not evidence that a regular file has only one name. [link-count-ext4] Advantages: - Helps describe namespace linkage when the filesystem supplies an exact count and the observation scope is controlled. Limitations: - Equal link counts do not prove equal hard-link relationships or independent backups. - A count does not enumerate names or measure open references; directory conventions can differ from regular-file counting. Sources and caveats: - Primary-source synthesis of Linux man-pages and ext4 format documentation; no new filesystem, recovery or large-directory experiment was performed. - The inventory and backup-acceptance guidance is an engineering inference, not a claim that stat provides an atomic snapshot. - Human context: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#link-count-observation Related terms: - [hard-link](https://hesela.dev/terms/hard-link/) - [inode](https://hesela.dev/terms/inode/) - [unlink](https://hesela.dev/terms/unlink/) - [directory](https://hesela.dev/terms/directory/) Citations: - [link-count-inode] Linux man-pages: inode(7), hard-link count fields. https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-11-15) - [link-count-unlink] Linux man-pages: unlink(2), last link and open-file lifetime. https://man7.org/linux/man-pages/man2/unlink.2.html (accessed 2026-11-15) - [link-count-stat] Linux man-pages: stat(2), object selection and observation timing. https://man7.org/linux/man-pages/man2/stat.2.html (accessed 2026-11-15) - [link-count-ext4] Linux ext4 documentation: Index Nodes, i_links_count and DIR_NLINK. https://www.kernel.org/doc/html/latest/filesystems/ext4/inodes.html (accessed 2026-11-15) ### LinnOS URL: https://hesela.dev/terms/linnos/ Related analysis: https://hesela.com/analyses/fail-slow-drives-software-scheduling/ Status: research Record updated: 2026-11-08 LinnOS is a research operating-system extension that classifies an incoming SSD read as fast or slow to guide admission and replica failover. Note: The OSDI 2020 prototype learns per workload-device pair from recent completions and pending I/O. A latency-critical read predicted slow is rejected before entering the device queue; the application can retry another replica. Its last-replica attempt bypasses rejection. [hao-osdi20] The label is not a drive-failure probability or a latency guarantee. Live completions cannot reveal false revokes because rejected reads never reach that device; the paper evaluates those errors offline. LinnOS+HL additionally uses hedging and must not be confused with the raw classifier. [hao-osdi20] Limitations: - Correlated delays, retraining needs and inference overhead limit transfer to other workloads and devices. (sources: [hao-osdi20]) Related terms: - [fail-slow](https://hesela.dev/terms/fail-slow/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [hedged-request](https://hesela.dev/terms/hedged-request/) - [adaptive-replica-selection](https://hesela.dev/terms/adaptive-replica-selection/) - [mittos](https://hesela.dev/terms/mittos/) Citations: - [hao-osdi20] Hao et al. LinnOS: Predictability on Unpredictable Flash Storage with a Light Neural Network. OSDI 2020, pp. 173-190; sections 3-6. https://www.usenix.org/system/files/osdi20-hao.pdf (accessed 2026-11-08) ### Linux file handle URL: https://hesela.dev/terms/linux-file-handle/ Also known as: Linux file_handle, name_to_handle_at, open_by_handle_at Status: shipping Record updated: 2026-11-09 A Linux file handle is an opaque filesystem-specific object identifier that can be used for later reopening when the filesystem and handle type support it. Note: name_to_handle_at() returns a handle and mount identifier; open_by_handle_at() interprets the handle in a mounted filesystem and returns a new descriptor. AT_HANDLE_FID (since Linux 6.5) requests identity without promising reopening. AT_HANDLE_CONNECTABLE (since Linux 6.13) handles can fail after a move to another parent. The ordinary mount ID is not a persistent filesystem identifier. [handle-api] Saving handle bytes does not retain an open reference. Linux v6.8 releases the pathname lookup reference after encoding, and resolves the object again on reopening. A handle is not an open file description, a backup copy or a frozen content version. [handle-lifetime] Kernel export operations encode and reconstruct filesystem objects rather than saving their pathnames. [export-ops] In Linux v6.8 ext4, ext4_nfs_get_inode rejects a supplied nonzero generation when it differs from the inode's generation. The zero-generation case skips that comparison; this is not a universal handle layout or a content-version check. [ext4-handle] AT_HANDLE_MNT_ID_UNIQUE (since Linux 6.12) requires a mount_id output buffer of at least 64 bits. It returns the identifier exposed by statx STATX_MNT_ID_UNIQUE (since Linux 6.8), whose no-reuse guarantee lasts while the system is running. This identifies a mount instance, not a persistent filesystem across reboot or an unmount/mount cycle. [handle-api] [statx-mount-id] EOVERFLOW can mean either insufficient handle storage or no handle available for the queried name. In the latter case handle_bytes does not increase; blindly enlarging the buffer is not a general recovery strategy. [handle-api] Advantages: - Can identify an object without depending solely on its current pathname. Limitations: - Reopening depends on filesystem support, suitable mount context, the required capability and applicable open checks; the documented API requires CAP_DAC_READ_SEARCH. - ESTALE reports an unusable handle, not proof of disk damage or a recoverable deleted file. [handle-api] Sources and caveats: - API and version-pinned source synthesis, not a native syscall or recovery experiment. - Human explanation: https://hesela.com/analyses/atomic-rename-directory-durability/#saved-file-handle Related terms: - [inode](https://hesela.dev/terms/inode/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [file-descriptor](https://hesela.dev/terms/file-descriptor/) - [path-resolution](https://hesela.dev/terms/path-resolution/) - [filesystem-uuid](https://hesela.dev/terms/filesystem-uuid/) - [unlink](https://hesela.dev/terms/unlink/) Citations: - [handle-api] Linux man-pages: name_to_handle_at(2) and open_by_handle_at(2), identity, flags and stale handles. https://man7.org/linux/man-pages/man2/open_by_handle_at.2.html (accessed 2026-11-09) - [export-ops] Linux 6.13 documentation: Making Filesystems Exportable, references and filehandle fragments. https://docs.kernel.org/6.13/filesystems/nfs/exporting.html (accessed 2026-11-09) - [ext4-handle] Linux v6.8: ext4_nfs_get_inode generation validation. https://github.com/torvalds/linux/blob/v6.8/fs/ext4/super.c#L1436-L1453 (accessed 2026-11-09) - [handle-lifetime] Linux v6.8: name_to_handle_at drops the lookup reference; handle reopening resolves the filesystem object again. https://github.com/torvalds/linux/blob/v6.8/fs/fhandle.c (accessed 2026-11-09) - [statx-mount-id] Linux man-pages: statx(2), unique mount identifier and runtime no-reuse guarantee. https://man7.org/linux/man-pages/man2/statx.2.html (accessed 2026-11-09) ### Linux I/O priority URL: https://hesela.dev/terms/linux-io-priority/ Also known as: ioprio, I/O scheduling priority, ionice Status: shipping Record updated: 2026-11-13 Linux I/O priority assigns a scheduling class and level to a thread's I/O, with effects determined by the storage path and scheduler. Note: Scope: ioprio_set selects threads, a process group or a user. IOPRIO_WHO_PROCESS with who=0 addresses the calling thread, not automatically every sibling thread; CLONE_IO can share an I/O context. [ioprio-api] Classes: realtime (RT), best-effort (BE) and idle (IDLE) express scheduling priority. BE levels run from 0 (highest) to 7 (lowest), but their effect is scheduler-specific. Linux 6.12 documentation names BFQ and mq-deadline as supporting priorities. [ioprio-doc] Interpretation: BFQ maps levels to baseline weights; low-latency heuristics can raise effective weights. Linux v6.12 mq-deadline selects class queues and allows aged lower-priority requests to proceed; its dispatch does not use the within-class level. The realtime name alone supplies no request-completion deadline. [ioprio-bfq] [ioprio-deadline] Writeback: ordinary buffered asynchronous writes are later issued outside the dirtying thread's context. Do not infer their priority from that thread's setting. Cgroup io.prio.class can also change request classes; io.max separately limits per-device BPS or IOPS and permits temporary bursts. [ioprio-api] [ioprio-cgroup] Limitations: - Changing host scheduling priority does not reserve private SSD channels or make an in-flight device command preemptible. (sources: [hesela]) - BFQ strict_guarantees waits for outstanding I/O to complete before dispatching another request, trading device parallelism for service-order control; low_latency weight raising is a separate policy. (sources: [ioprio-bfq]) Sources and caveats: - Kernel behavior is scoped to Linux v6.12 documentation and source; no device benchmark or latency guarantee is inferred. - The man-page API and writeback scope are used here, not its historical CFQ-only scheduler-support paragraph. - The SYSTOR 2012 BFQ study explains responsiveness-oriented weight raising on three rotational-disk systems; it is historical evidence, not an NVMe benchmark. [ioprio-paper] Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [bfq](https://hesela.dev/terms/bfq/) - [mq-deadline](https://hesela.dev/terms/mq-deadline/) - [cgroup-v2-io-controller](https://hesela.dev/terms/cgroup-v2-io-controller/) - [semi-preemptible-io](https://hesela.dev/terms/semi-preemptible-io/) Citations: - [ioprio-api] Linux man-pages: ioprio_set(2), thread scope and asynchronous writes. https://man7.org/linux/man-pages/man2/ioprio_set.2.html (accessed 2026-11-13) - [ioprio-doc] Linux v6.12: block I/O priorities and scheduler support. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/block/ioprio.rst (accessed 2026-11-13) - [ioprio-bfq] Linux 6.12: BFQ per-process ioprio, weights and idle-class service. https://docs.kernel.org/6.12/block/bfq-iosched.html (accessed 2026-11-13) - [ioprio-deadline] Linux v6.12: mq-deadline class queues and priority aging. https://github.com/torvalds/linux/blob/v6.12/block/mq-deadline.c (accessed 2026-11-13) - [ioprio-cgroup] Linux 6.12: cgroup v2 I/O limits, writeback and priority policy. https://docs.kernel.org/6.12/admin-guide/cgroup-v2.html#io (accessed 2026-11-13) - [ioprio-paper] Valente and Andreolini, SYSTOR 2012: Improving Application Responsiveness with the BFQ Disk I/O Scheduler. https://iris.unimore.it/bitstream/11380/812721/3/a6-valente.pdf (accessed 2026-11-13) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-11-13) ### Linux iowait URL: https://hesela.dev/terms/linux-iowait/ Related analysis: https://hesela.com/analyses/linux-process-io-accounting/ Also known as: iowait, CPU I/O wait Status: shipping Record updated: 2026-11-08 Linux iowait is a CPU-time accounting category for idle time attributed to outstanding I/O waits. Note: The /proc/stat cpu and cpuN lines expose this category in USER_HZ units, alongside other CPU-time categories. The aggregate cpu line combines the per-CPU figures. These are not bytes, completed requests or device-busy time. [proc-stat] In Linux v6.12, account_idle_time adds idle time to CPUTIME_IOWAIT when the current runqueue's nr_iowait is positive, otherwise to CPUTIME_IDLE. An I/O-blocked task need not prevent another task from using the CPU, so low iowait does not establish low application I/O latency. [linux-cputime] [proc-stat] The documented /proc/stat iowait value can decrease under some conditions, and per-CPU attribution is difficult on multicore systems. A collector should retain this caveat rather than interpret every negative delta as a reboot or silently treat the field as strictly monotonic. [proc-stat] PSI io.pressure instead tracks intervals with stalled tasks: some includes at least one stalled task; full includes all non-idle tasks stalled together. Its total uses microseconds. CPU iowait, PSI and process byte counters describe different scopes and cannot substitute for one another. [psi] Application-level blocked-time analysis is a different measurement. Ousterhout et al. instrumented Spark tasks and simulated scheduling after removing disk or network waits. Their best-case estimate is not obtainable by subtracting host iowait from job runtime. [blocked-time] Limitations: - A host-wide iowait percentage cannot identify which device or process caused a slow request. (sources: [proc-stat], [linux-cputime]) Sources and caveats: - Source synthesis from Linux 6.12 documentation and version-pinned accounting code; no workload benchmark or new host experiment. - The named helper illustrates one implementation path, not every architecture, kernel configuration or distribution patch. Related terms: - [pressure-stall-information](https://hesela.dev/terms/pressure-stall-information/) - [process-io-accounting](https://hesela.dev/terms/process-io-accounting/) Citations: - [proc-stat] Linux 6.12: /proc/stat CPU accounting and iowait limitations. https://docs.kernel.org/6.12/filesystems/proc.html#miscellaneous-kernel-statistics-in-proc-stat (accessed 2026-11-08) - [linux-cputime] Linux v6.12 kernel/sched/cputime.c: account_idle_time. https://github.com/torvalds/linux/blob/v6.12/kernel/sched/cputime.c#L206-L215 (accessed 2026-11-08) - [psi] Linux 6.12: Pressure Stall Information. https://docs.kernel.org/6.12/accounting/psi.html (accessed 2026-11-08) - [blocked-time] Ousterhout et al. Making Sense of Performance in Data Analytics Frameworks. NSDI 2015, pp. 293-307, section 2.3. https://www.usenix.org/system/files/conference/nsdi15/nsdi15-paper-ousterhout.pdf (accessed 2026-11-08) ### Linux native AIO URL: https://hesela.dev/terms/linux-native-aio/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: Linux kernel AIO, io_submit Status: shipping Record updated: 2026-11-14 Linux native AIO is the io_setup, io_submit and completion-event syscall interface for asynchronous I/O, distinct from POSIX AIO and io_uring. Note: Acceptance: io_submit may report fewer accepted requests than were supplied. The inspected upstream v6.8 loop stops at the first rejection and returns any earlier accepted prefix count. This count does not report successful transfers or the later rejection's error. [native-submit] [native-loop] Completion: io_getevents retrieves per-request results separately. The controlled EOF read was accepted but returned zero bytes; a size-limited write was accepted but completed with EFBIG. [native-getevents] [native-observations] Retry accounting: after repairing an invalid middle descriptor, whole-list retry produced four successful completions for three logical writes; suffix-only retry produced three. Fixed-offset final bytes were identical, while append exposed a duplicate record. Keep logical IDs, accepted attempts and terminal results separate. [native-observations] Correlation is not deduplication: aio_data is copied into the completion event as caller-supplied data. In the inspected v6.8 submission path it does not identify a saved result or suppress another write. Keep this completion cookie separate from an application idempotency key. This is source inspection, not an additional native test. [native-submit] [native-loop] Limitations: - A submission count is not a durability guarantee or completion-order promise. - The probe drains accepted work before retry; it does not cover cancellation, queue saturation, short transfers or concurrent writers. Sources and caveats: - Ten cases, 60 recorded executions on one Linux 6.8.0-149-generic/ext4 host with glibc 2.39 and GCC 13.3.0 O0/O2; buffered disposable files, not a device benchmark or failure-rate sample. [native-observations] - Source, raw observations, checksums and offline tests are included in the reproduction archive. Upstream v6.8 is explanatory source, not asserted identical to the distribution kernel. [native-reproduce] Related terms: - [posix-aio-cancellation](https://hesela.dev/terms/posix-aio-cancellation/) - [idempotency](https://hesela.dev/terms/idempotency/) - [rwf-append](https://hesela.dev/terms/rwf-append/) - [io-timeout](https://hesela.dev/terms/io-timeout/) Citations: - [native-submit] Linux man-pages: io_submit(2), short submission counts and RWF_APPEND. https://man7.org/linux/man-pages/man2/io_submit.2.html (accessed 2026-11-14) - [native-getevents] Linux man-pages: io_getevents(2), completion-event retrieval. https://man7.org/linux/man-pages/man2/io_getevents.2.html (accessed 2026-11-14) - [native-loop] Upstream Linux v6.8: fs/aio.c, io_submit loop and per-request completion. https://raw.githubusercontent.com/torvalds/linux/v6.8/fs/aio.c (accessed 2026-11-14) - [native-observations] Hesela: native AIO partial submission, frozen observations and derived results. https://hesela.dev/research/native-aio-prefix/summary.json (accessed 2026-11-14) - [native-reproduce] Hesela: native AIO source, observations, tests and exact-member offline archive. https://hesela.dev/research/native-aio-prefix/reproduce.zip (accessed 2026-11-14) ### Linux refault distance URL: https://hesela.dev/terms/linux-refault-distance/ Also known as: refault distance, nonresident-age distance Status: research Record updated: 2026-11-09 Linux refault distance is the nonresident-age counter difference used to assess reuse after eviction in the classic workingset path. Note: In Linux v6.12's classic path, evictions and activations advance nonresident age in page units. A shadow entry stores an eviction snapshot; refault compares it with the counter in the eviction memory-cgroup and NUMA-node context. This is not elapsed time or exact distinct-reference reuse distance. [linux612] The eligibility comparison depends on file versus anonymous memory and available swap. Multi-Gen LRU uses separate branches, so the classic formula is not a universal Linux replacement rule. [linux612] Shadow timestamps can use coarse buckets, and counter wraparound can make an old entry appear recent. A history match still needs the payload fetched. [linux612] Sources and caveats: - Version-pinned source interpretation; no kernel benchmark or claim about every Linux configuration. Related terms: - [reuse-distance](https://hesela.dev/terms/reuse-distance/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [clock-pro](https://hesela.dev/terms/clock-pro/) - [multi-gen-lru](https://hesela.dev/terms/multi-gen-lru/) Citations: - [linux612] Linux v6.12 mm/workingset.c: workingset_eviction, workingset_test_recent, workingset_refault and workingset_activation. https://github.com/torvalds/linux/blob/v6.12/mm/workingset.c (accessed 2026-11-07) ### Linux writeback throttling URL: https://hesela.dev/terms/linux-writeback-throttling/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: WBT, blk-wbt, wbt_lat_usec Status: shipping Record updated: 2026-11-30 Linux writeback throttling is a block-layer feedback mechanism that limits eligible write traffic in response to read latency. Note: The wbt_lat_usec attribute expresses a minimum-read-latency target in microseconds. Its documented controls use 0 to disable WBT and -1 to restore the default target. Inspect the actual device queue and kernel version; this is not a recommended universal tuning value. [wbt-abi] Linux v6.12 compares the minimum completed-read latency with the target after at least one read and three write samples. A separate outstanding-read check can also signal excessive latency. WBT adjusts admission limits, not per-task proportional shares. [wbt-source] The statistics measure request time from io_start_time_ns to completion accounting, not the application's entire wait. A low minimum does not bound the maximum or p99; see the explicitly synthetic comparison in the linked analysis. [wbt-stats] The v6.12 default target is 2000 microseconds for a queue marked non-rotational and 75000 for a rotational queue. These are policy defaults, not measured device speeds or completion promises. Default enablement also depends on kernel configuration and the selected scheduler. [wbt-source] Advantages: - Can reduce competing write pressure when the read-latency feedback indicates congestion. (sources: [wbt-source]) Limitations: - Neither a tail-latency guarantee nor a durability operation; a feedback target is not a bound on every application's requests. (sources: [wbt-source], [wbt-stats]) Sources and caveats: - Source inspection pinned to Linux v6.12, not a claim about every distribution or later kernel. - The worked example is synthetic arithmetic for the completed-sample comparison; it excludes the outstanding-read branch, queue evolution and device behavior. - No kernel tuning, hardware benchmark, scheduler replication or performance gain measured. Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [dirty-page-throttling](https://hesela.dev/terms/dirty-page-throttling/) Citations: - [wbt-source] Linux v6.12 block/blk-wbt.c: stat_sample_valid, latency_exceeded, wbt_wait and default latency. https://raw.githubusercontent.com/torvalds/linux/v6.12/block/blk-wbt.c (accessed 2026-11-08) - [wbt-abi] Linux v6.12 stable block sysfs ABI: queue/wbt_lat_usec. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-11-08) - [wbt-stats] Linux v6.12 block/blk-stat.c: request timing, per-CPU aggregation and minimum samples. https://raw.githubusercontent.com/torvalds/linux/v6.12/block/blk-stat.c (accessed 2026-11-08) ### Low inter-reference recency set replacement URL: https://hesela.dev/terms/lirs-replacement/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: LIRS, Low Inter-reference Recency Set Status: research Record updated: 2026-11-03 LIRS is a cache-replacement policy that protects low inter-reference-recency blocks while retaining some evicted-block history. Note: Inter-reference recency (IRR) counts distinct intervening blocks between consecutive accesses; it is not elapsed time or the number of repeated requests. [lirs05] LIR blocks stay resident until demotion. After the LIR allocation fills, first-seen blocks enter as HIR; eviction selects from the resident HIR queue Q. [lirs02] Stack S tracks LIR entries and selected HIR history, including nonresident entries. Pruning removes bottom HIR entries until an LIR entry is reached; removing history from S does not itself evict a resident HIR block from Q. [lirs02] An access to a resident HIR block is a hit; an access to a nonresident HIR entry is still a miss and needs a fetch. If the HIR entry was already in S, it becomes LIR and the bottom LIR entry is demoted. Otherwise it remains HIR and moves to the recent end of Q. On a miss, Q supplies the victim before promotion; demotion keeps the former LIR block resident in Q. [lirs05] Every accessed block moves to the top of S. A resident HIR block outside S remains HIR on that access but re-enters S, so a later access before pruning can qualify it for promotion. An LIR hit at the previous bottom of S triggers pruning. [lirs05] CLOCK-Pro adapts the reuse-history principle to reference-bit sampling and changes its cold-page allocation dynamically. It is not the same per-access stack algorithm. [clockpro] Advantages: - A scan need not replace protected reusable blocks merely because its one-time blocks were accessed more recently. (sources: [lirs02]) Limitations: - The fixed HIR allocation trades protected capacity against responsiveness; a setting suitable for loops can lose hits on strongly localized workloads. (sources: [clockpro]) - Trace-simulation hit ratios do not establish present-day end-to-end latency, implementation overhead or a universal ranking. (sources: [lirs05], [clockpro]) - Ordinary stack pruning does not impose a fixed metadata budget: bursts of first-time references can enlarge S. A separately capped variant removes HIR history near the bottom, trading retained history for bounded metadata. (sources: [lirs02]) Sources and caveats: - Primary-source synthesis, not a benchmark replication or a claim about a current kernel policy. The 2002 report and 2005 extension are distinguished. Related terms: - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [reuse-distance](https://hesela.dev/terms/reuse-distance/) - [clock-pro](https://hesela.dev/terms/clock-pro/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) Citations: - [lirs02] Jiang and Zhang. LIRS: An Efficient Low Inter-reference Recency Set Replacement Policy. Author-hosted TR-02-6, sections 3.1-3.3 and 5.3. https://xiaodongzhang1911.github.io/Zhang-papers/TR-02-6.pdf (accessed 2026-11-03) - [lirs05] Jiang and Zhang. Making LRU Friendly to Weak Locality Workloads. IEEE TC 54(8), 939-952 (2005), sections 1.2, 3.3 and 4. https://ranger.uta.edu/~sjiang/pubs/papers/jiang05_LIRS.pdf (accessed 2026-11-03) - [clockpro] Jiang, Chen and Zhang. CLOCK-Pro: An Effective Improvement of the CLOCK Replacement. USENIX ATC 2005, sections 2.2, 4 and 5. https://usenix.org/legacy/events/usenix05/tech/general/full_papers/jiang/jiang_html/html.html (accessed 2026-11-03) ### Little's law URL: https://hesela.dev/terms/little-law/ Also known as: L = lambda W Status: shipping Record updated: 2026-11-18 Little's law relates time-averaged occupancy L to the operation rate lambda and mean residence time W within the same system boundary. Note: L = lambda x W uses a time average for occupancy, a count per unit time for rate and an arithmetic mean over items for residence time. [little1961] For a system observed over a finite interval that is empty at its start and end, the law is exact: the area under the occupancy curve is the total time spent by all items, so L is that area divided by the interval length and W is the same area divided by the item count. [little2011] That finite-interval form needs neither a stationary arrival process nor a particular queue discipline, so it holds for first-in first-out, last-in first-out or priority service. When items are already present at the start or remain at the end, the identity must account for work crossing the window boundaries, which matters for benchmark windows that crop in-flight operations. [little2011] With matching long-run averages, a fixed population of N clients alternating one request with mean think time Z obeys N = X x (R + Z), where X is achieved request-completion throughput and R is mean request response time. The request subsystem alone has mean occupancy L = X x R; clients that are thinking are outside that boundary. Thus N = X x R requires zero think time when R measures only the request, or R must explicitly include the whole cycle. [harchol-notes] As arithmetic, 10,000 operations per second at 2 ms mean residence imply 20 operations in flight on average. Holding 32 requests continuously outstanding at a 4 ms mean residence implies 8,000/s. In contrast, 32 clients with 2 ms mean response and 2 ms mean think time imply 8,000/s but only 16 outstanding requests on average. These are accounting examples, not device performance predictions. Advantages: - Measuring any two of the three averages at one boundary yields the third, which helps when one of them is hard or costly to observe. (sources: [little2011]) Limitations: - A tail percentile in place of the mean residence time, or a configured queue limit in place of average occupancy, is not a quantity in the law. (sources: [little2011]) Sources and caveats: - little2011 re-read 2026-10-23, pp. 537-539, for the empty-interval proof, nonstationarity, queue discipline and boundary extension. - harchol-notes re-read 2026-11-02, PDF pages 6-7 and 9, distinguishing whole-cycle time T, request residence R and think time Z; the previous N = X x R wording omitted this boundary. - The 20 in-flight, 8,000/s and 16-outstanding figures are arithmetic with assumed means, not hardware measurements or predictions. - little1961 is cited unchanged for the original statement. - The latency-storage entry links here because, with a fixed number of outstanding I/Os, mean storage latency and throughput are tied by the closed-system form stated here. - A companion analysis on I/O accounting is listed but not used in prose. Related terms: - [queue-depth](https://hesela.dev/terms/queue-depth/) - [iops](https://hesela.dev/terms/iops/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [open-loop-load](https://hesela.dev/terms/open-loop-load/) - [closed-loop-load](https://hesela.dev/terms/closed-loop-load/) - [kyber](https://hesela.dev/terms/kyber/) - [service-time](https://hesela.dev/terms/service-time/) - [queueing-delay](https://hesela.dev/terms/queueing-delay/) Citations: - [little1961] John D. C. Little. A Proof for the Queuing Formula: L = lambda W. Operations Research 9(3), 383-387 (1961). DOI: 10.1287/opre.9.3.383. https://doi.org/10.1287/opre.9.3.383 (accessed 2026-10-13) - [little2011] John D. C. Little. Little's Law as Viewed on Its 50th Anniversary. Operations Research 59(3), 536-549 (2011), pp. 537-539. DOI: 10.1287/opre.1110.0940. https://people.cs.umass.edu/~emery/classes/cmpsci691st/readings/OS/Littles-Law-50-Years-Later.pdf (accessed 2026-10-23) - [hesela-accounting] Hesela: IOPS, bytes and average occupancy; synthetic accounting examples. https://hesela.com/analyses/storage-latency-coordinated-omission/#io-accounting (accessed 2026-10-13) - [harchol-notes] Mor Harchol-Balter. Course notes, chapter 6: Little's Law and other operational laws. Carnegie Mellon University, fall 2025. https://www.cs.cmu.edu/~harchol/Perfclass/NotesFall25/chpt6prep.pdf (accessed 2026-11-02) ### Liveness property URL: https://hesela.dev/terms/liveness-property/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: liveness (distributed systems) Status: unknown Record updated: 2026-11-20 A liveness property is an execution requirement for which every finite prefix can be extended to an execution satisfying the requirement. Note: Extendability classifies the property; it does not mean an implementation may offer just one successful schedule. The implementation must satisfy its specification on every execution admitted by its model. [defining-liveness] Eventual completion supplies no numerical deadline. Finite waiting alone does not establish permanent noncompletion; a timed service requirement is a different obligation. [fairness-position] State the progress assumptions. Paxos can retain its decision constraints while competing proposers prevent progress; its progress argument needs a suitably selected proposer, a sufficiently high proposal number and successful communication with a majority of acceptors. [paxos-simple] Sources and caveats: - Primary-source synthesis with constructed reasoning examples, not a protocol execution, implementation certification or new proof. Related terms: - [safety-property](https://hesela.dev/terms/safety-property/) - [consensus](https://hesela.dev/terms/consensus/) - [flp-impossibility](https://hesela.dev/terms/flp-impossibility/) Citations: - [defining-liveness] Alpern and Schneider. Defining Liveness. Information Processing Letters 21(4), 181-185 (1985), sections 1-3. https://www.cs.cornell.edu/fbs/publications/DefLiveness.pdf (accessed 2026-11-20) - [fairness-position] Schneider and Lamport. Another Position Paper on Fairness. Software Engineering Notes 13(3), 1988, pp. 1-2. https://www.cs.cornell.edu/fbs/publications/fairnessPos.pdf (accessed 2026-11-20) - [paxos-simple] Lamport. Paxos Made Simple (2001), sections 2.1, 2.4 and 2.5. https://lamport.azurewebsites.net/pubs/paxos-simple.pdf (accessed 2026-11-20) ### LLAMA URL: https://hesela.dev/terms/llama/ Also known as: Latch-Free, Log-Structured, Access-Method Aware Status: research Record updated: 2026-11-15 LLAMA is a research cache and storage subsystem that separates logical page identity from location and supports latch-free updates over a log-structured store. Note: Layers: A shared mapping table connects page identifiers to memory or storage. Bw-tree supplies indexed record access above this substrate; LLAMA is not itself a complete transactional database. [llama-paper] [bw-paper] Flush protocol: Reserve buffer space before publishing a flush delta with compare-and-swap, then fill the reservation. A failed comparison leaves an invalidated reservation. Storage I/O must wait for active buffer writers. This keeps an unfinished copy from reaching storage. [llama-paper] Durability: Flush returns after buffering, not necessarily persistence. Mk-Stable establishes durability through its supplied storage address. Internal system transactions support structural changes, not general user-transaction isolation; the access method remains responsible for WAL ordering. [llama-paper] Recovery: A mapping-table checkpoint plus storage-log replay restores page locations. This is distinct from the transaction manager's recovery log and commit decision. [llama-paper] Sources and caveats: - Primary-paper synthesis, not a native LLAMA execution or crash experiment. - The 2013 evaluation compares Bw-tree over LLAMA with BerkeleyDB using specific workloads and hardware; no current-hardware speedup is inferred. [llama-paper] Related terms: - [bw-tree](https://hesela.dev/terms/bw-tree/) - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [log-sequence-number](https://hesela.dev/terms/log-sequence-number/) - [leanstore](https://hesela.dev/terms/leanstore/) Citations: - [llama-paper] Levandoski, Lomet and Sengupta. LLAMA: A Cache/Storage Subsystem for Modern Hardware. PVLDB 6(10), 2013, pp. 877-888; sections 2-6. https://www.vldb.org/pvldb/vol6/p877-levandoski.pdf (accessed 2026-11-15) - [bw-paper] Levandoski, Lomet and Sengupta. The Bw-Tree: A B-tree for New Hardware Platforms. ICDE 2013; sections II and V. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/bw-tree-icde2013-final.pdf (accessed 2026-11-15) - [publication] Microsoft Research: LLAMA publication record, authors and August 2013 venue. https://www.microsoft.com/en-us/research/publication/llama-a-cachestorage-subsystem-for-modern-hardware/ (accessed 2026-11-15) - [hesela-wal] Hesela: WAL, checkpoints and torn pages, with separate recovery guarantees. https://hesela.com/analyses/wal-checkpoints-torn-pages/ (accessed 2026-11-15) ### LMDB reader table URL: https://hesela.dev/terms/lmdb-reader-table/ Related analysis: https://hesela.com/analyses/lmdb-readers-page-reuse-map-full/ Also known as: LMDB reader lock table Status: shipping Record updated: 2026-10-22 The LMDB reader table records reader process, thread and transaction identities so page reclamation can respect active snapshots. Note: In LMDB 0.9.33, mdb_find_oldest scans reader transaction IDs and allocation excludes free-list records that are too recent for that boundary. A live old snapshot can therefore delay reuse without holding the writer mutex. [implementation] A controlled experiment found that mdb_reader_check cleared zero slots and did not relieve the live-reader case; ending the reader allowed 64 more writes at the same map size. [hesela-observation] A reset read-transaction handle is not an active snapshot; it must be renewed before reuse. [api] Copy operations also hold read transactions. In a controlled pipe-stall test, reader checking did not release the live copying reader; write progress resumed after copy completion. Compact copying reduced destination size, not the source reader lifetime in that test. [hesela-copy] Process termination and reader-table cleanup are distinct. In the pinned POSIX implementation, stale-reader checking probes a process-associated byte-range lock, not kill(pid, 0). A controlled unreaped-child case cleared three entries belonging to one process; the reader list became empty while me_numreaders stayed at its high-water value of three. [implementation] [hesela-cleanup] The cleanup output counts cleared slots, not dead processes. A successful call can clear zero slots and leave a live snapshot blocking reuse; it is not a transaction-age timeout or a guarantee that the next write will succeed. [api] [hesela-cleanup] Limitations: - Map capacity, reusable pages and live payload bytes are different quantities; these test counts are not universal thresholds. (sources: [hesela-observation]) Related terms: - [lmdb](https://hesela.dev/terms/lmdb/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [checkpoint-starvation](https://hesela.dev/terms/checkpoint-starvation/) Citations: - [chu] Howard Chu. MDB: A Memory-Mapped Database and Backend for OpenLDAP. LDAPCon 2011, sections 3.2 and 4.2. https://www.openldap.org/pub/hyc/mdb-paper.pdf (accessed 2026-10-16) - [api] LMDB 0.9.33 API: transaction lifetime, reset/renew, map capacity and reader checks. https://github.com/LMDB/lmdb/blob/3a29a24777c82a0165de813ae696a5068b5add30/libraries/liblmdb/lmdb.h (accessed 2026-10-16) - [implementation] LMDB 0.9.33 implementation: mdb_find_oldest, mdb_page_alloc and mdb_reader_check0. https://github.com/LMDB/lmdb/blob/3a29a24777c82a0165de813ae696a5068b5add30/libraries/liblmdb/mdb.c (accessed 2026-10-16) - [hesela-observation] Hesela: controlled LMDB reader-lifetime experiment, complete results and limits. https://hesela.dev/research/lmdb-reader-lifetime.json (accessed 2026-10-16) - [hesela-analysis] LMDB readers: a stable snapshot can exhaust a fixed map. https://hesela.com/analyses/lmdb-readers-page-reuse-map-full/ (accessed 2026-10-16) - [hesela-copy] Hesela: 24 controlled LMDB copy-backpressure observations, hashes and limits. https://hesela.dev/research/lmdb-copy-pressure/results.json (accessed 2026-10-20) - [hesela-cleanup] Hesela: 40 controlled LMDB reader-death and cleanup cases, method and limits. https://hesela.dev/research/lmdb-dead-readers/README.md (accessed 2026-10-22) ### LMDB URL: https://hesela.dev/terms/lmdb/ Related analysis: https://hesela.com/analyses/lmdb-readers-page-reuse-map-full/ Also known as: Lightning Memory-Mapped Database Status: shipping Record updated: 2026-10-25 LMDB is an embedded transactional key-value database that uses memory-mapped B+ trees, copy-on-write updates and multi-version concurrency control. Note: The original MDB design separates the application tree from a transaction-indexed free-page tree. [chu] A pinned C-API experiment kept eight 16 KiB values while varying reader lifetime; an active snapshot exhausted fixed 1 MiB and 2 MiB maps, whereas ended and reset-reader controls completed 256 overwrites. These are constructed observations, not a benchmark or failure-rate estimate. [hesela-observation] A follow-up with a stalled backup receiver exhausted both fixed maps during plain and compact copying; draining the copy restored 64 further writes. Compact output was smaller without reducing source retention. All 24 constructed cases reopened the backup and checked every value. [hesela-copy] In 40 controlled lifecycle cases, killing a separate reader left writes at MDB_MAP_FULL until explicit reader checking cleared its abandoned entries. The tested unreaped child still had a visible PID, but cleanup restored writes at unchanged capacity. These are one-build observations, not incident rates or power-loss results. [hesela-cleanup] Custom comparison behavior must match the stored tree and be registered before data access. [api] A synthetic 0.9.33 fixture retained all 257 key/value pairs in a scan, but default-order lookups found none in its descending tree. Native/compact copies retained this dependence; normal dump/load rebuilt ascending order. No data loss or new defect was established. [hesela-comparator] Append loading (-a) retains input order, assumes correct sorting and skips sorting/redundancy checks. It does not supply the original callback to later processes. [load-manual] [load-implementation] Limitations: - Map capacity, reusable pages and live payload bytes are different quantities; these test counts are not universal thresholds. (sources: [hesela-observation]) - The comparator fixtures cover one pinned release and two optimization settings on one host; they exclude duplicate-key databases and writes under mismatched ordering. (sources: [api], [hesela-comparator]) Related terms: - [lmdb-reader-table](https://hesela.dev/terms/lmdb-reader-table/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) Citations: - [chu] Howard Chu. MDB: A Memory-Mapped Database and Backend for OpenLDAP. LDAPCon 2011, sections 3.2 and 4.2. https://www.openldap.org/pub/hyc/mdb-paper.pdf (accessed 2026-10-16) - [api] LMDB 0.9.33 API: transaction lifetime, map capacity, reader checks and mdb_set_compare contract. https://github.com/LMDB/lmdb/blob/3a29a24777c82a0165de813ae696a5068b5add30/libraries/liblmdb/lmdb.h (accessed 2026-10-16) - [implementation] LMDB 0.9.33 implementation: mdb_find_oldest, mdb_page_alloc and mdb_reader_check0. https://github.com/LMDB/lmdb/blob/3a29a24777c82a0165de813ae696a5068b5add30/libraries/liblmdb/mdb.c (accessed 2026-10-16) - [hesela-observation] Hesela: controlled LMDB reader-lifetime experiment, complete results and limits. https://hesela.dev/research/lmdb-reader-lifetime.json (accessed 2026-10-16) - [hesela-analysis] LMDB readers: a stable snapshot can exhaust a fixed map. https://hesela.com/analyses/lmdb-readers-page-reuse-map-full/ (accessed 2026-10-16) - [hesela-copy] Hesela: 24 controlled LMDB copy-backpressure observations, hashes and limits. https://hesela.dev/research/lmdb-copy-pressure/results.json (accessed 2026-10-20) - [hesela-cleanup] Hesela: 40 controlled LMDB reader-death and cleanup cases, method and limits. https://hesela.dev/research/lmdb-dead-readers/README.md (accessed 2026-10-22) - [load-manual] LMDB 0.9.33 mdb_load manual: -a ordering precondition and skipped checks. https://github.com/LMDB/lmdb/blob/3a29a24777c82a0165de813ae696a5068b5add30/libraries/liblmdb/mdb_load.1 (accessed 2026-10-25) - [load-implementation] LMDB 0.9.33 loader implementation: greater callback and append loading. https://github.com/LMDB/lmdb/blob/3a29a24777c82a0165de813ae696a5068b5add30/libraries/liblmdb/mdb_load.c (accessed 2026-10-25) - [hesela-comparator] Hesela: LMDB comparator-contract fixtures, 120 retained observations and reproducible inputs. https://hesela.dev/research/lmdb-comparator-contract/README.md (accessed 2026-10-25) ### Load-Aware Hedge (LAEDGE) URL: https://hesela.dev/terms/load-aware-hedging/ Also known as: LAEDGE, LÆDGE Status: research Record updated: 2026-11-13 LAEDGE is a per-shard scheduling policy that sends redundant queries to idle replicas only when no unserved query can use them. Note: At dispatch, queued first executions take priority over copies; an idle replica otherwise takes the oldest unfinished, unreplicated query. Plain LAEDGE does not cancel running copies. Cleanup cancellation stops a losing copy after completion; preemptive cancellation frees a replica for a new query. [primorac] The dispatch-time rule does not guarantee that a running copy never delays later arrivals. Preemptively cancelling the newest copy can discard the one that would finish first. [primorac] Limitations: - The evaluation concerns in-memory, CPU-bound search; it does not establish a storage-device speedup. A longer scheduler-to-replica round trip can reduce throughput. (sources: [primorac]) Sources and caveats: - Full proceedings paper checked, especially Algorithm 1 and sections 4, 5 and 6; simulation and cloud implementation are separate evidence. - No reproduction or hardware experiment; publication year is not a deployment claim. Related terms: - [hedged-request](https://hesela.dev/terms/hedged-request/) - [tied-request](https://hesela.dev/terms/tied-request/) - [adaptive-replica-selection](https://hesela.dev/terms/adaptive-replica-selection/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [primorac] Primorac, Argyraki and Bugnion. When to Hedge in Interactive Services. NSDI 2021, pp. 373-387; sections 4-6, Algorithm 1. https://www.usenix.org/system/files/nsdi21-primorac.pdf (accessed 2026-11-13) - [hesela] Hesela. Load-aware hedging and the dispatch-time boundary. https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#load-aware-hedging (accessed 2026-11-13) ### Locality of reference URL: https://hesela.dev/terms/locality-of-reference/ Also known as: reference locality, locality principle Status: research Record updated: 2026-11-21 Locality of reference is the tendency to reuse recently accessed data or access nearby addresses within a short interval. Note: Temporal locality concerns reuse of the same data over a short interval; spatial locality concerns nearby addresses in a specified address space. These patterns motivate caching and fetching neighboring data, but do not guarantee a speedup. [denning-locality] Nonsequential accesses can repeatedly visit a small set, while a sequential one-pass scan need not revisit any entry. Evaluate the pattern at the cache-entry granularity and observation interval, rather than treating random I/O as the absence of locality. This is a distinction between access order and reuse, not a measurement of a device. [denning-locality] [counter-stacks] A working-set size summarizes distinct entries in a chosen window. Reuse distance instead counts distinct identities strictly between consecutive references to one entry; the two measurements answer different questions. This is the zero-based reuse-distance convention; some papers instead count a one-based stack position. [denning-ws] [reuse-report] [counter-stacks] An upstream cache can absorb repeated reads before they reach a lower storage layer. A device-level trace therefore need not expose the application's reuse pattern; comparisons must name the observation point and history interval. [counter-stacks] Limitations: - Locality depends on the observation layer and granularity; a workload label alone does not establish a cache hit ratio. (sources: [counter-stacks]) Sources and caveats: - Denning 2005 discusses temporal and spatial clustering and locality phases; Wires et al. provides storage-cache trace context. - The sequential/nonsequential distinction is an engineering interpretation, not a device performance result. - Repair locality and storage-tier temperature are separate existing concepts, not aliases of reference locality. Related terms: - [unified-buffer-management](https://hesela.dev/terms/unified-buffer-management/) - [working-set](https://hesela.dev/terms/working-set/) - [reuse-distance](https://hesela.dev/terms/reuse-distance/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [page-cache](https://hesela.dev/terms/page-cache/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [amp-buffer-caching](https://hesela.dev/terms/amp-buffer-caching/) - [program-counter-based-classification](https://hesela.dev/terms/program-counter-based-classification/) Citations: - [denning-locality] Peter J. Denning. The Locality Principle. Communications of the ACM 48(7), July 2005, pp. 19-24. https://denninginstitute.com/pjd/PUBS/CACMcols/cacmJul05.pdf (accessed 2026-10-24) - [denning-ws] Peter J. Denning. The Working Set Model for Program Behavior. Communications of the ACM 11(5), May 1968, pp. 323-333, section 3. https://denninginstitute.com/pjd/PUBS/WSModel_1968.pdf (accessed 2026-10-24) - [counter-stacks] Wires et al. Characterizing Storage Workloads with Counter Stacks. OSDI 2014, sections 2 and 3.2. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-wires.pdf (accessed 2026-10-24) - [reuse-report] Ding and Zhong. Reuse Distance Analysis. UR-CS-TR-741, February 2001, section 2.1 and Figures 1-3. https://www.cs.rochester.edu/u/cding/Documents/Publications/TR741.pdf (accessed 2026-10-24) - [hesela] Hesela: working-set windows, locality and mapping-cache units. https://hesela.com/analyses/ssd-mapping-cache-hmb/#working-set (accessed 2026-10-24) ### Locally repairable code URL: https://hesela.dev/terms/locally-repairable-code/ Also known as: LRC, local reconstruction code Status: shipping Record updated: 2026-10-28 A locally repairable code is an erasure code that provides recovery of specified missing fragments from a small subset of surviving fragments. Note: Data locality and all-fragment locality differ. In a (6, 2, 2) construction, 2 local parities each cover 3 of the 6 data fragments, so a lost data fragment or local parity is rebuilt from 3 fragments, half the 6 a (6, 3) Reed-Solomon code reads. A lost global parity still needs 6 fragments, giving an average repair cost of 3.6 fragments at a storage cost of 1.67x. [lrc-atc12] The coding equations determine which erasure patterns remain decodable; local redundancy is not interchangeable with global redundancy. With suitable coefficients the same construction tolerates any 3 failures and decodes every information-theoretically decodable 4-failure pattern. [lrc-atc12] Maximal recoverability is a stronger, topology-relative property, not a synonym for locality. Four erased fragments may be recoverable in one arrangement and unrecoverable in another with the same parity count. [mr-locality] Matching locality and minimum distance does not ensure matching recovery beyond the worst-case distance. The actual global coefficients must preserve the needed independent equations in every allowed surviving set. [mr-locality] Complete stripe recovery and recovery of a requested missing symbol are different questions. For a linear code and a fixed set of correct surviving symbols, the target's generator vector must lie in the span of the surviving generator vectors. A local repair equation may remain usable even when the survivors do not determine the whole payload. This algebraic possibility does not guarantee that an implementation serves a partially recoverable object; layout, integrity checks and access policy still matter. [symbol-locality] Advantages: - A local repair can avoid contacting fragments outside the affected group; response time still depends on placement, load and the available repair choices. (sources: [lrc-atc12]) Limitations: - Only 86% of all 4-failure patterns are decodable in the (6, 2, 2) example, even though it stores 4 parity fragments. (sources: [lrc-atc12]) - A code's locality need not be exploited by its read path. In the 2018 Ceph implementation described by Kolosov and colleagues, degraded reads reconstructed the whole object at the primary OSD and read k data blocks even when r blocks sufficed for local repair. The authors reported no observable degraded-read difference between MDS codes and LRCs in that setup. This is a historical implementation observation, not a claim about all current Ceph versions. (sources: [lrc-atc18-read-path]) Sources and caveats: - lrc-atc12 read 2026-10-23, sections 2 and 3.1, for the (6, 2, 2) layout, repair costs, storage cost and decodability ratio. - mr-locality re-read 2026-10-23 for Definition 3 and Lemma 4. - A cluster-storage plugin manual is listed but not used in prose. - A companion analysis on repair costs is listed but not used in prose. - symbol-locality read 2026-10-28, section 2, Definition 2. Applied to a fixed surviving set; implementation availability is a separate condition. The companion's fixed GF(7) example checks partial identifiability without changing the original whole-payload counts. - lrc-atc18-read-path read 2026-10-28, section 5, p. 871, for the historical whole-object degraded-read path; no current-version behavior or new latency measurement is inferred. Related terms: - [pyramid-code](https://hesela.dev/terms/pyramid-code/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) - [maximally-recoverable-code](https://hesela.dev/terms/maximally-recoverable-code/) - [normalized-magnitude-data-loss](https://hesela.dev/terms/normalized-magnitude-data-loss/) - [maximum-repair-load](https://hesela.dev/terms/maximum-repair-load/) - [shingled-erasure-code](https://hesela.dev/terms/shingled-erasure-code/) Citations: - [lrc-plugin-manual] Ceph: Locally Repairable Erasure Code Plugin (development documentation; parameter names are implementation-specific). https://docs.ceph.com/en/latest/rados/operations/erasure-code-lrc/ (accessed 2026-10-11) - [hesela-lrc] Local repair is not whole-node repair. https://hesela.com/analyses/lrc-repair-costs-locality/ (accessed 2026-10-11) - [mr-locality] Gopalan et al. Explicit Maximally Recoverable Codes with Locality. IEEE TIT (2014), section II: Definition 3 and Lemma 4. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/MRandLocalityFinal.pdf (accessed 2026-10-28) - [lrc-atc12] Huang et al. Erasure Coding in Windows Azure Storage. USENIX ATC 2012, sections 2 and 3.1. https://www.usenix.org/system/files/conference/atc12/atc12-final181_0.pdf (accessed 2026-10-23) - [symbol-locality] Gopalan et al. On the Locality of Codeword Symbols, section 2, Definition 2: symbol recovery by linear dependence. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/r-d-codes.pdf (accessed 2026-10-28) - [lrc-atc18-read-path] Kolosov et al. On Fault Tolerance, Locality, and Optimality in Locally Repairable Codes. USENIX ATC 2018, section 5, p. 871. https://www.usenix.org/system/files/conference/atc18/atc18-kolosov.pdf (accessed 2026-10-28) ### Lock-delay URL: https://hesela.dev/terms/lock-delay/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: Lock reacquisition delay Status: shipping Record updated: 2026-10-23 Lock-delay postpones reacquisition of a lock after its holder or associated session is invalidated. Note: The delay is a coordination safeguard, not a storage-side rejection of old requests. A 2006 lock-service design applies it after holder failure or loss of contact, while normal release permits immediate reacquisition. Its one-minute cap limits unavailability rather than delayed-I/O lifetime. [lock-service-osdi06] In Consul, TTL-based expiry has a lower bound; critical health check or explicit destruction can invalidate the session earlier. Lock-delay begins after invalidation. ACL-authorized clients can still perform ordinary KV writes without owning the lock: the delay restricts reacquisition, not all modifications. External storage needs its own enforcement. [session-design] Sources and caveats: - Historical mechanism from Chubby OSDI 2006 section 2.4; it is not a current service-default claim or a cluster benchmark. [lock-service-osdi06] - Consul overview and API pages read 2026-10-23 disagree on allowing zero LockDelay. No zero-setting recommendation or live-service result is asserted. [session-design] [session-api] Related terms: - [fencing-token](https://hesela.dev/terms/fencing-token/) - [io-fencing](https://hesela.dev/terms/io-fencing/) Citations: - [lock-service-osdi06] Mike Burrows. The Chubby lock service for loosely-coupled distributed systems. OSDI 2006, section 2.4. https://www.usenix.org/legacy/event/osdi06/tech/full_papers/burrows/burrows.pdf (accessed 2026-10-23) - [session-design] HashiCorp Consul: Sessions and distributed locks overview, Session Design and K/V Integration. https://developer.hashicorp.com/consul/docs/automate/session (accessed 2026-10-23) - [session-api] HashiCorp Consul: Session HTTP API, Create Session, LockDelay field. https://developer.hashicorp.com/consul/api-docs/session (accessed 2026-10-23) - [hesela-fencing] Hesela: Storage fencing, delayed writes and takeover timing. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-10-23) ### Log-likelihood ratio URL: https://hesela.dev/terms/log-likelihood-ratio/ Related analysis: https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ Also known as: LLR Status: shipping Record updated: 2026-10-22 A log-likelihood ratio is the logarithm of the relative likelihood of two alternatives, used in decoding to express a bit decision and its confidence. Note: For the NAND convention log(P(bit=0 | observation) / P(bit=1 | observation)), a positive value favors zero, and reversing the ratio reverses its sign. In flash reads the observation is the threshold-voltage range in which a cell falls, and a larger magnitude means a more confident bit decision. [cai2017] Each soft-decoding level applies a new read reference voltage that splits an existing threshold-voltage range in two. Level 1 provides 2 LLR values, while the 3 reference voltages of Level 3 form 4 ranges, each with its own value. The controller bins each cell into a range, and the decoder applies the precomputed LLR value for that bin. [cai2017] The extra information costs read time. Measurements on 25 nm MLC flash put seven-level soft sensing at about 125 µs and the transfer of those results for 4 KB at 200 MB/s at about 80 µs, compared with about 8 µs to decode one 4 KB codeword. [zhao13] Advantages: - Finer LLR information gives the decoder stronger correction, which reduces how often superpage-level parity recovery is needed. (sources: [cai2017]) Limitations: - A closed-form Gaussian noise model gives only an estimate of LLR values, because real threshold-voltage distributions are not perfectly Gaussian. (sources: [cai2017]) - Because soft sensing and transfer dominate soft-read latency, a read can try hard-decision decoding first and sense soft information only after that fails. (sources: [zhao13]) Sources and caveats: - cai2017 is the arXiv manuscript by Cai, Ghose, Haratsch, Luo and Mutlu (Carnegie Mellon University, ETH Zurich, Seagate Technology), read in sections 6.2 and 6.3. - zhao13 is the FAST 2013 paper by Zhao, Zhao, Sun, Zhang, Zhang and Zheng (Rensselaer Polytechnic Institute, Xi'an Jiaotong University, Ohio State University), read in sections 2 and 3. - 2 LLR values, 3 reference voltages and 4 ranges come from cai2017. 25 nm, 125 µs, 80 µs, 200 MB/s, 4 KB and 8 µs come from zhao13. Related terms: - [ldpc](https://hesela.dev/terms/ldpc/) - [soft-decision-decoding](https://hesela.dev/terms/soft-decision-decoding/) Citations: - [cai2017] Cai, Ghose, Haratsch, Luo and Mutlu. Error Characterization, Mitigation, and Recovery in Flash Memory Based Solid-State Drives. 2017, sections 6.2-6.3. https://arxiv.org/abs/1706.08642 (accessed 2026-10-22) - [hesela-ldpc] Hesela: LDPC in NAND, the read cost of confidence. https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ (accessed 2026-10-11) - [zhao13] Zhao, Zhao, Sun, Zhang, Zhang and Zheng. LDPC-in-SSD: Making Advanced Error Correction Codes Work Effectively in Solid State Drives. FAST 2013. https://www.usenix.org/system/files/conference/fast13/fast13-final125.pdf (accessed 2026-10-22) ### Log-rank test URL: https://hesela.dev/terms/log-rank-test/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: Logrank test, Mantel log-rank test Status: shipping Record updated: 2026-11-19 The log-rank test compares survival distributions by accumulating observed-minus-expected events over event-time risk sets. Note: For two groups, the null hypothesis is equality of their survival distributions. At each event time, expected events in group A equal total events times A's share of the risk set. Sum observed minus expected events and divide by its estimated standard deviation to obtain Z. [scipy-logrank] Tied events use a hypergeometric variance. Z squared has an asymptotic chi-square reference distribution with one degree of freedom under the null; SciPy returns signed Z instead. A zero total variance leaves this standardized comparison undefined. [scipy-logrank] [r-logrank-code] The ordinary comparison assumes independent units and non-informative right censoring within groups. Use a common event definition and time origin; repeated telemetry rows are not independent drives. Different censoring rates alone do not imply informative censoring. [uno-2015] Crossing effects can cancel in the accumulated score, reducing power. Proportional hazards is not a universal requirement for asymptotic null validity, and a large p-value does not establish equal reliability. A test result is not an effect-size estimate. [uno-2015] An unstratified comparison does not adjust for fleet composition or workload and does not establish causation. Stratification specifies a different comparison; complex covariate questions need an appropriate model. [r-survdiff] Related terms: - [p-value](https://hesela.dev/terms/p-value/) - [kaplan-meier-estimator](https://hesela.dev/terms/kaplan-meier-estimator/) - [risk-set](https://hesela.dev/terms/risk-set/) - [informative-censoring](https://hesela.dev/terms/informative-censoring/) Citations: - [scipy-logrank] SciPy 1.16.1: logrank, null hypothesis, tied-event variance and signed statistic. https://docs.scipy.org/doc/scipy-1.16.1/reference/generated/scipy.stats.logrank.html (accessed 2026-11-19) - [uno-2015] Uno et al. (2015): A versatile test for equality of two survival functions based on weighted differences of Kaplan-Meier curves. https://pmc.ncbi.nlm.nih.gov/articles/PMC4626406/ (accessed 2026-11-19) - [r-survdiff] R survival: survdiff, ordinary log-rank and stratified comparisons. https://stat.ethz.ch/R-manual/R-devel/library/survival/html/survdiff.html (accessed 2026-11-19) - [r-logrank-code] R survival: survdiff2.c at 0605821347ef, tied observations and the one-unit variance boundary. https://github.com/therneau/survival/blob/0605821347efb8630d15710a6bf24ff64396c4d3/src/survdiff2.c (accessed 2026-11-19) ### Log sequence number URL: https://hesela.dev/terms/log-sequence-number/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: LSN Status: shipping Record updated: 2026-11-15 A log sequence number is an engine-defined identifier that orders log-related records or operations, without universally encoding their physical log positions. Note: PostgreSQL represents an LSN as a byte offset in WAL. Insert, write and durable-flush positions have different meanings: knowing an LSN does not establish that its record is durable. In PostgreSQL, subtracting compatible positions gives bytes, not transaction count or elapsed time; retain the engine, timeline and observed progress stage when comparing positions. XFS instead encodes a 32-bit cycle and 32-bit block position; the latter counts 512-byte basic blocks. [xfs-design] [log-format] Raw encoded subtraction across cycles is not a byte-distance calculation. An equal numeric LSN after a history fork is not proof of equal WAL contents. Cluster identity and timeline ancestry are separate from this byte position. [pg-timelines] Logical order: Deuteronomy assigns operation LSNs before execution and logs completed operations at separate physical log positions. Concurrent nonconflicting operations can reach the log out of LSN order. Its stable-log frontier therefore covers a completed prefix, not merely the highest LSN present on disk. [deuteronomy] Related terms: - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [database-checkpoint](https://hesela.dev/terms/database-checkpoint/) - [replication-lag](https://hesela.dev/terms/replication-lag/) - [synchronous-replication](https://hesela.dev/terms/synchronous-replication/) - [asynchronous-replication](https://hesela.dev/terms/asynchronous-replication/) - [compensation-log-record](https://hesela.dev/terms/compensation-log-record/) - [page-lsn](https://hesela.dev/terms/page-lsn/) - [xfs-relogging](https://hesela.dev/terms/xfs-relogging/) - [postgresql-timeline](https://hesela.dev/terms/postgresql-timeline/) - [timeline-history-file](https://hesela.dev/terms/timeline-history-file/) - [llama](https://hesela.dev/terms/llama/) - [stasis](https://hesela.dev/terms/stasis/) Citations: - [pg-internals] PostgreSQL 18: WAL Internals. https://www.postgresql.org/docs/18/wal-internals.html (accessed 2026-10-12) - [pg-functions] PostgreSQL 18: Backup Control Functions, Table 9.97 and notes. https://www.postgresql.org/docs/18/functions-admin.html#FUNCTIONS-ADMIN-BACKUP (accessed 2026-10-12) - [hesela-wal] WAL, checkpoints and torn pages: three different recovery guarantees. https://hesela.com/analyses/wal-checkpoints-torn-pages/ (accessed 2026-10-12) - [pg-lsn] PostgreSQL 18: pg_lsn type. https://www.postgresql.org/docs/18/datatype-pg-lsn.html (accessed 2026-10-12) - [pg-timelines] PostgreSQL 18: timeline history and recovery branches. https://www.postgresql.org/docs/18/continuous-archiving.html#BACKUP-TIMELINES (accessed 2026-10-12) - [hesela-replication] Replication acknowledgements: received, durable, applied. https://hesela.com/analyses/replication-acknowledgements-durability-lag/ (accessed 2026-10-12) - [xfs-design] Linux v6.16: XFS Logging Design, log space accounting and re-logging. https://github.com/torvalds/linux/blob/v6.16/Documentation/filesystems/xfs/xfs-delayed-logging-design.rst (accessed 2026-10-16) - [log-format] Linux v6.16: xfs_log_format.h, CYCLE_LSN and BLOCK_LSN. https://github.com/torvalds/linux/blob/v6.16/fs/xfs/libxfs/xfs_log_format.h (accessed 2026-10-16) - [hesela-xfs] Hesela: XFS delayed logging and commit boundaries. https://hesela.com/analyses/xfs-delayed-logging-commit-boundaries/ (accessed 2026-10-16) - [deuteronomy] Levandoski, Lomet, Mokbel and Zhao. Deuteronomy: Transaction Support for Cloud Data. CIDR 2011, pp. 123-133; sections 4.5-4.5.2. https://www.cidrdb.org/cidr2011/Papers/CIDR11_Paper14.pdf (accessed 2026-11-15) ### Logical database backup URL: https://hesela.dev/terms/logical-backup/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: logical backup Status: shipping Record updated: 2026-11-22 A logical database backup represents selected schema objects and data as an export that a compatible engine can reconstruct instead of copying native storage pages. Note: Logical describes the representation, not the packaging. pg_dump produces SQL scripts for psql or archives for pg_restore. A binary or compressed archive is still logical. It covers one database; definitions of cluster-wide roles and tablespaces need separate coverage. [pg-dump] PostgreSQL dumps generally support migration to newer server versions and different architectures. This is not a promise of compatibility with every engine or version. [pg-sql-dump] A pg_dump export cannot serve as a base for WAL replay. Continuous archiving needs a suitable physical base and the required WAL sequence. [pg-pitr] SQLite's .dump exports SQL for reconstruction. Neither an export's label nor successful import proves that application identities and dependencies survived; test the required behavior. [sqlite-cli] [hesela-backup-evidence] A stable export snapshot is not automatically serializable. For a reporting copy of a changing PostgreSQL database, pg_dump --serializable-deferrable waits for a suitable snapshot. PostgreSQL documents no benefit for dumps used only for disaster recovery. With no read-write transactions active at startup it makes no difference; otherwise startup may be delayed for an indeterminate time. [pg-dump] Row scope: pg_dump normally errors when row security applies. --enable-row-security explicitly exports only permitted rows. Record the role, policy and intended inventory; an exact same-role comparison can agree after a partial restore. [pg-rls-dump] [rls-evidence] Advantages: - PostgreSQL archive dumps support selecting objects for restoration. (sources: [pg-dump]) Limitations: - PostgreSQL pg_dump uses a consistent snapshot of one database, but pg_dumpall invokes it separately for each database; those snapshots are not synchronized. Recovery dependencies spanning databases need a separate coordination plan. (sources: [pg-sql-dump]) Sources and caveats: - RLS evidence uses two fresh private clusters, 15 export and four destination controls per cluster, four synthetic rows and one host/build. No concurrency, ACL-preservation, field-rate or new-defect claim. [rls-evidence] Related terms: - [physical-backup](https://hesela.dev/terms/physical-backup/) - [backup](https://hesela.dev/terms/backup/) - [full-backup](https://hesela.dev/terms/full-backup/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [point-in-time-recovery](https://hesela.dev/terms/point-in-time-recovery/) - [sqlite-online-backup](https://hesela.dev/terms/sqlite-online-backup/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [serializability](https://hesela.dev/terms/serializability/) Citations: - [pg-dump] PostgreSQL 18: pg_dump, formats and object scope. https://www.postgresql.org/docs/18/app-pgdump.html (accessed 2026-10-29) - [pg-sql-dump] PostgreSQL 18: SQL Dump, portability and pg_dumpall consistency. https://www.postgresql.org/docs/18/backup-dump.html (accessed 2026-10-29) - [pg-pitr] PostgreSQL 18: Continuous Archiving and Point-in-Time Recovery. https://www.postgresql.org/docs/18/continuous-archiving.html (accessed 2026-10-29) - [sqlite-cli] SQLite CLI: converting a database to SQL text. https://www.sqlite.org/cli.html#converting_an_entire_database_to_a_text_file (accessed 2026-10-29) - [hesela-backup-evidence] Hesela: backup verification and restored application identity. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-29) - [pg-rls-dump] PostgreSQL 16: pg_dump and explicit row-security filtering. https://www.postgresql.org/docs/16/app-pgdump.html (accessed 2026-11-22) - [rls-evidence] Hesela: PostgreSQL 16.15 row-security backup controls and exact transcripts. https://hesela.dev/research/pg-rls-backup/summary.json (accessed 2026-11-22) ### Logical block address URL: https://hesela.dev/terms/logical-block-address/ Related analysis: https://hesela.com/analyses/sector-sizes-alignment-not-durability/ Also known as: LBA Status: shipping Record updated: 2026-11-10 A logical block address (LBA) is the numeric address used to select a logical block within a storage device or namespace. Note: An LBA is a logical position, not physical-media placement. Retain the device or namespace identity. [snia-lba] For linear zero-based data addressing, byte offset = LBA times data bytes per block. LBA 8 starts at byte 4096 with 512-byte units or 32768 with 4096-byte units. Eight blocks from LBA 8 span LBAs 8-15. These are calculations, not observed media operations. NVM Command Set 1.0e Read NLB=7 requests eight blocks, whereas NSZE=8 counts addresses 0-7. That namespace cannot contain the preceding request. Metadata is separate from block data size. [nvme-nvm-1-0e] For integer N >= 0 addressable blocks, integer start S >= 0 and decoded integer count C > 0, require S < N then C <= N - S: S=7, C=1 fits N=8; C=2 or S=8 does not. This checks only address-space containment, not command success. NSZE bounds addresses; NCAP bounds simultaneous allocation. [nvme-nvm-1-0e] In NVM Command Set 1.0e, NSFEAT.THINP=0 requires NCAP=NSZE and permits constant NUSE=NCAP; THINP=1 requires allocated-block tracking. With ANA support, NUSE and NVMCAP are zero in ANA Inaccessible or ANA Persistent Loss for the controller-namespace relationship. Therefore zero proves neither an empty namespace nor erased data; NUSE is not filesystem used space. Record controller/path state. NVMCAP is in bytes, not blocks, and need not equal NSZE times block data size. [nvme-nvm-1-0e] Linux 6.17 block-statistics read/write/discard sector counters use 512-byte units, regardless of logical-block size. Do not multiply them by a discovered 4096-byte sector size. [linux-stat-units] Limitations: - An address alone does not establish physical placement, allocation state, atomicity or durable completion. (sources: [snia-lba], [nvme-nvm-1-0e]) Sources and caveats: - Primary-source review; illustrative integer arithmetic only. No device commands, benchmark or new field observations. NVMe revision is pinned; neither NLB encoding nor NSZE meaning is generalized to every storage field. Related terms: - [logical-sector](https://hesela.dev/terms/logical-sector/) - [scsi-read-capacity](https://hesela.dev/terms/scsi-read-capacity/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [active-lba-range](https://hesela.dev/terms/active-lba-range/) - [nvme-extended-lba](https://hesela.dev/terms/nvme-extended-lba/) - [sector-slipping](https://hesela.dev/terms/sector-slipping/) - [alternate-sector-remapping](https://hesela.dev/terms/alternate-sector-remapping/) Citations: - [nvme-nvm-1-0e] NVM Express NVM Command Set Specification 1.0e (2024), definitions 1.4.3.2-6, section 2.1.1 and Figures 47-48, 97. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0e-2024.07.29-Ratified.pdf (accessed 2026-11-05) - [snia-lba] SNIA Dictionary: logical block and logical block address, edition generated 4 November 2026. https://www.snia.org/sites/default/files/snia-dictionary-pdf/SNIADictionary.pdf (accessed 2026-11-04) - [linux-stat-units] Linux 6.17: block layer statistics, read/write/discard sector units. https://docs.kernel.org/6.17/block/stat.html (accessed 2026-11-04) ### Logical block provisioning status URL: https://hesela.dev/terms/logical-block-provisioning-status/ Related analysis: https://hesela.com/analyses/discard-is-not-zeroing/ Also known as: SCSI provisioning status Status: shipping Record updated: 2026-10-21 Logical block provisioning status describes the mapping state reported for an extent of SCSI logical block addresses. Note: The reviewed sg3_utils decoder distinguishes 0 (mapped or unknown), 1 (deallocated), 2 (anchored), 3 (mapped) and 4 (unknown). Code 0 is not definitive evidence of mapping, and nonzero is not a synonym for deallocated. [sg-status-decoder] Keep the reported extent, report type and status together. This is a logical-unit observation, not a filesystem free-space count or a backend capacity measurement. Limitations: - Provisioning status and readback data answer different questions; interpreting one as the other loses information. (sources: [scsi-reference]) Sources and caveats: - Status codes follow the pinned decoder; they are not a claim that every target supports every report type. Related terms: - [scsi-get-lba-status](https://hesela.dev/terms/scsi-get-lba-status/) - [scsi-lbprz](https://hesela.dev/terms/scsi-lbprz/) - [scsi-unmap](https://hesela.dev/terms/scsi-unmap/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) Citations: - [sg-status-decoder] sg3_utils: provisioning-status decoder (commit 1929463554c5). https://raw.githubusercontent.com/doug-gilbert/sg3_utils/1929463554c5dc749c5a89bcefb2c88a08d45575/src/sg_get_lba_status.c (accessed 2026-10-21) - [scsi-reference] Seagate SCSI Commands Reference, Rev. M: sections 3.4, 3.25.2, 3.58 and 5.4.13. https://knowledge.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068m.pdf (accessed 2026-10-21) ### Logical decoding URL: https://hesela.dev/terms/logical-decoding/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: PostgreSQL logical decoding Status: shipping Record updated: 2026-10-28 Logical decoding reconstructs database changes from a storage-level log into a representation that a consumer can interpret without the database's physical storage format. Note: PostgreSQL uses output plugins to translate WAL into change streams. A logical slot serves one database and has its own progress state. [pg-decoding] A disconnected slot can retain system-catalog row versions needed for decoding, so monitoring only retained WAL misses part of its resource footprint. [pg-decoding] For PostgreSQL 16 built-in logical replication, serial/identity column values travel with table rows but their sequence state does not. A writable-subscriber switchover therefore needs a separate allocator check. This restriction is not a statement about physical WAL replication, and pg_dump --data-only has a different documented scope that includes sequence values. [pg-logical-sequences] [pg-dump-sequences] Limitations: - After a crash, checkpointed slot progress can rewind and recent changes can be delivered again; consumers must prevent duplicate effects. (sources: [pg-decoding]) Related terms: - [replication-slot](https://hesela.dev/terms/replication-slot/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [log-sequence-number](https://hesela.dev/terms/log-sequence-number/) - [idempotency](https://hesela.dev/terms/idempotency/) - [failover-slot](https://hesela.dev/terms/failover-slot/) - [hot-standby-feedback](https://hesela.dev/terms/hot-standby-feedback/) - [postgresql-sequence](https://hesela.dev/terms/postgresql-sequence/) Citations: - [pg-decoding] PostgreSQL 18: logical decoding concepts and crash replay. https://www.postgresql.org/docs/18/logicaldecoding-explanation.html (accessed 2026-10-16) - [hesela-replication] Hesela: Replication acknowledgements, retention and decoding. https://hesela.com/analyses/replication-acknowledgements-durability-lag/ (accessed 2026-10-16) - [pg-logical-sequences] PostgreSQL 16: logical replication restrictions, sequence state. https://www.postgresql.org/docs/16/logical-replication-restrictions.html (accessed 2026-10-28) - [pg-dump-sequences] PostgreSQL 16: pg_dump, data-only scope includes sequence values. https://www.postgresql.org/docs/16/app-pgdump.html (accessed 2026-10-28) ### Logical Disk URL: https://hesela.dev/terms/logical-disk/ Also known as: Logical Disk interface Status: research Record updated: 2026-12-02 Logical Disk is a research storage interface that separates file management from physical placement through stable logical block identifiers and ordered block lists. Note: Lists convey placement relationships; logical identifiers survive relocation. LLD is its log-structured implementation, not a synonym for every logical volume. [sosp1993] The 1993 interface has non-concurrent ARUs. Flush(FailureSet) establishes persistence for specified failure classes; EndARU alone does not. [sosp1993] Its MINIX evaluation did not yet use ARUs, and there was no head-to-head Sprite LFS performance comparison. The later concurrent-ARU evaluation is a separate experiment. [sosp1993] [icdcs1996] Limitations: - Historical prototype results and memory-price estimates are not current-device benchmarks. (sources: [sosp1993]) Sources and caveats: - Primary-source review with a bounded teaching model; no original prototype execution or performance replication. Related terms: - [atomic-recovery-unit](https://hesela.dev/terms/atomic-recovery-unit/) - [type-safe-disks](https://hesela.dev/terms/type-safe-disks/) - [semantic-block-level-analysis](https://hesela.dev/terms/semantic-block-level-analysis/) Citations: - [sosp1993] de Jonge, Kaashoek and Hsieh. The Logical Disk: A New Approach to Improving File Systems. SOSP 1993, sections 2-5. https://www.cs.tufts.edu/~nr/cs257/archive/wilson-hsieh/logical-disk.pdf (accessed 2026-12-02) - [icdcs1996] Grimm, Hsieh, de Jonge and Kaashoek. Atomic Recovery Units: Failure Atomicity for Logical Disks. ICDCS 1996, sections 3-5. https://pdos.csail.mit.edu/archive/ld/arus.ps (accessed 2026-12-02) - [bibliography] MIT PDOS publication bibliography: SOSP 1993 (14th), pages 15-28; ICDCS 1996 (16th), pages 26-37. https://pdos.csail.mit.edu/publications/ (accessed 2026-12-02) ### Logical journaling URL: https://hesela.dev/terms/logical-journaling/ Related analysis: https://hesela.com/analyses/ext4-journal-replay-revocation/ Status: shipping Record updated: 2026-12-01 Logical journaling records recoverable changes to logical objects or operations rather than simply reproducing their on-disk representation. Note: Linux's XFS design uses logical records for in-core inode and quota changes alongside physical buffer logging and intents; the categories can coexist. [xfs] A compact record does not by itself establish lower device traffic or correct interrupted recovery. [hesela] ScaleFS illustrates a boundary: volatile logical operation logs precede a separate physical recovery journal. [scalefs17] Related terms: - [physical-journaling](https://hesela.dev/terms/physical-journaling/) - [ext4-fast-commit](https://hesela.dev/terms/ext4-fast-commit/) - [journal-checkpoint](https://hesela.dev/terms/journal-checkpoint/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [xfs-delayed-logging](https://hesela.dev/terms/xfs-delayed-logging/) - [physiological-logging](https://hesela.dev/terms/physiological-logging/) - [scalefs](https://hesela.dev/terms/scalefs/) Citations: - [xfs] Linux v6.12: XFS Logging Design, introduction. https://github.com/torvalds/linux/blob/v6.12/Documentation/filesystems/xfs/xfs-delayed-logging-design.rst (accessed 2026-10-15) - [hesela] Hesela: journal representations and FastCommit cost audit. https://hesela.com/analyses/ext4-journal-replay-revocation/#journal-cost (accessed 2026-10-15) - [scalefs17] Bhat et al. Scaling a file system to many cores using an operation log. SOSP 2017, sections 3-7. DOI: 10.1145/3132747.3132779. https://pdos.csail.mit.edu/papers/scalefs.pdf (accessed 2026-12-01) ### Logical sector URL: https://hesela.dev/terms/logical-sector/ Also known as: logical block (storage) Status: shipping Record updated: 2026-11-04 A logical sector is the addressable data unit selected by a logical block address at a storage interface. Note: Its size describes the addressed interface, not the application's write size. In 512e it is 512 bytes; in 4Kn it is 4096 bytes [kb2510009]. A logical block is the smallest unit of data that may be read or written. Data size excludes metadata and is 2 to the power of the LBA Data Size exponent: 512 bytes, 1 KiB, 2 KiB, 4 KiB, 8 KiB, etc. Logical block size adds the metadata byte count. A non-zero LBA Data Size less than 9 (512 bytes) is not supported, and 0h means that format is not currently available [nvme-nvm-cs]. IDENTIFY DEVICE word 106 is valid only when bit 14 is set and bit 15 is clear. With bit 12 set, the logical sector is larger than 256 words and words 117-118 hold that length at 256 words or more. With bit 12 clear, those words are invalid, the field is zero, and the logical sector is 256 words [ata8-acs]. Long logical sectors of 520 or 528 bytes are typical; Figure 10 shows 524 bytes per LBA. Read and write extended commands transfer long sectors, while IDENTIFY DEVICE, READ LOG EXT and WRITE LOG EXT transfer 256 words [ata8-acs]. LogicalBytesPerSector is the byte count used for logical addresses, not for an atomic write, and should not be used for physical-sector alignment [ms-fscc-sector]. NTFS sets PhysicalBytesPerSectorForAtomicity to the logical sector size when the reported physical sector is below that size or not a power of two. The effective-atomicity field repeats that and is capped at the system page size [ms-fscc-b]. As of 2026-02-12, 512-byte logical sectors are allowed for 512n on all Windows versions and for 512e on the printed releases, and 4 KB for 4Kn from Windows 8 and Windows Server 2012 onward. A reported size that is not 4 KB or 512 bytes is Not Supported. Hyper-V is excepted on the Server 2008 and 2008 R2 512e lines [kb2510009]. Advantages: - Explicit logical-sector sizes let software interpret address and transfer units without assuming 512 bytes. (sources: [microsoft-buffering]) Limitations: - The addressing unit can be smaller than the physical sector. (sources: [microsoft-buffering]) - FileFsSectorSizeInformation is available on Windows 8 and later, on file systems including NTFS, ReFS, FAT, ExFAT, UDFS and CDFS. (sources: [ms-fscc-b]) - A logical sector other than 512 bytes may make system image backup and restore fail with error 0x8078002A. (sources: [kb2510009]) - Creating a VHD on a native 4K sector drive fails with Incorrect Function for Disk Management or Hyper-V on Windows Server 2008 R2. Windows 8 and Windows Server 2012 list a new VHDx file format as supported. (sources: [kb2510009]) - The long logical sector feature set is prohibited for ATAPI devices. (sources: [ata8-acs]) - With no system buffering, a transfer must be an integer multiple of the volume sector size. The 512-byte example allows 512, 1,024, 1,536 or 2,048 bytes, not 335, 981 or 7,171. (sources: [microsoft-buffering]) Sources and caveats: - NVM Express NVM Command Set Specification Revision 1.0e, sections 1.4.3.3 to 1.4.3.6, section 2.1 and Figure 98. The printed size list ends with etc., so 8 KiB is not a stated maximum. [nvme-nvm-cs] - ATA text is Working Draft T13/1699-D Revision 4a, 21 May 2007, sections 4.12.1, 7.16.7.52 and 7.16.7.57, Table 4 and Figure 10. Section 4.12.1 sets word 106 bit 13 for long logical sectors; 7.16.7.52 defines bit 13 as more than one logical sector per physical sector. [ata8-acs] - Note 177 limits FileFsSectorSizeInformation to Windows 8 and later and to Microsoft-implemented file systems including NTFS, ReFS, FAT, ExFAT, UDFS and CDFS. Including is not an exhaustive only-these list. [ms-fscc-b] - Notes 178 and 180 are the NTFS sanitation steps. The effective-atomicity cap uses the system page size in MS-FSA 2.1.1.1 and does not print that size in bytes. [ms-fscc-b] - KB 2510009 is dated 2026-02-12. The 512e cell prints Windows 7 Server Pack 1 and Server 2008 R2 Server Pack 1. Unsupported scenarios do not guarantee a resolution. [kb2510009] Related terms: - [physical-sector](https://hesela.dev/terms/physical-sector/) - [512e](https://hesela.dev/terms/512e/) - [4kn-native](https://hesela.dev/terms/4kn-native/) - [block-storage](https://hesela.dev/terms/block-storage/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [minimum-io-size](https://hesela.dev/terms/minimum-io-size/) - [optimal-io-size](https://hesela.dev/terms/optimal-io-size/) - [alignment-offset](https://hesela.dev/terms/alignment-offset/) - [scsi-read-capacity](https://hesela.dev/terms/scsi-read-capacity/) - [nvme-extended-lba](https://hesela.dev/terms/nvme-extended-lba/) - [logical-block-address](https://hesela.dev/terms/logical-block-address/) Citations: - [microsoft-buffering] Microsoft: File buffering, alignment and file access requirements. https://learn.microsoft.com/en-us/windows/win32/fileio/file-buffering (accessed 2026-10-12) - [hesela-sector-alignment] Hesela: 512e, 4Kn and alignment: geometry is not durability. https://hesela.com/analyses/sector-sizes-alignment-not-durability/ (accessed 2026-10-12) - [nvme-nvm-cs] NVM Express NVM Command Set Specification, Revision 1.0e (July 29, 2024). https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0e-2024.07.29-Ratified.pdf (accessed 2026-10-27) - [ata8-acs] Working Draft AT Attachment 8 - ATA/ATAPI Command Set (ATA8-ACS), T13/1699-D Revision 4a (May 21, 2007). https://illumos.org/opensolaris/ARChive/FWARC/2008/013/commitment2.materials/specifications/D1699r4a-ATA8-ACS.pdf (accessed 2026-10-27) - [ms-fscc-sector] [MS-FSCC]: FileFsSectorSizeInformation, logical and physical sector fields. https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/3e75d97f-1d0b-4e47-b435-73c513837a57 (accessed 2026-10-27) - [ms-fscc-b] [MS-FSCC]: Appendix B product behavior, notes 177, 178 and 180. https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/d4bc551b-7aaf-4b4f-ba0e-3a75e7c528f0 (accessed 2026-10-27) - [kb2510009] Support policy for 4K sector hard drives (KB 2510009), dated 2026-02-12. https://learn.microsoft.com/en-us/troubleshoot/windows-server/backup-and-storage/support-policy-4k-sector-hard-drives (accessed 2026-10-27) ### Logical unit number (LUN) URL: https://hesela.dev/terms/logical-unit-number/ Related article: https://hesela.com/tech/scsi/ Also known as: LUN, logical unit number, Logical unit (LUN) Status: shipping Record updated: 2026-10-20 A logical unit number (LUN) is the address of a logical unit within a SCSI target. Note: Entity and address: The logical unit executes I/O commands; its LUN identifies it in the target context. The same numeric LUN on different targets need not refer to the same storage. [snia-lu] [snia-lun] Discovery: In Linux v6.12, the max_luns parameter defaults to 512 and is used by sequential scanning. REPORT LUNS takes a different path, grows its response buffer when needed and checks returned addresses against the host adapter's max_lun. The sequential setting is not a universal ceiling of 512 logical units. Device quirks, failures and configuration can affect discovery. [linux-scan] Limitations: - The address alone does not establish persistent volume identity across different targets. (sources: [snia-lun]) Sources and caveats: - Scanning behavior is pinned to Linux v6.12 and is an implementation example, not a maximum prescribed by SCSI. Related terms: - [san](https://hesela.dev/terms/san/) - [scsi](https://hesela.dev/terms/scsi/) - [block-storage](https://hesela.dev/terms/block-storage/) - [iscsi](https://hesela.dev/terms/iscsi/) - [t10-scsi](https://hesela.dev/terms/t10-scsi/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [command-descriptor-block](https://hesela.dev/terms/command-descriptor-block/) - [scsi-logical-unit](https://hesela.dev/terms/scsi-logical-unit/) Citations: - [c1] Logical unit (LUN). https://en.wikipedia.org/wiki/Logical_unit_number (accessed 2026-03-26) - [rfc7143] IETF RFC 7143, Internet Small Computer System Interface (iSCSI) Protocol (Consolidated), April 2014. https://www.rfc-editor.org/rfc/rfc7143 (accessed 2026-10-16) - [linux-scsi] The Linux Kernel documentation: SCSI Interfaces Guide (SCSI mid-layer, device scanning). https://docs.kernel.org/driver-api/scsi.html (accessed 2026-10-16) - [linux-scan] Linux v6.12 scsi_scan.c: max_scsi_luns, sequential scan and REPORT LUNS. https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/scsi/scsi_scan.c (accessed 2026-10-20) - [scsi2-smc] SCSI-2 draft standard, clause 17: Medium-changer devices (mirror). https://www.staff.uni-mainz.de/tacke/scsi/SCSI2-17.html (accessed 2026-10-16) - [snia-lu] SNIA dictionary: logical unit. https://www.snia.org/education/online-dictionary/term/logical-unit (accessed 2026-10-20) - [snia-lun] SNIA dictionary: logical unit number. https://www.snia.org/education/online-dictionary/term/logical-unit-number (accessed 2026-10-20) ### Logical volume URL: https://hesela.dev/terms/logical-volume/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: LV Status: shipping Record updated: 2026-10-20 A logical volume is a virtual block device whose address space is mapped to backing storage by a volume-management system. Note: An application-facing logical volume provides block addresses, not a file hierarchy. A filesystem, database or other application can use that device. In LVM2, PVs contribute extents to a VG, which supplies LVs. Special thin-pool and cache-pool LVs represent pools and cannot be used as ordinary block devices. [c1] [lvcreate] A thin LV's reported size is its exposed address range, which can exceed currently allocated backing space. It is separate from VG free extents, thin-pool headroom and filesystem free space. [c2] Growing an LV alone does not grow its filesystem. For ext2/3/4, resize2fs can shrink an unmounted filesystem and can expand a mounted one when supported. A coordinated tool may perform both layer changes, but support for one does not establish support for the other. [c3] Related terms: - [volume-manager](https://hesela.dev/terms/volume-manager/) - [lvm](https://hesela.dev/terms/lvm/) - [storage-virtualization](https://hesela.dev/terms/storage-virtualization/) - [block-storage](https://hesela.dev/terms/block-storage/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) - [thin-pool](https://hesela.dev/terms/thin-pool/) - [physical-volume](https://hesela.dev/terms/physical-volume/) - [volume-group](https://hesela.dev/terms/volume-group/) - [pvmove](https://hesela.dev/terms/pvmove/) Citations: - [c1] Red Hat Enterprise Linux 10: configuring and managing logical volumes. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_and_managing_logical_volumes/index (accessed 2026-10-19) - [c2] Linux kernel: device-mapper thin provisioning and shared backing storage. https://docs.kernel.org/admin-guide/device-mapper/thin-provisioning.html (accessed 2026-10-19) - [c3] e2fsprogs resize2fs(8): filesystem growth and shrink support. https://man7.org/linux/man-pages/man8/resize2fs.8.html (accessed 2026-10-19) - [lvcreate] LVM2 lvcreate(8): ordinary block volumes and special pool LV types. https://man7.org/linux/man-pages/man8/lvcreate.8.html (accessed 2026-10-20) ### Lognormal distribution URL: https://hesela.dev/terms/lognormal-distribution/ Related analysis: https://hesela.com/analyses/mttf-vs-field-replacement-rates/ Also known as: Log-normal distribution, Lognormal lifetime model Status: shipping Record updated: 2026-11-18 A lognormal distribution models a positive quantity whose natural logarithm, expressed relative to a fixed unit, is normal. Note: For an unshifted lifetime T > 0, ln(T/t0) is normal with mean mu and standard deviation sigma > 0; t0 is a declared time unit. The median is m = t0 exp(mu), whereas the mean is m exp(sigma^2/2). Mu and sigma describe log time, not the arithmetic mean and spread of lifetime. Changing the time unit changes mu, not sigma; the physical distribution is unchanged. [nist-lognormal] For t > 0, let z = ln(t/m)/sigma. Survival is S(t) = Phi(-z) and hazard is h(t) = phi(z)/(sigma t Phi(-z)), where Phi and phi are the standard normal CDF and density. The hazard has inverse-time units and rises before eventually falling. That model shape does not establish physical rejuvenation of individual devices. [nist-lognormal-eda] Lognormal and Weibull curves can both fit a small, censored sample well yet give very different extrapolations. Select a distribution using the failure mechanism, event definition and fit diagnostics. Taking logarithms does not remove censoring: a still-working device remains an incomplete lifetime observation. A lognormal fit is not a universal law for HDD or SSD aging. [nist-life-model-choice] [nist-lognormal] Related terms: - [weibull-distribution](https://hesela.dev/terms/weibull-distribution/) - [survival-function](https://hesela.dev/terms/survival-function/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) Citations: - [nist-lognormal] NIST e-Handbook 8.1.6.4: Lognormal lifetime formulas and model scope. https://www.itl.nist.gov/div898/handbook/apr/section1/apr164.htm (accessed 2026-11-18) - [nist-lognormal-eda] NIST e-Handbook 1.3.6.6.9: Lognormal density, survival and hazard. https://www.itl.nist.gov/div898/handbook/eda/section3/eda3669.htm (accessed 2026-11-18) - [nist-life-model-choice] NIST e-Handbook 8.2.1: Choosing an appropriate life distribution model. https://www.itl.nist.gov/div898/handbook/apr/section2/apr21.htm (accessed 2026-11-18) ### Longitudinal magnetic recording URL: https://hesela.dev/terms/longitudinal-recording/ Technology reference: https://hesela.com/tech/longitudinal-recording/ Also known as: LMR Status: unknown Record updated: 2026-10-23 Longitudinal magnetic recording stores HDD data with magnetization in the plane of the recording surface along the track direction. Note: Longitudinal magnetization lies along a track, while PMR magnetization points normal to the surface. The change involves different head and medium geometry, not simply a new software command. [pmr-hgst-2007] This is an orientation category, not the opposite of CMR. Non-shingled versus shingled describes track overlap. Historical use of the word conventional for longitudinal recording must not be read as the modern CMR/SMR taxonomy. [pmr-hgst-2007] [toshiba-pmr-announcement] [zoned-smr] A December 2004 PMR product announcement scheduled production for 2005; a November 2007 technical paper describes another company's PMR introduction in 2006. These milestones describe adoption of the successor technology, not a single worldwide end date for longitudinal HDDs. [toshiba-pmr-announcement] [pmr-hgst-2007] The medium is a layer of weakly coupled CoCr-alloy grains, with chromium segregated to the grain boundaries and several hundred grains per bit cell for low noise. Smaller grains keep the signal-to-noise ratio as density rises but can reverse thermally, so KuV must exceed about 55 kBT to hold a signal for five years at about 340 K. [fu2006] Modal grain size fell from about 20 nm to about 9 nm in a decade, a volume ratio of about 0.09. [lu2001] [plumer2011] A February 2005 technical report identifies demagnetizing fields and thermal instability as constraints on increasing longitudinal density. It explains a PMR head/media response, not a measured industry-wide investment shift or a universal date at which longitudinal recording stopped improving. [tanaka-2005] Advantages: - Grain-size control developed for chromium-segregated media was reused for the first perpendicular media. (sources: [fu2006]) Limitations: - Shrinking grain volume raises thermal-stability concerns; a recording label alone does not establish a universal areal-density ceiling. (sources: [pmr-hgst-2007]) - Write-pole materials stalled at 2.4 T saturation magnetization, so the higher anisotropy needed for stable smaller grains could not be written. (sources: [plumer2011]) - The easy-axis distribution is wider than the cone of about 5 degrees in perpendicular media, which costs signal-to-noise ratio. (sources: [plumer2011]) Sources and caveats: - Historical HDD recording technology superseded in mainstream products by PMR; the cited sources establish PMR adoption milestones, not a global end-of-production or end-of-use date. - Removed the unsupported lastSeen 2005 value. A PMR introduction milestone is not a global longitudinal-recording retirement or last-shipment date. - PMR remains the orientation successor; CMR remains a related track-layout term. Existing slug, alias and citation c1 are preserved. - Toshiba's December 2004 announcement gives planned production dates; HGST's November 2007 white paper describes its own introduction in 2006. - The grain physics comes from a 2006 master thesis, a 2001 book chapter with a drive-maker co-author and a 2011 review with two drive-maker co-authors. - The original 1997 thermal-stability paper and two journal articles on perpendicular media returned access errors and were not used. - Arithmetic: (9/20)^3 is about 0.09; stability criteria of 55 kBT and 60 kBT differ by retention time and margin. Related terms: - [pmr](https://hesela.dev/terms/pmr/) - [cmr](https://hesela.dev/terms/cmr/) - [run-length-limited](https://hesela.dev/terms/run-length-limited/) - [hdd](https://hesela.dev/terms/hdd/) Superseded by: - [pmr](https://hesela.dev/terms/pmr/) Citations: - [tanaka-2005] Yoichiro Tanaka: Toshiba Review 60(2), February 2005, pp. 82-83, longitudinal scaling and PMR head/media design (Japanese). https://www.global.toshiba/content/dam/toshiba/migration/corp/techReviewAssets/tech/review/2005/02/60_02pdf/rd01.pdf (accessed 2026-10-23) - [c1] Perpendicular recording. https://en.wikipedia.org/wiki/Perpendicular_recording (accessed 2026-03-26) - [pmr-hgst-2007] HGST: Perpendicular Magnetic Recording Technology, November 2007, sections 1.2-1.3 and Figure 1. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/white-paper/white-paper-pmr.pdf (accessed 2026-10-19) - [toshiba-pmr-announcement] Toshiba: Perpendicular-recording HDD announcement, 14 December 2004. https://www.global.toshiba/ww/news/corporate/2004/12/pr1401.html (accessed 2026-10-19) - [zoned-smr] Western Digital: Shingled Magnetic Recording Hard Disks, SMR overview and interface implementations. https://zonedstorage.io/docs/introduction/smr (accessed 2026-10-19) - [fu2006] Fu. Microstructure and Magnetic Properties of FePt/MgO Multilayered Thin Films. Master thesis, Vanderbilt University, December 2006. https://irbe.library.vanderbilt.edu/server/api/core/bitstreams/64c7692a-9381-4c35-81bc-1439af7654d9/content (accessed 2026-10-16) - [lu2001] Lu and Laughlin. Microstructure of Longitudinal Media. The Physics of Ultrahigh-Density Magnetic Recording, Springer, 2001, chapter 2. https://www.andrew.cmu.edu/user/dl0p/laughlin/pdf/lulaughlin.2001.pdf (accessed 2026-10-16) - [plumer2011] Plumer, van Ek and Cain. New Paradigms in Magnetic Recording. Physics in Canada 67(1), 2011 (arXiv 1201.5543). https://arxiv.org/abs/1201.5543 (accessed 2026-10-16) ### Lorenzo predictor URL: https://hesela.dev/terms/lorenzo-predictor/ Also known as: First-order Lorenzo predictor Status: research Record updated: 2026-11-17 The Lorenzo predictor estimates a regular-grid sample from an alternating sum of previously reconstructed corners of its adjacent hypercube. Note: Stencil: In three dimensions it uses seven neighbors: add the three face-adjacent values, subtract the three edge-diagonal values, then add the opposite corner. The 2D case is the parallelogram rule. A codec still needs residual encoding and a boundary convention. [lorenzo] Exactness: With exact arithmetic, the n-dimensional stencil reproduces every polynomial of total degree below n. This is sufficient, not necessary: a 3D x^4 field is also exact because it ignores two coordinates. On the unit cube, xyz instead predicts zero at (1,1,1), whose actual value is one. [lorenzo] [probe] Dimensions: Adding a weakly correlated axis can worsen compression. The 2003 fluid-mixing example retained every hundredth time frame and quantized values to one byte; 3D slice coding used 304,937,058 bytes versus 318,871,620 for 4D coding. These are that preprint's results, not binary64 fpzip measurements. [lorenzo] Reconstruction: A lossy predictive codec must synchronize the values used by encoder and decoder. The preprint quantizes residuals and feeds reconstructed values back into prediction to control accumulation. Floating-point arithmetic requires an implementation-specific contract beyond the polynomial theorem. [lorenzo] [api] Sources and caveats: - The cited text is the UCRL-JC-151934 preprint submitted to Eurographics 2003, by Lawrence Ibarria, Peter Lindstrom, Jarek Rossignac and Andrzej Szymczak. - Source review covers the stencil, polynomial proof, boundary scan, memory footprint and two 4D evaluations. The original simulation data and compression experiments are not reproduced. - Published examples use exact integer arithmetic and test monomials of total degree below n for n=1 through 4; native fpzip results are a separate experiment. Related terms: - [fpzip](https://hesela.dev/terms/fpzip/) Citations: - [lorenzo] Ibarria et al. (2003): Out-of-core compression and decompression of large n-dimensional scalar fields, sections 3-8. https://digital.library.unt.edu/ark:/67531/metadc1404787/m2/1/high_res_d/15004618.pdf (accessed 2026-11-17) - [api] fpzip 1.3.0: API precision range, headers and floating-point portability. https://github.com/LLNL/fpzip/blob/4a539c06d98b1c029b08324a086d4b75689a2b72/include/fpzip.h (accessed 2026-11-17) - [probe] Hesela: fpzip precision ledger and exact-arithmetic Lorenzo examples. https://hesela.dev/research/fpzip-precision/README.md (accessed 2026-11-17) ### Loris URL: https://hesela.dev/terms/loris/ Also known as: Loris storage stack Status: research Record updated: 2026-12-02 Loris is a research storage stack that separates naming, caching, file-level redundancy and device-specific layout behind file-oriented interfaces. Note: The MINIX 3 prototype places its logical RAID layer above physical file stores. Parent-held checksums are checked beneath redundancy operations, so recovery reads use the same verification path as application reads. The naming layer handles directories and POSIX semantics; lower layers manipulate files and attributes. [prdc2010] The MSST 2011 extension introduces file pools and virtualized file volumes, with per-file and per-volume snapshots. These are later additions, not capabilities to infer from every earlier Loris prototype. [msst2011] The NAS 2012 design restores a common metadata checkpoint after either a system crash or a lower-layer process crash. System recovery then resynchronizes affected redundant data; process recovery instead replays a surviving in-memory cache log. The cache and naming layers are outside that process-recovery scope. [nas2012] For unprotected in-place overwrites, a checksum record must reach storage before the new payload. Otherwise restoring old metadata could make a legitimate newer block indistinguishable from corruption. Resynchronization rejects checksum-invalid copies but does not guarantee which valid content version is selected; applications still own content-level consistency. [nas2012] Limitations: - Process recovery assumes failed components have not passed corrupt results to the cache or made corrupt data survive checkpoint restoration; it is not recovery from arbitrary stack-wide corruption. (sources: [nas2012]) Sources and caveats: - Historical primary-source synthesis across three distinct publications; not a claim of current operating-system support or a reproduced benchmark. - The PRDC 2010 paper describes metadata replay as work in progress. The NAS 2012 implementation and its fault model must be evaluated separately. Related terms: - [virtual-filesystem](https://hesela.dev/terms/virtual-filesystem/) - [membrane](https://hesela.dev/terms/membrane/) - [checksum](https://hesela.dev/terms/checksum/) - [raid](https://hesela.dev/terms/raid/) - [crash-recovery](https://hesela.dev/terms/crash-recovery/) - [snapshot](https://hesela.dev/terms/snapshot/) Citations: - [prdc2010] Appuswamy, van Moolenbroek and Tanenbaum. Loris - A Dependable, Modular File-Based Storage Stack. PRDC 2010, sections IV-VI. https://www.minix3.org/docs/loris/PRDC2010.pdf (accessed 2026-12-02) - [msst2011] Appuswamy, van Moolenbroek and Tanenbaum. Flexible, Modular File Volume Virtualization in Loris. MSST 2011, sections III-VII. https://www.minix3.org/docs/loris/MSST2011.pdf (accessed 2026-12-02) - [nas2012] van Moolenbroek, Appuswamy and Tanenbaum. Integrated System and Process Crash Recovery in the Loris Storage Stack. NAS 2012, sections IV-VII and IX. https://www.cs.vu.nl/~ast/Publications/Papers/nas-2012.pdf (accessed 2026-12-02) ### Lossless compression URL: https://hesela.dev/terms/lossless-compression/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: Lossless data compression Status: shipping Record updated: 2026-11-22 Lossless compression encodes data so that decoding can reconstruct the original input exactly without discarding information. Note: Recovery: For byte-oriented formats such as DEFLATE and Zstandard, correct decoding reconstructs the input bytes. This guarantee applies to the encoder's input, not information discarded before encoding. Different valid encodings can recover the same input; recompression need not reproduce the same compressed bytes. [rfc8878] [rfc1951] Space: No lossless compressor can make every possible input smaller. Framing and incompressible data can increase stored size; a codec label alone is not a capacity estimate. Filesystem allocation and metadata affect occupied storage, which is distinct from encoded-stream length. [rfc1951] [btrfs-compression] Dependencies: A Zstandard frame may require an external dictionary even when its dictionary-ID field is absent. Retain the required dictionary and a compatible decoder alongside the compressed data. [rfc8878] Counting bound: With one fixed decoder and fixed external context, 65,536 possible two-octet inputs compete for only 257 shorter octet strings (the empty string and 256 one-octet strings). At most 257 inputs can shorten; this is a counting bound, not a measured compression ratio. Per-object side information that varies with the input must be counted too. Shannon's source-coding result concerns average rates for a specified source, not guaranteed savings on each file. [rfc1951] [shannon1948] Advantages: - Byte-exact reconstruction supports compressing arbitrary file payloads without accepting deliberate information loss. (sources: [rfc1951], [rfc8878]) Limitations: - Reversibility does not prove that integrity checks were executed: Zstandard's content checksum is optional, and RFC 8878 permits decoders to ignore it. (sources: [rfc8878]) - Losslessness alone does not provide random access; DEFLATE and base Zstandard formats do not attempt to support it. (sources: [rfc1951], [rfc8878]) Sources and caveats: - Source synthesis of general byte-preserving compression and format-specific examples; no measured compression ratio, speed or corruption rate is claimed. - RFC 8878 is used for frame semantics, not as a statement of HTTP content-coding limits. Related terms: - [gorilla-compression](https://hesela.dev/terms/gorilla-compression/) - [chimp-compression](https://hesela.dev/terms/chimp-compression/) - [fpc](https://hesela.dev/terms/fpc/) - [fpzip](https://hesela.dev/terms/fpzip/) - [zfp](https://hesela.dev/terms/zfp/) - [error-bounded-lossy-compression](https://hesela.dev/terms/error-bounded-lossy-compression/) - [roaring-bitmap](https://hesela.dev/terms/roaring-bitmap/) - [transparent-compression](https://hesela.dev/terms/transparent-compression/) - [data-reduction-ratio](https://hesela.dev/terms/data-reduction-ratio/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) - [deflate](https://hesela.dev/terms/deflate/) - [zstandard](https://hesela.dev/terms/zstandard/) - [asymmetric-numeral-systems](https://hesela.dev/terms/asymmetric-numeral-systems/) - [compression-ratio](https://hesela.dev/terms/compression-ratio/) - [elias-fano](https://hesela.dev/terms/elias-fano/) - [golomb-coding](https://hesela.dev/terms/golomb-coding/) - [rice-coding](https://hesela.dev/terms/rice-coding/) - [run-length-encoding](https://hesela.dev/terms/run-length-encoding/) - [bit-packing](https://hesela.dev/terms/bit-packing/) - [huffman-coding](https://hesela.dev/terms/huffman-coding/) - [delta-encoding](https://hesela.dev/terms/delta-encoding/) - [delta-of-delta-encoding](https://hesela.dev/terms/delta-of-delta-encoding/) - [frame-of-reference](https://hesela.dev/terms/frame-of-reference/) - [patched-frame-of-reference](https://hesela.dev/terms/patched-frame-of-reference/) - [fsst](https://hesela.dev/terms/fsst/) - [burrows-wheeler-transform](https://hesela.dev/terms/burrows-wheeler-transform/) - [front-coding](https://hesela.dev/terms/front-coding/) - [grammar-compression](https://hesela.dev/terms/grammar-compression/) - [prediction-by-partial-matching](https://hesela.dev/terms/prediction-by-partial-matching/) - [tunstall-coding](https://hesela.dev/terms/tunstall-coding/) - [byte-pair-encoding](https://hesela.dev/terms/byte-pair-encoding/) - [entropy-coding](https://hesela.dev/terms/entropy-coding/) - [lz78](https://hesela.dev/terms/lz78/) - [lzw](https://hesela.dev/terms/lzw/) - [lz77](https://hesela.dev/terms/lz77/) - [rubikfs](https://hesela.dev/terms/rubikfs/) Citations: - [rfc1951] RFC 1951: DEFLATE, sections 1.1, 1.3-1.4 and 4. https://www.rfc-editor.org/rfc/rfc1951.html (accessed 2026-11-17) - [rfc8878] RFC 8878: Zstandard, sections 2, 3, 3.1.1 and 3.1.1.1.3. https://www.rfc-editor.org/rfc/rfc8878.html (accessed 2026-11-17) - [btrfs-compression] Btrfs-progs v6.16: Compression, extent granularity and incompressible data. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/ch-compression.rst (accessed 2026-11-17) - [shannon1948] Shannon (1948): A Mathematical Theory of Communication, sections 9-10; corrected reprint. https://web.mit.edu/6.441/spring05/reading/shannon1948.pdf (accessed 2026-11-17) ### Lost update URL: https://hesela.dev/terms/lost-update/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Lost update anomaly, P4 lost update Status: unknown Record updated: 2026-11-13 A lost update occurs when a write based on an earlier read overwrites another actor's intervening update to the same data item. Note: Berenson et al. describe this as phenomenon P4. Write skew is different: transactions can change different items while jointly violating a constraint. [berenson-lost-update] A database can serialize individual statements correctly while an application still loses an increment across separate read and write transactions. Hesela's native SQLite WAL experiment has two callers read zero and later each write one; both writes succeed but the final counter is one. This is not a failure of SQLite transaction isolation. [sqlite-transactions] [hesela-evidence] An UPDATE that computes value=value+1 inside the statement preserves both increments in this one-row experiment. A version-qualified UPDATE instead rejects the second stale request with zero affected rows and no SQL error. That rejection does not complete the requested increment. Engineering condition: every participating writer must advance a version that is not reused; the database does not enforce this application protocol automatically. [sqlite-update] [hesela-evidence] With both read transactions kept open, the WAL control rejects promotion of the stale snapshot with SQLITE_BUSY_SNAPSHOT (517), then explicitly rolls back; it does not retry. A storage-stack lost write is a different problem: completion was reported but the intended storage update is absent. No crash or storage fault is injected here. [sqlite-isolation] [sqlite-busy-result] [hesela-lost-write] Retry implication, not another measured schedule: restart the read-compute-write operation from a fresh read; do not replay an old literal after rollback. A zero-row guard must be handled as a conflict. [sqlite-isolation] [sqlite-update] Sources and caveats: - Primary-source synthesis and a native, deterministic SQLite 3.45.1 experiment. Four prescribed schedules, not a benchmark, prevalence estimate, crash test or general isolation-conformance test. Related terms: - [lost-write](https://hesela.dev/terms/lost-write/) - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) - [write-skew](https://hesela.dev/terms/write-skew/) - [serializability](https://hesela.dev/terms/serializability/) - [sqlite-busy-snapshot](https://hesela.dev/terms/sqlite-busy-snapshot/) - [read-committed-isolation](https://hesela.dev/terms/read-committed-isolation/) Citations: - [berenson-lost-update] Berenson et al. A Critique of ANSI SQL Isolation Levels. SIGMOD 1995, sections 4.1 (P4) and 4.2 (A5B). https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-95-51.pdf (accessed 2026-11-13) - [sqlite-transactions] SQLite Transaction: sections 2 and 2.3, implicit transactions and completed statements. https://www.sqlite.org/lang_transaction.html (accessed 2026-11-13) - [sqlite-update] SQLite UPDATE: section 2, row predicates and assignment expressions. https://www.sqlite.org/lang_update.html (accessed 2026-11-13) - [sqlite-isolation] SQLite Isolation: WAL snapshot isolation and SQLITE_BUSY_SNAPSHOT. https://www.sqlite.org/isolation.html (accessed 2026-11-13) - [sqlite-busy-result] SQLite result codes: SQLITE_BUSY_SNAPSHOT (517). https://www.sqlite.org/rescode.html#busy_snapshot (accessed 2026-11-13) - [hesela-evidence] Hesela: native SQLite lost-update schedules, source, method and results. https://hesela.dev/research/lost-update/README.md (accessed 2026-11-13) - [hesela-lost-write] Hesela: Lost write, storage-stack completion versus recorded data. https://hesela.dev/terms/lost-write/ (accessed 2026-11-13) ### Lost write URL: https://hesela.dev/terms/lost-write/ Status: unknown Record updated: 2026-11-13 A lost write is a write reported as completed whose intended update is absent at the required storage location. Note: An old record can remain internally consistent, including its checksum; physical address agreement alone cannot establish freshness. Firmware can report success without performing a write, and one drive model answered a cache-flush command with success without committing data, so a power cycle lost the data just written. [parity] [field] An earlier study calls the same failure a phantom write, caused by a buggy or misconfigured write-back cache. [iron2005] If a checksum is stored with its data and both are written in one request, both are lost together, and physical identity does not help because the stale block carries the right number. Detection needs a value kept outside the block and written separately: a checksum in the parent block, a logical identity or a version number. In the paper's model, write-verify catches the lost target write; its read-back result is not a general persistence guarantee. [parity] Version mirroring provides a separate comparison with parity metadata. [hesela-stamps] Recomputing parity from stale data without validating it can destroy the information needed for recovery. In a one-byte XOR example with d1 = 0x66, d2 = 0x44 and a lost update of d0 from 0x11 to 0x22, the polluted parity 0x33 rebuilds d0 as the stale 0x11. [parity] This storage-stack failure differs from a lost update. A later write based on an earlier read can overwrite another actor's intervening change even when individual storage writes work correctly. [berenson-lost-update] Advantages: - A parent-held checksum can detect stale contents when the expected parent state is available; detection alone does not guarantee recovery. (sources: [zfs2010]) Limitations: - Its frequency is not available separately, because the field study merges lost and misdirected writes into one class of identity discrepancies. (sources: [field]) Sources and caveats: - The model-checking paper is university-led with co-authors from a storage company (NetApp), and the field data come from that company's installed base. - The model-checking results rest on modelled error rates and assumptions; the phantom-write paper dates from 2005. - The parent-checksum study injected bit flips only, so its lost-write detection is the authors' statement rather than a tested result. - The XOR example is a constructed illustration: P = 0x22 ^ 0x33 ^ 0x44 = 0x55; after a reconstruct write of d1 = 0x66, P' = 0x11 ^ 0x66 ^ 0x44 = 0x33, and 0x66 ^ 0x44 ^ 0x33 = 0x11. Related terms: - [serial-number-arithmetic](https://hesela.dev/terms/serial-number-arithmetic/) - [misdirected-write](https://hesela.dev/terms/misdirected-write/) - [parity-pollution](https://hesela.dev/terms/parity-pollution/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [identity-discrepancy](https://hesela.dev/terms/identity-discrepancy/) - [version-mirroring](https://hesela.dev/terms/version-mirroring/) - [read-after-write-verification](https://hesela.dev/terms/read-after-write-verification/) - [io-shepherding](https://hesela.dev/terms/io-shepherding/) - [lost-update](https://hesela.dev/terms/lost-update/) Citations: - [parity] Krioukov et al. Parity Lost and Parity Regained. FAST 2008, sections 3-4. https://www.usenix.org/legacy/event/fast08/tech/full_papers/krioukov/krioukov_html/index.html (accessed 2026-11-01) - [field] Bairavasundaram et al. An Analysis of Data Corruption in the Storage Stack. FAST 2008, sections 2-3 and 6. https://www.usenix.org/legacy/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/index.html (accessed 2026-10-11) - [hesela-integrity] Hesela: checksum, identity and freshness boundaries with executable synthetic examples. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-10-11) - [iron2005] Prabhakaran et al. IRON File Systems. ACM SOSP 2005, sections 2 and 3. https://research.cs.wisc.edu/adsl/Publications/iron-sosp05.pdf (accessed 2026-10-16) - [zfs2010] Zhang, Rajimwale, Arpaci-Dusseau and Arpaci-Dusseau. End-to-end Data Integrity for File Systems: A ZFS Case Study. USENIX FAST 2010. https://www.usenix.org/legacy/event/fast10/tech/full_papers/zhang.pdf (accessed 2026-10-16) - [hesela-stamps] Hesela: identical one-bit stamps, opposite required repairs; executable synthetic histories. https://hesela.dev/research/version-mirroring/README.md (accessed 2026-11-01) - [berenson-lost-update] Berenson et al. A Critique of ANSI SQL Isolation Levels. SIGMOD 1995, sections 4.1 (P4) and 4.2 (A5B). https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-95-51.pdf (accessed 2026-11-13) ### LRFU replacement URL: https://hesela.dev/terms/lrfu/ Also known as: LRFU, Least Recently/Frequently Used Status: research Record updated: 2026-11-12 LRFU is a block-replacement policy that combines reference frequency with recency through exponentially decaying scores. Note: For 0 <= lambda <= 1 and q = 2^(-lambda), each reference contributes q^(current tick - reference tick); the smallest total score is evicted. The clock advances once per block reference, not per second. Lambda = 0 gives frequency ordering, while lambda = 1 gives LRU ordering. [lee2001] A score and its last-reference tick suffice. On another reference after d ticks, update C to 1 + q^d C. Compare blocks at a common current tick, not by their stored scores from different times. The basic implementation initializes a fetched block's score, so history retention across eviction must be specified. [lee2001] Example: with two slots and requests A,A,A,B, consider C at tick 5. At q = 1/2, A scores 7/16 and B scores 1/2, so A is evicted. Comparing their stale stored values, 7/4 and 1, wrongly selects B. At q = 3/4, the aligned scores are 333/256 and 3/4, so B is evicted. These are exact constructed scores, not measured cache performance. [example] Sources and caveats: - Source review covers the base algorithm; correlated-reference masking and the optimized heap/list implementation are not reproduced. [lee2001] - The constructed four-reference example uses equal-size blocks, an empty initial cache and exact rational arithmetic. It is not a reproduction of the paper's workload experiments. [code] Related terms: - [hyperbolic-caching](https://hesela.dev/terms/hyperbolic-caching/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [lru-k-replacement](https://hesela.dev/terms/lru-k-replacement/) - [kosmo](https://hesela.dev/terms/kosmo/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) Citations: - [lee2001] Lee et al. LRFU: A Spectrum of Policies that Subsumes the Least Recently Used and Least Frequently Used Policies. IEEE TC 50(12), 2001, sections 3-4. https://www.openu.ac.il/home/wiseman/2os/lru/lrfu.pdf (accessed 2026-11-07) - [metadata] University of Seoul publication record: LRFU, IEEE Transactions on Computers, 1352-1361. DOI 10.1109/TC.2001.970573. https://pure.uos.ac.kr/en/publications/lrfu-a-spectrum-of-policies-that-subsumes-the-least-recently-used/ (accessed 2026-11-07) - [example] Hesela: exact LRFU score alignment example (JSON). https://hesela.dev/research/lrfu/example.json (accessed 2026-11-07) - [code] Hesela: exact rational score calculation (Python). https://hesela.dev/research/lrfu/model.py (accessed 2026-11-07) ### LRU-K replacement URL: https://hesela.dev/terms/lru-k-replacement/ Also known as: LRU-K, LRU-2, Least Recently Used K Status: research Record updated: 2026-11-02 LRU-K ranks buffered pages by the age of their Kth most recent reference, using retained history to distinguish repeated use from isolated accesses. Note: The basic rule evicts the page with the largest backward K-distance; fewer than K known references gives infinite distance. A subsidiary policy resolves ties. Without correlation filtering, K=1 reduces to ordinary LRU. This ranks recent reference history, not lifetime access counts. [lruk] A correlated-reference period groups accesses transitively. LAST tracks the latest access while HIST tracks adjusted history. In the 1993 outline, a resident page is eligible for replacement only when t - LAST > period; equality remains protected. At the next uncorrelated reference, history updates contract the completed burst, not just omit its repeated accesses. Retained history can survive payload eviction. Finding that history is not a cache hit. [lruk] History storage: keeping access timestamps in page headers would require writing back otherwise clean pages. Discarding history at eviction can misclassify recurring accesses as first references; retained history is not cached payload. [lruk] The 1999 optimality result assumes the independent-reference model, steady-state behavior and the same limited K-reference history information. Theorem 3.9 compares LRU-K with m pages against a competitor with m-1 pages. It does not establish superiority on every finite trace or against a future-knowing policy. [optimality] 2Q is a different design using FIFO and LRU queues with a nonresident history, not another name for LRU-2. Its full version defers main-queue admission until a history hit. [twoq] Worked example: with K=2, period 5 and warm history (10,1), resident reads at 14 and 18 extend one burst. A read at 30 produces history (30,18) and backward distance 12. Merely omitting burst reads gives (30,10) and distance 20. Times are abstract ticks, not a measured workload. [example] Limitations: - Larger K retains more history and can respond more slowly when the access pattern changes. (sources: [optimality]) - Reference-history metadata requires its own retention policy; retaining a timestamp does not retain the page data. (sources: [lruk]) - The 1993 time-out heuristic groups nearby accesses without process identity; temporal proximity does not establish a shared transaction or causal dependence. (sources: [lruk]) - The schematic outline omits I/O latency and victim-search structures; its resident-history arithmetic alone does not measure end-to-end request cost. (sources: [lruk], [twoq]) - The 1993 paper leaves nonresident-history space budgeting open; 2Q separates resident page slots from remembered identifiers. Equal payload capacity therefore need not mean equal total memory consumption. (sources: [lruk], [twoq]) - The 1999 Bayesian argument assigns equal prior probabilities to unknown page-to-probability mappings. A policy with known per-page probabilities has different information, not future knowledge; it is outside this limited-history comparison. (sources: [optimality], [proof-copy]) - Lemma 3.8 defines steady-state startup after at least m-1 pages have each been referenced K or more times. This is a reference-history condition, not a fixed warm-up duration or a hardware-cache settling time. (sources: [optimality], [proof-copy]) Sources and caveats: - Primary-source synthesis of the 1993 algorithm, the 1999 proof and the distinct 1994 2Q design; no new benchmark or proof replication. - The 1999 full text was read through the author-uploaded copy. Its stationary independent-reference assumptions and one-buffer comparison are retained. - The historical correlation and history timeout examples are not recommendations for current hardware. - The constructed example covers resident K=2 updates with established history only; no cold start, eviction execution, history expiry, dirty writes, pins, or all-protected-buffer fallback. Related terms: - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [cache-admission](https://hesela.dev/terms/cache-admission/) Citations: - [lruk] O'Neil, O'Neil and Weikum. The LRU-K Page Replacement Algorithm for Database Disk Buffering. SIGMOD 1993, pp. 297-306, sections 2-2.1 and 5. https://www.cs.cmu.edu/~christos/courses/721-resources/p297-o_neil.pdf (accessed 2026-11-01) - [optimality] O'Neil, O'Neil and Weikum. An optimality proof of the LRU-K page replacement algorithm. JACM 46(1), 1999, pp. 92-112; Lemma 3.3 and Theorem 3.9. https://doi.org/10.1145/300515.300518 (accessed 2026-10-31) - [proof-copy] O'Neil, O'Neil and Weikum. Author-uploaded full text of the 1999 LRU-K optimality paper. https://www.researchgate.net/publication/47862866_An_optimality_proof_of_the_LRU-_K_page_replacement_algorithm (accessed 2026-11-02) - [twoq] Johnson and Shasha. 2Q: A Low Overhead High Performance Buffer Management Replacement Algorithm. VLDB 1994, section 2. https://www.vldb.org/conf/1994/P439.PDF (accessed 2026-11-01) - [example] Hesela. Constructed LRU-2 correlation example: inputs, states and eligibility probes. https://hesela.dev/research/lru2-correlated-history.json (accessed 2026-10-31) - [example-code] Hesela. Standalone warm-history LRU-2 arithmetic (Node.js; MIT). https://hesela.dev/research/lru2-correlated-history.mjs (accessed 2026-10-31) - [example-tests] Hesela. Boundary checks and independent batch-burst oracle for the LRU-2 example. https://hesela.dev/research/lru2-correlated-history.test.mjs (accessed 2026-10-31) ### Least recently used replacement URL: https://hesela.dev/terms/lru-replacement/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: LRU, least recently used Status: research Record updated: 2026-11-21 Least recently used replacement evicts the resident entry whose most recent access is oldest. Note: One-time scans can evict reusable entries. [car] Under equal-size, fully associative demand caching, LRU preserves resident-set inclusion as capacity grows. [counter-stacks] For zero-based distinct-entry reuse distance d and C slots, a repeated access hits exactly when d < C under those assumptions. First appearances are cold in an empty-cache replay. [reuse-report] Exact LRU tracks the latest access order. CAR describes a shared-list implementation whose MRU updates serialize behind a lock; this is not a universal global-lock requirement. [car] RocksDB documents a per-shard mutex and separate capacity budgets: local LRU order is not one global LRU order over the full cache. [rocksdb-cache] Recency alone ignores how often an entry is used. [car] A cyclic pattern slightly larger than the cache makes LRU evict the entries needed soonest, and with 100 index blocks referenced with probability 0.005 and 10,000 record blocks with 0.00005, LRU keeps about as many record blocks as index blocks. [lirs] The familiar B-competitive guarantee concerns demand paging with equal-size pages, unit fault cost and an offline optimum of the same capacity B. The general bound allows an additive initial-state term; it counts faults, not elapsed time, lock contention or variable-size byte traffic. [paging] The 2Q introduction summarizes the multiplicative comparison. [twoq] Operating systems approximate it: a page cache can keep inactive and active clock lists, admit new pages to the inactive list and promote pages accessed twice, because tracking every access is too expensive. [ws] An exact LRU cache of 100 entries hits on every access of a loop over 100 entries in steady state and never hits on a loop over 101. Advantages: - Recency-list updates have constant work per access and constant metadata per resident entry, not constant total cache space; the CAR paper's optimality claim assumes a stack-depth-distribution workload model. (sources: [car]) Limitations: - In the two-pool example with a 150-entry cache, an exact LRU simulation reaches a hit ratio of 0.30, while keeping all 100 index blocks would give 0.5025. (sources: [lirs]) Sources and caveats: - The CAR and ARC papers have an author at an industrial research laboratory, the 2Q paper has one author also listed at a software company, and the LIRS paper is university work read from the author-hosted technical report TR-02-6. - The kernel behaviour is taken from the v6.12 source comment, which describes the design rather than measuring it. - The 0.30 hit ratio and the loop results come from a constructed exact-LRU simulation in Python with fixed seeds, not from a measurement of any system. - Arithmetic: 0.5 + 0.5 x 50 / 10,000 = 0.5025; 0.5 / 100 = 0.005 and 0.5 / 10,000 = 0.00005 match the quoted probabilities. - Performance claims of the cited papers for their own policies are not repeated. - The 2026-10-25 correction uses Sleator and Tarjan section 4 for the fault-count model and initial-state allowance, and RocksDB documentation for an implementation counterexample to a universal global lock. No concurrent-cache benchmark was run. Related terms: - [cflru](https://hesela.dev/terms/cflru/) - [cfdc](https://hesela.dev/terms/cfdc/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [clock-replacement](https://hesela.dev/terms/clock-replacement/) - [cache-inclusion-property](https://hesela.dev/terms/cache-inclusion-property/) - [fifo-replacement](https://hesela.dev/terms/fifo-replacement/) - [belady-anomaly](https://hesela.dev/terms/belady-anomaly/) - [reuse-distance](https://hesela.dev/terms/reuse-distance/) - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [delayed-hit](https://hesela.dev/terms/delayed-hit/) - [lirs-replacement](https://hesela.dev/terms/lirs-replacement/) - [lru-k-replacement](https://hesela.dev/terms/lru-k-replacement/) - [multi-queue-replacement](https://hesela.dev/terms/multi-queue-replacement/) - [lecar](https://hesela.dev/terms/lecar/) - [cacheus](https://hesela.dev/terms/cacheus/) - [segmented-lru](https://hesela.dev/terms/segmented-lru/) - [che-approximation](https://hesela.dev/terms/che-approximation/) - [independent-reference-model](https://hesela.dev/terms/independent-reference-model/) - [mimir](https://hesela.dev/terms/mimir/) - [cliffhanger](https://hesela.dev/terms/cliffhanger/) - [amp-buffer-caching](https://hesela.dev/terms/amp-buffer-caching/) - [tsetlin-library](https://hesela.dev/terms/tsetlin-library/) Citations: - [car] Sorav Bansal and Dharmendra S. Modha. CAR: Clock with Adaptive Replacement. FAST 2004; sections III-V. https://www.usenix.org/legacy/events/fast04/tech/full_papers/bansal/bansal.pdf (accessed 2026-10-15) - [hesela] Hesela: mapping caches, scan phases and cache-history semantics (constructed examples). https://hesela.com/analyses/ssd-mapping-cache-hmb/#scan-pollution (accessed 2026-10-15) - [counter-stacks] Wires et al. Characterizing Storage Workloads with Counter Stacks. OSDI 2014, sections 2-3. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-wires.pdf (accessed 2026-10-17) - [reuse-report] Ding and Zhong. Reuse Distance Analysis. UR-CS-TR-741, February 2001, section 2.1 and Figures 1-3. https://www.cs.rochester.edu/u/cding/Documents/Publications/TR741.pdf (accessed 2026-10-24) - [twoq] Johnson and Shasha. 2Q: A Low Overhead High Performance Buffer Management Replacement Algorithm. VLDB 1994, pp. 439-450. https://www.vldb.org/conf/1994/P439.PDF (accessed 2026-10-16) - [lirs] Jiang and Zhang. LIRS: An Efficient Low Inter-reference Recency Set Replacement Policy to Improve Buffer Cache Performance. SIGMETRICS 2002. https://xiaodongzhang1911.github.io/Zhang-papers/TR-02-6.pdf (accessed 2026-10-16) - [ws] Linux v6.12 mm/workingset.c, leading comment on double CLOCK lists and shadow entries. https://github.com/torvalds/linux/blob/v6.12/mm/workingset.c (accessed 2026-10-16) - [paging] Sleator and Tarjan. Amortized Efficiency of List Update and Paging Rules. CACM 28(2), 202-208 (1985), section 4, Theorem 6. DOI 10.1145/2786.2793. https://www.cs.cmu.edu/~sleator/papers/amortized-efficiency.pdf (accessed 2026-10-25) - [rocksdb-cache] RocksDB project. Block Cache: sharding, capacity division and LRU Cache per-shard mutex. Implementation documentation, not a benchmark. https://github.com/facebook/rocksdb/wiki/Block-Cache (accessed 2026-10-25) ### LSM tombstone URL: https://hesela.dev/terms/lsm-tombstone/ Also known as: deletion marker, point tombstone Status: shipping Record updated: 2026-11-15 An LSM tombstone is a versioned deletion marker that suppresses older values for a key without immediately erasing their stored bytes. Note: A marker stays necessary while an older sorted table may still hold a value it hides, and compaction drops it only when no deeper level has a file whose key range overlaps that key. Removing the marker alone can expose obsolete data. [leveldb] Point-in-time reads can also require retaining older versions. [snapshots] In one replicated store, a replica that missed a deletion can reintroduce an old value after other replicas purge the marker. Grace-period expiry permits removal only when compaction conditions also allow it. [tombstones] To persist a delete, the marker must take part in one compaction per level, so purge time depends on the rate of unique inserts and on tree height. Workloads that mostly rewrite hot keys in upper levels can keep markers indefinitely. With a deadline at 50% of a run, a delete-aware policy purged all markers in time, while a saturation-driven policy left about 40,000, roughly 40% of those inserted, in older files. Space amplification fell by about 48%. [lethe] A backup can outlive every active deletion marker. In Hesela's constructed one-cell model, all replicas receive the deletion before eligible purge, yet a later old-value import becomes visible after complete reconciliation. A retained marker suppresses it after reconciliation; an isolated historical restore can intentionally require it. This is not a Cassandra run or a measured failure rate. The repair, archive and cell-ordering scopes are separate. [restore-repair] [restore-backups] [restore-cells] [restore-evidence] Advantages: - A delete costs one small sequential write instead of locating and rewriting every stored copy of the key. (sources: [lethe]) Limitations: - Deleting by an attribute other than the sort key, such as a timestamp, needs a scan and rewrite of the whole tree in a conventional layout. (sources: [lethe]) - Bounding purge time adds compaction work, measured at 4% to 25% more write amplification across the evaluated settings. (sources: [lethe]) Sources and caveats: - lethe read 2026-10-23, sections 1, 3.1, 4 and 5.1, for the per-level propagation argument, adversarial workloads and the measured figures. - leveldb read 2026-10-23 for the rule that drops markers only when no deeper overlapping file exists. - tombstones covers the replica resurrection case and grace-period expiry. - Two companion analyses on delete persistence and replica repair are listed but not used in prose. - 2026-11-03: source synthesis and fixed single-cell model for future-import scope; no native Cassandra experiment or independent peer review. Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sstable](https://hesela.dev/terms/sstable/) - [range-tombstone](https://hesela.dev/terms/range-tombstone/) - [delete-persistence-latency](https://hesela.dev/terms/delete-persistence-latency/) - [anti-entropy-repair](https://hesela.dev/terms/anti-entropy-repair/) - [rocksdb-single-delete](https://hesela.dev/terms/rocksdb-single-delete/) - [buffered-upsert](https://hesela.dev/terms/buffered-upsert/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [anvil](https://hesela.dev/terms/anvil/) Citations: - [leveldb] LevelDB project. Implementation: sorted tables and compaction. https://github.com/google/leveldb/blob/main/doc/impl.md (accessed 2026-10-23) - [snapshots] RocksDB project. Snapshot: sequence numbers, point-in-time reads and lifetime. https://github.com/facebook/rocksdb/wiki/Snapshot (accessed 2026-10-12) - [hesela] LSM tombstones: deleted is not yet reclaimed. https://hesela.com/analyses/lsm-tombstones-delete-persistence/ (accessed 2026-10-12) - [hesela-repair] Replica repair: what has actually converged? https://hesela.com/analyses/replica-repair-coverage/ (accessed 2026-10-13) - [tombstones] Apache Cassandra 5.0.0: Tombstones. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/managing/operating/compaction/tombstones.adoc (accessed 2026-10-13) - [lethe] Sarkar, Papon, Staratzis and Athanassoulis. Lethe: A Tunable Delete-Aware LSM Engine. SIGMOD 2020, arXiv 2006.04777, sections 3 to 5. https://arxiv.org/abs/2006.04777 (accessed 2026-10-23) - [restore-repair] Apache Cassandra 5.0.0. Repair: current replica scope. https://github.com/apache/cassandra/blob/186272edca920c757b91bf95c2392bafa1a38d72/doc/modules/cassandra/pages/managing/operating/repair.adoc (accessed 2026-11-03) - [restore-backups] Apache Cassandra 5.0.0. Backups: retained SSTable copies. https://github.com/apache/cassandra/blob/186272edca920c757b91bf95c2392bafa1a38d72/doc/modules/cassandra/pages/managing/operating/backups.adoc (accessed 2026-11-03) - [restore-cells] Apache Cassandra 5.0.0. Cells: regular-cell timestamp reconciliation. https://github.com/apache/cassandra/blob/186272edca920c757b91bf95c2392bafa1a38d72/src/java/org/apache/cassandra/db/rows/Cells.java (accessed 2026-11-03) - [restore-evidence] Hesela: archive-import teaching model, source receipts and reproduction. https://hesela.dev/research/tombstone-restore-closure/README.md (accessed 2026-11-03) ### Log-structured merge-tree URL: https://hesela.dev/terms/lsm-tree/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: LSM-tree, LSM tree, log structured merge tree Status: shipping Record updated: 2026-11-30 A write-oriented index that buffers updates and merges sorted components over time, trading write batching against read and compaction work. Note: Structure: In RocksDB leveled compaction, L0 files may overlap, while each higher level partitions one sorted run across SST files. A run is a logical ordering unit, not necessarily one file. [rocks-levels] Lifecycle: LevelDB buffers recent updates in a memtable and creates persistent sorted tables; compaction merges tables and removes records only when they are no longer needed. Deletion markers can remain to hide older values. These are implementation mechanisms, not a promise that every run contains only the latest visible value. [leveldb] Policy: LSM organization does not imply one compaction strategy. The research taxonomy separates the trigger, layout, compaction granularity and data-movement policy. Distinguish a logical run from the files selected for a particular compaction. [compaction-design] Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [sstable](https://hesela.dev/terms/sstable/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [lsm-tombstone](https://hesela.dev/terms/lsm-tombstone/) - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [compaction](https://hesela.dev/terms/compaction/) - [leveled-compaction](https://hesela.dev/terms/leveled-compaction/) - [tiered-compaction](https://hesela.dev/terms/tiered-compaction/) - [read-amplification](https://hesela.dev/terms/read-amplification/) - [space-amplification](https://hesela.dev/terms/space-amplification/) - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [copy-on-abundant-write](https://hesela.dev/terms/copy-on-abundant-write/) - [sorted-run](https://hesela.dev/terms/sorted-run/) - [fragmented-lsm-tree](https://hesela.dev/terms/fragmented-lsm-tree/) - [vt-tree](https://hesela.dev/terms/vt-tree/) - [bourbon](https://hesela.dev/terms/bourbon/) - [lsm-trie](https://hesela.dev/terms/lsm-trie/) - [spandb](https://hesela.dev/terms/spandb/) - [slimdb](https://hesela.dev/terms/slimdb/) - [novelsm](https://hesela.dev/terms/novelsm/) - [matrixkv](https://hesela.dev/terms/matrixkv/) - [tebis](https://hesela.dev/terms/tebis/) - [rocksdb](https://hesela.dev/terms/rocksdb/) - [leveldb](https://hesela.dev/terms/leveldb/) Citations: - [rocks-levels] RocksDB project. Leveled Compaction: Structure of the files. https://github.com/facebook/rocksdb/wiki/Leveled-Compaction (accessed 2026-10-25) - [leveldb] LevelDB 1.23 implementation note: Sorted tables, Compactions and Timing. https://github.com/google/leveldb/blob/1.23/doc/impl.md (accessed 2026-10-25) - [hesela] Hesela: Bloom filters and the cost of an absent LSM lookup. https://hesela.com/analyses/bloom-filters-lsm-read-cost/ (accessed 2026-10-12) - [compaction-design] Sarkar et al. Constructing and Analyzing the LSM Compaction Design Space. PVLDB 14(11), 2216-2229 (2021), section 2. DOI: 10.14778/3476249.3476274. https://www.vldb.org/pvldb/vol14/p2216-sarkar.pdf (accessed 2026-10-25) ### LSM-trie URL: https://hesela.dev/terms/lsm-trie/ Status: research Record updated: 2026-11-11 LSM-trie is a hash-routed, multi-level key-value store that groups lookup filters to limit out-of-memory metadata reads. Note: Routing: hash prefixes select table containers; suffixes select buckets. Grouped filters cover the same bucket position across sub-levels. Native ordered range search is not supported. [lsm-trie-paper] Lookup: the pinned implementation checks active tables before traversing containers, where filter bits select candidate tables. A positive candidate still requires full-key verification. [lsm-trie-db] [lsm-trie-table] Limitations: - The two-read design assumes resident upper-level metadata; false positives and bucket migrations can add reads. [lsm-trie-paper] Sources and caveats: - Full paper and pinned lookup code reviewed. No engine execution or benchmark reproduction. Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [read-amplification](https://hesela.dev/terms/read-amplification/) Citations: - [lsm-trie-paper] Wu, Xu, Shao and Jiang. LSM-trie. USENIX ATC 2015, pp. 71-82; sections 2.3-2.4, Table 1. https://files.usenix.org/s3fs-public/cdn/atc15-paper-wu.pdf (accessed 2026-11-11) - [lsm-trie-db] LSM-trie author code: recursive_lookup and db_lookup, pinned revision. https://github.com/wuxb45/lsm-trie/blob/8e2fca33a43749bf3d82ceb6f6a2264fb12f97a0/db.c#L1068-L1134 (accessed 2026-11-11) - [lsm-trie-table] LSM-trie author code: full-key equality and recursive bucket lookup, pinned revision. https://github.com/wuxb45/lsm-trie/blob/8e2fca33a43749bf3d82ceb6f6a2264fb12f97a0/table.c#L944-L1104 (accessed 2026-11-11) - [hesela] Hesela: LSM-trie, cold metadata and false-positive counts. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#lsm-trie-metadata (accessed 2026-11-11) ### LT code URL: https://hesela.dev/terms/lt-code/ Also known as: Luby transform code, LT codes Status: research Record updated: 2026-11-22 An LT code is a rateless erasure code that forms each output symbol by XORing a randomly selected subset of source symbols according to a degree distribution. Note: The encoder samples a degree d, then d distinct source neighbors. A receiver needs the same neighbor information, whether transmitted explicitly or reconstructed from agreed identifiers and parameters. Peeling recovers an input from an equation with one remaining unknown, substitutes it into neighboring equations and repeats. The choice of degree distribution is essential to keeping this process progressing. [luby2002] Do not equate a stalled peeling decoder with insufficient information. In the linked example, the equations a XOR b, a XOR c and a XOR b XOR c determine all three inputs, but none initially has degree one. Adding a alone permits peeling to recover the other two. This illustrates a decoder limitation with fixed equations, not the failure probability of a designed LT code. [example] The LT paper's ripple is the set of released input symbols awaiting processing; Shokrollahi also defines an output ripple of degree-one equations. Counts for these two definitions need not coincide when several equations expose the same input. [luby2002] [raptor2006] Limitations: - The original LT construction is not systematic. Systematic RaptorQ is a separate construction, not another name for plain LT coding. (sources: [luby2002], [rfc6330]) Sources and caveats: - Source review covers the encoder, recovery rule and ripple definitions rather than relying on the abstracts. No throughput or recovery-rate replication is claimed. Related terms: - [fountain-code](https://hesela.dev/terms/fountain-code/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [raptor-code](https://hesela.dev/terms/raptor-code/) - [raptorq](https://hesela.dev/terms/raptorq/) - [stopping-set](https://hesela.dev/terms/stopping-set/) - [soliton-distribution](https://hesela.dev/terms/soliton-distribution/) Citations: - [luby2002] Michael Luby. LT Codes. FOCS 2002, sections 1.1-1.2, 2-3. DOI: 10.1109/SFCS.2002.1181950. https://pages.cs.wisc.edu/~suman/courses/740/papers/luby02lt.pdf (accessed 2026-11-21) - [raptor2006] Amin Shokrollahi. Raptor Codes. IEEE TIT 52(6), 2551-2567 (2006), sections III-IV. DOI: 10.1109/TIT.2006.874390. https://www.qualcomm.com/content/dam/qcomm-martech/dm-assets/documents/Raptor_Codes_IEEE_technical_analysis.pdf (accessed 2026-11-21) - [rfc6330] RFC 6330 (2011): RaptorQ, sections 5.3.1, 5.8 and 6. https://www.rfc-editor.org/rfc/rfc6330.html (accessed 2026-11-21) - [example] Hesela: exact synthetic XOR equation, rank and peeling observations. https://hesela.dev/research/fountain-rank/observations.json (accessed 2026-11-21) - [guide] Hesela: worked decoding example and reproduction instructions. https://hesela.dev/research/fountain-rank/README.txt (accessed 2026-11-21) ### LTFS data placement policy URL: https://hesela.dev/terms/ltfs-data-placement-policy/ Related analysis: https://hesela.com/analyses/ltfs-partition-switch-costs/ Also known as: LTFS placement policy Status: shipping Record updated: 2026-10-20 An LTFS data placement policy specifies which file data may be stored in the index partition alongside filesystem metadata. Note: A size-and-name policy can combine a file-size limit with optional filename patterns. Qualifying data is first written to the data partition and buffered, then copied to the index partition when the buffer fills or the medium unmounts. The intended benefit is access soon after mounting, not permanent random-access performance. [c1] Advantages: - Selected small files can be made available with less tape positioning after mount. (sources: [c1]) Limitations: - Placement in both partitions of one cartridge is not an independent backup. (sources: [c1]) - Buffer pressure can trigger additional placement work; index-partition capacity remains limited. (sources: [c1]) Sources and caveats: - The placement sequence and buffer behavior describe IBM Spectrum Archive SDE and LE in the 2018 guide, not mandatory behavior for every LTFS implementation. [c1] Related terms: - [ltfs](https://hesela.dev/terms/ltfs/) - [ltfs-index](https://hesela.dev/terms/ltfs-index/) - [lto](https://hesela.dev/terms/lto/) - [tape](https://hesela.dev/terms/tape/) Citations: - [c1] IBM Spectrum Archive SDE and LE: Installation and Configuration Guide, formatting options and section 3.5.4. https://www.redbooks.ibm.com/redbooks/pdfs/sg248090.pdf (accessed 2026-10-20) ### LTFS index URL: https://hesela.dev/terms/ltfs-index/ Related analysis: https://hesela.com/analyses/ltfs-partition-switch-costs/ Also known as: LTFS XML index Status: shipping Record updated: 2026-10-24 An LTFS index is XML metadata describing files, directories and the mapping from file contents to recorded tape extents. Note: A full index describes the volume; an incremental index records changes. Incremental indexes belong only in the data partition, whose final index must be full after clean unmount. [c1] Rollback tools can expose earlier index generations as rollback points. Keeping history preserves access to other generations; erase-history discards newer history, so rollback is not always reversible. [c2] Reading incremental indexes is required for format 2.5.0+ conformance; generating them is optional. Included extentinfo and extendedattributes elements must be complete, not partial list edits. Recovery starts with a full index and applies the intervening increments. [c1] In reference commit efc9e3a5, newly synthesized _ltfs_lostandfound entries represent individual logical tape-record reads, with generated names and recovery-time timestamps. The helper does not reconstruct original filenames or multi-record file grouping; this does not describe ordinary named files recovered through a surviving index. [c3] LTFS 2.5.1 Annex F.3 does not require file-hash generation or checking and leaves hash maintenance and update policy outside its scope. [c1] A stored hash attribute is not a verification event: recompute the digest for the intended content version. Hesela verification guidance: compare recovered paths, lengths, versions and whole-file digests with a trusted, preexisting inventory; a digest calculated only after salvage cannot by itself establish original identity. Limitations: - An index records file locations, not an independent backup of the file payload. (sources: [c1]) - Older recovery tools that do not recognize incremental indexes can fail or lose newer changes on an inconsistent volume, even when clean-volume mounting works. (sources: [c1]) Sources and caveats: - Rollback and erase-history behavior refers to IBM Storage Archive SDE, not a requirement on every LTFS implementation. [c2] - Recovery-entry behavior is a source review of one pinned implementation, not a format requirement, tape recovery experiment or guarantee for every LTFS product. [c3] Related terms: - [ltfs](https://hesela.dev/terms/ltfs/) - [lto](https://hesela.dev/terms/lto/) - [tape](https://hesela.dev/terms/tape/) - [ltfs-data-placement-policy](https://hesela.dev/terms/ltfs-data-placement-policy/) - [medium-auxiliary-memory](https://hesela.dev/terms/medium-auxiliary-memory/) Citations: - [c1] SNIA LTFS Format Specification 2.5.1, sections 5, 9.2 and Annex H (including H.1, H.4 and H.5); Annex F.3. https://www.snia.org/sites/default/files/technical-work/ltfs/release/SNIA-LTFS-Format-2-5-1-Standard.pdf (accessed 2026-10-24) - [c2] IBM Storage Archive SDE: Rolling back media. https://www.ibm.com/docs/en/storage-archive-sde/2.4.8?topic=tools-rolling-back-media (accessed 2026-10-15) - [c3] LTFS reference implementation, ltfs_internal.c: lost-and-found helper and callers, commit efc9e3a5c498504c03c2f1d0b931bae058922104. https://raw.githubusercontent.com/LinearTapeFileSystem/ltfs/efc9e3a5c498504c03c2f1d0b931bae058922104/src/libltfs/ltfs_internal.c (accessed 2026-10-24) ### LTFS URL: https://hesela.dev/terms/ltfs/ Related article: https://hesela.com/tech/lto/ Also known as: Linear Tape File System Status: shipping Record updated: 2026-10-24 Linear Tape File System is a self-describing tape format that stores files and directory metadata for interchange between compatible implementations. Note: The index partition primarily holds indexes; the data partition holds file data and additional indexes. Index-partition file placement is policy-controlled. [c1] The documented file-update path appends replacement data; deletion removes the index entry without reclaiming space. [c2] Previous index generations support rollback while their referenced data remains available; erasing rollback history removes access to newer generations. [c3] A self-describing volume does not imply automatic whole-file hash verification: LTFS 2.5.1 Annex F.3 does not require implementations to generate or check file hashes. [c1] Consult the LTFS index record for the distinction between restoring indexed files and synthesizing salvage entries. Limitations: - Independent tape replicas are a separate enterprise archive function, not an automatic consequence of using LTFS. (sources: [c4]) Sources and caveats: - Append/delete, rollback and replication behavior refers to the cited IBM Storage Archive and Spectrum Archive implementations, not requirements on every LTFS implementation. [c2] [c3] [c4] Related terms: - [lto](https://hesela.dev/terms/lto/) - [tape](https://hesela.dev/terms/tape/) - [file-storage](https://hesela.dev/terms/file-storage/) - [ltfs-index](https://hesela.dev/terms/ltfs-index/) - [ltfs-data-placement-policy](https://hesela.dev/terms/ltfs-data-placement-policy/) - [medium-auxiliary-memory](https://hesela.dev/terms/medium-auxiliary-memory/) - [metal-particle-tape](https://hesela.dev/terms/metal-particle-tape/) Citations: - [c1] SNIA LTFS Format Specification 2.5.1, sections 4, 5 and 9.2.18; Annex F.3. https://www.snia.org/sites/default/files/technical-work/ltfs/release/SNIA-LTFS-Format-2-5-1-Standard.pdf (accessed 2026-10-24) - [c2] IBM Storage Archive LE 2.4.7: Overwriting or erasing a file. https://www.ibm.com/docs/en/storage-archive-le/2.4.7?topic=tips-overwriting-erasing-file (accessed 2026-10-15) - [c3] IBM Storage Archive SDE: Rolling back media. https://www.ibm.com/docs/en/storage-archive-sde/2.4.8?topic=tools-rolling-back-media (accessed 2026-10-15) - [c4] IBM Spectrum Archive Enterprise Edition V1.2.6, section 7.10.4: Replicas and redundant copies. https://www.redbooks.ibm.com/redbooks/pdfs/sg248445.pdf (accessed 2026-10-15) ### LTO (Linear Tape-Open) URL: https://hesela.dev/terms/lto/ Technology reference: https://hesela.com/tech/lto/ Also known as: LTO Ultrium Status: shipping Record updated: 2026-10-27 An open tape format standard for high-capacity cartridges, advanced by the LTO Program for backup and archive. Note: Linear Tape-Open (LTO Ultrium) is a multi-vendor tape format governed by the LTO Program’s Technology Provider Companies—HPE, IBM, and Quantum—with licensed media and drive manufacturers. Each generation defines native capacity, transfer rate, and compatibility rules; products carry Ultrium verification marks after compliance testing. LTO-9 is widely cited at 18 TB native (45 TB at 2.5:1 compression) and 400 MB/s native transfer per LTO.org materials; LTO-10 specifications were introduced in 2025 with higher native capacities (program announcements list 30 TB and later 40 TB cartridge specs—verify the exact SKU matrix before quoting). Modern generations add encryption, WORM, and LTFS options. Backward read/write compatibility is generation-specific and must be checked per roadmap, not assumed. Related terms: - [tape](https://hesela.dev/terms/tape/) - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [air-gap-backup](https://hesela.dev/terms/air-gap-backup/) - [tapealert](https://hesela.dev/terms/tapealert/) - [ltfs](https://hesela.dev/terms/ltfs/) - [ltfs-index](https://hesela.dev/terms/ltfs-index/) - [ltfs-data-placement-policy](https://hesela.dev/terms/ltfs-data-placement-policy/) - [medium-auxiliary-memory](https://hesela.dev/terms/medium-auxiliary-memory/) - [tape-filemark](https://hesela.dev/terms/tape-filemark/) - [tape-buffer-synchronization](https://hesela.dev/terms/tape-buffer-synchronization/) - [robotic-tape](https://hesela.dev/terms/robotic-tape/) - [dlt](https://hesela.dev/terms/dlt/) - [tape-backhitch](https://hesela.dev/terms/tape-backhitch/) - [tape-speed-matching](https://hesela.dev/terms/tape-speed-matching/) Citations: - [c1] Linear Tape-Open. https://en.wikipedia.org/wiki/Linear_Tape-Open (accessed 2026-03-26) - [n2] LTO Program — Trust LTO / program overview. https://www.lto.org/trustlto/ (accessed 2026-10-07) - [n3] LTO Program — LTO-10 technology page. https://www.lto.org/lto-10/ (accessed 2026-10-07) - [n4] LTO Program — Generation 10 introduction (Aug 2025). https://www.lto.org/2025/08/the-lto-program-introduces-generation-10-of-leading-tape-technology-delivering-unparalled-media-density/ (accessed 2026-10-07) - [n5] LTO Program — Roadmap. https://www.lto.org/roadmap/ (accessed 2026-10-07) ### LUKS header backup URL: https://hesela.dev/terms/luks-header-backup/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Status: shipping Record updated: 2026-10-23 A LUKS header backup preserves the encryption metadata and keyslot area needed to recover a volume key with a matching credential. Note: luksHeaderBackup stores a binary copy of the LUKS header and keyslot area. The saved header is a separate key-access path: with a passphrase valid at backup time it allows decryption of the data area even after that passphrase was changed or removed on the device. Its security relevance persists while the corresponding volume key protects data. [luks-backup-v270] For LUKS2, the metadata area is 16 to 4096 kB including 4096 bytes of binary header, and the keyslot area must be a multiple of 4096 bytes up to 128 MB. A backup therefore carries the whole encrypted key-material area, not only the JSON metadata. [luks-options-v270] Restoration replaces the target header and keyslots, after which only passphrases from the backup work. It requires matching volume key size and data offset unless the device has no LUKS header. That match does not establish that a backup belongs to the intended payload. [luks-restore-v270] Advantages: - A damaged on-disk header can be replaced from the file, restoring access with the passphrases that were valid when it was saved. (sources: [luks-backup-v270], [luks-restore-v270]) Limitations: - Overwriting the device header and keyslots no longer removes access by itself. Every header backup must also be securely erased, or the data area overwritten, which is less reliable because some sectors can survive through defect management. (sources: [luks-backup-v270]) Sources and caveats: - luks-backup-v270 and luks-restore-v270 are the cryptsetup v2.7.0 luksHeaderBackup(8) and luksHeaderRestore(8) sources, re-read for the warning text and the key size and data offset check. - luks-options-v270 is the cryptsetup v2.7.0 common options source, read for the LUKS2 metadata sizes, the 4096-byte binary area and the 128 MB keyslot limit. - A cryptsetup 2.7.0 file experiment recovered the original key from saved LUKS1 and LUKS2 headers after live-keyslot erasure. - In the same experiment a foreign-header control passed a password check while returning a different key from the target's original one. No payload restoration was tested. - The sanitize-nvme entry links here because a header backup kept off the device is outside a device sanitize and must be erased separately. Related terms: - [luks](https://hesela.dev/terms/luks/) - [luks-keyslot](https://hesela.dev/terms/luks-keyslot/) - [backup](https://hesela.dev/terms/backup/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) Citations: - [luks-backup-v270] cryptsetup v2.7.0: header backup and retained access. https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.7.0/man/cryptsetup-luksHeaderBackup.8.adoc (accessed 2026-10-23) - [luks-restore-v270] cryptsetup v2.7.0: header replacement and compatibility checks. https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.7.0/man/cryptsetup-luksHeaderRestore.8.adoc (accessed 2026-10-23) - [hesela-luks-observations] Hesela: LUKS header lifetime and identity observations. https://hesela.com/analyses/checksums-identity-and-lost-writes/#luks-header-lifetime (accessed 2026-10-21) - [luks-options-v270] cryptsetup v2.7.0: common options, --luks2-metadata-size and --luks2-keyslots-size. https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.7.0/man/common_options.adoc (accessed 2026-10-23) ### LUKS keyslot URL: https://hesela.dev/terms/luks-keyslot/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Status: shipping Record updated: 2026-10-21 A LUKS keyslot is a credential-protected key-management slot used to recover key material for encrypted storage. Note: Changing a passphrase updates its keyslot rather than necessarily changing the key that encrypts stored data. LUKS2 can also contain unbound keyslots, so a slot must not automatically be interpreted as an active data-segment key. [luks-change-v270] [luks-dump-v270] Hesela's cryptsetup 2.7.0 LUKS1/LUKS2 experiment recovered an unchanged volume key after changing the live passphrase. An earlier header backup still accepted the old credential. These are controlled file observations, not a test of active mappings, reencryption or physical sanitization. [hesela-luks-observations] A slot is not a unique credential identity. The same passphrase can protect more than one slot. In Hesela's separate 144-check study, changing slot 0 left the old passphrase usable through slot 1; removing slot 1 stopped that live route. The recovered volume key stayed unchanged. [hesela-luks-slots] Related terms: - [luks](https://hesela.dev/terms/luks/) - [luks-header-backup](https://hesela.dev/terms/luks-header-backup/) - [dm-crypt](https://hesela.dev/terms/dm-crypt/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) Citations: - [luks-change-v270] cryptsetup v2.7.0: passphrase replacement. https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.7.0/man/cryptsetup-luksChangeKey.8.adoc (accessed 2026-10-21) - [luks-dump-v270] cryptsetup v2.7.0: volume-key recovery and exposure. https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.7.0/man/cryptsetup-luksDump.8.adoc (accessed 2026-10-21) - [hesela-luks-observations] Hesela: LUKS header lifetime and identity observations. https://hesela.com/analyses/checksums-identity-and-lost-writes/#luks-header-lifetime (accessed 2026-10-21) - [hesela-luks-slots] Hesela: duplicate LUKS credentials with explicit-slot controls. https://hesela.com/analyses/checksums-identity-and-lost-writes/#luks-duplicate-slots (accessed 2026-10-21) ### LUKS URL: https://hesela.dev/terms/luks/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Linux Unified Key Setup Status: shipping Record updated: 2026-10-23 LUKS is a disk-encryption metadata format that stores cipher parameters and keyslots so that several passphrases or keys can unlock one volume key. Note: LUKS1 has a binary header and eight keyslots for independent passphrases that unlock one volume key. LUKS2 stores most metadata in JSON and limits keyslots only by header area size, while the reference implementation allows 32. Its binary header occupies one 4096-byte sector, of which 512 bytes are used, and the secondary header starts at one of nine fixed offsets from 16 KiB to 4 MiB. [luks2-spec] The format names no particular cipher, and integrity protection stacks the encryption mapping on a dm-integrity device. LUKS2 can also manage hardware encryption on OPAL self-encrypting drives with Linux 6.4 or later. [cryptsetup-source] Advantages: - Primary and secondary copies of the binary and JSON areas, together with a metadata checksum, allow a damaged header to be detected and recovered. (sources: [luks2-spec]) - Passphrases can be revoked or changed individually because each one uses its own keyslot. (sources: [cryptsetup-source]) Limitations: - Recovery copies of the header/keyslots are security-sensitive, not harmless configuration exports. (sources: [luks-header]) - Binary keyslot data have no redundant copy, so damage to a keyslot area is not repaired from the secondary header. (sources: [luks2-spec]) - In authenticated encryption mode, discards cannot be passed through because the kernel encryption target does not support them when dm-integrity provides tag space. (sources: [cryptsetup-source]) Sources and caveats: - luks2-spec is the LUKS2 On-Disk Format Specification version 1.1.4, read in sections 1 and 2 for keyslot limits, header layout and offsets. - cryptsetup-source is the v2.8.1 reference manual page, read for keyslots, authenticated disk encryption, discard support and the OPAL extension. - luks-header was not re-read and is kept only for the existing header-backup limitation. Related terms: - [luks-header-backup](https://hesela.dev/terms/luks-header-backup/) - [luks-keyslot](https://hesela.dev/terms/luks-keyslot/) - [dm-crypt](https://hesela.dev/terms/dm-crypt/) - [xts-aes](https://hesela.dev/terms/xts-aes/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [backup](https://hesela.dev/terms/backup/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) Citations: - [cryptsetup-source] cryptsetup v2.8.1 manual: LUKS, authenticated disk encryption and OPAL extension. https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.8.1/man/cryptsetup.8.adoc (accessed 2026-10-23) - [luks-header] cryptsetup-luksHeaderBackup(8): header backups and retained decryption access. https://man7.org/linux/man-pages/man8/cryptsetup-luksHeaderBackup.8.html (accessed 2026-10-15) - [hesela-encryption] Hesela: Encryption is not authentication. https://hesela.com/analyses/checksums-identity-and-lost-writes/#encryption-boundaries (accessed 2026-10-15) - [luks2-spec] Broz. LUKS2 On-Disk Format Specification, version 1.1.4 (2025-06-16), sections 1-2. https://gitlab.com/cryptsetup/LUKS2-docs/-/raw/main/luks2_doc_wip.pdf (accessed 2026-10-23) ### LUN masking URL: https://hesela.dev/terms/lun-masking/ Related article: https://hesela.com/tech/fibre-channel/ Also known as: logical unit masking, LU masking Status: shipping Record updated: 2026-11-14 LUN masking controls which initiators may access selected logical units exposed by a storage system. Note: The storage system selects which logical units a host can access; Fibre Channel zoning separately governs fabric-port relationships. A reachable array port does not prove that the intended logical unit is presented. [cisco-masking] In the cited initiator-group implementation, a group lists FC host WWPNs or iSCSI node names. Mapping a LUN to that group authorizes its members, which can include several hosts. This is a product-specific example, not a universal configuration interface. [ontap-igroups] Access permission is not exclusive write ownership. The multi-host mapping example does not itself establish application locking or shared-file-system coordination; those are separate design obligations. Advantages: - Can expose selected logical units to selected host initiators. (sources: [cisco-masking]) Limitations: - A mapping can authorize multiple hosts, so it must not be read as a single-writer guarantee. (sources: [ontap-igroups]) Sources and caveats: - Source-backed access-control explanation; no live array, security or failover test was performed. - The separation of access permission from writer coordination is an engineering inference from the documented multi-host mapping, not a measured filesystem result. - The initiator-group example is scoped to NetApp ONTAP 9. [ontap-igroups] Related terms: - [fibre-channel-zoning](https://hesela.dev/terms/fibre-channel-zoning/) - [san](https://hesela.dev/terms/san/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [iscsi](https://hesela.dev/terms/iscsi/) - [logical-unit-number](https://hesela.dev/terms/logical-unit-number/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [shared-disk-filesystem](https://hesela.dev/terms/shared-disk-filesystem/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [scsi-report-luns](https://hesela.dev/terms/scsi-report-luns/) Citations: - [cisco-masking] Cisco: Enabling Cisco HyperFlex Systems to Coexist with Fibre Channel Shared Storage, Cisco MDS multilayer switches. https://www.cisco.com/c/en/us/products/collateral/hyperconverged-infrastructure/hyperflex-hx-series/hx-on-fibrechannel-wp.html (accessed 2026-11-03) - [ontap-igroups] NetApp ONTAP 9: Learn about ONTAP SAN igroups. https://docs.netapp.com/us-en/ontap/san-admin/igroups-concept.html (accessed 2026-11-03) ### Lustre HSM release URL: https://hesela.dev/terms/lustre-hsm-release/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: lfs hsm_release Status: shipping Record updated: 2026-11-04 Lustre HSM release removes a file's local data residency while retaining its filesystem identity and dependence on an archived copy. Note: In the reviewed ordinary release path, valid HSM metadata and ARCHIVED are required, while DIRTY, NORELEASE or LOST reject the flag check. NOARCHIVE is a separate policy flag and does not itself reject that check. Passing this preliminary predicate does not establish complete release success. [lustre-hsm-server] [lustre-hsm-flags] The client obtains a release lease and data version. The server rereads HSM metadata and, for a file not already released, rejects a mismatch between the supplied and archived versions. A broken lease also prevents the operation. This is the ordinary path, not the separate PCC-attach branch. [lustre-hsm-client] [lustre-hsm-server] Release eligibility is not proof that backend bytes remain retrievable. Preserve the archive mapping and recovery dependencies, then test the intended restore. Changing state flags is not data repair. [lustre-hsm-state] [lustre-hsm-completion] In this pinned server function, a rejected flag predicate and a data-version mismatch both return -EPERM. A missing or broken lease returns -ESTALE, and open-semaphore contention returns -EBUSY. These branches are not a complete command-line error map: an error name alone cannot identify the failed safeguard. [lustre-hsm-server] Sources and caveats: - Pinned Lustre v2_17_0 source review, commit 4b0407a48e9e5b7f17877e8868080e9f40c238c6; no running-cluster or backend recovery test. - Replayable source ledger and isolated flag-helper check: https://hesela.dev/research/lustre-hsm/README.md Related terms: - [lustre-hsm](https://hesela.dev/terms/lustre-hsm/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [backup](https://hesela.dev/terms/backup/) - [restore-test](https://hesela.dev/terms/restore-test/) Citations: - [lustre-hsm-state] Lustre v2_17_0: mdt_hsm_state_get and mdt_hsm_state_set. https://github.com/lustre/lustre-release/blob/4b0407a48e9e5b7f17877e8868080e9f40c238c6/lustre/mdt/mdt_hsm.c (accessed 2026-11-04) - [lustre-hsm-server] Lustre v2_17_0: mdt_hsm_release_allow and ordinary mdt_hsm_release path. https://github.com/lustre/lustre-release/blob/4b0407a48e9e5b7f17877e8868080e9f40c238c6/lustre/mdt/mdt_open.c (accessed 2026-11-04) - [lustre-hsm-client] Lustre v2_17_0: ll_data_version and ll_hsm_release. https://github.com/lustre/lustre-release/blob/4b0407a48e9e5b7f17877e8868080e9f40c238c6/lustre/llite/file.c (accessed 2026-11-04) - [lustre-hsm-completion] Lustre v2_17_0: archive completion and restore/remove compatibility checks. https://github.com/lustre/lustre-release/blob/4b0407a48e9e5b7f17877e8868080e9f40c238c6/lustre/mdt/mdt_coordinator.c (accessed 2026-11-04) - [lustre-hsm-flags] Lustre v2_17_0: enum hsm_states and user/status masks. https://github.com/lustre/lustre-release/blob/4b0407a48e9e5b7f17877e8868080e9f40c238c6/lustre/include/uapi/linux/lustre/lustre_user.h (accessed 2026-11-04) ### Lustre HSM URL: https://hesela.dev/terms/lustre-hsm/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: Lustre hierarchical storage management Status: shipping Record updated: 2026-11-04 Lustre HSM coordinates file-data archival, release and restoration between a Lustre filesystem and an external storage backend. Note: Per-file flags describe different properties, not one mutually exclusive label. EXISTS records a backend copy; DIRTY marks divergence. ARCHIVED can coexist with DIRTY: the command manual itself shows that combination. Read the full flagset before inferring that a copy is current. [lustre-hsm-manual] [lustre-hsm-state] A successful archive-completion report records the supplied data version, sets ARCHIVED and clears DIRTY and LOST. A state query returns stored metadata without fetching backend payloads. Neither operation is an independent byte-level restore check. [lustre-hsm-completion] [lustre-hsm-state] Sources and caveats: - Pinned Lustre v2_17_0 source review, commit 4b0407a48e9e5b7f17877e8868080e9f40c238c6; no running-cluster or backend recovery test. - Replayable source ledger and isolated flag-helper check: https://hesela.dev/research/lustre-hsm/README.md Related terms: - [lustre-hsm-release](https://hesela.dev/terms/lustre-hsm-release/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [backup](https://hesela.dev/terms/backup/) - [restore-test](https://hesela.dev/terms/restore-test/) - [hierarchical-storage-management](https://hesela.dev/terms/hierarchical-storage-management/) Citations: - [lustre-hsm-manual] Lustre v2_17_0: lfs-hsm(1), state flags and dirty+archived example. https://github.com/lustre/lustre-release/blob/4b0407a48e9e5b7f17877e8868080e9f40c238c6/Documentation/man1/lfs-hsm.1 (accessed 2026-11-04) - [lustre-hsm-state] Lustre v2_17_0: mdt_hsm_state_get and mdt_hsm_state_set. https://github.com/lustre/lustre-release/blob/4b0407a48e9e5b7f17877e8868080e9f40c238c6/lustre/mdt/mdt_hsm.c (accessed 2026-11-04) - [lustre-hsm-completion] Lustre v2_17_0: archive completion and restore/remove compatibility checks. https://github.com/lustre/lustre-release/blob/4b0407a48e9e5b7f17877e8868080e9f40c238c6/lustre/mdt/mdt_coordinator.c (accessed 2026-11-04) ### LVM URL: https://hesela.dev/terms/lvm/ Also known as: Logical Volume Manager, LVM2 Status: shipping Record updated: 2026-11-29 The Linux volume-management system that groups physical volumes into volume groups and exposes logical volumes through device-mapper. Note: Physical volumes (PVs) supply extents to a volume group (VG); application-facing logical volumes (LVs) expose block addresses backed through the VG. Special thin-pool and cache-pool LVs represent pools, not ordinary block devices. [lvcreate] LV type determines allocation, striping, redundancy, snapshots and caching. Resizing an LV and resizing its filesystem are separate operations. [lvm-manual] vgcfgbackup stores VG configuration, not LV contents. It also excludes thin-pool mapping metadata. Restoring an older VG description with vgcfgrestore can mismatch the pool's current mappings and cause data loss; its force option does not establish consistency. [vgcfgbackup] [lvmthin] [vgcfgrestore] A thin pool contains data and mapping-metadata components. Neither a configuration backup nor a spare metadata LV is an independent copy of the application data. [lvmthin] For pvmove, abort is not necessarily a return to the original placement. An ordinary move keeps completed relocations, while a move started with --atomic retains source placement for the selected movement on abort. Background command return can precede relocation completion. [pvmove-manual] Advantages: - pvmove can relocate allocated extents between physical volumes. (sources: [lvm-manual]) Limitations: - A linear or striped LV does not provide redundancy by itself. (sources: [lvm-manual]) - Growing a block device does not prove that the filesystem has grown or that every lower storage layer has spare capacity. (sources: [lvm-manual]) Sources and caveats: - Current explanation follows primary LVM2 manuals; the older Wikipedia citation is retained for compatibility, not used for the recovery claims. - This definition does not prescribe a restore procedure or report a recovery experiment. Related terms: - [volume-manager](https://hesela.dev/terms/volume-manager/) - [storage-virtualization](https://hesela.dev/terms/storage-virtualization/) - [thin-provisioning](https://hesela.dev/terms/thin-provisioning/) - [snapshot](https://hesela.dev/terms/snapshot/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [raid](https://hesela.dev/terms/raid/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-6](https://hesela.dev/terms/raid-6/) - [striping](https://hesela.dev/terms/striping/) - [jbod](https://hesela.dev/terms/jbod/) - [mirroring](https://hesela.dev/terms/mirroring/) - [multipath-io](https://hesela.dev/terms/multipath-io/) - [block-storage](https://hesela.dev/terms/block-storage/) - [thin-pool](https://hesela.dev/terms/thin-pool/) - [thin-pool-metadata](https://hesela.dev/terms/thin-pool-metadata/) - [snapshot-exception-store](https://hesela.dev/terms/snapshot-exception-store/) - [snapshot-merge](https://hesela.dev/terms/snapshot-merge/) - [logical-volume](https://hesela.dev/terms/logical-volume/) - [physical-volume](https://hesela.dev/terms/physical-volume/) - [volume-group](https://hesela.dev/terms/volume-group/) - [pvmove](https://hesela.dev/terms/pvmove/) - [device-mapper](https://hesela.dev/terms/device-mapper/) Citations: - [c1] Logical Volume Manager (Linux) — Wikipedia. https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux) (accessed 2026-10-11) - [c2] lvm(8) — LVM2 tools (Debian bookworm manpages). https://manpages.debian.org/bookworm/lvm2/lvm.8.en.html (accessed 2026-10-11) - [lvm-manual] LVM2 lvm(8): physical volumes, volume groups, logical volumes and commands. https://man7.org/linux/man-pages/man8/lvm.8.html (accessed 2026-10-17) - [vgcfgbackup] LVM2 vgcfgbackup(8): volume-group configuration backup excludes LV contents. https://man7.org/linux/man-pages/man8/vgcfgbackup.8.html (accessed 2026-10-17) - [vgcfgrestore] LVM2 vgcfgrestore(8): thin-metadata mismatch and restore warning. https://man7.org/linux/man-pages/man8/vgcfgrestore.8.html (accessed 2026-10-17) - [lvmthin] LVM2 lvmthin(7): thin-pool components, removal and recovery boundaries. https://man7.org/linux/man-pages/man7/lvmthin.7.html (accessed 2026-10-17) - [hesela-allocation] Hesela: Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/#metadata-backup (accessed 2026-10-17) - [lvcreate] LVM2 lvcreate(8): thin-pool and cache-pool LV type restrictions. https://man7.org/linux/man-pages/man8/lvcreate.8.html (accessed 2026-10-20) - [pvmove-manual] LVM2 pvmove(8): extent selection, checkpoints, abort and background completion. https://man7.org/linux/man-pages/man8/pvmove.8.html (accessed 2026-11-09) ### LZ4 frame URL: https://hesela.dev/terms/lz4-frame/ Related analysis: https://hesela.com/analyses/lz4-frame-checks-block-order/ Also known as: LZ4 framing Status: shipping Record updated: 2026-10-22 An LZ4 frame wraps data blocks in a descriptor and end marker, with optional length, dictionary identification and integrity checks. Note: Frame completion, consumed input and output are separate. A complete first frame can leave input unread; a truncated end marker can follow all expected bytes. [frame-api] Moving independent blocks with their checksums can preserve block checks but fail the content checksum. Length cannot detect same-length reordering. [hesela-lz4] In liblz4 1.9.4, Dict-ID is exposed, not enforced against supplied dictionary bytes. A matching ID can accompany wrong output with block checks alone. A later pointer does not rebind the dictionary; mutating retained bytes changes independent-block output. Keep it stable throughout decoding. [frame-api] [frame-implementation] [hesela-lz4] Skippable and empty data frames both finish with zero output; frameType distinguishes them. Consuming all input does not prove inventory or bind skipped metadata. Completion resets dictionary binding; context reuse needs resupply for each dictionary-dependent frame. [frame-api] In liblz4 1.9.4, skipChecksums persists until completion. Controls skip content and stored-block checks but reject compressed-block and header checksum errors. Clearing it mid-frame cannot restore checks. A checksum flag alone is therefore not evidence of verification. [frame-api] [frame-implementation] [hesela-lz4] LZ4F_headerSize sizes, not validates. Resume after LZ4F_getFrameInfo at its consumed count, not the sized header length. [frame-api] In liblz4 1.9.4, contentSize zero means unknown, not necessarily empty. Absent and explicitly zero fields decode nonempty controls; wrong nonzero sizes fail. The format permits skipping size validation. Check trusted expected length separately. [frame-api] [frame-spec] [hesela-lz4] Limitations: - With checks enabled, liblz4 1.9.4 can return stored-block bytes before detecting their checksum error. Successful output is not yet a verified restore. (sources: [frame-implementation], [hesela-lz4]) Sources and caveats: - The original 12 cases use no dictionary; a separate 18-case synthetic supplement supplies correct, wrong or missing dictionary bytes. Both use liblz4 1.9.4, not a measured corruption rate or security guarantee. - A separate 16-case two-block lifecycle supplement deliberately replaces an argument or mutates retained bytes. Allocations remain live; no use-after-free, concurrency, performance or field-rate result is claimed. - Ten synthetic multi-frame controls use the same dictionary across data frames; skipped metadata is outside the payload-only acceptance rule. No cross-dictionary switching or wrapper-wide behavior is inferred. - 24 checksum-field controls and two reused-context controls execute liblz4 1.9.4. Payload bytes remain unchanged. A v1.10.0 implementation comparison is source-only; no second-version reproduction or vulnerability claim. - A separate 32-case native streaming matrix changes input partitioning and output capacity. Stored-payload mutations can return all 8192 altered bytes before checksum failure; all mutated cases reject. Counts exclude error-returning calls; no second-version or performance result. - 24 bounded native size controls preserve identical block records and footers while changing the optional size field and descriptor checksum. Two buffer capacities and two block representations; no resource-exhaustion or second-version runtime test. Related terms: - [block-independent-compression](https://hesela.dev/terms/block-independent-compression/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) - [checksum](https://hesela.dev/terms/checksum/) - [skippable-frame](https://hesela.dev/terms/skippable-frame/) - [restore-test](https://hesela.dev/terms/restore-test/) - [lz77](https://hesela.dev/terms/lz77/) Citations: - [frame-spec] LZ4 Frame Format 1.6.4, pinned to v1.10.0: block independence, checksums and dictionaries. https://github.com/lz4/lz4/blob/v1.10.0/doc/lz4_Frame_format.md (accessed 2026-10-18) - [frame-api] LZ4 v1.9.4 public frame API: preferences and LZ4F_decompress completion contract. https://github.com/lz4/lz4/blob/v1.9.4/lib/lz4frame.h (accessed 2026-10-18) - [hesela-lz4] Hesela: LZ4 frame checks, block order and completion. https://hesela.com/analyses/lz4-frame-checks-block-order/ (accessed 2026-10-18) - [frame-implementation] LZ4 v1.9.4 implementation: frame Dict-ID parsing and LZ4F_decompress_usingDict. https://github.com/lz4/lz4/blob/v1.9.4/lib/lz4frame.c (accessed 2026-10-22) ### LZ77 URL: https://hesela.dev/terms/lz77/ Also known as: Lempel-Ziv 77, LZ77 compression, sliding-window compression Status: shipping Record updated: 2026-11-19 LZ77 is a lossless dictionary-compression approach that represents repeated data with references into a moving history buffer. Note: Origins: Ziv and Lempel's 1977 paper describes reconstructing data by copying from recent output. Its theoretical bounds concern an explicit coding model, not guaranteed savings for every finite file. Modern literal/match formats should not be confused with that paper's exact representation. [ziv-lempel-1977] Format: LZ77 is not a single interoperable file format. DEFLATE combines history references with Huffman coding; LZ4 blocks use a byte-oriented representation without an entropy-coding backend. Sharing the copying idea does not make their streams interchangeable. [rfc1951] [lz4-block] Copying: A match specifies how far back to look and how many bytes to emit. It can overlap its own output: after XY, length 5 at distance 2 appends XYXYX. Newly produced bytes supply later bytes of the same match; a frozen slice of the original history is insufficient. [rfc1951] Limits: DEFLATE permits backward distances through 32768 bytes, while the LZ4 block offset field permits values through 65535 and rejects zero. These are different format limits, not a universal LZ77 window size or a maximum file size. [rfc1951] [lz4-block] Recovery: Zstandard sequence execution also consumes literal lengths, offsets and match lengths; a dictionary can supply earlier match data. Its frame and dictionary metadata are additional context, not properties established by the LZ77 label. Preserve the concrete format and required decoder state with the bytes. [rfc8878] Encoder choices: A DEFLATE encoder can use a smaller history window or fewer match searches while remaining conformant. A compliant decoder must accept the full defined range. The format limit does not establish an encoder's actual search policy. [rfc1951] Limitations: - A block boundary alone does not ensure independent decoding: DEFLATE references may reach earlier blocks. (sources: [rfc1951]) - An LZ4 block omits framing metadata such as its size; enclosing formats or the calling application must supply the required boundaries. (sources: [lz4-block]) Sources and caveats: - Primary-source synthesis. The 1977 date is the cited publication date, not a claim about the first implementation. The overlapping-copy illustration is specified in RFC 1951; no new compression benchmark or error-rate measurement is claimed. Related terms: - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [deflate](https://hesela.dev/terms/deflate/) - [lz4-frame](https://hesela.dev/terms/lz4-frame/) - [zstandard](https://hesela.dev/terms/zstandard/) Citations: - [ziv-lempel-1977] Ziv and Lempel. A Universal Algorithm for Sequential Data Compression. IEEE Trans. Inf. Theory 23(3), 337-343 (1977). DOI: 10.1109/TIT.1977.1055714. https://pzs.dstu.dp.ua/ComputerGraphics/ic/bibl/ziv_lempel_1977.pdf (accessed 2026-11-17) - [rfc1951] RFC 1951: DEFLATE, sections 2, 3.2.3, 3.3 and 4, history references, overlapping copies and compliance (Informational, May 1996). https://www.rfc-editor.org/rfc/rfc1951.html (accessed 2026-11-19) - [lz4-block] LZ4 v1.10.0: Block Format Description, offset encoding, metadata and safe decoding. https://github.com/lz4/lz4/blob/v1.10.0/doc/lz4_Block_format.md (accessed 2026-11-17) - [rfc8878] RFC 8878: Zstandard, sections 3.1.1.4-3.1.1.5 and 5-6, sequence execution and dictionaries (Informational, February 2021). https://www.rfc-editor.org/rfc/rfc8878.html (accessed 2026-11-17) - [hesela-archives] Hesela: LZ77 copying, concrete formats and recovery dependencies. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#deflate-foundations (accessed 2026-11-17) ### LZ78 URL: https://hesela.dev/terms/lz78/ Also known as: Lempel-Ziv 1978 Status: shipping Record updated: 2026-11-19 LZ78 is a lossless dictionary-coding method that represents each new phrase by an earlier phrase index and an extension symbol. Note: Incremental parsing extends a known phrase, including the empty phrase, by one symbol to create a new dictionary entry. The final input phrase can be incomplete and need not be new; the encoded representation must handle that ending. [lz78-original] Unlike a distance into a sliding history window, an LZ78 reference identifies a parsed dictionary phrase. LZW adapts dictionary construction to emit string codes after initializing single-symbol entries. These methods should not be treated as interchangeable bitstream formats. [lz78-original] [welch-original] Limitations: - The asymptotic finite-state coding result does not promise that every finite input becomes smaller. [lz78-original] Sources and caveats: - Primary-paper synthesis. DOI 10.1109/TIT.1978.1055934 identifies the 1978 paper; no compression benchmark or new implementation is claimed. Related terms: - [lzw](https://hesela.dev/terms/lzw/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) Citations: - [lz78-original] Ziv and Lempel (1978): Compression of Individual Sequences via Variable-Rate Coding, pp. 530-536. https://www.philippe-fournier-viger.com/spmf/lz78.pdf (accessed 2026-11-19) - [welch-original] Welch (1984): A Technique for High-Performance Data Compression, pp. 8-19. https://courses.cs.duke.edu/spring03/cps296.5/papers/welch_1984_technique_for.pdf (accessed 2026-11-19) - [hesela-lzw-formats] Hesela: Recover the dictionary and the format conventions. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#lz-dictionary-formats (accessed 2026-11-19) ### LZW URL: https://hesela.dev/terms/lzw/ Also known as: Lempel-Ziv-Welch Status: shipping Record updated: 2026-11-19 LZW is a lossless dictionary-coding method that replaces input strings with codes while the encoder and decoder reconstruct matching dictionaries. Note: The initial dictionary contains single-symbol strings. Encoding emits a code for the longest recognized string and adds that string extended by the next symbol; the extension symbol also starts the next parsing step. [welch-original] [tiff6-lzw] A decoder derives new entries from prior output rather than receiving a complete learned dictionary separately. It must still follow the format's initialization, code-width, reset and packing rules. [welch-original] [gif89a-lzw] [tiff6-lzw] GIF packs codes least-significant-bit first. At a full table, clearing can be deferred: the decoder keeps the table unchanged until a Clear code arrives. Its End of Information code and data-sub-block terminator serve different layers. [gif89a-lzw] TIFF 6.0 packs LZW codes high-to-low regardless of TIFF byte order, restarts each strip and changes code width earlier than GIF. A GIF decoder is not a TIFF decoder merely by reversing bit order; the optional differencing predictor is a separate transform. [tiff6-lzw] [gif89a-lzw] Sources and caveats: - Algorithm and format synthesis, not a decoder conformance test. Welch's paper is DOI 10.1109/MC.1984.1659158; GIF89a and TIFF 6.0 are separate contracts. Related terms: - [lz78](https://hesela.dev/terms/lz78/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) Citations: - [welch-original] Welch (1984): A Technique for High-Performance Data Compression, pp. 8-19. https://courses.cs.duke.edu/spring03/cps296.5/papers/welch_1984_technique_for.pdf (accessed 2026-11-19) - [gif89a-lzw] CompuServe GIF89a: Appendix F and deferred-clear clarification. https://www.w3.org/Graphics/GIF/spec-gif89a.txt (accessed 2026-11-19) - [tiff6-lzw] Aldus TIFF Revision 6.0 (1992): sections 13-14, LZW compression and differencing predictor. https://image-js.github.io/tiff/media/TIFF6.pdf (accessed 2026-11-19) - [hesela-lzw-formats] Hesela: Recover the dictionary and the format conventions. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#lz-dictionary-formats (accessed 2026-11-19) ### M-DISC URL: https://hesela.dev/terms/m-disc/ Status: limited Record updated: 2026-10-27 M-DISC is a family of write-once optical media marketed for archival storage using an inorganic recording layer. Note: Inorganic BD-R is not exclusive to M-DISC [mdiscfaq]. DVD writing support and Blu-ray/BDXL compatibility must be checked separately. NIST's grouped longevity entry is guidance, not a product survival curve [nist8387]. Its cited LNE study tested DVD under severe heat and humidity, not Blu-ray shelf life [lne2012]. Vendor lifetime projections and warranties are different claims [verbatim]. The 2009 NAWCWD DVD comparison used selected samples and partial-disc scans; its favorable stress result is not a shelf-life estimate [navy2009]. A separate 2013 manufacturer DVD extrapolation reports a 1,332-year mean at 25 degrees Celsius and 50% RH, not a minimum or a Blu-ray result [millenniata2013]. Sources and caveats: - The NAWCWD report is hosted by Esystor; the manufacturer report is hosted by Verbatim Japan. Source hashes and version notes are retained in the companion research record [navy2009] [millenniata2013]. - The 2013 manufacturer summary shows averaged plots and omits the detailed mathematical reduction; it does not permit an independent raw-data refit [millenniata2013]. Related terms: - [optical-archival](https://hesela.dev/terms/optical-archival/) - [blu-ray-archive](https://hesela.dev/terms/blu-ray-archive/) - [bd-r-htl](https://hesela.dev/terms/bd-r-htl/) - [bd-r-lth](https://hesela.dev/terms/bd-r-lth/) - [optical-disc-lifetime-estimate](https://hesela.dev/terms/optical-disc-lifetime-estimate/) Citations: - [mdiscfaq] Millenniata M-DISC FAQ: format-specific writing compatibility and inorganic BD-R, manufacturer explanation. https://www.mdisc.com/faq.html (accessed 2026-10-15) - [nist8387] NIST IR 8387 (2022), Digital Evidence Preservation: Considerations for Evidence Handlers, Table 1 and Perdereau reference. https://nvlpubs.nist.gov/nistpubs/ir/2022/NIST.IR.8387.pdf (accessed 2026-10-15) - [lne2012] Jacques Perdereau, LNE (June 2012). Durability of recordable DVD and glass DVD at elevated temperature and humidity, sections 2.3, 3.2, 4 and 5.3. https://www.lne.fr/sites/default/files/inline-files/syylex-glass-dvd-accelerated-aging-report.pdf (accessed 2026-10-15) - [verbatim] Verbatim M-DISC BDXL 100GB, product 98912: projected lifetime and warranty, manufacturer claims. https://www.verbatim.com/en/m-disc/products/98912-m-disc-bdxl-100gb-6x-with-branded-surface-1pk-jewel-case?country=US (accessed 2026-10-15) - [analysis] Hesela: optical-disc lifetime estimates and format-specific evidence. https://hesela.com/analyses/optical-disc-lifetime-estimates/ (accessed 2026-10-15) - [navy2009] Svrcek, NAWCWD. Accelerated Life Cycle Comparison of Millenniata Archival DVD (2009), sections 1.2, 2.2-2.4 and 3.2-4. https://www.esystor.com/images/China_Lake_Full_Report.pdf (accessed 2026-10-27) - [millenniata2013] Millenniata. Summary Report of ISO/IEC 10995 Test Program on M-DISC DVD (3 June 2013), Tables 1-2 and final paragraph. https://www.verbatim.jp/download/products/mdisc/M-DISC_1sheet_Test_Summary.pdf (accessed 2026-10-27) ### M.2 URL: https://hesela.dev/terms/m2/ Technology reference: https://hesela.com/tech/m2/ Also known as: NGFF, M.2 SSD, Next Generation Form Factor Status: shipping Record updated: 2026-11-02 M.2 is a compact module form-factor family used for storage and other devices, with SSD compatibility determined by physical fit, host interface and software support. Note: Scope: M.2 includes connectorized and soldered-down variants [c2]. Storage modules can use SATA or PCIe; NVMe also exists in other form factors [nvme-form]. Mechanical fit: 2280 means 22 mm wide and 80 mm long; height and single-sided or double-sided profiles are separate [c4]. Check fixing points and clearance. B+M notches can fit either matching connector without establishing interface compatibility [kingston]. Interfaces: historical options include SATA/AHCI, PCIe/AHCI and PCIe/NVMe. B-key PCIe x2 and M-key PCIe x4 capability do not guarantee host wiring [c4]. Keying does not certify NVMe or PCIe generation; a drive need not support both SATA and PCIe [kingston]. Socket scope: a documented board has one SATA/PCIe socket, one PCIe-only socket and a shared SATA port that becomes unavailable when the M.2 socket is used. Check each socket in the board manual; this is not a universal configuration or evidence of drive failure [asus]. Boot: firmware support, OS drivers and installation configuration are separate checks [intel]. An independent start from the intended SSD confirms bootability in the documented Windows setup [intel-boot]. Some firmware summary screens omit supported PCIe M.2 drives [asus]. Host limits: one console requires Gen4x4 NVMe, M-key, specified lengths and cooling, excluding SATA; these are not general M.2 limits or a promise of internal-storage-equivalent performance [sony]. Service: directly installed modules are not designed for powered insertion or removal [nvme-form]. Compact devices need a suitable cooling path [c3]. Advantages: - Soldered-down variants provide an alternative to a removable connectorized module. (sources: [c2]) - The module family accommodates wireless adapters as well as SSDs. (sources: [c2], [c4]) Limitations: - A different physical connector, such as mSATA, is not made interchangeable by sharing the SATA interface. (sources: [kingston]) - M.2 does not identify a measured transfer rate or a drive's endurance. (sources: [nvme-form]) - A carrier or enclosure containing an M.2 SSD requires separate service qualification. (sources: [nvme-form]) - Historical SATA/PCIe SSD experiments show workload-dependent thermal behavior; their device-specific thresholds do not qualify a current M.2 module. (sources: [hotstorage14]) Sources and caveats: - Source synthesis, not a hardware test. The full PCI-SIG specification was not accessed; its public summary establishes scope only. - The SNIA webcast is a historical industry presentation with vendor speakers. Its interface and mechanical distinctions are used; forecasts and era-specific speed examples are not treated as current universal limits. - Vendor guidance is limited to the cited sections and product scope. Kingston's legacy blanket AHCI-driver statement is not adopted; Sony's console and Intel's 905P examples do not qualify other hosts. - ASUS hardware step 8 describes a particular socket-routing example; its BIOS advice is not a universal setup prescription. The console example refers to Sony PS5 requirements [asus] [sony]. Related terms: - [msata](https://hesela.dev/terms/msata/) - [nvme](https://hesela.dev/terms/nvme/) - [sata](https://hesela.dev/terms/sata/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [consumer-ssd](https://hesela.dev/terms/consumer-ssd/) - [sd-express](https://hesela.dev/terms/sd-express/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [flash-module](https://hesela.dev/terms/flash-module/) - [thunderbolt-storage](https://hesela.dev/terms/thunderbolt-storage/) - [u2](https://hesela.dev/terms/u2/) - [thermal-throttling-ssd](https://hesela.dev/terms/thermal-throttling-ssd/) - [ahci](https://hesela.dev/terms/ahci/) - [ssd](https://hesela.dev/terms/ssd/) Citations: - [c1] M.2. https://en.wikipedia.org/wiki/M.2 (accessed 2026-03-26) - [c2] PCI-SIG: PCI Express M.2 Specification Revision 5.1, public summary. https://pcisig.com/PCIExpress/Spec/M.2/_5.1 (accessed 2026-10-17) - [c3] OpenZFS documentation: Hardware, Performance and Tuning. https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Hardware.html (accessed 2026-10-17) - [c4] SNIA: All About M.2 SSDs, June 2014 webcast, slides 12-17 and 21-22. Interface options, dimensions, sidedness and connector keys. https://www.snia.org/sites/default/files/SSSI%20M%202%20Webcast%20Slides%20v10fnl.pdf (accessed 2026-11-02) - [kingston] Kingston: SSD FAQ. B+M key compatibility, shared motherboard lanes and supported module lengths. https://www.kingston.com/en/ssd/ssd-faq (accessed 2026-10-17) - [nvme-form] NVM Express: NVMe Form Factors, Part III: The Importance of Form. Interfaces, serviceability and form-factor distinctions. https://nvmexpress.org/nvm-express-blog-series-nvme-form-factors-part-iii-the-importance-of-form/ (accessed 2026-10-17) - [sony] Sony: How to add an M.2 SSD to a PS5 console. Host-specific interface, size, cooling and performance requirements. https://www.playstation.com/en-us/support/hardware/ps5-install-m2-ssd/ (accessed 2026-10-17) - [intel] Intel: System Requirements for an Optane SSD 905P Series Drive, article 000028298. https://www.intel.com/content/www/us/en/support/articles/000028298/memory-and-storage.html (accessed 2026-10-17) - [intel-boot] Intel: PCIe NVMe Boot Installation Guide, 337143-004US, November 2021, pages 5-6 and 15. https://cdrdv2-public.intel.com/841316/PCIe-NVMe-SSD-Install-Boot-Guide.pdf (accessed 2026-10-17) - [asus] ASUS: Cannot find an HDD or M.2 SSD after power-on. Hardware check 8 and BIOS Storage Information note. https://www.asus.com/au/support/faq/1044083/ (accessed 2026-11-02) - [hotstorage14] Zhang, Shihab and Jung: Power, Energy, and Thermal Considerations in SSD-Based I/O Acceleration. HotStorage 2014, sections 3-4. https://www.usenix.org/system/files/conference/hotstorage14/hotstorage14-paper-zhang.pdf (accessed 2026-11-02) ### MadFS URL: https://hesela.dev/terms/madfs/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: metadata embedded filesystem, per-file virtualization Status: research Record updated: 2026-11-14 MadFS is a research library filesystem that embeds file-local metadata inside regular DAX-backed files to coordinate copy-on-write updates in userspace. Note: The kernel still controls permissions and directory operations; MadFS manages the embedded block map and virtual file size. Its log-based optimistic concurrency protocol publishes writes across processes without a central lease service. [madfs-paper] Visibility and durability have different completion points. The FAST 2023 implementation batches log-cacheline writeback; fsync persists the outstanding tail. Its mmap path has no crash-consistency guarantee. These limits must not be replaced by a claim that every returned write or mapped store is durable. [madfs-paper] [madfs-sync] [madfs-mmap] The compact log is replayed into a DRAM block table on open. Removing a separate recovery phase therefore does not eliminate reconstruction work; the authors flag frequent file opens as a poor fit. [madfs-paper] Sources and caveats: - Primary-paper and pinned-source synthesis. No MadFS runtime, hardware benchmark or power-loss experiment was performed. The 2023 evaluation and later source snapshot are distinct evidence. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [dax](https://hesela.dev/terms/dax/) - [kuco](https://hesela.dev/terms/kuco/) Citations: - [madfs-paper] Zhong et al. MadFS: Per-File Virtualization for Userspace Persistent Memory Filesystems. FAST 2023, pp. 265-280, sections 3-5. https://www.usenix.org/system/files/fast23-zhong.pdf (accessed 2026-11-14) - [madfs-sync] MadFS authors. File::fsync at revision 7514a7816d39b95c9f34555a13c50173c4fa2b32, src/file/sync.cpp. https://github.com/ShawnZhong/MadFS/blob/7514a7816d39b95c9f34555a13c50173c4fa2b32/src/file/sync.cpp (accessed 2026-11-14) - [madfs-mmap] MadFS authors. File::mmap at revision 7514a7816d39b95c9f34555a13c50173c4fa2b32, src/file/mmap.cpp. https://github.com/ShawnZhong/MadFS/blob/7514a7816d39b95c9f34555a13c50173c4fa2b32/src/file/mmap.cpp (accessed 2026-11-14) - [hesela-madfs] Hesela. MadFS: move the block map, keep the permission boundary. https://hesela.com/analyses/pmem-persistence-domains-dax/#madfs (accessed 2026-11-14) ### MADV_DONTNEED URL: https://hesela.dev/terms/madv-dontneed/ Also known as: Linux MADV_DONTNEED Status: shipping Record updated: 2026-11-09 MADV_DONTNEED is a Linux memory-advice operation that discards a mapped range's current private contents so later accesses can repopulate it from its backing object or zero-filled anonymous pages. Note: Destructive advice: unlike ordinary access-pattern hints, native MADV_DONTNEED changes memory-access semantics. A private anonymous range reads as zero on subsequent access; do not use it while that range holds the only copy of needed data. The address must be page-aligned. [madvise-api] File-backed control: Hesela's sequential Linux 6.8/glibc 2.39 probe filled a private file mapping with P, then observed the original A bytes after native discard. The entire backing file stayed unchanged. Private MS_SYNC and no-operation controls retained P. This is measured API behavior on one host, not a durability or performance result. [hesela-advice] Similar names: POSIX_MADV_DONTNEED must preserve access semantics and is a no-op in the pinned glibc implementation. It is not an interchangeable replacement for native discard. POSIX_FADV_DONTNEED instead takes a file descriptor and file-offset range. [posix-advice] [glibc-advice] Cache scope: discarding a mapping does not guarantee immediate release of every shared backing page, a globally cold cache or secure erasure. The native call reports errors through -1 and errno, unlike posix_madvise's direct error-number return. [madvise-api] [posix-advice-api] Shared-object boundary: for shared file or shmem mappings, later access repopulates from the backing object; MADV_DONTNEED does not punch a hole in it. MADV_REMOVE can change that object's bytes, while MADV_FREE concerns private anonymous memory. These contracts are not interchangeable. [madvise-api] [hesela-advice-scope] Advantages: - Lets an application relinquish disposable private mapped contents without unmapping its address range. Limitations: - Can destroy private edits that have not been preserved elsewhere. - Interface and mapping mode matter; do not generalize Linux behavior to other operating systems. Related terms: - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [page-cache](https://hesela.dev/terms/page-cache/) - [msync](https://hesela.dev/terms/msync/) - [posix-madv-dontneed](https://hesela.dev/terms/posix-madv-dontneed/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) - [madv-free](https://hesela.dev/terms/madv-free/) - [madv-remove](https://hesela.dev/terms/madv-remove/) Citations: - [madvise-api] Linux man-pages: madvise(2), MADV_DONTNEED semantics. https://man7.org/linux/man-pages/man2/madvise.2.html (accessed 2026-10-20) - [posix-advice] POSIX.1-2017: posix_madvise(), advice preserves memory-access semantics. https://man7.org/linux/man-pages/man3/posix_madvise.3p.html (accessed 2026-10-20) - [glibc-advice] glibc 2.39: Linux posix_madvise implementation. https://github.com/bminor/glibc/blob/glibc-2.39/sysdeps/unix/sysv/linux/posix_madvise.c (accessed 2026-10-20) - [posix-advice-api] Linux man-pages: posix_madvise(3), glibc behavior and error convention. https://man7.org/linux/man-pages/man3/posix_madvise.3.html (accessed 2026-10-20) - [hesela-advice] Hesela: When don't need discards private edits. https://hesela.com/analyses/mmap-visibility-size-durability/#discard-advice (accessed 2026-10-20) - [hesela-advice-scope] Hesela: lazy discard is not backing-file removal. https://hesela.com/analyses/mmap-visibility-size-durability/#lazy-discard-backing-store (accessed 2026-11-09) ### MADV_FREE URL: https://hesela.dev/terms/madv-free/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: Linux MADV_FREE Status: shipping Record updated: 2026-11-09 MADV_FREE is a Linux memory-advice operation that makes private anonymous pages eligible for discard while allowing their contents to remain until reclamation. Note: Deferred discard: old contents can remain readable after success, but the application cannot rely on their retention. After reclamation, access obtains zero-filled memory; a write after advice but before reclamation cancels the pending discard for that page. This does not evict a file-backed cache range. [madvise-api] Reclamation path: Linux v6.14 distinguishes lazy-free anonymous folios from ordinary swap-backed reclaim. Eligible contents can be discarded instead of preserved in swap. This is a source-level explanation, not a measurement of reclaim latency, memory savings or device I/O. [linux-vmscan-v614] Choice of operation: MADV_DONTNEED discards private anonymous contents without waiting for this deferred-reclaim opportunity. Neither operation is a secure-erasure procedure. Use MADV_FREE only after relinquishing the old data; it is not a durability operation for a mapped file. [madvise-api] [hesela-advice-scope] Failure scope: an unmapped gap can produce ENOMEM even when mapped parts were processed. An error is not an unchanged-data guarantee. The v6.14 walker retains earlier effects if a later mapping fails. [linux-madvise-v614] Advantages: - Allows disposable anonymous allocations to become reclaimable while retaining their virtual address range. (sources: [madvise-api]) Limitations: - Only private anonymous mappings are eligible; success does not establish immediate reclamation. (sources: [madvise-api]) Related terms: - [madv-dontneed](https://hesela.dev/terms/madv-dontneed/) - [madv-remove](https://hesela.dev/terms/madv-remove/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [page-cache](https://hesela.dev/terms/page-cache/) Citations: - [madvise-api] Linux man-pages: madvise(2), memory-advice contracts. https://man7.org/linux/man-pages/man2/madvise.2.html (accessed 2026-11-09) - [linux-vmscan-v614] Linux v6.14: lazy-free folio reclamation. https://github.com/torvalds/linux/blob/v6.14/mm/vmscan.c (accessed 2026-11-09) - [hesela-advice-scope] Hesela: lazy discard is not backing-file removal. https://hesela.com/analyses/mmap-visibility-size-durability/#lazy-discard-backing-store (accessed 2026-11-09) - [linux-madvise-v614] Linux v6.14: madvise range walking and partial effects. https://github.com/torvalds/linux/blob/v6.14/mm/madvise.c (accessed 2026-11-09) ### MADV_POPULATE_READ URL: https://hesela.dev/terms/madv-populate-read/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: madvise read population Status: shipping Record updated: 2026-12-01 MADV_POPULATE_READ is a Linux operation that prefaults an existing virtual-memory range for read access and reports population errors. Note: Available since Linux 5.14, this operation requires readable mappings and can target a subrange. Unlike mmap with MAP_POPULATE, explicit population reports errors; an error can still leave partial effects. [populate-api] Read preparation: the Linux v6.14 path faults pages for reading, without the write-fault flag. Anonymous memory can use a shared zero page, and private file mappings need not acquire private copies. Read population does not pre-break copy-on-write for later stores. [populate-gup] [populate-fault] Boundary: page-table preparation is not a retained snapshot or a writeback operation. Population does not itself establish a memory lock; pages may later require faults again. mlock addresses residency under its own lifetime and resource constraints. [populate-gup] [populate-lock] Advantages: - Can expose population failures before the application dereferences an existing mapping. Limitations: - Does not prevent later truncation or other concurrent changes to the backing object. - May incur allocation, I/O and memory-pressure costs. Sources and caveats: - API documentation and Linux v6.14 source review; implementation scope is distinct from the recorded host kernel. - A separate 24-observation Linux probe checks access permissions and partial population beyond EOF, not latency, allocation, memory pressure or durability: https://hesela.dev/research/madv-populate/README.md. Related terms: - [madv-populate-write](https://hesela.dev/terms/madv-populate-write/) - [mlock](https://hesela.dev/terms/mlock/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) Citations: - [populate-api] Linux man-pages: madvise(2), explicit read/write population and errors. https://man7.org/linux/man-pages/man2/madvise.2.html (accessed 2026-12-01) - [populate-gup] Linux v6.14: faultin_page_range, access flags and dirty marking. https://raw.githubusercontent.com/torvalds/linux/v6.14/mm/gup.c (accessed 2026-12-01) - [populate-fault] Linux v6.14: do_fault, private COW and shared write-fault paths. https://raw.githubusercontent.com/torvalds/linux/v6.14/mm/memory.c (accessed 2026-12-01) - [populate-lock] Linux man-pages: mlock(2), residency guarantees and lock lifetime. https://man7.org/linux/man-pages/man2/mlock.2.html (accessed 2026-12-01) ### MADV_POPULATE_WRITE URL: https://hesela.dev/terms/madv-populate-write/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: madvise write population Status: shipping Record updated: 2026-12-01 MADV_POPULATE_WRITE is a Linux operation that prefaults an existing virtual-memory range for write access and reports population errors. Note: Available since Linux 5.14, this operation requires writable mappings and can target a subrange. Failure can leave part of the range populated; success is not an all-or-nothing transaction. [populate-api] Write preparation: the Linux v6.14 path requests write faults and dirty marking. Private file mappings can resolve copy-on-write before later stores; shared mappings can enter filesystem write-fault handling. Allocation depends on mapping and backing storage, so this is not a general file-space reservation operation. [populate-gup] [populate-fault] Boundary: WRITE prepares access without storing an application payload. It neither freezes a consistent file version nor synchronizes a durable update. It does not itself establish a memory lock; residency requires a separate locking contract. [populate-gup] [populate-lock] Advantages: - Moves some private-copy preparation ahead of later application stores. Limitations: - Does not prevent later truncation or other concurrent changes to the backing object. - May incur allocation, I/O and memory-pressure costs. Sources and caveats: - API documentation and Linux v6.14 source review; implementation scope is distinct from the recorded host kernel. - A separate 24-observation Linux probe checks access permissions and partial population beyond EOF, not latency, allocation, memory pressure or durability: https://hesela.dev/research/madv-populate/README.md. Related terms: - [madv-populate-read](https://hesela.dev/terms/madv-populate-read/) - [mlock](https://hesela.dev/terms/mlock/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) Citations: - [populate-api] Linux man-pages: madvise(2), explicit read/write population and errors. https://man7.org/linux/man-pages/man2/madvise.2.html (accessed 2026-12-01) - [populate-gup] Linux v6.14: faultin_page_range, access flags and dirty marking. https://raw.githubusercontent.com/torvalds/linux/v6.14/mm/gup.c (accessed 2026-12-01) - [populate-fault] Linux v6.14: do_fault, private COW and shared write-fault paths. https://raw.githubusercontent.com/torvalds/linux/v6.14/mm/memory.c (accessed 2026-12-01) - [populate-lock] Linux man-pages: mlock(2), residency guarantees and lock lifetime. https://man7.org/linux/man-pages/man2/mlock.2.html (accessed 2026-12-01) ### MADV_REMOVE URL: https://hesela.dev/terms/madv-remove/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: Linux MADV_REMOVE Status: shipping Record updated: 2026-11-09 MADV_REMOVE is a Linux memory-advice operation that punches a hole in the backing object of an eligible shared mapping without changing the object's logical size. Note: Backing-object change: Linux v6.14 converts the advised virtual range to a file offset and calls hole punching with KEEP_SIZE. This changes the backing object, not merely the caller's cached view. Reads within the affected part of the object's logical extent return zeros until another write changes it. [linux-madvise-v614] [fallocate-api] Mapping capability: the pinned kernel tests VM_SHARED and VM_MAYWRITE, not current VM_WRITE alone. A presently read-only mapping can retain potential write capability. This is a versioned implementation detail, not permission to ignore file access checks or filesystem support. [linux-mm-v614] [linux-madvise-v614] Storage limits: whole filesystem blocks may be deallocated while partial blocks are zeroed. Requested bytes therefore need not equal released allocation. Logical removal does not prove secure erasure or power-loss persistence; synchronization remains a separate requirement. [fallocate-api] [fsync-api] Comparison: MADV_DONTNEED can discard a private view without punching a hole in its file; MADV_FREE instead addresses disposable private anonymous memory. The companion analysis separates these contracts from its earlier measured discard experiment. [hesela-advice-scope] Failure scope: an unmapped gap can produce ENOMEM even when mapped parts were processed. An error is not an unchanged-data guarantee. The v6.14 walker retains earlier effects if a later mapping fails. [linux-madvise-v614] Advantages: - Can deallocate a backing-object range through its mapping while preserving logical length. (sources: [linux-madvise-v614], [fallocate-api]) Limitations: - Requires an eligible shared mapping and hole-punching support; it changes file content. (sources: [linux-madvise-v614], [fallocate-api]) Related terms: - [hole-punching](https://hesela.dev/terms/hole-punching/) - [madv-dontneed](https://hesela.dev/terms/madv-dontneed/) - [madv-free](https://hesela.dev/terms/madv-free/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [sparse-file](https://hesela.dev/terms/sparse-file/) Citations: - [linux-madvise-v614] Linux v6.14: anonymous lazy-free and shared backing-object removal. https://github.com/torvalds/linux/blob/v6.14/mm/madvise.c (accessed 2026-11-09) - [linux-mm-v614] Linux v6.14: vma_is_shared_maywrite and mapping capability. https://github.com/torvalds/linux/blob/v6.14/include/linux/mm.h (accessed 2026-11-09) - [fallocate-api] Linux man-pages: fallocate(2), hole punching and KEEP_SIZE. https://man7.org/linux/man-pages/man2/fallocate.2.html (accessed 2026-11-09) - [fsync-api] Linux man-pages: fsync(2), file-data and metadata synchronization. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-09) - [hesela-advice-scope] Hesela: lazy discard is not backing-file removal. https://hesela.com/analyses/mmap-visibility-size-durability/#lazy-discard-backing-store (accessed 2026-11-09) ### Magnetic anisotropy URL: https://hesela.dev/terms/magnetic-anisotropy/ Related article: https://hesela.com/tech/pmr/ Status: unknown Record updated: 2026-11-06 Magnetic anisotropy is the dependence of magnetic energy or response on the direction of magnetization. Note: Preferred directions can arise from crystal structure, grain shape or stress; magnetocrystalline anisotropy is only one contribution [irm-anisotropy]. Anisotropy energy density, usually expressed in J/m3, is not itself a switching field or coercivity. In a simplified zero-field uniaxial-grain model, the reversal barrier is K_u times V, where V is grain volume; dividing by k_B T gives a dimensionless stability factor [evans-2012]. Perpendicular media need the appropriate easy-axis orientation as well as isolated grains. Experiments on FePt intermediate layers show that improving grain morphology need not improve perpendicular anisotropy [dong-2016]. Sources and caveats: - IRM supplies general magnetic background; its rock-specific values are not HDD media parameters. - Dong et al. report thin-film experiments, not a commercial-drive lifetime study. Related terms: - [pmr](https://hesela.dev/terms/pmr/) - [hamr](https://hesela.dev/terms/hamr/) - [superparamagnetic-limit](https://hesela.dev/terms/superparamagnetic-limit/) - [magnetic-thermal-stability-factor](https://hesela.dev/terms/magnetic-thermal-stability-factor/) - [magnetic-recording-trilemma](https://hesela.dev/terms/magnetic-recording-trilemma/) - [magnetic-coercivity](https://hesela.dev/terms/magnetic-coercivity/) Citations: - [irm-anisotropy] Moskowitz: Magnetic Anisotropy, Institute for Rock Magnetism (1991 guide). https://cse.umn.edu/irm/3-magnetic-anisotropy (accessed 2026-10-17) - [evans-2012] Evans et al.: Thermally induced error: density limit for magnetic data storage (2012), doi:10.1063/1.3691196. https://arxiv.org/html/1111.0524v2 (accessed 2026-10-17) - [dong-2016] Dong et al.: Columnar structured FePt films epitaxially grown on large lattice mismatched intermediate layer (2016), doi:10.1038/srep34637. https://www.nature.com/articles/srep34637 (accessed 2026-10-17) ### Magnetic coercivity URL: https://hesela.dev/terms/magnetic-coercivity/ Related article: https://hesela.com/tech/hamr/ Also known as: Coercivity, Saturation coercivity Status: unknown Record updated: 2026-11-06 Magnetic coercivity is the reverse field strength at which a specified magnetic quantity reaches zero on a hysteresis curve traced from saturation. Note: State the zero-crossing quantity: flux density B, polarization J or magnetization M, with H_cB, H_cJ or H_cM respectively. Coercivity is a field strength in A/m [iec-coercivity-2019]. Since J = mu_0 M, J and M share a zero crossing; the B convention can differ because B = mu_0 H + J [kiel-magnetic-quantities]. Remanence instead describes the magnetic state remaining at zero applied field. NIST's micromagnetic reference problem defines coercivity through a magnetization projection and changes reversal behavior by varying geometry even with zero magnetocrystalline anisotropy [nist-mumag-2]. A coercivity value is therefore not the anisotropy energy density or a thermal-retention barrier. TDK Headway describes HAMR optical heating as temporarily reducing media coercivity so a magnetic head can write [tdk-hamr-coercivity]. State temperature, field direction and measurement conditions when comparing values; a static hysteresis result alone does not determine recording errors during a heating pulse [evans-thermal-writability]. Limitations: - A hysteresis zero crossing does not establish a complete drive's retention time or failure rate. - The cited IEC method has a bounded measurement range; it is not a universal HDD-material specification. Sources and caveats: - Definition and units: IEC 60404-7:2019, sections 3.1-3.2 and 4, read in the official SIST preview; the full standard was not reviewed. - NIST provides an idealized micromagnetic benchmark, not measured HDD media or a reproduction performed by Hesela. - TDK is cited for the heating mechanism only, not its capacity forecasts or reliability claims. - Evans et al. use an equilibrium model with aligned easy axes; its numerical density estimates are not measurements of commercial granular HAMR. Related terms: - [hamr](https://hesela.dev/terms/hamr/) - [magnetic-anisotropy](https://hesela.dev/terms/magnetic-anisotropy/) - [magnetic-thermal-stability-factor](https://hesela.dev/terms/magnetic-thermal-stability-factor/) - [exchange-coupled-composite-media](https://hesela.dev/terms/exchange-coupled-composite-media/) Citations: - [iec-coercivity-2019] IEC 60404-7:2019, sections 3.1-3.2 and 4: coercivity definitions and saturation (official SIST preview). https://preview.sist.si/sist-preview/66789/869971b7d22247b485e7de53a4b62102/SIST-EN-IEC-60404-7-2020.pdf (accessed 2026-11-06) - [nist-mumag-2] NIST muMAG Standard Problem 2: coercivity, remanence and geometry-dependent reversal. https://www.ctcms.nist.gov/mumag/std2/spec2.html (accessed 2026-11-06) - [tdk-hamr-coercivity] TDK Headway: Technologies, HAMR discussion of optical heating and media coercivity. https://www.headway.tdk.com/technologies.html (accessed 2026-11-06) - [kiel-magnetic-quantities] H. Foell, Kiel University: Magnetic Materials, section 4.1.4, relations between B, H, J and M. https://www.tf.uni-kiel.de/matwis/amat/elmat_en/kap_4/backbone/r4_1_4.html (accessed 2026-11-06) - [evans-thermal-writability] Evans et al.: Thermally induced error: density limit for magnetic data storage, APL 100, 102402 (2012), doi:10.1063/1.3691196, equations 1-2. https://arxiv.org/html/1111.0524v2 (accessed 2026-11-06) ### Magnetic-core memory URL: https://hesela.dev/terms/magnetic-core-memory/ Related article: https://hesela.com/tech/magnetic-drum-and-core-memory/ Also known as: core memory, ferrite-core memory, ferrite core memory, core store Status: eol Record updated: 2026-10-18 Magnetic-core memory stores binary information in the retained magnetization of ferrite cores selected by electrical currents through wires. Note: Core can serve as working memory while retaining its magnetic state without continuous power; its system role does not make it volatile. [c1] In conventional coincident-current core memory, readout disturbs the selected word and the electronics must restore it. Destructive readout is not a property of every ferrite design: nondestructive-read variants also exist. [c2] Nonvolatility does not guarantee safe interruption of the read/restore sequence. Ricci's NASA survey discusses corruption from electronic malfunction and the protection needed during power failures. [c2] Sources and caveats: - The NASA report surveys guidance-computer memories; its projections for 1970-1972 are not used here as observed results. [c2] Related terms: - [drum-memory](https://hesela.dev/terms/drum-memory/) - [bubble-memory](https://hesela.dev/terms/bubble-memory/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) Citations: - [c1] IBM: World of Numbers (1958), PDF p. 18, Magnetic Cores. https://archive.computerhistory.org/resources/access/text/2023/05/102707549-05-01-acc.pdf (accessed 2026-10-18) - [c2] Robert C. Ricci: Present and Future State of the Art in Guidance Computer Memories, NASA TN D-4224 (November 1967), pp. 2-4 and Table I. https://ntrs.nasa.gov/api/citations/19670030990/downloads/19670030990.pdf (accessed 2026-10-18) ### Magnetic recording trilemma URL: https://hesela.dev/terms/magnetic-recording-trilemma/ Related article: https://hesela.com/tech/pmr/ Also known as: recording trilemma Status: unknown Record updated: 2026-10-28 The magnetic recording trilemma is the coupled constraint of signal-to-noise ratio, thermal stability and writability as recording density increases. Note: Maintaining enough grains per recorded bit for signal quality while shrinking the bit calls for smaller grains. At fixed material properties and temperature, smaller grain volume lowers the thermal reversal barrier. Increasing anisotropy restores stability but demands a stronger write field [evans-2012]. HAMR separates hot writing from cooler storage, easing this conflict. It does not remove the need to bias the intended magnetic state strongly enough against thermal fluctuations during writing; that additional requirement is thermal writability [evans-2012]. Exchange-coupled hard/soft and graded grains offer another route through this tradeoff: change the reversal path rather than infer writability from anisotropy alone [suess-exchange-2008]. Sources and caveats: - Evans et al. discuss the trilemma before deriving an idealized aligned-axis equilibrium model. Their numerical density forecasts are not universal commercial-HDD limits. Related terms: - [hamr](https://hesela.dev/terms/hamr/) - [pmr](https://hesela.dev/terms/pmr/) - [magnetic-anisotropy](https://hesela.dev/terms/magnetic-anisotropy/) - [superparamagnetic-limit](https://hesela.dev/terms/superparamagnetic-limit/) - [thermal-writability](https://hesela.dev/terms/thermal-writability/) - [exchange-coupled-composite-media](https://hesela.dev/terms/exchange-coupled-composite-media/) Citations: - [evans-2012] Evans et al.: Thermally induced error: density limit for magnetic data storage (2012), doi:10.1063/1.3691196. https://arxiv.org/html/1111.0524v2 (accessed 2026-10-17) - [suess-exchange-2008] Suess, Lee, Fidler and Schrefl: Exchange coupled perpendicular media, arXiv:0805.1674v1 (2008), sections 1-3 and 4-5. https://arxiv.org/pdf/0805.1674v1 (accessed 2026-10-28) ### Magnetic thermal stability factor URL: https://hesela.dev/terms/magnetic-thermal-stability-factor/ Related analysis: https://hesela.com/analyses/magnetic-retention-time-and-probability/ Status: research Record updated: 2026-11-06 The magnetic thermal stability factor is the ratio of a magnetization-reversal energy barrier to thermal energy at a specified absolute temperature. Note: Write Delta = E_b/(k_B T), where E_b is in joules and T in kelvin; the simple uniaxial zero-effective-field picture gives E_b = K_u V [zhou]. Delta alone is not a retention duration or an error probability. A retention calculation also needs an attempt-rate convention, observation interval, event definition and barrier distribution. The often cited value near 60 is context dependent, not a universal pass/fail threshold [weller]. The linked worksheet separates first reversal from opposite state at read time [hesela-retention]. Sources and caveats: - Dimensionless physical/model quantity, not a commercial product specification. - Weller/Moser used only at institutional-abstract scope; numerical examples in the related analysis are hypothetical. Related terms: - [superparamagnetic-limit](https://hesela.dev/terms/superparamagnetic-limit/) - [neel-arrhenius-model](https://hesela.dev/terms/neel-arrhenius-model/) - [hamr](https://hesela.dev/terms/hamr/) - [thermal-writability](https://hesela.dev/terms/thermal-writability/) - [magnetic-coercivity](https://hesela.dev/terms/magnetic-coercivity/) Citations: - [zhou] Zhou et al., Plasmonic near-field transducer for heat-assisted magnetic recording (2014), doi:10.1515/nanoph-2014-0001. https://engineering.purdue.edu/NanoLab/publications/PDF/2014-Plasmonic-near-field-transducer-for-heat-assisted-magnetic-recording.pdf (accessed 2026-10-17) - [weller] Weller and Moser, Thermal effect limits in ultrahigh-density magnetic recording (1999), doi:10.1109/20.809134. https://research.ibm.com/publications/thermal-effect-limits-in-ultrahigh-density-magnetic-recording (accessed 2026-10-17) - [hesela-retention] Hesela: Magnetic retention: why 60 kBT is not an expiry date; explicit two-state worksheet, not measurements. https://hesela.com/analyses/magnetic-retention-time-and-probability/ (accessed 2026-10-17) ### Magnetic tunnel junction URL: https://hesela.dev/terms/magnetic-tunnel-junction/ Related article: https://hesela.com/tech/mram/ Also known as: MTJ Status: shipping Record updated: 2026-10-18 A magnetic tunnel junction consists of two magnetic layers separated by a thin insulating barrier through which electrons tunnel. Note: Readout: In conventional MRAM junctions, parallel layer magnetizations give lower resistance and antiparallel magnetizations higher resistance. A reference layer and switchable free layer provide distinguishable states. [toggle] Role: The junction is a device structure, not a write protocol. STT-MRAM switches the free layer using current through it; field-switched MRAM uses a different write mechanism. [stt] [toggle] Limits: Barrier material, interfaces and applied electrical stress influence breakdown, so a measured junction lifetime is specific to the tested structure and conditions. [choi] Sources and caveats: - The cited endurance experiment used MgAl2O4 barriers. Its cycle counts are not generalized to other barrier materials. [choi] Related terms: - [mram](https://hesela.dev/terms/mram/) - [stt-mram](https://hesela.dev/terms/stt-mram/) - [tunnel-magnetoresistive-head](https://hesela.dev/terms/tunnel-magnetoresistive-head/) - [magnetic-anisotropy](https://hesela.dev/terms/magnetic-anisotropy/) Citations: - [toggle] Everspin: Toggle MRAM Technology, cell structure and read/write operation. https://legacy.everspin.com/toggle-mram-technology (accessed 2026-10-18) - [stt] Everspin: STT-MRAM Technology, switching mechanism and interface examples. https://www.everspin.com/stt-mram-technology (accessed 2026-10-18) - [choi] Choi et al. (2017). Endurance of magnetic tunnel junctions under dynamic voltage stress. Electronics Letters 53:1146-1148. https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/el.2017.1579 (accessed 2026-10-18) - [hesela-mram] Hesela: Magnetoresistive RAM (MRAM). https://hesela.com/tech/mram/ (accessed 2026-10-18) ### Magneto-optical disc URL: https://hesela.dev/terms/magneto-optical/ Related article: https://hesela.com/tech/magneto-optical-disc/ Status: eol Record updated: 2026-10-16 A magneto-optical disc stores data as magnetised marks that a focused laser heats so a magnetic field can set them, and reads them back through the magneto-optical Kerr effect. Note: The 130 mm standard covers a double-sided cartridge in two types, Type R/W, which can be written, read and erased many times, and Type WO, which once written cannot be erased or amended. Each side holds a nominal 4.58 GB, giving 9.1 GB per cartridge, with 4096- or 2048-byte sectors and optional emulation of 1024 and 512. Six earlier 130 mm standards cover 1 GB to 5.2 GB. [c2] The 90 mm HS-1 standard gives 650 MB with rewritable, partly embossed and fully embossed types. [c3] The 130 mm beam has a wavelength of 660 nm and a wavelength-to-aperture ratio of 1.148 micrometres, the track pitch is 0.652 micrometres and the disk turns at 50 Hz; written marks are read through the rotation of the beam polarisation and embossed marks by diffraction. The case has a head window for the optical head and one for the magnetic head, and a write-inhibit hole blocks both write and erase. [c2] The 90 mm format uses 685 nm, 1.245 micrometres, a 1.20 micrometre pitch and 40 Hz. [c3] Operating temperature is 5 to 55 degrees Celsius and the stray magnetic field at the recording layer is at most 32 000 A/m while a beam is in focus and 48 000 A/m otherwise. [c2] Arithmetic: 0.660 / 1.148 gives a numerical aperture of 0.575; 50 Hz gives a 10 ms average rotational wait; 0.652 micrometres is about 1534 tracks/mm against 833 at 1.20, a ratio of 1.84; 15 to 30 sectors of 4096 bytes per revolution give 3.07 to 6.14 MB/s. Sources and caveats: - Both standards come from the same standards body, whose committees are staffed by industry members, and ECMA-239 notes that three companies proposed the HS-1 format, so no wholly separate academic source was read. - The standards fix interchange characteristics, not drive performance or media lifetime; the sections read do not address long-term retention, and no lifetime, price or market figures are given. - Arithmetic from nominal values: 0.685 / 1.245 = 0.550 numerical aperture for 90 mm; 40 Hz = 2400 rev/min gives a 12.5 ms average rotational wait; two sides of 4.58 GB = 9.16 GB, stated as 9.1 GB. - Arithmetic: 1 / 0.652 micrometre is about 1534 tracks/mm, matching 49 728 tracks in 32.4 mm; the 90 mm band gives about 833 tracks/mm. - Arithmetic: 15 x 4096 B x 50 Hz = 3.07 MB/s and 30 x 4096 x 50 = 6.14 MB/s, or 2.87 to 5.84 MB/s for 2048-byte sectors, ignoring seeks, verification and any separate erase pass; 32 000 and 48 000 A/m are about 40 and 60 mT in air. Related terms: - [optical-archival](https://hesela.dev/terms/optical-archival/) - [tape](https://hesela.dev/terms/tape/) - [rotational-media](https://hesela.dev/terms/rotational-media/) - [optical-jukebox](https://hesela.dev/terms/optical-jukebox/) - [write-once-media](https://hesela.dev/terms/write-once-media/) Citations: - [c1] Magneto-optical disc. https://en.wikipedia.org/wiki/Magneto-optical_drive (accessed 2026-03-26) - [c2] ECMA-322: Data Interchange on 130 mm Magneto-Optical Disk Cartridges, Capacity: 9,1 Gbytes per Cartridge, June 2001 (Ecma International). https://ecma-international.org/wp-content/uploads/ECMA-322_1st_edition_june_2001.pdf (accessed 2026-10-16) - [c3] ECMA-239: Data Interchange on 90 mm Optical Disk Cartridges, HS-1 Format, Capacity: 650 Megabytes per Cartridge, 1996 (Ecma International). https://ecma-international.org/wp-content/uploads/ECMA-239_1st_edition_june_1996.pdf (accessed 2026-10-16) ### Massive array of idle disks URL: https://hesela.dev/terms/maid/ Related analysis: https://hesela.com/analyses/sleeping-disks-partial-reconstruction/ Also known as: MAID, massive arrays of idle disks Status: research Record updated: 2026-11-29 A massive array of idle disks is a storage architecture that keeps most of its disks spun down between accesses to reduce energy use. Note: The design targets archives in which most data is rarely read. Placement, idle timers and caching determine which drives must wake for a request, and a small set of cache drives can stay spinning to hold recently used data. [maid-paper] In the original study one drive averaged 6.6 W when idle and 1.03 W in standby. The price is latency: the study measured 3 to 8 s until the first byte after spin-up, while drive specifications typically listed 7 to 15 s. [maid-paper] A later archival design aimed to keep 95% or more of its disks inactive, compared with about 75% in earlier systems. It used flash on each node to avoid spin-ups for metadata and passed spin-up tokens between nodes to limit how many drives start at once. [pergamum] A nearline HDD product class does not imply this power policy. [nearline-note] Advantages: - Trace-driven simulations of archival workloads found RAID-like performance at lower power under the evaluated placement and power-management policies. (sources: [maid-paper]) Limitations: - Pergamum subtracts 10 hours of disk life per spin-up as a model assumption that its authors call potentially pessimistic, not a measured lifetime decrement or a universal wear rate. (sources: [pergamum]) - These archival results do not establish comparable latency for arbitrary transactional workloads; spin-up delays and cache-drive costs depend on the access pattern. (sources: [maid-paper]) Sources and caveats: - maid-paper is the SC 2002 paper by Colarelli and Grunwald (University of Colorado), read in sections 2 to 5. - pergamum is the FAST 2008 paper by Storer, Greenan, Miller (University of California, Santa Cruz) and Voruganti (Network Appliance), read in sections 1 to 5. - 6.6 W, 1.03 W, 3 to 8 s and 7 to 15 s come from maid-paper. 95%, 75% and 10 hours per spin-up come from pergamum. - nearline-note keeps its earlier access date and was renamed from its earlier id without changing its title or URL. - The spin-up life penalty is a simulation input in Pergamum section 5.2, not an empirical per-cycle estimate; rechecked 2026-11-09. Related terms: - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [power-aware-coding](https://hesela.dev/terms/power-aware-coding/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [write-offloading](https://hesela.dev/terms/write-offloading/) - [staggered-reconstruction](https://hesela.dev/terms/staggered-reconstruction/) - [pergamum](https://hesela.dev/terms/pergamum/) - [hibernator](https://hesela.dev/terms/hibernator/) - [paraid](https://hesela.dev/terms/paraid/) - [pelican](https://hesela.dev/terms/pelican/) Citations: - [maid-paper] Colarelli and Grunwald: Massive Arrays of Idle Disks For Storage Archives (SC 2002), sections 2-5. https://www3.cs.stonybrook.edu/~anshul/courses/cse591_s16/maid.pdf (accessed 2026-11-29) - [nearline-note] IBM technical blog: The Correct Use of the term Nearline. https://www.ibm.com/support/pages/correct-use-term-nearline (accessed 2026-10-17) - [pergamum] Storer, Greenan, Miller and Voruganti. Pergamum: Replacing Tape with Energy Efficient, Reliable, Disk-Based Archival Storage. FAST 2008. https://www.usenix.org/legacy/event/fast08/tech/full_papers/storer/storer.pdf (accessed 2026-10-22) ### Mainframe DASD URL: https://hesela.dev/terms/mainframe-dasd/ Also known as: DASD, direct-access storage device Status: limited Record updated: 2026-10-22 Mainframe DASD (direct-access storage device) is disk storage that mainframes access through channel programs, formatted as count-key-data or fixed-block volumes. Note: In 1974 one removable-pack device had 200 cylinders plus 3 alternates, 20 tracks per cylinder and 7,294 bytes per track, about 29.2 million bytes per pack. A later one had 411 cylinders including 7 alternates, 19 tracks per cylinder and 13,030 bytes per track, about 100 million bytes. Search commands compared a key, ID or home address on the device before a read or write, keeping the channel busy during the search. [c4] The Linux driver stores a track address as 16-bit cylinder and head fields, packing cylinder bits beyond 16 above the 4 low-order head bits for extended address volumes. A count record is 8 bytes, so keys reach 255 bytes and data 65,535 bytes. Records per track follow a separate formula for each of three device types. The driver chains at most 180 blocks per request, handles up to 256 parallel-access alias devices per logical control unit and maps five control-unit types onto two device geometries. [c2] An open-source emulator lists ten count-key-data and seven fixed-block device types. The largest listed volume of the later type has 65,520 cylinders, with smaller models of 1,113 to 32,760, and images are built from whole cylinders. [c3] Advantages: - Alias devices let one volume have several I/O operations in flight at once. (sources: [c2]) Sources and caveats: - c4 is IBM student text GC20-1649-8 (February 1974), read as a scan on bitsavers.org; capacities are for 1974 devices. - c2 is Linux kernel source (master branch); c3 is Hercules emulator documentation. - No cited source states the current share or role of DASD in new installations. - Channel transports (ESCON, FICON, Fibre Channel) are not described in the cited documents. - Arithmetic: 200 x 145,880 = 29,176,000 bytes; 404 x 247,570 = 100,018,280 bytes; 8-bit key length gives 255, 16-bit data length 65,535. Related terms: - [san](https://hesela.dev/terms/san/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [escon](https://hesela.dev/terms/escon/) Citations: - [c1] Mainframe DASD. https://en.wikipedia.org/wiki/Direct-access_storage_device (accessed 2026-03-26) - [c2] drivers/s390/block/dasd_eckd.c and dasd_eckd.h, Linux kernel source. https://github.com/torvalds/linux/blob/master/drivers/s390/block/dasd_eckd.c (accessed 2026-10-16) - [c3] Hercules Version 4: Creating DASD. https://hercules-390.github.io/html/hercload.html (accessed 2026-10-16) - [c4] Introduction to IBM Direct-Access Storage Devices and Organization Methods, GC20-1649-8. https://bitsavers.org/pdf/ibm/dasd/GC20-1649-8_Introduction_to_IBM_Direct-Access_Storage_Devices_and_Organization_Methods_197402.pdf (accessed 2026-10-16) ### Major-minor loop architecture URL: https://hesela.dev/terms/major-minor-loop/ Related article: https://hesela.com/tech/magnetic-bubble-memory/ Also known as: major-minor loop bubble memory, major track-minor loop Status: eol Record updated: 2026-10-29 Major-minor loop architecture organizes bubble memory into smaller storage loops connected by transfer elements to shared read and write access paths. Note: A single serial loop makes access time grow with its length, because data must circulate past a fixed detector. The average wait is half a circulation, and the worst case, when the wanted bit has just passed the detector, is a full circulation, twice the average. [c1] For a 2048-bit loop shifted at 500 kHz that works out to about 2 ms on average and about 4 ms at worst. The major-minor organization splits storage into many shorter minor loops that circulate together and transfers selected positions to a shared track for reading or writing. A chip built from several optimum-length registers then has an access time only slightly longer than that of one register, the extra time going to selecting the addressed register. [c1] Positioning and transfer still take time. Loop redundancy addresses defective paths. One documented 1-Mbit device has a gross capacity of 1,310,720 bits but 1,048,576 usable bits in 256 data loops of 4096 bits each. A loop map and an index code stored on chip in a bootstrap loop let support circuitry exclude bad loops, which is separate from error correction applied to data read from usable loops. [c2] Advantages: - Because bad loops are mapped out rather than fatal, a chip with some defective minor loops can still present its full nominal capacity to the system. (sources: [c2]) Limitations: - Access stays slow by memory standards: the slower part of the cited family lists a 40 ms average access time, and a contemporary survey warned that long access times could keep bubble devices out of main memory. (sources: [c1], [c2]) Sources and caveats: - c1 re-read 2026-10-29, data-rate and access-time section, for the half-circulation average, the worst case at twice the average and the multi-register access time. - The 2 ms and 4 ms values are arithmetic from that formula for 2048 bits at 500 kHz, not measured results. - c2 re-read 2026-10-29, printed pp. 1-3, for the gross and usable capacity, the 256 loops of 4096 bits, the bootstrap loop and the 40 ms average access time. - The drum-memory entry links here because both designs wait for stored data to circulate past a fixed access point, so the mean wait is half a cycle. Related terms: - [bubble-memory](https://hesela.dev/terms/bubble-memory/) - [defect-skipping](https://hesela.dev/terms/defect-skipping/) - [drum-memory](https://hesela.dev/terms/drum-memory/) Citations: - [c1] R. B. J. Warnar and P. J. Calomeris: NBS SP 500-1, January 1977, pp. 1-4, 13, 30-34; historical technology survey. https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nbsspecialpublication500-1.pdf (accessed 2026-10-29) - [c2] Intel Magnetics: Bubble Memory Design Handbook, May 1979, printed pp. 1-3, 23; 7110/7112 and 7242. https://www.lo-tech.co.uk/downloads/manuals/intel/BubbleMemoryDesignHandbook_text.pdf (accessed 2026-10-29) ### Makalu URL: https://hesela.dev/terms/makalu/ Also known as: Makalu allocator Status: research Record updated: 2026-12-05 Makalu is a persistent-memory allocator that combines protected heap metadata with recovery-time garbage collection. Note: Scope: Makalu manages allocation, not application transactions. Its runtime must recover the user's data, or the programmer must supply that recovery when using it alone. [readme] Mechanism: Core metadata is protected; reconstructible auxiliary metadata can be persisted lazily. Recovery-time tracing reduces online persistence work. Collection starts from registered persistent roots after application recovery, with no running mutator. [paper] Deallocation: A transactional free may need to be deferred because recovery logs can still refer to the object. Reuse must wait until those references cannot become live again. [paper] API versions: Table 1 in the paper names MAK_collect, MAK_set_free_cb and MAK_safe_free. The pinned public header instead declares MAK_collect_off, MAK_set_defer_free_fn and MAK_free_imm. These are source-version distinctions, not interchangeable names to paste into code. [paper] [header] Example: A synthetic executable three-object graph shows why collection before root recovery can reclaim a subsequently restored object. It also separates reachable storage from a correct payload; neither result is a Makalu implementation test. [model] Advantages: - Rebuilding auxiliary state moves some persistence cost from ordinary allocation to recovery. (sources: [paper]) Limitations: - Heap consistency does not establish application-data consistency. (sources: [readme]) - The paper uses conservative tracing, so pointer-like values can retain otherwise dead objects. (sources: [paper]) - Evaluation used DRAM-backed tmpfs and process crashes, not physical power-loss testing. (sources: [paper]) Sources and caveats: - Full OOPSLA paper reviewed, including the recovery protocol, implementation interface and evaluation method; DOI verified against ACM metadata. - Public header and recovery example inspected at pinned HPE Atlas commit d4fd983322a4e247724aa636f380aa023b927e0b. Source API differs from the paper's terminology. - The companion is an original exact-reachability graph model, not a reproduction of Makalu, conservative pointer scanning, allocator metadata recovery or benchmark performance. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [nv-heaps](https://hesela.dev/terms/nv-heaps/) - [mnemosyne](https://hesela.dev/terms/mnemosyne/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) Citations: - [paper] Bhandari, Chakrabarti and Boehm. Makalu. OOPSLA 2016, pp. 677-694; DOI 10.1145/2983990.2984019. Sections 3-4, 9-10 and 13. https://bpb-us-e1.wpmucdn.com/blogs.rice.edu/dist/5/7236/files/2016/09/oopsla2016-copyright-1s0zst5.pdf (accessed 2026-12-05) - [readme] HewlettPackard/Atlas, makalu_alloc README at d4fd983322a4e247724aa636f380aa023b927e0b: allocator and application responsibilities. https://github.com/HewlettPackard/Atlas/blob/d4fd983322a4e247724aa636f380aa023b927e0b/makalu_alloc/README.md (accessed 2026-12-05) - [header] HewlettPackard/Atlas, makalu.h at d4fd983322a4e247724aa636f380aa023b927e0b: published API declarations. https://github.com/HewlettPackard/Atlas/blob/d4fd983322a4e247724aa636f380aa023b927e0b/makalu_alloc/include/makalu.h (accessed 2026-12-05) - [model] Hesela. Recover roots before collecting: executable synthetic counterexample, tests and provenance. https://hesela.dev/research/makalu/README.md (accessed 2026-12-05) ### Microwave-assisted magnetic recording (MAMR) URL: https://hesela.dev/terms/mamr/ Technology reference: https://hesela.com/tech/mamr/ Also known as: MAMR Status: limited Record updated: 2026-10-16 Microwave-assisted magnetic recording (MAMR) denotes HDD write-assist approaches whose implementation must be distinguished: MAS-MAMR uses a microwave magnetic field to assist switching in the medium, while Toshiba's FC-MAMR strengthens the write field through flux control. Note: Toshiba distinguishes assistance to the head's write field in FC-MAMR from microwave-assisted reversal of media magnetization in MAS-MAMR [toshiba-mg09-2021]. Western Digital's ePMR is a separate DC-biased write-pole approach, not a synonym for MAMR; write assistance is also a different classification from CMR or SMR track layout [wd-recording-technologies]. Limitations: - The family label alone does not identify the implemented assist mechanism. Related terms: - [hamr](https://hesela.dev/terms/hamr/) - [pmr](https://hesela.dev/terms/pmr/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [areal-density](https://hesela.dev/terms/areal-density/) - [fc-mamr](https://hesela.dev/terms/fc-mamr/) - [mas-mamr](https://hesela.dev/terms/mas-mamr/) - [epmr](https://hesela.dev/terms/epmr/) Citations: - [toshiba-mg09-2021] Toshiba: High-Reliability FC-MAMR Nearline HDD with a Capacity of 18 TB (2021), pp. 1-2. https://toshiba.semicon-storage.com/content/dam/toshiba-ss-v3/master/en/storage/product/data-center-enterprise/202102025_nearlineHDD_18TB_e.pdf (accessed 2026-10-16) - [wd-recording-technologies] Western Digital: Recording Technologies, pp. 3-5. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/tech-brief/tech-brief-recording-technologies.pdf (accessed 2026-10-16) ### MAP_SYNC URL: https://hesela.dev/terms/map-sync/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Status: shipping Record updated: 2026-10-22 MAP_SYNC is a Linux mmap flag for DAX files that keeps writable mapped data at its file offset after a crash when used with CPU persistence instructions. Note: MAP_SYNC and the MAP_SHARED_VALIDATE mapping type it requires were added in Linux 4.15. Files without DAX support fail the mapping with EOPNOTSUPP. While memory is mapped writable, the data stays visible in the same file at the same offset after a crash, which with appropriate CPU instructions gives a cheaper path to persistence than a file sync call. [mmap-docs] The flag does not issue a persistence operation for each store, and a mapping contract is not multi-write atomicity. A persist call in the persistent memory development kit flushes the range and then drains, guarantees durability on return and is neither atomic nor transactional. [pmdk-persist] The CPU work depends on the power-fail protected domain. When it covers only the memory controller, cache lines must be flushed and usually fenced. When it also covers CPU caches, flushes are unnecessary but barriers may still be needed for ordering. Without persistent memory, msync or fsync writes back at page granularity. [pmdk-granularity] Advantages: - Lets an application persist mapped writes with cache-line flushes and a fence instead of a page-granularity sync system call. (sources: [mmap-docs], [pmdk-granularity]) Limitations: - A plain MAP_SHARED mapping silently ignores the flag, so a successful mapping without validation does not prove the guarantee. (sources: [mmap-docs]) - Stores can become persistent before the application calls a persist function, so recovery code cannot assume unflushed data is absent. (sources: [pmdk-persist]) Sources and caveats: - mmap-docs is the Linux man-pages mmap(2) page, re-read on 2026-10-22 in the MAP_SYNC and MAP_SHARED_VALIDATE entries. - Linux 4.15 and EOPNOTSUPP come from mmap-docs. - pmdk-persist is the PMDK 1.13.1 pmem2_get_persist_fn(3) manual page, re-read on 2026-10-22. - pmdk-granularity is the PMDK 1.13.1 libpmem2(7) manual page, read on 2026-10-22 in the GRANULARITY section. - Neither mmap-docs nor the GRANULARITY section of pmdk-granularity states a cache-line or page size in bytes, so the note gives no byte granularity. Related terms: - [dax](https://hesela.dev/terms/dax/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) Citations: - [mmap-docs] Linux man-pages. mmap(2), MAP_SYNC and MAP_SHARED_VALIDATE. https://man7.org/linux/man-pages/man2/mmap.2.html (accessed 2026-10-22) - [pmdk-persist] PMDK 1.13.1. pmem2_get_persist_fn(3): early persistence and non-transactional semantics. https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/pmem2_get_persist_fn.3.md (accessed 2026-10-22) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/ (accessed 2026-10-13) - [pmdk-granularity] PMDK 1.13.1. libpmem2(7): page, cache-line and byte store granularity. https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/libpmem2.7.md (accessed 2026-10-22) ### SSD mapping cache URL: https://hesela.dev/terms/mapping-cache/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: cached mapping table, CMT Status: shipping Record updated: 2026-11-22 An SSD mapping cache retains selected logical-to-physical address mappings in memory. Note: The cache stores locations rather than necessarily caching user data. A miss can require reading mapping metadata before the user-data read. This is an I/O dependency, not a universal latency multiplier. [learned] With 4-byte physical addresses, one 2 KB translation page holds 512 consecutive mappings, and a full page-level table takes about 2 MB per 1 GB of flash, about 0.2%. A table that large on a 16 GB device needs about 32 MB of controller memory, which motivates caching only part of it. In DFTL's described miss path, an unchanged victim needs no writeback. A changed victim can require a translation-page read and rewrite before fetching the requested mapping: two metadata reads and one metadata write in that worst case, excluding user-data I/O and garbage collection. [dftl] Capacity alone does not establish the hit ratio. Access history and the replacement rule matter. In a FEMU reimplementation of TPFTL, random-read throughput was up to 60% below sequential-read throughput; a cache holding 50% of mappings reached a 25.9% hit ratio. These are configuration-specific emulator results. [learned] A mapping-cache miss need not become a translation-page read. LearnedFTL can use a bitmap-qualified model prediction instead. Its model coverage and cache hit ratio are separate quantities. [learned] Advantages: - Keeping only recently used page-level entries in memory lets the controller avoid block-level merge operations without holding the whole table. (sources: [dftl]) Limitations: - Entries changed since loading must be written back to translation pages on eviction, which adds flash writes. Batching updates to one translation page reduces but does not remove them. (sources: [dftl]) Sources and caveats: - dftl read 2026-10-23, sections 2 and 3, for translation-page capacity, table size, worst-case miss cost and batched write-back. - learned read 2026-10-23, sections II-B and III, for random-read throughput and hit ratio versus cache share. - A companion analysis with cold, scan and return phases is listed but not used in prose. A companion technology guide is listed but not used in prose. - DFTL section 3.2 rechecked 2026-11-09: the quoted worst case concerns translation overhead for that design, not a device-wide I/O or latency bound. - LearnedFTL sections II-B and IV-A rechecked 2026-11-09: the named TPFTL baseline was reimplemented in FEMU, not measured on a commercial SSD. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [dram-cache-ssd](https://hesela.dev/terms/dram-cache-ssd/) - [hmb](https://hesela.dev/terms/hmb/) - [translation-page](https://hesela.dev/terms/translation-page/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [page-level-mapping](https://hesela.dev/terms/page-level-mapping/) - [global-translation-directory](https://hesela.dev/terms/global-translation-directory/) - [working-set](https://hesela.dev/terms/working-set/) - [locality-of-reference](https://hesela.dev/terms/locality-of-reference/) - [block-level-mapping](https://hesela.dev/terms/block-level-mapping/) - [lazyftl](https://hesela.dev/terms/lazyftl/) - [tpftl](https://hesela.dev/terms/tpftl/) - [leaftl](https://hesela.dev/terms/leaftl/) - [page-validity-bitmap](https://hesela.dev/terms/page-validity-bitmap/) - [learnedftl](https://hesela.dev/terms/learnedftl/) Citations: - [learned] Wang et al. LearnedFTL: A Learning-Based Page-Level FTL for Reducing Double Reads in Flash-Based SSDs. HPCA 2024, pp. 616-629, sections II-IV. https://ranger.uta.edu/~jiang/publication/Conferences/2024/HPCA24%28LearnedFTL%29.pdf (accessed 2026-11-09) - [hesela] SSD mapping caches: why DRAM size is not a speed rating. https://hesela.com/analyses/ssd-mapping-cache-hmb/ (accessed 2026-10-12) - [ftl-guide] Hesela: Flash Translation Layer technology guide. https://hesela.com/tech/ftl/ (accessed 2026-10-18) - [dftl] Gupta, Kim and Urgaonkar. DFTL: A Flash Translation Layer Employing Demand-based Selective Caching of Page-level Address Mappings. ASPLOS 2009. https://www.cse.psu.edu/~buu1/papers/ps/dftl-asplos09.pdf (accessed 2026-11-09) ### Multimodal Adaptive Replacement Cache URL: https://hesela.dev/terms/marc/ Also known as: mARC, multi-modal adaptive replacement cache Status: research Record updated: 2026-11-29 Multimodal Adaptive Replacement Cache adds workload-state-dependent admission filtering to ARC for caches that can bypass insertion on a miss. Note: mARC starts Unstable and forwards requests to ARC without filtering. Stable and Unique Access states enable a metadata-only filter: an uncached item is admitted on a filter match; otherwise only its identifier is retained. [marc] State decisions compare a sample of C requests with a running state hit rate, where C is cache capacity in blocks. Unstable observes at least 2C requests before a transition. These are request-count windows, not elapsed-time intervals. [marc] The authors tuned transition constants across the same 45 MSR Cambridge and FIU workloads used in the study. Treat the trace-driven simulation as workload-specific evidence, not a held-out generalization test. [marc] Limitations: - Fewer simulated cache updates are not a measured SSD lifetime extension; device-level write amplification and failure mechanisms are outside this evaluation. (sources: [marc]) Sources and caveats: - Primary-source synthesis; no independent reproduction of the paper's workload results. Related terms: - [adaptive-replacement-cache](https://hesela.dev/terms/adaptive-replacement-cache/) - [lazy-adaptive-replacement-cache](https://hesela.dev/terms/lazy-adaptive-replacement-cache/) - [fomo-cache-admission](https://hesela.dev/terms/fomo-cache-admission/) - [cache-admission](https://hesela.dev/terms/cache-admission/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) Citations: - [marc] Santana, Lyons, Koller, Rangaswami and Liu. To ARC or not to ARC. HotStorage 2015, sections 3-4; Table 2. https://files.usenix.org/s3fs-public/cdn/hotstorage15-santana.pdf (accessed 2026-11-29) ### Microwave-assisted switching MAMR (MAS-MAMR) URL: https://hesela.dev/terms/mas-mamr/ Related article: https://hesela.com/tech/mamr/ Also known as: MAS-MAMR, Microwave Assisted Switching MAMR Status: research Record updated: 2026-10-16 Microwave-assisted switching MAMR (MAS-MAMR) is a recording technique in which a spin-torque oscillator adds a microwave magnetic field to the write field, reducing the field needed to reverse magnetization in the recording medium. Note: The mechanism assists media switching rather than only strengthening the head's write field [toshiba-mg09-2021]. Toshiba reported a head-and-media demonstration on 27 December 2021 [toshiba-mas-demo-2021] and still described MAS-MAMR development on 22 January 2026 [toshiba-mas-research-2026]. The research status reflects those dated sources, not a complete October 2026 market audit; neither source establishes universal commercial availability. The associated paper distinguishes coupled and uncoupled oscillator modes using a resistance response to external microwave excitation, with simulations supporting the interpretation [nakagawa-injection-locking-2026]. An absent response is not a universal coupling test. Limitations: - Results from a specific head-and-media demonstration do not establish performance for every HDD. Related terms: - [mamr](https://hesela.dev/terms/mamr/) - [fc-mamr](https://hesela.dev/terms/fc-mamr/) - [epmr](https://hesela.dev/terms/epmr/) - [pmr](https://hesela.dev/terms/pmr/) Citations: - [toshiba-mg09-2021] Toshiba: High-Reliability FC-MAMR Nearline HDD with a Capacity of 18 TB (2021), p. 2. https://toshiba.semicon-storage.com/content/dam/toshiba-ss-v3/master/en/storage/product/data-center-enterprise/202102025_nearlineHDD_18TB_e.pdf#page=2 (accessed 2026-10-16) - [toshiba-mas-demo-2021] Toshiba: Demonstration of improved HDD recording performance with MAS-MAMR (27 December 2021). https://www.global.toshiba/ww/technology/corporate/rdc/rd/topics/21/2112-03.html (accessed 2026-10-16) - [toshiba-mas-research-2026] Toshiba: Analysis method for determining the oscillation state of STOs for MAS-MAMR (22 January 2026). https://www.global.toshiba/ww/technology/corporate/rdc/rd/topics/26/2601-01.html (accessed 2026-10-16) - [nakagawa-injection-locking-2026] Nakagawa, Suto, Sakuraba and Maeda: Determination of coupling state within a spin-torque oscillator using injection locking, Communications Physics 9, 17 (2026), doi:10.1038/s42005-025-02469-4. https://www.nature.com/articles/s42005-025-02469-4 (accessed 2026-10-16) ### Masstree URL: https://hesela.dev/terms/masstree/ Status: research Record updated: 2026-11-15 Masstree is a concurrent in-memory ordered index that combines trie-like layers of B+ trees to handle variable-length keys. Note: Structure: Each layer compares an eight-byte key slice; border entries can lead to another tree for a shared prefix. The design avoids repeatedly comparing that prefix. Its shape depends on the key distribution. [masstree-2012] Concurrency: Readers validate node versions; writers lock affected nodes. The design is not wholly lock-free. A removed slot's reuse must change the insertion version, or a reader could confuse a replacement key's value with the deleted key's value. [masstree-2012] Scan boundary: The original getrange operation returns keys in order but is not atomic relative to concurrent inserts and updates. Ordered traversal is not a snapshot guarantee. [masstree-2012] Persistence: The 2012 server replies to put after buffering its log record, before forcing it to storage. Recovery chooses a common cutoff across logs and replays from an eligible checkpoint. Logging enabled therefore does not mean every acknowledged write is durable. [masstree-2012] Transaction layer: Silo adds a serializable commit protocol around a Masstree-inspired index. Its range validation tracks overlapping leaf versions, including the leaf for a failed lookup; validating only returned records would miss changes in range membership. [silo-2013] Benchmark scope: The pinned author README distinguishes mttest, which excludes disk and networking, from mtclient against the mtd server. The server has separate log and checkpoint directories and can disable logging. Report the executable and logging mode before comparing rates. [implementation] Sources and caveats: - Source synthesis, not a native Masstree run, crash experiment or reproduced throughput result. - Historical server semantics, index algorithms and later integrations are separate scopes; an index name alone does not establish a deployment's durability or isolation contract. Related terms: - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) - [silo](https://hesela.dev/terms/silo/) Citations: - [masstree-2012] Mao, Kohler and Morris. Cache Craftiness for Fast Multicore Key-Value Storage. EuroSys 2012; sections 3, 4.1, 4.6.5 and 5. https://pdos.csail.mit.edu/papers/masstree:eurosys12.pdf (accessed 2026-11-15) - [silo-2013] Tu, Zheng, Kohler, Liskov and Madden. Speedy Transactions in Multicore In-Memory Databases. SOSP 2013; sections 1 and 4.6. DOI 10.1145/2517349.2522713. https://www.read.seas.harvard.edu/~kohler/pubs/tu13speedy.pdf (accessed 2026-11-15) - [implementation] Author Masstree README at 11198427a1170654ca646dd20d96c8f349bca2bd: Testing and Network testing. https://github.com/kohler/masstree-beta/blob/11198427a1170654ca646dd20d96c8f349bca2bd/README.md (accessed 2026-11-15) ### Materialized view URL: https://hesela.dev/terms/materialized-view/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: materialised view Status: shipping Record updated: 2026-11-01 A materialized view stores the result of a query for later reads instead of recomputing that result for each read. Note: Stored result: PostgreSQL 18 retains both the query and its materialized rows. Reads use those rows, which may lag the underlying sources; this differs from an ordinary view evaluated on access. [pg-views] Refresh: In PostgreSQL 18, REFRESH MATERIALIZED VIEW with data replaces the stored result by running its defining query. WITH NO DATA instead leaves the view unscannable. CONCURRENTLY requires an already populated view and a UNIQUE index over plain columns that covers every row, without an expression index or WHERE predicate. It cannot be combined with WITH NO DATA. These are PostgreSQL rules, not promises for every engine. [pg-refresh] Recovery: A stored result is not automatically an independent recovery copy. If it must be rebuilt, identify the surviving source state and verify the reconstructed output against the required endpoint. If that rebuild blocks accepted service, include it in recovery timing. These are Hesela engineering inferences from source-dependent recovery planning. [recovery-derived] Limitations: - PostgreSQL 18 pg_dump -t selects a materialized-view definition, not its cached rows, and does not automatically include its dependencies. In ordinary PostgreSQL 18.0 logical dumps, when included, the data item for a populated materialized view is a REFRESH command. This does not describe physical backups or binary-upgrade mode. (sources: [pg-dump], [pg-dump-matview-source]) - Preserving base tables and a query is not always enough to reproduce an older result. The documented sales-summary query uses CURRENT_DATE, which depends on transaction start. A later refresh can therefore change the selection even with unchanged base rows. (sources: [pg-views], [pg-current-date]) Sources and caveats: - Refresh and population details describe PostgreSQL 18, not a universal SQL interface. Recovery recommendations are engineering inferences; no database recovery experiment or performance measurement was performed. [pg-views] [pg-refresh] [recovery-derived] - Historical-result preservation and evaluation-time dependencies are engineering inferences from the documented query and pinned logical-dump implementation, not a restore experiment. [pg-views] [pg-current-date] [pg-dump-matview-source] Related terms: - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [recovery-time-objective](https://hesela.dev/terms/recovery-time-objective/) Citations: - [pg-views] PostgreSQL 18: Materialized Views, section 39.3. https://www.postgresql.org/docs/18/rules-materializedviews.html (accessed 2026-11-01) - [pg-refresh] PostgreSQL 18: REFRESH MATERIALIZED VIEW, population and concurrent-refresh requirements. https://www.postgresql.org/docs/18/sql-refreshmaterializedview.html (accessed 2026-11-01) - [recovery-derived] AWS Well-Architected REL13-BP01: source-dependent reconstruction, implementation guidance question 4. https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/rel_planning_for_recovery_objective_defined_recovery.html (accessed 2026-11-01) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-11-01) - [pg-dump] PostgreSQL 18: pg_dump, -t selection and dependency limits. https://www.postgresql.org/docs/18/app-pgdump.html (accessed 2026-11-01) - [pg-dump-matview-source] PostgreSQL 18.0 pg_dump.c: refreshMatViewData and dumpTableSchema. https://github.com/postgres/postgres/blob/REL_18_0/src/bin/pg_dump/pg_dump.c (accessed 2026-11-01) - [pg-current-date] PostgreSQL 18: Date/Time Functions, section 9.9.5, transaction-relative current time. https://www.postgresql.org/docs/18/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT (accessed 2026-11-01) ### MatrixKV URL: https://hesela.dev/terms/matrixkv/ Related analysis: https://hesela.com/analyses/rocksdb-wal-flush-manifest-boundaries/ Status: research Record updated: 2026-11-16 MatrixKV is a research LSM key-value store that places level zero in persistent memory and compacts selected key ranges into SSD storage. Note: Layout: Flushed memtables become rows; a column spans a key range across rows. Cross-row hints narrow searches in older rows. [paper] Recovery: RowTable state extends MANIFEST versioning; obsolete columns are retained until the replacement version is complete. [paper] Artifact: The author implementation is based on RocksDB 5.18.3 and requires PMDK. Its supplied script uses one foreground thread, disables compression and invokes database deletion and system cache dropping. Inspect it before execution. [readme] [script] Sources and caveats: - Primary-source review, not a MatrixKV execution or crash-consistency proof. See the linked analysis for the Table 2 latency baseline distinction. [paper] Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [novelsm](https://hesela.dev/terms/novelsm/) - [rocksdb-write-stall](https://hesela.dev/terms/rocksdb-write-stall/) Citations: - [paper] Yao et al. MatrixKV. USENIX ATC 2020, pp. 17-31, sections 3-5; Table 2 distinguishes the baselines. https://ranger.uta.edu/~jiang/publication/Conferences/2020/atc20-yao.pdf (accessed 2026-11-16) - [readme] MatrixKV be2d2627: author README and RocksDB version. https://github.com/PDS-Lab/MatrixKV/blob/be2d2627ae677d43805577c3ef5c9ba175c84080/README.md (accessed 2026-11-16) - [script] MatrixKV be2d2627: benchmark arguments, value budget and host-changing cleanup. https://github.com/PDS-Lab/MatrixKV/blob/be2d2627ae677d43805577c3ef5c9ba175c84080/test_sh/matrixkv_test_4value.sh (accessed 2026-11-16) ### Matthews correlation coefficient URL: https://hesela.dev/terms/matthews-correlation-coefficient/ Also known as: MCC, phi coefficient Status: shipping Record updated: 2026-11-04 For binary classification, the Matthews correlation coefficient is the Pearson correlation between predicted class labels and observed outcomes, calculated from all four confusion-matrix counts. Note: MCC = (TP*TN - FP*FN) / sqrt((TP+FP)*(TP+FN)*(TN+FP)*(TN+FN)), where TP, FP, FN and TN count true positives, false positives, false negatives and true negatives in the same evaluation population. When defined, it ranges from -1 for complete disagreement to +1 for complete agreement; zero means zero binary correlation, not proof of a particular guessing mechanism. [sklearn-mcc] If either labels or predictions are constant, the denominator is zero and the correlation is undefined. scikit-learn 1.7.2 returns 0.0 in this case; Hesela's accompanying calculation returns null to keep that distinction visible. [sklearn-mcc-1-7-2] Limitations: - MCC is not a failure probability or the fraction of correct alerts; report the positive event, horizon, threshold, counts and population alongside it. (sources: [sklearn-mcc]) Related terms: - [f1-score](https://hesela.dev/terms/f1-score/) - [precision](https://hesela.dev/terms/precision/) - [recall](https://hesela.dev/terms/recall/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [probability-calibration](https://hesela.dev/terms/probability-calibration/) - [grouped-cross-validation](https://hesela.dev/terms/grouped-cross-validation/) - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [average-precision](https://hesela.dev/terms/average-precision/) - [spearman-rank-correlation](https://hesela.dev/terms/spearman-rank-correlation/) Citations: - [sklearn-mcc] scikit-learn: Matthews correlation coefficient and binary confusion-matrix formula. https://scikit-learn.org/stable/modules/model_evaluation.html#matthews-correlation-coefficient (accessed 2026-10-17) - [sklearn-mcc-1-7-2] scikit-learn 1.7.2: matthews_corrcoef, zero-denominator convention. https://raw.githubusercontent.com/scikit-learn/scikit-learn/1.7.2/sklearn/metrics/_classification.py (accessed 2026-10-17) - [hesela-calibration] Hesela: synthetic ranking, decision and calibration example; not measured drive results. https://hesela.com/analyses/ml-disk-failure-prediction/#probability-calibration (accessed 2026-10-17) ### Max filesystem URL: https://hesela.dev/terms/max-filesystem/ Related analysis: https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ Also known as: Max, Multicore-Accelerated File System Status: research Record updated: 2026-12-01 Max is a research log-structured filesystem based on F2FS that partitions indexing and log allocation to reduce multicore contention. Note: Max combines a reader pass-through semaphore, file cells and independent minor logs (mlogs). Each flush selects an mlog; versions of one inode can therefore occupy different logs. [max21] Recovery starts from a checkpoint and merges per-log inode lists using embedded global versions. Scan order alone cannot identify the newest inode. The design retains ordinary garbage collection for inode logs even in slack-space-recycling mode to preserve the recovery chain. [max21] This 2021 prototype is distinct from F2FSJ's later epoch-based metadata-change journaling and from Linux F2FS active_logs configuration. [f2fsj25] [linux612] Limitations: - The published prototype and historical benchmarks do not establish current-kernel behavior or universal performance gains. (sources: [max21]) - Hesela's example selects among already eligible records; it does not validate durable writes, log traversal or full namespace recovery. (sources: [hesela]) Sources and caveats: - Primary-paper mechanism review. No Max kernel was built, mounted, benchmarked or crash-tested. No DOI asserted without a verified publisher identifier. Related terms: - [f2fs](https://hesela.dev/terms/f2fs/) - [f2fs-roll-forward-recovery](https://hesela.dev/terms/f2fs-roll-forward-recovery/) - [f2fs-slack-space-recycling](https://hesela.dev/terms/f2fs-slack-space-recycling/) Citations: - [max21] Liao, Lu, Xu and Shu. Max: A Multicore-Accelerated File System for Flash Storage. USENIX ATC 2021, pp. 877-891, sections 3-4. https://www.usenix.org/system/files/atc21-liao.pdf (accessed 2026-12-01) - [f2fsj25] Cui et al. Decentralized, Epoch-based F2FS Journaling with Fine-grained Crash Recovery. OSDI 2025. https://www.usenix.org/system/files/osdi25-cui.pdf (accessed 2026-12-01) - [linux612] Linux 6.12 F2FS documentation: active_logs and recovery options. https://docs.kernel.org/6.12/filesystems/f2fs.html (accessed 2026-12-01) - [hesela] Hesela: Max log partitions and recovery ordering. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/#max-recovery (accessed 2026-12-01) ### Maximally recoverable code URL: https://hesela.dev/terms/maximally-recoverable-code/ Also known as: MR code, maximal recoverability Status: research Record updated: 2026-10-28 A maximally recoverable code corrects every erasure pattern that is recoverable by some coefficient assignment within its prescribed parity topology. Note: The guarantee is relative to the topology. Local equations cannot protect symbols outside their support. A code may be maximally recoverable without offering the any-k survivor guarantee of an MDS code. Choosing a suitable finite field and coefficients is a separate requirement from describing the groups. For data-local codes with one local parity per group and h global parities, Gopalan and colleagues characterize recovery by removing one coordinate per local group and requiring the remaining code to be MDS. Their Lemma 4 rules out an erasure set E touching t local groups when |E| exceeds t+h. This is an erasure statement with known missing locations, not an unknown-error correction guarantee. [mr-locality] Distance optimality concerns the worst erasure pattern, not every topology-allowed pattern. For a linear code with information locality r, d <= n-k-ceil(k/r)+2. Attaining this bound alone does not establish maximal recoverability. [locality-distance] Two explicit GF(7) examples have n=8, k=4, information locality 2 and distance 4, but recover 57 and 60 of the 70 four-erasure sets. Only the second covers every topology-allowed set. These are fixed teaching codes, not device-failure probabilities. [hesela-coefficients] Sources and caveats: - The companion enumerates two fixed topologies under the MR assumption; it does not implement or certify their coefficient construction. [hesela-patterns] - The GF(7) comparison enumerates all 256 erasure sets and all 2400 nonzero messages for each fixed code; it is not a reproduction of a paper's binary-field construction. [hesela-coefficients] Related terms: - [locally-repairable-code](https://hesela.dev/terms/locally-repairable-code/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [intra-disk-redundancy](https://hesela.dev/terms/intra-disk-redundancy/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) Citations: - [mr-locality] Gopalan et al. Explicit Maximally Recoverable Codes with Locality. IEEE TIT (2014), section II: Definition 3 and Lemma 4. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/MRandLocalityFinal.pdf (accessed 2026-10-28) - [hesela-patterns] Local repair is not whole-node repair: which four losses can be recovered? https://hesela.com/analyses/lrc-repair-costs-locality/#erasure-patterns (accessed 2026-10-19) - [locality-distance] Gopalan et al. On the Locality of Codeword Symbols. Author manuscript (2011), Theorem 5. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/r-d-codes.pdf (accessed 2026-10-28) - [hesela-coefficients] Hesela: LRC coefficient audit, explicit GF(7) matrices and exhaustive checks. https://hesela.dev/research/lrc-coefficient-audit.json (accessed 2026-10-28) ### Maximum distance separable code URL: https://hesela.dev/terms/maximum-distance-separable-code/ Related analysis: https://hesela.com/analyses/reed-solomon-matrix-recovery-guarantees/ Also known as: MDS code Status: shipping Record updated: 2026-10-19 A maximum distance separable code achieves minimum distance n - k + 1 for length n and dimension k, allowing recovery from any n - k known symbol erasures. Note: Recovery requires distinct, intact symbols from one codeword, with known positions. MDS describes neither physical placement nor verification of surviving data. Unknown errors consume twice the redundancy budget of known erasures under bounded-distance decoding. [rfc5510] [forney] Full generator rank is insufficient: it proves recoverability using all coordinates, not every k-coordinate subset. In a six-row, three-data-symbol example over GF(16), a reversible row addition keeps full rank and an identity block but leaves two singular three-row survivor sets. [hesela-correction] A shared invertible column transform preserves every selected row submatrix's rank. This is the reason the corrected systematic Vandermonde construction retains its any-subset property. [plank-report] Limitations: - The any-subset guarantee is conditional on the actual code construction, not merely its redundancy count. Related terms: - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [systematic-code](https://hesela.dev/terms/systematic-code/) - [locally-repairable-code](https://hesela.dev/terms/locally-repairable-code/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [symbol-erasure](https://hesela.dev/terms/symbol-erasure/) - [error-and-erasure-decoding](https://hesela.dev/terms/error-and-erasure-decoding/) - [weaver-codes](https://hesela.dev/terms/weaver-codes/) - [liberation-codes](https://hesela.dev/terms/liberation-codes/) Citations: - [rfc5510] RFC 5510 (2009), sections 3.1 and 8.1-8.4: finite fields, systematic encoding and the erasure-channel contract. https://www.rfc-editor.org/rfc/rfc5510.html (accessed 2026-10-13) - [fast2009] Plank et al., FAST 2009: open-source erasure-coding library evaluation, sections 2 and 4-7. https://static.usenix.org/events/fast09/tech/full_papers/plank/plank_html/ (accessed 2026-10-13) - [forney] Forney, MIT 6.451 (2005), section 6.5.3: bounded-distance errors-and-erasures correction. https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf (accessed 2026-10-15) - [hesela-errors] Hesela: exact GF(7) errors-and-erasures examples and false-identification negative control. https://hesela.com/analyses/reed-solomon-matrix-recovery-guarantees/#errors-erasures (accessed 2026-10-15) - [plank-report] Plank and Ding. UT-CS-03-504 (24 April 2003), section 3, Table 1 and worked GF(16) example, pages 2-4. Full six-page report reviewed. https://library.eecs.utk.edu/files/ut-cs-03-504.pdf (accessed 2026-10-19) - [hesela-correction] Hesela: GF(16) reconstruction and row-mixing negative control, with executable tests. https://hesela.com/analyses/reed-solomon-matrix-recovery-guarantees/#row-column-boundary (accessed 2026-10-19) ### Maximum repair load URL: https://hesela.dev/terms/maximum-repair-load/ Also known as: max repair load Status: research Record updated: 2026-10-21 Maximum repair load is the largest per-node send or receive volume during a repair operation. Note: For each participating node, count incoming and outgoing payload separately and take the largest value across both directions and all nodes; do not add a node's send and receive volumes. The unit is bytes per repair, not bytes per second. [pararc] This distinguishes a bottleneck's traffic from aggregate repair traffic. A lower total does not guarantee a smaller maximum node load or a shorter repair. Input reuse also matters: one sub-block sent to a destination can serve multiple calculations there. [pararc] Hesela enumerates all 65,536 placements of eight computation vertices in one four-node repair graph. Source locations and the replacement collector are fixed. The downloadable calculation checks transfer conservation and deduplicates by source sub-block and destination. It measures neither decoding correctness nor elapsed time. [hesela-load] Related terms: - [minimum-storage-regenerating-code](https://hesela.dev/terms/minimum-storage-regenerating-code/) - [subpacketization](https://hesela.dev/terms/subpacketization/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [locally-repairable-code](https://hesela.dev/terms/locally-repairable-code/) Citations: - [pararc] Li et al. ParaRC. FAST 2023, pp. 17-32; sections 2-3, figures 2-5. https://www.usenix.org/system/files/fast23-li.pdf (accessed 2026-10-21) - [hesela-load] Hesela: repair-load graph accounting and downloadable evidence. https://hesela.com/analyses/lrc-repair-costs-locality/#repair-load (accessed 2026-10-21) ### Maximum tolerable downtime URL: https://hesela.dev/terms/maximum-tolerable-downtime/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: MTD Status: shipping Record updated: 2026-10-19 Maximum tolerable downtime is the longest disruption of a specified business or mission process that its owner is prepared to accept. Note: Scope: MTD applies to the supported process, while RTO can apply to a system resource. Resource recovery normally needs a shorter target so subsequent data reprocessing fits within the process deadline. RPO concerns recoverable data, not a portion of this downtime budget. [nist-recovery] Planning: Define which process must resume and what counts as acceptable operation. Recovery priorities depend on the process impact and required resources, not solely on how fast backup bytes can be copied. [nist-recovery] Limitations: - A single component's recovery result cannot establish that dependent workloads meet their objectives. (sources: [recovery-planning]) Sources and caveats: - Uses the process/resource distinction in NIST SP 800-34 Rev. 1, section 3.2.1, printed page 17. It is a planning threshold, not a measured system property. [nist-recovery] Related terms: - [business-impact-analysis](https://hesela.dev/terms/business-impact-analysis/) - [recovery-time-objective](https://hesela.dev/terms/recovery-time-objective/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [restore-test](https://hesela.dev/terms/restore-test/) Citations: - [nist-recovery] NIST SP 800-34 Rev. 1 (2010), sections 3.2 and 3.5: impact, recovery objectives and testing. https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-34r1.pdf (accessed 2026-10-19) - [recovery-planning] AWS Well-Architected Framework (2024-06-27), REL13-BP01: recovery objectives and dependencies. https://docs.aws.amazon.com/wellarchitected/2024-06-27/framework/rel_planning_for_recovery_objective_defined_recovery.html (accessed 2026-10-19) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-19) ### mClock URL: https://hesela.dev/terms/mclock/ Also known as: mClock I/O scheduler Status: shipping Record updated: 2026-12-01 mClock is an I/O scheduling algorithm that combines minimum reservations, proportional weights and maximum limits. Note: Requests receive separate reservation, limit and share tags; dispatch alternates between satisfying constraints and proportional service. Admission control must establish that reservations fit available capacity. [mclock-paper] If throughput falls below the aggregate reservation, the original paper allocates service in proportion to reservations; a zero-reservation VM can starve despite its positive weight. Admission-time feasibility is therefore not an unconditional guarantee under later capacity loss. [mclock-paper] Weight-based allocation includes service already received under reservation; a reservation is not a bonus added to a separate weighted entitlement. [ceph-osd] Ceph Reef's profiles configure service classes for client I/O, background recovery and background best-effort work. Their capacity-dependent settings are not per-application latency promises. [ceph-profile] The paper's distributed extension, dmClock, carries service-accounting information with requests. Independent local queues should not be mistaken for that cluster-wide accounting. [mclock-paper] Ceph documents separate queues per OSD shard and loss of scheduler control after transfer to the operation sequencer. [ceph-osd] The original prototype batches nearby requests to improve locality, which can delay reservation service over short intervals. Its throughput reservation is not a deadline for every individual completion. [mclock-paper] The paper's Little's-law sizing example concerns average latency, not p99 or individual completion deadlines; the linked fluid arithmetic does not simulate request completion times. [mclock-paper] Advantages: - Reservation, weight and limit provide separate controls for minimum service, relative sharing and a service ceiling. (sources: [ceph-osd]) Limitations: - An OSD shard's queue does not coordinate its scheduling state with other shards, and dequeued operations are outside that queue's control. (sources: [ceph-osd]) - The original overload policy can starve a zero-reservation VM even when its weight is positive. (sources: [mclock-paper]) Sources and caveats: - Algorithm publication and version-scoped Ceph documentation; not a benchmark of a contemporary SSD. - The linked two-client fluid example is Hesela arithmetic, not a request-level mClock or dmClock implementation. Related terms: - [parda](https://hesela.dev/terms/parda/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [slowdown-fairness](https://hesela.dev/terms/slowdown-fairness/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [argon](https://hesela.dev/terms/argon/) Citations: - [mclock-paper] Gulati, Merchant and Varman. mClock: Handling Throughput Variability for Hypervisor IO Scheduling. OSDI 2010, sections 2.1, 3 and 3.2. https://www.usenix.org/events/osdi10/tech/full_papers/Gulati.pdf (accessed 2026-11-03) - [ceph-osd] Ceph Reef: OSD Config Reference, Subtleties of mClock and Caveats. https://docs.ceph.com/en/reef/rados/configuration/osd-config-ref/#qos-based-on-mclock (accessed 2026-11-03) - [ceph-profile] Ceph Reef: mClock Config Reference, client types and profiles. https://docs.ceph.com/en/reef/rados/configuration/mclock-config-ref/ (accessed 2026-11-03) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-10-31) ### MCTP endpoint ID URL: https://hesela.dev/terms/mctp-endpoint-id/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: MCTP EID Status: shipping Record updated: 2026-10-23 An MCTP endpoint ID (EID) is an 8-bit logical address for an endpoint within an MCTP network. Note: Different networks can use the same EID. Linux therefore represents a destination using both a network identifier and an endpoint address. In a socket bind, MCTP_ADDR_ANY, 0xff, accepts messages for any local address, and MCTP_NET_ANY, 0, matches any network. [linux-mctp] Within the 8-bit space, EID 0 is the null EID for physical addressing on one bus, EIDs 1 through 7 are reserved, and 0xFF is a broadcast EID for a single bus; the other values are assignable. Messages using a null EID cannot be bridged between buses. [mctp-base] An EID can be reassigned to another endpoint, so it is not a durable device identity. For a device connected to multiple buses, Get Endpoint UUID correlates its endpoints. Keep that identity evidence separate from the address used for a particular collection. [mctp-base] Advantages: - A device without an assigned EID can still be reached on its own bus through physical addressing with the null EID. (sources: [mctp-base]) Limitations: - Network-wide broadcast is not supported, so discovery across bridges cannot rely on the broadcast EID. (sources: [mctp-base]) Sources and caveats: - Address reassignment and multi-endpoint correlation follow DSP0236 v1.3.3 sections 8.18.9 and 8.19. An endpoint UUID is not an NVMe namespace identifier. - mctp-base was re-read 2026-10-23 at Table 2, special endpoint IDs. linux-mctp was re-read for the bind wildcards MCTP_NET_ANY and MCTP_ADDR_ANY. - The nvme-backplane entry links here because out-of-band management messages carried over its sideband signals to a drive are addressed by endpoint ID. Related terms: - [mctp](https://hesela.dev/terms/mctp/) - [mctp-message-tag](https://hesela.dev/terms/mctp-message-tag/) - [nvme-mi](https://hesela.dev/terms/nvme-mi/) - [out-of-band-management](https://hesela.dev/terms/out-of-band-management/) Citations: - [mctp-base] DMTF DSP0236 v1.3.3: Table 2 and sections 7, 8.13, 8.18.9 and 8.19. https://www.dmtf.org/sites/default/files/standards/documents/DSP0236_1.3.3.pdf (accessed 2026-10-23) - [linux-mctp] Linux kernel documentation: MCTP interfaces, networks and socket addresses. https://docs.kernel.org/networking/mctp.html (accessed 2026-10-23) ### MCTP message tag URL: https://hesela.dev/terms/mctp-message-tag/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Status: shipping Record updated: 2026-10-21 An MCTP message tag is a three-bit transport field that identifies a message together with source endpoint and tag-owner context. Note: In a request/response exchange, the responder should return the request's tag with Tag Owner cleared. Packet sequence numbers are separate two-bit fields used within message assembly, not telemetry sample numbers. [mctp-base] Linux supports explicit tag allocation and release for a peer. Zero is a valid tag value; the returned socket value also contains owner and preallocation flags. If a tag cannot be allocated for a send, the API reports EAGAIN. This is a collection-path error, not a decoded NVMe health warning. [linux-mctp-pinned] Collector design inference: keep an independent sample identifier, timestamp and device identity. Repeated tag values alone do not prove duplicate health samples or establish their chronological order. Sources and caveats: - Source review of DSP0236 v1.3.3 and the Linux v6.12 documentation, not a hardware test. Collector identity advice is an inference from the scoped and reusable transport tag. Related terms: - [mctp](https://hesela.dev/terms/mctp/) - [mctp-endpoint-id](https://hesela.dev/terms/mctp-endpoint-id/) - [nvme-mi](https://hesela.dev/terms/nvme-mi/) - [out-of-band-management](https://hesela.dev/terms/out-of-band-management/) Citations: - [mctp-base] DMTF DSP0236 v1.3.3, section 8.2 Table 1: message tag, Tag Owner and packet sequence. https://www.dmtf.org/sites/default/files/standards/documents/DSP0236_1.3.3.pdf (accessed 2026-10-21) - [linux-mctp-pinned] Linux v6.12 MCTP socket documentation: send and tag allocation/release. https://github.com/torvalds/linux/blob/v6.12/Documentation/networking/mctp.rst (accessed 2026-10-21) ### Management Component Transport Protocol URL: https://hesela.dev/terms/mctp/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: MCTP Status: shipping Record updated: 2026-10-21 Management Component Transport Protocol (MCTP) carries messages between platform-management components over defined physical transport bindings. Note: The base protocol handles message delivery independently of the binding used for a particular bus. NVMe-MI is one protocol carried above MCTP, not another name for it. [mctp-base] [mi22] Linux exposes MCTP through AF_MCTP datagram sockets. Routes belong to a network, while interfaces represent transport bindings; one network can span several interfaces. A working socket API alone does not establish a reachable device. [linux-mctp] Limitations: - MCTP itself does not provide authentication or confidentiality. (sources: [mctp-base]) Sources and caveats: - Protocol scope follows DMTF DSP0236 v1.3.3, dated 25 March 2024. Linux API documentation was checked on 21 October 2026. No hardware interoperability test is claimed. Related terms: - [mctp-endpoint-id](https://hesela.dev/terms/mctp-endpoint-id/) - [mctp-message-tag](https://hesela.dev/terms/mctp-message-tag/) - [nvme-mi](https://hesela.dev/terms/nvme-mi/) - [out-of-band-management](https://hesela.dev/terms/out-of-band-management/) Citations: - [mctp-base] DMTF DSP0236 v1.3.3: sections 7, 8.13, 8.18.9 and 8.19. https://www.dmtf.org/sites/default/files/standards/documents/DSP0236_1.3.3.pdf (accessed 2026-10-21) - [linux-mctp] Linux kernel documentation: MCTP interfaces, networks and socket addresses. https://docs.kernel.org/networking/mctp.html (accessed 2026-10-21) - [mi22] NVM Express Management Interface 2.2: sections 1.3, 3, 8.1 and Figure 105. https://nvmexpress.org/wp-content/uploads/NVM-Express-Management-Interface-Specification-Revision-2.2-Ratified-2026.07.31.pdf (accessed 2026-10-21) ### MD mismatch count URL: https://hesela.dev/terms/md-mismatch-count/ Related article: https://hesela.com/tech/raid/ Also known as: mismatch_cnt, Linux MD mismatch counter Status: shipping Record updated: 2026-10-25 Linux MD mismatch_cnt counts sectors rewritten, or that would be rewritten during check, when checking array redundancy. Note: The counter is in 512-byte sectors that were rewritten, or would have been rewritten during check. Because most RAID levels work in pages rather than sectors, it can exceed the actual errors by the number of sectors in a page. The mdadm 4.2 manual illustrates a failed 64 KiB comparison contributing 128 sectors, not proof that all 128 sectors differ. [md] [md4] The counter is reset to zero when a scrub starts. A mirror mismatch can involve unused or swap space rather than corrupted live file data, because a page being swapped out may change between the writes sent to each copy. A mismatch alone does not identify the correct copy. Repair writes new parity on RAID5 and RAID6 and copies one block over the others on RAID1 and RAID10, without independently establishing application correctness. [md4] sync_min and sync_max bound the checked range in sectors and must be multiples of chunk_size, while sync_completed reports the sectors already processed. A zero value alone does not establish a completed full-array scan; check is not guaranteed read-only for every RAID level. [md] Advantages: - On a RAID5 or RAID6 array that was truly clean, a non-zero count points to a hardware problem, because software issues should not cause such mismatches. (sources: [md4]) - Per-array sync_speed_min and sync_speed_max, in kibibytes per second, let a check run at a bounded rate. (sources: [md]) Limitations: - After repair the same count reflects sectors already rewritten, so the earlier inconsistent contents are not preserved for comparison. (sources: [md], [md4]) - An array created with mdadm --assume-clean can be expected to report mismatches on its first check. (sources: [md4]) Sources and caveats: - md is the Linux 6.18 admin-guide md page, re-read for the mismatch_cnt definition, sync_min, sync_max, sync_completed and the kibibytes-per-second speed limits. - md4 is the mdadm 4.2 md(4) manual, re-read for the 64 KiB and 128-sector example, the reset at scrub start, the swap explanation and repair behavior per level. - Documented Linux MD behavior; not a hardware measurement or a conversion from counter values to lost bytes. - The stripe-unit entry links here because check range limits must be multiples of chunk_size, the per-device stripe unit. Related terms: - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [raid-1](https://hesela.dev/terms/raid-1/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-6](https://hesela.dev/terms/raid-6/) - [parity-inconsistency](https://hesela.dev/terms/parity-inconsistency/) - [parity-pollution](https://hesela.dev/terms/parity-pollution/) - [raid-consistency-check](https://hesela.dev/terms/raid-consistency-check/) Citations: - [md] Linux 6.18 documentation: RAID arrays, sync_action, mismatch_cnt and sync limits. https://docs.kernel.org/6.18/admin-guide/md.html (accessed 2026-10-23) - [md4] mdadm 4.2 md(4): scrubbing and mismatches. https://manpages.debian.org/bookworm/mdadm/md.4.en.html (accessed 2026-10-23) ### Mean latent error time URL: https://hesela.dev/terms/mean-latent-error-time/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: MLET, Latent error time, LET Status: research Record updated: 2026-10-20 Mean latent error time (MLET) is the expected fraction of a drive's operating horizon during which at least one latent sector error remains undetected. Note: Oprea and Juels define LET for one error history and MLET as its mean over the error-model distribution; both are dimensionless. [oprea] Overlapping undetected intervals contribute once to exposed time, while an event-mean detection delay counts each event separately. In Hesela's ten-hour example, the same two onsets can yield LET of 40%, 50% or 60%; the respective mean delays are 3, 2.5 and 3 hours. These are invented complete histories, not a fitted MLET or a comparison at equal I/O cost. Detection ends the undetected state, not necessarily the need for repair. [hesela-exposure] The trace-based FAST 2010 comparison uses MTTED and addresses uncertainty in fault-onset timestamps. Preserve the population, horizon, detection rules and censoring when comparing either metric. [schroeder] Related terms: - [mean-time-to-detection](https://hesela.dev/terms/mean-time-to-detection/) - [staggered-scrubbing](https://hesela.dev/terms/staggered-scrubbing/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) Citations: - [oprea] Oprea and Juels. A Clean-Slate Look at Disk Scrubbing. FAST 2010, section 5. https://www.usenix.org/legacy/events/fast10/tech/full_papers/oprea.pdf (accessed 2026-10-20) - [schroeder] Schroeder, Damouras and Gill. Understanding latent sector errors and how to protect against them. FAST 2010, section 5.1. https://www.usenix.org/legacy/events/fast10/tech/full_papers/schroeder.pdf (accessed 2026-10-20) - [hesela-exposure] Hesela: LET interval union versus event-mean detection delay. https://hesela.com/analyses/scrubbing-detection-not-durability/#latent-exposure (accessed 2026-10-20) ### Mean residual life URL: https://hesela.dev/terms/mean-residual-life/ Related analysis: https://hesela.com/analyses/mttf-vs-field-replacement-rates/ Also known as: MRL, Expected remaining lifetime Status: shipping Record updated: 2026-11-26 Mean residual life is the expected additional lifetime of a unit conditional on its having survived beyond a specified age. Note: For a nonnegative lifetime T and survival S(t) = P(T > t), m(t) = E(T - t | T > t) = integral from t to infinity of S(u) du, divided by S(t). This requires S(t) > 0 and a finite tail integral for a finite mean; the units of time are not probability or inverse time. [gupta-bradley-mrl] MRL concerns survivors, so it is not generally the original mean minus age. Exponential survival with rate lambda > 0 gives m(t) = 1/lambda: a model property, not evidence that drives avoid aging. [nist-exponential-mrl] A fictional population split equally between lifetimes of 2 and 10 years has initial mean 6, but remaining mean 7 at age 3. Replacing 10 by 100 changes that remaining mean to 97. Five-year follow-up cannot distinguish them: both record failure at year 2 and a survivor censored at year 5. These are constructed populations, not measured drive lifetimes. Reciprocal hazard is not generally MRL. For an absolutely continuous lifetime with finite differentiable m, m'(t) = h(t)m(t) - 1. Uniform lifetimes on 0 to 10 years give m(3) = 3.5 years but 1/h(3) = 7 years. The smooth identity does not apply at discrete jumps. [gupta-bradley-mrl] Follow-up ending with positive survival leaves an unobserved tail. Complete MRL needs tail information or assumptions; a limited future horizon answers a different question. A conditional population mean is not a predicted failure date for one disk. Define whether the event is device failure or operational replacement. [alvarez-censored-mrl] Related terms: - [weibull-distribution](https://hesela.dev/terms/weibull-distribution/) - [survival-function](https://hesela.dev/terms/survival-function/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [mtbf](https://hesela.dev/terms/mtbf/) - [gittins-index](https://hesela.dev/terms/gittins-index/) Citations: - [gupta-bradley-mrl] Gupta and Bradley: On Representing the Mean Residual Life in Terms of the Failure Rate, section 2, equations 2.1 and 2.4 (2003; author manuscript). https://arxiv.org/html/math/0411297v1 (accessed 2026-11-05) - [nist-exponential-mrl] NIST e-Handbook 8.1.6.1: Exponential distribution, survival and mean. https://www.itl.nist.gov/div898/handbook/apr/section1/apr161.htm (accessed 2026-11-05) - [alvarez-censored-mrl] Alvarez-Iglesias et al.: Summarising censored survival data using the mean residual life function (2015), abstract. https://onlinelibrary.wiley.com/doi/10.1002/sim.6431 (accessed 2026-11-05) ### Mean time to data loss (MTTDL) URL: https://hesela.dev/terms/mean-time-to-data-loss/ Related analysis: https://hesela.com/analyses/s3-durability-eleven-nines-derivation/ Also known as: MTTDL Status: research Record updated: 2026-11-21 Mean time to data loss (MTTDL) is the expected time until a storage system first loses data that cannot be retrieved or reconstructed. Note: MTTDL integrates the no-loss survival probability over an unbounded horizon; it is not a finite-mission loss probability or a measure of loss size. [greenan-hotstorage10-pdf] For independent, identical exponential disk lifetimes with mean M, a nonredundant array that loses data on its first member failure has mean M/N. The historical 30,000-hour assumption gives 300 hours for 100 members and 30 hours for 1000; these are calculations, not measured array lifetimes. [raid88] For a group tolerating one member failure, let N = G + C count data and check disks, M be disk MTTF and r be mean repair time. The historical approximation is MTTDL_group approximately M^2 / [N(N-1)r], with r much smaller than M/N. Dividing by the number of independent identical groups is another approximation. C counts check disks, not the number of failures this formula can tolerate; setting C = 2 does not model RAID 6. [raid88] MTTDL is a metric, not a particular model. Greenan et al.'s canonical RAID4/RAID5 model assumes independent exponential failures and exponential repair. Its state representation omits component aging and repair progress. A modeled 1400 years does not by itself determine loss probability during a 10-year mission or the amount lost. [greenan-hotstorage10-pdf] Expected loss count is also distinct from event probability. In Hesela's finite single-parity example, conditioned on one missing member and independent surviving-symbol erasures, approximately one expected unrecoverable codeword gives about 63.2% probability of any unrecoverable codeword, not near-certainty. This is a mathematical source audit, not an MTTDL estimate or an empirical rebuild failure rate. [hesela-loss-crossover] Entity placement and codeword loss are distinct boundaries. [iliadis24-entities] Advantages: - The closed forms make the relationship between disk lifetime, repair time and MTTDL apparent for simple parity layouts. (sources: [greenan-hotstorage10-pdf]) Limitations: - Values change with system scale and omit the expected amount of lost data, so MTTDL figures of differently sized systems are hard to compare. (sources: [greenan-hotstorage10-pdf]) - For fixed codeword formation and failures, redistributing logical entities can change the affected files without changing the first codeword-loss time. (sources: [iliadis24-entities]) Sources and caveats: - Greenan, Plank and Wylie (HotStorage 2010), sections 2-4, reread in the author-hosted paper on 2026-11-09; the original USENIX PDF returned HTTP 403 to this research client. - Patterson, Gibson and Katz (SIGMOD 1988), sections 5-6 and appendix, printed pages 110-111 and 116, reread on 2026-11-09. The group formula is restricted to single-error-repairing groups; check-disk count is not failure tolerance. - 30,000 hours, 100 disks, 300 hours, 1000 disks, 30 hours and the group formula come from raid88. 1400 years and 10 years come from greenan-hotstorage10-pdf. - Added 2026-11-14: deterministic derivation and synthetic mission example checked against Iliadis CTRQ 2019 equations 15-19 and Greenan et al. HotStorage 2010 section 5; linked results include code, exact-enumeration tests and source hashes. - No hardware experiment, author-confirmed erratum or independent peer review is claimed. - Added 2026-11-21: primary 2024 paper sections III-IV inspected; exact finite-grid and whole-entity denominator controls are mathematical examples, not hardware observations, reliability-curve replication or an author-confirmed correction. Related terms: - [data-durability](https://hesela.dev/terms/data-durability/) - [normalized-magnitude-data-loss](https://hesela.dev/terms/normalized-magnitude-data-loss/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [mtbf](https://hesela.dev/terms/mtbf/) - [crush-placement](https://hesela.dev/terms/crush-placement/) Citations: - [greenan-hotstorage10-pdf] Greenan, Plank and Wylie. Mean time to meaningless: MTTDL, Markov models, and storage system reliability. USENIX HotStorage 2010. https://web.eecs.utk.edu/~jplank/plank/papers/Hot-Storage-2010.pdf (accessed 2026-11-09) - [hesela-durability] Eleven nines: what a durability model does not prove. https://hesela.com/analyses/s3-durability-eleven-nines-derivation/ (accessed 2026-10-15) - [raid88] Patterson, Gibson and Katz. A Case for Redundant Arrays of Inexpensive Disks (RAID). SIGMOD 1988. https://www.cs.cmu.edu/~garth/RAIDpaper/Patterson88.pdf (accessed 2026-11-09) - [hesela-raid] RAID rebuild risk: boundaries of the MTTDL approximation. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#mttdl-model-heading (accessed 2026-11-09) - [hesela-loss-crossover] Hesela: RAID loss probability and incident severity; source audit and reproducible finite calculation. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#loss-crossover-heading (accessed 2026-11-14) - [hesela-loss-crossover-data] Hesela: exact rational inputs, generated probabilities and synthetic mission outcomes. https://hesela.dev/research/raid-loss-crossover/results.json (accessed 2026-11-14) - [iliadis24-entities] Ilias Iliadis. Relations Between Entity Sizes and Error-Correction Coding Codewords and Effective Data Loss. IJANS 17(3-4), 2024, pp. 69-94, sections III-IV. https://personales.upv.es/thinkmind/dl/journals/netser/netser_v17_n34_2024/netser_v17_n34_2024_4.pdf (accessed 2026-11-21) - [hesela-shard-alignment] Hesela: exact shard-boundary and entity-loss denominator controls. https://hesela.dev/research/shard-alignment/results.json (accessed 2026-11-21) ### Mean time to detection URL: https://hesela.dev/terms/mean-time-to-detection/ Related analysis: https://hesela.com/analyses/sector-error-prediction-scrubbing/ Also known as: MTTD Status: shipping Record updated: 2026-11-28 Mean time to detection is the arithmetic mean of elapsed times between event occurrence and detection for a specified event population. Note: MTTD averages event-to-detection delays, unlike LET's fraction of time exposed to latent errors. It excludes later repair. A baseline/adaptive MTTD ratio G means fractional time reduction 1 - 1/G, not G - 1. [hesela-exposure] [hesela-budget] Define the event, time origin and undetected-event handling. Discovery alone does not date onset. Completed-only averaging omits undetected events; report censoring or the onset model. The ATC 2017 simulation evaluates mean detection delay. A verified inspection interval bounds onset only under matching content and detection assumptions; its midpoint is not an observed onset. [mahdisoltani2017] [hesela-interval] Half the mean inspection gap is not generally MTTD. Uniform onset weights long complete gaps by duration. Health-dependent scheduling or onset needs a different model. Two completed 14-day gaps and an unfinished 28-day gap give a 10.5-day lower bound under uniform onset across 56 days; completed-only 7 days covers another window. No finite upper bound follows without restricting the next check. These are synthetic model bounds, not confidence intervals. [hesela-intervals] [hesela-censored] A shorter mean can still have higher conditional loss in an equal-check-budget model when detection distributions cross. The calculation assumes independent exponential survivor failure and immediate repair; its ranking changes with hazard. Compare time until successful restoration, not MTTD alone, and retain failure-domain context. [hesela-risk] An inspection log does not identify the onset distribution. A fixed nonuniform synthetic onset profile reverses the regular/alternating schedule comparison; this sensitivity result is not a measured fault pattern or a recommended scrub policy. [hesela-onset] Sources and caveats: - The risk examples are hypothetical calculations, not observed disk failure rates or a replication of the ATC 2017 scrubber. The standalone package contains code, tests, results and source provenance. [hesela-risk-package] Related terms: - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [adaptive-scrubbing](https://hesela.dev/terms/adaptive-scrubbing/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [interval-censoring](https://hesela.dev/terms/interval-censoring/) - [inspection-paradox](https://hesela.dev/terms/inspection-paradox/) - [mean-latent-error-time](https://hesela.dev/terms/mean-latent-error-time/) Citations: - [mahdisoltani2017] Mahdisoltani, Stefanovici and Schroeder. Proactive error prediction to improve storage system reliability. USENIX ATC 2017, sections 4.1-4.3. https://www.usenix.org/system/files/conference/atc17/atc17-mahdisoltani.pdf (accessed 2026-11-25) - [hesela-budget] Hesela: sector-error prediction and adaptive scrub-budget arithmetic. https://hesela.com/analyses/sector-error-prediction-scrubbing/ (accessed 2026-10-15) - [hesela-interval] Hesela: Scrubbing inspection intervals and evidence bounds. https://hesela.com/analyses/scrubbing-detection-not-durability/#inspection-intervals (accessed 2026-10-16) - [hesela-intervals] Hesela: exact inspection-interval worksheet and storage assumptions. https://hesela.com/analyses/scrubbing-detection-not-durability/#interval-variability (accessed 2026-10-17) - [hesela-censored] Hesela: unfinished inspection windows, exact bounds and independent timeline tests. https://hesela.com/analyses/scrubbing-detection-not-durability/#unfinished-window (accessed 2026-10-20) - [hesela-exposure] Hesela: LET interval union versus event-mean detection delay. https://hesela.com/analyses/scrubbing-detection-not-durability/#latent-exposure (accessed 2026-10-20) - [hesela-risk] Hesela: equal scan budgets, crossing detection distributions and conditional loss. https://hesela.com/analyses/sector-error-prediction-scrubbing/#conditional-loss (accessed 2026-11-20) - [hesela-risk-package] Hesela: scrub-risk derivation, exact results, primary-source metadata and 33 replay tests. https://hesela.dev/research/scrub-risk-transform/reproduction.zip (accessed 2026-11-20) - [hesela-onset] Hesela: fixed-profile onset sensitivity, exact weighted waiting times and independent tests. https://hesela.com/analyses/scrubbing-detection-not-durability/#onset-weighting (accessed 2026-11-25) ### Media type URL: https://hesela.dev/terms/media-type/ Also known as: MIME type, Internet media type Status: shipping Record updated: 2026-11-23 A media type identifies a data format and its intended processing model using a type, subtype and optional parameters. Note: Declaration: In HTTP, Content-Type carries a media type such as text/plain; charset=utf-8. Type and subtype names are case-insensitive; parameter values follow their own rules. A media type is distinct from a filename extension or a content encoding such as gzip. Distinct media types may share the same data format while specifying different processing models; inspecting bytes alone cannot always recover the intended interpretation. [http-media-type] Stored metadata: S3 exposes Content-Type as user-controlled system metadata. It is not a checksum or a result of validating every byte of an object. Retain the interpretation metadata alongside the selected bytes. A version selector and metadata validation answer separate questions. [s3-content-type] Identification: Magic bytes and filename extensions are separate clues to a media type. A matching signature does not establish that the remaining file satisfies the format. HTTP content sniffing can also select an unintended processing model. [media-registration] [http-media-type] Response boundaries: Content-Type is a singleton, not a comma-separated list; conflicting copies can produce different recipient interpretations. [http-media-type] Barth, Caballero and Song's 2009 study showed how upload filters and then-current browser sniffers could assign incompatible types to the same file. This is historical evidence, not a claim that current browsers retain those attacks. [sniffing-2009] Sources and caveats: - Primary-source terminology for HTTP and stored-object interpretation; no live object-store experiment or browser security evaluation. Related terms: - [file-signature](https://hesela.dev/terms/file-signature/) - [object-storage](https://hesela.dev/terms/object-storage/) - [data-serialization](https://hesela.dev/terms/data-serialization/) - [character-encoding](https://hesela.dev/terms/character-encoding/) - [content-sniffing](https://hesela.dev/terms/content-sniffing/) Citations: - [http-media-type] RFC 9110: Content-Type and media types, sections 8.3 and 8.3.1. https://www.rfc-editor.org/rfc/rfc9110.html#section-8.3 (accessed 2026-11-22) - [media-registration] RFC 6838: additional media-type identification information, section 4.12. https://www.rfc-editor.org/rfc/rfc6838.html#section-4.12 (accessed 2026-11-22) - [s3-content-type] Amazon S3: system-defined object metadata. https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html#SysMetadata (accessed 2026-11-22) - [sniffing-2009] Barth, Caballero and Song (IEEE S&P 2009): content sniffing, sections 2.3-3.4. https://bitblaze.cs.berkeley.edu/papers/mimesniff_oakland09.pdf (accessed 2026-11-22) - [hesela-context] Hesela: identify the format, then validate the file. https://hesela.com/analyses/object-etags-checksums-conditional-writes/#format-identification (accessed 2026-11-22) ### Median absolute deviation URL: https://hesela.dev/terms/median-absolute-deviation/ Also known as: MAD Status: research Record updated: 2026-11-19 Median absolute deviation is the median of the absolute distances between observations and their sample median. Note: Raw MAD = median(|x - median(x)|), in the observations' units. It describes robust central spread, not the slowest requests. [nist-mad] Normal scaling divides raw MAD by about 0.67449 to estimate a normal population's standard deviation consistently as the sample grows. Report whether this adjustment was used; it is not a universal conversion for skewed latency data. [scipy-mad] Synthetic completed latencies [1, 1, 1, 1, 100] ms have median 1 ms and raw MAD 0 ms despite one 100 ms request. A zero MAD can therefore coexist with a long observed tail. The mean of absolute distances is a different statistic. [scipy-mad] [hesela-spread] Related terms: - [coefficient-of-variation](https://hesela.dev/terms/coefficient-of-variation/) - [quantile](https://hesela.dev/terms/quantile/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [standard-deviation](https://hesela.dev/terms/standard-deviation/) Citations: - [nist-mad] NIST Dataplot: Median Absolute Deviation. https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/mad.htm (accessed 2026-11-19) - [scipy-mad] SciPy: median_abs_deviation, scale and center conventions. https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.median_abs_deviation.html (accessed 2026-11-19) - [hesela-spread] Hesela: robust and relative latency spread, fixed arithmetic and reproducible code. https://hesela.com/analyses/storage-latency-coordinated-omission/#robust-relative-spread (accessed 2026-11-19) ### Medium Auxiliary Memory URL: https://hesela.dev/terms/medium-auxiliary-memory/ Also known as: MAM Status: shipping Record updated: 2026-10-15 Medium Auxiliary Memory is nonvolatile storage associated with an individual storage medium, used to hold auxiliary attributes about the medium and its recorded data. Note: LTFS uses MAM attributes for identification and consistency checks, including index generation and location. This is separate from the on-tape XML index; inaccessible or stale MAM does not inherently prevent reading the volume. [c1] IBM exposes attributes for the formatting application and cartridge barcode, illustrating the distinction between cartridge metadata and stored file contents. [c2] Advantages: - Coherency metadata can avoid seeking to both partition ends during consistency checks. (sources: [c1]) Limitations: - If a partition's stored Volume Change Reference is stale, MAM coherency attributes alone cannot establish volume consistency; the on-tape indexes must be checked. (sources: [c1]) Related terms: - [ltfs](https://hesela.dev/terms/ltfs/) - [ltfs-index](https://hesela.dev/terms/ltfs-index/) - [lto](https://hesela.dev/terms/lto/) - [tape](https://hesela.dev/terms/tape/) Citations: - [c1] SNIA LTFS Format Specification 2.5.1, sections 4.1.21 and 10. https://www.snia.org/sites/default/files/technical-work/ltfs/release/SNIA-LTFS-Format-2-5-1-Standard.pdf (accessed 2026-10-15) - [c2] IBM Storage Archive SDE: Virtual extended attributes, volume metadata. https://www.ibm.com/docs/en/storage-archive-sde/2.4.8?topic=attributes-virtual-extended (accessed 2026-10-15) ### Membrane URL: https://hesela.dev/terms/membrane/ Also known as: Membrane filesystem recovery Status: research Record updated: 2026-12-02 Membrane is a research operating-system framework that checkpoints and replays filesystem activity to recover from selected subsystem faults while applications continue. Note: Membrane parks requests, unwinds failed filesystem calls, restores a checkpoint and replays logged operations. Its session log retains open files and offsets across checkpoint boundaries. Page stealing reuses the latest cached write data instead of copying every payload into the operation log. [membrane10] The protection boundary is software-based, not a separate address space. Recovery primarily targets transient, fail-stop faults; stray writes that damage the surrounding kernel can defeat it. The FAST 2010 evaluation used 47 targeted faults across ext2, VFAT and ext3 on Linux 2.6.15, with ext3 in data-journaling mode. [membrane10] Ananke later addresses a related problem in a separate filesystem process, using a clean replacement process and replay that accounts for partially persisted operations. Its experimental Membrane-style baseline is not the original 2010 kernel implementation. [ananke25] Sources and caveats: - Historical source synthesis, not current-kernel support or a reproduced reliability result. - The FAST conference edition is the source for the 47-fault evaluation; the later ACM Transactions on Storage article is a distinct edition. Related terms: - [ananke](https://hesela.dev/terms/ananke/) - [crash-recovery](https://hesela.dev/terms/crash-recovery/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [loris](https://hesela.dev/terms/loris/) Citations: - [membrane10] Sundararaman et al. Membrane: Operating System Support for Restartable File Systems. FAST 2010, sections 3-5. https://www.usenix.org/legacy/event/fast10/tech/full_papers/sundararaman.pdf (accessed 2026-11-30) - [ananke25] Liu, Dai, A. C. Arpaci-Dusseau and R. H. Arpaci-Dusseau. Fast, Transparent Filesystem Microkernel Recovery with Ananke. FAST 2025, pp. 1-18. https://www.usenix.org/system/files/fast25-liu-jing.pdf (accessed 2026-11-30) ### Memento Filter URL: https://hesela.dev/terms/memento-range-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: Memento range filter Status: research Record updated: 2026-11-14 Memento Filter is a dynamic approximate range-emptiness structure that combines hashed key prefixes with ordered key suffixes. Note: The suffixes, called mementos, locate keys inside fixed-width partitions. Insertions, deletions and expansion distinguish the design from static SuRF. Choosing r = ceil(log2(R)) suffix bits bounds an inclusive range of at most R integer positions (R >= 2) to two partitions. Longer queries are supported with additional probes, not the same two-partition cost. [memento-paper] The pinned C API returns 0 for a negative query and 1 or 2 for a positive query; 2 additionally indicates possible fingerprint rejuvenation. A positive result still requires an exact backing-store check. [memento-api] The later Diva evaluation uses a modified Memento baseline with Aleph-style expansion; its measurements must not be attributed to the unmodified original artifact. [diva-comparison] Limitations: - The author header warns that its concurrency features have not been thoroughly tested; API declarations are not an independent concurrency validation. (sources: [memento-api]) Sources and caveats: - Primary-paper and pinned-source review only; no Memento execution, benchmark reproduction or concurrency experiment. Distinct from the PLDI 2023 Memento persistent-memory framework. Related terms: - [proteus-range-filter](https://hesela.dev/terms/proteus-range-filter/) - [grafite-range-filter](https://hesela.dev/terms/grafite-range-filter/) Citations: - [memento-paper] Eslami and Dayan. Memento Filter. PACMMOD 2(6), article 244 (2024). DOI: 10.1145/3698820; sections 4-7, arXiv v3. https://arxiv.org/html/2408.05625v3 (accessed 2026-11-14) - [memento-api] Memento Filter public API: query results, resizing and concurrency disclaimer; commit ded520cebdabfb3f3d640d838c0aee44636453e2. https://github.com/n3slami/Memento_Filter/blob/ded520cebdabfb3f3d640d838c0aee44636453e2/include/memento.h (accessed 2026-11-14) - [diva-comparison] Eslami, Bercea and Dayan. Diva: Dynamic Range Filter for Var-Length Keys and Queries. PVLDB 18(11), 2025; sections 2, 5.2. DOI: 10.14778/3749646.3749664. https://www.vldb.org/pvldb/vol18/p3923-eslami.pdf (accessed 2026-11-14) - [hesela-memento] Hesela: Memento range length and query-result contracts. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#memento-contract (accessed 2026-11-14) ### Linux memfd_create URL: https://hesela.dev/terms/memfd-create/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: memfd, memfd_create() Status: shipping Record updated: 2026-10-23 Linux memfd_create() creates an anonymous volatile file and returns a descriptor for file operations and memory mapping. Note: The name passed to memfd_create() is a debugging label, shown with a memfd: prefix as the link target under /proc/self/fd and limited to 249 bytes, and several files may share one name. The new file starts with size 0 and is sized with ftruncate or filled by writes. It is released automatically once all references are dropped, so a mapping can keep it alive after the original descriptor closes. [memfd-api] Without MFD_ALLOW_SEALING the initial seal set is F_SEAL_SEAL, so no other seals can be added, while with it the set starts empty. Seals let a receiving process rely on a peer being unable to modify or shrink a shared region, which would otherwise expose it to time-of-check-to-time-of-use races or SIGBUS. [memfd-api] MFD_NOEXEC_SEAL creates a non-executable object, and the vm.memfd_noexec sysctl, with values 0, 1 and 2, sets the default or rejects creation without that flag. [memfd-noexec] Backing pages are anonymous memory, and tmpfs pages can still be swapped out. [memfd-api] [tmpfs-doc] Advantages: - A descriptor can identify a shared buffer without a named temporary-file lifecycle. (sources: [memfd-api]) - It can replace a temporary file or O_TMPFILE when the file is never meant to be linked into a filesystem. (sources: [memfd-api]) Limitations: - Creation may be restricted by kernel configuration, system policy or sandbox rules. (sources: [memfd-noexec]) - Combining MFD_HUGETLB with MFD_ALLOW_SEALING requires Linux 4.16 or later. (sources: [memfd-api]) - A receiving process has to read the seal mask with F_GET_SEALS before trusting the region. (sources: [memfd-api]) Sources and caveats: - memfd-api is the Linux man-pages 6.19 memfd_create(2) page, re-read for the name limit, initial size, release rule, seal defaults and the sealing procedure. - memfd-noexec is the kernel documentation on non-executable memfd objects, re-read for MFD_NOEXEC_SEAL and the three sysctl values. - tmpfs-doc is the kernel tmpfs documentation, re-read for the use of swap. - The file-truncation entry links here because a sealed memfd object can forbid shrinking the file. Related terms: - [file-sealing](https://hesela.dev/terms/file-sealing/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [tmpfs](https://hesela.dev/terms/tmpfs/) Citations: - [memfd-api] Linux man-pages 6.19: memfd_create(2). https://man7.org/linux/man-pages/man2/memfd_create.2.html (accessed 2026-10-23) - [seals-kernel] Linux v6.12: memfd sealing implementation. https://github.com/torvalds/linux/blob/v6.12/mm/memfd.c (accessed 2026-10-17) - [memfd-noexec] Linux kernel: non-executable memfd policy. https://docs.kernel.org/userspace-api/mfd_noexec.html (accessed 2026-10-23) - [tmpfs-doc] Linux kernel: tmpfs and swap. https://docs.kernel.org/filesystems/tmpfs.html (accessed 2026-10-23) ### Memory-mapped file URL: https://hesela.dev/terms/memory-mapped-file/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: file-backed mmap, mmap file mapping Status: shipping Record updated: 2026-12-01 A memory-mapped file exposes a file region through a process's virtual address space so its contents can be accessed with memory loads and stores. Note: Mapping mode: MAP_SHARED permits file-backed updates; MAP_PRIVATE keeps modifications private through copy-on-write but does not promise a snapshot of later external changes. Closing the original descriptor leaves the mapping valid. [mmap-api] File extent: mapping length does not grow the file. Whole pages beyond the object can raise SIGBUS; stores in the last partial page's unused tail do not extend it. [posix-mmap] [mmap-api] Persistence: background writeback can precede msync; synchronization is distinct from an atomic transaction. [posix-msync] Sealed objects: memfd seals can restrict writes or resizing, but FUTURE_WRITE permits earlier shared writable mappings to keep writing. [seals-api] Partial-page tail: Linux warns that out-of-file bytes can remain visible after close and unmap; msync does not clear this tail on tmpfs. A Linux 6.8 probe with ext4 and tmpfs controls reproduced this without changing file contents or length. This is not evidence of persistence after reboot or portable tail clearing. [mmap-api] [hesela-mmap] Change detection: a controlled shared-mapping test changed bytes without IN_MODIFY before final close; a writable-close event also occurred without changing bytes. [hesela-inotify] Discard advice: native MADV_DONTNEED discarded private edits in controlled Linux tests, while POSIX_MADV_DONTNEED in glibc retained them. Interface and mapping mode determine the meaning of success; the tests measure bytes, not globally cold cache state or persistence. [hesela-advice] Retained access: on one Linux 6.8 host (ext4/tmpfs), an O_RDWR handle admitted a shared writable mapping after chmod 000 denied fresh opens; it wrote after descriptor close. This shows visibility, not crash durability. [lifetime-study] Advantages: - Allows a file region to be addressed without an explicit read call for each access. Limitations: - Concurrent access and file resizing require an application-level coordination protocol. - MAP_PRIVATE and prefaulting do not establish a consistent file version; the external-writer experiment is a single-host observation, not a portable visibility guarantee. Sources and caveats: - The POSIX citations refer to the 2017 edition; Linux-specific details are identified separately. - The companion experiment checks API behavior on one host, not power-loss survival. - The private-history supplement uses six controls on one Linux host. Prefaulting and read-only protection did not freeze clean mappings; pathname replacement preserved old-inode identity, not immutability. This is not a portable snapshot recipe or a database-engine bug. - CPython 3.12.3 on Unix maps ACCESS_READ to MAP_SHARED with PROT_READ; ACCESS_COPY selects private read/write mapping. This probe explicitly uses MAP_PRIVATE and PROT_READ; convenience-mode behavior was not separately measured. [cpython-mmap-constructor] - Compiler supplement: 24 repeated observations, two captures on Linux 6.8/ext4, GCC 13.3.0; not independent samples. The original writer helpers are reused. No universal compiler behavior or kernel fault tracing is claimed. [hesela-private-compiler] - Reproduction: in GCC 13.3.0 controls, plain C self-assignment lost its store at -O2 and read BB, while a volatile byte store retained AB. Emitted accesses matter; volatile supplies neither a snapshot nor synchronization. [hesela-private-compiler] [gcc-volatile] - Permission-lifetime evidence: nine scenarios, 108 recorded executions and 108 matching replay records; two compiler configurations, three repetitions per mount and one host, not independent fleet samples. No changed LSM policy, concurrent writer or power-loss experiment. [lifetime-evidence] - Version consistency: after an ordered writer exited, a Linux probe read AB from a private mapping although file history was AA -> BA -> BB. A same-value store retained page 0; page 1 followed the file. [hesela-private-history] - Shared writable mapping admission checks file->f_mode and additional restrictions. The mapping security hook still applies; the experiment did not change LSM policy or test NFS. [lifetime-kernel-mmap] [lifetime-kernel-security] Related terms: - [msync](https://hesela.dev/terms/msync/) - [file-truncation](https://hesela.dev/terms/file-truncation/) - [page-cache](https://hesela.dev/terms/page-cache/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [lmdb](https://hesela.dev/terms/lmdb/) - [file-sealing](https://hesela.dev/terms/file-sealing/) - [memfd-create](https://hesela.dev/terms/memfd-create/) - [fastmap](https://hesela.dev/terms/fastmap/) - [inotify](https://hesela.dev/terms/inotify/) - [madv-dontneed](https://hesela.dev/terms/madv-dontneed/) - [posix-madv-dontneed](https://hesela.dev/terms/posix-madv-dontneed/) - [mlock](https://hesela.dev/terms/mlock/) - [tmpfs](https://hesela.dev/terms/tmpfs/) - [flush-view-of-file](https://hesela.dev/terms/flush-view-of-file/) - [flush-file-buffers](https://hesela.dev/terms/flush-file-buffers/) - [flashmap](https://hesela.dev/terms/flashmap/) - [madv-populate-read](https://hesela.dev/terms/madv-populate-read/) - [madv-populate-write](https://hesela.dev/terms/madv-populate-write/) Citations: - [mmap-api] Linux man-pages: mmap(2), mapping modes and lifetime. https://man7.org/linux/man-pages/man2/mmap.2.html (accessed 2026-10-18) - [posix-mmap] POSIX.1-2017: mmap(), object size and mapping boundaries. https://man7.org/linux/man-pages/man3/mmap.3p.html (accessed 2026-10-17) - [posix-msync] POSIX.1-2017: msync(), completion and background writeback. https://man7.org/linux/man-pages/man3/msync.3p.html (accessed 2026-10-17) - [hesela-mmap] Hesela: Memory-mapped files: visibility, size and synchronization. https://hesela.com/analyses/mmap-visibility-size-durability/#tail-remapping (accessed 2026-10-18) - [seals-api] Linux man-pages: F_GET_SEALS / F_ADD_SEALS. https://man7.org/linux/man-pages/man2/F_ADD_SEALS.2const.html (accessed 2026-10-17) - [hesela-inotify] Hesela: What inotify misses: mapped writes and collapsed change events. https://hesela.com/analyses/inotify-change-detection/ (accessed 2026-10-19) - [hesela-advice] Hesela: When don't need discards private edits. https://hesela.com/analyses/mmap-visibility-size-durability/#discard-advice (accessed 2026-10-20) - [hesela-private-history] Hesela: Private page history is not a file version, six ordered Linux controls. https://hesela.com/analyses/mmap-visibility-size-durability/#private-history (accessed 2026-10-26) - [cpython-mmap-constructor] CPython v3.12.3: Unix new_mmap_object access-mode dispatch. https://github.com/python/cpython/blob/v3.12.3/Modules/mmapmodule.c#L1157-L1189 (accessed 2026-10-26) - [hesela-private-compiler] Hesela: compiler-dependent private-mapping reproduction, source, disassembly and two captures. https://hesela.dev/research/map-private-history/compiler-control.zip (accessed 2026-10-27) - [gcc-volatile] GCC: volatile accesses and limits of memory ordering. https://gcc.gnu.org/onlinedocs/gcc/Volatiles.html (accessed 2026-10-27) - [lifetime-kernel-mmap] Linux v6.8: do_mmap and FMODE_WRITE. https://raw.githubusercontent.com/torvalds/linux/v6.8/mm/mmap.c (accessed 2026-11-05) - [lifetime-kernel-security] Linux v6.8: vm_mmap_pgoff security hook. https://raw.githubusercontent.com/torvalds/linux/v6.8/mm/util.c (accessed 2026-11-05) - [lifetime-study] Hesela: retained local access after permission changes, native evidence and limits. https://hesela.com/analyses/posix-acl-restore-permissions/#retained-access (accessed 2026-11-05) - [lifetime-evidence] Hesela: permission-lifetime native observations, source receipts and MIT replay bundle. https://hesela.dev/research/permission-lifetime/permission-lifetime.zip (accessed 2026-11-05) ### Memory persistency URL: https://hesela.dev/terms/memory-persistency/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: memory persistency model Status: research Record updated: 2026-12-05 Memory persistency specifies the permitted ordering of durable updates relative to other memory events and system failure. Note: The recovery observer captures surviving state and is distinct from the observers used to reason about inter-thread visibility. A persistence domain describes protected components, whereas a persistency model describes ordering. [retrospective] Strict, epoch and strand models preserve different dependencies. At an assumed 500 ns latency, Table 1 gives persist-bound insert rates of 0.034 (strict), 0.17 (epoch) and 12 (strand) for one-thread Copy While Locked, normalized to that configuration's instruction-rate denominator. These are not measured persistent-memory hardware throughput. The modeled bottleneck rule min(1, rate) caps strand at 1, not 12; dividing by 0.034 gives about 29.4. [pelley14] The authors' 2023 retrospective explains the motivation. In 2014, memory interconnects lacked an interface to describe and enforce write ordering, and ordering enforced at the processor was insufficient for failure tolerance with acceptable performance. [retrospective] Advantages: - Separates the question of ordering from the question of which hardware makes stores durable, so recovery code can be reasoned about at the level of the memory model. (sources: [retrospective]) Limitations: - Relaxed models require persist barriers or similar annotations in software, so correctness depends on placing them wherever recovery needs ordering. (sources: [pelley14]) - The quantitative comparison uses queue microbenchmarks with assumed persist latencies, so it does not predict the performance of a particular memory device. (sources: [pelley14]) Sources and caveats: - pelley14 re-read on 2026-10-28 in sections 7-8, Table 1 and Figures 4-5; correction separates modeled capacity from effective throughput. - Table 1 values are normalized persist-bound insert rates. The existing linked Hesela calculation applies the instruction-rate ceiling before computing ratios; no new benchmark. - retrospective is the 2023 retrospective by the same authors, re-read in sections I and II for the 2014 interconnect context. Related terms: - [ralloc](https://hesela.dev/terms/ralloc/) - [durable-linearizability](https://hesela.dev/terms/durable-linearizability/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [strict-persistency](https://hesela.dev/terms/strict-persistency/) - [epoch-persistency](https://hesela.dev/terms/epoch-persistency/) - [strand-persistency](https://hesela.dev/terms/strand-persistency/) Citations: - [pelley14] Pelley, Chen and Wenisch. Memory Persistency. ISCA 2014, pp. 265-276; sections 7-8.1, Table 1; section 8.2, Figures 4-5. https://courses.grainger.illinois.edu/ece598ms/fa2019/papers/paper61.pdf (accessed 2026-10-28) - [han21] Han and Kimura. Durable Queue Implementations Built on a Formally Defined Strand Persistency Model. JIP 29 (2021), pp. 823-838, sections 2-3. https://www.jstage.jst.go.jp/article/ipsjjip/29/0/29_823/_pdf/-char/en (accessed 2026-10-19) - [retrospective] Steven Pelley, Peter M. Chen and Thomas F. Wenisch. RETROSPECTIVE: Memory Persistency. ISCA retrospective, 2023; sections I-II. https://bpb-us-w2.wpmucdn.com/sites.coecis.cornell.edu/dist/7/587/files/2023/06/Pelley_2014_Memory.pdf (accessed 2026-10-22) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/#persistency-models (accessed 2026-10-19) ### memory.reclaim URL: https://hesela.dev/terms/memory-reclaim/ Also known as: cgroup v2 proactive reclaim Status: shipping Record updated: 2026-11-16 memory.reclaim is a cgroup v2 control file that requests proactive memory reclaim from a target group without setting a persistent usage limit. Note: Amount is a target: Linux 6.12 documents both over- and under-reclaim. Under-reclaim returns EAGAIN. Unlike memory.high, this interface does not establish a continuing throttle boundary. Proactive reclaim also does not trigger the usual socket-memory balancing response to memory pressure. [cgroup] Progress can precede failure: The v6.12 handler accumulates reclaimed pages, then may return EAGAIN after exhausted no-progress retries or EINTR after a pending signal. Neither error rolls back earlier reclaim. Retrying the original amount starts a new request, not a continuation with an automatically reduced target. This follows from source inspection, not a live reclaim experiment. [implementation] Small requests: The handler divides parsed bytes by PAGE_SIZE with integer truncation. With 4096-byte pages, a valid request for 4095 bytes has a zero-page target and skips the reclaim loop; 4096 and 4097 both target one page. Other page sizes change the boundary. The accompanying executable examples expose the arithmetic without writing to a cgroup. [implementation] [examples] [code] Return-value units: On success the handler returns nbytes, the length of the control-file input, not the amount reclaimed. A successful write is therefore not an exact-byte receipt. Observe memory and pressure over a defined interval; concurrent allocation and refaults can obscure a simple before/after usage difference. [implementation] Sources and caveats: - Static review is pinned to Linux v6.12. Valid input and a successful control-file write are assumed for the sub-page example; access checks, syntax errors and distribution patches remain separate. - The examples model only nonnegative byte-to-page conversion. They do not emulate the kernel parser, reclaim policy, memory accounting, device I/O or latency. Related terms: - [transparent-memory-offloading](https://hesela.dev/terms/transparent-memory-offloading/) - [pressure-stall-information](https://hesela.dev/terms/pressure-stall-information/) Citations: - [cgroup] Linux 6.12 cgroup v2: proactive reclaim, EAGAIN and socket balancing. https://docs.kernel.org/6.12/admin-guide/cgroup-v2.html (accessed 2026-11-16) - [implementation] Linux v6.12 memory_reclaim: page quantization, cumulative progress and nbytes return. https://github.com/torvalds/linux/blob/v6.12/mm/memcontrol.c#L4023-L4083 (accessed 2026-11-16) - [examples] Hesela: constructed page-size boundary examples, not host measurements. https://hesela.dev/research/memory-reclaim-quantization.json (accessed 2026-11-16) - [code] Hesela: executable request-to-page arithmetic. https://hesela.dev/research/memory-reclaim-quantization.mjs (accessed 2026-11-16) ### Memory stranding URL: https://hesela.dev/terms/memory-stranding/ Status: shipping Record updated: 2026-11-16 Memory stranding is available memory capacity that cannot be allocated to an otherwise relevant workload because another placement resource or constraint is exhausted. Note: In Pond's motivating case, a server has unallocated DRAM after its CPU cores have been allocated. This differs from untouched memory inside an already provisioned VM: one concerns placement capacity, the other concerns access to assigned capacity. [paper] Constructed example: host A has 0 free cores and 64 GiB local memory; host B has 8 free cores and 16 GiB local memory. A new VM needs 4 cores and 32 GiB. No host can admit it without pooling, even though 80 GiB is free in total. In a second configuration, moving 16 GiB of A's unallocated capacity to an accessible pool lets B use 16 GiB local plus 16 GiB pooled memory. Total free capacity remains 80 GiB; it has not been created by pooling. [examples] Local-memory constraint: if that VM requires at least 24 GiB local memory, B cannot admit it even with the 16 GiB pool. The minimum-local requirement is an input assumption, not a measured latency guarantee. The executable predicate tests one VM against a static snapshot, with integer GiB capacity and no oversubscription. [examples] [code] Engineering implication: record which resources are free, which host can access them and which workload constraints apply. Summing free bytes across hosts is insufficient evidence of allocatable capacity; neither an idle-page count nor a pool's name supplies the missing placement contract. Sources and caveats: - The definition follows the resource-stranding distinction in Pond; the capacity examples are explicitly constructed by Hesela, not observations of Azure or a hardware experiment. - Shipping here classifies an established systems concept; it does not claim that Pond is a shipping product. Related terms: - [pond](https://hesela.dev/terms/pond/) - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [cxl-memory-pooling](https://hesela.dev/terms/cxl-memory-pooling/) Citations: - [paper] Li et al. Pond: CXL-Based Memory Pooling Systems for Cloud Platforms. ASPLOS 2023, pp. 574-587. DOI 10.1145/3575693.3578835; sections 2-6. https://www.microsoft.com/en-us/research/wp-content/uploads/2022/10/2023_Pond_asplos23_official_asplos_version.pdf (accessed 2026-11-16) - [examples] Hesela: constructed single-VM admission examples and latency-ratio arithmetic (JSON). https://hesela.dev/research/pond-admission.json (accessed 2026-11-16) - [code] Hesela: executable admission predicate and latency arithmetic (JavaScript). https://hesela.dev/research/pond-admission.mjs (accessed 2026-11-16) ### memory.swap.max URL: https://hesela.dev/terms/memory-swap-max/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: cgroup v2 swap limit, cgroup swap hard limit Status: shipping Record updated: 2026-12-01 memory.swap.max is the cgroup v2 control that limits charged swap usage separately from resident-memory usage. Note: In Linux 6.12, the default is max; numeric limits are expressed in bytes. memory.swap.high is a separate throttling threshold, not the normal hard limit. memory.zswap.max instead caps memory used by the compressed pool. These counters describe different resources. [cgroup-v612] Writing a smaller swap limit does not synchronously empty existing swap entries. swap_max_write changes the limit and returns; later swap charging checks the swap counter. Setting it to zero prevents new swap charges, including those needed for new zswap-backed entries, but is not a command to cancel already-submitted device I/O. [memcontrol-v612] With zswap enabled, memory.zswap.writeback=0 still permits zswap stores but disallows backing-device fallback after a failed store and zswap writeback. An ancestor's disabled setting also applies. This differs from denying new swap charges altogether; recurring compression failures can make reclaim inefficient. [cgroup-v612] The disabled-backend exception is decisive: mem_cgroup_zswap_writeback_enabled returns true when zswap is disabled, before examining the cgroup hierarchy. Therefore memory.zswap.writeback=0 alone does not prohibit ordinary swap-device writes in that configuration. [memcontrol-v612] Zero-filled pages are a separate case. After swap-slot allocation and preparation, swap_writepage can record a zero-filled folio in a bitmap and return before calling zswap_store or checking writeback permission. No device write on that path is not evidence that zswap compressed the page. This does not bypass the earlier swap charge. [page-io-v612] Limitations: - These version-scoped controls do not guarantee application latency, recovery durability or absence of all host I/O. (sources: [cgroup-v612], [page-io-v612]) Sources and caveats: - Source review of Linux v6.12; no memory-pressure experiment, kernel reconfiguration or swap activation was performed. Related terms: - [zswap](https://hesela.dev/terms/zswap/) - [swapfile](https://hesela.dev/terms/swapfile/) Citations: - [cgroup-v612] Linux 6.12 cgroup v2: swap and zswap controls. https://docs.kernel.org/6.12/admin-guide/cgroup-v2.html (accessed 2026-12-01) - [memcontrol-v612] Linux v6.12 memcontrol.c: swap_max_write, swap charging and mem_cgroup_zswap_writeback_enabled. https://github.com/torvalds/linux/blob/v6.12/mm/memcontrol.c (accessed 2026-12-01) - [page-io-v612] Linux v6.12 page_io.c: swap_writepage zeromap, zswap and writeback ordering. https://github.com/torvalds/linux/blob/v6.12/mm/page_io.c (accessed 2026-12-01) ### Memristor storage URL: https://hesela.dev/terms/memristor/ Also known as: memristive memory, resistive RAM, RRAM, ReRAM Status: research Record updated: 2026-10-22 A memristor is a circuit element proposed in 1971 that relates charge and flux, and the name is also used for thin-film devices whose resistance depends on past current. Note: Chua reasoned in 1971 that a fourth fundamental passive element should exist, with memristance relating charge and flux. A 2008 model treats a thin film between two metal contacts with a doped low-resistance region and an undoped high-resistance region, where bias drifts the dopants and moves the boundary. The effect scales as 1/D^2, so it is 1,000,000 times stronger at nanometre than at micrometre scale, and a Pt/TiO2/Pt cross-point device with a 5 nm oxide matched the model. [c2] Resistive RAM uses a metal-insulator-metal cell whose states come from forming and rupturing a conductive filament, of metal ions in conductive-bridge cells or oxygen vacancies in oxide cells. Reported devices read and write in under 10 ns, retain data over 10 years and endure 10^6 to 10^12 cycles, against over 10^4 for NAND flash. Oxide cells reach about 10^12 cycles and conductive-bridge cells about 10^6, still too few to replace DRAM. [c3] No single device has combined fast switching, low power and stable operation, and random filament formation causes cycle-to-cycle and device-to-device variability, the main obstacle to industrialisation. Read noise narrows the margin, and at most 8 states per cell have been shown. [c3] In 2008 ultrahigh endurance had not been convincingly shown, with about 10^6 cycles for a nickel-oxide cell and about 600 for a copper-oxide cell switching in under 50 ns. [c4] Limitations: - The physical origin of resistive switching is still debated. (sources: [c2], [c3]) Sources and caveats: - c2 is by HP Labs authors (Nature, 2008); c4 is an IBM Research review (2008); c3 is a university review (2020). - Figures in c3 are ranges collected from different published devices, not one product; c3 and c4 are more than a decade apart and not directly comparable. - No cited source gives capacity, cost per bit or product availability. - Whether every resistive-switching memory is a memristor is a modelling question the sources leave open; c3 uses the term RRAM. Related terms: - [phase-change-memory](https://hesela.dev/terms/phase-change-memory/) - [storage-class-memory](https://hesela.dev/terms/storage-class-memory/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) Citations: - [c1] Memristor storage. https://en.wikipedia.org/wiki/Memristor (accessed 2026-03-26) - [c2] The missing memristor found. https://web.ece.ucsb.edu/~strukov/papers/2008/Nature2008.pdf (accessed 2026-10-16) - [c3] Resistive Random Access Memory (RRAM): an Overview of Materials, Switching Mechanism, Performance, Multilevel Cell (mlc) Storage, Modeling, and Applications. https://pmc.ncbi.nlm.nih.gov/articles/PMC7176808/ (accessed 2026-10-16) - [c4] Overview of candidate device technologies for storage-class memory. http://www.geoffreyburr.org/papers/NVMcandidates_IBMJRD.pdf (accessed 2026-10-16) ### Memtable URL: https://hesela.dev/terms/memtable/ Also known as: in-memory write buffer (LSM) Status: shipping Record updated: 2026-11-29 A memtable is an in-memory structure that holds recent LSM-tree updates before they are flushed to sorted table files. Note: RocksDB's FAST 2021 architecture description separates the memtable from its recovery WAL and persistent SST files. A memtable flush and an SST compaction are different operations. [dong2021] Do not infer a power-loss guarantee from the in-memory structure's name; the logging and acknowledgment policy must also be specified. In RocksDB, accumulated immutable memtables waiting for flush can trigger write backpressure; this is distinct from the amount of SST compaction work. [stall-code] Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sstable](https://hesela.dev/terms/sstable/) - [compaction](https://hesela.dev/terms/compaction/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [rocksdb-column-family](https://hesela.dev/terms/rocksdb-column-family/) - [rocksdb-write-stall](https://hesela.dev/terms/rocksdb-write-stall/) - [range-tombstone](https://hesela.dev/terms/range-tombstone/) - [rocksdb](https://hesela.dev/terms/rocksdb/) Citations: - [dong2021] Siying Dong, Andrew Kryczka, Yanqin Jin and Michael Stumm. Evolution of Development Priorities in Key-value Stores Serving Large-scale Applications: The RocksDB Experience. FAST 2021, pp. 33-49; sections 2.2 and 4. https://www.usenix.org/system/files/fast21-dong.pdf (accessed 2026-10-14) - [hesela] RocksDB: a WAL sync is not a memtable flush. https://hesela.com/analyses/rocksdb-wal-flush-manifest-boundaries/ (accessed 2026-10-14) - [stall-code] RocksDB v10.10.1. ColumnFamilyData::GetWriteStallConditionAndCause. https://github.com/facebook/rocksdb/blob/v10.10.1/db/column_family.cc#L986 (accessed 2026-10-15) ### Merkle tree URL: https://hesela.dev/terms/merkle-tree/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Hash tree Status: shipping Record updated: 2026-11-12 A Merkle tree combines hashes of data and child nodes into a root so that selected entries or subtrees can be checked without transferring the entire data set. Note: Dynamo's 2007 design uses per-key-range trees to locate divergent replicas. [dynamo2007] For inclusion verification, use the intended trusted root and the construction's encoding, ordering and tree-shape rules. RFC 9162 specifies distinct leaf and internal-node prefixes and includes tree size and leaf index in proof verification; that is one construction, not a universal storage format. [rfc9162] In a naive untagged binary construction, a single entry containing two child digests hashes to the same root as those two leaves: the outer hash sees identical bytes, not a cryptographic collision. The executable example also shows why an independently trusted entry count rejects that substitution. [hesela-merkle-example] Tree arity is construction-specific. Linux v6.12 dm-verity uses a fanout derived from hash-block and digest sizes; 4096-byte hash blocks with SHA-256 hold 128 digests. Tree height alone is not an I/O count or latency prediction. [dm-verity-code] Leaf/node prefixes do not resolve every tree-shape ambiguity. With duplicate-last padding, ABC and ABCC can have the same tagged root; ABCDEF and ABCDEFEF repeat a subtree above the leaves. Bitcoin Core v28.0 documents the historical construction and checks equal sibling hashes before padding at each level. [bitcoin-merkle-v28] Hesela's separate SHA-256 model retains six control pairs and exhausts 2046 short A/B lists. Bind the expected count and construction to a trusted reference; repeated storage chunks can be legitimate, so a duplicate flag is not a universal rejection rule. [hesela-merkle-padding] History-tree auditing separates membership from cross-commitment consistency. Auditors also compare commitments across observers to expose divergent views. [crosby-history2009] Limitations: - A proof relative to a root does not by itself establish freshness, data availability or which divergent replica is authoritative. (sources: [rfc9162], [dynamo2007]) - A Merkle tree does not reconstruct missing data; replica synchronization still needs the relevant data and reconciliation rules. (sources: [dynamo2007]) Related terms: - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [checksum](https://hesela.dev/terms/checksum/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [anti-entropy-repair](https://hesela.dev/terms/anti-entropy-repair/) - [dm-verity](https://hesela.dev/terms/dm-verity/) - [fs-verity](https://hesela.dev/terms/fs-verity/) - [set-reconciliation](https://hesela.dev/terms/set-reconciliation/) - [dynamic-merkle-tree](https://hesela.dev/terms/dynamic-merkle-tree/) - [hash-domain-separation](https://hesela.dev/terms/hash-domain-separation/) - [nvme-tcp-digest](https://hesela.dev/terms/nvme-tcp-digest/) - [content-addressed-storage](https://hesela.dev/terms/content-addressed-storage/) - [content-identifier](https://hesela.dev/terms/content-identifier/) Citations: - [bitcoin-merkle-v28] Bitcoin Core v28.0: duplicate-last Merkle construction and pre-padding mutation checks. https://github.com/bitcoin/bitcoin/blob/110183746150428e6385880c79f8c5733b1361ba/src/consensus/merkle.cpp (accessed 2026-11-11) - [hesela-merkle-padding] Hesela: tagged Merkle padding, exact controls and finite symbolic cross-check. https://hesela.com/analyses/checksums-identity-and-lost-writes/#merkle-duplicate-padding (accessed 2026-11-11) - [hesela-merkle-padding-data] Hesela: generated Merkle-padding results (synthetic computation). https://hesela.dev/research/merkle-padding/results.json (accessed 2026-11-11) - [dynamo2007] DeCandia et al. Dynamo: Amazon's Highly Available Key-value Store. SOSP 2007, section 4.7. https://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf (accessed 2026-10-12) - [rfc9162] RFC 9162: Certificate Transparency Version 2.0, sections 2.1 and 4.9-4.12. https://www.rfc-editor.org/rfc/rfc9162.html (accessed 2026-10-12) - [hesela-integrity] Hesela: Why a valid checksum can still return the wrong data. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-10-12) - [hesela-repair] Replica repair: what has actually converged? https://hesela.com/analyses/replica-repair-coverage/ (accessed 2026-10-13) - [dm-verity-code] Linux v6.12 dm-verity-target.c: fanout, levels and hash-block allocation. https://github.com/torvalds/linux/blob/v6.12/drivers/md/dm-verity-target.c (accessed 2026-10-18) - [hesela-merkle-example] Hesela: Merkle tree encoding counterexample, source and reproducible root values. https://hesela.com/analyses/checksums-identity-and-lost-writes/#merkle-domain-separation (accessed 2026-10-18) - [crosby-history2009] Crosby and Wallach: Efficient Data Structures for Tamper-Evident Logging. USENIX Security 2009, sections 2.1-2.2. https://static.usenix.org/events/sec09/tech/full_papers/crosby.pdf (accessed 2026-11-12) ### Message authentication code (MAC) URL: https://hesela.dev/terms/message-authentication-code/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: MAC, Authentication tag Status: shipping Record updated: 2026-10-22 A message authentication code (MAC) is a keyed cryptographic tag used to check the integrity and authenticity of covered data. Note: The verifier checks a received tag using the required key and algorithm. MAC also names the mechanism that produces the tag; HMAC is one hash-based construction. Unlike an unkeyed checksum, verification depends on a secret shared with authorized tag producers. [nist-mac] [rfc2104] Authentication applies to the selected input bytes, not every claim surrounding them. A storage protocol must bind the relevant record identity and decide which version it accepts. Hesela's examples distinguish altered bytes, unbound fields, old records and ambiguous field boundaries. They are synthetic demonstrations, not storage-device measurements. [hesela-context] Limitations: - A MAC does not encrypt data, recover damaged bytes or by itself prove that a returned record is the latest committed version. (sources: [rfc2104], [hesela-context]) - Shared-key authentication does not distinguish which holder of the key generated a valid tag and does not provide non-repudiation. (sources: [nist-mac]) Sources and caveats: - MAC is used in the cryptographic sense, not Media Access Control or mandatory access control. No algorithm approval or key-management claim is made. Related terms: - [hmac](https://hesela.dev/terms/hmac/) - [checksum](https://hesela.dev/terms/checksum/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [hash-domain-separation](https://hesela.dev/terms/hash-domain-separation/) - [replay-attack](https://hesela.dev/terms/replay-attack/) Citations: - [nist-mac] NIST CSRC glossary: message authentication code, tag/mechanism definitions and non-repudiation boundary. https://csrc.nist.gov/glossary/term/message_authentication_code (accessed 2026-10-22) - [rfc2104] RFC 2104: shared-key message authentication and HMAC construction, sections 1-2. https://www.rfc-editor.org/rfc/rfc2104.html (accessed 2026-10-22) - [hesela-context] Hesela: HMAC context, freshness and field-encoding examples. https://hesela.com/analyses/checksums-identity-and-lost-writes/#hmac-context (accessed 2026-10-22) ### Metadata-only copy-up URL: https://hesela.dev/terms/metacopy/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: metacopy, OverlayFS metacopy Status: shipping Record updated: 2026-11-04 Metadata-only copy-up is an OverlayFS feature that creates upper-layer metadata for a regular file while retaining its data in a lower layer. Note: When enabled, metacopy can avoid copying payload for a chmod operation. [linux-overlayfs-612] For a file still in metadata-only state, a writable open requests data copy-up before an application write is needed; successful data copy-up removes the metacopy marker. Truncation does not promise preservation of the old payload. [linux-overlayfs-copy-up-612] Recovery implication: an upper-tree-only backup can omit required lower data. Retain coherent layer dependencies or capture the intended merged content with an explicit consistency policy. This is an architectural inference, not an observed restore failure. [linux-overlayfs-612] Advantages: - Can defer payload transfer for metadata-only changes. Limitations: - Feature state is configurable; metacopy is not authentication or a durability guarantee. - Linux warns against metacopy with untrusted layer trees; fs-verity arrangements have separate trust requirements. Sources and caveats: - Source review of Linux 6.12 documentation and implementation; no mounted-overlay, restore or crash experiment. Related terms: - [overlayfs](https://hesela.dev/terms/overlayfs/) - [copy-up](https://hesela.dev/terms/copy-up/) Citations: - [linux-overlayfs-612] Linux 6.12: Overlay Filesystem, non-directories and metadata-only copy-up. https://docs.kernel.org/6.12/filesystems/overlayfs.html#metadata-only-copy-up (accessed 2026-11-04) - [linux-overlayfs-copy-up-612] Linux v6.12: OverlayFS copy-up eligibility, data transfer and truncation. https://github.com/torvalds/linux/blob/v6.12/fs/overlayfs/copy_up.c (accessed 2026-11-04) ### Metadata update dependency URL: https://hesela.dev/terms/metadata-update-dependency/ Related analysis: https://hesela.com/analyses/soft-updates-metadata-ordering/ Status: shipping Record updated: 2026-11-30 A metadata update dependency is an ordering requirement between persistent changes needed to preserve a filesystem invariant. Note: Ordering changes and recording recovery information are different consistency strategies. [compare2000] In a rename the new directory entry must reach stable storage before the old one is removed, otherwise a crash between the writes can leave neither name. Three rules cover such cases: never reset an old pointer before the new one is set, never reuse a resource before all pointers to it are nullified, and never point to a structure before it is initialised. The 1994 analysis assumes each individual update is atomic. [gangerpatt] Sector-sized updates are not by themselves proof of power-fail atomicity on a particular device. [featherstitch2007] Enforcing order with synchronous writes is so slow that implementations skipped some dependencies, which could expose a deleted file's data. Soft updates track dependencies per update rather than per block and temporarily roll back pending changes when a block is written. [gangerpatt] Per-block tracking fails when a create and a delete share a directory block and an inode block, because they need opposite write orders. [compare2000] Soft updates came within 5% of a memory-based file system and ran more than twice as fast as synchronous writes on metadata-heavy benchmarks. [gangerpatt] On a news-server workload they reached 87% of an unprotected baseline with 13% more disk writes, and after a crash only allocated-but-free blocks and inodes remained to fix in the background. [compare2000] Featherstitch permits dependent patches to commit together within one block. Across blocks, a predecessor that is merely in flight does not satisfy the dependency: the controller may finish the dependent block first. This is a commitment-order rule, not a promise of atomic block writes. [featherstitch2007] Limitations: - An ordering constraint does not itself provide atomicity for an entire application transaction. (sources: [compare2000]) - Ordering relies on the storage stack honouring write order, which a disk that does not reliably flush its cache defeats, and the rules are hard to implement correctly. (sources: [nofs]) - Featherstitch permits only one pending version per block; its safety invariants do not prove eventual completion (liveness). (sources: [featherstitch2007]) - Featherstitch requires completion reports to mean stable storage, not volatile cache acknowledgement; the checker cannot verify that device promise. (sources: [featherstitch2007]) Sources and caveats: - Soft updates are the 1994 authors' own proposal, and three of the six authors of the 2000 comparison also worked on soft updates, so both evaluations are partly self-evaluations. - The 1994 numbers come from one operating system and one disk of that period; the percentages are workload-specific. - The 2012 paper proposes back-references as an alternative to ordering, so its criticism of soft updates is the view of a competing design. - In the create-delete example the block-level dependency graph has a cycle, while the graph over individual pointers has none. - The 2026-11-12 source review adds the same-block and in-flight distinction; the accompanying constructed checker is not an execution of Featherstitch. - The checker assumes one in-flight version per block label. Its snapshot predicate does not validate submission transitions or liveness; section 3.2 treats those separately. Related terms: - [featherstitch](https://hesela.dev/terms/featherstitch/) - [soft-updates](https://hesela.dev/terms/soft-updates/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [patchgroup](https://hesela.dev/terms/patchgroup/) - [hard-patch](https://hesela.dev/terms/hard-patch/) Citations: - [compare2000] Seltzer et al. Journaling Versus Soft Updates: Asynchronous Meta-data Protection in File Systems. USENIX ATC 2000, pp. 71-84. https://www.usenix.org/legacy/event/usenix2000/general/full_papers/seltzer/seltzer_html/ (accessed 2026-10-15) - [hesela-soft] Hesela: Soft updates and metadata ordering. https://hesela.com/analyses/soft-updates-metadata-ordering/ (accessed 2026-10-15) - [gangerpatt] Ganger and Patt. Metadata Update Performance in File Systems. USENIX OSDI 1994, pp. 49-60. https://users.ece.cmu.edu/~ganger/papers/osdi94.pdf (accessed 2026-10-16) - [nofs] Chidambaram, Sharma, Arpaci-Dusseau and Arpaci-Dusseau. Consistency Without Ordering. USENIX FAST 2012. https://www.usenix.org/system/files/conference/fast12/chidambaram.pdf (accessed 2026-10-16) - [featherstitch2007] Frost et al. Generalized File System Dependencies. SOSP 2007, sections 3.1-3.3 and 7. https://read.seas.harvard.edu/~kohler/pubs/frost07generalized.pdf (accessed 2026-11-13) ### Metadata URL: https://hesela.dev/terms/metadata/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Storage metadata Status: unknown Record updated: 2026-11-17 Metadata is data that describes, identifies, organizes or supports the management and interpretation of other data. Note: Layers: Metadata is itself data. A file-format header is metadata to its reader but part of the file's bytes to the filesystem. Its role depends on what is being described, not on a universal separation into important payload and optional annotations. [nist-metadata] [numpy-format] Filesystem objects: Linux VFS uses inodes for filesystem objects and dentries for cached name-to-inode associations. More than one dentry can refer to an inode; the dentry cache is not itself an on-disk directory format. [linux-vfs] Interpretation: For non-object arrays, an NPY header supplies a dtype description, array shape and storage-order flag. Matching checksums of the numeric payload alone do not establish that this interpretation metadata is unchanged. A full-file comparison covers different bytes from a payload-only comparison. [numpy-format] [hesela-integrity] Sources and caveats: - General terminology with Linux v6.12 and NPY examples, not a requirement that all storage systems have inodes or use this file format. - The NPY discussion links an existing controlled study; no new library or hardware experiment is claimed. Related terms: - [inode](https://hesela.dev/terms/inode/) - [dentry](https://hesela.dev/terms/dentry/) - [data-integrity](https://hesela.dev/terms/data-integrity/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [npy](https://hesela.dev/terms/npy/) - [metadata-update-dependency](https://hesela.dev/terms/metadata-update-dependency/) - [data-serialization](https://hesela.dev/terms/data-serialization/) Citations: - [nist-metadata] NIST CSRC glossary: metadata; descriptive, structural and administrative roles. https://csrc.nist.gov/glossary/term/metadata (accessed 2026-11-15) - [linux-vfs] Linux v6.12: Overview of the Linux Virtual File System, directory entries and inodes. https://www.kernel.org/doc/html/v6.12/filesystems/vfs.html (accessed 2026-11-15) - [numpy-format] NumPy 2.5 manual: numpy.lib.format, NPY header and array representation. https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html (accessed 2026-11-15) - [hesela-integrity] Hesela: NPY/NPZ interpretation and payload-coverage controls. https://hesela.com/analyses/checksums-identity-and-lost-writes/#npy-interpretation (accessed 2026-11-15) ### Metadedup URL: https://hesela.dev/terms/metadedup/ Related analysis: https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/ Also known as: metadata deduplication via indirection Status: research Record updated: 2026-11-23 Metadedup groups chunk references and keys into encrypted metadata chunks that can themselves be deduplicated. Note: Mechanism: Variable-size segments group adjacent encrypted data chunks. Their metadata is encrypted with a content-derived key and deduplicated; file and key recipes reference that extra layer. The owner encrypts the key recipe with a master key. Restore retrieves metadata before data. [paper] Denominator: The 2019 FSL result at a 1 MB segment target is 97.46% metadata saving excluding the fingerprint index. Including the index, the published totals imply about 97.09%. Neither percentage measures total repository savings including data payload. The eight-row recalculation preserves the table's rounded inputs. [paper] [ledger] Security: The paper assumes an honest-but-curious adversary and excludes access-pattern leakage. Its historical-MLE guessing-cost argument assumes independent chunk choices; it is not a universal guarantee for predictable backup sequences. The original prototype assumes secure transport but does not implement TLS. [paper] [prototype] Compression: For FSL + PC in Table III, (10.767 - 9.949) / 10.767 gives about 7.597% less remaining metadata including the index and decoding mapping. The printed saving rates differ by 0.22 percentage point, a different denominator and scope. Neither measures whole-repository savings. [compression] Component totals: The VM + PC components sum to 26.743 GB, while Table III prints 26.730 GB. The 0.013 GB gap exceeds the 0.003 GB conservative nearest-rounding bound. The rounded table does not establish which value is intended. [compression] Sources and caveats: - Full 2019 paper reviewed, including Algorithms 1-2, security assumptions and Table II. Arithmetic from rounded published cells is not a rerun of the backup traces or a prototype benchmark. [paper] [ledger] - The later repository adds distributed key management and reports a different evaluation; its figures are not substituted for the 2019 table. [extension] - Download the five linked files together. Run python3 model.py --check and python3 -m unittest test_model.py. No third-party packages are required. - Table III companion audit: download table3.json, compression.py, test_compression.py, compression-results.json and COMPRESSION.md together. Run python3 compression.py --check and python3 -m unittest test_compression.py. The Table II downloads remain unchanged. [compression] - The Table III audit retains the source total and the sum of its components separately. The intended experimental total remains unresolved. [compression] Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [convergent-encryption](https://hesela.dev/terms/convergent-encryption/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) Citations: - [paper] Li, Lee, Ren and Zhang. Metadedup: Deduplicating Metadata in Encrypted Deduplication via Indirection. MSST 2019, sections IV-VI and Table II. https://msstconference.org/MSST-history/2019/Research/Metadedup.pdf (accessed 2026-11-22) - [prototype] Metadedup 2019 prototype README, pinned 361e957: transport assumption and dependencies. https://github.com/tinoryj/MetaDedup/blob/361e957e2dad23294670a203ca0b2d58af57b88b/README.md (accessed 2026-11-22) - [ledger] Hesela. Metadedup Table II: explicit denominators and rounding-compatible arithmetic. https://hesela.dev/research/metadedup/RESULTS.md (accessed 2026-11-22) - [data] Transcribed Table II inputs and primary-source provenance. https://hesela.dev/research/metadedup/table2.json (accessed 2026-11-22) - [results] Recomputed results, rounding envelopes and input SHA-256. https://hesela.dev/research/metadedup/results.json (accessed 2026-11-22) - [model] Standalone standard-library Python arithmetic and verifier. https://hesela.dev/research/metadedup/model.py (accessed 2026-11-22) - [tests] Standalone regression and falsified-output tests. https://hesela.dev/research/metadedup/test_model.py (accessed 2026-11-22) - [extension] Later Metadedup repository README, pinned dd1d5d4: distributed key-management extension. https://github.com/jingwei87/metadedup/blob/dd1d5d4b538e3dc4b6c14ea06f4c563547f6aa64/README.md (accessed 2026-11-22) - [compression] Hesela. Table III audit: decoder costs, inconsistent totals and marginal-savings denominators. https://hesela.dev/research/metadedup/COMPRESSION.md (accessed 2026-11-23) - [compression-data] Table III numerical inputs with source and visual-review provenance. https://hesela.dev/research/metadedup/table3.json (accessed 2026-11-23) - [compression-results] Six component checks and four marginal comparisons, including rounding envelopes. https://hesela.dev/research/metadedup/compression-results.json (accessed 2026-11-23) - [compression-code] Standalone Table III arithmetic audit and report generator. https://hesela.dev/research/metadedup/compression.py (accessed 2026-11-23) - [compression-tests] Independent fraction checks and negative controls for the Table III audit. https://hesela.dev/research/metadedup/test_compression.py (accessed 2026-11-23) ### Metal particle tape URL: https://hesela.dev/terms/metal-particle-tape/ Also known as: MP tape Status: eol Record updated: 2026-10-22 Metal particle (MP) tape is magnetic tape whose recording layer holds metal particles in a binder, required by the first LTO format and replaced by barium ferrite from LTO-6. Note: ECMA-319 (2001), the Ultrium-1 format for 12.65 mm, 384-track cartridges, requires a magnetic coating of metal particles. Its four cartridge types are 609.0, 319.0, 203.0 and 87.0 m long with nominal 100, 50, 30 and 10 Gbytes, on tape of 8.9 µm average thickness. [c2] An LTO-10 cartridge shipping from 2025 holds 30 TB uncompressed on 1,035 m of 5.2 µm tape with 15,104 tracks and 21.7 kbit/mm, and enterprise LTO-10 media reaches 1,337 m at 4.0 µm. Against Ultrium-1 that is about 1.7 times the length, 58% of the thickness and 39 times the tracks, gains from media, heads and servo together. [c3] Barium ferrite came into use from LTO-6 because it keeps its data-holding ability at small particle sizes and, as a chemically stable oxide, suits long-term storage better than metal magnetic material. Strontium ferrite is used in the latest products. [c3] Advantages: - ECMA-319 specifies tape, cartridge, recorded-signal quality and recorded format for interchange between drives. (sources: [c2]) Sources and caveats: - Later-generation figures come from the JEITA Tape Storage Technical Committee's 2026 slide deck in Japanese, read in its capacity, thickness and materials slides. - Neither source gives metal-particle coercivity, particle size or areal density, or attributes capacity growth to the coating alone. - ECMA-319 says nothing about later generations or the end of metal-particle use. - Arithmetic: 1,035 / 609 = 1.7; 5.2 / 8.9 = 0.58; 15,104 / 384 = 39. Related terms: - [tape](https://hesela.dev/terms/tape/) - [lto](https://hesela.dev/terms/lto/) - [barium-ferrite-tape](https://hesela.dev/terms/barium-ferrite-tape/) Citations: - [c1] Metal particle tape. https://en.wikipedia.org/wiki/Magnetic_tape (accessed 2026-03-26) - [c2] ECMA-319, 1st edition, June 2001. Data interchange on 12,7 mm 384-track magnetic tape cartridges, Ultrium-1 format. https://ecma-international.org/wp-content/uploads/ECMA-319_1st_edition_june_2001.pdf (accessed 2026-10-16) - [c3] JEITA Tape Storage Technical Committee. Tape Storage Trends 2026 (テープストレージ動向 2026版), Revision 2.0. https://home.jeita.or.jp/standardization/committee/pdf/TapeStorageTrends-2026.pdf (accessed 2026-10-16) ### Metastable failure URL: https://hesela.dev/terms/metastable-failure/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: metastable system failure Status: unknown Record updated: 2026-11-11 A metastable failure is a persistently degraded system state sustained by feedback after its initiating disturbance has ended. Note: Separate the trigger from the mechanism maintaining low useful throughput; the absence of a new hardware fault does not establish recovery. [bronson-metastable] The OSDI 2022 cache experiment used a one-hour recovery observation window, not proof of permanent non-recovery. Its incident study is not a population failure-rate estimate. [huang-metastable] Load accounting: amplification can increase request count or per-request cost; queued work can also sustain garbage-collection overhead and reduce capacity. These are different mechanisms, not interchangeable retry counters. [huang-metastable] Cache experiment scope: the trigger removed hottest entries, which are easiest to refill. The resulting boundary is not a guarantee for arbitrary eviction patterns or request-popularity distributions. [huang-metastable] Queue signal: Bronson et al. describe minimum queueing delay over a window as evidence of whether an internal queue drained. It is not a standalone diagnosis of metastability. [bronson-metastable] Related terms: - [retry-amplification](https://hesela.dev/terms/retry-amplification/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [fail-slow](https://hesela.dev/terms/fail-slow/) Citations: - [bronson-metastable] Bronson et al. Metastable Failures in Distributed Systems. HotOS 2021; DOI 10.1145/3458336.3465286, sections 1-3. https://sigops.org/s/conferences/hotos/2021/papers/hotos21-s11-bronson.pdf (accessed 2026-11-11) - [huang-metastable] Huang et al. Metastable Failures in the Wild. OSDI 2022, pp. 73-90, sections 2.1, 3.3, 4 and 5.3. https://www.usenix.org/system/files/osdi22-huang-lexiang.pdf (accessed 2026-11-11) ### Microbenchmark URL: https://hesela.dev/terms/microbenchmark/ Also known as: Micro-benchmark Status: unknown Record updated: 2026-11-21 A microbenchmark measures a small set of operations to isolate a specific performance cost or behavior. Note: Use focused tests to explain a mechanism, then use a representative application workload or trace to assess its wider effect. Record cache state, request sizes, concurrency and timing boundaries; a macrobenchmark is not automatically realistic either. [traeger] For example, sg_read at sg3_utils v1.48 can issue zero-block SCSI READ(10), READ(12) or READ(16) commands to time command overhead. READ(6) does not share that zero-block meaning. A command rate from this test does not establish data-transfer bandwidth or application IOPS. [sg-read] In Slowfs, researchers delayed ext2 operations through CPU-side execution, not added device I/O service time. CPU-bound compile workloads could conceal that overhead. The injected mechanism matters: a slowdown factor alone cannot predict the response to a physically slower disk. [traeger] Limitations: - An isolated cost can change when other operations contend for shared resources; combine narrow measurements with tests of the intended workload. (sources: [traeger]) Sources and caveats: - Source synthesis, not a new hardware measurement or reproduction of the historical Slowfs experiment. Related terms: - [iops](https://hesela.dev/terms/iops/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [fault-injection](https://hesela.dev/terms/fault-injection/) - [geometric-mean](https://hesela.dev/terms/geometric-mean/) - [semantic-block-level-analysis](https://hesela.dev/terms/semantic-block-level-analysis/) - [semantic-trace-playback](https://hesela.dev/terms/semantic-trace-playback/) Citations: - [traeger] Traeger et al., A Nine Year Study of File System and Storage Benchmarking, FSL-07-01, sections 3.1-3.2 and 12.1-12.2. https://www.fsl.cs.stonybrook.edu/docs/fsbench/fsbench-tr.html (accessed 2026-11-10) - [sg-read] sg3_utils v1.48: sg_read(8), description and zero-block SCSI READ timing. https://raw.githubusercontent.com/hreinecke/sg3_utils/v1.48/doc/sg_read.8 (accessed 2026-11-10) - [hesela-scsi] Hesela: SCSI command handling, transfer counts and benchmark scope. https://hesela.com/tech/scsi/ (accessed 2026-11-10) ### MIMIR URL: https://hesela.dev/terms/mimir/ Also known as: MIMIR cache profiler Status: research Record updated: 2026-11-19 MIMIR is an online cache profiler that estimates hit-ratio curves by grouping recency information into buckets. Note: Bucketed recency estimates trade precision for lower profiling cost. Ghost identifiers or counting Bloom filters extend the estimated curve beyond resident capacity; a ghost match still requires fetching the payload. Filter false positives can distort predictions. [paper] The distributed construction assumes uniform random placement and equal per-server capacity. It is not an optimizer over arbitrary capacity splits. Compatible request ratios must pool hit and request counts, rather than average percentages. [paper] [ratios] Constructed cold-start LRU example: server A alternates two keys for 90 requests; B repeats one key for 10. One slot each gives 0 + 9 hits out of 100 (9%), not the unweighted 45%. Giving both slots to A yields 88/100 (88%) with routing unchanged. This is illustrative trace arithmetic, not a MIMIR reproduction. [example] In the paper, curve accuracy is 1 minus mean absolute error across tested capacities. It is neither hit ratio nor a worst-capacity error bound. Two constructed 100-point curves can agree at 99 capacities yet differ by 100 percentage points at the last: 99% accuracy under that metric. [paper] [example] Limitations: - The basic model counts equal-size objects; byte-weighted extensions change the measurement unit. An estimated cache curve does not determine backend latency. (sources: [paper]) Sources and caveats: - The author-hosted 14-page SoCC 2014 paper was read beyond its abstract. Historical performance figures are not present-day guarantees. - The examples use synthetic requests and constructed curves. They test interpretation, not MIMIR fidelity, concurrency or measured device performance. Related terms: - [miss-ratio-curve](https://hesela.dev/terms/miss-ratio-curve/) - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) Citations: - [paper] Saemundsson et al. Dynamic Performance Profiling of Cloud Caches. SoCC 2014, sections 2.3-2.5, 3.7 and 4. DOI: 10.1145/2670979.2671007. https://ymsir.com/papers/mimir-socc.pdf (accessed 2026-11-19) - [ratios] Prometheus. Recording rules: aggregate numerator and denominator separately before division. https://prometheus.io/docs/practices/rules/#aggregation (accessed 2026-11-19) - [example] Hesela. Constructed LRU allocation and mean-versus-maximum curve-error controls. https://hesela.dev/research/mimir/evidence.json (accessed 2026-11-19) - [code] Hesela. Exact cold-start LRU replay and curve-error arithmetic; no MIMIR algorithm implementation. https://hesela.dev/research/mimir/model.mjs (accessed 2026-11-19) - [tests] Hesela. Exhaustive small-trace oracle, counter validation and curve-error regression tests. https://hesela.dev/research/mimir/model.test.mjs (accessed 2026-11-19) - [observatory] Hesela. Cache sizing, workload boundaries and hit-ratio accounting. https://hesela.com/analyses/ssd-mapping-cache-hmb/#hit-ratio-accounting (accessed 2026-11-19) ### mincore URL: https://hesela.dev/terms/mincore/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: mincore(2) Status: shipping Record updated: 2026-11-09 mincore is a system call that reports a page-residency vector for a mapped virtual-address range. Note: Only the low bit of each result byte is defined. The start address must be page-aligned; length rounds up to pages. Success returns zero, failure returns -1 with errno, and the snapshot may already be stale on return. [mincore-api] Linux v6.17 permits file-cache disclosure when the caller owns the inode, has the relevant capability, or passes the file write-permission check. Otherwise it returns all-one bytes for that mapping without measuring its residency. Opening a file read-only is not itself the deciding condition. [mincore-source] Page Cache Attacks (CCS 2019), section 9, explains why exposing residency can disclose another process's access pattern. Restricting or masking this API mitigates the direct observation channel, not every timing channel. This is historical security context, not a claim that all current kernels are vulnerable. [cache-attacks] The vector belongs to the mapping, not just the file. In v6.17, a present page-table entry returns one; an absent entry in a file mapping instead triggers a file-cache lookup. A MAP_PRIVATE write can create an anonymous copy while the original file page is later evicted. [mincore-source] [mmap-cow] In two five-trial captures on Linux 6.8.0-147-generic, the locked private copy reported one while an untouched mapping of the same offset reported zero after file-range DONTNEED. The private byte remained B; the other mapping and file returned A. These sequential observations are not a simultaneous snapshot, hit-rate estimate or security test. [cow-probe] Limitations: - Residency does not measure read latency, persistent storage or an application's cache-hit ratio. (sources: [hesela-probe]) Related terms: - [page-cache](https://hesela.dev/terms/page-cache/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) - [rwf-nowait](https://hesela.dev/terms/rwf-nowait/) - [readahead](https://hesela.dev/terms/readahead/) - [cachestat](https://hesela.dev/terms/cachestat/) Citations: - [mincore-api] Linux man-pages 6.19: mincore(2), residency snapshots and return values. https://man7.org/linux/man-pages/man2/mincore.2.html (accessed 2026-10-17) - [mincore-source] Linux v6.17 mm/mincore.c: can_do_mincore, do_mincore and page-cache lookup. https://raw.githubusercontent.com/torvalds/linux/v6.17/mm/mincore.c (accessed 2026-10-17) - [hesela-probe] Hesela. Five self-owned-file mincore observations, source and environment. https://hesela.dev/research/cache-residency/result.json (accessed 2026-10-17) - [cache-attacks] Gruss et al. Page Cache Attacks. CCS 2019, section 9. DOI: 10.1145/3319535.3339809. https://gruss.cc/files/pagecacheattacks.pdf (accessed 2026-11-06) - [mmap-cow] Linux man-pages 6.19: mmap(2), MAP_PRIVATE copy-on-write semantics. https://man7.org/linux/man-pages/man2/mmap.2.html (accessed 2026-11-09) - [cow-probe] Hesela: mincore private-COW and untouched-mapping observations, method, code and two captures. https://hesela.dev/research/mincore-cow/README.md (accessed 2026-11-09) ### MIND URL: https://hesela.dev/terms/mind/ Also known as: MMU In-Network for Disaggregated architectures Status: research Record updated: 2026-11-15 MIND is a research memory-disaggregation system that places address translation, protection and cache-coherence management in a programmable network switch. Note: Placement: MIND moves allocation policy to a switch CPU and address translation, protection and coherence metadata to its programmable data plane. Compute blades retain local DRAM; misses trigger page faults and RDMA requests. It is a shared-memory research system, not an SSD interface. [project] Coherence trade-off: An MSI directory tracks regions that can contain multiple pages. A write can invalidate an unrelated page in the same region: false invalidation trades network work against directory capacity. [paper] Bounded splitting: A region's false-invalidation count above a threshold within an epoch splits a region in half, down to 4 KB pages. The analysis assumes stable access patterns and allocated pages over O(log2 M) epochs, with M measured in pages. This is not an unconditional bound for arbitrary changing workloads. [paper] Evaluation scope: Five physical servers emulate memory and compute blades with 100 Gbit/s connections. Fastswap and adapted GAM are comparison systems. Read-write contention and finite switch directory capacity limit scaling; the design targets one rack and one switch. [paper] Failure boundary: The paper discusses switch-state recovery and retransmitted invalidations, but does not introduce CPU/memory-blade fault tolerance. Inference: cache coherence is not a promise of crash-durable storage. [paper] Artifact limits: The pinned instructions require suitable programmable-switch and RDMA hardware, an NDA for switch programs and agreement to the RDMA driver's license terms. Trace-based experiments and PSO/PSO+ estimates are separate evidence; shortened traces need not reproduce the paper's exact values. [artifact] Sources and caveats: - Primary-source synthesis and pinned artifact inspection, not a native MIND run, switch benchmark or failure-recovery experiment. - Coherence and durability answer different questions. The storage-durability distinction is an inference, not a reported MIND crash test. - The pinned guide tested Barefoot SDE 9.2 with grpc and thrift; it requires an Intel NDA and Mellanox OFED terms. These are historical prerequisites, not a current support contract. [dependencies] [artifact] Related terms: - [fastswap](https://hesela.dev/terms/fastswap/) - [infiniswap](https://hesela.dev/terms/infiniswap/) - [legoos](https://hesela.dev/terms/legoos/) Citations: - [paper] Lee et al. MIND. SOSP 2021, pp. 488-504; sections 4.3-5, 7-8. DOI: 10.1145/3477132.3483561. https://www.anuragkhandelwal.com/papers/mind.pdf (accessed 2026-11-15) - [project] MIND authors: control-plane, data-plane and local-DRAM architecture. https://yale-nova.github.io/mind/ (accessed 2026-11-15) - [artifact] MIND authors: artifact evaluation, hardware, licensing prerequisites and simulation scope; pinned revision. https://github.com/yale-nova/mind/blob/5b27121a4e5bb2db64886429e84484a3d9a0a13e/artifacts/readme.md (accessed 2026-11-15) - [dependencies] MIND authors: tested switch software dependencies; pinned revision. https://github.com/yale-nova/mind/blob/5b27121a4e5bb2db64886429e84484a3d9a0a13e/mind_switch_ctrl/dependencies.md (accessed 2026-11-15) ### MinHash URL: https://hesela.dev/terms/minhash/ Related analysis: https://hesela.com/analyses/deduplication-restore-fragmentation/ Also known as: min-wise hashing, minwise hashing Status: shipping Record updated: 2026-12-02 MinHash summarizes sets using minimum hash values to estimate their Jaccard similarity. Note: In the classic independent-coordinate construction, each coordinate keeps the minimum under one shared random permutation. For nonempty sets, the probability of equal minima is their intersection size divided by their union size; the fraction of matching coordinates estimates this ratio. Ordinary pairwise independence alone does not establish this collision identity. [minwise] Union takes coordinatewise minima of compatible signatures. Preserve the item representation, hash function and width, permutation family, seed and coordinate order; equal lengths alone do not establish compatibility. Practical hash families need their own error analysis. [implementation] Repeated occurrences of an unchanged identity do not change the signature. A signature match is not proof that the input byte streams are equal. In a constructed chunk example, set similarity stays 1/3 while the share of incoming bytes already present changes from 1/2 to 9/10 as chunk sizes change. [examples] This coordinate-matching construction differs from retaining several low-ranked hashes under one ordering. Theta sketches instead retain distinct hashes below a threshold and support set expressions. [theta] Different segment comparisons under one shared ordering need not be independent. An exact finite example keeps both marginal match probabilities at 1/2 while the either-match probability ranges from 1/2 to 1. [segment-dependence] Sources and caveats: - The worked examples enumerate ideal finite permutations and exact chunk identities, not a deployed MinHash library or storage workload. [examples] Related terms: - [jaccard-similarity](https://hesela.dev/terms/jaccard-similarity/) - [theta-sketch](https://hesela.dev/terms/theta-sketch/) - [deduplication](https://hesela.dev/terms/deduplication/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [content-defined-chunking](https://hesela.dev/terms/content-defined-chunking/) - [silo-deduplication](https://hesela.dev/terms/silo-deduplication/) Citations: - [minwise] Broder, Charikar, Frieze and Mitzenmacher. Min-Wise Independent Permutations. JCSS 60(3), 2000, pp. 632-633. https://www.eecs.harvard.edu/~michaelm/postscripts/jcss2000.pdf (accessed 2026-11-20) - [implementation] datasketch MinHash implementation: signature comparison, union and permutation-scheme assumptions. https://ekzhu.com/datasketch/_modules/datasketch/minhash.html (accessed 2026-11-20) - [examples] Hesela. MinHash and deduplication denominators: exact finite-set illustration and tests. https://hesela.dev/research/minhash/README.md (accessed 2026-11-20) - [theta] Apache DataSketches. Theta Sketch Framework: thresholded state and set operations. https://datasketches.apache.org/docs/Theta/ThetaSketches.html (accessed 2026-11-20) - [segment-dependence] Hesela: exhaustive segment-match examples distinguish marginal similarity from joint detection probability. https://hesela.dev/research/silo-segment-dependence/README.md (accessed 2026-12-02) ### Minimal perfect hash function URL: https://hesela.dev/terms/minimal-perfect-hash-function/ Also known as: MPHF, minimal perfect hashing Status: research Record updated: 2026-11-10 A minimal perfect hash function maps a fixed set of n distinct keys bijectively to n consecutive indices without identifying every key outside that set. Note: Minimality concerns the output range: n keys occupy exactly n indices. It does not mean that the representation uses the least possible memory. The collision-free guarantee applies to the construction set, not every possible query. [survey] Membership: A valid index is not proof that a key exists. An exact dictionary can keep the full key at each assigned index and compare it with the query before returning its value. A short fingerprint permits false matches and is a different contract. [bbhash-api] BBHash assigns noncolliding keys at successive bit-vector levels and uses rank to obtain dense indices. Colliding construction keys continue to later levels. Its lookup can return ULLONG_MAX for an absent key, but can also return another key's index; checking only that sentinel is insufficient. [bbhash-paper] [bbhash-api] Storage use: The function plus an indexed value array implements retrieval for a static key set. Values may change without changing the key set, but adding keys needs a construction or update strategy. Function-size figures exclude the separate values and membership evidence. [survey] Sources and caveats: - The survey sections 1-2 and SEA 2017 method section support the scope distinction; historical benchmark rankings are not repeated. - Pinned BBHash lookup code and an executable finite synthetic-key replay check membership behavior, not throughput or a population false-positive rate. [replay] Related terms: - [retrieval-data-structure](https://hesela.dev/terms/retrieval-data-structure/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) Citations: - [survey] Lehmann et al. Modern Minimal Perfect Hashing: A Survey. arXiv:2506.06536v3, sections 1-2. https://arxiv.org/abs/2506.06536v3 (accessed 2026-11-10) - [bbhash-paper] Limasset, Rizk, Chikhi and Peterlongo. Fast and Scalable Minimal Perfect Hashing for Massive Key Sets. SEA 2017, section 2. https://doi.org/10.4230/LIPIcs.SEA.2017.25 (accessed 2026-11-10) - [bbhash-api] BBHash README: querying keys outside the input set, commit be4220c8f8580299b212a0c6c6c867528a0f07ac. https://github.com/rizkg/BBHash/blob/be4220c8f8580299b212a0c6c6c867528a0f07ac/README.md#querying-keys-that-are-not-in-the-input-set (accessed 2026-11-10) - [replay] Hesela: pinned BBHash membership replay, source, method and receipt. https://hesela.dev/research/perfect-hash-membership/README.md (accessed 2026-11-10) ### Minimum-bandwidth regenerating code URL: https://hesela.dev/terms/minimum-bandwidth-regenerating-code/ Also known as: MBR code Status: limited Record updated: 2026-11-22 A minimum-bandwidth regenerating code minimizes single-node repair download at the bandwidth endpoint of the storage-repair tradeoff. Note: Let B be the source size in symbols, n the node count, k the recovery threshold and d the number of helpers, with 2<=k<=dB/k. Symbol counts must fit a realizable code or a suitable stripe scaling. [dimakis] For B=20, n=4, k=2 and d=3, MBR uses alpha=12 symbols per node and downloads 12 to repair it. MSR stores 10 per node and downloads 15 under its optimal repair formula. Total storage is therefore 48 versus 40 symbols. These are endpoint calculations for the same source and helper count, not a claim of equal storage overhead. [dimakis] MBR alone does not imply that helpers merely copy stored symbols. Exact repair reproduces the lost contents, while functional repair need only preserve the required recoverability. The complete-graph construction realizes exact repair-by-transfer when d=n-1. [shah2012] Advantages: - Repair download can fall below the amount needed to reconstruct the entire source before rebuilding a node. (sources: [dimakis]) Limitations: - A smaller download budget does not guarantee minimum helper reads for every helper selection, even at the MBR endpoint. (sources: [shah2013]) Sources and caveats: - Formulas describe symmetric single-node repair in the regenerating-code model, not network protocol bytes or elapsed time. - Reviewed Dimakis section III, Shah 2012 section III and Shah 2013 sections I-IV. - B=20 comparison is exact arithmetic; no empirical population, uncertainty interval or speedup is claimed. Related terms: - [minimum-storage-regenerating-code](https://hesela.dev/terms/minimum-storage-regenerating-code/) - [repair-by-transfer](https://hesela.dev/terms/repair-by-transfer/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) Citations: - [dimakis] Dimakis et al. Network Coding for Distributed Storage Systems. IEEE TIT 56(9), 4539-4551 (2010), section III. https://pbg.web.engr.illinois.edu/papers/coding-journal.pdf (accessed 2026-11-22) - [shah2012] Shah et al. Distributed Storage Codes With Repair-by-Transfer. IEEE TIT 58(3), 1837-1852 (2012), section III; DOI 10.1109/TIT.2011.2173792. https://www.cs.cmu.edu/~nihars/publications/repair_by_transfer.pdf (accessed 2026-11-22) - [shah2013] Shah. On Minimizing Data-Read and Download for Storage-Node Recovery. IEEE Communications Letters 17(5), 964-967 (2013), sections III-IV. https://www.cs.cmu.edu/~nihars/publications/mbr_no_rbt.pdf (accessed 2026-11-22) ### Minimum billable object size URL: https://hesela.dev/terms/minimum-billable-object-size/ Related article: https://hesela.com/tech/hot-warm-cold/ Also known as: object storage billing size floor Status: shipping Record updated: 2026-10-23 Minimum billable object size is a per-object lower bound on the storage quantity used to calculate a charge. Note: A smaller payload can remain smaller: the billing floor is not its content length, physical allocation or minimum allowed upload size. S3 Standard-IA and One Zone-IA use a 128 KB floor. Flexible Retrieval and Deep Archive instead add 40 KB of metadata, split between two storage rates. Keep those mechanisms distinct. [s3-pricing] Transition eligibility is a third rule. S3 Lifecycle normally excludes objects below 128 KB from transitions, with configurable exceptions and different behavior for older configurations. A billing floor does not establish whether a transition will occur. [s3-lifecycle] The linked calculation compares ten small objects with one object of the same total payload under invented byte and time floors. It excludes metadata, operations and retrieval costs and is not a provider invoice or a recommendation to bundle objects. [hesela-example] Sources and caveats: - Source review checked on 2026-10-23. AWS KB wording is retained; the separate hypothetical example explicitly uses KiB. Related terms: - [cold-archive](https://hesela.dev/terms/cold-archive/) - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [minimum-storage-duration](https://hesela.dev/terms/minimum-storage-duration/) - [object-storage](https://hesela.dev/terms/object-storage/) Citations: - [s3-pricing] Amazon S3 pricing: per-object minimums and separately charged archive metadata. https://aws.amazon.com/s3/pricing/ (accessed 2026-10-23) - [s3-lifecycle] Amazon S3: small-object Lifecycle transition eligibility and configuration history. https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html (accessed 2026-10-23) - [hesela-example] Hesela: hypothetical per-object byte-day floor calculation. https://hesela.dev/research/billing-floors/model.mjs (accessed 2026-10-23) ### Minimum I/O size URL: https://hesela.dev/terms/minimum-io-size/ Also known as: minimum_io_size, MIN-IO, io_min Status: shipping Record updated: 2026-10-19 Minimum I/O size is a Linux block-layer hint for the preferred smallest request granularity, not the smallest addressable unit. Note: The value is in bytes. Linux raises io_min to at least physical_block_size during queue-limit validation, so equality can reflect a default rather than a measured optimum. [linux-limits] Advantages: - The read-only blockdev --getiomin query exposes the value for a selected block-device path. (sources: [blockdev]) Limitations: - A performance hint does not replace logical-sector or direct-I/O validity checks. (sources: [linux-abi]) Sources and caveats: - Linux semantics pinned to v6.12; query documentation pinned to util-linux v2.40.2. No performance measurement is implied. Related terms: - [optimal-io-size](https://hesela.dev/terms/optimal-io-size/) - [alignment-offset](https://hesela.dev/terms/alignment-offset/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [physical-sector](https://hesela.dev/terms/physical-sector/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [direct-io-alignment](https://hesela.dev/terms/direct-io-alignment/) Citations: - [linux-abi] Linux 6.12: stable sysfs block ABI, sector sizes and I/O topology. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-10-19) - [linux-limits] Linux 6.12: block limits validation and bdev_alignment_offset. https://raw.githubusercontent.com/torvalds/linux/v6.12/block/blk-settings.c (accessed 2026-10-19) - [blockdev] util-linux 2.40.2: blockdev query options and byte units. https://raw.githubusercontent.com/util-linux/util-linux/v2.40.2/disk-utils/blockdev.8.adoc (accessed 2026-10-19) - [hesela-sector-alignment] Hesela: 512e, 4Kn and alignment: geometry is not durability. https://hesela.com/analyses/sector-sizes-alignment-not-durability/ (accessed 2026-10-19) ### Minimum storage duration URL: https://hesela.dev/terms/minimum-storage-duration/ Related article: https://hesela.com/tech/hot-warm-cold/ Also known as: minimum billable storage duration Status: shipping Record updated: 2026-10-23 Minimum storage duration is a billing period for which a storage class can charge even when an object leaves the class earlier. Note: This is not a retention lock, a minimum recovery window or a promise of continued access. Deletion protection requires a separate control such as version-scoped Object Lock. [object-lock] The documented Nearline/Coldline/Archive service lists 30, 90 and 365 days respectively. Early deletion or replacement can incur the remaining charge; Object Lifecycle Management class changes and Autoclass have exceptions. Versioning and soft delete also affect the accounting. [gcs-pricing] Rules differ across services. S3 can charge the unelapsed minimum when a Lifecycle transition leaves a class early. Check the operation as well as the destination tier. [s3-lifecycle] Sources and caveats: - Billing semantics checked on 2026-10-23, not a price quote or a retention-policy recommendation. Related terms: - [cold-archive](https://hesela.dev/terms/cold-archive/) - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [minimum-billable-object-size](https://hesela.dev/terms/minimum-billable-object-size/) - [object-lock](https://hesela.dev/terms/object-lock/) Citations: - [gcs-pricing] Google Cloud Storage pricing: minimum duration, early deletion and exceptions. https://cloud.google.com/storage/pricing#storage-pricing (accessed 2026-10-23) - [s3-lifecycle] Amazon S3: Lifecycle transitions and minimum-duration charges. https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html (accessed 2026-10-23) - [object-lock] Amazon S3 Object Lock: object-version retention is distinct from billing. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html (accessed 2026-10-23) ### Minimum-storage regenerating code URL: https://hesela.dev/terms/minimum-storage-regenerating-code/ Also known as: MSR code Status: limited Record updated: 2026-11-22 A minimum-storage regenerating code minimizes repair download at the minimum-storage point for a specified recovery threshold and helper count. Note: With k fragments sufficient to recover the data, n stored fragments, d helpers and S bytes per fragment, symmetric single-loss repair downloads dS/(d-k+1), where k <= d < n. This budget is conditional on a suitable code and repair procedure, not a property of every MDS implementation. In a (4, 2) example, a 2 Mb object is stored as four 1 Mb fragments; three helpers each send 0.5 Mb, so repair moves 1.5 Mb instead of the 2 Mb needed to decode the object first. [dimakis] Functional repair preserves recoverability but can change a fragment's contents; exact repair reproduces the lost fragment. One practical exact-repair construction with (20, 16) and 19 helpers reads 256 of 1024 sub-symbols from each helper, a normalized repair bandwidth of 0.297. Lower download volume does not by itself establish lower physical disk reads or shorter recovery time. [clay] Advantages: - At the minimum-storage point each node stores no more than an MDS fragment, so the repair saving comes without extra storage overhead. (sources: [dimakis]) Limitations: - Sub-packetization grows with the code: the (20, 16) construction divides each fragment into 1024 sub-symbols, which can fragment reads on small stripes. (sources: [clay]) Sources and caveats: - dimakis read 2026-10-23, sections I and III and Fig. 2, for the repair-bandwidth formula and the (4, 2) example. - clay read 2026-10-23, sections 2 and 5, for exact repair and the (20, 16) parameters. - A cluster-storage plugin manual with a deprecation notice is listed but not used in prose; check the deployed release. - A companion analysis on local versus whole-node repair is listed but not used in prose. - 2026-11-22: linked the CLAY construction; reviewed shortening and distinguished helper-byte accounting from primary-forwarding traffic. Related terms: - [drboost](https://hesela.dev/terms/drboost/) - [optimal-access-repair](https://hesela.dev/terms/optimal-access-repair/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [subpacketization](https://hesela.dev/terms/subpacketization/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) - [maximum-repair-load](https://hesela.dev/terms/maximum-repair-load/) - [parity-declustering](https://hesela.dev/terms/parity-declustering/) - [clay-code](https://hesela.dev/terms/clay-code/) - [minimum-bandwidth-regenerating-code](https://hesela.dev/terms/minimum-bandwidth-regenerating-code/) - [repair-by-transfer](https://hesela.dev/terms/repair-by-transfer/) Citations: - [dimakis] Dimakis et al. Network Coding for Distributed Storage Systems. IEEE TIT 56(9), 4539-4551 (2010), DOI 10.1109/TIT.2010.2054295; equation 5. https://pbg.web.engr.illinois.edu/papers/coding-journal.pdf (accessed 2026-10-23) - [clay] Vajha et al. Clay Codes: Moulding MDS Codes to Yield an MSR Code. FAST 2018, 139-154; sections 2, 4 and 5. https://www.usenix.org/system/files/conference/fast18/fast18-vajha.pdf (accessed 2026-10-23) - [clay-plugin-manual] Ceph: CLAY code plugin, development documentation; helper ranges, sub-chunks and deprecation notice. https://docs.ceph.com/en/latest/rados/operations/erasure-code-clay/ (accessed 2026-10-18) - [hesela-lrc] Hesela: Local repair is not whole-node repair. https://hesela.com/analyses/lrc-repair-costs-locality/ (accessed 2026-10-18) ### Minuet (multiversion B-tree) URL: https://hesela.dev/terms/minuet-btree/ Also known as: Minuet PVLDB 2012, Minuet multiversion B-tree Status: research Record updated: 2026-11-30 Minuet is a research distributed in-memory B-tree built on Sinfonia with copy-on-write snapshots and branching writable clones. Note: Internal-node dirty reads avoid unnecessary validation, but need fence-key and height checks. With snapshots, a node can cover the correct key range yet belong to the wrong version; copy-version checks address that additional hazard. [btree2012] Snapshot creation updates replicated tip metadata across memnodes. Borrowed snapshots share suitably timed concurrent requests while preserving strict serializability; reusing an arbitrary older snapshot is a different freshness choice. [btree2012] The section 6 experiments used primary-backup replication with logging disabled. Their performance does not establish durability after loss of all volatile copies. This 2012 B-tree differs from the FAST 2009 SAN coordination project. [btree2012] [san2009] Sources and caveats: - Sections 2-6 reviewed for architecture, traversal validation, snapshots, clones and evaluation configuration. No Minuet implementation or benchmark was reproduced. Related terms: - [minuet-san](https://hesela.dev/terms/minuet-san/) - [sinfonia](https://hesela.dev/terms/sinfonia/) Citations: - [btree2012] Sowell, Golab and Shah. Minuet: A Scalable Distributed Multiversion B-Tree. PVLDB 5(9), 2012, pp. 884-895. https://vldb.org/pvldb/vol5/p884_benjaminsowell_vldb2012.pdf (accessed 2026-11-30) - [san2009] Ermolinskiy et al. Minuet: Rethinking Concurrency Control in Storage Area Networks. FAST 2009, sections 3-4. https://www.usenix.org/legacy/event/fast09/tech/full_papers/ermolinskiy/ermolinskiy_html/index.html (accessed 2026-11-30) ### Minuet (SAN coordination) URL: https://hesela.dev/terms/minuet-san/ Also known as: Minuet FAST 2009, Minuet SAN Status: research Record updated: 2026-11-30 Minuet is a research SAN coordination design that checks annotated I/O at storage targets to enforce session isolation. Note: The FAST 2009 design orders accepted I/O through a guard and persistent per-resource session state. Clients may hold conflicting locks simultaneously; the target must reject commands that violate session isolation. Lock ownership alone does not determine which requests may execute. [san2009] Multi-resource transactions additionally require a transaction protocol, redo logs and recovery. The prototype modified both iSCSI initiators and targets; ordinary iSCSI support does not imply this guard exists. [san2009] This is the SAN project by Ermolinskiy, Moon, Chun and Shenker, distinct from the 2012 Sinfonia-based multiversion B-tree with the same name. [san2009] [btree2012] Sources and caveats: - Historical research design, not a current SAN feature specification. No prototype, failure test or benchmark was reproduced. Related terms: - [minuet-btree](https://hesela.dev/terms/minuet-btree/) - [fencing-token](https://hesela.dev/terms/fencing-token/) Citations: - [san2009] Ermolinskiy et al. Minuet: Rethinking Concurrency Control in Storage Area Networks. FAST 2009, sections 3-4. https://www.usenix.org/legacy/event/fast09/tech/full_papers/ermolinskiy/ermolinskiy_html/index.html (accessed 2026-11-30) - [btree2012] Sowell, Golab and Shah. Minuet: A Scalable Distributed Multiversion B-Tree. PVLDB 5(9), 2012, pp. 884-895. https://vldb.org/pvldb/vol5/p884_benjaminsowell_vldb2012.pdf (accessed 2026-11-30) ### Mirror-accelerated parity URL: https://hesela.dev/terms/mirror-accelerated-parity/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: MAP Status: shipping Record updated: 2026-10-23 Mirror-accelerated parity is a ReFS volume arrangement that combines mirror and parity regions and rotates data from mirror to parity. Note: ReFS can write into mirror and later rotate data to parity; insufficient free mirror space can instead cause direct parity writes. At the ReFS tiering layer, reads do not themselves rotate parity data into mirror. Separate drive caching can still accelerate reads. [refs-map] [spaces-cache] Mirror and parity identify resiliency, not necessarily SSD and HDD media. This arrangement requires ReFS but is not exclusive to Storage Spaces Direct: the standalone Storage Bus Cache tutorial also describes operation with ReFS volumes on Windows Server 2022. [spaces-map-volumes] [spaces-standalone] In the standalone tutorial's resilient setup, the bus cache serves reads; the mirror tier provides write caching with the default Shared provision mode. This is different from the read/write bus cache described for non-resilient Simple spaces. [spaces-standalone] Sources and caveats: - Documentation synthesis, not an executed Windows experiment or a performance guarantee. The standalone tutorial's explicit prerequisites are narrower than its general version banner. Related terms: - [storage-spaces](https://hesela.dev/terms/storage-spaces/) - [storage-spaces-direct](https://hesela.dev/terms/storage-spaces-direct/) - [refs](https://hesela.dev/terms/refs/) - [mirroring](https://hesela.dev/terms/mirroring/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [storage-bus-cache](https://hesela.dev/terms/storage-bus-cache/) Citations: - [refs-map] Microsoft Learn: Mirror-accelerated parity rotation and I/O behavior. https://learn.microsoft.com/en-us/windows-server/storage/refs/mirror-accelerated-parity (accessed 2026-10-23) - [spaces-cache] Microsoft Learn: Storage pool cache at the drive layer. https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/cache (accessed 2026-10-23) - [spaces-map-volumes] Microsoft Learn: Create volumes: mirror-accelerated parity requires ReFS. https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/create-volumes (accessed 2026-10-23) - [spaces-standalone] Microsoft Learn: Standalone Storage Bus Cache prerequisites and ReFS volumes. https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/storage-spaces-storage-bus-cache (accessed 2026-10-23) ### Mirror set URL: https://hesela.dev/terms/mirror-set/ Related analysis: https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/ Also known as: Mirror group, Mirrored set Status: shipping Record updated: 2026-10-15 A mirror set is a group of storage members configured to maintain copies of the same logical data. Note: OpenZFS permits mirrors with two or more members: an N-member mirror can retain its data after N-1 complete member failures when the remaining copy is current and readable. Multiple top-level data mirrors hold different portions of a pool; they are not copies of the entire pool. [zconcepts23] A set is a redundancy group, whereas a failure domain identifies a shared cause of unavailability. The fixed-pair example counts failure sets that remove every copy from at least one pair; it does not estimate real failure rates. [hesela-mirror-topology] Limitations: - A configured but unsynchronized replacement does not yet provide a complete current copy. (sources: [zattach23]) Related terms: - [mirroring](https://hesela.dev/terms/mirroring/) - [raid-10](https://hesela.dev/terms/raid-10/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [resilver](https://hesela.dev/terms/resilver/) Citations: - [zconcepts23] OpenZFS 2.3: zpoolconcepts(7), mirror virtual devices. https://openzfs.github.io/openzfs-docs/man/v2.3/7/zpoolconcepts.7.html (accessed 2026-10-15) - [zattach23] OpenZFS 2.3: zpool-attach(8), redundancy after resilver. https://openzfs.github.io/openzfs-docs/man/v2.3/8/zpool-attach.8.html (accessed 2026-10-15) - [hesela-mirror-topology] Hesela: RAID 10 mirror topology and exact failure-set counts. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#mirror-topology-heading (accessed 2026-10-15) ### Mirroring (storage) URL: https://hesela.dev/terms/mirroring/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Status: shipping Record updated: 2026-12-04 Storage mirroring maintains a copy of source data on another storage device or system. Note: Mirroring describes a maintained-copy relationship, not an unconditional promise of instantaneous failover. [snia-definition] The acknowledgement policy determines how far an update must progress before success is reported. Failover additionally depends on failure detection, replica eligibility and preventing conflicting writers. DRBD illustrates different completion boundaries for replicated block writes; those are not database query-visibility guarantees. [drbd] [hesela-replication] A mirror set is one local redundancy group, not necessarily a full copy of a striped array or pool. The RAID10 example explains why the positions of failed members matter. [hesela-mirror-topology] Related terms: - [raid](https://hesela.dev/terms/raid/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [synchronous-replication](https://hesela.dev/terms/synchronous-replication/) - [asynchronous-replication](https://hesela.dev/terms/asynchronous-replication/) - [replication-lag](https://hesela.dev/terms/replication-lag/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [mirror-set](https://hesela.dev/terms/mirror-set/) - [raid-10](https://hesela.dev/terms/raid-10/) - [lvm](https://hesela.dev/terms/lvm/) - [striping](https://hesela.dev/terms/striping/) - [raid-1](https://hesela.dev/terms/raid-1/) - [alternating-mirroring](https://hesela.dev/terms/alternating-mirroring/) Citations: - [c1] Mirroring (storage). https://en.wikipedia.org/wiki/RAID (accessed 2026-03-26) - [snia-mirror] SNIA Swordfish 1.2.8: ReplicaType Mirror. https://www.snia.org/sites/default/files/technical-work/swordfish/release/v1.2.8/html/Specification/Swordfish_v1.2.8_Specification.html (accessed 2026-10-12) - [drbd] LINBIT DRBD 9 guide: section 2.3, replication modes. https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/ (accessed 2026-12-04) - [hesela-replication] Replication acknowledgements: received, durable, applied. https://hesela.com/analyses/replication-acknowledgements-durability-lag/ (accessed 2026-10-12) - [hesela-mirror-topology] Hesela: RAID 10 mirror topology and exact failure-set counts. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#mirror-topology-heading (accessed 2026-10-15) - [snia-definition] SNIA online dictionary: mirroring. https://www.snia.org/education/online-dictionary/term/mirroring (accessed 2026-12-04) ### ECC miscorrection URL: https://hesela.dev/terms/miscorrection/ Related analysis: https://hesela.com/analyses/nand-ecc-bch-vs-ldpc/ Also known as: Miscorrection, Decoder miscorrection Status: shipping Record updated: 2026-11-26 ECC miscorrection occurs when a decoder accepts a codeword other than the originally encoded word. Note: A valid output is not necessarily the intended output. For a linear code, a zero syndrome establishes code membership rather than identity with the original word. A declared decoding failure instead leaves the result unaccepted. [coding] [miao-drs-v3] An ideal miscorrection detector can use the known transmitted word to reject every wrong candidate. Practical reliability-score checks do not have that oracle. The product-code study separates these cases under a binary-input Gaussian-noise channel, not a measured NAND device. [miao-drs-v3] Keep decoder status, the number of proposed changes and comparison with trusted original data separate. A later integrity check can expose a wrong accepted result; miscorrection need not remain silent at every system layer. [hesela-ecc] Sources and caveats: - The product-code paper concerns communication-channel simulations; its numerical gains are not SSD reliability or performance measurements. [miao-drs-v3] Related terms: - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [error-syndrome](https://hesela.dev/terms/error-syndrome/) - [codeword](https://hesela.dev/terms/codeword/) - [bch-code](https://hesela.dev/terms/bch-code/) - [ldpc](https://hesela.dev/terms/ldpc/) - [silent-data-corruption](https://hesela.dev/terms/silent-data-corruption/) Citations: - [coding] H. C. A. van Tilborg: Coding Theory, a First Course, section 2.2, syndrome decoding. https://henkvt.win.tue.nl/images/CODING.pdf (accessed 2026-11-26) - [miao-drs-v3] Miao, Rapp and Schmalen (2022): Improved Soft-aided Decoding of Product Codes with Dynamic Reliability Scores, sections II-IV. https://arxiv.org/abs/2204.00466v3 (accessed 2026-11-26) - [hesela-ecc] Hesela: BCH, LDPC and the RBER aggregation trap, decoder contracts. https://hesela.com/analyses/nand-ecc-bch-vs-ldpc/#decoder-contract (accessed 2026-11-26) ### Misdirected write URL: https://hesela.dev/terms/misdirected-write/ Status: unknown Record updated: 2026-11-01 A misdirected write stores an update at the wrong address or on the wrong device. Note: The original destination may remain stale while another location is overwritten; a valid checksum does not by itself bind returned data to the requested location. The intended location never receives the update and behaves like a lost write, while another location, the victim, is overwritten. [krioukov2008] If the data and its matching checksum move together, checking that pair can pass despite the wrong location; valid format alone does not establish identity. [iron2005] In the cited model, physical identity is checked on maintenance reads as well as user reads; logical identity is checked only on user reads. Write-verify re-issues only the target's write and leaves the victim consistent but wrong. [krioukov2008] RAID scrubs cannot check logical identity, which only the file system understands. [field] The cited Linux documentation describes the classic 8-byte DIF format, not every protection-information format. Participating devices must support and enable the relevant checks; reference tags may be remapped along the I/O path. [kdoc] A valid address alone does not establish freshness. [krioukov2008] Limitations: - Physical identity alone does not detect a lost write that leaves an older block at the correct address. (sources: [krioukov2008]) Sources and caveats: - The FAST 2008 field study groups lost and misdirected writes under observed identity discrepancies; the separate model-checking study explicitly distinguishes their fault transitions. - The block-integrity documentation was written by an employee of a storage company; the check depends on drives and controllers supporting protection information. - The parent-checksum file-system study describes detection of misdirected writes, but its fault injection flipped bits only. Related terms: - [lost-write](https://hesela.dev/terms/lost-write/) - [protection-information](https://hesela.dev/terms/protection-information/) - [parity-pollution](https://hesela.dev/terms/parity-pollution/) - [version-mirroring](https://hesela.dev/terms/version-mirroring/) Citations: - [field] Bairavasundaram et al. An Analysis of Data Corruption in the Storage Stack. FAST 2008, sections 2-3 and 6. https://www.usenix.org/legacy/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/index.html (accessed 2026-11-01) - [hesela-integrity] Hesela: checksum, identity and freshness boundaries with executable synthetic examples. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-10-11) - [iron2005] Prabhakaran et al. IRON File Systems. ACM SOSP 2005, sections 2 and 3. https://research.cs.wisc.edu/adsl/Publications/iron-sosp05.pdf (accessed 2026-10-16) - [krioukov2008] Krioukov et al. Parity Lost and Parity Regained. USENIX FAST 2008, sections 2-4. https://www.usenix.org/legacy/event/fast08/tech/full_papers/krioukov/krioukov_html/index.html (accessed 2026-11-01) - [zfs2010] Zhang, Rajimwale, Arpaci-Dusseau and Arpaci-Dusseau. End-to-end Data Integrity for File Systems: A ZFS Case Study. USENIX FAST 2010. https://www.usenix.org/legacy/event/fast10/tech/full_papers/zhang.pdf (accessed 2026-10-16) - [kdoc] Linux v6.16 Documentation/block/data-integrity.rst. https://github.com/torvalds/linux/blob/v6.16/Documentation/block/data-integrity.rst (accessed 2026-11-01) ### Misra-Gries summary URL: https://hesela.dev/terms/misra-gries/ Also known as: Misra-Gries algorithm, Frequent algorithm Status: research Record updated: 2026-11-20 A Misra-Gries summary keeps a bounded set of labelled counters that contains every item exceeding a specified fraction of an insertion-only stream. Note: With m counters and N unit arrivals, increment a tracked key or allocate a free counter. If all counters are occupied by other keys, decrement each and discard the new arrival, removing zero counters. Every key with frequency strictly greater than N/(m+1) survives; equality is not enough. A surviving counter is a lower bound, not an exact count or a top-m ranking. [misra2018] [mergeable] Let R be the remaining counter sum. The number of decrement rounds is D = (N-R)/(m+1). For any key, including an untracked key with counter zero, its true count lies between c and c+D. Candidates with c <= R/(m+1) cannot exceed the original strict threshold N/(m+1) and can be removed before an exact recount. [mergeable] [misra2018] For the constructed stream A B C A B D A A A B with two counters, the result is A:3, B:1 and D=2. Exact counts are A:5, B:3, C:1, D:1. B can be rejected immediately: its upper bound 3 cannot exceed 10/3. The only remaining candidate is A. [worked] Sources and caveats: - The original algorithm is due to Misra and Gries (1982); the linked 2018 author note supplies the residual-candidate proof. Here m counts slots, so the note's k equals m+1. - The example counts unit requests for exact identities, not bytes, latency or physical I/O. It is a deterministic illustration, not an empirical cache study. - The stated guarantees cover cumulative unit insertions. Weighted updates, deletions, sliding windows and counter saturation require their own contracts. Related terms: - [space-saving](https://hesela.dev/terms/space-saving/) - [count-min-sketch](https://hesela.dev/terms/count-min-sketch/) - [cache-admission](https://hesela.dev/terms/cache-admission/) Citations: - [misra2018] Jayadev Misra. A Proof of a Heavy Hitters Algorithm, 7 February 2018, section 3. https://www.cs.utexas.edu/~misra/Notes.dir/HeavyHitters.pdf (accessed 2026-11-20) - [mergeable] Agarwal, Cormode, Huang, Phillips, Wei and Yi. Mergeable Summaries, section 2, Lemmas 1-2. https://users.cs.utah.edu/~jeffp/papers/merge-summ.pdf (accessed 2026-11-20) - [worked] Hesela. Frequent-item certificates: exact examples, executable model and tests. https://hesela.dev/research/heavy-hitter-certificates/README.md (accessed 2026-11-20) ### Miss-ratio curve URL: https://hesela.dev/terms/miss-ratio-curve/ Also known as: MRC, cache miss curve Status: research Record updated: 2026-11-21 A miss-ratio curve relates cache capacity to the fraction of requests that miss under a specified workload, policy and initial state. Note: For equal-size demand-admitted LRU, count cold accesses plus reuses whose zero-based distinct-entry distance is at least the capacity, then divide by all requests. A one-based stack-distance formulation instead counts distances exceeding capacity. [counter-stacks] In the cold-start trace 0,1,2,0,0,2,1, capacities 1, 2 and 3 give 6/7, 5/7 and 3/7 misses. These are constructed counts, not device-speed predictions. [hesela] A trace starting mid-workload does not reveal the initial cache contents. Preserve the observation layer, history and time window; a whole-run aggregate can hide changing locality. [counter-stacks] A rising estimated LRU curve need not be a policy anomaly. Counter Stacks describes negative histogram bins from simultaneous HyperLogLog register updates; carrying negative mass forward to discount later positive bins restores monotonicity but not exactness. [counter-stacks] The linked synthetic example shows why clipping negative bins alone invents hits. It preserves raw and corrected values and the request denominator; it is not a trace replay or a performance measurement. [signed-example] Monotonicity depends on the policy. Waldspurger et al. observed nonmonotonic ARC behavior and LIRS behavior with a bounded S stack; this is distinct from sampling noise in an LRU estimate. [miniature17] A throughput-derived hit target can be checked against listed capacities, but a sparse curve does not establish the minimum between samples or guarantee the same profile after a workload change. [allocation-example] Related terms: - [reuse-distance](https://hesela.dev/terms/reuse-distance/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) - [cache-inclusion-property](https://hesela.dev/terms/cache-inclusion-property/) - [belady-anomaly](https://hesela.dev/terms/belady-anomaly/) - [working-set](https://hesela.dev/terms/working-set/) - [locality-of-reference](https://hesela.dev/terms/locality-of-reference/) - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) - [shards](https://hesela.dev/terms/shards/) - [statstack](https://hesela.dev/terms/statstack/) - [statcache](https://hesela.dev/terms/statcache/) - [counter-stacks](https://hesela.dev/terms/counter-stacks/) - [average-eviction-time](https://hesela.dev/terms/average-eviction-time/) - [working-set-footprint](https://hesela.dev/terms/working-set-footprint/) - [che-approximation](https://hesela.dev/terms/che-approximation/) - [independent-reference-model](https://hesela.dev/terms/independent-reference-model/) - [mimir](https://hesela.dev/terms/mimir/) - [cliffhanger](https://hesela.dev/terms/cliffhanger/) - [argon](https://hesela.dev/terms/argon/) Citations: - [counter-stacks] Wires et al. Characterizing Storage Workloads with Counter Stacks. OSDI 2014, pp. 335-349; sections 2, 3.2 and 6.1. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-wires.pdf (accessed 2026-11-11) - [hesela] Hesela. LRU sizing from distinct-entry reuse distances; constructed examples. https://hesela.com/analyses/ssd-mapping-cache-hmb/#reuse-distance (accessed 2026-10-19) - [signed-example] Hesela. Signed histogram correction: constructed ten-request arithmetic and executable tests. https://hesela.com/analyses/ssd-mapping-cache-hmb/#estimated-mrc (accessed 2026-11-11) - [miniature17] Waldspurger et al. Cache Modeling and Optimization using Miniature Simulations. USENIX ATC 2017, sections 1.1, 3.2 and 4.1. https://www.usenix.org/system/files/conference/atc17/atc17-waldspurger.pdf (accessed 2026-11-21) - [allocation-example] Hesela: discrete cache profiles and budget feasibility, synthetic example. https://hesela.com/analyses/ssd-fairness-shared-queues/#argon-cache-capacity (accessed 2026-11-21) ### Mission-critical HDD URL: https://hesela.dev/terms/mission-critical-hdd/ Also known as: enterprise performance HDD, 10K/15K HDD Status: limited Record updated: 2026-10-22 A mission-critical HDD is a 10,000 or 15,000-rpm enterprise hard drive, usually SAS with small capacity, built for low latency and data integrity in transactional workloads. Note: The class is defined by rotation speed and duty, not by a standard, and common usage separates four-digit speeds of 5,400 and 7,200 rpm from five-digit speeds of 10,000 and 15,000 rpm. [ibm-nearline] Average rotational latency is half a revolution, 3.0 ms at 10,000 rpm and 2.0 ms at 15,000 rpm against 4.17 ms at 7,200 rpm. One 2.5-inch 15,000-rpm SAS model of 300, 600 or 900 GB states 2.0 ms average rotational latency, 12 Gbit/s SAS with up to 1,200 MB/s per port and 2,400 MB/s with both ports, and 210 to 315 MB/s sustained transfer. Its AFR of 0.44% (MTBF 2,000,000 hours) over a five-year life assumes 8,760 power-on hours per year, at most 50 °C HDA temperature and 26 °C wet-bulb ambient, and is a population statistic, not a prediction for one unit. [mc-spec] T10 Protection Information adds 8 bytes to each 512-byte block, costing about 1.56% of sequential performance, and a non-volatile cache protects write data on unexpected power loss. [mc-spec] In a field study of about 100,000 drives, two 15,000-rpm SCSI populations with a datasheet MTTF of 1,500,000 hours (0.58% AFR) were replaced at 3.0% and 3.7% per year, and rates across all drive types were typically 2 to 4%. [fast07] Advantages: - Protection Information can be generated and checked at the host bus adapter, so integrity checking covers the path to the drive. (sources: [mc-spec]) - Unrecovered read errors are specified below 1 sector per 10^16 bits transferred. (sources: [mc-spec]) Limitations: - The sustained media rate is far below the per-port interface rate, so link speed does not describe drive throughput. (sources: [mc-spec]) Sources and caveats: - Drive figures come from one drive maker's product manual (Rev. C, September 2020) for one model family. - The field study is independent university work from 2007 on drives of an earlier generation; a third 15,000-rpm population at 3.1% has no listed datasheet MTTF. - The four-digit and five-digit speed split is described, and objected to, by one storage company's author in a support article. - Arithmetic: 60 / rpm / 2 gives 3.0 ms at 10,000 rpm, 2.0 ms at 15,000 rpm and 4.17 ms at 7,200 rpm; 8 / 512 = 1.56%. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [nearline-sas](https://hesela.dev/terms/nearline-sas/) - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [sas](https://hesela.dev/terms/sas/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [seek-time](https://hesela.dev/terms/seek-time/) - [protection-information](https://hesela.dev/terms/protection-information/) - [afr](https://hesela.dev/terms/afr/) - [mtbf](https://hesela.dev/terms/mtbf/) - [interlaced-magnetic-recording](https://hesela.dev/terms/interlaced-magnetic-recording/) Citations: - [c1] Mission-critical HDD. https://en.wikipedia.org/wiki/Hard_disk_drive (accessed 2026-03-26) - [mc-spec] Seagate. Enterprise Performance 15K HDD Product Manual, Rev. C, September 2020, sections 4.2-5.2 and 9.5. https://www.seagate.com/content/dam/seagate/migrated-assets/www-content/product-content/enterprise-performance-savvio-fam/enterprise-performance-15k-hdd/ent-perf-15k-6/en-us/docs/100827313c.pdf (accessed 2026-10-16) - [fast07] Schroeder and Gibson. Disk Failures in the Real World: What Does an MTTF of 1,000,000 Hours Mean to You? USENIX FAST 2007. https://www.usenix.org/events/fast07/tech/schroeder/schroeder_html/ (accessed 2026-10-16) - [ibm-nearline] IBM Support: The Correct Use of the term Nearline. https://www.ibm.com/support/pages/correct-use-term-nearline (accessed 2026-10-16) ### MITHRIL URL: https://hesela.dev/terms/mithril/ Also known as: MITHRIL prefetching Status: research Record updated: 2026-11-30 MITHRIL is a history-based cache prefetcher that mines recurring associations among moderately frequent block requests. Note: Mechanism: Logical request positions reveal associations without application-context tags. The optimized design usually records cache misses; minimum and maximum support exclude insufficiently observed and overly frequent blocks. [paper] Memory budget: Recording, mining and prefetch metadata consume part of the cache budget, reducing space available for cached data. [paper] Tail latency: In the CP w94 replay, MITHRIL with LRU had a 2,551-microsecond median versus 3,934 for AMP, but a 10,330-microsecond 99th percentile versus 7,765. A lower median did not imply a better tail. AMP here means Adaptive Multi-stream Prefetching, not the program-context buffer-caching framework. The backend was a magnetic EBS volume, not a modern SSD benchmark. [paper] Scope: The hit-ratio evaluation used 106 CP and 29 MSR traces. C-Miner and QuickMine were not direct experimental baselines. Warmup and late prefetches matter when translating hit ratios into latency. [paper] Implementation: The pinned C artifact exposes miss, eviction, combined and every-request recording modes, plus bounded metadata and prefetch-list controls. These settings must accompany comparisons. [code] Sources and caveats: - Primary-paper review, not an independent performance replication. CP means CloudPhysics; MSR means Microsoft Research. DOI: 10.1145/3127479.3131210. [paper] - CMimircache carries a GPL-3.0 license. The inspected snapshot is not established as the exact binary used for the paper. [artifact] Related terms: - [c-miner](https://hesela.dev/terms/c-miner/) - [quickmine](https://hesela.dev/terms/quickmine/) - [table-based-prefetching](https://hesela.dev/terms/table-based-prefetching/) - [prefetch-wastage](https://hesela.dev/terms/prefetch-wastage/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [paper] Yang et al. MITHRIL: Mining Sporadic Associations for Cache Prefetching. SoCC 2017, sections 4-5 and Table 3. https://junchengyang.com/publication/socc17-Mithril.pdf (accessed 2026-11-30) - [code] CMimircache: Mithril.h, commit 359adc17e39ad9753c611e6cc51ca250ddedb09b. https://github.com/1a1a11a/CMimircache/blob/359adc17e39ad9753c611e6cc51ca250ddedb09b/CMimircache/cache/include/Mithril.h (accessed 2026-11-30) - [artifact] PyMimircache: artifact provenance and pinned C submodule. https://github.com/1a1a11a/PyMimircache/tree/60e378a53ee9e039ed8f88bcb137b0ce5496eb66 (accessed 2026-11-30) ### MittOS URL: https://hesela.dev/terms/mittos/ Status: research Record updated: 2026-11-10 MittOS is a research operating-system design that uses predicted resource delays to reject reads and let applications retry another replica. Note: The rejection signal is EBUSY, not a media-error diagnosis. MittCFQ can revoke previously admitted reads when higher-priority arrivals consume their slack. The studied three-replica application's final attempt disables its deadline. [mittos-paper] The published SSD implementation requires an open-channel SSD and a modified kernel. Its LightNVM layer uses preprofiled NAND timings; this is not an ordinary NVMe configuration option. [mittssd-code] Limitations: - Prediction does not cover every software delay, and device performance profiles can drift. (sources: [mittos-paper]) Sources and caveats: - Hao, Li, Tong, Pakha, Suminto, Stuardo, Chien and Gunawi, SOSP 2017. DOI 10.1145/3132747.3132774 verified on the manuscript's first page. - Full paper acquired from its university course mirror; sections 3-5, 7 and 8 reviewed. No MittOS execution or hardware replication performed. - Implementation requirements checked against README.md at f987801270e84ff69bac9434b8ff4c0ae8d142c8; no claim that this revision is identical to the paper's evaluated system. Related terms: - [linnos](https://hesela.dev/terms/linnos/) - [hedged-request](https://hesela.dev/terms/hedged-request/) - [open-channel-ssd](https://hesela.dev/terms/open-channel-ssd/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [mittos-paper] Hao et al. MittOS: Supporting Millisecond Tail Tolerance with Fast Rejecting SLO-Aware OS Interface. SOSP 2017, sections 3-5, 7.8.1 and 8.1. https://courses.physics.illinois.edu/ece598ms/sp2018/papers/paper93.pdf (accessed 2026-11-10) - [mittssd-code] MittSSD author repository: hardware requirement and modified storage stack, pinned revision f987801. https://github.com/ucare-uchicago/MittSSD/blob/f987801270e84ff69bac9434b8ff4c0ae8d142c8/README.md (accessed 2026-11-10) ### MLC SSD URL: https://hesela.dev/terms/mlc-ssd/ Also known as: multi-level cell SSD, 2-bit-per-cell SSD Status: unknown Record updated: 2026-10-17 An MLC SSD uses NAND flash that, in the two-bit sense of MLC, encodes two bits per cell using four threshold-voltage states. Note: Encoding: Four states are not four sensing boundaries; two-bit MLC distinguishes four stored states. MLC is also used broadly for multi-bit NAND, so a product label needs its bits-per-cell qualifier. [encoding] Reliability: A lower raw bit error rate does not by itself imply fewer whole-drive replacements or uncorrectable errors. A production study found no general SLC advantage over MLC for those outcomes within its observed population. [fast16] Sources and caveats: - Schroeder et al., FAST 2016, Sections 2 and 7: ten custom Google drive models, six years of monitoring; exact fleet size was not disclosed. [fast16] - Its MLC models used 43-50 nm flash. The findings do not rank current TLC/QLC products or establish a class-wide MLC end-of-life date. [fast16] - Capacity multiplied by a chip P/E limit is not a measured host-write rating; use the exact SSD's qualification. Related terms: - [mlc](https://hesela.dev/terms/mlc/) - [tlc](https://hesela.dev/terms/tlc/) - [slc-ssd](https://hesela.dev/terms/slc-ssd/) - [tlc-ssd](https://hesela.dev/terms/tlc-ssd/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) - [raw-bit-error-rate](https://hesela.dev/terms/raw-bit-error-rate/) - [nand-flash](https://hesela.dev/terms/nand-flash/) Citations: - [c1] MLC SSD. https://en.wikipedia.org/wiki/Multi-level_cell (accessed 2026-03-26) - [acm-anatomy] Michael Cornwell, Anatomy of a Solid-State Drive. https://cacm.acm.org/practice/anatomy-of-a-solid-state-drive/ (accessed 2026-10-16) - [fast16] Schroeder, Lagisetty and Merchant - Flash Reliability in Production, FAST 2016, Sections 2 and 7. https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-10-16) - [encoding] KIOXIA - Multi-level cell technology: bits and threshold-voltage states. https://www.kioxia.com/en-jp/rd/technology/multi-level-cell.html (accessed 2026-10-16) ### Multi-level cell (MLC) URL: https://hesela.dev/terms/mlc/ Technology reference: https://hesela.com/tech/mlc/ Also known as: 2 bits per cell, 2-bit MLC Status: limited Record updated: 2026-10-16 NAND flash that stores two bits per cell using four distinguishable threshold-voltage states. Note: Terminology: MLC conventionally means two-bit NAND, while multi-level cell can also include three-bit TLC and four-bit QLC. [nand-evo] [nand-qvo] Architecture: Bits per cell describe encoding density, separately from planar or 3D array construction. [nand-states] Programming: Lower and upper pages can share cells, so programming and protection must be interpreted at the physical-page level rather than inferred from host addresses. [linux] [cai] Sources and caveats: - Samsung's 870 EVO and 870 QVO datasheets provide examples of the broader MLC naming convention, not an exhaustive product inventory. [nand-evo] [nand-qvo] Related terms: - [slc](https://hesela.dev/terms/slc/) - [tlc](https://hesela.dev/terms/tlc/) - [qlc](https://hesela.dev/terms/qlc/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [nand-page-pairing](https://hesela.dev/terms/nand-page-pairing/) - [program-interference](https://hesela.dev/terms/program-interference/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [mlc-ssd](https://hesela.dev/terms/mlc-ssd/) - [slc-cache](https://hesela.dev/terms/slc-cache/) Citations: - [c1] Multi-level cell. https://en.wikipedia.org/wiki/Multi-level_cell (accessed 2026-03-26) - [n2] Samsung — Evaluating MLC vs TLC vs V-NAND. https://image-us.samsung.com/SamsungUS/b2b/resource/2015/11/25/WHP-SSD-MLCvsTLC-OCT15J_1.pdf (accessed 2026-10-16) - [n3] Micron — NAND flash. https://www.micron.com/products/storage/nand-flash (accessed 2026-10-07) - [linux] Linux v6.12, include/linux/mtd/mtd.h: mtd_pairing_info and mtd_pairing_scheme. https://github.com/torvalds/linux/blob/v6.12/include/linux/mtd/mtd.h (accessed 2026-10-11) - [cai] Cai et al. - Vulnerabilities in MLC NAND Flash Memory Programming, HPCA 2017, sections 2-4 and 6. DOI: 10.1109/HPCA.2017.61. https://research.ece.cmu.edu/safari/pubs/flash-memory-programming-vulnerabilities_hpca17.pdf (accessed 2026-10-11) - [hesela-pairing] Hesela: NAND paired pages and durability boundaries. https://hesela.com/analyses/nand-paired-pages-durability/ (accessed 2026-10-11) - [nand-states] KIOXIA - Multi-level cell technology, threshold distributions and multilayering. https://www.kioxia.com/en-jp/rd/technology/multi-level-cell.html (accessed 2026-10-16) - [nand-evo] Samsung - 870 EVO datasheet, Revision 1.1, page 3 and notes 2-3, 5-8. https://download.semiconductor.samsung.com/resources/data-sheet/Samsung_SSD_870_EVO_Data_Sheet_Rev1.1_230509.pdf (accessed 2026-10-16) - [nand-qvo] Samsung - 870 QVO datasheet, Revision 1.1, June 2020, page 5 and notes 2-3. https://semiconductor.samsung.com/resources/data-sheet/Samsung_SSD_870_QVO_Data_Sheet_Rev1.1.pdf (accessed 2026-10-16) ### Memory locking (mlock) URL: https://hesela.dev/terms/mlock/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: mlock(2), memory locking Status: shipping Record updated: 2026-12-01 mlock keeps the pages intersecting a process address range resident in RAM while the memory lock applies. Note: Successful mlock populates the range; Linux mlock2 with MLOCK_ONFAULT instead locks currently resident pages and locks others when faults populate them. Resource limits and permissions apply. [locking-man] Locks are not inherited across fork, and later writes can incur copy-on-write faults. Unmapping, exec and process exit remove the relevant locks. Locking does not exclude RAM from suspend-to-disk images. [locking-man] MAP_LOCKED is weaker: mmap may succeed despite incomplete prefaulting. [locking-mmap] Residency is not synchronization: msync propagates shared file-mapping changes to the filesystem. MS_INVALIDATE can fail with EBUSY for a locked range; this is not a media-error diagnosis. [locking-msync] Advantages: - Can keep a selected working range resident without locking the entire address space. Limitations: - Does not make file updates durable or transactional. - On-fault locking is not proof that every page has already been populated. Sources and caveats: - Primary API documentation reviewed 2026-11-14; Linux-specific mlock2 behavior is distinguished from mlock. No latency, swap or power-loss experiment performed. Related terms: - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [msync](https://hesela.dev/terms/msync/) - [cachestat](https://hesela.dev/terms/cachestat/) - [madv-populate-read](https://hesela.dev/terms/madv-populate-read/) - [madv-populate-write](https://hesela.dev/terms/madv-populate-write/) Citations: - [locking-man] Linux man-pages: mlock(2), residency, on-fault locking and lifetime. https://man7.org/linux/man-pages/man2/mlock.2.html (accessed 2026-11-14) - [locking-mmap] Linux man-pages: mmap(2), MAP_LOCKED prefault limitations. https://man7.org/linux/man-pages/man2/mmap.2.html (accessed 2026-11-14) - [locking-msync] Linux man-pages: msync(2), synchronization and locked-range invalidation. https://man7.org/linux/man-pages/man2/msync.2.html (accessed 2026-11-14) ### Mnemosyne URL: https://hesela.dev/terms/mnemosyne/ Status: research Record updated: 2026-12-05 Mnemosyne is a research system that exposes persistent memory to user programs through persistent regions, update primitives and durable memory transactions. Note: Logging: Its raw word log reserves one bit per 64-bit stored word to distinguish log generations. Recovery checks the expected generation, changing it at wraparound, and stops at a missing word. The payload occupies the other 63 bits. [gcc-log] [gcc-recovery] Ordering: Detecting an incomplete log append does not make an append call durable. The paper separates append from flush and uses write-ahead redo logging for transactions. Its failure model assumes atomic writes of at least 64 bits. [paper] Worked model: A bounded Hesela example enumerates surviving-word subsets and shows counterexamples for a separately persisted tag, an old matching generation and payload corruption. It assumes trusted record length and head metadata, not a complete recovery engine. [hesela-model] Contrast: Mnemosyne records new values for redo before installation; NV-Heaps copies whole objects into an undo log before modification. These are different recovery protocols. [paper] [nv-heaps-paper] Limitations: - The 2011 performance evaluation uses DRAM-based PCM emulation, not production persistent-memory hardware; its timing results do not establish performance on later devices. (sources: [paper]) - A generation tag is not a checksum and cannot establish transaction validity independently of framing, ordering and safe space reuse. (sources: [hesela-model]) Sources and caveats: - The conference programme and original paper establish 2011; the pinned GCC-port README instead labels the paper ASPLOS 2012. The port is not identified as the exact evaluated revision. - Source review and independent teaching model only. No native Mnemosyne build, persistent-memory hardware run or power-loss test was performed. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [nv-heaps](https://hesela.dev/terms/nv-heaps/) Citations: - [paper] Volos, Tack and Swift. Mnemosyne: Lightweight Persistent Memory. ASPLOS 2011, sections 2, 4.4, 5 and 6.1. https://pages.cs.wisc.edu/~swift/papers/asplos11_mnemosyne.pdf (accessed 2026-12-04) - [programme] ASPLOS 2011 technical programme: Mnemosyne. https://asplos-conference.org/asplos2011/program.html (accessed 2026-12-04) - [gcc-log] Mnemosyne GCC port f9fc03f6: physical-log word layout and wraparound. https://github.com/snalli/mnemosyne-gcc/blob/f9fc03f6eba3529c26725e8e99512e5257d2fc53/usermode/library/mcore/include/log/phlog_tornbit.h (accessed 2026-12-04) - [gcc-recovery] Mnemosyne GCC port f9fc03f6: m_phlog_tornbit_check_consistency. https://github.com/snalli/mnemosyne-gcc/blob/f9fc03f6eba3529c26725e8e99512e5257d2fc53/usermode/library/mcore/src/log/phlog_tornbit.c (accessed 2026-12-04) - [gcc-readme] Mnemosyne GCC port f9fc03f6: README and build context. https://github.com/snalli/mnemosyne-gcc/blob/f9fc03f6eba3529c26725e8e99512e5257d2fc53/README.md (accessed 2026-12-04) - [hesela-model] Hesela. Torn-bit logging: a bounded crash-state model and its counterexamples. https://hesela.dev/research/mnemosyne/README.md (accessed 2026-12-04) - [nv-heaps-paper] Coburn et al. NV-Heaps. ASPLOS 2011, section 3.5: whole-object undo logging. https://cseweb.ucsd.edu/~swanson/papers/Asplos2011NVHeaps.pdf (accessed 2026-12-05) ### Monkey URL: https://hesela.dev/terms/monkey/ Also known as: Optimal Navigable Key-Value Store Status: research Record updated: 2026-11-10 Monkey is an LSM-tree tuning design that jointly allocates Bloom-filter memory and selects buffer and merge settings to balance modeled lookup and update costs. Note: For absent point queries, its filter allocation minimizes the sum of false-positive probabilities rather than giving every run the same bits per entry. In the continuous model, active filters give smaller runs more bits per entry; with scarce memory, some larger runs receive no filter. [monkey-paper] Scope: this is a SIGMOD 2017 research design implemented over LevelDB, not a claim about current RocksDB defaults. Its main experiments disabled the block cache; Appendix F separately studies caching. [monkey-paper] Hesela derives and tests activation thresholds for a fixed three-run illustration. These are model results, not database latency measurements. [hesela] Sources and caveats: - Primary-source synthesis and independently checked continuous-model calculation; no engine execution. Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [leveled-compaction](https://hesela.dev/terms/leveled-compaction/) - [tiered-compaction](https://hesela.dev/terms/tiered-compaction/) - [read-amplification](https://hesela.dev/terms/read-amplification/) Citations: - [monkey-paper] Dayan, Athanassoulis and Idreos. Monkey: Optimal Navigable Key-Value Store. SIGMOD 2017, 79-94. DOI: 10.1145/3035918.3064054. Sections 4.1, 5 and Appendix F. https://cs-people.bu.edu/mathan/publications/sigmod17-dayan.pdf (accessed 2026-11-10) - [hesela] Hesela: when a run starts receiving filter memory. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#filter-activation (accessed 2026-11-10) ### Monotonic Atomic View URL: https://hesela.dev/terms/monotonic-atomic-view/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: MAV isolation Status: unknown Record updated: 2026-11-11 Monotonic Atomic View requires subsequent reads, after observing a transaction's write, to include its effects or later versions for the items read. Note: MAV alone can permit an earlier old read followed by a new read. The HAT paper combines MAV with item cut isolation to prevent read skew. Its forward-only condition differs from read-atomic isolation. [hat] If a reader sees manifest0 before index1 from a transaction updating both records, MAV permits that earlier value. Reading manifest again must then return manifest1 or a later version. The earlier observation is not retroactively repaired. [hat] Sources and caveats: - The cited journal issue is dated 2013 and the conference presentation 2014. No priority date or product lifecycle is inferred. [hat] Related terms: - [read-atomic-isolation](https://hesela.dev/terms/read-atomic-isolation/) - [fractured-read](https://hesela.dev/terms/fractured-read/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) Citations: - [hat] Bailis et al. Highly Available Transactions: Virtues and Limitations. PVLDB 7(3), 181-192, 2013; VLDB 2014. Section 5.1.2. https://www.vldb.org/pvldb/vol7/p181-bailis.pdf (accessed 2026-11-11) - [hesela-consistency] Hesela: storage consistency and read-set visibility examples. https://hesela.com/analyses/storage-consistency-ordering/#read-atomic (accessed 2026-10-19) ### Monotonic reads URL: https://hesela.dev/terms/monotonic-reads/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Monotonic-read consistency Status: shipping Record updated: 2026-11-11 Monotonic reads is a session guarantee requiring successive reads to observe states that include the effects of writes relevant to the session's earlier reads. Note: Changing replicas must not make the session lose previously observed write effects. Values themselves need not increase numerically: a later valid update may decrease a counter. Monotonic reads does not alone require the freshest global state or visibility of the session's own writes that have not yet been read; read-your-writes is a separate guarantee. Related terms: - [linearizability](https://hesela.dev/terms/linearizability/) - [read-your-writes](https://hesela.dev/terms/read-your-writes/) - [session-guarantees](https://hesela.dev/terms/session-guarantees/) - [partial-quorum](https://hesela.dev/terms/partial-quorum/) - [eventual-consistency](https://hesela.dev/terms/eventual-consistency/) - [lazybase](https://hesela.dev/terms/lazybase/) Citations: - [session-guarantees] Douglas B. Terry et al. Session Guarantees for Weakly Consistent Replicated Data. PDIS 1994, sections 3.1 and 3.2. https://classes.cs.uchicago.edu/archive/2026/spring/23380-1/papers/terry_sessionguarantees.pdf (accessed 2026-10-12) - [hesela-consistency] Storage consistency: ordering is not a transaction or a durability promise. https://hesela.com/analyses/storage-consistency-ordering/ (accessed 2026-10-12) ### Monotonic writes URL: https://hesela.dev/terms/monotonic-writes/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Monotonic-write consistency, MW session guarantee Status: shipping Record updated: 2026-10-23 Monotonic writes requires every replica incorporating a later session write to incorporate the session's earlier writes and order them before it. Note: This is write ordering, not increasing numeric values. A server accepts a session write only if its copy already includes all previous writes of that session, and orders the new write after them. Two server-side constraints support this: new writes are ordered after writes already known, and anti-entropy propagates a write together with its predecessors. [session-guarantees] A client-side session manager can track the identifiers of the session's writes and compare them with a server's state, and version vectors give a compact form of that check. Requesting the guarantee for one session does not reduce availability for other sessions. [session-guarantees] In one document database's causal sessions, unrelated writes may interleave and only one thread may use a session at a time. Majority read and write acknowledgement gives all four causal guarantees, while a local read with majority writes gives monotonic writes alone. Writes acknowledged by a single node may be rolled back. [docdb-session-guide] [docdb-causal-concerns] Limitations: - The guarantee orders writes within one session, not writes issued by other sessions or clients. (sources: [session-guarantees]) Sources and caveats: - session-guarantees read 2026-10-23 from a course mirror because the previously listed copy presented an expired TLS certificate. - docdb-session-guide and docdb-causal-concerns re-read 2026-10-23 for session threading, the read and write acknowledgement table and rollback. - A companion analysis on storage consistency ordering is listed but not used in prose. Related terms: - [session-guarantees](https://hesela.dev/terms/session-guarantees/) - [writes-follow-reads](https://hesela.dev/terms/writes-follow-reads/) - [adaptive-replica-selection](https://hesela.dev/terms/adaptive-replica-selection/) Citations: - [session-guarantees] Douglas B. Terry et al. Session Guarantees for Weakly Consistent Replicated Data. PDIS 1994, sections 3.1-3.4, pp. 142-144. https://pages.cs.wisc.edu/~remzi/Classes/739/Papers/bayou-sessions94.pdf (accessed 2026-10-23) - [docdb-session-guide] MongoDB Manual: Read Isolation, Consistency, and Recency; client sessions, causal guarantees and isolation. https://www.mongodb.com/docs/manual/core/read-isolation-consistency-recency/ (accessed 2026-10-23) - [hesela-consistency] Storage consistency: ordering is not a transaction or a durability promise. https://hesela.com/analyses/storage-consistency-ordering/ (accessed 2026-10-13) - [docdb-causal-concerns] MongoDB Manual: Causal Consistency and Read and Write Concerns; durability and rollback distinctions. https://www.mongodb.com/docs/manual/core/causal-consistency-read-write-concerns/ (accessed 2026-10-23) ### Mount namespace URL: https://hesela.dev/terms/mount-namespace/ Related analysis: https://hesela.com/analyses/btrfs-tree-log-read-only-replay/ Also known as: Linux mount namespace Status: shipping Record updated: 2026-11-15 A Linux mount namespace gives its member processes a particular view of the mount hierarchy. Note: Creating a namespace with CLONE_NEWNS copies the existing mount list, not the underlying file contents. Processes in different namespaces can therefore still reach the same filesystem data. [namespaces] [shared] Propagation is a separate property of each mount. Shared mounts propagate mount and unmount events immediately beneath them among peers, potentially across namespaces; private mounts do not propagate those events. A separate namespace alone does not establish a private tree or a storage snapshot. [shared] /proc/PID/mountinfo describes the target process's mount namespace, including mount roots, propagation fields and separate per-mount and per-superblock options. Inspecting the observer's own list can miss the target's view. [mountinfo] Command defaults differ from the system call. The util-linux unshare command makes propagation recursively private for a new mount namespace by default (since 2.27). --propagation unchanged disables that extra step. Record the entry point and options when interpreting namespace isolation. [unshare-manual] Sources and caveats: - Documentation synthesis; no namespace creation, privileged mounting or recovery experiment was performed. Rolling documentation was checked on the access date. Related terms: - [mount-point](https://hesela.dev/terms/mount-point/) - [bind-mount](https://hesela.dev/terms/bind-mount/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) - [mount-propagation](https://hesela.dev/terms/mount-propagation/) Citations: - [namespaces] Linux man-pages: mount_namespaces(7), namespace creation and mount-list scope. https://man7.org/linux/man-pages/man7/mount_namespaces.7.html (accessed 2026-11-04) - [shared] Linux kernel documentation: Shared Subtrees, propagation and namespace copies. https://docs.kernel.org/filesystems/sharedsubtree.html (accessed 2026-11-04) - [mountinfo] Linux man-pages: proc_pid_mountinfo(5), per-process view and option layers. https://man7.org/linux/man-pages/man5/proc_pid_mountinfo.5.html (accessed 2026-11-04) - [unshare-manual] util-linux v2.41.1: unshare(1), mount namespace defaults and propagation option. https://kernel.googlesource.com/pub/scm/utils/util-linux/util-linux/+/refs/tags/v2.41.1/sys-utils/unshare.1.adoc (accessed 2026-11-04) ### Mount point URL: https://hesela.dev/terms/mount-point/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: mountpoint Status: shipping Record updated: 2026-11-15 A mount point is a location in a filesystem hierarchy at which a mounted filesystem, bind-mounted subtree or file becomes accessible. Note: On Linux, the target can be a directory or a file. A bind mount exposes an existing directory subtree or a single file at another location; a mount point need not represent an entire disk or an entire filesystem. [mount-syscall] Mounting over a directory hides its previous contents from ordinary pathname lookup through that location; it does not delete those contents. The same filesystem can be mounted more than once. The pathname is an attachment location, not a unique identifier for the underlying filesystem or storage device. [mount-command] /proc/PID/mountinfo describes mounts in the target process's mount namespace. Its root field identifies the root within the mounted filesystem, whereas mount point is expressed relative to that process's root directory. These fields are not interchangeable. A mount ID may be reused after unmount; a parent outside the process's root may have no matching record. The list is not a permanent identity catalogue. [mountinfo] Mount boundaries also constrain operations. Linux rename() cannot move a name between distinct mounts, even when they expose the same filesystem; this can produce EXDEV. Matching filesystem or device identity alone is therefore insufficient to establish that a rename can cross two paths. This restriction is separate from file and directory synchronization for crash durability. [rename] Sources and caveats: - Documentation synthesis from rolling primary manuals checked on 15 November 2026. The operational details are Linux-specific; no privileged mounting, rename test or recovery experiment was performed. Related terms: - [bind-mount](https://hesela.dev/terms/bind-mount/) - [mount-namespace](https://hesela.dev/terms/mount-namespace/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) Citations: - [mount-syscall] Linux man-pages: mount(2), target location and bind operations. https://man7.org/linux/man-pages/man2/mount.2.html (accessed 2026-11-15) - [mount-command] util-linux: mount(8), covered directory contents and repeated attachment. https://man7.org/linux/man-pages/man8/mount.8.html (accessed 2026-11-15) - [mountinfo] Linux man-pages: proc_pid_mountinfo(5), process scope and fields 4-5. https://man7.org/linux/man-pages/man5/proc_pid_mountinfo.5.html (accessed 2026-11-15) - [rename] Linux man-pages: rename(2), EXDEV and distinct mounts. https://man7.org/linux/man-pages/man2/rename.2.html (accessed 2026-11-15) ### Mount propagation URL: https://hesela.dev/terms/mount-propagation/ Related analysis: https://hesela.com/analyses/btrfs-tree-log-read-only-replay/ Also known as: Linux mount propagation, Shared subtree propagation Status: shipping Record updated: 2026-11-04 Mount propagation controls whether mount and unmount events are replicated between related Linux mounts. Note: Shared mounts exchange events within a peer group. A slave receives events from its master peer group without sending them back upstream; it may also be shared with its own peer group. Private mounts neither send nor receive propagated events. An unbindable mount blocks propagation in both directions and cannot be bind-mounted. [shared] Propagation concerns events immediately beneath each mount, not replication of file contents. Descendant mounts have their own settings; changing one mount to private does not recursively privatize them. Namespace cloning can retain shared relationships, so a separate namespace is not by itself an event-isolation guarantee. [namespaces] /proc/PID/mountinfo exposes optional shared and master tags; both can occur for a shared-and-slave mount. A private mount has none of the recognized propagation tags. These fields describe topology, separately from per-mount and superblock access flags. [mountinfo] A private tree does not freeze data reachable through another writable attachment. [shared] [mount-manual] Sources and caveats: - Documentation synthesis from primary Linux sources checked on the access date; no privileged mounting, namespace experiment or device-write measurement was performed. - The file-content boundary combines the topology rules with the documented semantics of writable bind attachments; it is an interpretive synthesis, not a device observation. Related terms: - [mount-namespace](https://hesela.dev/terms/mount-namespace/) - [bind-mount](https://hesela.dev/terms/bind-mount/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) Citations: - [shared] Linux kernel documentation: Shared Subtrees, shared, slave, private and unbindable mounts. https://docs.kernel.org/filesystems/sharedsubtree.html (accessed 2026-11-04) - [namespaces] Linux man-pages: mount_namespaces(7), immediate event scope and namespace copies. https://man7.org/linux/man-pages/man7/mount_namespaces.7.html (accessed 2026-11-04) - [mountinfo] Linux man-pages: proc_pid_mountinfo(5), propagation tags and option layers. https://man7.org/linux/man-pages/man5/proc_pid_mountinfo.5.html (accessed 2026-11-04) - [mount-manual] util-linux v2.41.1: mount(8), bind mounts and read-only setting notes. https://kernel.googlesource.com/pub/scm/utils/util-linux/util-linux/+/refs/tags/v2.41.1/sys-utils/mount.8.adoc (accessed 2026-11-04) ### Move-to-front transform URL: https://hesela.dev/terms/move-to-front/ Also known as: MTF, Move-to-front coding Status: shipping Record updated: 2026-11-21 Move-to-front replaces each symbol with its position in an ordered list, then moves that symbol to the front. Note: Ranks: With zero-based positions and no eviction, a repeated symbol's rank equals the number of distinct symbols since its previous occurrence, not the number of intervening accesses. Initial occurrences depend on the starting alphabet order. [bstw] [bw] State: With alphabet abc, cabbaa becomes 2,1,2,0,1,0. Decoding its last three ranks from a fresh abc list gives abb instead of baa. A restart therefore needs the matching list state or an agreed reset boundary. [example] Stored size: The transform emits one rank per input symbol. For a full 256-byte alphabet, storing every rank in one byte leaves the payload byte count unchanged. Smaller ranks help only with a subsequent coding scheme; alphabet descriptions, framing and indexes still cost space. [bw] [example] Block sorting: BWT groups symbols by context before move-to-front. The bzip2 1.0.8 implementation maps the used alphabet, run-codes zero ranks with RUNA/RUNB, shifts nonzero ranks by one and appends an end-of-block symbol before Huffman coding. Raw MTF ranks are not that file format. [bw] [bzip-source] Limitations: - The 1986 paper's experimental prototypes estimated coding costs without actually compressing and restoring files; those results are not round-trip validation. (sources: [bstw]) Sources and caveats: - The historical word-list scheme and the fixed-alphabet byte transform use different initialization and rank conventions. The example models only the latter, with zero-based ranks. - Primary papers and bzip2 1.0.8 implementation read; no historical speed comparison, bzip2 codec reimplementation or field-performance measurement is claimed. Related terms: - [burrows-wheeler-transform](https://hesela.dev/terms/burrows-wheeler-transform/) - [bzip2](https://hesela.dev/terms/bzip2/) - [reuse-distance](https://hesela.dev/terms/reuse-distance/) - [prediction-by-partial-matching](https://hesela.dev/terms/prediction-by-partial-matching/) - [tsetlin-library](https://hesela.dev/terms/tsetlin-library/) Citations: - [bstw] Bentley, Sleator, Tarjan and Wei: A Locally Adaptive Data Compression Scheme, CACM 29(4), 320-330 (1986), sections 2-4 and 6. https://www.cs.cmu.edu/~sleator/papers/adaptive-data-compression.pdf (accessed 2026-11-18) - [bw] Burrows and Wheeler: A Block-sorting Lossless Data Compression Algorithm, SRC Report 124 (1994), sections 3 and 5. https://www.cs.jhu.edu/~langmea/resources/burrows_wheeler.pdf (accessed 2026-11-18) - [bzip-source] bzip2 1.0.8 official release: compress.c, makeMaps_e, generateMTFValues and sendMTFValues. https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz (accessed 2026-11-18) - [example] Hesela: move-to-front state, rank and payload-width examples, executable model and tests. https://hesela.dev/research/move-to-front/README.md (accessed 2026-11-18) ### MPI file view URL: https://hesela.dev/terms/mpi-file-view/ Also known as: MPI-IO file view, MPI_File_set_view Status: research Record updated: 2026-12-02 An MPI file view selects an ordered sequence of elementary data items from a file using a byte displacement and a repeating datatype pattern. Note: Coordinates: disp is an absolute byte displacement, but an I/O offset counts etypes visible through the view and skips holes. Offset zero is the first visible etype, which need not start at disp. MPI_File_get_byte_offset converts a view-relative offset to an absolute byte position. [definitions][position] Repetition: the filetype repeats at its extent, not its payload size. With disp 128 bytes, contiguous four-byte etypes at positions 0 and 8, and filetype extent 16 bytes, offsets 0, 1, 2 map to bytes 128, 136, 144. An extent of 12 instead maps offset 2 to byte 140. [definitions][extent][example] MPI_File_set_view is collective and resets individual and shared file pointers to zero. Processes may use different displacements and filetypes, but must agree on datarep and the file-representation extent of etype. The supplied datatypes must be committed. [views] The view describes file layout; a read or write has a separate memory-buffer datatype. Explicit-offset operations do not advance file pointers. MPI_File_read_at_all combines an explicit view-relative offset with collective participation. [access] Exposing a full noncontiguous request enables optimizations such as data sieving and collective buffering. A view does not guarantee fewer device requests or faster execution, and is not a physical disk map. [romio] Sources and caveats: - The worked example uses contiguous etypes with equal size and extent. It is exact layout arithmetic, not an MPI implementation test or a performance benchmark. - Semantics are scoped to MPI 4.1. ROMIO 1999 supplies historical optimization context, not a prediction for current hardware. Related terms: - [collective-io](https://hesela.dev/terms/collective-io/) - [two-phase-io](https://hesela.dev/terms/two-phase-io/) Citations: - [definitions] MPI 4.1, I/O definitions: displacement, etype, filetype, view and offset. https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node350.htm (accessed 2026-12-02) - [position] MPI 4.1, Individual file pointers: MPI_File_get_byte_offset. https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node369.htm (accessed 2026-12-02) - [extent] MPI 4.1, Extent and bounds of datatypes. https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node103.htm (accessed 2026-12-02) - [views] MPI 4.1, File views: MPI_File_set_view. https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node361.htm (accessed 2026-12-02) - [access] MPI 4.1, Data access routines and positioning. https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node363.htm (accessed 2026-12-02) - [romio] Thakur, Gropp and Lusk. Data Sieving and Collective I/O in ROMIO. Frontiers 1999. https://web.cels.anl.gov/~thakur/papers/romio-coll.pdf (accessed 2026-12-02) - [example] Hesela: exact MPI file-view offset example. https://hesela.dev/research/mpi-file-view/README.md (accessed 2026-12-02) ### mq-deadline URL: https://hesela.dev/terms/mq-deadline/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: Multi-queue deadline scheduler Status: shipping Record updated: 2026-11-08 mq-deadline is a Linux block I/O scheduler that combines sector ordering with soft request-expiration goals for dispatch. Note: Requests enter sector-sorted and arrival-ordered lists, separated by direction and I/O-priority class. Expiration can select an older request over sector order. Batches, read preference and write-starvation control also affect selection. [deadline] In Linux v6.16 the built-in defaults are a read_expire of HZ/2, which is 500 ms, a write_expire of 5 s, a prio_aging_expire of 10 s, a writes_starved value of 2 and a fifo_batch of 16 requests. Expiries are checked between batches. The tunable guide describes fifo_batch=1 as first-come first-served, but that is not a general property of the v6.16 selection code. [deadline] [deadline-doc] The expiration concerns starting service, not completing the request. It is a soft goal, so read_expire is not a bound on application read latency. Sorting and FIFO state are shared across hardware queues of the same request queue rather than independently replicated per hardware queue. [deadline] With fifo_batch=1, sector selection and read preference remain. An unexpired later read can precede an earlier read at a higher sector. See the source-derived counterexample in the linked analysis; this is a dispatch rule, not measured completion order. [deadline] Advantages: - A smaller fifo_batch reduces per-request latency variation, while a larger one generally improves aggregate throughput. (sources: [deadline-doc]) - writes_starved limits consecutive read-preference decisions when writes are pending; it is not an elapsed-time bound for every write. (sources: [deadline], [deadline-doc]) Limitations: - Setting front_merges to 0 disables only the rbtree front-sector lookup, so front merges can still occur through the cached last_merge hint. (sources: [deadline-doc]) - The source defines expirations in jiffies derived from HZ, so their granularity follows the kernel tick rate. (sources: [deadline]) Sources and caveats: - deadline is the Linux v6.16 mq-deadline.c source, re-read on git.kernel.org at the same tag for the default constants and the shared hardware-queue state. - deadline-doc is the Linux 6.16 deadline tunables page, read for the fifo_batch, writes_starved and front_merges semantics. - The throughput-storage entry links here because fifo_batch trades per-request latency against aggregate throughput. - 2026-11-08 correction: reconciled the tunable guide with v6.16 __dd_dispatch_request instead of treating the guide's FCFS shorthand as an invariant. Related terms: - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [blk-mq](https://hesela.dev/terms/blk-mq/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [zone-write-locking](https://hesela.dev/terms/zone-write-locking/) Citations: - [deadline] Linux v6.16: mq-deadline.c, soft expirations and dd_dispatch_request. https://github.com/torvalds/linux/blob/v6.16/block/mq-deadline.c (accessed 2026-11-08) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/ (accessed 2026-10-21) - [deadline-doc] Linux 6.16: Deadline IO scheduler tunables. https://docs.kernel.org/6.16/block/deadline-iosched.html (accessed 2026-11-08) ### MQSim URL: https://hesela.dev/terms/mqsim/ Also known as: Multi-Queue SSD simulator Status: research Record updated: 2026-11-17 MQSim is a discrete-event SSD simulator that models host queues, controller resources, flash operations and workload-dependent preparation. Note: Queue configuration: IO_Queue_Depth sets host queue capacity, Average_No_of_Reqs_in_Queue controls synthetic offered concurrency in QUEUE_DEPTH mode, and Queue_Fetch_Size limits per-stream fetch admission in the NVMe model. These settings are not interchangeable measurements. [mqsim-config] Fetch accounting: in commit 51f0f2d3fed92d88ef4a0fa61a38024b07bf9d16, admission increments On_the_fly_requests; Handle_serviced_request decrements it before checking whether the completion queue has room. Pending work can therefore be fetched while a serviced request awaits completion delivery. This counter is not all host-outstanding I/O. [mqsim-code] Interpretation: the FAST 2018 comparison of fetch limits 16 and 1024 is a simulator sensitivity study, not a universal NVMe tuning prescription. [mqsim] Limitations: - Matching selected historical devices does not validate a model for every workload or current controller. (sources: [mqsim]) Sources and caveats: - Primary-paper and pinned-code review. No MQSim execution, hardware benchmark or performance replication was performed. Related terms: - [queue-depth](https://hesela.dev/terms/queue-depth/) - [nvme-submission-queue](https://hesela.dev/terms/nvme-submission-queue/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [ssd-steady-state](https://hesela.dev/terms/ssd-steady-state/) - [ftl](https://hesela.dev/terms/ftl/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [flin](https://hesela.dev/terms/flin/) - [simplessd](https://hesela.dev/terms/simplessd/) Citations: - [mqsim] Tavakkol et al. MQSim: A Framework for Enabling Realistic Studies of Modern Multi-Queue SSD Devices. FAST 2018, section 4.2.1 and Appendix A.3. https://people.inf.ethz.ch/omutlu/pub/MQSim-SSD-simulation-framework_fast18.pdf (accessed 2026-11-10) - [mqsim-config] CMU-SAFARI MQSim README, commit 51f0f2d3fed92d88ef4a0fa61a38024b07bf9d16: device configuration and synthetic workload parameters. https://github.com/CMU-SAFARI/MQSim/blob/51f0f2d3fed92d88ef4a0fa61a38024b07bf9d16/README.md (accessed 2026-11-10) - [mqsim-code] CMU-SAFARI MQSim Host_Interface_NVMe.cpp, commit 51f0f2d3fed92d88ef4a0fa61a38024b07bf9d16: fetch admission and serviced-request handling. https://github.com/CMU-SAFARI/MQSim/blob/51f0f2d3fed92d88ef4a0fa61a38024b07bf9d16/src/ssd/Host_Interface_NVMe.cpp (accessed 2026-11-10) - [hesela] Hesela: Sharing an SSD: who pays for the slowdown? https://hesela.com/analyses/ssd-fairness-shared-queues/#mqsim-fetch (accessed 2026-11-10) ### Magnetoresistive RAM URL: https://hesela.dev/terms/mram/ Technology reference: https://hesela.com/tech/mram/ Also known as: MRAM, magnetoresistive random-access memory Status: shipping Record updated: 2026-10-18 MRAM is nonvolatile memory that stores information in magnetic states and reads it through resistance differences. Note: Family: Toggle MRAM switches with magnetic fields, while STT-MRAM uses spin-polarized current through a magnetic tunnel junction. [toggle] [stt] Integration: Nonvolatile cells do not establish failure-atomic multi-store updates or the persistence boundary of surrounding buffers and caches. Recovery and ordering require a system contract. [snia] Sources and caveats: - Shipping status describes available MRAM implementations, not a universal interface or a drop-in replacement for DRAM. [stt] Related terms: - [stt-mram](https://hesela.dev/terms/stt-mram/) - [magnetic-tunnel-junction](https://hesela.dev/terms/magnetic-tunnel-junction/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [magnetic-anisotropy](https://hesela.dev/terms/magnetic-anisotropy/) - [nand-flash](https://hesela.dev/terms/nand-flash/) Citations: - [toggle] Everspin: Toggle MRAM Technology, cell structure and read/write operation. https://legacy.everspin.com/toggle-mram-technology (accessed 2026-10-18) - [stt] Everspin: STT-MRAM Technology, switching mechanism and interface examples. https://www.everspin.com/stt-mram-technology (accessed 2026-10-18) - [snia] SNIA: Persistent Memory Atomics and Transactions, version 1 revision 1 (2017), sections 1.3 and 2.1. https://www.snia.org/sites/default/files/technical-work/whitepapers/SNIA-Persistent-Memory-Atomics-Transactions-WP.pdf (accessed 2026-10-18) - [hesela-mram] Hesela: Magnetoresistive RAM (MRAM). https://hesela.com/tech/mram/ (accessed 2026-10-18) ### mSATA URL: https://hesela.dev/terms/msata/ Also known as: Mini-SATA, mSATA SSD Status: shipping Record updated: 2026-11-29 mSATA is a compact SATA connection for small storage modules that uses a PCI Express Mini Card-style connector with SATA signal assignments. Note: A matching connector does not establish a working data path. The host must route the module's data signals to a SATA controller; not every Mini PCIe socket does so. Check the system manual for the particular socket instead of treating its shape or a wireless-card label as proof of storage compatibility. [kingston-guide] mSATA and M.2 use different physical connections. mSATA carries SATA, while M.2 storage implementations may use SATA or PCIe. Neither the M.2 family name nor the ability to insert a module proves which interface the host supports. [kingston-form] Historical M.2 options also include PCIe/AHCI, so PCIe and NVMe are not interchangeable labels. [snia-m2] The MO-300 mSATA family differs from MO-297 half-slim SATA. These are form-factor identities, not throughput measurements or NAND-endurance ratings. [snia-m2] Directly installed mSATA modules are not intended for hot-plug service. Follow the host's documented power-off and service procedure; support for hot-plug elsewhere in a SATA system does not qualify this module connection. [snia-m2] Advantages: - A compact module connection supports storage where a conventional drive enclosure would be difficult to accommodate. (sources: [kingston-form]) Limitations: - Physical fit in a Mini Card-style socket does not establish that SATA signals reach the module. (sources: [kingston-guide]) Sources and caveats: - Source synthesis, not a hardware compatibility test. The cited vendor guide supports the controller-routing distinction; its unrelated general performance claims are not adopted. - MO-300 naming is corroborated by the SNIA presentation, not by an independently inspected JEDEC drawing. No universal module dimensions, first-shipment date or end-of-life date are assigned. - The shipping status is supported by the vendor's listed mSATA product family, not a claim that every historical module remains available. Related terms: - [sata](https://hesela.dev/terms/sata/) - [m2](https://hesela.dev/terms/m2/) - [ssd](https://hesela.dev/terms/ssd/) - [ahci](https://hesela.dev/terms/ahci/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [flash-module](https://hesela.dev/terms/flash-module/) Citations: - [kingston-guide] Kingston Flash Memory Guide, MKF-283.3, PDF page 16: MO-300 mSATA and SATA-controller routing. https://media.kingston.com/pdfs/MKF-283.3-Flash-Memory-Guide_EN.pdf (accessed 2026-11-29) - [kingston-form] Kingston: Types of SSD Form Factors, mSATA section and listed KC600 form factors. https://www.kingston.com/en/blog/pc-performance/ssd-form-factors (accessed 2026-11-29) - [snia-m2] Jon Tanguy, Micron: Intro to M.2 SSDs, SNIA presentation, slides 3, 5 and 6. https://www.snia.org/sites/default/files/12May%20M.2%20Tanguy%20M.2.pdf (accessed 2026-11-29) - [hesela-sata] Hesela: Serial ATA, connector compatibility and host-interface distinctions. https://hesela.com/tech/sata/ (accessed 2026-11-29) ### msync URL: https://hesela.dev/terms/msync/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: msync() Status: shipping Record updated: 2026-12-04 msync is an operation that synchronizes a range of a shared file-backed memory mapping with its underlying file, with MS_SYNC waiting for completion. Note: Completion: MS_SYNC waits for synchronization of the mapped range. Linux MS_ASYNC is a no-op since 2.6.19, not a persistence acknowledgement. The starting address must be page-aligned; an unaligned address yields EINVAL, which does not by itself diagnose a storage failure. [msync-api] Transaction boundary: ordinary activity may write shared dirty pages before msync. The call supplies neither isolation from other readers nor an all-or-nothing multi-page commit. A successful call on a MAP_PRIVATE mapping does not copy private changes into its file. [posix-msync] Distinct flag: MS_SYNC is not the DAX-oriented MAP_SYNC option to mmap. [mmap-api] Partial-page tail: Linux documents that stores beyond EOF within the final mapped page can remain visible in later mappings after close and unmap; msync does not clear this cached tail on tmpfs. [mmap-api] Hesela's separate fresh-process probe observed that boundary on Linux 6.8 with ext4 and tmpfs controls; the in-file payload and file length stayed unchanged. This is not evidence of persistence after reboot or a portable tail-clearing contract. [hesela-mmap] Unmapped intervals: Linux v6.12 can synchronize shared file-backed regions on either side of a gap before returning ENOMEM. This is not a rollback or evidence that no I/O occurred; an earlier synchronization error can take precedence. Keep mapping lifetimes coordinated. [msync-source] A native eight-case probe records return codes and cached visibility, not crash durability. [msync-probe] Advantages: - Provides explicit synchronization for a selected mapped range. Limitations: - Portable callers select exactly one of MS_SYNC and MS_ASYNC. - A cached reread is not independent evidence of recovery after a power failure. Related terms: - [failure-atomic-msync](https://hesela.dev/terms/failure-atomic-msync/) - [fsync](https://hesela.dev/terms/fsync/) - [fdatasync](https://hesela.dev/terms/fdatasync/) - [sync-file-range](https://hesela.dev/terms/sync-file-range/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [file-truncation](https://hesela.dev/terms/file-truncation/) - [mlock](https://hesela.dev/terms/mlock/) - [flush-view-of-file](https://hesela.dev/terms/flush-view-of-file/) Citations: - [msync-api] Linux man-pages 6.19: msync(2), flags and Linux behavior. https://man7.org/linux/man-pages/man2/msync.2.html (accessed 2026-10-17) - [mmap-api] Linux man-pages 6.19: mmap(2), shared/private mappings and MAP_SYNC. https://man7.org/linux/man-pages/man2/mmap.2.html (accessed 2026-10-18) - [hesela-fsync] Hesela: File and mapped-range synchronization boundaries. https://hesela.com/analyses/fsync-failure-retry-durability/ (accessed 2026-10-13) - [posix-msync] POSIX.1-2017: msync(), completion and background writeback. https://man7.org/linux/man-pages/man3/msync.3p.html (accessed 2026-10-17) - [hesela-mmap] Hesela: Memory-mapped files: visibility, size and synchronization. https://hesela.com/analyses/mmap-visibility-size-durability/#tail-remapping (accessed 2026-10-18) - [msync-source] Linux v6.12: msync gap traversal and vfs_fsync_range ordering. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/mm/msync.c#L68 (accessed 2026-12-04) - [msync-probe] Hesela: msync unmapped-interval probe, source and evidence boundaries. https://hesela.dev/research/msync-hole/README.md (accessed 2026-12-04) ### MTBF URL: https://hesela.dev/terms/mtbf/ Status: shipping Record updated: 2026-10-22 Mean time between failures (MTBF) is the expected operating time between successive failures of a repairable system under specified conditions. Note: Under a constant repair rate model, MTBF is estimated as total operating time divided by the number of failures. The NIST example of 800 operating hours with 2 failures gives 400 hours, with a two-sided 90% confidence interval of 127 to 2251 hours. With no failures in the same 800 hours, only a 95% lower bound of 267 hours can be stated. [nist-intervals] For an exponential lifetime the mean time to failure is 1/λ, and the probability of failing by that time is 0.6321, so about 63% of units fail before reaching the mean. The mean is therefore not a calendar replacement age for an individual drive, and converting it into a failure probability requires a lifetime model. [nist-exponential] Schroeder and Gibson compared datasheet MTTF values of 1,000,000 to 1,500,000 hours, equivalent to annual failure rates of 0.58% to 0.88%, with replacement records for about 100,000 drives. Observed annual replacement rates ranged from 0.5% to 13.5% with a drive-weighted average of 3.01%, and replacement rates rose with age instead of staying constant. [sg07] Advantages: - Gives one exposure-based figure that can be bounded with confidence limits from observed operating time and failure counts. (sources: [nist-intervals]) Limitations: - A drive datasheet usually states MTTF for a non-repairable item, so the quantity behind a quoted figure must be checked before comparing it with an MTBF. (sources: [sg07], [nist-exponential]) - Short tests with few failures leave wide intervals, so they cannot confirm a large value. (sources: [nist-intervals]) Sources and caveats: - nist-intervals is the NIST/SEMATECH e-Handbook section 8.4.5.1, re-read on 2026-10-22 including its worked example. - The 800-hour, 2-failure, 400-hour, 127 to 2251 hour and 267-hour figures come from nist-intervals. - nist-exponential is the NIST/SEMATECH e-Handbook section 8.1.6.1, re-read on 2026-10-22, and is the source of 0.6321. - sg07 is the FAST 2007 paper by Schroeder and Gibson of Carnegie Mellon University, read in full on 2026-10-22. - The 1,000,000 to 1,500,000 hours, 0.58% to 0.88%, about 100,000 drives, 0.5% to 13.5% and 3.01% figures come from sg07. Related terms: - [afr](https://hesela.dev/terms/afr/) - [hdd](https://hesela.dev/terms/hdd/) - [smart](https://hesela.dev/terms/smart/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [annual-replacement-rate](https://hesela.dev/terms/annual-replacement-rate/) - [rate-of-occurrence-of-failures](https://hesela.dev/terms/rate-of-occurrence-of-failures/) - [mean-time-to-data-loss](https://hesela.dev/terms/mean-time-to-data-loss/) Citations: - [nist-intervals] NIST e-Handbook: Constant repair rate model and confidence bounds (8.4.5.1). https://www.itl.nist.gov/div898/handbook/apr/section4/apr451.htm (accessed 2026-10-22) - [nist-exponential] NIST e-Handbook: Exponential distribution (8.1.6.1). https://www.itl.nist.gov/div898/handbook/apr/section1/apr161.htm (accessed 2026-10-22) - [hesela-methods] Hesela: AFR is a rate, not a one-year failure probability. https://hesela.com/analyses/afr-rate-not-probability/ (accessed 2026-10-10) - [sg07] Bianca Schroeder and Garth A. Gibson. Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you? FAST 2007. https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder.pdf (accessed 2026-10-22) ### MTD bitflip threshold URL: https://hesela.dev/terms/mtd-bitflip-threshold/ Related article: https://hesela.com/tech/nand-flash/ Also known as: bitflip_threshold Status: shipping Record updated: 2026-10-22 The MTD bitflip threshold is the per-ECC-step corrected-bit warning threshold used by Linux kernel MTD read APIs to report -EUCLEAN on otherwise successful ECC-enabled reads. Note: The comparison uses the largest driver-reported correction count in any one ECC step, not their sum. In a hypothetical read with threshold 4, two steps reporting 3 and 3 corrections stay below it; a step reporting 4 reaches it. These examples illustrate the API rule, not a measurement or a recommended setting. [mtd-abi] A 0 status can therefore accompany corrected errors. The normal ECC-enabled path compares the nonnegative driver result against the threshold; it preserves negative errors first and bypasses the comparison if ecc_strength is zero. With threshold zero, even a reported correction count of zero can yield -EUCLEAN. [mtd-core] Do not infer the effective threshold from ECC strength alone. In Linux v6.16, raw NAND initialization supplies ceil(3 * ecc_strength / 4) when a threshold has not already been set. This is a software default for that path, not a universal NAND failure limit. [nand-init] UBI translates MTD's -EUCLEAN to UBI_IO_BITFLIPS. Its logical-eraseblock read path can request scrubbing, whereas -EBADMSG has distinct handling. A warning is not an automatic permanent bad-block mark, and changing its threshold does not strengthen the ECC code. [ubi-io] [ubi-read] This threshold rule is not the MEMREAD ioctl's complete return contract. Its accumulated corrected-bit statistics can trigger EUCLEAN below the threshold. Record the API as well as the status. [mtd-char] Sources and caveats: - Source review scoped to Linux v6.16. No raw-flash device, fault injection or endurance experiment was run. Related terms: - [mtd](https://hesela.dev/terms/mtd/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [ubi](https://hesela.dev/terms/ubi/) - [nand-page](https://hesela.dev/terms/nand-page/) Citations: - [mtd-abi] Linux v6.16, MTD sysfs ABI: ECC step, strength and bitflip threshold. https://raw.githubusercontent.com/torvalds/linux/v6.16/Documentation/ABI/testing/sysfs-class-mtd (accessed 2026-10-22) - [mtd-core] Linux v6.16, mtd_read and mtd_read_oob: status conversion. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/mtdcore.c (accessed 2026-10-22) - [nand-init] Linux v6.16, nand_scan_tail: raw-NAND bitflip threshold initialization. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/nand/raw/nand_base.c (accessed 2026-10-22) - [ubi-io] Linux v6.16, ubi_io_read: corrected and uncorrectable read results. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/ubi/io.c (accessed 2026-10-22) - [ubi-read] Linux v6.16, ubi_eba_read_leb: volume-specific CRC and scrubbing paths. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/ubi/eba.c (accessed 2026-10-22) - [mtd-char] Linux v6.16, mtdchar_read and mtdchar_read_ioctl: userspace read results. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/mtdchar.c (accessed 2026-10-22) ### Memory Technology Device (MTD) URL: https://hesela.dev/terms/mtd/ Related article: https://hesela.com/tech/nand-flash/ Also known as: MTD, Memory Technology Devices Status: shipping Record updated: 2026-10-22 MTD is the Linux kernel subsystem providing a common interface to flash and other memory devices, including raw NAND and NOR. Note: MTD covers flash, RAM and similar devices. It exposes device operations rather than supplying a filesystem or an SSD-style translation layer. [mtd-config] Raw NAND has eraseblock, write and OOB geometry. An ECC step need not span a whole NAND page or match a host sector. [mtd-interface] [mtd-abi] UBI adds logical eraseblocks, wear management and volumes; UBIFS supplies files above UBI. [mtd-stack] In the ECC-enabled mtd_read_oob path, nonnegative correction counts become 0 or -EUCLEAN according to bitflip_threshold; negative results are preserved. -EBADMSG does not count bad blocks or mean every returned byte is wrong. [mtd-core] [ubi-io] Userspace differs: ordinary read() on /dev/mtdX can deliver bytes despite -EUCLEAN or -EBADMSG below it. MEMREAD returns per-request ECC statistics and can report EUCLEAN for below-threshold corrections. An ioctl error is -1 with errno set, not the kernel's negative errno value. [mtd-char] MEMREAD distinguishes corrected_bitflips (total), max_bitflips (one ECC step) and uncorrectable_errors. MTD_OPS_RAW bypasses error correction. The request mode overrides the descriptor mode set by MTDFILEMODE; raw mode is not a stronger integrity check. [mtd-uapi] Inspect returned len and ooblen with errno and ECC statistics. MEMREAD can copy data and still report an ECC error; returned bytes alone do not certify integrity. [mtd-char] Sources and caveats: - Source review scoped to Linux v6.16. No raw-flash device, fault injection or endurance experiment was run. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [nor-flash](https://hesela.dev/terms/nor-flash/) - [ubi](https://hesela.dev/terms/ubi/) - [ubifs](https://hesela.dev/terms/ubifs/) - [mtd-bitflip-threshold](https://hesela.dev/terms/mtd-bitflip-threshold/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) Citations: - [mtd-config] Linux v6.16, Memory Technology Device configuration. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/Kconfig (accessed 2026-10-22) - [mtd-interface] Linux v6.16, MTD interface: device geometry and operations. https://raw.githubusercontent.com/torvalds/linux/v6.16/include/linux/mtd/mtd.h (accessed 2026-10-22) - [mtd-abi] Linux v6.16, MTD sysfs ABI: ECC step, strength and bitflip threshold. https://raw.githubusercontent.com/torvalds/linux/v6.16/Documentation/ABI/testing/sysfs-class-mtd (accessed 2026-10-22) - [mtd-stack] Linux kernel, UBIFS Authentication Support: MTD, UBI and UBIFS. https://docs.kernel.org/filesystems/ubifs-authentication.html (accessed 2026-10-22) - [mtd-core] Linux v6.16, mtd_read and mtd_read_oob: status conversion. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/mtdcore.c (accessed 2026-10-22) - [ubi-io] Linux v6.16, ubi_io_read: corrected and uncorrectable read results. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/ubi/io.c (accessed 2026-10-22) - [mtd-char] Linux v6.16, mtdchar_read and mtdchar_read_ioctl: userspace read results. https://raw.githubusercontent.com/torvalds/linux/v6.16/drivers/mtd/mtdchar.c (accessed 2026-10-22) - [mtd-uapi] Linux v6.16, MEMREAD request and per-operation ECC statistics. https://raw.githubusercontent.com/torvalds/linux/v6.16/include/uapi/mtd/mtd-abi.h (accessed 2026-10-22) ### Multi-Gen LRU URL: https://hesela.dev/terms/multi-gen-lru/ Also known as: MGLRU, multigenerational LRU Status: research Record updated: 2026-11-09 Multi-Gen LRU is a Linux page-reclaim implementation that groups evictable pages by approximate access recency and uses refault feedback to guide protection. Note: In Linux v6.12, generations group similar recency while tiers distinguish repeated file-descriptor accesses; tiers are not separate LRU lists. This is not an exact per-reference LRU ordering. [mglru-design] The min_ttl_ms option protects a recent working set, but insufficient memory can trigger the OOM killer; zero disables this option. It is not a per-file retention promise. [mglru-admin] The experimental debugfs histogram is noncumulative and scoped by memory cgroup and NUMA node. Counts are estimated pages, not bytes or request counts. [mglru-admin] The workingset_refault function dispatches to lru_gen_refault when MGLRU is enabled, before the classic refault-distance path. Do not apply the classic formula indiscriminately. [mglru-workingset] Limitations: - Version-pinned source interpretation, not a workload benchmark or a claim that every Linux installation enables MGLRU. (sources: [mglru-admin]) Sources and caveats: - Primary-source synthesis for Linux v6.12; no memory-pressure experiment or runtime configuration change. Related terms: - [linux-refault-distance](https://hesela.dev/terms/linux-refault-distance/) - [page-cache](https://hesela.dev/terms/page-cache/) - [clock-pro](https://hesela.dev/terms/clock-pro/) - [reuse-distance](https://hesela.dev/terms/reuse-distance/) Citations: - [mglru-design] Linux v6.12: Multi-Gen LRU design, workflow and working-set protection. https://docs.kernel.org/6.12/mm/multigen_lru.html (accessed 2026-11-09) - [mglru-admin] Linux v6.12: Multi-Gen LRU administration, runtime options and noncumulative working-set histograms. https://docs.kernel.org/6.12/admin-guide/mm/multigen_lru.html (accessed 2026-11-09) - [mglru-workingset] Linux v6.12 mm/workingset.c: workingset_refault dispatches separately to lru_gen_refault. https://github.com/torvalds/linux/blob/v6.12/mm/workingset.c (accessed 2026-11-09) - [hesela] Hesela: Linux reclaim is not an exact LRU trace. https://hesela.com/analyses/sieve-cache-eviction-traces/#mglru (accessed 2026-11-09) ### Multi-Queue cache replacement URL: https://hesela.dev/terms/multi-queue-replacement/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: MQ cache replacement, MQ replacement algorithm Status: research Record updated: 2026-11-19 Multi-Queue cache replacement combines frequency-ranked LRU queues, access-driven demotion and a bounded history of evicted blocks. Note: MQ addresses a lower-level buffer cache whose requests have been filtered by upper caches. Its original evaluation used four historical traces with 8 KiB blocks; this is a different request population from the application stream. [mq-traces] Resident blocks occupy LRU queues ranked by access frequency. Replacement selects the head of the lowest nonempty queue. Evicted identifiers and counts enter FIFO history Qout; a history hit still fetches data and uses the remembered count plus one. [mq-algorithm] Aging uses logical time measured in cache accesses, not elapsed seconds. An expired head above Q0 moves down one level and receives a new deadline. This is queue-priority aging, not a wall-clock data-validity TTL. Figure 5 changes position and deadline without decreasing the stored reference count; a later hit increments that count and recomputes placement. [mq-algorithm] The reported experiments used eight resident queues and history capacity four times the resident block count. These are configuration choices, not the definition of MQ. [mq-settings] Linux blk-mq instead dispatches block I/O requests; it is not this cache policy. [linux-blk-mq] Each access checks at most m-1 queue heads for demotion, where m is the resident queue count. The paper calls this constant-time with a fixed, small queue count; allowing m to grow changes that work bound. [mq-algorithm] With one queue, MQ reduces to LRU. With two queues, it is not 2Q: MQ uses two LRU queues and age-based demotion, while 2Q uses FIFO admission and does not put main-queue evictions into its history. Queue count alone therefore does not identify a replacement policy. [mq-algorithm] Limitations: - The historical storage-server results do not establish modern SSD mapping-cache performance or a universal advantage over LRU. (sources: [mq-system]) - The simulations adapt lifeTime from access-history statistics; the paper delegates the adjustment method to the author's thesis, so fixed-lifeTime demonstrations alone do not reproduce that evaluation. (sources: [mq-settings]) - MQ+Hints (2005) requires client tags: SYNCH marks imminent eviction, REPLACE preparation for eviction, and RECOV recovery-driven cleaning. SYNCH describes eviction timing, not durability. At a full cache, READ hits are served without queue updates and RECOV leaves replacement state unchanged; cold-start handling differs. These hints do not cancel storage writes. (sources: [mq-write-hints]) - A checked two-LRU example isolates the filtering issue without implementing MQ: for ABCABDEA, upper capacity two versus three and fixed lower capacity four give five versus six backend reads. The added upper hits remove lower recency updates. This illustrates why an unchanged lower policy does not imply an unchanged input stream; it does not reproduce MQ's historical performance results. (sources: [filtering-model]) Sources and caveats: - Source review of the original 2001 paper by Yuanyuan Zhou, James F. Philbin and Kai Li; no trace replay or hardware measurement. - The storage-server implementation used Oracle 8i with TPC-C, a 128 MB upper cache and write-through storage caching. - The 2005 hint-aware variant was evaluated by simulation of instrumented DB2 8.2/TPC-C traces, measuring second-tier read hit ratios after cache fill, with history space charged against the memory budget. Related terms: - [ghost-cache-entry](https://hesela.dev/terms/ghost-cache-entry/) - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) - [lru-replacement](https://hesela.dev/terms/lru-replacement/) Citations: - [mq-algorithm] Zhou, Philbin and Li. Multi-Queue Replacement Algorithm for Second Level Buffer Caches. USENIX ATC 2001, section 4 and Figure 5. https://www.usenix.org/legacy/events/usenix01/full_papers/zhou/zhou_html/node9.html (accessed 2026-11-02) - [mq-traces] Zhou, Philbin and Li. Multi-Queue Replacement Algorithm. USENIX ATC 2001, section 2.2: traces and cache boundaries. https://www.usenix.org/legacy/events/usenix01/full_papers/zhou/zhou_html/node4.html (accessed 2026-10-31) - [mq-settings] Zhou, Philbin and Li. Multi-Queue Replacement Algorithm. USENIX ATC 2001, section 5.1: simulation configuration. https://www.usenix.org/legacy/events/usenix01/full_papers/zhou/zhou_html/node11.html (accessed 2026-10-31) - [mq-system] Zhou, Philbin and Li. Multi-Queue Replacement Algorithm. USENIX ATC 2001, section 6.1: storage-server architecture. https://www.usenix.org/legacy/events/usenix01/full_papers/zhou/zhou_html/node15.html (accessed 2026-10-31) - [linux-blk-mq] Linux 6.16 documentation. Multi-Queue Block IO Queueing Mechanism: software staging and hardware dispatch. https://docs.kernel.org/6.16/block/blk-mq.html (accessed 2026-10-31) - [mq-write-hints] Li, Aboulnaga, Salem, Sachedina and Gao. Second-Tier Cache Management Using Write Hints. FAST 2005, sections 3, 4.1, 4.3 and 5.1. https://www.usenix.org/legacy/event/fast05/tech/full_papers/li_x/li_x_html/paper.html (accessed 2026-10-31) - [filtering-model] Hesela. Two independently managed LRU caches: exact constructed trace, contract, code and controls; not a device measurement. https://hesela.dev/research/cache-filtering/README.md (accessed 2026-11-19) ### Multi-stream SSD URL: https://hesela.dev/terms/multi-stream-ssd/ Also known as: SSD streams, multi-streamed SSD Status: research Record updated: 2026-11-16 A multi-stream SSD accepts host-supplied stream identifiers to group writes by expected data lifetime within flash storage. Note: Mechanism: The host classifies data and tags writes; the device controls physical allocation. Grouping similarly invalidated data can reduce the live pages copied during reclamation. Predicting lifetime and enforcing placement are separate responsibilities. [paper] Historical prototype: Kang and colleagues modified a 840 Pro and Linux 3.13.3, using a reserved SATA command field for the stream ID. This is not evidence that an unmodified retail 840 Pro exposes that interface. [paper] Limit: Sequential LBAs are not a reliable substitute for semantic lifetime information. Their automatic sequential-pattern classifier produced only a marginal gain in the tested workload. The paper leaves performance and fault isolation as further research; stream separation is not a tenant-isolation guarantee. [paper] Sources and caveats: - Historical interface and prototype review; no current-device support matrix or benchmark reproduction is claimed. - The evaluated device was manufactured by Samsung; the named model identifies the paper's setup, not a recommendation. Related terms: - [flashalloc](https://hesela.dev/terms/flashalloc/) - [vstream](https://hesela.dev/terms/vstream/) - [fstream](https://hesela.dev/terms/fstream/) - [write-lifetime-hint](https://hesela.dev/terms/write-lifetime-hint/) - [ftl](https://hesela.dev/terms/ftl/) Citations: - [paper] Kang, Hyun, Maeng and Cho. The Multi-streamed Solid-State Drive. HotStorage 2014, sections 3-4. https://files.usenix.org/s3fs-public/cdn/hotstorage14-paper-kang.pdf (accessed 2026-11-16) - [record] USENIX HotStorage 2014: multi-streamed SSD publication record. https://www.usenix.org/conference/hotstorage14/workshop-program/presentation/kang (accessed 2026-11-16) ### Multigrain timestamps URL: https://hesela.dev/terms/multigrain-timestamps/ Related analysis: https://hesela.com/analyses/rsync-delta-shifted-blocks/ Also known as: multigrain inode timestamps, FS_MGTIME Status: shipping Record updated: 2026-11-29 Multigrain timestamps are a Linux filesystem mechanism that selectively refines inode timestamp updates after modification or change times have been queried. Note: In Linux v7.2, fill_mg_cmtime marks an inode queried when STATX_CTIME or STATX_MTIME is requested; a request for neither does not set the marker or clear an earlier mark. inode_set_ctime_current uses fine time when the marker is set and coarse time would not advance ctime. Values are still truncated to the filesystem's supported granularity. [multigrain-stat] [multigrain-inode] A global floor prevents a later coarse timestamp from falling behind an earlier fine timestamp during non-overlapping modifications, assuming no backward realtime-clock jump. Equality remains possible; operations that overlap have no submission-order guarantee. The floor uses monotonic time internally but exported timestamps remain realtime values. [multigrain-doc] Local filesystems opt in through FS_MGTIME and the required timestamp paths. This is not a universal promise for every mount. The refinement concerns mtime and ctime, not atime. [multigrain-doc] For synchronization, this mechanism cannot prevent an authorized caller from restoring mtime with utimensat. Default rsync selection compares size and mtime and ignores nanoseconds; --modify-window=-1 can compare nanoseconds with a sufficiently recent receiver. Even that comparison can miss changed bytes with an exactly restored mtime. [utimensat] [rsync-manual] NFS connection: local filesystem timestamp refinement can improve the ctime values used by a server's change-attribute fallback. Network filesystems that mirror server timestamps do not acquire local FS_MGTIME semantics merely because the client runs this kernel. Inspect the server's backing filesystem and returned attributes. [multigrain-doc] Advantages: - Makes queried timestamp changes easier to distinguish without requiring fine timestamps for every update. (sources: [multigrain-stat], [multigrain-inode]) Limitations: - A timestamp is not a content hash, a snapshot or a receipt for durable storage. (sources: [utimensat], [hesela-rsync]) Sources and caveats: - Source synthesis pinned to Linux v7.2. No native multigrain experiment, kernel introduction-date claim or measured performance gain. Earlier rsync fixtures are separate observations, not tests of this kernel mechanism. Related terms: - [file-modification-time](https://hesela.dev/terms/file-modification-time/) - [inode-change-time](https://hesela.dev/terms/inode-change-time/) - [file-access-time](https://hesela.dev/terms/file-access-time/) - [rsync-quick-check](https://hesela.dev/terms/rsync-quick-check/) - [lazytime](https://hesela.dev/terms/lazytime/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-change-attribute](https://hesela.dev/terms/nfs-change-attribute/) Citations: - [multigrain-doc] Linux 7.2: Multigrain Timestamps, ordering, floor and filesystem opt-in. https://docs.kernel.org/7.2/filesystems/multigrain-ts.html (accessed 2026-11-29) - [multigrain-stat] Linux v7.2 fs/stat.c: fill_mg_cmtime and requested timestamp fields. https://raw.githubusercontent.com/torvalds/linux/v7.2/fs/stat.c (accessed 2026-11-29) - [multigrain-inode] Linux v7.2 fs/inode.c: inode_set_ctime_current and timestamp_truncate. https://raw.githubusercontent.com/torvalds/linux/v7.2/fs/inode.c (accessed 2026-11-29) - [utimensat] Linux utimensat(2): explicit timestamp assignment and ctime updates. https://man7.org/linux/man-pages/man2/utimensat.2.html (accessed 2026-11-29) - [rsync-manual] Rsync manual: quick check and modify-window timestamp precision. https://rsync.samba.org/ftp/rsync/rsync.1 (accessed 2026-11-29) - [hesela-rsync] Hesela: timestamp comparison and rsync file selection. https://hesela.com/analyses/rsync-delta-shifted-blocks/#file-times (accessed 2026-11-29) ### Multipart upload URL: https://hesela.dev/terms/multipart-upload/ Also known as: Multipart object upload Status: shipping Record updated: 2026-10-16 Multipart upload is an object-transfer process that sends numbered parts independently and assembles them into one object when the upload is completed. Note: Amazon S3 initiates an upload, accepts parts under an upload ID, and assembles the submitted parts in part-number order at completion. The part ETags submitted in the completion manifest are distinct from the destination object's current ETag used by an If-Match precondition. These details describe S3; another object-storage service may implement different limits or semantics. Advantages: - Parts can transfer in parallel, and a failed part transfer can be retried without retransmitting parts that have already succeeded. (sources: [c1]) - S3 CompleteMultipartUpload can apply If-None-Match or If-Match to the destination object when publishing the assembled upload. (sources: [c2]) Limitations: - AWS documents that CRC32, CRC32C, SHA1 or SHA256 headers sent only at completion are accepted without validation or storage if CreateMultipartUpload did not specify the algorithm. (sources: [c4]) - S3 multipart upload does not imply COMPOSITE: supported CRC algorithms can provide FULL_OBJECT checksums; a composite checksum instead depends on the original part boundaries. (sources: [c4]) - A multipart S3 object's ETag is not the MD5 digest of the complete object; integrity checks must use the documented checksum algorithm and full-object or composite scope. (sources: [c3], [c4]) - An in-progress S3 multipart upload does not reserve its destination key, so another writer can publish before its conditional completion. (sources: [c5]) - A 409 ConditionalRequestConflict at S3 completion requires a new multipart upload and re-uploading every part; merely repeating completion with the old upload ID is insufficient. (sources: [c2]) - Unfinished S3 uploads retain part storage until completed or aborted, so abandoned uploads need cleanup; the initial HTTP 200 at completion can also contain an embedded error that a raw API client must parse. (sources: [c1], [c2]) Related terms: - [checksum](https://hesela.dev/terms/checksum/) - [full-object-checksum](https://hesela.dev/terms/full-object-checksum/) - [composite-checksum](https://hesela.dev/terms/composite-checksum/) - [object-storage](https://hesela.dev/terms/object-storage/) - [entity-tag](https://hesela.dev/terms/entity-tag/) - [conditional-write](https://hesela.dev/terms/conditional-write/) Citations: - [c1] Amazon S3: Uploading and copying objects using multipart upload. https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html (accessed 2026-10-12) - [c2] Amazon S3 API Reference: CompleteMultipartUpload. https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html (accessed 2026-10-12) - [c3] Amazon S3 API Reference: Object, ETag semantics. https://docs.aws.amazon.com/AmazonS3/latest/API/API_Object.html (accessed 2026-10-12) - [c4] Amazon S3: Checking object integrity for data uploads. https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity-upload.html (accessed 2026-10-16) - [c5] Amazon S3: How to prevent object overwrites with conditional writes. https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-writes.html (accessed 2026-10-12) - [c6] Object ETags: checksums and conditional writes are different. https://hesela.com/analyses/object-etags-checksums-conditional-writes/ (accessed 2026-10-12) ### Multipath I/O URL: https://hesela.dev/terms/multipath-io/ Status: shipping Record updated: 2026-12-01 Multipath I/O manages multiple paths to the same storage device for failover and, where supported, load distribution. Note: Redundant paths are alternative routes to the same logical storage, not additional replicas. Linux v6.12 looks up shared namespace paths within the same NVM subsystem and checks identifier consistency; an identifier match alone is not a global merge rule. [linux-nvme-identity] Its native policies prefer ANA-optimized paths and include numa, round-robin and queue-depth. [linux-ana] Path selection and access exclusion solve different problems, because a surviving route does not establish which application node may write. For shared storage, check the deployed reservation or fencing mechanism across all relevant paths. Block-layer persistent reservations can limit writes, or all access, to initiators holding a registered key. [linux-pr] All-paths-down queueing policy is a separate availability decision; inspect it alongside recovery timers. In the pinned device-mapper multipath manual, polling_interval defaults to 5 seconds and no_path_retry to fail; hardware-specific settings may differ. This is not a fixed application timeout. [multipath-man] For SCSI path grouping, the pinned multipath manual uses a selected WWID and defaults uid_attribute to ID_SERIAL. That property is not necessarily a literal unit serial: systemd v257 can derive it from page 0x83. Preserve the identifier's source and scope when checking whether paths refer to one logical unit. [multipath-man] [systemd-scsi-id] [systemd-scsi-export] A matching uid_attrs rule overrides other configured WWID methods. Otherwise uid_attribute selects a udev property; the SCSI default is ID_SERIAL. The sysfs method reads VPD page 0x83. Record the effective configuration and identifier source with the value instead of assuming every displayed WWID is a raw device designator. [multipath-man] Advantages: - Native NVMe path policies prefer ANA-optimized access when available; that preference does not measure the path's latency. (sources: [linux-ana]) Limitations: - A positive no_path_retry counts retries rather than seconds, so the time before I/O fails also depends on the polling interval. (sources: [multipath-man]) Sources and caveats: - linux-ana is the current Linux NVMe multipath page, read 2026-10-23 for the namespace merging and the numa, round-robin and queue-depth policies. linux-pr was read for the reservation types. - multipath-man is multipath.conf(5) at the pinned commit, read for polling_interval, no_path_retry, fast_io_fail_tmo and dev_loss_tmo. - Companion analyses of fencing and timeouts are listed but not used for any fact here. - The nvme-multipath-io-policy entry links here because a policy is the rule that picks one path among those a multipath device manages. - The 23 October revision qualifies namespace merging against Linux v6.12 source and removes a workload-performance generalization; no benchmark was performed. Related terms: - [dual-port](https://hesela.dev/terms/dual-port/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [nvme](https://hesela.dev/terms/nvme/) - [alua](https://hesela.dev/terms/alua/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [asymmetric-namespace-access](https://hesela.dev/terms/asymmetric-namespace-access/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [scsi-persistent-reservations](https://hesela.dev/terms/scsi-persistent-reservations/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [no-path-retry](https://hesela.dev/terms/no-path-retry/) - [lvm](https://hesela.dev/terms/lvm/) - [ana-group](https://hesela.dev/terms/ana-group/) - [fast-io-fail-tmo](https://hesela.dev/terms/fast-io-fail-tmo/) - [dev-loss-tmo](https://hesela.dev/terms/dev-loss-tmo/) - [scsi-device-identification](https://hesela.dev/terms/scsi-device-identification/) - [scsi-unit-serial-number](https://hesela.dev/terms/scsi-unit-serial-number/) - [world-wide-name](https://hesela.dev/terms/world-wide-name/) - [dm-switch](https://hesela.dev/terms/dm-switch/) Citations: - [c1] Multipath I/O. https://en.wikipedia.org/wiki/Multipath_I/O (accessed 2026-03-26) - [linux-ana] Linux kernel documentation: Linux NVMe multipath, introduction and policies. https://docs.kernel.org/admin-guide/nvme-multipath.html (accessed 2026-10-23) - [linux-pr] Linux kernel documentation: Block layer support for Persistent Reservations. https://docs.kernel.org/block/pr.html (accessed 2026-10-23) - [hesela-fencing] Storage fencing: why a lost heartbeat does not stop writes. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-10-11) - [multipath-man] multipath-tools: multipath.conf(5), no_path_retry and FC timeout options; pinned commit d53932bdbee02f440518ea384e63d7c4d3f66685. https://github.com/opensvc/multipath-tools/blob/d53932bdbee02f440518ea384e63d7c4d3f66685/multipath/multipath.conf.5.in (accessed 2026-10-23) - [hesela-timeouts] Storage timeouts: an expired timer is not a cancelled write. https://hesela.com/analyses/storage-timeouts-uncertain-completion/ (accessed 2026-10-11) - [linux-nvme-identity] Linux v6.12: nvme_find_ns_head and nvme_init_ns_head, subsystem-scoped shared-namespace and identifier checks. https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/nvme/host/core.c (accessed 2026-10-23) - [systemd-scsi-id] systemd v257: scsi_serial.c, check_fill_0x83_id, do_scsi_page80_inquiry and scsi_get_serial. https://raw.githubusercontent.com/systemd/systemd/v257/src/udev/scsi_id/scsi_serial.c (accessed 2026-11-03) - [systemd-scsi-export] systemd v257: scsi_id.c, sanitized ID_SERIAL and ID_SERIAL_SHORT exports. https://raw.githubusercontent.com/systemd/systemd/v257/src/udev/scsi_id/scsi_id.c (accessed 2026-11-03) ### NVMe multipath URL: https://hesela.dev/terms/multipath-nvme/ Status: shipping Record updated: 2026-10-16 Using multiple routes to the same NVMe namespace for path failover and, where supported, load distribution. Note: Linux native NVMe multipath presents paths to the same namespace within an NVM subsystem as one block device. ANA access preference precedes the host's selection policy. [linux-ana] More routes are not more replicas, and their physical failure independence must be checked separately. If no usable path exists, I/O can wait or fail; this is not a guarantee of interruption-free failover. [linux-code] Path routing also does not grant exclusive write ownership. [hesela-fencing] Linux v6.12 checks shared-path identifier consistency within the subsystem, while device names use allocated instances rather than protocol NSIDs. [linux-identity] Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [multipath-io](https://hesela.dev/terms/multipath-io/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [alua](https://hesela.dev/terms/alua/) - [asymmetric-namespace-access](https://hesela.dev/terms/asymmetric-namespace-access/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [nvme-multipath-io-policy](https://hesela.dev/terms/nvme-multipath-io-policy/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme-base-spec](https://hesela.dev/terms/nvme-base-spec/) - [nvme-nsid](https://hesela.dev/terms/nvme-nsid/) - [nvme-namespace-identifiers](https://hesela.dev/terms/nvme-namespace-identifiers/) - [nvme-subsystem-nqn](https://hesela.dev/terms/nvme-subsystem-nqn/) - [scsi-persistent-reservations](https://hesela.dev/terms/scsi-persistent-reservations/) Citations: - [c1] NVMe multipath. https://en.wikipedia.org/wiki/Multipath_I/O (accessed 2026-03-26) - [linux-ana] Linux kernel documentation: Linux NVMe multipath, introduction and policies. https://docs.kernel.org/admin-guide/nvme-multipath.html (accessed 2026-10-11) - [hesela-fencing] Storage fencing: why a lost heartbeat does not stop writes. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-10-11) - [linux-code] Linux v6.12, drivers/nvme/host/multipath.c: ANA selection, controller nr_active accounting and subsystem iopolicy. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/multipath.c (accessed 2026-10-15) - [hesela-paths] Hesela: NVMe multipath: ANA access states and Linux path policies. https://hesela.com/analyses/nvme-multipath-ana-path-selection/ (accessed 2026-10-15) - [linux-identity] Linux v6.12 NVMe host core: shared namespace identity checks and device naming. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/core.c (accessed 2026-10-16) ### Multiversion concurrency control URL: https://hesela.dev/terms/multiversion-concurrency-control/ Also known as: MVCC, Multi-version concurrency control Status: shipping Record updated: 2026-11-15 Multiversion concurrency control coordinates concurrent database access by retaining data versions and selecting which version a read may observe under the transaction protocol. Note: Mechanism: Writes create versions rather than immediately making every earlier value unavailable. Visibility and conflict rules determine which versions a transaction can read and when it can commit. Multiversion algorithms can use timestamps, locks or combinations of both. [bernstein-goodman] Isolation: MVCC is not an isolation level. In PostgreSQL 18 Read Committed, each ordinary SELECT takes a fresh statement snapshot and sees its own earlier writes. Repeatable Read uses the snapshot established by its first non-transaction-control statement and also sees its own earlier writes. That Repeatable Read mode uses snapshot isolation and can permit serialization anomalies; Serializable adds dependency checks. These are engine-specific rules. [postgres-isolation] Retention: Old row versions consume space while transactions can still need them. PostgreSQL VACUUM reclaims eligible dead-version space for reuse; ordinary VACUUM generally does not shrink the file. Version retention for concurrency does not promise an archive or backup. [postgres-vacuum] Persistence: Visibility and durable acknowledgement are separate contracts. PostgreSQL asynchronous commit can return success before the transaction's WAL reaches persistent storage, so recent acknowledged changes may be lost after a crash. [postgres-async] Limitations: - Multiversion does not require unlimited history: section 5 describes particular algorithms using at most two versions per item, not PostgreSQL's version-retention policy. (sources: [bernstein-goodman]) - MVCC does not remove every lock: ordinary PostgreSQL SELECT takes ACCESS SHARE, which conflicts with ACCESS EXCLUSIVE, and competing writers can wait. (sources: [postgres-locking]) Sources and caveats: - Primary-source synthesis, not a new engine execution, crash experiment or performance comparison. - The 1983 paper analyzes serializable algorithms and earlier work; its date is not an invention claim. PostgreSQL 18 behavior is not a universal MVCC implementation contract. Related terms: - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [serializable-snapshot-isolation](https://hesela.dev/terms/serializable-snapshot-isolation/) - [read-committed-isolation](https://hesela.dev/terms/read-committed-isolation/) - [repeatable-read-isolation](https://hesela.dev/terms/repeatable-read-isolation/) Citations: - [bernstein-goodman] Bernstein and Goodman. Multiversion Concurrency Control: Theory and Algorithms. ACM TODS 8(4), 465-483 (1983), sections 1 and 4-6. https://www.cs.cmu.edu/~15712/papers/bernstein83.pdf (accessed 2026-11-15) - [postgres-isolation] PostgreSQL 18: Transaction Isolation, sections 13.2.1-13.2.3. https://www.postgresql.org/docs/18/transaction-iso.html (accessed 2026-11-15) - [postgres-vacuum] PostgreSQL 18: Routine Vacuuming, section 24.1.2, Recovering Disk Space. https://www.postgresql.org/docs/18/routine-vacuuming.html#VACUUM-FOR-SPACE-RECOVERY (accessed 2026-11-15) - [postgres-async] PostgreSQL 18: Asynchronous Commit, section 28.4. https://www.postgresql.org/docs/18/wal-async-commit.html (accessed 2026-11-15) - [postgres-locking] PostgreSQL 18: Explicit Locking, sections 13.3.1-13.3.2. https://www.postgresql.org/docs/18/explicit-locking.html (accessed 2026-11-15) - [hesela-consistency] Hesela: Storage consistency, transaction boundaries and durable acknowledgement. https://hesela.com/analyses/storage-consistency-ordering/ (accessed 2026-11-15) ### Nache URL: https://hesela.dev/terms/nache/ Related analysis: https://hesela.com/analyses/rsync-delta-shifted-blocks/ Also known as: Nache NFSv4 caching proxy Status: research Record updated: 2026-11-29 Nache is a research NFSv4 proxy that shares a remote server's delegation and cached data among local clients. Note: The FAST 2007 prototype combined Linux 2.6.17 client and server paths. Sharing behind one proxy could reduce upstream recalls; unshared workloads could pay extra proxy overhead. [nache-paper] Important limits: section 5.2 describes incomplete CLOSE accounting with repeated opens; section 5.5 identifies loss of unflushed writes on proxy failure. Its cache is not a backup. Experiments used Filebench and compilation workloads; reported server-operation reductions are not universal latency improvements. [nache-paper] Sources and caveats: - Historical source synthesis, not a replication, deployment recommendation or assessment of current Linux NFS behavior. Related terms: - [nfs-delegation](https://hesela.dev/terms/nfs-delegation/) - [nfs-change-attribute](https://hesela.dev/terms/nfs-change-attribute/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [close-to-open-consistency](https://hesela.dev/terms/close-to-open-consistency/) Citations: - [nache-paper] Gulati, Naik and Tewari. Nache: Design and Implementation of a Caching Proxy for NFSv4. FAST 2007, pp. 199-214; sections 4-6. https://www.usenix.org/legacy/events/fast07/tech/full_papers/gulati/gulati_html/ (accessed 2026-11-29) ### Named pipe (FIFO special file) URL: https://hesela.dev/terms/named-pipe/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: FIFO special file, FIFO special Status: shipping Record updated: 2026-11-15 A Unix named pipe is a filesystem-named FIFO special file that connects processes through a kernel-managed byte stream rather than stored file payload. Note: mkfifo() creates the filesystem entry with access permissions determined by the requested mode and applicable creation rules. The inode type is S_IFIFO, tested with S_ISFIFO(st_mode), distinct from regular files and character devices. This record covers Unix FIFO semantics, not the Windows named-pipe API. [mkfifo-api] [inode-api] [acl-api] The pathname locates the channel; transmitted bytes are not saved as filesystem contents. Blocking read-only or write-only open normally waits for the opposite endpoint. With O_NONBLOCK, read-only open can succeed without a writer; write-only open fails with ENXIO without a reader. Linux permits O_RDWR opening, but POSIX leaves that behavior undefined. [fifo-api] The stream has no message boundaries. Writes of at most PIPE_BUF bytes avoid interleaving with other writers; PIPE_BUF is not the pipe capacity. For nonblocking writes within that limit, insufficient space yields EAGAIN instead of a partial write. Larger writes can interleave. These rules provide neither one read per write nor durable storage. [pipe-api] F_GETPIPE_SZ reports nominal capacity; page-buffer layout and write sizes can reduce the bytes actually writable. [pipe-capacity-api] After queued bytes are consumed, a positive-length read returns zero when all write-end descriptors are closed. Writing with no read-end descriptors generates SIGPIPE; if ignored, the operation fails with EPIPE. Retained duplicate endpoint descriptors therefore affect termination detection. A zero-length read is not an EOF test. [pipe-api] [read-api] Sources and caveats: - Primary-source terminology synthesis; no new IPC experiment, capacity measurement or persistence test was performed. Related terms: - [inode](https://hesela.dev/terms/inode/) - [regular-file](https://hesela.dev/terms/regular-file/) Citations: - [mkfifo-api] Linux man-pages: mkfifo(3), creation and permissions. https://man7.org/linux/man-pages/man3/mkfifo.3.html (accessed 2026-11-15) - [inode-api] Linux man-pages: inode(7), FIFO file type. https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-11-15) - [fifo-api] Linux man-pages: fifo(7), pathname and open semantics. https://man7.org/linux/man-pages/man7/fifo.7.html (accessed 2026-11-15) - [pipe-api] Linux man-pages: pipe(7), capacity, atomic writes and endpoint lifetime. https://man7.org/linux/man-pages/man7/pipe.7.html (accessed 2026-11-15) - [read-api] Linux man-pages: read(2), zero-length requests and return values. https://man7.org/linux/man-pages/man2/read.2.html (accessed 2026-11-15) - [acl-api] Linux man-pages: acl(5), object creation and default ACL inheritance. https://man7.org/linux/man-pages/man5/acl.5.html (accessed 2026-11-15) - [pipe-capacity-api] Linux man-pages: F_GETPIPE_SZ(2const), nominal capacity and usable buffer space. https://man7.org/linux/man-pages/man2/F_GETPIPE_SZ.2const.html (accessed 2026-11-15) ### Nameless write URL: https://hesela.dev/terms/nameless-write/ Also known as: Nameless writes Status: research Record updated: 2026-11-21 A nameless write is a research SSD operation in which the device selects a physical destination and returns its address for the client to record. Note: The 2010 proposal keeps placement under device control while the filesystem records the returned address. Its preferred reclaim callback asks the filesystem to rewrite and trim, unlike the later prototype's notification after device-side migration. This is not a raw-flash interface for caller-chosen physical overwrites. [nameless-2010] [nameless-2012] The FAST 2012 prototype retains virtual-address mappings and temporary migration mappings; de-indirection is not zero metadata. Associated metadata locates filesystem references; a nameless-data migration is acknowledged only after changed reference metadata is written to the device, allowing its temporary remapping to be removed. Its recovery assumes atomic writes of each page with its out-of-band metadata, followed by a startup scan and reference repair after a crash. The modified-ext3 SSD-emulator study uses ordered journaling and reports four crash-injection points, not exhaustive hardware power-loss testing. [nameless-2012] NVMe Zone Append returns a logical address within a selected zone, not a physical flash address. The interfaces should not be treated as interchangeable. [zns-addresses] The FAST 2013 OpenSSD split-FTL prototype reports possible data loss after relocation but before filesystem notification. Its platform lacked the atomic writes and usable out-of-band space assumed by the earlier recovery design. Metadata flushing did not remove this reported window. This hardware limitation must remain separate from the 2012 emulator results. Its reclamation sequence also passes through host DRAM and erases the old block before rewriting live pages. Hesela therefore recommends testing the erase-to-rewrite interval too; this is a proposed check, not a reported experiment. [nameless-2013] Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [zone-append](https://hesela.dev/terms/zone-append/) Citations: - [nameless-2010] Arpaci-Dusseau, Arpaci-Dusseau and Prabhakaran. Removing The Costs Of Indirection in Flash-based SSDs with Nameless Writes. HotStorage 2010, sections 2-4. https://research.cs.wisc.edu/wind/Publications/hotstorage10-nameless.pdf (accessed 2026-10-27) - [nameless-2012] Zhang et al. De-indirection for Flash-based SSDs with Nameless Writes. FAST 2012, updated 7 February 2012, sections 3-6. https://www.usenix.org/system/files/conference/fast12/zhang2-7-12.pdf (accessed 2026-10-27) - [zns-addresses] Western Digital. Zoned Storage Devices Overview, Zone Append. https://zonedstorage.io/docs/introduction/zoned-storage#zone-append (accessed 2026-10-26) - [hesela-ftl] Hesela: Flash Translation Layer technology guide. https://hesela.com/tech/ftl/ (accessed 2026-10-26) - [nameless-2013] Saxena et al. Getting Real: Lessons in Transitioning Research Simulations into Hardware Systems. FAST 2013, sections 3.4.1-3.4.2, pp. 223-224. https://www.usenix.org/system/files/conference/fast13/fast13-final42.pdf (accessed 2026-11-21) ### NVMe namespace URL: https://hesela.dev/terms/namespace-nvme/ Status: shipping Record updated: 2026-11-10 An NVMe resource collection that a host can address through a namespace identifier, such as formatted non-volatile storage. Note: A namespace need not belong exclusively to one controller. A shared namespace can be accessible through multiple controllers. A logical namespace is not a promise of physically separate media. [base21] FDP placement handles are namespace-scoped mappings, distinct from the reclaim unit handles they select. [base21] ANA groups coordinate namespace access-state transitions relative to each controller; a group is not a namespace or a physical failure domain. [base23] Addressing by NSID, recognizing namespace identity and selecting an accessible path are distinct tasks; neither a matching device-name suffix nor a subsystem name identifies a volume by itself. [hesela-paths] When NVM Sets are supported, a namespace containing formatted storage belongs wholly to one NVM Set and inherits its attributes. Each set belongs to one Endurance Group; several sets may share that group's endurance management. NVMSETID and ENDGID describe this hierarchy, not alternate namespace identities. [base23-hierarchy] Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [ssd](https://hesela.dev/terms/ssd/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [nvm-subsystem](https://hesela.dev/terms/nvm-subsystem/) - [nvme-fdp](https://hesela.dev/terms/nvme-fdp/) - [nvme-placement-identifier](https://hesela.dev/terms/nvme-placement-identifier/) - [ana-group](https://hesela.dev/terms/ana-group/) - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) - [nvme-reservation](https://hesela.dev/terms/nvme-reservation/) - [nvme-base-spec](https://hesela.dev/terms/nvme-base-spec/) - [nvme-nsid](https://hesela.dev/terms/nvme-nsid/) - [nvme-namespace-identifiers](https://hesela.dev/terms/nvme-namespace-identifiers/) - [nvme-nvm-set](https://hesela.dev/terms/nvme-nvm-set/) - [nvme-endurance-group](https://hesela.dev/terms/nvme-endurance-group/) - [sr-iov](https://hesela.dev/terms/sr-iov/) - [compute-namespace](https://hesela.dev/terms/compute-namespace/) - [nvme-namespace-write-protection](https://hesela.dev/terms/nvme-namespace-write-protection/) - [nvme-copy](https://hesela.dev/terms/nvme-copy/) - [nvme-get-lba-status](https://hesela.dev/terms/nvme-get-lba-status/) - [nvme-atomic-write-unit-normal](https://hesela.dev/terms/nvme-atomic-write-unit-normal/) - [nvme-atomic-write-unit-power-fail](https://hesela.dev/terms/nvme-atomic-write-unit-power-fail/) - [nvme-atomic-boundary](https://hesela.dev/terms/nvme-atomic-boundary/) Citations: - [base21] NVM Express Base Specification 2.1, sections 1.5 and 2.4.1. Copyright 2008-2024 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.1-2024.08.05-Ratified.pdf (accessed 2026-10-12) - [base23] NVM Express Base Specification 2.3 (1 August 2025), section 8.1.1: Asymmetric Namespace Access. Pinned edition, not a claim about the latest revision. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-15) - [hesela-paths] Hesela: NVMe multipath: ANA access states and Linux path policies. https://hesela.com/analyses/nvme-multipath-ana-path-selection/ (accessed 2026-10-15) - [base23-hierarchy] NVM Express Base 2.3: sections 3.2.2-3.2.3, printed pp. 79-82. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-21) ### NAND copyback URL: https://hesela.dev/terms/nand-copyback/ Related analysis: https://hesela.com/analyses/nand-copyback-ecc-boundary/ Also known as: copy-back, internal data move, IDM Status: shipping Record updated: 2026-11-22 NAND copyback relocates page data through an on-chip buffer to a destination page without transferring the payload to an external controller. Note: In the cited NAND organizations, copyback moves page data within one plane without an off-chip payload transfer; destination placement is constrained by the part and command. [hu2011] A host copy command does not establish that copyback occurred: one zoned-interface extension uses copyback only when the source and destination logical blocks map to the same chip, and otherwise copies through the controller. [han2021] Bypassing the controller's ECC path can propagate uncorrected errors across successive copybacks; it does not establish that every NAND device lacks internal checking. One remedy checks errors in the controller in parallel and reprograms corrected data when needed, another allows only a limited number of consecutive copybacks set from the chip's error characteristics. [han2021] For a repeating cycle of two internal moves followed by one off-chip move, one of three moves transfers its payload out and back. One third remains and two thirds are avoided, assuming equal payloads and unchanged eligibility. This is explicit accounting, not a measured latency reduction. Short histories and their initial copy counts can give different fractions. [example] EDC validity and program success are separate from ECC correction, so inspect the part-specific status fields. [cypress-edc] Advantages: - Hong et al. report 54% higher average I/O throughput for rcFTL4 across four traces in their configured 64-GB emulated system, relative to an FTL that always relocates off-chip. (sources: [hong2018]) Limitations: - Placement restrictions are device-specific; historical odd/even rules must not be applied to every NAND generation. (sources: [hu2011]) Sources and caveats: - han2021 re-read 2026-10-23, sections 2.1 and 3, for plane-level copyback, same-chip selection and the two error remedies. - hong2018 re-read 2026-10-23 for the 1/3 transfer-time reduction, the 77% migration share and the 54% throughput gain. - hu2011 re-read 2026-10-23, section 2.2, for the odd/even source and destination rule. - The garbage-collection-host entry links here because host-side zone compaction in the cited extension relies on copyback-aware block allocation. - The companion analysis provides narrative context; the example citation now supplies explicit transfer-count accounting. - Reviewed 2026-11-22: hong2018 sections 1-5; removed the ambiguous introductory 1/3 reduction claim in favor of exact finite-history accounting. The 54% value is an emulated workload result, not a commercial-drive guarantee. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [ftl](https://hesela.dev/terms/ftl/) - [ldpc](https://hesela.dev/terms/ldpc/) - [data-retention](https://hesela.dev/terms/data-retention/) - [restricted-copyback](https://hesela.dev/terms/restricted-copyback/) - [garbage-collection-host](https://hesela.dev/terms/garbage-collection-host/) - [rain](https://hesela.dev/terms/rain/) - [ttflash](https://hesela.dev/terms/ttflash/) - [nand-data-randomization](https://hesela.dev/terms/nand-data-randomization/) Citations: - [hong2018] Hong, Kim, Park, Jung and Kim. Revitalizing Copybacks in Modern SSDs: Why and How. Author manuscript arXiv:1810.04603v1, 2018, sections 3-5. https://arxiv.org/abs/1810.04603v1 (accessed 2026-10-23) - [hu2011] Hu et al. Performance Impact and Interplay of SSD Parallelism through Advanced Commands, Allocation Strategy and Data Granularity. ICS 2011, secs. 2.2 and 4.3. https://ranger.uta.edu/~jiang/publication/Conferences/2011/2011-ICS-Performance%20Impact%20and%20Interplay%20of%20SSD%20Parallelism%20through%20Advanced%20Commands,%20Allocation%20Strategy%20and%20Data%20Granularity.pdf (accessed 2026-10-23) - [han2021] Han, Gwak, Shin and Hwang. ZNS+: Advanced Zoned Namespace Interface for Supporting In-Storage Zone Compaction. OSDI 2021, sections 2.1 and 3.3.1. https://www.usenix.org/system/files/osdi21-han.pdf (accessed 2026-10-23) - [hesela-copyback] Hesela: NAND copyback, faster relocation is not fewer writes. https://hesela.com/analyses/nand-copyback-ecc-boundary/ (accessed 2026-10-11) - [example] Hesela illustrative copyback payload accounting: assumptions, results and model hash. https://hesela.dev/research/copyback-accounting.json (accessed 2026-10-11) - [cypress-edc] Cypress S34ML01G1/S34ML02G1/S34ML04G1 datasheet, 002-00676 Rev. *V, 20 March 2018, sections 3.8-3.8.1, Table 9. https://media.digikey.com/pdf/Data%20Sheets/Cypress%20PDFs/S34ML01_02_04G1_RevV_3-20-18.pdf (accessed 2026-10-19) ### NAND data randomization URL: https://hesela.dev/terms/nand-data-randomization/ Also known as: NAND scrambling, NAND randomizer Status: shipping Record updated: 2026-11-19 NAND data randomization reversibly transforms bit patterns before programming to reduce pattern-dependent errors, with matching settings required for readback. Note: Pattern control: Balancing bits along a wordline does not ensure balanced patterns along a vertical NAND string. A 2021 TLC study uses two linked shift registers to control both directions; its stress results concern the tested memory, not a universal endurance multiplier. [favalli2021] Readback: In the Linux v6.12 sunxi driver, state selection depends on page address and block geometry; spare-area state also depends on ECC step size. Its two-byte marker helper has address-dependent XOR masks. These software transforms are not physical marker values or a complete page decoder. [sunxi] [native] Erased pages: A documented GPMI erratum distinguishes erased from programmed reads when randomization is enabled. The generic Linux erased-chunk check separately counts deviations from FF across supplied data, ECC and extra OOB; a successful check normalizes the supplied buffers. Omitting ECC can change that decision. [nxp-randomizer] [nand-core] Configuration: Some NAND feature bits controlling randomization and its coverage return to power-on defaults. Preserve the device-specific settings with the image; matching payload bytes alone does not establish a compatible raw relocation. [macronix-randomizer] Limitations: - A reversible XOR transform does not correct bit errors or establish confidentiality. (sources: [favalli2021], [native]) Sources and caveats: - The 2021 full paper compares randomizers under endurance and retention stress; no performance or lifetime result is reproduced. [favalli2021] - NXP ERR008650 and Macronix AN1051 describe different device families. They are not general claims about current NAND products. [nxp-randomizer] [macronix-randomizer] - Publishing-session replay of five pinned Linux helpers matched the frozen results. Constructed buffers are not asserted to be valid ECC codewords; no NAND hardware, whole-page decoder or copyback command was exercised. [native] Related terms: - [nand-copyback](https://hesela.dev/terms/nand-copyback/) - [nand-spare-area](https://hesela.dev/terms/nand-spare-area/) Citations: - [favalli2021] Favalli et al. A Scalable Bidimensional Randomization Scheme for TLC 3D NAND Flash Memories. Micromachines 12(7):759, 2021, sections 2-4. https://pmc.ncbi.nlm.nih.gov/articles/PMC8305298/ (accessed 2026-11-19) - [sunxi] Linux v6.12 sunxi_nand.c: randomizer state selection and software bad-block-marker transform. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/mtd/nand/raw/sunxi_nand.c (accessed 2026-11-19) - [nand-core] Linux v6.12 nand_base.c: nand_check_erased_ecc_chunk and its data/ECC/OOB budget. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/drivers/mtd/nand/raw/nand_base.c (accessed 2026-11-19) - [nxp-randomizer] NXP. i.MX 6SoloX Chip Errata, Rev. 2, February 2019, ERR008650, p. 79. https://www.nxp.com/docs/en/errata/IMX6SXCE.pdf (accessed 2026-11-19) - [macronix-randomizer] Macronix. AN1051 Rev. 1, 2 November 2023: randomizer configuration and coverage, sections 1, 2 and 4. https://www.macronix.com/Lists/ApplicationNote/Attachments/2151/AN1051V1-The%20Introduction%20of%20Randomizer%20Feature%20on%20MX30xFxG28AD_MX35xFxG24AD.pdf (accessed 2026-11-19) - [native] Hesela. NAND randomizer: pinned source-helper execution, exact results and reproduction instructions. https://hesela.dev/research/nand-randomizer/README.md (accessed 2026-11-19) ### NAND dwell time URL: https://hesela.dev/terms/nand-dwell-time/ Related analysis: https://hesela.com/analyses/3d-nand-retention-evidence/ Also known as: flash dwell time Status: research Record updated: 2026-11-18 NAND dwell time is the interval between specified successive program or erase stress events on the same cells, during which partial self-recovery can occur. Note: Event boundaries must be stated: HeatWatch uses consecutive program operations [heatwatch]. This is different from retention age after writing the observed data. Host idle time does not identify individual cells' stress intervals; internal relocation can continue without host writes. Model boundary: The 2010 endurance model assumes no recovery below one second. That modeling cutoff is not a measured universal activation threshold for NAND. [mohan] Related terms: - [nand-self-recovery](https://hesela.dev/terms/nand-self-recovery/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) - [data-retention](https://hesela.dev/terms/data-retention/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [effective-retention-time](https://hesela.dev/terms/effective-retention-time/) - [heatwatch](https://hesela.dev/terms/heatwatch/) - [ready](https://hesela.dev/terms/ready/) Citations: - [heatwatch] Luo, Ghose, Cai, Haratsch and Mutlu. HeatWatch. HPCA 2018, sections 2.3, 3.1-3.4, 4.2 and 5. DOI: 10.1109/HPCA.2018.00050. https://people.inf.ethz.ch/~omutlu/pub/heatwatch-3D-nand-errors-and-self-recovery_hpca18.pdf (accessed 2026-10-16) - [hesela-recovery] Hesela: 3D NAND retention, self-recovery and thermal annealing evidence. https://hesela.com/analyses/3d-nand-retention-evidence/#self-recovery (accessed 2026-10-16) - [mohan] Mohan, Siddiqua, Gurumurthi and Stan. How I Learned to Stop Worrying and Love Flash Endurance. HotStorage 2010, section 3.2. https://www.usenix.org/legacy/events/hotstorage10/tech/full_papers/Mohan.pdf (accessed 2026-11-18) ### NAND erase block URL: https://hesela.dev/terms/nand-erase-block/ Related analysis: https://hesela.com/analyses/nand-erase-block-size-gc-cost/ Also known as: flash erase block Status: shipping Record updated: 2026-10-25 A NAND erase block is a group of flash pages erased together by a block-erase operation. Note: It is not a host logical block or a filesystem block. Geometry is device-specific; preserving live pages before reuse adds copying work. [agrawal2008] [cai2017] Programming only raises a cell's threshold voltage, so a page can be programmed once between erases, and because all cells of a block share one substrate the erase works on the whole block. [cai2017] Reads and programs work on pages, erases on fixed-size blocks of contiguous pages. [agrawal2008] Block size has grown: a 2008 design study used 64 pages of 4 KB, two 2014-era MLC chips had 128 and 256 pages of 8 kB, and a simulated 3D chip had 576 pages of 16 KiB, that is 256 KB, 1 MiB, 2 MiB and 9 MiB. [agrawal2008] [jimenez2014] [park] Erase took 1.5 to 5 ms in these sources, while programming the 64 pages of the 2008 block at 200 µs each takes 12.8 ms. Before reuse the controller moves out still-valid pages, and the worst case is N - 1 cleaning writes per new write for a block of N pages, 63 for 64 pages and 575 for 576. [agrawal2008] A block is retired when an erase or program fails or its bit error rate nears the correction limit. [jimenez2014] Advantages: - Erasing many pages in one operation keeps the slow erase small next to programming the block, about 2.8% for one 2014-era chip. (sources: [jimenez2014]) Limitations: - Each block endures a limited number of erase cycles, so erases must be spread evenly over the blocks. (sources: [agrawal2008]) Sources and caveats: - The figures come from one 2008 design study, two 2014-era chips and a simulated 3D chip, so they show the range of geometry, not any current device. - The 2008 study has co-authors from an industrial research laboratory (Microsoft Research); the survey is university-led with one drive-maker co-author; the EPFL and read-retry studies are university work. - N - 1 is a worst-case bound for the worst distribution of valid pages, not a typical cost. - Arithmetic: 64 x 200 µs = 12.8 ms (19.2 ms with 100 µs transfers), so a 1.5 ms erase is about 12% (8%); the 2.8% assumes half of 128 pages program in 450 µs and half in 1,800 µs (144 ms per block, 4 ms erase). - Planes and multi-block logical units are not covered. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [nand-page](https://hesela.dev/terms/nand-page/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) - [ftl](https://hesela.dev/terms/ftl/) - [nand-plane](https://hesela.dev/terms/nand-plane/) - [nand-logical-unit](https://hesela.dev/terms/nand-logical-unit/) - [nand-erase-suspension](https://hesela.dev/terms/nand-erase-suspension/) Citations: - [agrawal2008] Agrawal et al. Design Tradeoffs for SSD Performance. USENIX ATC 2008, section 2 and Table 1. https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal_html/index.html (accessed 2026-10-15) - [cai2017] Cai et al. Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives. 2017, sections 2.1 and 2.3. https://arxiv.org/pdf/1706.08642v3 (accessed 2026-10-15) - [jimenez2014] Jimenez, Novo and Ienne. Wear Unleveling: Improving NAND Flash Lifetime by Balancing Page Endurance. USENIX FAST 2014. https://www.usenix.org/system/files/conference/fast14/fast14-paper_jimenez.pdf (accessed 2026-10-16) - [park] Park et al. Reducing Solid-State Drive Read Latency by Optimizing Read-Retry. ASPLOS 2021, section 7.1. https://people.inf.ethz.ch/~omutlu/pub/Reducing-SSD-Read-Latency-by-Optimizing-Read-Retry_asplos21.pdf (accessed 2026-10-16) ### NAND erase suspension URL: https://hesela.dev/terms/nand-erase-suspension/ Also known as: Erase suspend Status: research Record updated: 2026-10-25 NAND erase suspension interrupts an ongoing block erase to permit other supported operations before the erase resumes. Note: Suspend/resume requires NAND and controller support; it is not equivalent to merely prioritizing queued reads. Wu and He evaluate a proposed program/erase suspension mechanism in simulation. [pe-suspend] The practical policies studied by Kim et al. differ in when an erase step is interrupted and whether its progress is retained. Supported mechanisms and scheduling policy must be identified separately. [practical-erase] Limitations: - Suspension is not erase completion, a durability barrier or proof of an application's latency bound. (sources: [pe-suspend], [practical-erase]) Related terms: - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [preemptible-garbage-collection](https://hesela.dev/terms/preemptible-garbage-collection/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) Citations: - [pe-suspend] Guanying Wu and Xubin He. Reducing SSD Read Latency via NAND Flash Program and Erase Suspension. FAST 2012, pp. 117-123; sections 3-5. https://www.usenix.org/system/files/conference/fast12/wu.pdf (accessed 2026-10-25) - [practical-erase] Shine Kim et al. Practical Erase Suspension for Modern Low-latency SSDs. USENIX ATC 2019, pp. 813-820; sections 2-3, Figure 3 and Tables 1-2. https://www.usenix.org/system/files/atc19-kim-shine.pdf (accessed 2026-10-25) - [hesela-fairness] Hesela: SSD fairness, NAND suspension and write progress. https://hesela.com/analyses/ssd-fairness-shared-queues/#nand-suspension (accessed 2026-10-25) ### NAND flash URL: https://hesela.dev/terms/nand-flash/ Technology reference: https://hesela.com/tech/nand-flash/ Also known as: NAND Status: shipping Record updated: 2026-11-26 A non-volatile flash memory architecture with cells connected in series strings and data accessed through page-read, page-program and block-erase operations. Note: A page read transfers array data into an internal register before data moves over the interface; programming uses a page, while erase acts on a block containing multiple pages. These are chip operations, not the logical-sector interface exposed by an SSD. Page and erase-block dimensions and programming-order rules depend on the device. [c2] [c5] The cell arrangement is distinct from the external interface. Serial NAND can use a NOR-like serial interface without becoming NOR. NAND requires error correction, bad-block handling and wear management. A managed device supplies a controller for these duties; on-die ECC alone does not make it fully managed, and bad-block handling and wear leveling may still belong to the host. [c1] [c3] For raw NAND, preserve factory bad-block information, meet the specified ECC requirement, and check program/erase status. After a failed operation, follow the part's recovery and retirement rules; retiring a block cannot reconstruct unreadable data. Successful programming alone does not establish long-term retention. [c4] [c5] The page's spare area stores ECC and other metadata, not replacement erase blocks. Available metadata space depends on the coding and layout; Desnoyers describes how stronger ECC can constrain FTL metadata there. [c5] Charge can only be added in program-and-verify steps, so a page cannot change in place; n bits per cell need 2^n - 1 read reference voltages, three for MLC and seven for TLC. [cai2018] Advantages: - Several bits per cell come from dividing the threshold-voltage window into 4 or 8 states, with a Gray-style mapping in which adjacent states differ by one bit. (sources: [cai2018]) Limitations: - Endurance and retention depend on operating conditions and error correction, not only on the number of bits per cell. (sources: [c5]) - Rewriting one 4 KB block in place inside a 128 KB erase unit would copy, erase and rewrite 128 KB, 32 times the write size, so writes are remapped to new locations. (sources: [galtoledo]) - Endurance fell from about 10,000 cycles for 5x-nm MLC to about 3,000 for 1x-nm MLC and 1,000 for 1x-nm TLC. (sources: [cai2018]) Sources and caveats: - The 2004 survey and the planar-era review figures are historical and cited from other works; the review has one drive-maker co-author. - Arithmetic: 128 / 4 = 32; 1 + 2 = 3 and 1 + 2 + 4 = 7 read reference voltages. Related terms: - [nor-flash](https://hesela.dev/terms/nor-flash/) - [slc](https://hesela.dev/terms/slc/) - [mlc](https://hesela.dev/terms/mlc/) - [tlc](https://hesela.dev/terms/tlc/) - [qlc](https://hesela.dev/terms/qlc/) - [ssd](https://hesela.dev/terms/ssd/) - [ftl](https://hesela.dev/terms/ftl/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [sd-express](https://hesela.dev/terms/sd-express/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [die-stacking](https://hesela.dev/terms/die-stacking/) - [nand-page](https://hesela.dev/terms/nand-page/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [execute-in-place](https://hesela.dev/terms/execute-in-place/) - [nand-spare-area](https://hesela.dev/terms/nand-spare-area/) - [nand-target](https://hesela.dev/terms/nand-target/) - [nand-logical-unit](https://hesela.dev/terms/nand-logical-unit/) - [nand-plane](https://hesela.dev/terms/nand-plane/) - [ubi](https://hesela.dev/terms/ubi/) - [ubifs](https://hesela.dev/terms/ubifs/) - [mtd](https://hesela.dev/terms/mtd/) - [nand-wordline](https://hesela.dev/terms/nand-wordline/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) - [flash-cosmos](https://hesela.dev/terms/flash-cosmos/) - [incremental-step-pulse-programming](https://hesela.dev/terms/incremental-step-pulse-programming/) Citations: - [c1] KIOXIA. Why Replace Embedded NOR Flash Memory with Serial NAND? March 2021, revision 3.1, pages 1-2. Cell arrangements and external interfaces. https://americas.kioxia.com/content/dam/kioxia/en-us/business/memory/slc-nand/asset/KIOXIA_NOR_to_NAND_Tech_Brief.pdf (accessed 2026-10-18) - [c2] Agrawal et al. Design Tradeoffs for SSD Performance. USENIX ATC 2008, sections 2 and 2.1. Page reads, page programming and block erasure. https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal_html/index.html (accessed 2026-10-18) - [c3] Micron. Choosing the right NAND. Raw NAND, serial NAND, managed NAND and on-die ECC NAND. https://www.micron.com/products/storage/nand-flash/choosing-the-right-nand (accessed 2026-10-18) - [c4] Micron. FAQs, NAND flash section. ECC requirements, manufacturer-marked bad blocks and program/erase status handling. https://www.micron.com/sales-support/sales/faqs (accessed 2026-10-18) - [c5] Desnoyers. What Systems Researchers Need to Know about NAND Flash. HotStorage 2013, sections 2-3: geometry, endurance, retention and page spare areas. https://www.usenix.org/system/files/conference/hotstorage13/hotstorage13-desnoyers.pdf (accessed 2026-10-18) - [galtoledo] Gal and Toledo. Algorithms and Data Structures for Flash Memories. Tel-Aviv University survey, 24 July 2004. https://www.cs.tau.ac.il/~stoledo/Pubs/survey.pdf (accessed 2026-10-16) - [cai2018] Cai, Ghose, Haratsch, Luo and Mutlu. Errors in Flash-Memory-Based Solid-State Drives: Analysis, Mitigation, and Recovery. arXiv 1711.11427v2, 2018. https://arxiv.org/abs/1711.11427 (accessed 2026-10-16) ### NAND logical unit URL: https://hesela.dev/terms/nand-logical-unit/ Related article: https://hesela.com/tech/nand-flash/ Also known as: NAND LUN, ONFI LUN Status: shipping Record updated: 2026-10-20 An ONFI NAND logical unit is the smallest command-execution and status-reporting unit that can operate independently of other logical units. Note: A target contains one or more LUNs; each LUN has an array and page-register resources. This NAND meaning is separate from a host-facing SCSI logical unit. [onfi4] Independent array activity does not create independent data links. LUNs within a target share the host data bus, and only one may drive data output at a time. Command ordering and register handling also impose restrictions. [onfi42] Sources and caveats: - ONFI terminology is scoped to the cited editions; component geometry and supported command sequences must be checked for the selected device. Related terms: - [nand-target](https://hesela.dev/terms/nand-target/) - [nand-plane](https://hesela.dev/terms/nand-plane/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [nand-page](https://hesela.dev/terms/nand-page/) - [logical-unit-number](https://hesela.dev/terms/logical-unit-number/) Citations: - [onfi4] ONFI 4.0, sections 1.4.1 and 3: NAND target, logical unit and memory organization. https://onfi.org/files/onfi_4_0-gold.pdf (accessed 2026-10-20) - [onfi42] ONFI 4.2, sections 3.1.2-3.1.3: shared data bus and multiple-LUN operation restrictions. https://onfi.org/files/onfi_4_2-gold.pdf (accessed 2026-10-20) ### Open NAND block URL: https://hesela.dev/terms/nand-open-block/ Related article: https://hesela.com/tech/qlc/ Also known as: partially programmed NAND block Status: unknown Record updated: 2026-10-16 An open NAND block is a partially programmed erase block whose remaining pages have not yet completed programming. Note: Calibration: A page group may span writes made before and after a programming pause. Its pages then have different retention or read-disturb histories, so shared read-voltage offsets can mismatch some pages. [irps2020] Boundary: This is an internal NAND condition, not an NVMe open-zone state or a measure of filesystem free space. Sources and caveats: - IRPS 2020 reports laboratory QLC characterization, not a fleet failure rate. [irps2020] - Chip identities and sample count are not specified; P/E cycles are normalized. [irps2020] Related terms: - [qlc](https://hesela.dev/terms/qlc/) - [qlc-ssd](https://hesela.dev/terms/qlc-ssd/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [read-retry](https://hesela.dev/terms/read-retry/) - [data-retention](https://hesela.dev/terms/data-retention/) - [read-disturb](https://hesela.dev/terms/read-disturb/) Citations: - [irps2020] Papandreou et al. - Open Block Characterization and Read Voltage Calibration of 3D QLC NAND Flash, IRPS 2020, Sections III-IV, Figures 5-9. https://doi.org/10.1109/IRPS45951.2020.9129620 (accessed 2026-10-16) ### NAND page pairing URL: https://hesela.dev/terms/nand-page-pairing/ Also known as: Paired pages, Shared pages Status: shipping Record updated: 2026-11-26 NAND page pairing is the grouping of pages whose bits occupy the same physical memory cells. Note: In a cell that stores several bits, each bit belongs to a different page, so programming one page changes cells that already hold its partner's data. Linux MTD describes the relation with a pair index and a group, the bit position in the cell, and lets drivers convert between page numbers and pairs. Its documented example maps the 256 pages of an MLC block into 128 pairs, with page 0 paired with page 4, and the same structure allows TLC groups of three pages. [linux] Partner pages are usually not adjacent in page order because two-step programming writes the lower bits of the next wordline before the upper bits of the current one, limiting interference on finished cells. In one measured chip the first page at address n was paired with the second page at address n+6. Device-specific pairing is not a host-LBA adjacency rule. [survey] [tseng] In power-cut tests the first page's bit error rate reached 25% when power failed 200 to 900 µs into programming its partner, and 50% in another chip with a 50 to 100 µs cut, although the first program had completed. [tseng] Advantages: - A pairing map lets an FTL program and retire each pair as one unit, or keep its own metadata only on second pages, which the power-cut tests never corrupted retroactively. (sources: [tseng]) Limitations: - A raw-NAND pairing map is not exposed by this MTD API as an NVMe logical-block map. (sources: [linux]) - Interrupted programming of a partner page can corrupt earlier data in the studied MLC devices; this is not a current-fleet failure rate. (sources: [tseng]) Sources and caveats: - linux is the v6.12 mtd.h header, read in the mtd_pairing_info and mtd_pairing_scheme comments, including the 128-pair example. - tseng is the DAC 2011 paper by authors at the University of California, San Diego, read in sections 2, 3 and 4.1.1-4.1.3. - survey is the Carnegie Mellon, Seagate Technology and ETH Zurich arXiv review of flash errors, read in sections 2.4 and 3.2 on two-step programming and program errors. - 256 pages restates the header example, pairs 0 to 127 times two groups; n+6, 25% and 50% come from tseng section 4.1.2. - Power-cut figures come from a handful of 2011-era MLC chips on one test platform. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [mlc](https://hesela.dev/terms/mlc/) - [ftl](https://hesela.dev/terms/ftl/) - [program-interference](https://hesela.dev/terms/program-interference/) - [incremental-step-pulse-programming](https://hesela.dev/terms/incremental-step-pulse-programming/) Citations: - [linux] Linux v6.12, include/linux/mtd/mtd.h: mtd_pairing_info and mtd_pairing_scheme. https://github.com/torvalds/linux/blob/v6.12/include/linux/mtd/mtd.h (accessed 2026-10-22) - [tseng] Tseng, Grupp and Swanson. Understanding the Impact of Power Loss on Flash Memory. DAC 2011, sections 2-3 and 4.1. DOI: 10.1145/2024724.2024733. https://cseweb.ucsd.edu/users/swanson/papers/DAC2011PowerCut.pdf (accessed 2026-10-22) - [hesela-pairing] Hesela: NAND paired pages and durability boundaries. https://hesela.com/analyses/nand-paired-pages-durability/ (accessed 2026-10-11) - [survey] Cai, Ghose, Haratsch, Luo and Mutlu. Errors in Flash-Memory-Based Solid-State Drives: Analysis, Mitigation, and Recovery. arXiv:1711.11427v2, 2018. https://arxiv.org/abs/1711.11427 (accessed 2026-10-22) ### NAND page scrubbing URL: https://hesela.dev/terms/nand-page-scrubbing/ Related analysis: https://hesela.com/analyses/ssd-sanitization-trim-evidence/ Also known as: Zero-overwrite scrubbing, Page-level NAND scrubbing Status: research Record updated: 2026-11-22 NAND page scrubbing reprograms a physical flash page to obscure its previous digital contents without erasing the whole block. Note: In the FAST 2011 design, remaining one bits are programmed to zero. This is a deletion operation, unlike integrity scrubbing, which checks stored data for errors. A host overwrite need not reach the same physical page because the FTL can redirect it. [wei] Reprogramming can disturb other data. The studied MLC devices required paired-page handling and a device-specific scrub budget, after which valid data were relocated and the block erased. [wei] An all-zero readout can still conceal different cell histories. Hasan and Ray showed that retention separates old and newly programmed zeros; partial erase exposed this difference on tested SLC chips. Their setup bypassed the FTL and read raw bits without ECC. Two of four listed chip models had recovery figures; the other two exceeded the setup's timing capability. [hasan] The proposed analog scrubbing uses partial programming to reduce that separation. Its calibration depends on retention history; the paper leaves accurate timing characterization for future investigation. An unrecognizable recovered image is not a general proof of secure deletion. [hasan] Limitations: - These experiments do not establish recovery rates for modern 3D TLC or QLC SSDs or validate an NVMe Sanitize implementation. (sources: [hasan], [wei]) Sources and caveats: - Primary-paper synthesis, not a new recovery experiment. The 2020 demonstration used accelerated retention at 120 C; no conversion to ordinary storage years is assumed. [hasan] Related terms: - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [secure-erase](https://hesela.dev/terms/secure-erase/) - [nand-page](https://hesela.dev/terms/nand-page/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [program-interference](https://hesela.dev/terms/program-interference/) - [data-retention](https://hesela.dev/terms/data-retention/) - [ftl](https://hesela.dev/terms/ftl/) Citations: - [wei] Wei et al. Reliably Erasing Data from Flash-Based Solid State Drives. FAST 2011, sections 4.2-4.4. https://www.usenix.org/legacy/events/fast11/tech/full_papers/Wei.pdf (accessed 2026-11-22) - [hasan] Hasan and Ray. Data Recovery from Scrubbed NAND Flash Storage: Need for Analog Sanitization. USENIX Security 2020, sections 3-6. https://www.usenix.org/system/files/sec20-hasan.pdf (accessed 2026-11-22) ### NAND page URL: https://hesela.dev/terms/nand-page/ Related analysis: https://hesela.com/analyses/nand-erase-block-size-gc-cost/ Also known as: flash page Status: shipping Record updated: 2026-11-22 A NAND page is a group of data bits addressed together for a page read or program operation within an erase block. Note: A host sector and an FTL mapping entry need not have the same size as a physical page. In multi-bit NAND, different logical pages can share cells on a wordline. [agrawal2008] [cai2017] In a 2008 design study, each erase block held 64 pages of 4 KB, and each page carried a 128-byte region for identification and error-detection metadata. A read moved a page from the array into a 4 KB data register in 25 µs, programming took 200 µs and erasing a block took 1.5 ms. [agrawal2008] The serial interface moved one byte per 25 ns, roughly 100 µs per 4 KB page, so the transfer rather than the array access dominated a read. Without interleaving, one package delivered about 8000 page reads per second (32 MB/s) or 3330 page writes per second (13 MB/s). Pages within a block had to be programmed sequentially from low to high addresses. [agrawal2008] In multi-level cells, the bits stored on one wordline, which typically spans 32K to 64K cells, form separate logical pages. In two-bit cells the most significant bits form an MSB page and the least significant bits an LSB page, and three-bit cells add a CSB page between them. [cai2017] Advantages: - With full interleaving between two packages, page copying proceeded at close to 100 µs per page despite a 200 µs program time. (sources: [agrawal2008]) Limitations: - Ordinary arbitrary in-place updates require block erase; specialized WOM-coded reuse instead depends on supported programming sequences and device-specific reliability limits. (sources: [agrawal2008], [margaglia2016]) Sources and caveats: - agrawal2008 is the USENIX ATC 2008 paper by Agrawal et al. (Microsoft Research, University of Wisconsin-Madison), reread in section 2 and Table 1. - cai2017 is the survey by Cai, Ghose, Haratsch, Luo and Mutlu (Carnegie Mellon University, ETH Zurich), reread in sections 2.1 and 2.3. - 64 pages, 4 KB, 128 bytes, 25 µs, 200 µs, 1.5 ms, 25 ns, 100 µs, 8000 reads per second, 32 MB/s, 3330 writes per second and 13 MB/s come from agrawal2008. 32K to 64K cells per wordline comes from cai2017. - The figures describe one flash part used in a 2008 study and are not typical of current devices. - 2026-11-01: qualified the blanket rewrite prohibition to distinguish ordinary updates from specialized WOM-coded page reuse. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [nand-wordline](https://hesela.dev/terms/nand-wordline/) - [nand-page-pairing](https://hesela.dev/terms/nand-page-pairing/) - [ftl](https://hesela.dev/terms/ftl/) - [nand-spare-area](https://hesela.dev/terms/nand-spare-area/) - [write-once-memory-code](https://hesela.dev/terms/write-once-memory-code/) - [gray-code](https://hesela.dev/terms/gray-code/) Citations: - [agrawal2008] Agrawal et al. Design Tradeoffs for SSD Performance. USENIX ATC 2008, section 2 and Table 1. https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal_html/index.html (accessed 2026-10-22) - [cai2017] Cai et al. Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives. 2017, sections 2.1 and 2.3. https://arxiv.org/pdf/1706.08642v3 (accessed 2026-10-22) - [margaglia2016] Margaglia et al. The Devil Is in the Details: Implementing Flash Page Reuse with WOM Codes. FAST 2016, sections 3-5. https://files.usenix.org/s3fs-public/cdn/fast16-papers-margaglia.pdf (accessed 2026-11-01) ### NAND plane URL: https://hesela.dev/terms/nand-plane/ Related article: https://hesela.com/tech/nand-flash/ Also known as: flash plane Status: shipping Record updated: 2026-11-16 A NAND plane is an array subdivision within a logical unit that groups erase blocks. Note: Supported multi-plane operations combine the same operation type across distinct plane addresses in one LUN. They do not grant arbitrary independent execution to every plane. Address restrictions depend on the operation and reported capabilities; follow the exact specification and device parameter page. [onfi52] Geometry accounting matters: Linux's eraseblocks_per_lun already counts the blocks across that LUN. Its capacity calculation multiplies targets, LUNs per target, blocks per LUN, pages per block and data bytes per page, without another planes multiplier. [linux612] Sources and caveats: - ONFI terminology is scoped to the cited editions; component geometry and supported command sequences must be checked for the selected device. Related terms: - [nand-logical-unit](https://hesela.dev/terms/nand-logical-unit/) - [nand-target](https://hesela.dev/terms/nand-target/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [nand-page](https://hesela.dev/terms/nand-page/) - [nand-copyback](https://hesela.dev/terms/nand-copyback/) - [sprinkler](https://hesela.dev/terms/sprinkler/) Citations: - [onfi52] ONFI 5.2, section 7: multi-plane operations and device-specific address restrictions. https://onfi.org/files/ONFI_5_2_Rev1.0.pdf (accessed 2026-10-20) - [linux612] Linux v6.12, include/linux/mtd/nand.h: nand_memory_organization, nand_pos and nanddev_target_size. https://raw.githubusercontent.com/torvalds/linux/v6.12/include/linux/mtd/nand.h (accessed 2026-10-20) ### NAND self-recovery URL: https://hesela.dev/terms/nand-self-recovery/ Related analysis: https://hesela.com/analyses/3d-nand-retention-evidence/ Also known as: flash self-recovery, wear-out recovery Status: research Record updated: 2026-11-18 NAND self-recovery is the partial relaxation of cycling-induced cell degradation during time between stress events. Note: Mechanism: HeatWatch separates unwanted trapped-charge release from retention loss of stored data. In its tested 3D NAND, longer dwell reduced subsequent retention loss but did not mitigate program-variation errors. Recovery therefore does not repair every wear-related error. [heatwatch] History matters: After 3,000 short-dwell P/E cycles, the study applied six-hour recovery cycles at 70 degrees Celsius. Most benefit occurred within 22 cycles, with little initial change through the first three. This is a protocol-specific observation, not a universal timer or a reason to cycle a drive deliberately. [heatwatch] Scope: Self-recovery does not restore lost files or reset a drive's endurance rating. Related terms: - [nand-dwell-time](https://hesela.dev/terms/nand-dwell-time/) - [nand-thermal-annealing](https://hesela.dev/terms/nand-thermal-annealing/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) - [data-retention](https://hesela.dev/terms/data-retention/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [heatwatch](https://hesela.dev/terms/heatwatch/) - [ready](https://hesela.dev/terms/ready/) Citations: - [heatwatch] Luo, Ghose, Cai, Haratsch and Mutlu. HeatWatch. HPCA 2018, sections 2.3, 3.1-3.4, 4.2 and 5. DOI: 10.1109/HPCA.2018.00050. https://people.inf.ethz.ch/~omutlu/pub/heatwatch-3D-nand-errors-and-self-recovery_hpca18.pdf (accessed 2026-11-18) - [hesela-recovery] Hesela: 3D NAND retention, self-recovery and thermal annealing evidence. https://hesela.com/analyses/3d-nand-retention-evidence/#self-recovery (accessed 2026-10-16) ### NAND spare area URL: https://hesela.dev/terms/nand-spare-area/ Related article: https://hesela.com/tech/nand-flash/ Also known as: NAND OOB, NAND out-of-band area, NAND page spare area Status: shipping Record updated: 2026-11-19 The additional region associated with a NAND page, used for error-correction information, bad-block markers and other metadata according to a device- and controller-specific layout. Note: OOB means out-of-band relative to the page's main data, not a separate management bus. Linux MTD distinguishes ECC positions, reserved bad-block information and regions available for filesystem metadata; available bytes need not form one contiguous range. [mtd] Do not treat this as SSD over-provisioning or replacement blocks. It is per-page storage, and ECC requirements can constrain the space left for an FTL. [desnoyers] For a raw-NAND image or boot-chain migration, record the page geometry, ECC scheme and OOB layout together. Preserve factory bad-block markers and follow the part's programming restrictions. A data-only dump does not by itself specify these details. This checklist is an engineering inference from the documented layout responsibilities. [mtd] Limitations: - A documented OOB layout is not a universal offset map for other NAND parts or controllers. (sources: [mtd]) Sources and caveats: - Source review. The kernel document contains legacy API examples; this entry uses layout concepts, not its example byte offsets, page sizes or partial-program counts as current universal requirements. No device imaging or power-loss experiment was performed. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [nand-page](https://hesela.dev/terms/nand-page/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [ftl](https://hesela.dev/terms/ftl/) - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [nand-data-randomization](https://hesela.dev/terms/nand-data-randomization/) Citations: - [mtd] Linux kernel. MTD NAND Driver Programming Interface: Bad block table support; Spare area (auto)placement; Filesystem support. https://docs.kernel.org/driver-api/mtdnand.html (accessed 2026-10-18) - [desnoyers] Peter Desnoyers. What Systems Researchers Need to Know about NAND Flash. HotStorage 2013, section 3, Page spare areas. https://www.usenix.org/system/files/conference/hotstorage13/hotstorage13-desnoyers.pdf (accessed 2026-10-18) ### NAND target URL: https://hesela.dev/terms/nand-target/ Related article: https://hesela.com/tech/nand-flash/ Also known as: ONFI target Status: shipping Record updated: 2026-10-23 An ONFI NAND target groups one or more logical units that share a chip-enable signal within a NAND package. Note: A target is an interface-selection boundary, not a synonym for a host-visible filesystem volume, block-device volume or SSD. Its logical units can contain multiple planes, each grouping erase blocks. [onfi4] Software keeps these levels separate: Linux records target count, LUNs per target and planes per LUN as distinct geometry fields. Read the part's organization and driver conventions before translating a package or die count into a target count. [linux612] CE_n pin reduction changes the host-side count. ONFI 4.0 permits several NAND targets to share one host chip-enable signal, with Volume Select choosing the initialized target address. This protocol Volume is not a host filesystem volume; a host CE_n count alone need not equal the NAND target count. [onfi4] Sources and caveats: - ONFI terminology is scoped to the cited editions; component geometry and supported command sequences must be checked for the selected device. Related terms: - [nand-logical-unit](https://hesela.dev/terms/nand-logical-unit/) - [nand-plane](https://hesela.dev/terms/nand-plane/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [die-stacking](https://hesela.dev/terms/die-stacking/) Citations: - [onfi4] ONFI 4.0, sections 1.4.1, 2.20 and 3: NAND hierarchy and CE_n pin reduction. https://onfi.org/files/onfi_4_0-gold.pdf (accessed 2026-10-23) - [linux612] Linux v6.12, include/linux/mtd/nand.h: nand_memory_organization, nand_pos and nanddev_target_size. https://raw.githubusercontent.com/torvalds/linux/v6.12/include/linux/mtd/nand.h (accessed 2026-10-20) ### NAND thermal annealing URL: https://hesela.dev/terms/nand-thermal-annealing/ Related analysis: https://hesela.com/analyses/3d-nand-retention-evidence/ Also known as: flash thermal annealing Status: research Record updated: 2026-10-16 NAND thermal annealing is a controlled heat treatment studied for partially reversing cycling-induced degradation in flash-memory cells. Note: A 2024 raw-chip study tested 64-layer TLC and 32-layer MLC floating-gate NAND, not a complete SSD [buddhanoy2024]. Its roughly 30% TLC endurance improvement is a curve-based, protocol-specific estimate; recovery of an error metric is not restoration to fresh-cell endurance. Evaluation reprogrammed data after treatment. Heating a populated SSD is not a supported repair procedure established by this research. Related terms: - [nand-self-recovery](https://hesela.dev/terms/nand-self-recovery/) - [nand-dwell-time](https://hesela.dev/terms/nand-dwell-time/) - [floating-gate](https://hesela.dev/terms/floating-gate/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) - [data-retention](https://hesela.dev/terms/data-retention/) Citations: - [buddhanoy2024] Buddhanoy, Pasricha and Ray. Life-after-Death: Exploring Thermal Annealing Conditions to Enhance 3D NAND SSD Endurance. HotStorage 2024, sections 4-6 and figure 6. DOI: 10.1145/3655038.3665949. CC BY 4.0; paraphrased here, no figures reproduced. https://api.mountainscholar.org/server/api/core/bitstreams/887b83b2-df99-4ea8-98df-a4dbf5cfca5a/content (accessed 2026-10-16) - [wu2011] Wu, Dong and Zhang. Exploiting Heat-Accelerated Flash Memory Wear-Out Recovery to Enable Self-Healing SSDs. HotStorage 2011, sections II and IV: proposed architecture and simulation. https://www.usenix.org/legacy/events/hotstorage11/tech/final_files/Wu.pdf (accessed 2026-10-16) - [hesela-recovery] Hesela: 3D NAND retention, self-recovery and thermal annealing evidence. https://hesela.com/analyses/3d-nand-retention-evidence/#self-recovery (accessed 2026-10-16) ### NAND wordline URL: https://hesela.dev/terms/nand-wordline/ Related analysis: https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ Also known as: wordline, WL Status: shipping Record updated: 2026-11-07 A NAND wordline is a shared control-gate connection used to address a group of flash memory cells. Note: A wordline is not synonymous with a page, since the planar two-bit MLC example has separate LSB and MSB pages on one wordline. [cai] In planar NAND each row of a block shares one wordline and each column forms a series bitline with a shared sense amplifier; the 2018 survey describes typical blocks with 128 to 512 wordlines of 32K to 64K cells. An SLC wordline forms one page, an MLC wordline an LSB and an MSB page, and a TLC wordline three pages, giving 256 to 1024 pages per MLC block. [cai] [cai2017] During a read the other wordlines of the block receive a higher pass-through voltage, and that repeated stress causes read disturb. [luo2018] [cai] In the survey's two-step MLC example, interior wordlines use LSB page 2i - 1 and MSB page 2i + 2. The first wordline's LSB is page 0, and the last wordline n has MSB page 2n + 1. These edge exceptions complete the shadow-program sequence; it is not a universal NAND addressing rule. [cai2017] In 3D charge-trap NAND the control gates of one layer along one axis form a wordline, so a wordline also has a layer coordinate, and error rates vary strongly across layers. [luo2018] The Linux MTD layer describes paired pages instead, and its example pairs page 0 with page 4 and page 2 with page 8 in a 256-page block. [linuxmtd] Advantages: - In the cited two-step MLC scheme, program ordering limits interference on a fully programmed wordline to the neighboring wordline's MSB-page program. (sources: [cai2017]) Limitations: - Page pairing here is a Linux kernel MTD API for raw NAND, not an NVMe or SATA host interface for controlling physical wordlines. (sources: [linuxmtd], [cai2017]) Sources and caveats: - Every cited research paper has at least one co-author at a flash or drive maker, though the data are the authors' own characterisation experiments. - The geometry figures are typical survey ranges, not a statement about a specific part; newer generations may differ. - The Linux source does not define the term wordline, so it supports only the page-pairing relation; its pairing example comes from a flash datasheet. - Arithmetic: 128 to 512 wordlines x 2 pages = 256 to 1024 pages; for wordline 3 the formula gives LSB page 5 and MSB page 8. - Rechecked 2026-11-07: survey sections 1.3.1, 2.2 and 2.4; Linux v6.12 mtd_pairing_info and mtd_pairing_scheme. Programming order is scoped to the cited scheme, and the kernel API is not presented as an SSD host command. - Boundary review 2026-11-07: survey section 4.1 and Figure 24 explicitly exempt the first LSB and last MSB from the interior formulas. No new hardware experiment. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [nand-page-pairing](https://hesela.dev/terms/nand-page-pairing/) - [read-disturb](https://hesela.dev/terms/read-disturb/) - [read-pass-voltage](https://hesela.dev/terms/read-pass-voltage/) - [nand-page](https://hesela.dev/terms/nand-page/) - [program-interference](https://hesela.dev/terms/program-interference/) Citations: - [cai] Cai et al. Read Disturb Errors in MLC NAND Flash Memory: Characterization, Mitigation, and Recovery. DSN 2015, sections 2.1 and 3.6-3.7. https://people.inf.ethz.ch/~omutlu/pub/flash-read-disturb-errors_dsn15.pdf (accessed 2026-10-14) - [cai2017] Cai, Ghose, Haratsch, Luo and Mutlu. Errors in Flash-Memory-Based Solid-State Drives: Analysis, Mitigation, and Recovery. arXiv 1711.11427v2, 2018. https://arxiv.org/abs/1711.11427 (accessed 2026-11-07) - [luo2018] Luo, Ghose, Cai, Haratsch and Mutlu. Improving 3D NAND Flash Memory Lifetime by Tolerating Early Retention Loss and Process Variation. SIGMETRICS 2018. https://ghose.cs.illinois.edu/papers/18sigmetrics_3dflash.pdf (accessed 2026-10-16) - [linuxmtd] Linux v6.12 include/linux/mtd/mtd.h and drivers/mtd/mtdcore.c, page pairing scheme. https://github.com/torvalds/linux/blob/v6.12/include/linux/mtd/mtd.h (accessed 2026-11-07) ### NAS gateway URL: https://hesela.dev/terms/nas-gateway/ Related article: https://hesela.com/tech/enterprise-ssd/ Also known as: network-attached storage gateway Status: shipping Record updated: 2026-10-31 A NAS gateway is a file-serving system that provides network file access to storage supplied by a separate storage system. Note: Clients send file requests to the gateway; its storage-facing interface accesses the backing devices. SNIA's 2007 example uses IP file I/O on one side and Fibre Channel block I/O on the other. This separates the file-service layer from the external storage array. [snia-gateway] Implementation: TR-3461 (May 2019) describes platforms providing CIFS or NFS services using third-party array LUNs as backing storage. The documented platforms could use native disk shelves as well as externally supplied array LUNs, and could expose block protocols too. [flexarray-2019] Terminology: Gateway identifies the relationship to backing storage; unified storage identifies the access interfaces offered. These describe different architectural properties and can coexist in one system. [snia-gateway] [flexarray-2019] Access control: In TR-3461 (May 2019), a FlexArray or V-Series system is itself a host from the backing array's perspective. Array-side LUN masking selects which hosts can access which LUNs; switch zoning controls a different layer. The guide recommends both zoning and host groups for these configurations. [flexarray-2019] File-service permissions do not replace this backing-storage access policy. Limitations: - The gateway label does not establish support for every external array, path configuration or host protocol. (sources: [flexarray-2019]) Sources and caveats: - The 2007 SNIA paper explains a file/block architecture, not a requirement for every gateway implementation. [snia-gateway] - The May 2019 NetApp FlexArray/V-Series guide is a historical configuration example, not current product-support or interoperability evidence. [flexarray-2019] - The gateway/unified-storage distinction is editorial synthesis of architectural role and interface coverage, not a measured performance or availability result. - The file-service versus backing-storage access-control distinction is an editorial inference from the documented architecture, not an operational security test or a complete configuration procedure. Related terms: - [nas](https://hesela.dev/terms/nas/) - [san](https://hesela.dev/terms/san/) - [storage-array](https://hesela.dev/terms/storage-array/) - [unified-storage](https://hesela.dev/terms/unified-storage/) - [file-storage](https://hesela.dev/terms/file-storage/) - [block-storage](https://hesela.dev/terms/block-storage/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [smb-protocol](https://hesela.dev/terms/smb-protocol/) Citations: - [snia-gateway] SNIA IP Storage whitepaper (2007), printed p. 6: NAS gateway file I/O and external block storage. https://www.snia.org/sites/default/files/IPSFWhitepaperOct07.pdf (accessed 2026-10-31) - [flexarray-2019] Michael Peppers, NetApp TR-3461, May 2019: sections 1-2 (p. 5), gateway services; section 11 (p. 15), array-side LUN masking and zoning. https://www.netapp.com/media/17184-tr3461.pdf (accessed 2026-10-31) ### NAS URL: https://hesela.dev/terms/nas/ Also known as: network-attached storage, network attached storage Status: shipping Record updated: 2026-12-02 Network-attached storage (NAS) provides file access over a network through protocols such as NFS or SMB. Note: NAS exposes files and directories while the server manages the backing storage. A server can use directly attached disks and export files through NFS or SMB: local disk attachment and network file service describe different layers. NAS does not require DAS backing storage. [c4] [rhel-layers] NFS recovery is version-specific. NFSv3 retries can encounter duplicate-request-cache loss or eviction and execute again, so statelessness does not make every retry safe. NFSv4.1 adds sessions for request tracking, with persistence negotiated separately. [c3] [c2] SMB3 supports features including encryption and leases for client caching. A protocol's available features do not establish which dialect or options a particular connection negotiated. [c5] File visibility, write persistence and protection from permanent storage failure are separate requirements. A network file interface alone does not provide a backup or a multi-file application transaction. [c3] Advantages: - Clients can share a namespace without directly managing the server's block devices. (sources: [c4]) Limitations: - Legacy CIFS dialects have weaker security properties than modern SMB3. (sources: [c5]) Related terms: - [file-storage](https://hesela.dev/terms/file-storage/) - [smb-protocol](https://hesela.dev/terms/smb-protocol/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [san](https://hesela.dev/terms/san/) - [block-storage](https://hesela.dev/terms/block-storage/) - [duplicate-request-cache](https://hesela.dev/terms/duplicate-request-cache/) - [direct-attached-storage](https://hesela.dev/terms/direct-attached-storage/) - [unified-storage](https://hesela.dev/terms/unified-storage/) - [nas-gateway](https://hesela.dev/terms/nas-gateway/) - [ndmp](https://hesela.dev/terms/ndmp/) - [network-attached-secure-disks](https://hesela.dev/terms/network-attached-secure-disks/) Citations: - [c1] NAS. https://en.wikipedia.org/wiki/Network-attached_storage (accessed 2026-03-26) - [c2] RFC 8881: NFSv4.1, sessions and reply-cache persistence (sections 2.10 and 18.36). https://www.rfc-editor.org/rfc/rfc8881 (accessed 2026-10-19) - [c3] RFC 1813: NFSv3, duplicate request cache and stable storage (sections 4.5 and 4.8). https://www.rfc-editor.org/rfc/rfc1813 (accessed 2026-10-19) - [c4] SNIA: What is NAS (Network Attached Storage) and why is NAS Important? https://www.snia.org/education/what-is-nas (accessed 2026-10-19) - [c5] Introduction, SMB3/CIFS client (The Linux Kernel documentation, admin guide). https://docs.kernel.org/admin-guide/cifs/introduction.html (accessed 2026-10-19) - [rhel-layers] Red Hat Enterprise Linux 10: Overview of available file systems, local and network file systems. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/managing_file_systems/overview-of-available-file-systems (accessed 2026-10-25) ### Native Command Queuing URL: https://hesela.dev/terms/native-command-queuing/ Related article: https://hesela.com/tech/sata/ Also known as: NCQ Status: shipping Record updated: 2026-11-12 Native Command Queuing (NCQ) allows multiple tagged ATA commands to be outstanding so a supporting device can schedule their execution. Note: Tagged commands let a supporting drive choose execution order instead of completing every request in submission order. On an HDD this can reduce head movement, but gains depend on concurrent work and support in the device, host controller and software. NCQ support alone is not a performance measurement. [ncq-requirements] AHCI supports command lists of up to 32 entries per port, but a controller can implement fewer slots. The host's command-list capacity and the device's NCQ capability must both be checked. [ahci-overview] Linux's documented NCQ error path uses log page 0x10 to identify the failed tag, while other affected commands may be retried. In v6.12, attribution is conditional on a readable log, an active tag and the port state. Several recovery messages do not establish several independent device failures. NCQ is not a write-durability guarantee. [ata-doc] [ata-sata] Queue capacity is not achieved depth or a latency target. Riska et al. (2007) found workload- and cache-dependent scheduling effects on SCSI HDDs, not SATA NCQ measurements; use that study as historical mechanism evidence, not a promised speedup. [riska2007] In Linux v6.12, reducing a libata device's configured queue depth from above 1 to 1 disables libata's use of NCQ, not the device's advertised capability. With NCQ enabled, the read/write builder selects FPDMA commands even with only one outstanding request. [ncq-depth] [ncq-enabled] [ncq-command] fio 3.41's iodepth is a workload setting, not this device setting; achieved depth can be lower than requested. [fio-depth] With command-based port-multiplier switching, NCQ may queue work for one target; switching targets waits for that queue to drain. [ahci-switching] Related terms: - [sata](https://hesela.dev/terms/sata/) - [ahci](https://hesela.dev/terms/ahci/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [command-based-switching](https://hesela.dev/terms/command-based-switching/) - [fis-based-switching](https://hesela.dev/terms/fis-based-switching/) Citations: - [ata-doc] Linux v6.12: libata device, NCQ and bus error documentation. https://raw.githubusercontent.com/torvalds/linux/adc218676eef25575469234709c2d87185ca223a/Documentation/driver-api/libata.rst (accessed 2026-10-15) - [ata-sata] Linux v6.12: ata_eh_analyze_ncq_error and failed-tag attribution. https://raw.githubusercontent.com/torvalds/linux/adc218676eef25575469234709c2d87185ca223a/drivers/ata/libata-sata.c (accessed 2026-10-15) - [hesela-link] SATA link errors: what CRC flags, NCQ recovery and PHY counters prove. https://hesela.com/analyses/sata-sas-link-failure-signatures/ (accessed 2026-10-15) - [ncq-requirements] Seagate: SATA Native Command Queuing requirements. https://www.seagate.com/in/en/support/kb/serial-ata-sata-native-command-queuing-ncq-faqs-193785en/ (accessed 2026-10-17) - [ahci-overview] Intel: AHCI 1.3.1 overview and optional command-list support. https://www.intel.com/content/www/us/en/io/serial-ata/serial-ata-ahci-spec-rev1-3-1.html (accessed 2026-10-17) - [riska2007] Riska, Larkby-Lahet and Riedel (USENIX ATC 2007): Evaluating Block-level Optimization through the IO Path, sections 2, 5 and 6. https://static.usenix.org/event/usenix07/tech/full_papers/riska/riska_html/main.html (accessed 2026-10-17) - [ncq-depth] Linux v6.12 libata-sata.c: ata_change_queue_depth and sysfs callback. https://raw.githubusercontent.com/torvalds/linux/adc218676eef25575469234709c2d87185ca223a/drivers/ata/libata-sata.c (accessed 2026-11-08) - [ncq-enabled] Linux v6.12 libata.h: ata_ncq_supported and ata_ncq_enabled. https://raw.githubusercontent.com/torvalds/linux/adc218676eef25575469234709c2d87185ca223a/include/linux/libata.h (accessed 2026-11-08) - [ncq-command] Linux v6.12 libata-core.c: ata_build_rw_tf and FPDMA command selection. https://raw.githubusercontent.com/torvalds/linux/adc218676eef25575469234709c2d87185ca223a/drivers/ata/libata-core.c (accessed 2026-11-08) - [fio-depth] fio 3.41 HOWTO: iodepth and achieved I/O-depth distribution. https://raw.githubusercontent.com/axboe/fio/fio-3.41/HOWTO.rst (accessed 2026-11-08) - [ahci-switching] Intel AHCI 1.3.1, sections 3.1.1, 3.3.7, 3.3.16 and 9: capabilities and port-multiplier operation. https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1-3-1.pdf (accessed 2026-10-19) ### NDMP URL: https://hesela.dev/terms/ndmp/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: Network Data Management Protocol Status: shipping Record updated: 2026-11-29 NDMP is a backup and recovery protocol that separates control of storage services from transfer of the backup data. Note: Control and payload: A Data Management Application (DMA) coordinates backup or recovery over control connections. Data, tape and SCSI services have distinct roles; the mover interface controls transfer between the data connection and the local tape subsystem. [ndmp-v4-draft] Placement: In a local tape configuration the data path stays within the storage system while control crosses the network. In a common three-way tape configuration, data and tape services on separate systems exchange the payload over a network. Three-way describes topology, not three backup copies. [ndmp-topology] Restore compatibility: NDMP does not define a universal backup data format. A common protocol version does not establish that another implementation or software release can restore the stream. [ndmp-format] File history: Names, status and file-location information let the DMA build a catalog and support selective recovery. This metadata identifies what to retrieve; it does not by itself verify recovered payload bytes. ONTAP allows file-history generation to be disabled for whole-image recovery; SMTape does not support it. Missing file history therefore does not by itself prove that an image is unrestorable. [ndmp-v4-draft] [ndmp-history] Advantages: - Centralized backup management can control NAS-side data movement without carrying every payload byte through the management host. (sources: [ndmp-snia], [ndmp-topology]) Limitations: - A successful transfer still needs a restore test against the required data, metadata and recovery environment. (sources: [ndmp-format], [ndmp-history]) Sources and caveats: - Source synthesis, not an executed NDMP backup or interoperability test. - The 2001 NDMPv4 Internet-Draft is expired and archived, not an RFC or an IETF-endorsed standard. - Oracle's 2014 appliance guide and ONTAP 9 documentation describe specific implementations; their format and feature support is not universal. - The distinction between file-history metadata and payload verification is an inference from the documented metadata fields and recovery function. Related terms: - [nas](https://hesela.dev/terms/nas/) - [backup-catalog](https://hesela.dev/terms/backup-catalog/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) Citations: - [ndmp-snia] SNIA Dictionary: Network Data Management Protocol and separate control/data transfer. https://www.snia.org/education/online-dictionary/term/network-data-management-protocol (accessed 2026-11-29) - [ndmp-v4-draft] NDMPv4 archived Internet-Draft 01 (2001), sections 2.3.2-2.3.5: services and file history. https://datatracker.ietf.org/doc/html/draft-skardal-ndmpv4-01 (accessed 2026-11-29) - [ndmp-topology] NetApp ONTAP 9: common NDMP tape backup topologies. https://docs.netapp.com/us-en/ontap/tape-backup/common-ndmp-topologies-reference.html (accessed 2026-11-29) - [ndmp-format] Oracle ZFS Storage Appliance Administration Guide (2014): NDMP backup formats and types. https://docs.oracle.com/cd/E51475_01/html/E52872/configuration__services__ndmp___backup_formats_and_types_.html (accessed 2026-11-29) - [ndmp-history] NetApp ONTAP 9: NDMP file-history generation and SMTape scope. https://docs.netapp.com/us-en/ontap/tape-backup/ndmp-concept.html (accessed 2026-11-29) ### Near-field transducer (NFT) URL: https://hesela.dev/terms/near-field-transducer/ Related article: https://hesela.com/tech/hamr/ Also known as: NFT, Plasmonic near-field transducer Status: shipping Record updated: 2026-10-16 A near-field transducer is a nanoscale optical structure that couples supplied light into a confined near field, used in HAMR to heat the recording medium. Note: Do not identify the NFT with the laser or magnetic pole. A prototype-head study combined cathodoluminescence and scattering near-field microscopy; the antenna resonance shifted without the recording medium [optical-transfer-2018]. Its optical response depends on the measurement environment, not just the isolated antenna geometry. Seagate describes the laser, waveguide and plasmonic antenna in its Mozaic writer [seagate-gen2-writer]; the shipping status refers to that deployed architecture, whose production is separately reported [seagate-mozaic4-2026], not to every experimental NFT design. Related terms: - [hamr](https://hesela.dev/terms/hamr/) - [thermal-writability](https://hesela.dev/terms/thermal-writability/) Citations: - [optical-transfer-2018] Visualizing the bidirectional optical transfer function for near-field enhancement in waveguide coupled plasmonic transducers, Scientific Reports (2018), doi:10.1038/s41598-018-24061-3; Figures 2-3 and Methods. https://www.nature.com/articles/s41598-018-24061-3 (accessed 2026-10-16) - [seagate-gen2-writer] Seagate: Gen 2 plasmonic writer; laser, photonic funnel and quantum antenna (vendor technical description). https://www.seagate.com/innovation/mozaic/gen-2-plasmonic-writer/ (accessed 2026-10-16) - [seagate-mozaic4-2026] Seagate: Mozaic 4+ qualification and production announcement, 3 March 2026 (vendor claim). https://www.seagate.com/stories/articles/seagate-delivers-industrys-highest-capacity-hard-drives-with-next-generation-mozaic-4/ (accessed 2026-10-16) ### Nearline HDD URL: https://hesela.dev/terms/nearline-hdd/ Technology reference: https://hesela.com/tech/nearline-hdd/ Also known as: capacity HDD, archive disk Status: shipping Record updated: 2026-10-17 A nearline HDD is a vendor category of capacity-oriented enterprise hard disk drives commonly used for bulk online storage, distinct from nearline as a storage-availability class. Note: Terminology: capacity-oriented enterprise disks can remain online [toshiba-nearline]. In the availability sense, nearline media instead require an automatic transition to online access, as in tape libraries, optical jukeboxes and spin-down MAID disks [ibm-nearline]. Performance: one capacity-drive datasheet lists 170 random-read and 550 random-write IOPS at 4K, queue depth 16, WCD [x18-datasheet]. WCD means write cache disabled [wcd]. These are distinct workload specifications, not a read-performance range or a QD1 prediction. Protected internal caching need not be absent just because WCD is selected [wcd]. Latency: 4.16 ms in the associated SAS manual means average rotational latency, not complete request-response time [x18-sas]. Half a revolution under a uniform-phase model is 30,000 / RPM milliseconds, approximately 4.17 ms at 7,200 RPM [rotation-model]. Seek, transfer and queuing are additional costs. Transfer: the manual distinguishes sustained 103-258 MiB/s from instantaneous interface transfer of 1,200 MB/s per port [x18-sas]. The datasheet's outer-diameter maximum of 270 MB/s / 258 MiB/s is a published approximate unit pair, not separate read and write speeds [x18-datasheet]. Advantages: - Supports dense bulk-data deployments with both SATA and SAS options in the example family. (sources: [toshiba-nearline], [x18-datasheet]) Limitations: - A product-class label does not establish CMR versus SMR recording, a universal price advantage or an application-level durability guarantee. (sources: [toshiba-nearline], [x18-datasheet]) - Reciprocal rotational delay omits head movement, transfer and scheduling, so it cannot predict general random IOPS. (sources: [rotation-model]) Sources and caveats: - Performance examples are Seagate Exos X18 DS2045.3-2102US (February 2021) and SAS manual 100865853 Rev. F (May 2021), not new Hesela measurements. - Seagate TP691.1-1610US explains WCD and protected caching but does not establish the exact X18 implementation. - IBM's contrasting terminology is an attributed technical-blog argument, not a normative glossary. Toshiba's 2017 blog supports the capacity-product usage. - These dated examples do not establish current prices, a capacity ranking or comparable field reliability. Related terms: - [maid](https://hesela.dev/terms/maid/) - [hdd](https://hesela.dev/terms/hdd/) - [helium-hdd](https://hesela.dev/terms/helium-hdd/) - [smr](https://hesela.dev/terms/smr/) - [cmr](https://hesela.dev/terms/cmr/) - [hamr](https://hesela.dev/terms/hamr/) - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [nearline-sas](https://hesela.dev/terms/nearline-sas/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [seek-time](https://hesela.dev/terms/seek-time/) - [iops](https://hesela.dev/terms/iops/) - [queue-depth](https://hesela.dev/terms/queue-depth/) Citations: - [toshiba-nearline] Toshiba: High Capacity HDD for Nearline Storage (6 April 2017). https://storage.toshiba.com/corporateblog/post/2017/04/06/toshiba-bringing-high-capacity-disk-to-store-large-volumes-of-data-cost-effectively (accessed 2026-10-17) - [ibm-nearline] IBM technical blog: The Correct Use of the term Nearline. https://www.ibm.com/support/pages/correct-use-term-nearline (accessed 2026-10-17) - [x18-datasheet] Seagate Exos X18 datasheet DS2045.3-2102US (February 2021), pp. 2-3. https://www.seagate.com/www-content/datasheets/pdfs/exos-x18-channel-DS2045-3-2102US-en_US.pdf (accessed 2026-10-17) - [x18-sas] Seagate Exos X18 SAS Product Manual 100865853, Rev. F (May 2021), sections 4.1-4.1.3. https://www.seagate.com/files/www-content/product-content/enterprise-hdd-fam/exos-x18-channel/_shared/en-us/docs/100865853f.pdf (accessed 2026-10-17) - [wcd] Seagate Enhanced Caching Advantage, TP691.1-1610US (October 2016), pp. 2-4. https://www.seagate.com/files/www-content/product-content/enterprise-performance-savvio-fam/enterprise-performance-15k-hdd/_cross-product/_shared/doc/enchanced-cache-advantage-tp691.1-1610us.pdf (accessed 2026-10-17) - [rotation-model] Arpaci-Dusseau and Arpaci-Dusseau: Operating Systems: Three Easy Pieces, chapter 37. https://pages.cs.wisc.edu/~remzi/OSTEP/file-disks.pdf (accessed 2026-10-17) ### Nearline SAS URL: https://hesela.dev/terms/nearline-sas/ Related article: https://hesela.com/tech/sas/ Also known as: NL-SAS Status: shipping Record updated: 2026-11-06 Nearline SAS (NL-SAS) is a class of high-capacity, typically 7,200-rpm 3.5-inch hard drives that use the SAS interface and SCSI command set for bulk capacity tiers. Note: NL-SAS names the interface and duty class of a drive, not a recording technology, and rotation speed and connection technology are largely independent choices. [ibm-nearline] One 7,200-rpm 3.5-inch capacity model of 10 to 18 TB lists two full-duplex SAS-3 ports at 12 Gbit/s, up to 1,200 MB/s per port, a 512 MiB buffer, 268 MiB/s typical sustained rate and average seeks of 7.5 ms for reads and 8.6 ms for writes. [nlsas-spec] A read-cache hit can be served from the buffer without another disk access. Sustained media transfer and the interface's instantaneous transfer limit describe different paths, so link rate alone does not predict host throughput. [nlsas-spec] [x18-cache] The MG09 manual also lists 6, 3 and 1.5 Gbit/s operation, and notes host and transmission limits. Check the negotiated rate: a slower link can constrain delivery even when reads reach the medium. [nlsas-spec] One revolution at 7,200 rpm takes 8.33 ms, so average rotational latency is about 4.17 ms, against 2.0 ms at 15,000 rpm. The same specification gives an MTTF of 2,500,000 hours (AFR 0.35%) and 10 unrecoverable read errors per 10^16 bits, assuming 8,760 power-on hours per year, at most 40 °C and 550 TB per year. [nlsas-spec] A field study of about 100,000 drives found annual replacement rates of typically 2 to 4% against datasheet AFRs of 0.58 to 0.88%, with no clear reliability difference between SATA drives and SCSI or Fibre Channel drives. [fast07] In older storage vocabulary nearline means media brought online without human intervention, such as tape in a library, and that usage regards the label for slower always-on disks as a misuse. [ibm-nearline] Advantages: - Example dual-port configurations cover both internal cabled and internal backplane environments over point-to-point SAS links. (sources: [nlsas-spec]) Limitations: - A faster link does not by itself increase the drive's sustained media transfer rate; cache-resident transfers and end-to-end host throughput are separate questions. (sources: [nlsas-spec], [x18-cache]) - Nearline has no formal standard definition, so the label alone does not fix rotation speed, capacity or workload rating. (sources: [ibm-nearline]) - On Exos X18 SAS drives, prefetch and read-cache controls are independent: prefetched blocks can satisfy later reads even when read caching is disabled. Record both settings when interpreting media-read measurements; the manual distinguishes prefetch hits from read-cache hits. (sources: [x18-cache]) Sources and caveats: - Interface, seek and reliability figures come from one drive maker's product manual (rev. 02, December 2021) and apply to that model family only. - The field study is independent university work from 2007 on drives of an earlier generation. - The objection to the nearline label is the view of one storage company's author in a support article. - Arithmetic: 60 / 7,200 s = 8.33 ms per revolution, half of which is 4.17 ms; 60 / 15,000 / 2 = 2.0 ms. - Cache behavior follows the MG09 and Exos X18 SAS manuals. It does not establish a measured speedup for a different link, workload or drive. Related terms: - [nearline-hdd](https://hesela.dev/terms/nearline-hdd/) - [sas](https://hesela.dev/terms/sas/) - [sata](https://hesela.dev/terms/sata/) - [scsi](https://hesela.dev/terms/scsi/) - [hdd](https://hesela.dev/terms/hdd/) - [dual-port](https://hesela.dev/terms/dual-port/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [mission-critical-hdd](https://hesela.dev/terms/mission-critical-hdd/) - [afr](https://hesela.dev/terms/afr/) - [mtbf](https://hesela.dev/terms/mtbf/) Citations: - [c1] Nearline SAS. https://en.wikipedia.org/wiki/Nearline_storage (accessed 2026-03-26) - [nlsas-spec] Toshiba. MG09SCA/MG09SCP Series Product Manual, 3.5-inch 7,200-rpm 12 Gbit/s SAS HDD, rev. 02, December 2021. https://storage.toshiba.com/docs/enterprise-hdd-documents/spec-mg09sca18t_10tx-mg09scp18t_10tx-e02.pdf?Status=Master (accessed 2026-11-06) - [fast07] Schroeder and Gibson, Disk failures in the real world: What does an MTTF of 1,000,000 hours mean to you? (USENIX FAST 2007). https://www.usenix.org/events/fast07/tech/schroeder/schroeder_html/ (accessed 2026-10-16) - [ibm-nearline] IBM Support: The Correct Use of the term Nearline. https://www.ibm.com/support/pages/correct-use-term-nearline (accessed 2026-10-16) - [x18-cache] Seagate Exos X18 SAS Product Manual, Rev. F (May 2021), sections 4.1.3 and 4.3-4.4.2: transfer rates, cache and prefetch. https://www.seagate.com/files/www-content/product-content/enterprise-hdd-fam/exos-x18-channel/_shared/en-us/docs/100865853f.pdf (accessed 2026-11-06) ### Neel-Arrhenius model URL: https://hesela.dev/terms/neel-arrhenius-model/ Related analysis: https://hesela.com/analyses/magnetic-retention-time-and-probability/ Also known as: Neel-Brown thermal activation model Status: research Record updated: 2026-10-21 The Neel-Arrhenius model describes thermally activated magnetic reversal with an exponential dependence on the ratio of an energy barrier to thermal energy. Note: With a state-to-state transition rate lambda = f_0 exp(-Delta), the mean dwell time is exp(Delta)/f_0. Rippard et al. use a field-dependent Neel-Brown dwell-time model for a measured two-state magnetic tunnel junction; zero effective field gives this simplified convention [rippard]. Attempt rates are model and device dependent. Do not silently identify a mean dwell time with an ensemble magnetization-decay time. In a symmetric two-state model with equal rates lambda, an initially aligned ensemble decays as exp(-2 lambda t), while first-reversal probability is 1-exp(-lambda t). These are distinct observables; the linked derivation and tests make the convention explicit [hesela-retention]. Unequal directional rates change the long-time occupancy. For A-to-B rate a and B-to-A rate b, the stationary B probability is a/(a+b), not necessarily one half. Under an externally prescribed changing bias, the time ordering of those rates can matter for final occupancy even when their integrated exposures agree. First departure from A instead depends on its accumulated escape hazard [hesela-retention]. Fits that reproduce switching traces need not identify a unique physical energy barrier. In the cited two-device study, state-specific fit parameters were nonunique and extracting a meaningful barrier required additional temperature-dependent evidence [talatchian]. Sources and caveats: - A simplified thermal-activation model; not a validated predictor of HDD bit errors or fleet failure. - The cited experiment concerns an MTJ, not an HDD medium. No fitted experimental parameter is transferred into the worksheet. - The asymmetric extension is an exact illustrative two-state calculation. It does not fit the coupled experiment or model an HDD read channel. Related terms: - [magnetic-thermal-stability-factor](https://hesela.dev/terms/magnetic-thermal-stability-factor/) - [superparamagnetic-limit](https://hesela.dev/terms/superparamagnetic-limit/) - [thermal-writability](https://hesela.dev/terms/thermal-writability/) - [hamr](https://hesela.dev/terms/hamr/) Citations: - [rippard] Rippard et al., Thermal relaxation rates of magnetic nanoparticles (2011), PRB 84 064439; doi:10.1103/PhysRevB.84.064439, equation 1. https://arxiv.org/pdf/1107.5007v1 (accessed 2026-10-17) - [hesela-retention] Hesela: Magnetic retention: why 60 kBT is not an expiry date; explicit two-state worksheet, not measurements. https://hesela.com/analyses/magnetic-retention-time-and-probability/ (accessed 2026-10-17) - [talatchian] Talatchian et al. Mutual control of stochastic switching for two electrically coupled superparamagnetic tunnel junctions (2021), arXiv:2106.03604v2. https://arxiv.org/pdf/2106.03604v2 (accessed 2026-10-21) ### Neighbor-cell assisted correction URL: https://hesela.dev/terms/neighbor-cell-assisted-correction/ Also known as: NAC, Neighbor-cell assisted error correction Status: research Record updated: 2026-11-22 Recorded firstSeen: 2014 (sources: [nac]) Neighbor-cell assisted correction uses neighboring NAND cell states to select bits from adjusted rereads for another ECC attempt. Note: After ECC failure, NAC classifies cells using the adjacent wordline's LSB and MSB pages. Each adjusted page reread replaces only buffered positions matching its neighbor-state class; ECC then retries the assembled page. This is not simultaneous per-cell voltage control. [nac] NAC supplements error correction, not the stored ECC redundancy. A controller may place it after ordinary read-retry attempts and before other recovery stages; that ordering is an example recovery policy, not a universal SSD interface. [survey] For an illustrative four-bit buffer 0000 with neighbor classes ER/P1/ER/P1, an ER reread 1011 yields 1010 after selection. A P1 reread 1101 then yields 1111, not 1101. These invented bits demonstrate selection only; they do not establish correct data or successful ECC. [demo] NAC can use uncorrected neighbor data: ECC failure does not make every state label wrong. [nac] Let V mean victim-page ECC failure and E failure of at least one neighbor page at the same recovery stage. With three mutually independent page failures of probability p > 0, P(V and E) = 2p^2 - p^3 but P(E given V) = 2p - p^2. At p = 1%: 0.0199% jointly and 1.99% among failed victims. [conditioning] Equal 1% marginals can also give 0% or 100% conditional risk under disjoint or shared failures. These are synthetic event tables, not measured NAND behavior or NAC failure probabilities. [conditioning] ReNAC adapts neighbor-aware recovery to retention interference using data age. Its 2018 study did not demonstrate meaningful lifetime improvement from ReNAC on the tested 3D MLC chips; anticipated TLC/QLC benefits remained future work. [renac] Limitations: - Incorrect neighbor classifications can select unsuitable reread bits; lower average error counts do not guarantee recovery of an individual page. (sources: [nac]) - The 2014 evaluation uses 2Y-nm planar MLC measurements and a modeled ECC threshold; it does not establish current 3D TLC/QLC lifetime or field failure rates. (sources: [nac]) Sources and caveats: - Primary-paper synthesis plus a synthetic bit-selection example, not a NAND experiment, ECC decoder or lifetime replication. - The demonstration assumes supplied class labels and reread arrays; it models neither threshold distributions nor error probabilities. - The conditional-risk example enumerates synthetic event tables with equal marginals; it does not infer physical page-failure dependence or alter the source study's measured results. Related terms: - [renac](https://hesela.dev/terms/renac/) - [program-interference](https://hesela.dev/terms/program-interference/) - [read-retry](https://hesela.dev/terms/read-retry/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) Citations: - [nac] Cai et al. Neighbor-Cell Assisted Error Correction for MLC NAND Flash Memories. SIGMETRICS 2014, sections 6-7. https://istc-cc.cmu.edu/publications/papers/2014/neighbor-assisted-error-correction-in-flash_sigmetrics14.pdf (accessed 2026-11-22) - [survey] Cai et al. Error Characterization, Mitigation, and Recovery in Flash Memory Based Solid-State Drives. 2017, sections V.B and VI.A. https://research.ece.cmu.edu/safari/pubs/1706.08642.pdf (accessed 2026-11-22) - [renac] Luo et al. Improving 3D NAND Flash Memory Lifetime by Tolerating Early Retention Loss and Process Variation. 2018, section 6.4. https://ghose.cs.illinois.edu/papers/18sigmetrics_3dflash.pdf (accessed 2026-11-22) - [demo] Hesela: synthetic selective-reread example and its explicit scope. https://hesela.dev/research/nac/README.txt (accessed 2026-11-22) - [hesela] Hesela: NAND read-retry and evidence boundaries. https://hesela.com/analyses/nand-read-retry-latency/ (accessed 2026-11-22) - [conditioning] Hesela: exact joint and conditional neighbor-failure examples, assumptions and executable checks. https://hesela.dev/research/nac/conditioning.txt (accessed 2026-11-22) ### Nelson-Aalen estimator URL: https://hesela.dev/terms/nelson-aalen-estimator/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: Nelson-Aalen cumulative hazard estimator, NA estimator Status: shipping Record updated: 2026-11-08 The Nelson-Aalen estimator estimates cumulative hazard by summing observed event counts divided by their corresponding risk-set sizes. Note: For an unweighted right-censored sample, H_NA(t) sums d_i/n_i over event times up to t, where d_i counts events and n_i is the risk set immediately before that time. Censoring removes units from later risk sets without adding an event increment. Specify the event, clock and same-time convention. [survfit-na] [survfit-code] This dimensionless estimate can exceed one. It is neither a failure probability nor an annualized event rate. Kaplan-Meier multiplies 1 - d_i/n_i instead; exp(-H_NA) is a different finite-sample survival estimate. [survfit-code] Two hypothetical drives are both observed before the first failure and fail at distinct times, with no censoring: H_NA = 1/2 + 1 = 1.5 and S_KM = 0, yet exp(-1.5) is about 0.22313. The positive transformed estimate does not mean any observed drive survived. This is arithmetic, not fleet evidence. [survfit-code] Tied events: R survival distinguishes ordinary Nelson-Aalen (ctype=1) from the Fleming-Harrington tie correction (ctype=2), separately from its survival-estimator choice stype. Record both settings. These options do not convert interval-censored onsets into exact event times. [survfit-na] If the same two hypothetical failures share one recorded event time, ordinary Nelson-Aalen adds d/n = 2/2 = 1, while the Fleming-Harrington tie correction adds 1/2 + 1 = 1.5. Kaplan-Meier still reaches zero; the two exponentiated estimates (stype=2) are about 0.36788 and 0.22313. These are estimator conventions for the recorded tie, not evidence about the order of the actual failures. [survfit-code] Population interpretation requires appropriate censoring assumptions. Changing the estimator alone does not correct selective withdrawal of drives following warning telemetry. [censoring-assumptions] Sources and caveats: - The two-device example applies the documented formulas to invented observations. It is not a measured fleet result, a confidence bound or a native R execution. - The implementation citation is pinned to a source commit; the R-devel documentation URL may change. The note describes the ordinary unweighted right-censored case. Related terms: - [cumulative-hazard](https://hesela.dev/terms/cumulative-hazard/) - [kaplan-meier-estimator](https://hesela.dev/terms/kaplan-meier-estimator/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [informative-censoring](https://hesela.dev/terms/informative-censoring/) - [interval-censoring](https://hesela.dev/terms/interval-censoring/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) Citations: - [survfit-na] R survival: survfit.formula, stype/ctype and separate survival/cumulative-hazard estimates. https://stat.ethz.ch/R-manual/R-devel/library/survival/html/survfit.formula.html (accessed 2026-11-08) - [survfit-code] R survival: survfitkm.c at 0605821347ef, Nelson-Aalen addition and Kaplan-Meier multiplication. https://github.com/therneau/survival/blob/0605821347efb8630d15710a6bf24ff64396c4d3/src/survfitkm.c (accessed 2026-11-08) - [censoring-assumptions] Overgaard and Hansen (2019): On the assumption of independent right censoring, sections 1-2. https://arxiv.org/html/1905.02508v1 (accessed 2026-11-08) ### Nesting-safe recoverable linearizability URL: https://hesela.dev/terms/nesting-safe-recoverable-linearizability/ Also known as: NRL Status: research Record updated: 2026-11-28 Nesting-safe recoverable linearizability lets an interrupted call complete through recovery with a response consistent with linearizability, supporting its use inside another recoverable operation. Note: The PODC 2018 model permits independent process crashes and nested calls. Recovery starts with the innermost pending call, using retained arguments and instruction context; its invocation remains open across failures. The model assumes persistent shared variables and volatile local variables. Hardware persistence alone does not implement this recovery machinery. [nrl18] A returned response may still be volatile. Strict recoverability separately requires that response to be stored persistently before the operation returns; this is not strict linearizability. [nrl18] The later Swap formulation removes crash/recovery events from a recoverable well-formed history and requires the remaining history to be linearizable. It explicitly simplifies away nesting. NRL is not an alias for the older recoverable-linearizability condition. [swap23] Limitations: - Crash-free wait-freedom does not guarantee nonblocking recovery; the Fetch&Add constructions separate those progress properties. (sources: [faa21]) Sources and caveats: - PODC 2018 section 2 read in the full-text copy at https://www.academia.edu/119487233/Nesting_Safe_Recoverable_Linearizability; stable DOI retained for attribution. No paper redistributed. - Source synthesis, not a hardware experiment or an implementation proof. Original nested model and later simplified models are distinguished. Related terms: - [detectability](https://hesela.dev/terms/detectability/) - [durable-linearizability](https://hesela.dev/terms/durable-linearizability/) - [strict-linearizability](https://hesela.dev/terms/strict-linearizability/) - [linearizability](https://hesela.dev/terms/linearizability/) Citations: - [nrl18] Attiya, Ben-Baruch and Hendler. Nesting-Safe Recoverable Linearizability. PODC 2018, section 2. DOI: 10.1145/3212734.3212753. https://doi.org/10.1145/3212734.3212753 (accessed 2026-11-28) - [faa21] Nahum, Attiya, Ben-Baruch and Hendler. Recoverable and Detectable Fetch&Add. OPODIS 2021, sections 1-2. DOI: 10.4230/LIPIcs.OPODIS.2021.29. https://drops.dagstuhl.de/storage/00lipics/lipics-vol217-opodis2021/LIPIcs.OPODIS.2021.29/LIPIcs.OPODIS.2021.29.pdf (accessed 2026-11-28) - [swap23] Lev Lehman, Attiya and Hendler. Recoverable and Detectable Self-Implementations of Swap. OPODIS 2023, sections 1-2. DOI: 10.4230/LIPIcs.OPODIS.2023.24. https://drops.dagstuhl.de/storage/00lipics/lipics-vol286-opodis2023/LIPIcs.OPODIS.2023.24/LIPIcs.OPODIS.2023.24.pdf (accessed 2026-11-28) - [hesela-nrl] Hesela: interrupted-call recovery and a constructed two-call counter example. https://hesela.com/analyses/pmem-persistence-domains-dax/#nrl-recovery (accessed 2026-11-28) ### Network-Attached Secure Disks URL: https://hesela.dev/terms/network-attached-secure-disks/ Also known as: NASD Status: research Record updated: 2026-12-02 Network-Attached Secure Disks expose storage objects directly to clients while a separate file manager controls naming and access policy. Note: NASD separates policy from enforcement: the file manager grants access, while the drive checks the capability and maps object offsets to media. Pathnames remain outside the drive; an object is not necessarily a whole file. [scaling] The 1997 security design binds capabilities to an object's access-control version (AV). Updating AV invalidates every outstanding capability for that object, not just one client's token. This version tracks authorization changes, not file-content revisions. [security] Authorization is distinct from confidentiality. The security design separates request authentication, data integrity and privacy; the word secure does not imply that every transfer is encrypted. [security] Limitations: - The scaling study uses analytic costs and trace replay with initially cold caches; its file-manager CPU reductions are not current-device throughput guarantees. (sources: [scaling]) Sources and caveats: - Historical architecture and protocol review, not an implementation or a recommendation to deploy the original cryptography. Related terms: - [nas](https://hesela.dev/terms/nas/) - [object-storage](https://hesela.dev/terms/object-storage/) - [active-disks](https://hesela.dev/terms/active-disks/) - [self-securing-storage](https://hesela.dev/terms/self-securing-storage/) Citations: - [scaling] Gibson et al. File Server Scaling with Network-Attached Secure Disks. SIGMETRICS 1997, sections 3-6. https://www.pdl.cmu.edu/PDL-FTP/NASD/Sigmetrics97.pdf (accessed 2026-12-02) - [security] Gobioff, Gibson and Tygar. Security for Network Attached Storage Devices. CMU-CS-97-185 (1997), sections 4-9. https://www.pdl.cmu.edu/PDL-FTP/NASD/CMU-CS-97-185.pdf (accessed 2026-12-02) - [review] Hesela: NASD and Active Disks source review. https://hesela.dev/research/nasd-active-disks/README.md (accessed 2026-12-02) ### Network partition URL: https://hesela.dev/terms/network-partition/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: Network partitioning Status: shipping Record updated: 2026-11-10 A network partition is a communication failure that prevents message exchange between groups of nodes that may still be running. Note: Scope: A lost heartbeat does not prove that a peer has stopped or lost storage access. The communication failure and the enforcement of resource exclusion are separate observations. [pacemaker] Formal boundary: The CAP model permits arbitrary message loss between components. It cannot guarantee both linearizable reads and writes and eventual completion of every read/write request received by a non-failing node across all such executions. This availability definition is not an uptime percentage or a latency deadline. [gilbert-lynch] Sources and caveats: - Source review of Pacemaker 3.0 and Gilbert and Lynch sections 2.1-2.3 and 3.1, accessed 2026-11-09. No cluster fault-injection experiment. Related terms: - [split-brain](https://hesela.dev/terms/split-brain/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [failure-detector](https://hesela.dev/terms/failure-detector/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [linearizability](https://hesela.dev/terms/linearizability/) - [cap-theorem](https://hesela.dev/terms/cap-theorem/) Citations: - [pacemaker] ClusterLabs: Pacemaker Explained 3.0, Fencing, sections 8.1-8.3 and 8.11. https://clusterlabs.org/projects/pacemaker/doc/3.0/Pacemaker_Explained/html/fencing.html (accessed 2026-11-09) - [gilbert-lynch] Gilbert and Lynch (2002): Brewer's Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services. https://www.comp.nus.edu.sg/~gilbert/pubs/BrewersConjecture-SigAct.pdf (accessed 2026-11-09) ### Newline-delimited JSON URL: https://hesela.dev/terms/newline-delimited-json/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: NDJSON, Newline delimited JSON Status: unknown Record updated: 2026-11-21 Newline-delimited JSON stores or transmits a sequence of UTF-8 JSON values separated by line endings. Note: NDJSON: Version 1.0.0 requires LF after each value, optionally preceded by CR, and prohibits literal CR/LF inside a JSON text. Parsers accept LF and CRLF; ignoring empty lines must be documented and should be configurable. [ndjson-spec] JSON Lines: This closely related convention allows any JSON value on a line, rejects blank lines and recommends rather than requires a final line terminator. Do not assume identical edge-case contracts. [json-lines-format] Scope: Neither convention requires object-only records. Escaped newline sequences inside strings do not create physical record boundaries. [ndjson-spec] [json-lines-format] Sources and caveats: - Specification synthesis, not a parser conformance study or a crash-recovery experiment. Related terms: - [data-serialization](https://hesela.dev/terms/data-serialization/) - [json-text-sequence](https://hesela.dev/terms/json-text-sequence/) Citations: - [ndjson-spec] NDJSON specification 1.0.0, serialization and parsing, sections 3.1-3.3. https://github.com/ndjson/ndjson-spec/blob/8a5a2350ff95fd356993b827f63c5733a9d4f1a6/README.md (accessed 2026-11-21) - [json-lines-format] JSON Lines: UTF-8, JSON values and line terminators. https://jsonlines.org/ (accessed 2026-11-21) ### NFS attribute cache URL: https://hesela.dev/terms/nfs-attribute-cache/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: NFS metadata attribute cache Status: shipping Record updated: 2026-10-23 An NFS attribute cache is a client-side copy of file or directory metadata reused until refresh or revalidation is required. Note: Metadata such as size and change information is not the file's cached payload. By default the Linux client keeps regular-file attributes for at least 3 s and at most 60 s, and directory attributes for 30 s to 60 s, before asking the server again. [nfs-client] Linux actimeo sets all four attribute-cache timers to one value, while noac additionally makes application writes synchronous, so they are not interchangeable settings. With noac every attribute check goes to the server, at the cost of many extra network operations. [nfs-client] An NFSv4 client may validate cached attributes by fetching only change and time_access, and it may hold modified values only for size, time_modify and change. [rfc7530] Attribute freshness does not create an atomic snapshot across multiple files, and caches on different clients may observe server changes in different orders. All attributes of one file are cached as a unit, with an upper bound on how long an entry may go unrefreshed. [rfc7530] Advantages: - Cached attributes avoid repeated GETATTR requests and reduce network and server load. (sources: [rfc7530], [nfs-client]) Limitations: - Disabling attribute caching does not disable all file-data caching or eliminate every coherence race. (sources: [nfs-client]) - Timestamps changed on the server reach applications only after the client retrieves fresh attributes. (sources: [nfs-client]) Sources and caveats: - nfs-client is nfs(5) from nfs-utils 2.8.3 on Debian trixie, re-read for the ac, noac, acregmin, acregmax, acdirmin, acdirmax and actimeo options and the coherence section. - rfc7530 is the NFSv4.0 specification, re-read in section 10.6 for attribute caching rules. - The direct-io entry links here because nfs(5) names O_DIRECT as the way to disable data caching that noac leaves in place. Related terms: - [nfs-change-attribute](https://hesela.dev/terms/nfs-change-attribute/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [close-to-open-consistency](https://hesela.dev/terms/close-to-open-consistency/) - [nfs-delegation](https://hesela.dev/terms/nfs-delegation/) - [page-cache](https://hesela.dev/terms/page-cache/) - [nfs-lookup-cache](https://hesela.dev/terms/nfs-lookup-cache/) Citations: - [nfs-client] nfs-utils nfs(5), Debian trixie: data and metadata coherence and version-specific cto/nocto options. https://manpages.debian.org/trixie/nfs-common/nfs.5.en.html (accessed 2026-10-23) - [rfc7530] Haynes and Noveck (editors). NFS Version 4 Protocol. RFC 7530, sections 10.3, 10.4 and 10.6 (NFSv4.0). https://datatracker.ietf.org/doc/html/rfc7530#section-10 (accessed 2026-10-23) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-14) ### NFS change attribute URL: https://hesela.dev/terms/nfs-change-attribute/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: NFSv4 change attribute, FATTR4_CHANGE Status: shipping Record updated: 2026-11-29 The NFSv4 change attribute is a server-generated value used to detect changes to a file's data, a directory's entries or an object's attributes. Note: Validation: NFSv4 cache checks use change rather than time_modify alone, whose granularity can hide successive updates. It is a 64-bit value, not a content checksum or proof of stable storage. [rfc8881] Directory updates: Without a directory delegation, serialized operations can compare a previous after value with the next before value in change_info4. With a valid starting cache, matching values establish continuity only when both operations report their change information atomically. Replies to concurrent requests may arrive in a different order. A cached listing assembled from multiple READDIR calls needs GETATTR checks before its first and after its last call to validate directory consistency; the continuation cookie does not replace this check. [rfc8881] Ordering: A baseline change value need not be a monotonically increasing counter. NFSv4.2 change_attr_type advertises per-filesystem behavior, including monotonic and version-counter forms. A client cannot infer the newest parallel reply merely by choosing the largest value unless the applicable behavior supports that ordering. [rfc7862] Linux v7.2 implementation: nfsd4_change_attribute checks the returned STATX_CHANGE_COOKIE bit. With no cookie it derives change from ctime. With a cookie it uses that value, adding encoded ctime for a regular file unless STATX_ATTR_CHANGE_MONOTONIC is set. Other file types keep the supplied cookie. The source explains the addition as protection against reusing pre-crash values, conditional on time not moving backward. These are implementation branches, not a universal NFS encoding or a proof of durable bytes. [nfsd-change] Limitations: - Matching values from different servers are not comparable without established change-class continuity. (sources: [rfc8881]) Sources and caveats: - Primary-source protocol review, not a client interoperability or crash test. - Directory continuity follows RFC 8881 section 10.8.1 without directory delegations; the optional NFSv4.2 type is a separate extension. - No universal cross-reboot uniqueness or persistence guarantee is inferred from the change attribute. Related terms: - [nfs-attribute-cache](https://hesela.dev/terms/nfs-attribute-cache/) - [nfs-lookup-cache](https://hesela.dev/terms/nfs-lookup-cache/) - [nfs-write-verifier](https://hesela.dev/terms/nfs-write-verifier/) - [nfs-readdir-cookie](https://hesela.dev/terms/nfs-readdir-cookie/) - [multigrain-timestamps](https://hesela.dev/terms/multigrain-timestamps/) Citations: - [rfc8881] RFC 8881: NFSv4.1, sections 5.8.1.4, 10.3.1, 10.8.1-10.8.2 and 11.11.5. https://www.rfc-editor.org/rfc/rfc8881.html#section-5.8.1.4 (accessed 2026-11-08) - [rfc7862] RFC 7862: NFSv4.2, sections 10 and 12.2.3, change_attr_type and reply ordering. https://www.rfc-editor.org/rfc/rfc7862.html#section-12.2.3 (accessed 2026-11-08) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/#change-validation (accessed 2026-11-08) - [nfsd-change] Linux v7.2 fs/nfsd/nfsfh.c: nfsd4_change_attribute and returned change-cookie flags. https://raw.githubusercontent.com/torvalds/linux/v7.2/fs/nfsd/nfsfh.c (accessed 2026-11-29) ### NFS COMMIT URL: https://hesela.dev/terms/nfs-commit/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: NFSv3 COMMIT Status: shipping Record updated: 2026-11-12 NFSv3 COMMIT requests stable storage of previously buffered writes and associated metadata for a specified file range. Note: RFC 1813 section 3.3.21 defines the operation; count zero means from offset to end of file. The client compares the returned verifier with those associated with its outstanding writes, retransmitting uncommitted buffers if the verifier changes. A successful status alone is insufficient evidence that earlier volatile data survived a server restart. This is a file-range persistence operation, not a transaction across several files; NFSv4 recovery is outside this record's scope. Advantages: - Allows clients to batch unstable writes before requesting their persistence. (sources: [rfc1813]) Limitations: - Cannot recover a lost client copy of data that never reached stable server storage. (sources: [rfc1813]) Related terms: - [stable-storage](https://hesela.dev/terms/stable-storage/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-write-verifier](https://hesela.dev/terms/nfs-write-verifier/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [fsync](https://hesela.dev/terms/fsync/) - [nfs-write-gathering](https://hesela.dev/terms/nfs-write-gathering/) Citations: - [rfc1813] B. Callaghan, B. Pawlowski and P. Staubach. NFS Version 3 Protocol Specification. RFC 1813, June 1995, sections 3.3.7, 3.3.21 and 4.8. https://www.rfc-editor.org/rfc/rfc1813.html (accessed 2026-10-12) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-12) ### NFSv4 file delegation URL: https://hesela.dev/terms/nfs-delegation/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: NFS delegation, NFS read delegation, NFS write delegation Status: shipping Record updated: 2026-11-29 An NFSv4 file delegation is a recallable server grant allowing a client to manage specified opens and cached file state locally while conflicting access is coordinated by the server. Note: Read and write delegations have different permissions. A write delegation may defer transmitting modified data at application close; conflicting access must be coordinated through return or revocation under the protocol rules. Delegation is not permanent ownership, a backup, or evidence that the server already stores the latest bytes durably. NFSv4.1 maintains open and locking state under a client lease. After server state loss, grace and reclaim coordinate restoration of prior state; these mechanisms do not certify file-data persistence. See the lease, stateid and state-reclaim records for the version-specific recovery boundary. [recovery] Limitations: - Without an OPEN delegation, NFSv4.0 and NFSv4.1 require modified data on server stable storage before protocol CLOSE; delegated close behavior must not be generalized to that case. (sources: [rfc7530], [rfc8881]) Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [close-to-open-consistency](https://hesela.dev/terms/close-to-open-consistency/) - [nfs-attribute-cache](https://hesela.dev/terms/nfs-attribute-cache/) - [nfs-commit](https://hesela.dev/terms/nfs-commit/) - [nfs-lease](https://hesela.dev/terms/nfs-lease/) - [nfs-stateid](https://hesela.dev/terms/nfs-stateid/) - [nfs-state-reclaim](https://hesela.dev/terms/nfs-state-reclaim/) - [nache](https://hesela.dev/terms/nache/) Citations: - [rfc7530] Haynes and Noveck (editors). NFS Version 4 Protocol. RFC 7530, sections 10.3, 10.4 and 10.6 (NFSv4.0). https://datatracker.ietf.org/doc/html/rfc7530#section-10 (accessed 2026-10-14) - [rfc8881] Noveck and Lever (editors). NFS Version 4 Minor Version 1 Protocol. RFC 8881, sections 10.3-10.6 (NFSv4.1). https://www.rfc-editor.org/rfc/rfc8881.html#section-10 (accessed 2026-10-14) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-14) - [recovery] RFC 8881 (NFSv4.1), sections 8.3-8.5, lease renewal and crash recovery. https://www.rfc-editor.org/rfc/rfc8881.html#section-8.4 (accessed 2026-10-18) ### NFSv4 grace period URL: https://hesela.dev/terms/nfs-grace-period/ Also known as: NFS grace period Status: shipping Record updated: 2026-10-18 An NFSv4 grace period is a server recovery interval that protects the reclamation of previously held locking state from conflicting new access. Note: After loss of locking state, NFSv4.1 permits eligible clients to reclaim prior opens and locks. Requests that could conflict with reclaim receive NFS4ERR_GRACE; the server may allow operations when it can establish they are safe. Grace is therefore not necessarily a complete I/O outage. [grace] RECLAIM_COMPLETE ends the issuing client's reclaim opportunity for the indicated scope, not the server's grace period for all clients. Recovered locks say nothing about whether uncommitted file bytes survived. [complete] Limitations: - Do not assume a universal duration or retry every NFS error as grace. (sources: [grace]) Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-lease](https://hesela.dev/terms/nfs-lease/) - [nfs-state-reclaim](https://hesela.dev/terms/nfs-state-reclaim/) Citations: - [grace] RFC 8881 (NFSv4.1), section 8.4.2.1, State Reclaim. https://www.rfc-editor.org/rfc/rfc8881.html#section-8.4.2.1 (accessed 2026-10-18) - [complete] RFC 8881 (NFSv4.1), section 18.51.3, RECLAIM_COMPLETE description. https://www.rfc-editor.org/rfc/rfc8881.html#section-18.51.3 (accessed 2026-10-18) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/#state-recovery (accessed 2026-10-18) ### NFSv4 lease URL: https://hesela.dev/terms/nfs-lease/ Also known as: NFS lease, NFS client lease Status: shipping Record updated: 2026-10-18 An NFSv4 lease is a renewable time interval during which the server maintains a client's locking state, subject to the protocol's revocation rules. Note: For NFSv4.1, one lease covers the state associated with a client ID, and successful SEQUENCE processing renews an unexpired lease. After expiration, renewal is conditional; clients must inspect SEQUENCE status flags for revoked state. Expiration permits revocation; it does not imply that every lock vanished at the deadline. Administrative revocation and unreturned recalls are separate cases. [lease] [expiration] [revocation] NFSv4.0 has different renewal rules, including RENEW. Lease renewal does not flush file data or validate cached content. [v40] Limitations: - A renewed lease is not a durable-write acknowledgement. (sources: [lease]) Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-delegation](https://hesela.dev/terms/nfs-delegation/) - [nfs-grace-period](https://hesela.dev/terms/nfs-grace-period/) - [nfs-stateid](https://hesela.dev/terms/nfs-stateid/) Citations: - [lease] RFC 8881 (NFSv4.1), section 8.3, Lease Renewal. https://www.rfc-editor.org/rfc/rfc8881.html#section-8.3 (accessed 2026-10-18) - [expiration] RFC 8881 (NFSv4.1), section 8.4.3, Network Partitions and Recovery. https://www.rfc-editor.org/rfc/rfc8881.html#section-8.4.3 (accessed 2026-10-18) - [revocation] RFC 8881 (NFSv4.1), section 8.5, Server Revocation of Locks. https://www.rfc-editor.org/rfc/rfc8881.html#section-8.5 (accessed 2026-10-18) - [v40] RFC 7530 (NFSv4.0), section 9.5, Lease Renewal. https://www.rfc-editor.org/rfc/rfc7530.html#section-9.5 (accessed 2026-10-18) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/#state-recovery (accessed 2026-10-18) ### NFS lookup cache URL: https://hesela.dev/terms/nfs-lookup-cache/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: NFS name cache, NFS dentry cache Status: shipping Record updated: 2026-10-22 An NFS lookup cache retains directory-name resolution results, including found and missing entries, subject to revalidation. Note: Linux lookupcache=positive revalidates negative entries; lookupcache=none revalidates both positive and negative entries before use. These controls do not disable file-data caching. More validation can increase server work. [nfs-client] The Linux client drops all cached LOOKUP results for a directory when it sees that directory's mtime change. Because the mtime is itself a cached attribute, detection waits for the directory attribute cache, which by default lasts between 30 and 60 seconds. Negative results have been cached since kernel 2.6.28, and earlier clients tracked only positive results. [nfs-client] NFSv4 bounds how long a name cache entry may be used without checking the directory. Directory-changing operations return change_info4, a flag plus 64-bit change values from before and after the operation. A client may update its name cache only when the server reports them atomically and the before value matches its cached one, otherwise it purges that directory's cache. [rfc7530] Advantages: - Applications that do not share directories with other clients avoid repeated LOOKUP round trips. (sources: [nfs-client]) Limitations: - Name visibility is not evidence of durable file contents or a multi-file transaction. (sources: [rfc7530], [hesela-stability]) - Applications on several clients that must notice file creation or removal quickly can see stale entries until the next revalidation. (sources: [nfs-client]) Sources and caveats: - nfs-client is the nfs(5) manual page from nfs-utils in Debian trixie, read on the access date in the lookupcache, acdirmin and acdirmax options and Directory entry caching. - rfc7530 is RFC 7530 (NFSv4.0), read in section 10.8 and the change_info4 data type. - 30 and 60 seconds and 2.6.28 come from nfs-client. 64-bit comes from rfc7530 (changeid4 is uint64_t). Related terms: - [nfs-change-attribute](https://hesela.dev/terms/nfs-change-attribute/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-attribute-cache](https://hesela.dev/terms/nfs-attribute-cache/) - [close-to-open-consistency](https://hesela.dev/terms/close-to-open-consistency/) - [nfs-readdir-cookie](https://hesela.dev/terms/nfs-readdir-cookie/) Citations: - [nfs-client] nfs-utils nfs(5), Debian trixie: lookupcache option. https://manpages.debian.org/trixie/nfs-common/nfs.5.en.html (accessed 2026-10-22) - [rfc7530] RFC 7530, section 10.8: Name Caching. https://datatracker.ietf.org/doc/html/rfc7530#section-10.8 (accessed 2026-10-22) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-14) ### NFS open-file preservation URL: https://hesela.dev/terms/nfs-preserve-unlinked/ Also known as: OPEN4_RESULT_PRESERVE_UNLINKED, preserve unlinked Status: shipping Record updated: 2026-10-16 NFS open-file preservation is the NFSv4.1 OPEN-result promise to retain a file removed while open, including through the server-restart grace period for open reclamation. Note: RFC 8881 section 18.16.3 defines the capability; a version label alone does not show that it was returned. [rfc8881] Linux v6.12 records the result on the inode and uses it to bypass the silly-rename branch. [linux-open] [linux-dir] Erratum 6865 identifies contradictory REMOVE wording; its status was Reported, not Verified, on 2026-10-16. [erratum] Advantages: - Moves the advertised open-file lifetime guarantee to the server rather than relying solely on a client's temporary name. Limitations: - Not proof of data-write durability, indefinite retention or a successful reclaim. - Client implementation, server behavior and returned flags must be evaluated together. Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-silly-rename](https://hesela.dev/terms/nfs-silly-rename/) - [unlink](https://hesela.dev/terms/unlink/) - [nfs-delegation](https://hesela.dev/terms/nfs-delegation/) Citations: - [linux-open] Linux v6.12, fs/nfs/nfs4proc.c: _nfs4_do_open records the server's preservation flag. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/nfs/nfs4proc.c (accessed 2026-10-16) - [linux-dir] Linux v6.12, fs/nfs/dir.c: nfs_unlink gates silly rename on the inode preservation flag. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/nfs/dir.c (accessed 2026-10-16) - [rfc8881] D. Noveck and C. Lever (editors). RFC 8881, sections 18.16.3 and 18.25.4: OPEN and REMOVE. https://www.rfc-editor.org/rfc/rfc8881.html#section-18.16.3 (accessed 2026-10-16) - [erratum] RFC 8881 technical erratum 6865, reported by David Noveck on 2022-02-28; status Reported when checked. https://www.rfc-editor.org/errata/eid6865 (accessed 2026-10-16) - [hesela-unlink] Why deleted NFS files become .nfs files. https://hesela.com/analyses/nfs-silly-rename-open-unlink/ (accessed 2026-10-16) ### NFS READDIR cookie URL: https://hesela.dev/terms/nfs-readdir-cookie/ Related analysis: https://hesela.com/analyses/inotify-change-detection/ Also known as: NFS directory cookie Status: shipping Record updated: 2026-11-08 An NFS READDIR cookie is a server-supplied cursor used to continue retrieving entries from a directory. Note: In NFSv4.1, a listing starts with cookie zero and a zero cookieverf, then sends a server-issued cookie with the cookieverf from the reply in which it was acquired. The server must reject a verifier it determines is invalid with NFS4ERR_NOT_SAME. The cookie is a 64-bit value meaningful only to the server and is not a byte offset. Cookie values 1 and 2 should not be sent, and 0, 1 and 2 should not be returned. [nfs-readdir] The verifier is 8 bytes in both NFSv3 and NFSv4.1. NFSv2 had no verifier, so a reorganized directory could make a second READDIR miss entries or return them twice. NFSv3 added the verifier and rejects a stale cookie with NFS3ERR_BAD_COOKIE. [nfs3-readdir] A cookie/verifier pair addresses continuation for that directory, not a coordinated snapshot of a directory tree. If requested, rdattr_error can carry an attribute-fetch failure for one entry inside an otherwise successful READDIR reply, so per-entry errors need inspection as well as the operation status. [nfs-readdir] Advantages: - dircount and maxcount let a client bound the XDR-encoded reply in bytes, and the server must return NFS4ERR_TOOSMALL when not even one entry fits. (sources: [nfs-readdir]) - A server whose cookies never become invalid may use zero as the verifier on every reply. (sources: [nfs3-readdir]) Limitations: - Cookie stability across directory changes is only a SHOULD, so a long listing can still end with NFS4ERR_NOT_SAME. (sources: [nfs-readdir]) - Servers should not return the . and .. entries, so a client that needs them must fabricate them. (sources: [nfs-readdir]) Sources and caveats: - nfs-readdir is RFC 8881, re-read for READDIR arguments, results, reserved cookie values, the 64-bit nfs_cookie4 type and the 8-byte NFS4_VERIFIER_SIZE. - nfs3-readdir is RFC 1813 section 3.3.16, read for the NFSv2 problem the verifier solves, NFS3ERR_BAD_COOKIE and the 8-byte NFS3_COOKIEVERFSIZE. - The nfs-lookup-cache entry links here because both depend on cached directory state that a server-side change can make stale. Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [directory-enumeration](https://hesela.dev/terms/directory-enumeration/) - [nfs-attribute-cache](https://hesela.dev/terms/nfs-attribute-cache/) - [nfs-change-attribute](https://hesela.dev/terms/nfs-change-attribute/) Citations: - [nfs-readdir] Noveck and Lever: RFC 8881, NFSv4.1 READDIR, sections 18.23.3-18.23.4. https://www.rfc-editor.org/rfc/rfc8881.html#section-18.23 (accessed 2026-10-23) - [nfs3-readdir] Callaghan et al.: RFC 1813, NFS version 3 READDIR, section 3.3.16. https://www.rfc-editor.org/rfc/rfc1813.html#section-3.3.16 (accessed 2026-10-23) ### NFS silly rename URL: https://hesela.dev/terms/nfs-silly-rename/ Also known as: silly rename, NFS .nfs file Status: shipping Record updated: 2026-10-16 NFS silly rename is a client workaround that temporarily renames an in-use file's directory entry and defers its removal until local references are released. Note: Linux v6.12 uses a hidden .nfs name and deferred unlink. The nfs_unlink branch is conditional on a dentry reference count above one and absence of the inode's preservation flag; this count is not a file-descriptor count. [linux-dir] [linux-unlink] The original Sun paper documents client-crash leftovers and a cross-client removal limitation, not modern fleet rates. [sandberg] Advantages: - Helps preserve access through existing local references while removing the application's original name. Limitations: - Does not establish a complete inventory of other clients' opens. - A hidden name is not evidence of media failure, successful cleanup or secure erasure. Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-preserve-unlinked](https://hesela.dev/terms/nfs-preserve-unlinked/) - [unlink](https://hesela.dev/terms/unlink/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [close-to-open-consistency](https://hesela.dev/terms/close-to-open-consistency/) Citations: - [sandberg] R. Sandberg, D. Goldberg, S. Kleiman, D. Walsh and B. Lyon. Design and Implementation of the Sun Network Filesystem. Summer USENIX 1985, pp. 119-130; open-file semantics, pp. 126-127. https://www.cs.wisc.edu/~dusseau/Classes/CS736/Papers/nfs.pdf (accessed 2026-10-16) - [linux-unlink] Linux v6.12, fs/nfs/unlink.c: nfs_sillyrename and asynchronous cleanup. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/nfs/unlink.c (accessed 2026-10-16) - [linux-dir] Linux v6.12, fs/nfs/dir.c: nfs_unlink gates silly rename on the inode preservation flag. https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/fs/nfs/dir.c (accessed 2026-10-16) - [hesela-unlink] Why deleted NFS files become .nfs files. https://hesela.com/analyses/nfs-silly-rename-open-unlink/ (accessed 2026-10-16) ### NFSv4 state reclaim URL: https://hesela.dev/terms/nfs-state-reclaim/ Also known as: NFS lock reclaim, NFS open reclaim Status: shipping Record updated: 2026-10-18 NFSv4 state reclaim is the recovery of previously held open and locking state after the server loses that state, rather than the acquisition of unrelated new locks. Note: In NFSv4.1, clients reclaim eligible state during server recovery and send RECLAIM_COMPLETE when finished. Before obtaining new locking state with a new client ID, the global form (rca_one_fs = FALSE) is required even when there is nothing to reclaim. The file-system-specific form (rca_one_fs = TRUE) concerns migration and does not replace the global requirement. After completion, remaining prior locks in that scope cannot be reclaimed; new locking requests may still receive NFS4ERR_GRACE while server-wide grace continues. [reclaim] [complete] Reclaim does not replay lost file contents or restore a backup. Data stability and write-verifier recovery remain separate concerns; a v3 COMMIT trace is not a v4.1 state-recovery procedure. [reclaim] Limitations: - A rejected reclaim is not proof that the original lock still excludes other clients. (sources: [reclaim], [complete]) Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-grace-period](https://hesela.dev/terms/nfs-grace-period/) - [nfs-lease](https://hesela.dev/terms/nfs-lease/) - [nfs-stateid](https://hesela.dev/terms/nfs-stateid/) - [nfs-commit](https://hesela.dev/terms/nfs-commit/) Citations: - [reclaim] RFC 8881 (NFSv4.1), section 8.4.2.1, State Reclaim. https://www.rfc-editor.org/rfc/rfc8881.html#section-8.4.2.1 (accessed 2026-10-18) - [complete] RFC 8881 (NFSv4.1), section 18.51.3, RECLAIM_COMPLETE description. https://www.rfc-editor.org/rfc/rfc8881.html#section-18.51.3 (accessed 2026-10-18) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/#state-recovery (accessed 2026-10-18) ### NFSv4 stateid URL: https://hesela.dev/terms/nfs-stateid/ Also known as: NFS state identifier Status: shipping Record updated: 2026-10-18 An NFSv4 stateid is a protocol value identifying server-managed state such as an open, byte-range lock, delegation or layout. Note: In NFSv4.1 the 16-byte representation contains a sequence field and an opaque part. A filehandle identifies the object; an ordinary stateid identifies associated state and must agree with the current filehandle. Special stateid values have operation-specific meanings. A stateid is neither a content checksum nor a persistence receipt. [stateid] After state loss or revocation, recovery must follow the protocol; retaining a filehandle alone does not preserve the previous open or lock state. [recovery] Limitations: - The opaque part is not a stable file ID or proof of valid post-restart state. (sources: [stateid], [recovery]) Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-delegation](https://hesela.dev/terms/nfs-delegation/) - [nfs-lease](https://hesela.dev/terms/nfs-lease/) - [nfs-state-reclaim](https://hesela.dev/terms/nfs-state-reclaim/) Citations: - [stateid] RFC 8881 (NFSv4.1), section 8.2, Stateid Definition. https://www.rfc-editor.org/rfc/rfc8881.html#section-8.2 (accessed 2026-10-18) - [recovery] RFC 8881 (NFSv4.1), section 8.4, Crash Recovery. https://www.rfc-editor.org/rfc/rfc8881.html#section-8.4 (accessed 2026-10-18) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/#state-recovery (accessed 2026-10-18) ### NFS URL: https://hesela.dev/terms/nfs-storage/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: Network File System, NFSv3, NFSv4 Status: shipping Record updated: 2026-11-28 Network File System is a family of protocols for accessing files and directories on a remote server over a network. Note: Persistence and recovery depend on protocol version and implementation. In NFSv3, WRITE requests UNSTABLE, DATA_SYNC or FILE_SYNC and returns the achieved level in committed; the server may return a stronger level than requested. COMMIT persists buffered file-range writes and metadata, with write-verifier comparison needed to detect lost uncommitted state. Do not infer durable server storage from an application write return or generalize the complete v3 recovery procedure to v4. The Linux server's async export option explicitly weakens protocol persistence guarantees. Cache visibility is a separate concern: close-to-open checks support sequential sharing, and NFSv4 delegations can change when validation and writeback occur. See the related cache records for version-specific boundaries. Open-file lifetime is separate from write stability: Linux can use silly rename, while NFSv4.1 defines an advertised preservation capability. [hesela-unlink] NFSv4.1 maintains open and locking state under a client lease. After server state loss, grace and reclaim coordinate restoration of prior state; these mechanisms do not certify file-data persistence. See the lease, stateid and state-reclaim records for the version-specific recovery boundary. [recovery] Parallel NFS separates metadata coordination from direct data access through type-specific layouts; see pNFS and pNFS layout. [pnfs-types] Linux v7.2 documents experimental NFSD read/write cache-mode settings, separate from client O_DIRECT. Server DONTCACHE falls back to ordinary buffered I/O when the backing filesystem lacks FOP_DONTCACHE. This is server implementation policy, not an NFS protocol option or proof of cache eviction. [nfsd-modes-72] [nfsd-vfs-72] Advantages: - Provides a network file interface while separating client access from server storage implementation. (sources: [rfc1813]) Limitations: - Client buffering, server export policy and storage-cache behavior are distinct durability boundaries. (sources: [rfc1813], [exports], [hesela-stability]) - In Linux v7.2, NFSD cache controls span all exports and NFSD network namespaces; restoring BUFFERED read mode alone does not restore splice-read eligibility after DONTCACHE or DIRECT. (sources: [nfsd-debugfs-72]) Sources and caveats: - NFSD supplement: source review pinned to Linux v7.2, not a feature-introduction date, server benchmark or cache-residency measurement. Related terms: - [nas](https://hesela.dev/terms/nas/) - [file-storage](https://hesela.dev/terms/file-storage/) - [nfs-commit](https://hesela.dev/terms/nfs-commit/) - [nfs-write-verifier](https://hesela.dev/terms/nfs-write-verifier/) - [fsync](https://hesela.dev/terms/fsync/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [close-to-open-consistency](https://hesela.dev/terms/close-to-open-consistency/) - [nfs-attribute-cache](https://hesela.dev/terms/nfs-attribute-cache/) - [nfs-delegation](https://hesela.dev/terms/nfs-delegation/) - [nfs-lookup-cache](https://hesela.dev/terms/nfs-lookup-cache/) - [nfs-silly-rename](https://hesela.dev/terms/nfs-silly-rename/) - [nfs-preserve-unlinked](https://hesela.dev/terms/nfs-preserve-unlinked/) - [nfs-write-gathering](https://hesela.dev/terms/nfs-write-gathering/) - [nfs-lease](https://hesela.dev/terms/nfs-lease/) - [nfs-grace-period](https://hesela.dev/terms/nfs-grace-period/) - [nfs-stateid](https://hesela.dev/terms/nfs-stateid/) - [nfs-state-reclaim](https://hesela.dev/terms/nfs-state-reclaim/) - [duplicate-request-cache](https://hesela.dev/terms/duplicate-request-cache/) - [pnfs](https://hesela.dev/terms/pnfs/) - [pnfs-layout](https://hesela.dev/terms/pnfs-layout/) - [direct-io](https://hesela.dev/terms/direct-io/) - [rwf-dontcache](https://hesela.dev/terms/rwf-dontcache/) Citations: - [rfc1813] B. Callaghan, B. Pawlowski and P. Staubach. NFS Version 3 Protocol Specification. RFC 1813, June 1995, sections 3.3.7, 3.3.21 and 4.8. https://www.rfc-editor.org/rfc/rfc1813.html (accessed 2026-10-12) - [exports] nfs-utils exports(5), Debian trixie manual: async and sync export options. https://manpages.debian.org/trixie/nfs-kernel-server/exports.5.en.html (accessed 2026-10-12) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-12) - [nfs-client] nfs-utils nfs(5), Debian trixie: data and metadata coherence and version-specific cto/nocto options. https://manpages.debian.org/trixie/nfs-common/nfs.5.en.html (accessed 2026-10-14) - [rfc7530] Haynes and Noveck (editors). NFS Version 4 Protocol. RFC 7530, sections 10.3, 10.4 and 10.6 (NFSv4.0). https://datatracker.ietf.org/doc/html/rfc7530#section-10 (accessed 2026-10-14) - [rfc8881] Noveck and Lever (editors). NFS Version 4 Minor Version 1 Protocol. RFC 8881, sections 10.3-10.6 (NFSv4.1). https://www.rfc-editor.org/rfc/rfc8881.html#section-10 (accessed 2026-10-14) - [hesela-unlink] Why deleted NFS files become .nfs files. https://hesela.com/analyses/nfs-silly-rename-open-unlink/ (accessed 2026-10-16) - [recovery] RFC 8881 (NFSv4.1), sections 8.3-8.5, lease renewal and crash recovery. https://www.rfc-editor.org/rfc/rfc8881.html#section-8.4 (accessed 2026-10-18) - [pnfs-types] RFC 8434: Requirements for Parallel NFS Layout Types, sections 1-3; roles, layout-specific protocols and control requirements. https://www.rfc-editor.org/rfc/rfc8434.html (accessed 2026-11-09) - [nfsd-modes-72] Linux v7.2 NFSD IO MODES: experimental server read/write policy and DONTCACHE fallback. https://docs.kernel.org/7.2/filesystems/nfs/nfsd-io-modes.html (accessed 2026-11-28) - [nfsd-vfs-72] Linux v7.2 fs/nfsd/vfs.c: nfsd_iter_read and nfsd_vfs_write capability checks. https://github.com/torvalds/linux/blob/v7.2/fs/nfsd/vfs.c (accessed 2026-11-28) - [nfsd-debugfs-72] Linux v7.2 fs/nfsd/debugfs.c: global cache controls and coupled read-mode/splice setters. https://github.com/torvalds/linux/blob/v7.2/fs/nfsd/debugfs.c (accessed 2026-11-28) ### NFS write gathering URL: https://hesela.dev/terms/nfs-write-gathering/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: NFS write clustering Status: shipping Record updated: 2026-10-17 NFS write gathering combines related server writes to share persistence work before sending their replies. Note: Juszczak's 1994 implementation preserves stable completion and is not an unstable acknowledgement scheme. [juszczak1994] The Linux exports manual documents wdelay/no_wdelay: delaying related requests can share disk work, but unrelated small writes may suffer; no_wdelay has no effect with async. This option documentation does not establish that a current kernel uses the historical implementation. [exports] Advantages: - Can amortize work across related requests. (sources: [exports]) Limitations: - A batching delay can penalize workloads with little opportunity to combine writes. (sources: [exports]) Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-commit](https://hesela.dev/terms/nfs-commit/) - [group-commit](https://hesela.dev/terms/group-commit/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) Citations: - [juszczak1994] Chet Juszczak. Improving the Write Performance of an NFS Server. USENIX Winter 1994, sections 2, 6.8, 6.10 and 7.1; Tables 1-2 (PDF p. 8). https://www.usenix.org/legacy/publications/library/proceedings/sf94/full_papers/juszczak.pdf (accessed 2026-10-17) - [exports] nfs-utils exports(5), Debian trixie: sync, async and no_wdelay/wdelay. https://manpages.debian.org/trixie/nfs-kernel-server/exports.5.en.html (accessed 2026-10-17) - [hesela-stability] NFS stable writes: historical write-gathering evidence and benchmark boundaries. https://hesela.com/analyses/nfs-stable-writes-flush-fua/#gathering (accessed 2026-10-17) ### NFS write verifier URL: https://hesela.dev/terms/nfs-write-verifier/ Related analysis: https://hesela.com/analyses/nfs-stable-writes-flush-fua/ Also known as: NFSv3 write verifier, writeverf3 Status: shipping Record updated: 2026-10-12 An NFSv3 write verifier is a server cookie returned by WRITE and COMMIT that lets clients detect state changes that may have lost uncommitted writes. Note: The verifier distinguishes server states relevant to buffered-write recovery; it is not a data checksum, transaction identifier or cryptographic authentication token. When a returned verifier differs from the one associated with uncommitted buffers, the client retransmits those buffers and establishes stable completion again. Verifier comparison accompanies status, byte-count and stability checks; equality alone does not establish that a write was stable. Limitations: - Detection requires retained client state and does not itself supply or repair lost data. (sources: [rfc1813]) Related terms: - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-commit](https://hesela.dev/terms/nfs-commit/) - [io-timeout](https://hesela.dev/terms/io-timeout/) Citations: - [rfc1813] B. Callaghan, B. Pawlowski and P. Staubach. NFS Version 3 Protocol Specification. RFC 1813, June 1995, sections 3.3.7, 3.3.21 and 4.8. https://www.rfc-editor.org/rfc/rfc1813.html (accessed 2026-10-12) - [hesela-stability] NFS stable writes: what COMMIT, flush and FUA actually promise. https://hesela.com/analyses/nfs-stable-writes-flush-fua/ (accessed 2026-10-12) ### Nil-externality URL: https://hesela.dev/terms/nil-externality/ Also known as: Nilext, Nil-externalizing interface Status: research Record updated: 2026-12-01 Nil-externality is an interface property in which an operation reveals neither an execution result nor a state-dependent execution error. Note: An acknowledgment or input-validation error can be returned without revealing stored state. An update returning the new value, a missing-key error or an externalizing trigger is not safely classified as nilext. When classification is uncertain, use the ordinary execution path. [paper] Nil-externality does not imply commutativity: appending distinct records can reveal no immediate result while their eventual order still matters. SKYROS exploits this distinction without postponing durability until a later read. [paper] Sources and caveats: - Interface classification follows SOSP 2021 sections 2.1, 4.8 and 5.7. It is not permission to ignore state-dependent errors in an existing API. Related terms: - [skyros](https://hesela.dev/terms/skyros/) - [curp](https://hesela.dev/terms/curp/) - [linearizability](https://hesela.dev/terms/linearizability/) Citations: - [paper] Ganesan et al. Exploiting Nil-Externality for Fast Replicated Storage. SOSP 2021, sections 2 and 4. DOI: 10.1145/3477132.3483543. https://research.cs.wisc.edu/adsl/Publications/nilext.pdf (accessed 2026-12-01) ### no_path_retry URL: https://hesela.dev/terms/no-path-retry/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: DM Multipath no-path retry Status: shipping Record updated: 2026-10-23 no_path_retry is a DM Multipath setting that controls queueing behavior when every path to a mapped device is unavailable. Note: The upstream interface accepts a positive retry count, fail for no queueing, or queue for indefinite queueing. A numeric count is not seconds. This is not an application deadline or a native NVMe multipath setting; verify the effective configuration and installed version. [multipath-man] For FC paths, failing transport I/O and removing a missing target are separate from this map-level queue decision. Keep fast_io_fail_tmo and dev_loss_tmo in the incident record; an application's final write outcome still needs evidence. [linux-fc-timers] Related terms: - [multipath-io](https://hesela.dev/terms/multipath-io/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [fast-io-fail-tmo](https://hesela.dev/terms/fast-io-fail-tmo/) - [dev-loss-tmo](https://hesela.dev/terms/dev-loss-tmo/) Citations: - [multipath-man] multipath-tools: multipath.conf(5), no_path_retry and FC timeout options; pinned commit d53932bdbee02f440518ea384e63d7c4d3f66685. https://github.com/opensvc/multipath-tools/blob/d53932bdbee02f440518ea384e63d7c4d3f66685/multipath/multipath.conf.5.in (accessed 2026-10-11) - [hesela-timeouts] Storage timeouts: an expired timer is not a cancelled write. https://hesela.com/analyses/storage-timeouts-uncertain-completion/ (accessed 2026-10-11) - [linux-fc-timers] Linux v6.12: FC transport loss, fail-fast and target-removal work. https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/scsi/scsi_transport_fc.c (accessed 2026-10-23) ### Non-preemptive priority URL: https://hesela.dev/terms/non-preemptive-priority/ Also known as: nonpreemptive priority scheduling Status: shipping Record updated: 2026-11-29 Non-preemptive priority selects higher-priority pending work at scheduling boundaries without interrupting the operation already in progress. Note: A two-class node with strict aggregate service beta and maximum lower-priority packet work L gives the high class beta_H(t)=max(0,beta(t)-L). For beta(t)=R*max(0,t-T), the added latency is L/R. [netcal-priority] In a hypothetical serial server delivering 1 MiB/ms, an 8 MiB low-priority command starts at time zero. A 1 MiB high-priority request arrives at 0.5 ms: it waits 7.5 ms and completes 8.5 ms after arrival. Four 2 MiB commands with priority reconsidered between them reduce those times to 1.5 and 2.5 ms. Splitting bytes without exposing a scheduling boundary does not produce that result. [priority-example] Seek, rotation and internal work can dominate payload transfer. Semi-preemptible I/O exposes command boundaries, and actual interruption can add positioning cost. [semi-preemptible-fast03] Linux I/O-priority support depends on the scheduler; its realtime class can starve other work. Selecting that class alone supplies neither a service curve nor an end-to-end deadline. [linux-ioprio] Sources and caveats: - The service bound is a published theorem for a specified node, not an empirical SSD guarantee. The trace is exact invented arithmetic, not a reproduction of FAST 2003. - FAST 2003 studied a historical SCSI disk prototype. Device parallelism, firmware queues and retries require their own work and scheduling contracts. Related terms: - [pcm-write-cancellation](https://hesela.dev/terms/pcm-write-cancellation/) - [pcm-write-pausing](https://hesela.dev/terms/pcm-write-pausing/) - [strict-service-curve](https://hesela.dev/terms/strict-service-curve/) - [rate-latency-service-curve](https://hesela.dev/terms/rate-latency-service-curve/) - [semi-preemptible-io](https://hesela.dev/terms/semi-preemptible-io/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) Citations: - [netcal-priority] Le Boudec and Thiran. Network Calculus, 2022 online edition, Corollary 6.2.1, p. 176. https://leboudec.github.io/netcal/latex/netCalBook.pdf (accessed 2026-11-20) - [semi-preemptible-fast03] Dimitrijevic, Rangaswami and Chang. Design and Implementation of Semi-preemptible IO. FAST 2003, sections 1, 3 and 4. https://www.usenix.org/legacy/events/fast03/tech/full_papers/dimitrijevic/dimitrijevic.pdf (accessed 2026-11-20) - [linux-ioprio] Linux 6.16 documentation: Block I/O priorities, introduction and scheduling classes. https://docs.kernel.org/6.16/block/ioprio.html (accessed 2026-11-20) - [priority-example] Hesela: exact hypothetical non-preemptive priority traces and bounds. https://hesela.dev/research/nonpreemptive-priority/results.json (accessed 2026-11-20) ### NOR flash URL: https://hesela.dev/terms/nor-flash/ Technology reference: https://hesela.com/tech/nor-flash/ Also known as: NOR Status: shipping Record updated: 2026-10-23 A non-volatile flash memory architecture with cells connected in parallel, supporting random-address reads and commonly used to store executable code and firmware. Note: The parallel cell arrangement is not a requirement for a parallel external bus: NOR devices also use serial interfaces. Random-address reads make NOR useful for firmware, but the memory interface and controller determine how code can be fetched. [c1] [c2] Byte-addressable reads do not mean arbitrary byte overwrites. Programming changes erased bits from 1 to 0; restoring 0 to 1 requires erasing the containing sector or the chip. Program units can be words or page buffers, and repeated partial programming can violate device-specific ECC rules. Consult the part's programming limits instead of treating NOR as RAM. [c2] A capable controller can expose serial flash for memory-mapped reads and execute-in-place. Program and erase may require separate command sequences or an indirect access mode. Instruction fetches can also conflict with an operation that makes the array busy; supported suspend operations permit access only outside the suspended region under the device's rules. [c3] [c4] In Infineon's S29GL-T FAQ example, clearing only data bits is not enough, since new hidden parity can require a 0-to-1 transition and disable automatic ECC on a second program. Do not transfer that example to FL-S/FL-L or other families; the selected part's programming specification applies. [c2] Code executed in place must stay contiguous, uncompressed and unmoved, so its erase units are excluded from wear-leveling and the flash is split into code and data areas. [galtoledo] The Linux MTD layer models NOR as bit-writeable with a 1-byte minimum write unit, against one page for NAND. [mtd] Limitations: - An interrupted program or erase operation can leave the target region unreliable, so firmware updates need a recovery strategy. (sources: [c2]) Sources and caveats: - Source review, not a benchmark. The FL-S/FL-L repeated-program rules and S29GL-T parity-transition example are family-specific, not universal NOR behavior. - Citation c4 uses S25FL512S as its worked suspend/resume example. Supported suspension, readable regions and state transitions remain device-specific. - Citation c3 documents STM32 QUADSPI. Its separate memory-mapped read and indirect program/erase modes are an example, not a universal controller specification. - The 2004 survey describes devices of its period; the kernel constants (master branch on the access date) describe software modelling, not physical limits. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [solid-state-media](https://hesela.dev/terms/solid-state-media/) - [execute-in-place](https://hesela.dev/terms/execute-in-place/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) - [eeprom](https://hesela.dev/terms/eeprom/) - [eeprom-emulation](https://hesela.dev/terms/eeprom-emulation/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) Citations: - [c1] KIOXIA. Why Replace Embedded NOR Flash Memory with Serial NAND? March 2021, revision 3.1, pages 1-2. Cell arrangements and external interfaces. https://americas.kioxia.com/content/dam/kioxia/en-us/business/memory/slc-nand/asset/KIOXIA_NOR_to_NAND_Tech_Brief.pdf (accessed 2026-10-18) - [c2] Infineon. NOR Flash: FAQs. Questions 2, 4, 24-25, 31, 35, 38-39 and 57. Programming units, family-specific ECC and interruption risks. https://community.infineon.com/t5/Knowledge-Base-Articles/NOR-Flash-FAQs/ta-p/255345 (accessed 2026-10-18) - [c3] STMicroelectronics. AN4760, Introduction to Quad-SPI interface for STM32 MCUs and MPUs, revision 5. Sections 3.3.1-3.3.3 and 6.2. https://www.st.com/resource/en/application_note/an4760-introduction-to-quadspi-interface-for-stm32-mcus-and-mpus-stmicroelectronics.pdf (accessed 2026-10-18) - [c4] Infineon. Program/Erase Suspend and Resume Operations in Serial NOR Flash. S25FL512S example and allowed read regions. https://community.infineon.com/t5/Knowledge-Base-Articles/Implementation-of-Program-Erase-Suspend-and-Resume-Operations-in-Serial-NOR/ta-p/256736 (accessed 2026-10-18) - [galtoledo] Gal and Toledo. Algorithms and Data Structures for Flash Memories. Tel-Aviv University survey, 24 July 2004. https://www.cs.tau.ac.il/~stoledo/Pubs/survey.pdf (accessed 2026-10-16) - [mtd] Linux MTD layer: include/uapi/mtd/mtd-abi.h, include/linux/mtd/mtd.h and drivers/mtd/mtdcore.c. https://github.com/torvalds/linux/blob/master/include/linux/mtd/mtd.h (accessed 2026-10-16) ### Normalized magnitude of data loss (NOMDL) URL: https://hesela.dev/terms/normalized-magnitude-data-loss/ Related analysis: https://hesela.com/analyses/s3-durability-eleven-nines-derivation/ Also known as: NOMDL Status: research Record updated: 2026-11-21 Normalized magnitude of data loss (NOMDL) is the expected number of bytes lost per usable terabyte within a stated mission time. Note: Greenan, Plank and Wylie proposed NOMDL in 2010 to report loss magnitude and capacity together. The underlying MDL_t is the expected number of bytes lost within mission time t, and NOMDL_t divides it by the usable capacity of the system. Without that normalization, a 24-disk RAID6 array built from the same 1 TB drives as an 8-disk RAID4 array shows a higher MDL_t while offering more than 3 times the usable capacity. [greenan-hotstorage10-pdf] The authors recommend Monte Carlo simulation over Markov models. Each iteration draws device failure and repair times from a chosen distribution until the mission time, records whether data loss occurred and how many bytes were lost, and the results are averaged over all iterations. For an 8-disk RAID4 array with periodic scrubbing over 10 years, the paper reports 14.41 bytes lost per usable TB, next to an MTTDL of 37.60 years for the same system. [greenan-hotstorage10-pdf] Later simulators reuse the name with a different unit. A discrete-event simulator for erasure-coded data centers computes NOMDL in each iteration as unrecoverable chunks divided by all stored chunks, a dimensionless fraction, and uses it to compare Reed-Solomon and locally repairable codes over a 10-year mission time. The time horizon, the unit and the failure model must accompany every reported value. [simedc] For a fixed dataset of U bytes and mission, with L unique user bytes lost, E(L)/U = P(L > 0) x E(L | L > 0)/U when loss has nonzero probability. Hesela's invented example adds small losses: the mean among loss cases falls while any-loss probability and expected lost bytes rise. This is arithmetic, not field data or a recurrent annual-loss model. [hesela-loss-crossover] Entity-count and whole-entity byte loss differ. [iliadis24-entities] Advantages: - Dividing by usable capacity lets systems of different scale and redundancy scheme be compared on one loss scale. (sources: [greenan-hotstorage10-pdf]) Limitations: - NOMDL does not show how likely any loss is, which the same simulation reports separately as reliability R(t). (sources: [greenan-hotstorage10-pdf]) - Normalization does not validate the failure and repair distributions used as simulation inputs. (sources: [greenan-hotstorage10-pdf]) - Charging the full size of an unusable entity is not a count of its irrecoverable bytes; EAFEL and EAFEDL use annual metrics, not NOMDL's mission horizon. (sources: [iliadis24-entities]) Sources and caveats: - greenan-hotstorage10-pdf is the HotStorage 2010 paper, read in sections 5.1 to 5.3 and Table 1 for the definition, the simulation method and the sample values. - simedc is the author copy of the SimEDC journal paper, read in sections 3.2 to 3.4 and the evaluation setup for its per-iteration NOMDL computation and mission time. - Sample values are quoted from the papers and were not recomputed. - Added 2026-11-14: deterministic derivation and synthetic mission example checked against Iliadis CTRQ 2019 equations 15-19 and Greenan et al. HotStorage 2010 section 5; linked results include code, exact-enumeration tests and source hashes. - No hardware experiment, author-confirmed erratum or independent peer review is claimed. - Added 2026-11-21: primary 2024 paper sections III-IV inspected; exact finite-grid and whole-entity denominator controls are mathematical examples, not hardware observations, reliability-curve replication or an author-confirmed correction. - Hesela's constructed two-object control (1 and 999 bytes) yields the same 1/2 entity fraction but whole-object byte fractions 1/1000 and 999/1000. No probabilities or time interval are assigned; unique IDs are counted once. [hesela-shard-alignment] Related terms: - [mean-time-to-data-loss](https://hesela.dev/terms/mean-time-to-data-loss/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [failure-burst](https://hesela.dev/terms/failure-burst/) Citations: - [greenan-hotstorage10-pdf] Greenan, Plank and Wylie. Mean time to meaningless: MTTDL, Markov models, and storage system reliability. USENIX HotStorage 2010, section 5. https://www.usenix.org/legacy/event/hotstorage10/tech/full_papers/Greenan.pdf (accessed 2026-10-23) - [hesela-durability] Eleven nines: what a durability model does not prove. https://hesela.com/analyses/s3-durability-eleven-nines-derivation/ (accessed 2026-10-15) - [simedc] Zhang, Han and Lee. SimEDC: A Simulator for the Reliability Analysis of Erasure-Coded Data Centers. IEEE TPDS, author copy, sections 3.2-3.4. https://www.cse.cuhk.edu.hk/~pclee/www/pubs/tpds19simedc.pdf (accessed 2026-10-23) - [hesela-loss-crossover] Hesela: RAID loss probability and incident severity; source audit and reproducible finite calculation. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#loss-crossover-heading (accessed 2026-11-14) - [hesela-loss-crossover-data] Hesela: exact rational inputs, generated probabilities and synthetic mission outcomes. https://hesela.dev/research/raid-loss-crossover/results.json (accessed 2026-11-14) - [iliadis24-entities] Ilias Iliadis. Relations Between Entity Sizes and Error-Correction Coding Codewords and Effective Data Loss. IJANS 17(3-4), 2024, pp. 69-94, sections III-IV. https://personales.upv.es/thinkmind/dl/journals/netser/netser_v17_n34_2024/netser_v17_n34_2024_4.pdf (accessed 2026-11-21) - [hesela-shard-alignment] Hesela: exact shard-boundary and entity-loss denominator controls. https://hesela.dev/research/shard-alignment/results.json (accessed 2026-11-21) ### NOVA-Fortis URL: https://hesela.dev/terms/nova-fortis/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: NOVA Fortis Status: research Record updated: 2026-11-14 NOVA-Fortis is a research persistent-memory file system extending NOVA with snapshots and corruption protection. Note: Snapshot creation delays write faults on protected DAX pages until all mapped pages are read-only; application recovery may still be needed. [fortis-paper] This is distinct from the original NOVA atomic-mmap interface. [nova-paper] Limitations: - A local snapshot is not an independent backup; writable DAX pages remain an integrity-protection exception. (sources: [fortis-paper]) Sources and caveats: - Historical paper synthesis; no prototype execution, hardware fault injection or benchmark reproduction. Related terms: - [nova](https://hesela.dev/terms/nova/) - [dax](https://hesela.dev/terms/dax/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [snapshot](https://hesela.dev/terms/snapshot/) Citations: - [fortis-paper] Xu et al. NOVA-Fortis: A Fault-Tolerant Non-Volatile Main Memory File System. SOSP 2017, sections 3.1-3.4 and 4.3. DOI: 10.1145/3132747.3132761. https://cseweb.ucsd.edu/~swanson/papers/SOSP2017-NOVAFortis.pdf (accessed 2026-11-14) - [nova-paper] Jian Xu and Steven Swanson. NOVA: A Log-structured File System for Hybrid Volatile/Non-volatile Main Memories. FAST 2016, section 4.5. https://cseweb.ucsd.edu/~swanson/papers/FAST2016NOVA.pdf (accessed 2026-11-14) - [hesela-pmem] Hesela: snapshot capture ordering, with an exhaustive teaching model. https://hesela.com/analyses/pmem-persistence-domains-dax/#fortis-snapshots (accessed 2026-11-14) ### NOVA file system URL: https://hesela.dev/terms/nova/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: NOVA, NOn-Volatile memory Accelerated file system Status: research Record updated: 2026-11-14 NOVA is a research file system for hybrid DRAM and nonvolatile main memory that maintains a separate persistent log per inode. Note: The FAST 2016 design keeps file data outside per-inode logs and reconstructs DRAM indexes from persistent metadata. Multi-inode operations use lightweight journaling. Its atomic-mmap maps replica pages and commits them through msync; it is not DAX-mmap. [nova-paper] The later NOVA-Fortis design adds corruption protection but exempts read/write DAX-mapped pages from its always-current checksum/parity guarantee. [fortis-paper] Limitations: - These are historical research designs, not guarantees for every persistent-memory filesystem or current Linux build. (sources: [nova-paper], [fortis-paper]) Sources and caveats: - Primary-source comparison; no prototype execution, power-loss experiment or benchmark replication. See FAST 2016 section 4.5 and SOSP 2017 section 4.3 for the distinct mapping contracts. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [dax](https://hesela.dev/terms/dax/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [pangolin](https://hesela.dev/terms/pangolin/) - [nova-fortis](https://hesela.dev/terms/nova-fortis/) - [byvfs](https://hesela.dev/terms/byvfs/) Citations: - [nova-paper] Jian Xu and Steven Swanson. NOVA: A Log-structured File System for Hybrid Volatile/Non-volatile Main Memories. FAST 2016, pp. 323-338, sections 3 and 4.5-4.7. https://cseweb.ucsd.edu/~swanson/papers/FAST2016NOVA.pdf (accessed 2026-11-13) - [fortis-paper] Jian Xu, Lu Zhang et al. NOVA-Fortis: A Fault-Tolerant Non-Volatile Main Memory File System. SOSP 2017, sections 1 and 4.2-4.3. DOI: 10.1145/3132747.3132761. https://cseweb.ucsd.edu/~swanson/papers/SOSP2017-NOVAFortis.pdf (accessed 2026-11-13) - [hesela-pmem] Hesela: NOVA recovery and mapped-data protection. https://hesela.com/analyses/pmem-persistence-domains-dax/#nova (accessed 2026-11-13) ### NoveLSM URL: https://hesela.dev/terms/novelsm/ Status: research Record updated: 2026-11-16 NoveLSM is a research LSM key-value store that combines a DRAM memtable with a mutable, persistent skip list in byte-addressable nonvolatile memory. Note: Write path: The persistent memtable accepts direct updates while background compaction proceeds. Its inserts avoid a separate log; DRAM updates still require logging. Recovery remaps the skip list and orders its versions with DRAM logs. [paper] Read path: Searches can run across levels concurrently, but a lower-level match cannot be returned before higher levels have finished and ruled out a newer value. First completion is not necessarily the current value. [paper] Evaluation: The paper emulated NVM using a NUMA memory socket, throttled bandwidth and injected write delay. Its default model used 100 ns reads, 500 ns writes and 5 GB/s bandwidth. These are experimental settings, not measured specifications of a persistent-memory product. [paper] Artifact: At revision 9ec07528, run_restart.sh waits five seconds, kills db_bench with SIGKILL and later removes the database LOCK file before reopening it. This exercises process restart, not power-loss persistence. The README labels the implementation beta and describes changes to transactions and read threading. [restart] [readme] Sources and caveats: - The full ATC 2018 paper and pinned author artifact were inspected. No NoveLSM execution, performance replication or crash-consistency proof is claimed. [paper] [restart] [readme] Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [sstable](https://hesela.dev/terms/sstable/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [matrixkv](https://hesela.dev/terms/matrixkv/) Citations: - [paper] Kannan et al. Redesigning LSMs for Nonvolatile Memory with NoveLSM. USENIX ATC 2018, pp. 993-1005, sections 2.4, 4 and 5. https://research.cs.wisc.edu/adsl/Publications/joint/atc-novelsm18.pdf (accessed 2026-11-14) - [restart] NoveLSM 9ec07528: process termination, restart and manual lock removal in run_restart.sh. https://github.com/sudarsunkannan/lsm_nvm/blob/9ec0752804fa7c5679d82a164c8fe47e8c594819/scripts/run_restart.sh (accessed 2026-11-14) - [readme] NoveLSM 9ec07528: beta implementation, transaction changes and read-thread configuration. https://github.com/sudarsunkannan/lsm_nvm/blob/9ec0752804fa7c5679d82a164c8fe47e8c594819/README.md (accessed 2026-11-14) ### Noise-predictive maximum-likelihood detection URL: https://hesela.dev/terms/npml-detection/ Related article: https://hesela.com/tech/prml-read-channel/ Also known as: NPML Status: unknown Record updated: 2026-10-20 Noise-predictive maximum-likelihood (NPML) detection incorporates noise prediction or whitening into sequence-detector branch metrics for a partial-response recording channel. Note: Noise prediction or whitening contributes to the sequence-detector branch metric. The ICC 1996 work discusses detector state count, decision feedback and Lorentzian-channel simulations; it also permits finite-delay tree search rather than only Viterbi search [ibm1996]. NPML is therefore not one fixed partial-response polynomial, a storage medium or an error-correcting code. More elaborate noise treatment can change the likelihood model and receiver complexity; the name alone does not specify either [ibm1996]. The 2001 comparison separates bit, byte and sector error rates. Improvements before Reed-Solomon correction did not give the same sector-level separation between two post-processing schemes [ibm2001]. Both sources here were reviewed as abstracts, not reproduced hardware or simulations. Advantages: - Models noise structure within sequence detection rather than treating noise prediction as a separate storage technology. (sources: [ibm1996]) Limitations: - Published simulated gains depend on the channel, detector and coding configuration; current product support is not established by these historical papers. (sources: [ibm1996], [ibm2001]) Related terms: - [prml-encoding](https://hesela.dev/terms/prml-encoding/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [bit-error-rate](https://hesela.dev/terms/bit-error-rate/) - [partial-response-target](https://hesela.dev/terms/partial-response-target/) - [intersymbol-interference](https://hesela.dev/terms/intersymbol-interference/) Citations: - [ibm1996] E. Eleftheriou and W. Hirt, NPML detection for the magnetic recording channel (ICC 1996), IBM Research abstract. https://research.ibm.com/publications/noise-predictive-maximum-likelihood-npml-detection-for-the-magnetic-recording-channel (accessed 2026-10-20) - [ibm2001] Cideciyan et al., Noise predictive maximum likelihood detection combined with parity-based post-processing (2001), IBM Research abstract. https://research.ibm.com/publications/noise-predictive-maximum-likelihood-detection-combined-with-parity-based-post-processing (accessed 2026-10-11) ### NumPy NPY format URL: https://hesela.dev/terms/npy/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: .npy, NPY Status: shipping Record updated: 2026-11-06 NPY is NumPy's binary format for storing one array with a header describing its data type, shape and storage order. Note: The numeric payload is interpreted using the header; a digest of payload bytes alone does not bind the array's shape, byte order or coordinate assignment. NPY format versions and NumPy library versions are different identifiers. [npy-format] Additional dtype metadata is removed during serialization by the reviewed NumPy 2.5.4 implementation, with a warning. An application-supplied unit in dtype.metadata is not a preserved NPY field. [numpy-format-source] [numpy-drop-metadata] Successive NPY records can share a file object, so an application must define whether it expects exactly one record or a sequence. [numpy-save] NPY does not guarantee preservation of arbitrary ndarray subclass identity, behavior or extra attributes; the ordinary non-pickled array path reconstructs a regular ndarray. This is a documented limitation, separate from the numeric-array observations. [npy-format] Byte-order inspection: For plain unsigned 16-bit arrays, NumPy scalar extraction uses native byte order and does not retain the array's source order. Inspect the array dtype and payload bytes rather than treating a scalar's dtype as a record of the NPY payload representation. [numpy-byteswap] Limitations: - NPY stores contiguous C- or Fortran-order array data, not an arbitrary in-memory view's strides. [npy-format] - allow_pickle=False governs object-array loading, not end-to-end integrity or intended scientific meaning. [numpy-load] - Preserve application semantics such as units and axis identity in an explicit schema bound to the accepted data. Sources and caveats: - Format/API documentation and NumPy commit a3d0ef1df045b858e68115001fdabc930bb3b68c. - Controlled NumPy 2.5.4 / CPython 3.12.3 observations use synthetic numeric arrays and BytesIO, not physical media, mmap or a corruption-rate sample. - Reproduction: https://hesela.dev/research/npy-interpretation/reproduction.zip Related terms: - [npz](https://hesela.dev/terms/npz/) - [checksum](https://hesela.dev/terms/checksum/) - [file-storage](https://hesela.dev/terms/file-storage/) - [byte-order](https://hesela.dev/terms/byte-order/) - [metadata](https://hesela.dev/terms/metadata/) Citations: - [npy-format] NumPy format documentation: NPY and NPZ layout. https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html (accessed 2026-10-24) - [numpy-load] NumPy load API. https://numpy.org/doc/stable/reference/generated/numpy.load.html (accessed 2026-10-24) - [numpy-save] NumPy save API: successive array records. https://numpy.org/doc/stable/reference/generated/numpy.save.html (accessed 2026-10-24) - [numpy-format-source] NumPy 2.5.4 pinned format implementation. https://github.com/numpy/numpy/blob/a3d0ef1df045b858e68115001fdabc930bb3b68c/numpy/lib/_format_impl.py (accessed 2026-10-24) - [numpy-drop-metadata] NumPy drop_metadata: np.save and np.savez omit additional dtype metadata. https://numpy.org/doc/stable/reference/generated/numpy.lib.format.drop_metadata.html (accessed 2026-10-24) - [numpy-byteswap] NumPy: scalar extraction and byte-swapping. https://numpy.org/doc/stable/user/byteswapping.html (accessed 2026-11-06) ### NumPy NPZ archive URL: https://hesela.dev/terms/npz/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: .npz, NPZ Status: shipping Record updated: 2026-10-24 NPZ is NumPy's ZIP-based container for storing multiple arrays as NPY members. Note: NpzFile loads array members lazily when a caller accesses them. Successful construction or access to one member is not evidence that another member was read and checked. [numpy-npz] [numpy-npz-source] ZIP member checks and array semantics answer different questions. A member containing a changed NPY header can receive a valid new CRC when repackaged; the CRC does not identify the intended shape, units or coordinate mapping. [npy-format] [python-zip] A preservation package needs both an expected inventory and checked bytes. BagIt 1.0 formalizes this distinction, but NPZ is not thereby a BagIt bag. Checksums alone do not authenticate the source. [bagit-inventory] Limitations: - These notes do not certify hostile archives, duplicate names, pickle safety or resource limits. - A trusted expected member inventory and application schema are separate from a successful selected read. Sources and caveats: - Format/API documentation and NumPy commit a3d0ef1df045b858e68115001fdabc930bb3b68c. - Controlled NumPy 2.5.4 / CPython 3.12.3 observations use synthetic numeric arrays and BytesIO, not physical media, mmap or a corruption-rate sample. - Reproduction: https://hesela.dev/research/npy-interpretation/reproduction.zip Related terms: - [npy](https://hesela.dev/terms/npy/) - [zip-archive](https://hesela.dev/terms/zip-archive/) - [archive-member](https://hesela.dev/terms/archive-member/) - [checksum](https://hesela.dev/terms/checksum/) Citations: - [npy-format] NumPy format documentation: NPY and NPZ layout. https://numpy.org/doc/stable/reference/generated/numpy.lib.format.html (accessed 2026-10-24) - [numpy-npz] NumPy NpzFile API. https://numpy.org/doc/stable/reference/generated/numpy.lib.npyio.NpzFile.html (accessed 2026-10-24) - [numpy-npz-source] NumPy 2.5.4 pinned NpzFile implementation. https://github.com/numpy/numpy/blob/a3d0ef1df045b858e68115001fdabc930bb3b68c/numpy/lib/_npyio_impl.py (accessed 2026-10-24) - [bagit-inventory] RFC 8493: BagIt completeness, validity and active-attack limits. https://www.rfc-editor.org/rfc/rfc8493.html (accessed 2026-10-24) - [python-zip] CPython 3.12 zipfile API. https://docs.python.org/3.12/library/zipfile.html (accessed 2026-10-24) ### NTFS update sequence array URL: https://hesela.dev/terms/ntfs-update-sequence-array/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: NTFS fixup array, NTFS multisector transfer protection Status: shipping Record updated: 2026-10-23 An NTFS update sequence array stores a cyclic marker and displaced trailer words used to check protected multisector records before restoring those words. Note: The NTFS v3 contract compares the final two bytes of each 512-byte stride with the array marker before restoration. This is a record-transfer check, not a checksum over every byte. [ntfs-multisector] In Hesela's bounded native-library fixtures, altered interior bytes and saved trailer words were accepted, as were mixed records with equal markers; unequal markers were rejected. These results test one packaged NTFS-3G routine, not Windows or a mounted filesystem. [ntfs-usa-fixtures] For a 1024-byte fixture the tested count field is three 16-bit elements, occupying six bytes. The MULTI_SECTOR_HEADER documentation labels UpdateSequenceArraySize as bytes, while the pinned implementation treats usa_count as an element count; use the explicit layout and tested version when writing a parser. Its pre-write counter wraps from 65534 to 1. Neither a matching nor a newer-looking marker proves record identity or freshness. [ntfs-multisector] [ntfs-mst-source] Do not confuse this record marker with the NTFS USN change journal, which tracks file and directory changes. [ntfs-change-journal] Fixup routines also depend on buffer state. In 24 additional NTFS-3G lifecycle controls, repeated read fixup rejected already-restored bytes; double pre-write protection followed by a successful checked read lost the original trailer payload. Properly paired writer calls preserved it. The post-write restoration helper returns no status and performs no marker validation, so it is not a substitute for checking input. These are deliberate caller-misuse controls, not observed production defects. [ntfs-usa-lifecycle] [ntfs-mst-source] Limitations: - A successful fixup check is not evidence that file contents match a trusted original. - The experiment uses synthetic record headers, not full MFT parsing or a drive-fault workload. Sources and caveats: - One Ubuntu NTFS-3G 1:2022.10.3-1.2ubuntu3.2 library; two exact captures on one host are not independent environments. - No Windows driver, chkdsk, mounted volume or device was exercised. Fixture frequencies are coverage counts, not observed failure probabilities. Related terms: - [ntfs](https://hesela.dev/terms/ntfs/) - [torn-write](https://hesela.dev/terms/torn-write/) - [checksum](https://hesela.dev/terms/checksum/) - [lost-write](https://hesela.dev/terms/lost-write/) Citations: - [ntfs-multisector] Microsoft: MULTI_SECTOR_HEADER, NTFS 3.0/3.1, 512-byte sequence stride. https://learn.microsoft.com/en-us/windows/win32/devnotes/multi-sector-header (accessed 2026-10-23) - [ntfs-mst-source] NTFS-3G mst.c, commit 78414d93613532fd82f3a82aba5d4a1c32898781: validation, restoration and counter wrap. https://github.com/tuxera/ntfs-3g/blob/78414d93613532fd82f3a82aba5d4a1c32898781/libntfs-3g/mst.c (accessed 2026-10-23) - [ntfs-usa-fixtures] Hesela: native NTFS-3G update-sequence fixtures, 36 read cases and five write transitions (2026-10-23). https://hesela.dev/research/ntfs-update-sequence/results.json (accessed 2026-10-23) - [ntfs-change-journal] Microsoft: Change Journals, a separate NTFS change-tracking facility. https://learn.microsoft.com/en-us/windows/win32/fileio/change-journals (accessed 2026-10-23) - [ntfs-usa-lifecycle] Hesela: native NTFS-3G lifecycle controls, 24 sequences and 48 calls per capture (2026-10-23). https://hesela.dev/research/ntfs-update-sequence/lifecycle-results.json (accessed 2026-10-23) ### NTFS URL: https://hesela.dev/terms/ntfs/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: New Technology File System Status: shipping Record updated: 2026-10-28 NTFS is a Windows file system that organizes files through a master file table and uses a recovery log to restore filesystem consistency. Note: Each file has at least one master file table (MFT) entry, including the MFT itself. Attributes and content can reside in MFT records or in storage described by those records. Deleting a file makes its record reusable without shrinking the MFT. [ntfs-mft] The recovery log and checkpoints support consistency after a system failure. Access-control lists govern permissions; quotas and rich metadata support file management. These functions address different requirements from validating file payloads against an independently trusted original. [ntfs-overview] Protected metadata records also use an update sequence array. A successful trailer-marker check is not a checksum of all record bytes: Hesela's native NTFS-3G fixtures accept modified interior data with unchanged markers. This does not describe Windows driver behavior or complete MFT validation. [ntfs-usa-fixtures] The MFT mirror copies a bounded initial set of records, not all later file records. The protocol description names four records; NTFS-3G 2022.10.3 also derives capacity from cluster and record sizes. That implementation-specific capacity is not a current Windows guarantee. [ms-fscc-mirror] [ntfs3g-mirror-geometry] In Hesela's unmounted-image fixtures, a resident-file overwrite changed the MFT but not its mirror. A matching copy cannot validate records it omits or preserve external payloads merely by copying their metadata. This is not a Windows repair test. [ntfs-mirror-observations] [ntfs-mirror-method] The pinned mount-time loop stops at FILE_first_user (16). For a 64-record mirror, it considers records 0 to 15 and each record's reported data size. A whole-mirror byte comparison covers a different range. [ntfs3g-mirror-compare] [ntfs3g-record-boundary] Limitations: - A successful chkdsk scan concerns filesystem checks, not a comparison with a trusted application digest; repair modes can modify the volume. (sources: [ntfs-chkdsk]) Sources and caveats: - Source review of Microsoft documentation, accessed 21 October 2026; no Windows crash or repair experiment was performed. - Native synthetic NTFS-3G 2022.10.3 regular-file fixtures, 28 October 2026; two same-host captures and a separate acceptance replay, not independent environments. Evidence and source scopes accompany the existing filesystem-integrity analysis. - The mount-comparison boundary is a pinned source-code review, not a mounted-volume experiment or a Windows guarantee. Related terms: - [refs](https://hesela.dev/terms/refs/) - [file-storage](https://hesela.dev/terms/file-storage/) - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [exfat](https://hesela.dev/terms/exfat/) - [ntfs-update-sequence-array](https://hesela.dev/terms/ntfs-update-sequence-array/) - [set-file-valid-data](https://hesela.dev/terms/set-file-valid-data/) Citations: - [ntfs-overview] Microsoft Learn: NTFS overview, recovery log and access control. https://learn.microsoft.com/en-us/windows-server/storage/file-server/ntfs-overview (accessed 2026-10-21) - [ntfs-mft] Microsoft Learn: Master File Table (Local File Systems). https://learn.microsoft.com/en-us/windows/win32/fileio/master-file-table (accessed 2026-10-21) - [ntfs-chkdsk] Microsoft Learn: chkdsk, scan and repair scope. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk (accessed 2026-10-21) - [ntfs-usa-fixtures] Hesela: native NTFS-3G update-sequence fixtures, 36 read cases and five write transitions (2026-10-23). https://hesela.dev/research/ntfs-update-sequence/results.json (accessed 2026-10-23) - [ms-fscc-mirror] Microsoft MS-FSCC 5.3: NTFS Reserved File Names, MFT mirror row. https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/b04c3bd0-79dc-4e58-b8ed-74f19fc2ea0a (accessed 2026-10-28) - [ntfs3g-mirror-geometry] NTFS-3G 2022.10.3: mirror capacity from boot geometry, pinned commit. https://github.com/tuxera/ntfs-3g/blob/78414d93613532fd82f3a82aba5d4a1c32898781/libntfs-3g/bootsect.c#L279-L290 (accessed 2026-10-28) - [ntfs-mirror-observations] Hesela: NTFS mirror coverage, eight retained before/after contrasts on one host. https://hesela.dev/research/ntfs-mirror-scope/report.json (accessed 2026-10-28) - [ntfs-mirror-method] Hesela: NTFS mirror-coverage method, source scopes and portable reproduction. https://hesela.dev/research/ntfs-mirror-scope/PUBLICATION.md (accessed 2026-10-28) - [ntfs3g-mirror-compare] NTFS-3G 2022.10.3: bounded mount-time mirror comparison. https://github.com/tuxera/ntfs-3g/blob/78414d93613532fd82f3a82aba5d4a1c32898781/libntfs-3g/volume.c#L946-L995 (accessed 2026-10-28) - [ntfs3g-record-boundary] NTFS-3G 2022.10.3: FILE_first_user boundary, pinned layout definition. https://github.com/tuxera/ntfs-3g/blob/78414d93613532fd82f3a82aba5d4a1c32898781/include/ntfs-3g/layout.h#L230-L231 (accessed 2026-10-28) ### NV-Heaps URL: https://hesela.dev/terms/nv-heaps/ Also known as: Non-volatile Memory Heaps Status: research Record updated: 2026-12-05 NV-Heaps is a persistent-object system combining transactions, managed allocation and checked pointers within independently mapped nonvolatile heaps. Note: Scope: The ASPLOS 2011 design exposes persistent objects through a mapped heap and a root reference. Its safety layer distinguishes object lifetime from retaining bytes. [paper] References: Assignments may refer within one persistent heap or from volatile memory into it. Persistent-to-volatile and cross-heap persistent pointers are rejected using heap identities. Relative addressing supports relocation, not arbitrary cross-heap ownership. [paper] [slides] Collection: Strong references keep objects alive. Cycles require weak links that do not increase reference counts; proxies nullify weak links when their targets die. The implementation keeps mapped heaps open until program exit to avoid dangling volatile references. [paper] Transactions: Object-level undo logs restore interrupted updates. Accessors must be used without unsafe casts; shared volatile state is outside transaction isolation. [paper] Example: Removing the root of a two-object strong cycle leaves both reference counts positive. Making its back edge weak permits collection. The linked executable example separates this graph property from crash recovery. [model] Advantages: - Self-contained heaps can be relocated without rebuilding every internal address. (sources: [slides]) Limitations: - Reference counting does not automatically reclaim strong cycles. (sources: [slides]) - The paper's recovery tests used SIGKILL, while memory-technology performance used emulation; neither establishes physical power-loss behavior. (sources: [paper]) Sources and caveats: - Full ASPLOS 2011 paper reviewed for sections 2.3, 3.4-3.7 and 4-5; author presentation cross-checks the pointer, collection and transaction layers. - This is a historical research design, not a guarantee supplied by generic persistent memory or a current production runtime. - The linked example is an original finite graph model. It does not execute NV-Heaps, emulate its allocator or reproduce crash tests and performance measurements. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [epoch-persistency](https://hesela.dev/terms/epoch-persistency/) - [stasis](https://hesela.dev/terms/stasis/) - [bpfs](https://hesela.dev/terms/bpfs/) - [mnemosyne](https://hesela.dev/terms/mnemosyne/) Citations: - [paper] Coburn et al. NV-Heaps: Making Persistent Objects Fast and Safe with Next-Generation, Non-Volatile Memories. ASPLOS 2011, sections 2-5. https://cseweb.ucsd.edu/~swanson/papers/Asplos2011NVHeaps.pdf (accessed 2026-12-05) - [slides] Joel Coburn. NV-Heaps. SNIA Storage Developer Conference 2013, slides 18-22: relocation, reference counting and transactions. https://www.sniadeveloper.org/sites/default/files/files2/files2/SDC2013/presentations/Revisions/JoelCoburn_NVHeaps_Revision.pdf (accessed 2026-12-05) - [model] Hesela: Persistent pointer boundaries and reference-count cycles. Executable synthetic example and tests. https://hesela.dev/research/nv-heaps/README.md (accessed 2026-12-05) ### NV-Tree URL: https://hesela.dev/terms/nv-tree/ Also known as: NVTree Status: research Record updated: 2026-11-15 NV-Tree is a persistent B+ tree variant that preserves recoverable leaf state while allowing internal routing nodes to be reconstructed after a crash. Note: Publication order: Flush the new entry before advancing and flushing its atomic entry count; readers scan only that published prefix. [nv-tree-paper] Space: Deletes append cancellation entries; updates append cancellation and replacement entries, so deletion can temporarily consume leaf space. [nv-tree-paper] Recovery: Full leaf parents force normal-operation rebuilding. Crash recovery scans leaves; a clean restart can reuse internal nodes after a successful shutdown protocol. These are different recovery paths. [nv-tree-paper] Rebuilding share: Table 2 gives 19,164.135 ms / 692,341.866 ms = 2.77% for 100 million insertions with 512-byte nodes. This contradicts section 4.7's blanket below-1% claim. The denominator is total execution time, not crash-recovery latency. [nv-tree-paper] [rebuild-arithmetic] Comparison: FPTree places inner nodes in DRAM, whereas the original NV-Tree assumes an NVM-only arrangement. The FPTree evaluation also moves its reimplemented NV-Tree's inner nodes into DRAM; its results are not measurements of the unchanged FAST 2015 configuration. [fptree-paper] Limitations: - The FAST 2015 measurements use an NVDIMM server. They do not establish performance on every persistent-memory technology or modern platform. (sources: [nv-tree-paper]) - FPTree's authors identify persistent allocation leaks as a limitation of NV-Tree's design. Recovering tree contents is not, by itself, evidence that every allocation is reclaimed. (sources: [fptree-paper]) Sources and caveats: - Source comparison and arithmetic on published aggregate times, not a native implementation, crash experiment or benchmark reproduction. - Interpretation: evaluate publication order, allocation recovery and restart work separately; a recoverable index is not a complete database durability contract. Related terms: - [fptree](https://hesela.dev/terms/fptree/) - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) Citations: - [nv-tree-paper] Yang, Wei, Chen, Wang, Yong and He. NV-Tree: Reducing Consistency Cost for NVM-based Single Level Systems. FAST 2015, pp. 167-181; sections 3.2 and 4.2. https://www.usenix.org/system/files/conference/fast15/fast15-paper-yang.pdf (accessed 2026-11-15) - [fptree-paper] Oukid et al. FPTree: A Hybrid SCM-DRAM Persistent and Concurrent B-Tree for Storage Class Memory. SIGMOD 2016; secs. 2-4 and 6.1. DOI: 10.1145/2882903.2915251. https://d-nb.info/1266178864/34 (accessed 2026-11-15) - [rebuild-arithmetic] Hesela: executable arithmetic for the FAST 2015 Table 2 rebuilding share, with source coordinates. https://hesela.dev/research/nv-tree-rebuild-share.mjs (accessed 2026-11-15) ### NVDIMM-N URL: https://hesela.dev/terms/nvdimm-n/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Status: limited Record updated: 2026-11-03 NVDIMM-N is a DIMM that works as DRAM and, on power loss, copies its contents to on-module flash using stored energy, restoring them at the next boot. Note: NVDIMM-N exposes DRAM to the host; flash holds its backup image, not additional host-addressable capacity. Backup power may come from a separate module or the host. [c5] An on-module supercapacitor is not a defining requirement: one server design uses a centralized battery. [dell-battery] In SNIA's ADR example, health checks and stored energy permit arming. On power loss the platform drains protected buffers and puts the DIMMs in self-refresh before DRAM is isolated and saved to flash. Firmware restores it on power-up. [c5] The cited server guide reports save times of about one minute for its listed rack and tower models, versus 140 seconds for MX740c and MX840c. With a missing or insufficiently charged battery, it can restore data but keep the module read-only. Lack of readiness for another save does not itself prove that restored data was lost. [dell-battery] Linux can expose the address range as a PMEM block device. [c2] CPU caches may need flushing and draining; a completed store is not a transaction commit. [pmem-persist] A Block Translation Table (BTT) supplies atomic sector updates using indirection and reserved metadata. [btt] The ndctl sector mode disables DAX: BTT sector access and DAX are alternative configurations for the same namespace. [ndctl-mode] Linux NFIT per-module flags include save_fail, restore_fail, flush_fail, not_armed, smart_event, map_fail and smart_notify; they describe different conditions. [c3] Limitations: - Protection for new writes requires a ready backup path; successful restoration into read-only mode is distinct from readiness for the next save. (sources: [c5], [dell-battery]) Sources and caveats: - c4 is a 2021 arXiv preprint on another subject, retained as historical secondary background, not as a current NVDIMM-N capacity or energy-density limit. - c5 is a 2016 SNIA tutorial by module-maker authors; slides 7-16 describe host access, save/restore, ADR and backup-power arrangements. - dell-battery is product documentation, not a Hesela measurement; its timing and read-only behavior apply to the named implementations. - c2, c3 and btt document Linux interfaces. A flag name alone is not a universal diagnosis of which bytes were lost. - pmem-persist and ndctl-mode distinguish persistence completion, sector atomicity and DAX; no NVDIMM hardware experiment or current market survey was performed. Related terms: - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [storage-class-memory](https://hesela.dev/terms/storage-class-memory/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [dax](https://hesela.dev/terms/dax/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [nvram](https://hesela.dev/terms/nvram/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) Citations: - [c1] NVDIMM-N. https://en.wikipedia.org/wiki/NVDIMM (accessed 2026-03-26) - [c2] LIBNVDIMM: Non-Volatile Devices, Linux kernel documentation. https://docs.kernel.org/driver-api/nvdimm/nvdimm.html (accessed 2026-10-30) - [c3] Documentation/ABI/testing/sysfs-bus-nfit, Linux kernel. https://raw.githubusercontent.com/torvalds/linux/master/Documentation/ABI/testing/sysfs-bus-nfit (accessed 2026-11-03) - [c4] Revamping Storage Class Memory With Hardware Automated Memory-Over-Storage Solution. https://arxiv.org/abs/2106.14241 (accessed 2026-10-16) - [c5] NVDIMM-N Cookbook: A Soup-to-Nuts Primer on Using NVDIMM-Ns to Improve Your Storage Performance. https://www.snia.org/sites/default/files/tutorials/FMS2016/Sainio-Martinez_NVDIMM_Cookbook_Tutorial_080816.pdf (accessed 2026-10-30) - [dell-battery] Dell EMC NVDIMM-N Persistent Memory User Guide: Battery; implementation-specific power, save time and read-only restore behavior. https://www.dell.com/support/manuals/en-us/poweredge-r940/nvdimm-n_ug_pub/battery?guid=guid-99d8f612-c316-48ce-a35b-eed2ba32d5d7&lang=en-us (accessed 2026-10-30) - [pmem-persist] PMDK libpmem: pmem_persist, pmem_flush, pmem_drain and pmem_has_auto_flush; persistence is not transactional. https://pmem.io/pmdk/manpages/linux/master/libpmem/pmem_flush.3/ (accessed 2026-10-30) - [btt] Linux kernel documentation. BTT - Block Translation Table, introduction and theory of operation. https://docs.kernel.org/driver-api/nvdimm/btt.html (accessed 2026-10-30) - [ndctl-mode] ndctl-create-namespace(1): sector, fsdax and devdax modes; BTT disables DAX. https://github.com/pmem/ndctl/blob/main/Documentation/ndctl/ndctl-create-namespace.txt (accessed 2026-10-30) ### NVM subsystem URL: https://hesela.dev/terms/nvm-subsystem/ Status: shipping Record updated: 2026-10-22 An NVMe system containing one or more controllers, domains and ports, with zero or more namespaces. Note: The subsystem is broader than an individual controller and need not expose a storage namespace. For example, a Discovery Service contains only Discovery controllers and does not expose namespaces. [base21] Over fabrics, a subsystem presents from one to 64Ki minus 16 controllers, reached through one to 64Ki subsystem ports. Each port has a 16-bit port identifier and is named by the subsystem qualified name together with that identifier. Aggregated physical links count as one port, and once connected each controller is bound to a single port. [base21] Multi-path I/O and namespace sharing both require two or more controllers in the subsystem. Controllers that share a namespace use the same namespace identifier for it, and coordination between hosts that access it concurrently is outside the scope of the specification. [base21] The subsystem qualified name is permanent for the lifetime of the subsystem and is a null-terminated UTF-8 string of at most 223 bytes. An open-source host library reserves a 256-byte field for it and stores the controller identifier in a 16-bit field. [base21] [libnvme-types] Advantages: - Several controllers and ports in one subsystem give a host independent paths to the same shared namespace. (sources: [base21]) Limitations: - The specification does not define how hosts coordinate concurrent access to a shared namespace. (sources: [base21]) Sources and caveats: - base21 was reread on the access date in sections 1.5, 2.2.2, 2.4.1 and 4.7. - libnvme-types is the types header of the open-source host library at tag v1.13, read for the qualified-name length constant and the controller identifier fields. - 64Ki minus 16 controllers, 64Ki ports, the 16-bit port identifier and 223 bytes come from base21. 256 bytes and the 16-bit controller identifier field come from libnvme-types. Related terms: - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme](https://hesela.dev/terms/nvme/) - [nvme-nsid](https://hesela.dev/terms/nvme-nsid/) - [nvme-subsystem-nqn](https://hesela.dev/terms/nvme-subsystem-nqn/) Citations: - [base21] NVM Express Base Specification 2.1 (5 August 2024), sections 1.5, 2.2.2, 2.4.1 and 4.7. Copyright 2008-2024 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.1-2024.08.05-Ratified.pdf (accessed 2026-10-22) - [libnvme-types] libnvme v1.13: NVMe qualified-name length and controller identifier definitions. https://raw.githubusercontent.com/linux-nvme/libnvme/v1.13/src/nvme/types.h (accessed 2026-10-22) ### NVMe Abort URL: https://hesela.dev/terms/nvme-abort/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: NVMe Abort command, NVMe command abort Status: shipping Record updated: 2026-11-07 NVMe Abort is an administrative command that requests cancellation of an earlier command identified by its submission queue and command identifier. Note: Base 2.3 distinguishes immediate and deferred abort. After successful Abort completion, DW0 bit 0 is Immediate Abort Not Performed (IANP): zero reports an immediate abort; one means no immediate abort, with later cancellation still possible. Examine the target completion. The immediate-abort boundary forbids target effects after posting the Abort completion except its completion entry; Hesela interprets this as a forward-looking boundary, not rollback. [nvme-abort-23] If deferred abort occurs, the target completes with Command Abort Requested. That status alone does not distinguish immediate from deferred abort; retain the Abort result and completion context. [nvme-abort-23] Base 2.0d instead requires the aborted target's completion before the Abort completion. Do not transfer that ordering to 2.3. Its Abort Command Limit (ACL) counts concurrent Abort commands, not seconds or retries; raw zero encodes one command. [nvme-abort-20d] Linux v6.12's PCI driver logs the Abort request status, not DW0 or the target status. Consequently, Abort status: 0x0 alone cannot establish target cancellation. The aborting log precedes request allocation and is not proof that an Abort was submitted. This is source inspection, not a hardware experiment. [linux-nvme-abort] Limitations: - Completion of the Abort request alone does not establish the original operation's outcome. (sources: [nvme-abort-23], [linux-nvme-abort]) Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [retry-deduplication](https://hesela.dev/terms/retry-deduplication/) Citations: - [nvme-abort-23] NVM Express Base 2.3 (2025): section 5.2.1, Abort; Figures 146-148. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-11-07) - [nvme-abort-20d] NVM Express Base 2.0d (2024): section 5.1 and Figure 276, Abort and ACL. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0d-2024.01.11-Ratified.pdf (accessed 2026-11-07) - [linux-nvme-abort] Linux v6.12: PCI NVMe abort_endio() and nvme_timeout(). https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/nvme/host/pci.c (accessed 2026-11-07) ### NVMe Asynchronous Event Request URL: https://hesela.dev/terms/nvme-asynchronous-event-request/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: NVMe AER, Asynchronous Event Request Status: shipping Record updated: 2026-11-08 An NVMe Asynchronous Event Request is a host-submitted administrative command that a controller completes when it has an asynchronous event to report. Note: For events cleared through an associated log, successful Get Log Page completion with Retain Asynchronous Event (RAE)=0 clears the event, while RAE=1 retains it. An unsuccessful command retains the event. Immediate events require an outstanding request when they occur; one-shot events clear when reported. Identical reports may be coalesced, so notification counts are not incident counts. [nvme-base23-aer] Notification receipt, complete log acquisition and acknowledgement are separate outcomes. RAE does not guarantee a consistent snapshot: multi-command ANA retrieval checks its change count, while controller-initiated telemetry checks generation and continued availability. [nvme-base23-aer] In libnvme 1.15 and 1.16.2, nvme_get_log_page modifies the supplied length, offset, buffer pointer and RAE fields. Reusing that structure after a failed chunk can successfully retrieve less than the original request. A deliberate full retry reconstructs the original arguments and checks capture completeness. [libnvme-get-log] Limitations: - A notification stream alone does not establish a complete incident history. (sources: [nvme-base23-aer]) Sources and caveats: - The library experiment uses synthetic payloads and a mocked ioctl, not an NVMe controller or io_uring. Its 336 constructed cases are not field incident frequencies. [rae-evidence] Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-error-information-log](https://hesela.dev/terms/nvme-error-information-log/) - [nvme-persistent-event-log](https://hesela.dev/terms/nvme-persistent-event-log/) - [nvme-lba-status-information](https://hesela.dev/terms/nvme-lba-status-information/) Citations: - [nvme-base23-aer] NVM Express Base 2.3: section 5.2.2, Figure 201, sections 5.2.12.1.13 and 8.1.29. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-11-06) - [libnvme-get-log] libnvme v1.16.2: nvme_get_log_page implementation. https://github.com/linux-nvme/libnvme/blob/07d6c32c10fd63fad141cd0120314a055695de32/src/nvme/ioctl.c (accessed 2026-11-06) - [rae-evidence] Hesela: pinned libnvme command traces and byte-coverage results. https://hesela.dev/research/nvme-rae/summary.json (accessed 2026-11-07) ### NVMe atomic boundary URL: https://hesela.dev/terms/nvme-atomic-boundary/ Related analysis: https://hesela.com/analyses/linux-atomic-writes-durability/ Also known as: NABSN, NABSPF, NABO Status: shipping Record updated: 2026-11-10 An NVMe atomic boundary is a namespace address boundary that constrains the scope of namespace atomic-write guarantees. Note: NABSN applies to normal operation, NABSPF to interrupted writes, and NABO gives the starting LBA offset. A zero boundary-size field means no corresponding boundary; nonzero sizes encode logical-block counts minus one. This differs from NAWUN or NAWUPF zero, which inherits a controller unit. [namespace-fields] [nvm-1-3-atomicity] In Single Atomicity Mode, crossing a boundary can remove the larger namespace guarantee. It does not cancel the controller AWUN/AWUPF baseline: those reported sizes must work across boundaries. A size limit alone is therefore insufficient when relying on a namespace-specific guarantee. [nvm-1-3-atomicity] Multiple Atomicity Mode divides a spanning command into separately atomic LBA subranges. It does not make those subranges a single all-or-nothing update. Record the namespace format, unit fields, boundary fields and selected mode together; formatting can change the namespace parameters. [nvm-1-3-atomicity] Limitations: - Separately atomic subranges do not form a single atomic transaction spanning the command. (sources: [nvm-1-3-atomicity]) Sources and caveats: - Source synthesis pinned to NVM Command Set 1.3; no hardware test, crash experiment or performance measurement. Related terms: - [nvme-atomic-write-unit-normal](https://hesela.dev/terms/nvme-atomic-write-unit-normal/) - [nvme-atomic-write-unit-power-fail](https://hesela.dev/terms/nvme-atomic-write-unit-power-fail/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [torn-write](https://hesela.dev/terms/torn-write/) Citations: - [nvm-1-3-atomicity] NVM Express NVM Command Set 1.3 (2026): sections 2.1.4, 3.3.6 and 4.1.3.4; Figures 123 and 126. Copyright 2008-2026 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-11-10) - [namespace-fields] Microsoft: NVME_IDENTIFY_NAMESPACE_DATA, namespace atomic unit and boundary encodings. https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_identify_namespace_data (accessed 2026-11-10) ### NVMe Atomic Write Unit Normal URL: https://hesela.dev/terms/nvme-atomic-write-unit-normal/ Related analysis: https://hesela.com/analyses/linux-atomic-writes-durability/ Also known as: AWUN, NAWUN, Namespace Atomic Write Unit Normal Status: shipping Record updated: 2026-11-10 Atomic Write Unit Normal is an NVMe controller parameter describing the write size covered by its normal-operation atomicity guarantee relative to other reads and writes. Note: AWUN does not describe power-failure protection; AWUPF is the separate interrupted-write parameter. The Write Atomicity Normal feature can disable normal atomicity without disabling power-fail atomicity. [nvm-1-3-atomicity] AWUN stores a logical-block count minus one. When NSFEAT bit 1 reports support for namespace atomic parameters, nonzero NAWUN overrides it; NAWUN zero inherits AWUN rather than describing one block. Without that support bit, use the controller field. Convert to bytes using the selected namespace LBA format. [namespace-fields] [nvm-1-3-atomicity] Namespace guarantees also depend on atomic boundaries and the selected atomicity mode. The controller's AWUN baseline must remain supported across namespace boundaries. These device parameters do not by themselves establish Linux file-level support, persistent completion or multi-command transaction atomicity. [nvm-1-3-atomicity] Limitations: - Normal-operation atomicity is not power-failure protection or a durable application commit. (sources: [nvm-1-3-atomicity]) Sources and caveats: - Source synthesis pinned to NVM Command Set 1.3; no hardware test, crash experiment or performance measurement. Related terms: - [nvme-atomic-write-unit-power-fail](https://hesela.dev/terms/nvme-atomic-write-unit-power-fail/) - [nvme-atomic-boundary](https://hesela.dev/terms/nvme-atomic-boundary/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [torn-write](https://hesela.dev/terms/torn-write/) - [rwf-atomic](https://hesela.dev/terms/rwf-atomic/) Citations: - [nvm-1-3-atomicity] NVM Express NVM Command Set 1.3 (2026): sections 2.1.4, 3.3.6 and 4.1.3.4; Figures 123 and 126. Copyright 2008-2026 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-11-10) - [namespace-fields] Microsoft: NVME_IDENTIFY_NAMESPACE_DATA, namespace atomic unit and boundary encodings. https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_identify_namespace_data (accessed 2026-11-10) ### NVMe Atomic Write Unit Power Fail URL: https://hesela.dev/terms/nvme-atomic-write-unit-power-fail/ Related analysis: https://hesela.com/analyses/linux-atomic-writes-durability/ Also known as: AWUPF, NAWUPF, Namespace Atomic Write Unit Power Fail Status: shipping Record updated: 2026-11-13 Atomic Write Unit Power Fail is an NVMe controller parameter describing the write size covered by its atomicity guarantee when power loss or another error interrupts a write. Note: Within the applicable size, boundary and mode conditions, an interrupted write does not leave a mixture of old and new logical blocks in its atomic range. This is distinct from normal-operation atomicity, described by AWUN. [nvm-1-3-atomicity] AWUPF stores a logical-block count minus one. If namespace atomic parameters are supported, nonzero NAWUPF overrides it; NAWUPF zero inherits AWUPF. Namespace parameters may change when the LBA format changes. [namespace-fields] [nvm-1-3-atomicity] Atomicity alone does not establish persistence of the new value. Section 2.1.4.3.2 describes conditions where acknowledged data still in volatile cache may be lost after power failure. Write FUA requires its data and metadata to reach nonvolatile media before completion, without ordering other commands. [nvm-1-3-atomicity] The controller AWUPF baseline remains valid across namespace boundaries; larger namespace guarantees have additional boundary conditions. Multiple Atomicity Mode protects individual subranges, not the whole spanning command as one transaction. [nvm-1-3-atomicity] Limitations: - An atomic recovery range does not establish durable completion or an atomic multi-command transaction. (sources: [nvm-1-3-atomicity]) Sources and caveats: - Source synthesis pinned to NVM Command Set 1.3; no hardware test, crash experiment or performance measurement. Related terms: - [nvme-atomic-write-unit-normal](https://hesela.dev/terms/nvme-atomic-write-unit-normal/) - [nvme-atomic-boundary](https://hesela.dev/terms/nvme-atomic-boundary/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [torn-write](https://hesela.dev/terms/torn-write/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [kvell](https://hesela.dev/terms/kvell/) - [txflash](https://hesela.dev/terms/txflash/) Citations: - [nvm-1-3-atomicity] NVM Express NVM Command Set 1.3 (2026): sections 2.1.4, 3.3.6 and 4.1.3.4; Figures 123 and 126. Copyright 2008-2026 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-11-10) - [namespace-fields] Microsoft: NVME_IDENTIFY_NAMESPACE_DATA, namespace atomic unit and boundary encodings. https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_identify_namespace_data (accessed 2026-11-10) ### NVMe Autonomous Power State Transition URL: https://hesela.dev/terms/nvme-autonomous-power-state-transition/ Related analysis: https://hesela.com/analyses/ssd-thermal-throttling-failures/ Also known as: APST, NVMe APST Status: shipping Record updated: 2026-10-21 NVMe Autonomous Power State Transition lets a configured controller enter non-operational power states after specified idle intervals. Note: Idle policy: APST uses Feature Identifier 0Ch. The idle threshold ITPT is in milliseconds; zero disables the transition from that state. Its target ITPS must be non-operational. Idle means no outstanding commands in any I/O Submission Queue. [base20e] Host policy: Linux v6.12 filters EXLAT against ps_max_latency_us; explicit-timeout mode also screens ENLAT + EXLAT against separate tolerances. Heuristic mode uses that sum to choose the idle delay. Capabilities and quirks also matter. [linuxapst] Separate controls: PCIe ASPM governs the link, while HCTM responds to temperature. [base20e] The documented StorNVMe Modern Standby policy excludes devices with APST enabled; idle power management is not universally APST. [stornvme] Sources and caveats: - Source review of NVMe Base 2.0e and pinned Linux v6.12 code; neither is claimed to be the latest revision. - Microsoft documentation describes StorNVMe behavior, not every Windows driver or platform. [stornvme] Related terms: - [nvme-non-operational-power-state](https://hesela.dev/terms/nvme-non-operational-power-state/) - [pcie-active-state-power-management](https://hesela.dev/terms/pcie-active-state-power-management/) - [host-controlled-thermal-management](https://hesela.dev/terms/host-controlled-thermal-management/) - [thermal-throttling-ssd](https://hesela.dev/terms/thermal-throttling-ssd/) Citations: - [base20e] NVM Express Base Specification 2.0e: sections 5.27.1.9 and 8.15, including HCTM. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0e-2024.07.29-Ratified.pdf (accessed 2026-10-21) - [linuxapst] Linux v6.12: nvme_configure_apst and power-state latency policy. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/core.c (accessed 2026-10-21) - [stornvme] Microsoft Learn: StorNVMe power management, idle states and PCIe ASPM. https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/power-management-for-storage-hardware-devices-nvme (accessed 2026-10-21) ### NVMe Available Spare URL: https://hesela.dev/terms/nvme-available-spare/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Available Spare, AVSP, avail_spare Status: shipping Record updated: 2026-10-23 NVMe Available Spare is the normalized percentage of spare capacity remaining in the NVM subsystem. Note: The SMART / Health Information log reports Available Spare at byte 3 and its threshold at byte 4, each on a 0-to-100 percentage scale. Critical Warning bit 0 indicates that spare capacity has fallen below the reported threshold; equality alone does not satisfy that condition. [nvme-base-2-3-smart] Both fields are 1 byte wide, and threshold values 101 to 255 are reserved. Falling below the threshold may produce an asynchronous event completion. Endurance Group Critical Warning Summary bit 0 reports the corresponding condition for one or more Endurance Groups. Linux v7.3 names the bytes avail_spare and spare_thresh. [nvme-base-2-3-smart] [linux-nvme-h] Advantages: - The device reports its own threshold, so the host does not have to choose an alarm level for spare capacity. (sources: [nvme-base-2-3-smart]) Limitations: - Available Spare is not filesystem free space or the complement of Percentage Used; the two fields describe different quantities and need not change together. (sources: [microsoft-nvme-health], [nvme-base-2-3-smart]) Sources and caveats: - nvme-base-2-3-smart is the NVM Express Base Specification 2.3, re-read for Figure 210 on pp. 214-215. - linux-nvme-h is the Linux v7.3 nvme.h header, read for the avail_spare and spare_thresh members. - The smart-normalized-value entry links here because both are normalized device-reported scores compared with a device-supplied threshold. Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-percentage-used](https://hesela.dev/terms/nvme-percentage-used/) - [nvme-critical-warning](https://hesela.dev/terms/nvme-critical-warning/) - [nvme-endurance-group](https://hesela.dev/terms/nvme-endurance-group/) - [smart](https://hesela.dev/terms/smart/) Citations: - [microsoft-nvme-health] Microsoft: NVME_HEALTH_INFO_LOG, AvailableSpare and AvailableSpareThreshold members. https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_health_info_log (accessed 2026-10-14) - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, section 5.2.12.1.3, Figure 210, p. 214: Available Spare and threshold. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [linux-nvme-h] Linux v7.3: include/linux/nvme.h, struct nvme_smart_log and Critical Warning masks. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/nvme.h?h=v7.3 (accessed 2026-10-23) ### NVMe backplane URL: https://hesela.dev/terms/nvme-backplane/ Related article: https://hesela.com/tech/sas/ Also known as: PCIe drive backplane, U.2 backplane Status: shipping Record updated: 2026-10-24 An NVMe backplane is the board in a server or enclosure that carries PCI Express lanes, power and sideband signals to drive-bay connectors such as U.2 or EDSFF slots. Note: The U.2 receptacle (SFF-8639) is a six-lane, 68-contact connector whose mechanical interface accommodates single-port SATA, dual-port SATA Express, dual-port SAS, MultiLink SAS or up to four PCIe ports, adding four PCIe lanes and 10 sideband signals to the dual-port SAS set. It is rated 1.5 A continuous per power pin, 500 mA per signal pin and 0 to 55 °C, with 500 mate cycles in the backplane variant against 25 for cables. Link speed is defined in separate documents. [c2] For quad PCIe, the pinout uses +12 V pins P13 to P15 with pre-charge and +3.3 V auxiliary pin E3, while the +5 V pins serve only SATA and SAS. Sideband pins include power disable, presence detect, WAKE#, reference clock, PERST#, SMBus and DualPortEn#, and in dual-port mode each port gets two lanes. [c3] Three 12 V pins at 1.5 A give the connector an upper bound of 54 W. An E1.S slot uses a x4 or x8 card edge, with an initial power limit of 12 W for 5.9 and 8.01 mm devices or 25 W for 9.5, 15 and 25 mm, and up to 79.2 W at the 6.6 A, 12 V connector limit. [c4] Connector fit is not protocol support. SFF-8639 describes a shared mechanical interface, while a working bay also depends on wiring, controller mode, cabling and sideband support. The cited chassis guide distinguishes NVMe-only, SAS/SATA-only and mixed configurations; in its mixed configuration, only selected bays support either NVMe or SAS/SATA. [c2] [dell-xc6520-bays] The cited direct-attached U.2 guidance requires the specified tri-mode cards and backplanes to use one connection mode per card: NVMe or SAS/SATA. It also specifies sideband requirements and a power cycle for changing cable types. These restrictions apply to that documented combination, not every tri-mode controller. [supermicro-u2-modes] Advantages: - A supported mixed backplane offers a choice of drive protocols in designated bays; this flexibility is configuration-specific, not a guarantee for every U.2 bay. (sources: [dell-xc6520-bays]) Limitations: - Mechanical fit alone does not establish protocol compatibility or arbitrary per-bay mixing. Check the exact backplane, controller, cable and sideband combination. (sources: [c2], [supermicro-u2-modes]) Sources and caveats: - c2 to c4 are SNIA SFF documents; c3 is SFF-9639 rev 2.1.1, a published draft with revision marks. - SFF-TA-1002, SFF-TA-1009 and the PCI-SIG U.2 module specification were not consulted. - Connector ratings alone do not establish switch topology, oversubscription, PCIe link speed or a system's hot-plug behavior. - The 54 W figure is a connector bound, not a drive power budget, which the documents do not state. - Arithmetic: 3 x 1.5 A x 12 V = 54 W; 6.6 A x 12 V = 79.2 W. - The Dell and Supermicro examples are vendor configuration limits, not universal restrictions on U.2 or tri-mode hardware. - Dell XC6520 chassis options identify the NVMe-only and selected universal-bay examples. Supermicro FAQ 41383 covers named storage cards and direct-attached U.2 backplanes, not all tri-mode hardware. Related terms: - [u2](https://hesela.dev/terms/u2/) - [edsff](https://hesela.dev/terms/edsff/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [dual-port](https://hesela.dev/terms/dual-port/) - [nvme-mi](https://hesela.dev/terms/nvme-mi/) - [mctp-endpoint-id](https://hesela.dev/terms/mctp-endpoint-id/) - [disk-shelf](https://hesela.dev/terms/disk-shelf/) - [sas](https://hesela.dev/terms/sas/) Citations: - [c1] NVMe backplane. https://en.wikipedia.org/wiki/NVM_Express (accessed 2026-03-26) - [c2] SFF-8639 Rev 2.2: Specification for Multifunction 6X Unshielded Connector. https://members.snia.org/document/dl/26489 (accessed 2026-10-16) - [c3] SFF-9639 Rev 2.1.1: Reference Guide for Multifunction 6X Unshielded Connector Pinouts. https://members.snia.org/document/dl/30110 (accessed 2026-10-16) - [c4] SFF-TA-1006 Rev 2.0: Enterprise and Datacenter 1U Short Device Form Factor (E1.S). https://members.snia.org/document/dl/26956 (accessed 2026-10-16) - [supermicro-u2-modes] Supermicro FAQ 41383 (29 October 2024): direct-attached U.2 backplanes and named tri-mode cards. https://www.supermicro.com/en/support/faqs/faq.php?faq=41383 (accessed 2026-10-24) - [dell-xc6520-bays] Dell XC6520 Installation and Service Manual: chassis options and drive enumerations. https://www.dell.com/support/manuals/en-us/dell-emc-xc6520/xc6520_ism_pub/xc-6520-chassis-options-and-drive-enumerations?guid=guid-1ca19284-acb6-40c2-95fc-fbdf994182a4&lang=en-us (accessed 2026-10-24) ### NVMe base specification URL: https://hesela.dev/terms/nvme-base-spec/ Also known as: NVM Express Base Specification Status: shipping Record updated: 2026-10-22 The NVM Express Base Specification is the transport-independent core NVMe document defining controller properties, admin commands, queues and common I/O command-set aspects. Note: The NVMe interface lets a host reach a non-volatile memory subsystem over PCI Express, Ethernet, InfiniBand, Fibre Channel and other transports, each mapped in a separate transport binding. The base document defines properties and commands for I/O, discovery and administrative controllers, and leaves media management such as wear leveling and caching algorithms out. [c2] It is one of eleven specifications in the 2.4 set, with command sets such as key value, zoned namespaces and computational programs and transports such as PCIe, RDMA and TCP published separately. [c3] [c2] Revision 2.4 (July 2026) allows up to 65,535 I/O queues with up to 65,535 outstanding commands each, 64-byte submission entries, completion entries of at least 16 bytes and one to 64Ki - 16 controllers per subsystem. [c2] The Linux kernel encodes the I/O submission entry size as 2^6 = 64 bytes and the opcodes flush 0x00, write 0x01 and read 0x02, and admin identify 0x06, create submission queue 0x01 and create completion queue 0x05. [c4] Advantages: - A 64-byte command carries everything needed for a 4 KiB read. (sources: [c2]) - Host software can reuse admin and I/O command logic when only the transport binding changes. (sources: [c2]) Limitations: - The document runs to 870 pages and is revised several times a year, so claims need a revision number to be checkable. (sources: [c2], [c3]) - Queue and controller limits are architectural maxima, not what any real device implements. (sources: [c2]) Sources and caveats: - All figures are from the standards body's own text (revision 2.4, released 4 August 2026), not from device measurements. - Older descriptions tie the base document to PCIe only; when the transport split happened was not verified, as older revisions were not read. - Reading and citing the specification is open to non-members; implementing it requires membership terms. - The page count comes from the PDF metadata; the kernel header is a master-branch snapshot on the access date. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-of](https://hesela.dev/terms/nvme-of/) - [sd-express](https://hesela.dev/terms/sd-express/) - [nvm-subsystem](https://hesela.dev/terms/nvm-subsystem/) - [thermal-throttling-ssd](https://hesela.dev/terms/thermal-throttling-ssd/) Citations: - [c1] NVMe base specification. https://en.wikipedia.org/wiki/NVM_Express (accessed 2026-03-26) - [c2] NVM Express Base Specification, Revision 2.4, 31 July 2026. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.4-Ratified-2026.07.31.pdf (accessed 2026-10-16) - [c3] NVM Express. Base Specification landing page and revision list. https://nvmexpress.org/specification/nvm-express-base-specification/ (accessed 2026-10-16) - [c4] Linux kernel source: include/linux/nvme.h. https://github.com/torvalds/linux/blob/master/include/linux/nvme.h (accessed 2026-10-16) ### NVMe Command Identifier URL: https://hesela.dev/terms/nvme-command-identifier/ Related article: https://hesela.com/tech/nvme/ Also known as: NVMe CID Status: shipping Record updated: 2026-10-23 An NVMe Command Identifier is a host-assigned 16-bit value that distinguishes outstanding commands within a submission queue. Note: Scope: CID is queue-scoped, not globally unique. On the memory-based path, SQID and CID together identify the completed command. SQID is reserved in NVMe over Fabrics. [base-2-0d] Lifetime: SPDK v24.09 assigns a tracker CID to a request and, after non-retry completion processing, returns the tracker to its free list for reuse. A CID is therefore not a permanent request identifier. [spdk-24-09] Reuse: Do not infer CID retirement from SQHD; that field reports consumed command slots, not command completion. A driver tracker index also does not make CID the submission-ring slot number. [base-2-0d] [spdk-24-09] Sources and caveats: - Versioned sources explain protocol and implementation behavior; no hardware experiment or performance claim. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-submission-queue](https://hesela.dev/terms/nvme-submission-queue/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [nvme-phase-tag](https://hesela.dev/terms/nvme-phase-tag/) Citations: - [base-2-0d] NVM Express Base 2.0d, sections 3.3.1.2, 3.3.2.1.1-2 and 3.3.3; copyright 2008-2024 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0d-2024.01.11-Ratified.pdf (accessed 2026-10-23) - [spdk-24-09] SPDK v24.09: PCIe tracker completion, retirement and CID assignment. https://github.com/spdk/spdk/blob/v24.09/lib/nvme/nvme_pcie_common.c (accessed 2026-10-23) ### NVMe Command Quiesce Time URL: https://hesela.dev/terms/nvme-command-quiesce-time/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: Command Quiesce Time, CQT Status: shipping Record updated: 2026-11-08 NVMe Command Quiesce Time is an Identify Controller field reporting the expected worst-case time needed to quiesce outstanding commands after communication loss. Note: Base 2.3 defines CQT in Identify Controller bytes 387:386, in one-millisecond units. Zero means that the time is not reported, not that quiescence is instantaneous; a controller requiring no time should report one millisecond. [nvme-keep-alive-23] Communication-loss detection and subsequent command quiescence are separate stages. CQT is not the Keep Alive Timeout, a per-command latency limit or the host's reconnection retry budget. Keep the timer's owner and starting event with any recorded value. [nvme-keep-alive-23] Hesela's interpretation: stopping outstanding processing does not show that earlier effects were undone or that a write became durable. Retain command completion and recovery evidence rather than treating elapsed CQT as a successful write acknowledgment. [nvme-keep-alive-23] Base 2.3 section 9.6.2.1 separates detection from the additional quiescence wait. Its time-based detection paths use 2 * KATT after the last submitted Keep Alive command, or 3 * KATT after the last submitted command for traffic-based operation. These assume transport delay of at most one KATT, the controller's Keep Alive timeout interval. They are not unconditional failover deadlines. [nvme-keep-alive-23] Limitations: - An unreported CQT cannot be interpreted as a zero-duration quiescence guarantee. (sources: [nvme-keep-alive-23]) Related terms: - [nvme-keep-alive](https://hesela.dev/terms/nvme-keep-alive/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [nvme-abort](https://hesela.dev/terms/nvme-abort/) Citations: - [nvme-keep-alive-23] NVM Express Base 2.3 (2025): sections 3.9, 5.2.1.1 and 9.6.2.1; Figures 328 and 416, Keep Alive, KATO and Command Quiesce Time. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-11-08) ### NVMe Command Retry Delay URL: https://hesela.dev/terms/nvme-command-retry-delay/ Related article: https://hesela.com/tech/nvme/ Also known as: NVMe CRD, Command Retry Delay Status: shipping Record updated: 2026-10-23 NVMe Command Retry Delay is a two-bit completion-status selector for retry timing when advanced command retry is enabled and Do Not Retry is clear. Note: Conditions: CRD is reserved if DNR=1 or Host Behavior Support ACRE=0. With DNR=0 and ACRE=1, 00b allows immediate retry; 01b, 10b and 11b select Identify Controller CRDT1, CRDT2 and CRDT3, each in 100 ms units. CRD is a selector, not a duration. [base23-retry] Timing: The host should wait the selected interval, but an earlier retry is not a protocol error. This is not a completion deadline or a recovery guarantee. [base23-retry] Implementation: Linux v6.12 nvme_retry_req indexes the selected CRDT value, multiplies it by 100 and requeues the request with a delay. This versioned function illustrates timing after a retry decision; it does not describe every host's retry policy. [linux-retry] Sources and caveats: - Based on Base 2.3 and a pinned Linux function; no host/device execution, latency measurement or success-rate claim. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [nvme-do-not-retry](https://hesela.dev/terms/nvme-do-not-retry/) - [nvme-error-information-log](https://hesela.dev/terms/nvme-error-information-log/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [retry-budget](https://hesela.dev/terms/retry-budget/) Citations: - [base23-retry] NVM Express Base 2.3, section 4.2.3, Figure 100 and Identify Controller Figure 328: DNR, CRD and CRDT1-3. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [linux-retry] Linux v6.12, nvme_retry_req: CRD selection, 100 ms conversion and requeue. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/core.c#L317-L330 (accessed 2026-10-23) ### NVMe Commands Supported and Effects URL: https://hesela.dev/terms/nvme-commands-supported-effects/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: NVMe Command Effects Log, NVMe log page 05h Status: shipping Record updated: 2026-11-08 NVMe Commands Supported and Effects is log page 05h describing supported commands and their possible effects on subsystem state. Note: Separate Admin and I/O opcode tables prevent confusing identical opcode values from different command sets. The I/O table depends on the selected command set. Entries describe possible effects, not execution history or proof of success. [effects20] CSUPP indicates support. CSUPP=0 requires every other entry field to be zero; it does not describe a harmless supported command. LBCC concerns possible user-data changes; NCC covers one namespace's capabilities; NIC covers namespace count or multiple namespaces' capabilities; CCC covers controller capabilities. These are not observed change counters. [effects23] Command Scope (CSP) is a bitmap. For CSUPP=1, CSP=0 means scope unreported, not absence of an affected entity. Multiple scope bits may be set when scope depends on command parameters. [effects20] CSE recommends submission and execution restrictions. In Base 2.3, a recognized nonzero CSER supplies the relaxed recommendation instead; an unsupported CSER value leaves CSE applicable. CSER=01b recommends waiting for outstanding namespace-affecting Admin commands, then withholding further such commands until completion; this does not exclude all I/O. Base 2.0e reserves the later CSER bits. [effects23] [effects20] Host behavior is implementation-specific. Linux v6.12 masks CSE for I/O commands and for Admin commands with nonzero CSER. When its passthrough path applies CSE, it freezes I/O across namespaces; NCC/NIC trigger a namespace rescan. This is not a universal driver guarantee. [effects-linux] Limitations: - A capability-changing command can require refreshed Identify information; hosts associated with controllers to which the namespace is attached should coordinate their commands. (sources: [effects20]) Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-error-information-log](https://hesela.dev/terms/nvme-error-information-log/) - [nvme-format-nvm](https://hesela.dev/terms/nvme-format-nvm/) - [nvme-base-spec](https://hesela.dev/terms/nvme-base-spec/) Citations: - [effects20] NVM Express Base 2.0e, section 5.16.1.6, Figures 215-216. Copyright 2008-2024 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0e-2024.07.29-Ratified.pdf (accessed 2026-11-08) - [effects23] NVM Express Base 2.3, Figure 214, pp. 221-222. Copyright 2008-2025 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-11-08) - [effects-linux] Linux v6.12, drivers/nvme/host/core.c: nvme_command_effects and nvme_passthru_start/end. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/core.c (accessed 2026-11-08) ### NVMe Compare and Write URL: https://hesela.dev/terms/nvme-compare-and-write/ Also known as: NVMe fused Compare and Write Status: shipping Record updated: 2026-10-21 NVMe Compare and Write is an optional fused operation that conditionally replaces an LBA range when its stored contents match supplied comparison data. Note: SPDK submits the pair with first/second fusion flags, adjacent on one queue and using the same range; submission is not completion. [spdk-fused] Compare success alone cannot establish Write success; inspect both completion records and the applicable size and boundary limits. [nvme-fused-spec] A constructed slot-claim model enumerates the race in separate compare/write steps; it is not a hardware measurement. [hesela-fused] Limitations: - The operation does not by itself fence delayed writes to other addresses or provide an application-wide transaction. (sources: [hesela-fused]) Related terms: - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) - [nvme-reservation](https://hesela.dev/terms/nvme-reservation/) - [conditional-write](https://hesela.dev/terms/conditional-write/) - [linearizability](https://hesela.dev/terms/linearizability/) - [scsi-compare-and-write](https://hesela.dev/terms/scsi-compare-and-write/) Citations: - [nvme-fused-spec] NVM Express 1.3d (2019), sections 4.10 and 6.2.1; Identify Controller ACWU. Copyright 2007-2019 NVM Express, Inc. https://nvmexpress.org/wp-content/uploads/NVM-Express-1_3d-2019.03.20-Ratified.pdf (accessed 2026-10-21) - [spdk-fused] SPDK NVMe Driver: asynchronous I/O, fused operations and queue-pair ownership. https://spdk.io/doc/nvme.html (accessed 2026-10-21) - [hesela-fused] Hesela: NVMe conditional updates and complete constructed schedules. https://hesela.com/analyses/storage-consistency-ordering/#nvme-fused (accessed 2026-10-21) ### NVMe completion queue URL: https://hesela.dev/terms/nvme-completion-queue/ Related article: https://hesela.com/tech/nvme/ Also known as: NVMe CQ, NVMe PCIe completion queue Status: shipping Record updated: 2026-10-23 On the NVMe PCIe path, a completion queue is a memory ring where a controller posts command results for host software. Note: A completion identifies its command by submission-queue ID and command ID. Completion order need not follow submission order. SQHD is a separate slot-consumption report, not a list of completed commands [base]. The phase bit distinguishes the expected traversal of the ring, not successful status. Linux v6.12 checks that bit, applies a DMA read barrier before handling the rest of the entry, and changes its expected phase when the completion head wraps [linux]. A full completion queue prevents further status posting there. The controller may pause associated submission queues until slots are returned, but this condition must not stop unrelated submission queues [base]. Posting a completion entry is separate from notifying the host. An interrupt can prompt processing of several entries; polling can inspect the queue without waiting for that interrupt. Coalescing changes notification frequency, not completion identity [pcie]. Sources and caveats: - The memory-ring description is PCIe-scoped; NVMe over Fabrics uses transport-specific messaging. - Historical specification and pinned implementation references describe mechanisms, not current feature coverage or measured performance. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-submission-queue](https://hesela.dev/terms/nvme-submission-queue/) - [nvme-doorbell](https://hesela.dev/terms/nvme-doorbell/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [interrupt-coalescing](https://hesela.dev/terms/interrupt-coalescing/) - [io-completion-polling](https://hesela.dev/terms/io-completion-polling/) - [nvme-phase-tag](https://hesela.dev/terms/nvme-phase-tag/) - [nvme-command-identifier](https://hesela.dev/terms/nvme-command-identifier/) - [nvme-do-not-retry](https://hesela.dev/terms/nvme-do-not-retry/) - [nvme-command-retry-delay](https://hesela.dev/terms/nvme-command-retry-delay/) Citations: - [base] NVM Express Base 2.0a, sections 2.1-2.2, 3.1.1, 3.3.1.2 and 3.3.3.2; copyright 2007-2021 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVMe-NVM-Express-2.0a-2021.07.26-Ratified.pdf (accessed 2026-10-20) - [linux] Linux v6.12: NVMe PCIe queue submission, completion handling and doorbell-buffer checks. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/pci.c (accessed 2026-10-20) - [pcie] NVM Express PCIe Transport 1.0d, sections 3.2, 3.4.1 and 3.5; copyright 2008-2023 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-PCIe-Transport-Specification-1.0d-2023.12.27-Ratified.pdf (accessed 2026-10-20) ### NVMe Composite Temperature URL: https://hesela.dev/terms/nvme-composite-temperature/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Composite Temperature, NVMe CTEMP Status: shipping Record updated: 2026-10-23 NVMe Composite Temperature is an implementation-specific temperature value in kelvins for the controller and its associated namespaces in the SMART / Health Information log. Note: Base 2.3 Figure 210 places the field at bytes 1-2 and does not require its value to match any physical point in the NVM subsystem. Separate Temperature Sensor 1-8 fields are distinct telemetry. WCTEMP and CCTEMP in Identify Controller specify warning and critical overheating composite thresholds. [nvme-base-2-3-smart] WCTEMP occupies Identify Controller bytes 267:266 and CCTEMP bytes 269:268, and implementations of revision 1.2 or later report non-zero values. A WCTEMP of 0157h, which is 343 K, is recommended, and a non-zero WCTEMP is the default over-temperature threshold for the composite value. [nvme-base-2-3-smart] NVMe-MI 2.1 reports a subsystem composite temperature in degrees Celsius in byte 2 of the NVM Subsystem Health data structure, recalculated at least every 5 s from the hottest controller unless only under-temperature conditions apply. 7Fh means 127 °C or more and 80h means a value older than 5 s. [nvme-mi-2-1-health] Linux v7.3 exposes the field through hwmon as the sensor labelled Composite, converting kelvins to millidegrees Celsius and using CCTEMP as its critical limit. [linux-nvme-hwmon] Advantages: - The value can trigger an asynchronous event, so a host need not poll the log to learn of a threshold crossing. (sources: [nvme-base-2-3-smart]) Limitations: - A monitoring label such as NAND temperature or controller-die temperature requires device-specific evidence; the composite field alone does not establish either interpretation. (sources: [nvme-base-2-3-smart]) Sources and caveats: - nvme-base-2-3-smart is the NVM Express Base Specification 2.3, re-read for Figure 210, Identify Controller Figure 328 on p. 334 and the temperature threshold feature on p. 403. - nvme-mi-2-1-health is the NVMe-MI 2.1 specification, read for the composite temperature byte in Figure 108 on p. 121. - linux-nvme-hwmon is the Linux v7.3 NVMe hwmon driver, read for the Composite sensor and its critical limit. - The nvme-mi entry links here because NVMe-MI reports a Celsius composite temperature derived from this field. Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [thermal-throttling-ssd](https://hesela.dev/terms/thermal-throttling-ssd/) - [host-controlled-thermal-management](https://hesela.dev/terms/host-controlled-thermal-management/) - [nvme-warning-composite-temperature-time](https://hesela.dev/terms/nvme-warning-composite-temperature-time/) - [nvme-critical-composite-temperature-time](https://hesela.dev/terms/nvme-critical-composite-temperature-time/) Citations: - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, Figure 210, pp. 214, 216-218, Figure 328, p. 334, and section 5.2.26.1.3, p. 403. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [nvme-mi-2-1-health] NVM Express Management Interface Specification 2.1, Figure 108, pp. 120-121: NVM Subsystem Health Data Structure. https://nvmexpress.org/wp-content/uploads/NVM-Express-Management-Interface-Specification-Revision-2.1-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [linux-nvme-hwmon] Linux v7.3: drivers/nvme/host/hwmon.c, Composite sensor, critical limit and alarm. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/nvme/host/hwmon.c?h=v7.3 (accessed 2026-10-23) ### NVMe Controller Busy Time URL: https://hesela.dev/terms/nvme-controller-busy-time/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Controller Busy Time, controller_busy_time, NVMe CBT Status: shipping Record updated: 2026-10-26 NVMe Controller Busy Time is the cumulative number of minutes during which the controller has an outstanding I/O command, as defined by the SMART / Health Information log. Note: Base 2.3 Figure 210 places this 128-bit field at bytes 96-111. Busy time runs from an I/O Submission Queue Tail doorbell write while a command remains outstanding until its corresponding completion entry has been posted. Overlapping commands do not create additive elapsed time. [nvme-base-2-3-smart] The value is reported in minutes. The specification states that read and write command counts, data amounts and busy time together allow I/O rate and bandwidth to be calculated. Linux v7.3 stores the field as the 16-byte array ctrl_busy_time in struct nvme_smart_log. [nvme-base-2-3-smart] [linux-nvme-h] Advantages: - Dividing a change in Data Units Written by the change in busy time gives bandwidth over busy periods, excluding idle intervals. (sources: [nvme-base-2-3-smart]) Limitations: - Busy-time-normalized bandwidth is not wall-clock bandwidth, and this coarse cumulative duration is not a per-command latency distribution or an average of individual latencies. (sources: [nvme-base-2-3-smart]) - With minute resolution, a run lasting a few minutes changes the counter by only a few units. (sources: [nvme-base-2-3-smart]) Sources and caveats: - nvme-base-2-3-smart is the NVM Express Base Specification 2.3, re-read for Figure 210 and the performance note on pp. 214 and 216. - linux-nvme-h is the Linux v7.3 nvme.h header, read for the ctrl_busy_time member. - The nvme-data-units-written entry links here because data written and busy time together give busy-period bandwidth. Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-data-units-read](https://hesela.dev/terms/nvme-data-units-read/) - [nvme-host-read-commands](https://hesela.dev/terms/nvme-host-read-commands/) Citations: - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, Figure 210, printed pp. 214 and 216. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [linux-nvme-h] Linux v7.3: include/linux/nvme.h, struct nvme_smart_log and Critical Warning masks. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/nvme.h?h=v7.3 (accessed 2026-10-23) ### NVMe controller shutdown URL: https://hesela.dev/terms/nvme-controller-shutdown/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: NVMe shutdown notification, CC.SHN, CSTS.SHST Status: shipping Record updated: 2026-11-13 NVMe controller shutdown is a host-requested protocol that prepares a controller for power removal and reports progress separately from the initiating notification. Note: The host sets CC.SHN to 01b for normal shutdown or 10b for abrupt shutdown. Abrupt shutdown is still signaled, not an unexpected removal of power. For normal PCIe shutdown of an enabled controller, stop new I/O and allow outstanding commands to complete; delete I/O queues if implemented before notification. Controller-shutdown completion is CSTS.SHST = 10b with CSTS.ST = 0; sending CC.SHN alone is insufficient. Base 2.3 recommends waiting at least the reported RTD3 Entry Latency, or one second if zero; a minimum wait is not proof of completion. [nvme-poweroff] Power scope matters: CAP.CPS can require every controller in a domain or NVM subsystem to be ready before power removal. Controller shutdown is distinct from the separately specified NVM Subsystem Shutdown mechanism. A Controller Level Reset may preserve readiness or reinitialize media; qualifying out-of-band media access can also invalidate readiness. [nvme-poweroff] Transitioning CC.EN from 1 to 0 requests a Controller Reset, not shutdown. Linux v6.12 waits on SHST for shutdown but RDY for reset, and its wait routine reports an error on timeout. A host timeout is not observed controller completion. [linux-poweroff] Limitations: - A completed device protocol does not certify application transaction atomicity or recover writes that never reached the controller. (sources: [nvme-poweroff]) Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-unexpected-power-losses](https://hesela.dev/terms/nvme-unexpected-power-losses/) - [nvme-volatile-write-cache](https://hesela.dev/terms/nvme-volatile-write-cache/) - [nvm-subsystem](https://hesela.dev/terms/nvm-subsystem/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) Citations: - [nvme-poweroff] NVM Express Base 2.3, sections 3.6-3.7, Figures 41, 42 and 85: notification, completion, power scope and reset. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-11-13) - [linux-poweroff] Linux v6.12, drivers/nvme/host/core.c: nvme_disable_ctrl and nvme_wait_ready. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/core.c#L2251-L2299 (accessed 2026-11-13) - [hesela-health] Hesela: NVMe health-log interpretation and controller power-off readiness. https://hesela.com/analyses/nvme-health-log-coverage/#controller-poweroff (accessed 2026-11-13) ### NVMe Copy URL: https://hesela.dev/terms/nvme-copy/ Related analysis: https://hesela.com/analyses/file-clones-deferred-copy-cost/ Also known as: NVMe Simple Copy Status: shipping Record updated: 2026-11-08 NVMe Copy is an optional command that asks a controller to copy specified source data into a contiguous destination logical-block range. Note: The host submits range descriptors instead of moving the copied payload through a host buffer. [nvm12-copy] nvme-cli exposes source ranges, destination address and descriptor format. [nvme-cli-copy] In NVM Command Set 1.2, block-addressed formats 0h/1h stay within one namespace; 2h/3h can name other source namespaces, subject to advertised support, host enablement and format compatibility. MSRC, MSSRL and MCL bound range count, individual length and total length. [nvm12-copy] A failed command can leave destination data changed. Its completion identifies the lowest-numbered unsuccessful range, not total copied bytes; later ranges can also have been copied. A zero result does not prove that the destination remained unchanged. [nvm12-copy] This is not the filesystem-level FICLONE interface. Fast-copy implementations may nevertheless use copy-on-write, so command completion does not prove physically independent allocation. [ficlone] [nvm12-copy] With formats 2h/3h, Fast Copy Only (FCO) can require the fast method for a source range. If it is unavailable, the command fails with Fast Copy Not Possible. For that status, DNR=0 permits retry; DNR=1 advises against retrying that Copy command, while host Read/Write copying remains an alternative. [nvm12-copy] Advantages: - Avoids a host read-then-write payload round trip. (sources: [nvm12-copy]) Limitations: - Copy atomicity still depends on write-unit and boundary rules; support does not promise an unlimited transaction. (sources: [nvm12-copy]) - Fast-copy support does not guarantee that every operation is faster than host copying. (sources: [nvm12-copy]) Sources and caveats: - The NVM 1.2 review covers block-addressed formats 0h-3h, not the byte-addressed format 4h. The edition is pinned, not a latest-version claim. - Source review only; no raw-device command, physical-allocation measurement or performance benchmark was run. Related terms: - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [reflink](https://hesela.dev/terms/reflink/) - [copy-file-range](https://hesela.dev/terms/copy-file-range/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) Citations: - [nvm12-copy] NVM Command Set 1.2: sections 3.3.2 and 4.1.5.1. Copyright 2008-2025 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.2-2025.08.01-Ratified.pdf (accessed 2026-11-08) - [nvme-cli-copy] nvme-cli v2.15: Copy command, source ranges and descriptor format. https://raw.githubusercontent.com/linux-nvme/nvme-cli/v2.15/Documentation/nvme-copy.txt (accessed 2026-11-08) - [ficlone] Linux man-pages: FICLONE and filesystem extent-sharing semantics. https://man7.org/linux/man-pages/man2/FICLONE.2const.html (accessed 2026-11-08) - [hesela-clones] Hesela: Fast file clones and deferred copying costs. https://hesela.com/analyses/file-clones-deferred-copy-cost/ (accessed 2026-11-08) ### NVMe Critical Composite Temperature Time URL: https://hesela.dev/terms/nvme-critical-composite-temperature-time/ Related analysis: https://hesela.com/analyses/ssd-thermal-throttling-failures/ Also known as: CCTT, critical_comp_time Status: shipping Record updated: 2026-10-16 NVMe Critical Composite Temperature Time is a cumulative SMART / Health log duration in minutes of controller operation with Composite Temperature at or above the critical composite-temperature threshold. Note: NVMe Base 2.3 Figure 210 defines the threshold as CCTEMP from Identify Controller; if CCTEMP is zero, this timer is always zero regardless of Composite Temperature. [base23] It is separate from Warning Composite Temperature Time, from HCTM action timers measured in seconds, and from the current Critical Warning temperature bit, which can reflect an over-temperature or under-temperature condition. [base23] Limitations: - The timer is not a shutdown count, a damage measurement or a calibrated failure probability; zero does not prove the drive has never been hot. (sources: [base23]) Related terms: - [nvme-composite-temperature](https://hesela.dev/terms/nvme-composite-temperature/) - [nvme-warning-composite-temperature-time](https://hesela.dev/terms/nvme-warning-composite-temperature-time/) - [host-controlled-thermal-management](https://hesela.dev/terms/host-controlled-thermal-management/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-critical-warning](https://hesela.dev/terms/nvme-critical-warning/) - [thermal-throttling-ssd](https://hesela.dev/terms/thermal-throttling-ssd/) Citations: - [base23] NVM Express Base Specification 2.3, Figure 210, printed pp. 214, 216-217: temperature conditions and timers. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-16) ### NVMe Critical Warning URL: https://hesela.dev/terms/nvme-critical-warning/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Critical Warning, critical_warning, NVMe SMART warning bitmask Status: shipping Record updated: 2026-10-23 NVMe Critical Warning is the SMART / Health Information log bitmask identifying controller warning conditions at the time the log is read. Note: NVMe Base 2.3 defines bits 0 through 6: spare below threshold, temperature threshold condition, degraded reliability, all media read-only, failed volatile-memory backup, PMR read-only or unreliable, and indeterminate personality state. Bit 7 is reserved. Bit 6 covers a failed personality-settings change when the previous personality could not be restored. NVMe 1.4a defined bits 0 through 5 with bits 6 and 7 reserved. [nvme-base-2-3-smart] The temperature bit reports a current over-temperature or under-temperature threshold condition. It is not the cumulative Critical Composite Temperature Time counter and need not imply that CCTEMP was crossed. The bits reflect the state when the Get Log Page command is processed, which may differ from the state at a related asynchronous event. [nvme-base-2-3-smart] Over a management interface, NVMe-MI 2.1 reports the same bits inverted in byte 1 of the NVM Subsystem Health data structure and combines all controllers, so a bit reads 0 when any controller has that warning set. [nvme-mi-2-1-health] Linux v7.3 names masks only for bits 0 through 4 of the 1-byte field, and its hwmon driver derives the temperature alarm from bit 1. [linux-nvme-h] [linux-nvme-hwmon] Advantages: - Bits 7:0 of the Asynchronous Event Configuration feature select, per warning bit, whether a newly set bit sends an asynchronous event notification, so a host need not poll the log. (sources: [nvme-base-2-3-smart]) Limitations: - The mask is a current-state report, not a persistent event history; several flags can coexist, and a clear mask is not a guarantee against future failure. (sources: [nvme-base-2-3-smart], [nvme-1-4a-smart]) - Clearing a bit in the Asynchronous Event Configuration suppresses only the notification, not the warning reported in the log. (sources: [nvme-base-2-3-smart]) Sources and caveats: - nvme-base-2-3-smart is the NVM Express Base Specification 2.3, re-read for Figure 210 on p. 214 and the Asynchronous Event Configuration in Figure 409 on p. 407. - nvme-mi-2-1-health is the NVMe-MI 2.1 specification, read for the inverted SMART Warnings byte in Figure 108 on p. 121. - linux-nvme-h and linux-nvme-hwmon are the Linux v7.3 nvme.h header and NVMe hwmon driver, read for the warning masks and the temperature alarm. - The nvme-unexpected-power-losses entry links here because Critical Warning bit 4 reports a failed volatile-memory backup, which bears on data held across a power loss. Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-available-spare](https://hesela.dev/terms/nvme-available-spare/) - [nvme-media-data-integrity-errors](https://hesela.dev/terms/nvme-media-data-integrity-errors/) - [nvme-critical-composite-temperature-time](https://hesela.dev/terms/nvme-critical-composite-temperature-time/) Citations: - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, Figure 210, p. 214, and Figure 409, p. 407: Critical Warning and its notifications. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [nvme-1-4a-smart] NVM Express 1.4a, Figure 196, p. 122: historical six-bit Critical Warning layout. https://nvmexpress.org/wp-content/uploads/NVM-Express-1_4a-2020.03.09-Ratified.pdf (accessed 2026-10-14) - [nvme-mi-2-1-health] NVM Express Management Interface Specification 2.1, Figure 108, pp. 120-121: NVM Subsystem Health Data Structure. https://nvmexpress.org/wp-content/uploads/NVM-Express-Management-Interface-Specification-Revision-2.1-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [linux-nvme-h] Linux v7.3: include/linux/nvme.h, struct nvme_smart_log and Critical Warning masks. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/nvme.h?h=v7.3 (accessed 2026-10-23) - [linux-nvme-hwmon] Linux v7.3: drivers/nvme/host/hwmon.c, Composite sensor, critical limit and alarm. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/nvme/host/hwmon.c?h=v7.3 (accessed 2026-10-23) ### NVMe Data Units Read URL: https://hesela.dev/terms/nvme-data-units-read/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Data Units Read, DUR, data_units_read Status: shipping Record updated: 2026-10-26 NVMe Data Units Read is the SMART / Health Information log counter of read data attributed to designated I/O commands, excluding metadata and reported in rounded-up 512,000-byte units. Note: Base 2.3 places the 128-bit field at bytes 32-47 of log 02h. For a nonzero value, multiplying by 512000 gives a reporting-bucket upper edge, not an exact byte total; zero means not reported. [nvme-base-2-3-smart] NVM Command Set 1.2 includes Compare, Read and Verify. Verify contributes checked data without transferring that data to the host, so this is not simply host-buffer traffic. [nvm-read-accounting] The pinned smartctl implementation exports data_units_read separately from host_reads under nvme_smart_health_information_log; its root host_reads.units and host_reads.commands also remain distinct. Preserve the original integer precision. [smartctl-read-fields] Fleet-study read counts need a separate measurement mapping. Schroeder et al. used custom PCIe drives and daily user-plus-internal operation counts, including garbage collection, then compared reads and uncorrectable errors within drive-months. Those observations are not identified as this NVMe SMART field. [fast16-read-population] Limitations: - The command population differs from Host Read Commands; their ratio is not generally an average Read-request size or a physical NAND read-amplification measure. (sources: [nvm-read-accounting], [nvme-base-2-3-smart]) Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-host-read-commands](https://hesela.dev/terms/nvme-host-read-commands/) - [nvme-data-units-written](https://hesela.dev/terms/nvme-data-units-written/) - [nvme-controller-busy-time](https://hesela.dev/terms/nvme-controller-busy-time/) Citations: - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, Figure 210, p. 215: read-data and command counters. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-26) - [nvm-read-accounting] NVM Express NVM Command Set 1.2, sections 1.4.2.7-1.4.2.8 and 3.3.5: SMART accounting and Verify. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.2-2025.08.01-Ratified.pdf (accessed 2026-10-26) - [smartctl-read-fields] smartmontools pinned nvmeprint.cpp: distinct data_units_read and host_reads JSON fields. https://github.com/smartmontools/smartmontools/blob/fd31eef5b715c107837ae7d51465334d4d99b5da/src/nvmeprint.cpp#L449-L465 (accessed 2026-10-26) - [fast16-read-population] Schroeder, Lagisetty and Merchant, FAST 2016: Flash Reliability in Production, sections 2.1-2.2 and 5.1. https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-10-26) ### NVMe Data Units Written URL: https://hesela.dev/terms/nvme-data-units-written/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Data Units Written, DUW, data_units_written Status: shipping Record updated: 2026-10-26 NVMe Data Units Written is the SMART / Health Information log counter of host-written data, excluding metadata, in rounded-up groups of 1,000 units of 512 bytes. Note: One reported unit corresponds to a 512000-byte quantum. For nonzero raw value v, multiplying v by 512000 gives the upper edge of the reporting bucket, not an exact byte total. Zero means the amount is not reported. Bytes 48 through 63 hold a 128-bit counter: preserve integer precision, for example with a decimal string or BigInt rather than an unrestricted JavaScript Number. [nvme-base-2-3-smart] Log 09h uses a different quantum; do not reuse this conversion there. [nvme-base-2-3-endurance] For JSON collection, preserve exact integer companions before calculating differences: smartctl --json=v requests KEY_s decimal strings even for currently small values of potentially large fields. The pinned 128-bit serializer can emit a shorter KEY_le array and makes no array assignment for zero; absent companion data is not itself a device reporting status. [smartctl-json-integers] [smartctl-json-emission] A Number-only parse can lose adjacent integer increments; converting that Number to BigInt cannot restore them. A source-aware reviver can instead parse the original numeric token. [json-interoperability] [json-source-reviver] Limitations: - Host writes are not physical NAND writes, so this counter alone cannot measure write amplification; interval differences also retain the rounding uncertainty of the two readings. (sources: [nvme-base-2-3-smart]) Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-percentage-used](https://hesela.dev/terms/nvme-percentage-used/) - [nvme-endurance-group](https://hesela.dev/terms/nvme-endurance-group/) - [nvme-controller-busy-time](https://hesela.dev/terms/nvme-controller-busy-time/) - [nvme-data-units-read](https://hesela.dev/terms/nvme-data-units-read/) Citations: - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, section 5.2.12.1.3, Figure 210, p. 215: Data Units Written. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-14) - [nvme-base-2-3-endurance] NVM Express Base 2.3: section 3.2.3, pp. 81-82; section 5.2.12.1.10, pp. 230-232. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-15) - [smartctl-json-integers] smartmontools pinned manual: --json=v exact integer companions. https://github.com/smartmontools/smartmontools/blob/fd31eef5b715c107837ae7d51465334d4d99b5da/src/smartctl.8.in#L354-L361 (accessed 2026-10-18) - [smartctl-json-emission] smartmontools pinned JSON implementation: set_unsafe_uint128 and compact little-endian arrays. https://github.com/smartmontools/smartmontools/blob/fd31eef5b715c107837ae7d51465334d4d99b5da/lib/json.cpp#L210-L234 (accessed 2026-10-18) - [json-interoperability] RFC 8259, section 6: JSON numbers and integer interoperability. https://www.rfc-editor.org/rfc/rfc8259.html#section-6 (accessed 2026-10-18) - [json-source-reviver] ECMAScript: InternalizeJSONProperty and original source text in reviver context. https://tc39.es/ecma262/multipage/structured-data.html#sec-internalizejsonproperty (accessed 2026-10-18) ### NVMe Device Self-test log URL: https://hesela.dev/terms/nvme-device-self-test-log/ Also known as: NVMe self-test log, NVMe log page 06h Status: shipping Record updated: 2026-10-15 The NVMe Device Self-test log is log page 06h, which reports current operation progress and twenty slots for results of completed or aborted self-test operations. Note: Base 2.3 Figures 215-216 place the newest completed or aborted result first. Result 0h indicates completion without detected error; 6h and 7h indicate completed tests with failed segments, 5h an incomplete fatal or unknown test error, and Fh an empty slot. Abort codes are not passes. Current operation 0h means idle, not success, and the progress percentage is then ignored. Diagnostic NSID, failing-LBA, status-code type and status-code fields require their respective validity bits; Segment Number is meaningful for result 7h. The result NSID identifies a failure location rather than all namespaces tested. [base23-self-test] Retrieve results separately after initiating a test; successful submission alone is insufficient. [nvme-cli-self-test-manual] Limitations: - This is bounded result retention, not a lifetime fault history; invalid diagnostic fields must not be treated as zero observations. (sources: [base23-self-test]) Related terms: - [nvme-device-self-test](https://hesela.dev/terms/nvme-device-self-test/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-error-information-log-entries](https://hesela.dev/terms/nvme-error-information-log-entries/) Citations: - [base23-self-test] NVM Express Base 2.3: sections 5.2.5, 5.2.12.1.7 and 8.1.8; Figures 174-177, 215-216 and 328. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-15) - [nvme-cli-self-test] nvme-cli v2.13: device_self_test and wait_self_test implementation. https://github.com/linux-nvme/nvme-cli/blob/v2.13/nvme.c (accessed 2026-10-15) - [nvme-cli-self-test-manual] nvme-cli v2.13: Device Self-test command, result retrieval and SIGINT behavior. https://github.com/linux-nvme/nvme-cli/blob/v2.13/Documentation/nvme-device-self-test.txt (accessed 2026-10-15) - [hesela-self-test] Hesela: NVMe self-test scope, result validity and diagnostic boundaries. https://hesela.com/analyses/nvme-health-log-coverage/#device-self-test (accessed 2026-10-15) ### NVMe Device Self-test URL: https://hesela.dev/terms/nvme-device-self-test/ Also known as: NVMe DST, NVMe short self-test, NVMe extended self-test Status: shipping Record updated: 2026-10-15 NVMe Device Self-test is an optional controller-executed diagnostic capability with short and extended operations whose namespace scope is selected by the initiating command. Note: Support is advertised by Identify Controller OACS bit 4, not inferred from a readable SMART log. For short and extended operations (codes 1h and 2h), NSID 0 excludes namespaces, a valid active specific NSID includes that namespace, and 0xffffffff includes attached namespaces accessible through the controller at start. Base 2.3 also defines Host-Initiated Refresh (code 3h), which ignores NSID; this record focuses on diagnostic short/extended tests. [base23-self-test] Command acceptance starts an operation; obtain its result from log 06h. nvme-cli v2.13 defaults to all namespaces and its --wait does not evaluate the newest result. The CLI treats omitted code or --self-test-code=0 as a log read, not submission of protocol-reserved code 0h; its status/wait paths inspect progress rather than a diagnostic verdict. [nvme-cli-self-test] Background testing can affect performance. Base 2.3 requires a short operation to abort on a controller-level reset affecting the testing controller but an extended operation to persist and resume. [base23-self-test] Limitations: - Segments are vendor-specific; a completed result without detected error does not certify all application data or future reliability. (sources: [base23-self-test]) Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-device-self-test-log](https://hesela.dev/terms/nvme-device-self-test-log/) Citations: - [base23-self-test] NVM Express Base 2.3: sections 5.2.5, 5.2.12.1.7 and 8.1.8; Figures 174-177, 215-216 and 328. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-15) - [nvme-cli-self-test] nvme-cli v2.13: device_self_test and wait_self_test implementation. https://github.com/linux-nvme/nvme-cli/blob/v2.13/nvme.c (accessed 2026-10-15) - [nvme-cli-self-test-manual] nvme-cli v2.13: Device Self-test command, result retrieval and SIGINT behavior. https://github.com/linux-nvme/nvme-cli/blob/v2.13/Documentation/nvme-device-self-test.txt (accessed 2026-10-15) - [hesela-self-test] Hesela: NVMe self-test scope, result validity and diagnostic boundaries. https://hesela.com/analyses/nvme-health-log-coverage/#device-self-test (accessed 2026-10-15) ### NVMe discovery controller URL: https://hesela.dev/terms/nvme-discovery-controller/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: Discovery Controller (NVMe) Status: shipping Record updated: 2026-10-23 An NVMe discovery controller supplies information for locating NVM subsystems or other discovery services without exposing namespaces or implementing I/O queues. Note: Discovery records describe connection endpoints and can refer to another discovery service. Discovery controllers do not execute namespace I/O. The Discovery log page, identifier 70h, is persistent across power cycles, and each entry occupies 1024 bytes, including a 256-byte subsystem NQN field. The entry subtype distinguishes a referral (01h), an NVM subsystem (02h) and the current discovery service (03h), and hosts need not follow referrals deeper than eight levels. [base] The well-known discovery NQN, nqn.2014-08.org.nvmexpress.discovery, is not the only possible name. The architecture also supports unique Discovery Service NQNs. [base] Discovery retrieves connection information. Path selection belongs to multipath logic, including ANA-state handling, so a discovery result alone does not demonstrate working failover. [cli] [multipath] Advantages: - Referral entries let a host reach further discovery services from a single starting address. (sources: [base]) Limitations: - A query filtered by host can return a subset of entries, so one host's result is not an inventory of all registered subsystem ports unless all-subsystem entries are both supported and requested. (sources: [base]) Sources and caveats: - Controller scope and naming are pinned to Base 2.2. The failover distinction is an architectural inference from the separate discovery and path-selection roles. - base re-read 2026-10-23 for section 5.1.12.3.1 and Figure 295. cli re-read for the discover command and its default RDMA port of 4420. - The nvme-subsystem-nqn entry links here because a discovery service is itself addressed by an NQN, either the well-known one or a unique one. Related terms: - [nvme-of](https://hesela.dev/terms/nvme-of/) - [nvme-tcp](https://hesela.dev/terms/nvme-tcp/) - [nvme-rdma](https://hesela.dev/terms/nvme-rdma/) - [nvm-subsystem](https://hesela.dev/terms/nvm-subsystem/) - [nvme-subsystem-nqn](https://hesela.dev/terms/nvme-subsystem-nqn/) - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) Citations: - [base] NVM Express Base Specification 2.2, sections 3.1.3.3 and 5.1.12.3.1: discovery controllers and the Discovery log page. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.2-2025.03.11-Ratified.pdf (accessed 2026-10-23) - [cli] nvme-cli v2.11: nvme-discover. https://github.com/linux-nvme/nvme-cli/blob/v2.11/Documentation/nvme-discover.txt (accessed 2026-10-23) - [multipath] Linux native NVMe multipath: ANA states and path-selection policies. https://docs.kernel.org/admin-guide/nvme-multipath.html (accessed 2026-10-17) ### NVMe DLFEAT URL: https://hesela.dev/terms/nvme-dlfeat/ Also known as: Deallocate Logical Block Features Status: shipping Record updated: 2026-10-23 NVMe DLFEAT is an Identify Namespace field describing deallocated read values, Write Zeroes deallocation support and protection-information behavior. Note: In NVMe 1.4a, DLFEAT is byte 33 of the Identify Namespace data structure, and bits 7:5 are reserved. Read behavior occupies bits 2:0: 0 is unreported, 1 selects zero bytes and 2 selects FFh bytes, while values 3 to 7 are reserved. [nvme-1-4a] [libnvme-fields] Bit 3 indicates support for the Deallocate bit in Write Zeroes and has the same value for all namespaces in the NVM subsystem. Bit 4 set means the Guard field of deallocated blocks with protection information holds the CRC of the returned data and metadata, and clear means the Guard is FFFFh. Testing the whole byte for nonzero confuses these fields. [nvme-1-4a] [libnvme-fields] In Linux v6.16 the NVMe host driver sets its DEAC namespace feature only when the read behavior value is 1 and bit 3 is set, because the Deallocate bit may act as a no-op when deallocated reads do not return zeroes. [linux-nvme-core] Advantages: - A host can decide from one Identify field whether a deallocating Write Zeroes can stand in for writing zero data. (sources: [linux-nvme-core]) Limitations: - A field declaration is not evidence that a particular LBA was deallocated or that its physical copies were erased. (sources: [nvme-1-4a]) - DLFEAT read behavior 000b does not select one fill pattern: under NVMe 1.4a with DULBE disabled, a deallocated block returns all-00h or all-FFh data, consistently until written. (sources: [nvme-1-4a]) Sources and caveats: - nvme-1-4a is the NVM Express 1.4a specification, read in the Identify Namespace rows for bytes 33 to 37 and Figure 247. - libnvme-fields is libnvme v1.13 src/nvme/types.h, read in the DLFEAT enumeration. - linux-nvme-core is drivers/nvme/host/core.c at tag v6.16, read where the namespace DEAC feature is set. - Byte 33, the bit positions, values 0 to 7 and FFFFh come from nvme-1-4a. The 0x7 mask and bit 3 test come from linux-nvme-core. Related terms: - [deallocated-read-behavior](https://hesela.dev/terms/deallocated-read-behavior/) - [nvme-dulbe](https://hesela.dev/terms/nvme-dulbe/) - [discard](https://hesela.dev/terms/discard/) - [protection-information](https://hesela.dev/terms/protection-information/) - [nvme-format-nvm](https://hesela.dev/terms/nvme-format-nvm/) - [nvme-write-zeroes](https://hesela.dev/terms/nvme-write-zeroes/) Citations: - [libnvme-fields] libnvme v1.13: namespace feature and DLFEAT field definitions. https://raw.githubusercontent.com/linux-nvme/libnvme/v1.13/src/nvme/types.h (accessed 2026-10-22) - [nvme-1-4a] NVM Express 1.4a: Figure 247, Figure 282 and section 6.7.1.1. https://nvmexpress.org/wp-content/uploads/NVM-Express-1_4a-2020.03.09-Ratified.pdf (accessed 2026-10-22) - [hesela-discard] Hesela: interpreting deallocation fields. https://hesela.com/analyses/discard-is-not-zeroing/#nvme-fields (accessed 2026-10-21) - [linux-nvme-core] Linux v6.16 drivers/nvme/host/core.c: DLFEAT check for the DEAC feature. https://github.com/torvalds/linux/blob/v6.16/drivers/nvme/host/core.c (accessed 2026-10-22) ### NVMe Do Not Retry URL: https://hesela.dev/terms/nvme-do-not-retry/ Related article: https://hesela.com/tech/nvme/ Also known as: NVMe DNR, Do Not Retry bit Status: shipping Record updated: 2026-10-23 NVMe Do Not Retry is a completion-status flag indicating that resubmitting the same command to any controller in the NVM subsystem is expected to fail. Note: Meaning: DNR=1 concerns the same command, not a diagnosis that the whole SSD has permanently failed. DNR=0 means a retry may succeed, not that it will. Interpret the flag with Status Code Type and Status Code. [base23-retry] Recovery: The specification recommends DNR=0 when a command is aborted by time-limited error recovery. A clear DNR bit does not require unlimited retries. Command Retry Delay supplies separate timing guidance only when its prerequisites hold. [base23-retry] Host decision: Linux v6.12 nvme_decide_disposition also stops failed requests for a block-layer no-retry condition or an exhausted retry limit. Later branches distinguish authentication and multipath failover from ordinary requeueing. DNR=0 alone does not establish that this host will retry. [linux-disposition] Sources and caveats: - Versioned protocol interpretation, not a device failure diagnosis or hardware experiment. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [nvme-command-retry-delay](https://hesela.dev/terms/nvme-command-retry-delay/) - [nvme-error-information-log](https://hesela.dev/terms/nvme-error-information-log/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [retry-budget](https://hesela.dev/terms/retry-budget/) Citations: - [base23-retry] NVM Express Base 2.3, section 4.2.3, Figure 100 and Identify Controller Figure 328: DNR, CRD and CRDT1-3. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [linux-disposition] Linux v6.12, nvme_decide_disposition: stop, authenticate, fail over or retry. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/core.c#L394-L417 (accessed 2026-10-23) ### NVMe doorbell URL: https://hesela.dev/terms/nvme-doorbell/ Related article: https://hesela.com/tech/nvme/ Also known as: NVMe PCIe doorbell, SQ tail doorbell, CQ head doorbell Status: shipping Record updated: 2026-10-20 An NVMe PCIe doorbell communicates a submission-queue tail or completion-queue head position from host software to the controller. Note: An SQ-tail update announces submitted commands. A CQ-head update returns consumed completion slots for reuse. Either update can cover a batch; it is not a transfer of the command or read/write payload itself [spdk]. Reading a CQ entry alone does not release its slot; the controller needs the updated head [base]. Linux v6.12 writes the tail or head value through distinct PCIe register locations. With doorbell-buffer support configured, its event-index check can avoid a register write. Counting MMIO doorbell writes therefore does not directly count I/O commands [linux]. Sources and caveats: - The memory-ring description is PCIe-scoped; NVMe over Fabrics uses transport-specific messaging. - Historical specification and pinned implementation references describe mechanisms, not current feature coverage or measured performance. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-submission-queue](https://hesela.dev/terms/nvme-submission-queue/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) Citations: - [spdk] SPDK: Submitting I/O to an NVMe Device. https://spdk.io/doc/nvme_spec.html (accessed 2026-10-20) - [linux] Linux v6.12: NVMe PCIe queue submission, completion handling and doorbell-buffer checks. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/pci.c (accessed 2026-10-20) - [base] NVM Express Base 2.0a, section 3.3.1.2; copyright 2007-2021 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVMe-NVM-Express-2.0a-2021.07.26-Ratified.pdf (accessed 2026-10-20) ### NVMe DULBE URL: https://hesela.dev/terms/nvme-dulbe/ Also known as: Deallocated or Unwritten Logical Block Error Enable Status: shipping Record updated: 2026-10-23 NVMe DULBE is the Error Recovery feature bit that enables a namespace's deallocated or unwritten logical-block error. Note: It is bit 16 of Error Recovery, feature 05h. Namespace support is reported separately by NSFEAT bit 2. Support does not establish enablement; an absent current-setting capture leaves policy unknown. [nvme-1-4a] Host software shall enable the error only when the namespace reports support, and the default value of the bit is 0. Bits 15:0 of the same command dword carry a time-limited error recovery value in units of 100 ms. A widely used host library defines the enable bit at shift 16 with a 1-bit mask and the support flag as 1 << 2. [nvme-1-4a] [libnvme-fields] A logical block is deallocated or unwritten if it was never written or was deallocated by Dataset Management, Write Zeroes or Sanitize. With the error enabled, Read, Verify and Compare commands that include such a block fail with status code 87h. Reads and verifies do not change that state, and a write ends it. [nvme-1-4a] With the error disabled, bits 2:0 of DLFEAT describe the data returned: 001b means all bytes 0h, 010b all bytes FFh and 000b either value. Protection information then reads back with an Application Tag of FFFFh and a Reference Tag of FFFFFFFFh, so it is not checked. [nvme-1-4a] Advantages: - When enabled, reads of never-written or deallocated blocks fail instead of returning fill data, so they can be told apart from stored zeros. (sources: [nvme-1-4a]) Limitations: - An error-policy setting does not report which LBAs are allocated and is not a sanitization result. (sources: [nvme-1-4a]) - Legacy software may not handle an error returned for a read of such a block. (sources: [nvme-1-4a]) Sources and caveats: - NVMe 1.4a section 5.21.1.5 and Figure 282; logical policy, not observed device behavior. - nvme-1-4a was reread on the access date in Figure 131, Figure 247, Figure 282 and sections 5.21.1.5 and 6.7.1.1. - libnvme-fields is the types header of the open-source host library at tag v1.13, reread for the error recovery and namespace feature definitions. - Bit 16, 05h, bit 2, 0, bits 15:0, 100 ms, 87h, 001b, 010b, 000b, FFFFh and FFFFFFFFh come from nvme-1-4a. Shift 16, the 1-bit mask and 1 << 2 come from libnvme-fields. Related terms: - [nvme-dlfeat](https://hesela.dev/terms/nvme-dlfeat/) - [deallocated-read-behavior](https://hesela.dev/terms/deallocated-read-behavior/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [discard](https://hesela.dev/terms/discard/) - [nvme-write-zeroes](https://hesela.dev/terms/nvme-write-zeroes/) Citations: - [nvme-1-4a] NVM Express 1.4a: Figures 131, 247 and 282, sections 5.21.1.5 and 6.7.1.1. https://nvmexpress.org/wp-content/uploads/NVM-Express-1_4a-2020.03.09-Ratified.pdf (accessed 2026-10-22) - [libnvme-fields] libnvme v1.13: namespace feature and DLFEAT field definitions. https://raw.githubusercontent.com/linux-nvme/libnvme/v1.13/src/nvme/types.h (accessed 2026-10-22) - [hesela-discard] Hesela: interpreting deallocation fields. https://hesela.com/analyses/discard-is-not-zeroing/#nvme-fields (accessed 2026-10-21) ### NVMe Endurance Group URL: https://hesela.dev/terms/nvme-endurance-group/ Related analysis: https://hesela.com/analyses/ssd-wear-out-failure-signatures/ Also known as: Endurance Group, ENDGID Status: shipping Record updated: 2026-10-21 An NVMe Endurance Group is a scope within which an NVM subsystem manages endurance. Note: Each NVM Set belongs to exactly one Endurance Group. If several sets share ENDGID, the subsystem manages their endurance together. Endurance Groups can also exist without NVM Set support. Group capacity may remain unallocated. [nvme-base-2-3-endurance] ENDGID is a 16-bit identifier unique within an NVM subsystem, not a globally unique device identity. If Endurance Groups are not supported, returned ENDGID fields are zero. Zero is reserved, not a valid group to query. Log 09h selects a group through the Get Log Page Log Specific Identifier and reports information over that group's lifetime. [nvme-base-2-3-endurance] Log 09h Data Units Written excludes internal controller writes; Media Units Written includes them. Both use units of 1000000000 bytes, rounded upward, with zero meaning not reported. SMART 02h Data Units Written instead uses units of 512000 bytes. Preserve the log, field and group before conversion or comparison. [nvme-base-2-3-endurance] A group can cover several namespaces. Summing the same group's counter once per namespace would count the same observation repeatedly. Percentage Used estimates consumed endurance, not failure probability; 100 does not itself declare failure. [nvme-base-2-3-endurance] Rounding also limits differences between readings. Two equal, nonzero log 09h byte counters need not mean no writes: both totals can lie within one billion-byte bin. A one-unit increment is not an exact one-billion-byte transfer. Subtract only within one field, group and continuous lifetime; a zero raw reading means unavailable. These are arithmetic consequences of the field encoding, not measurements of firmware behavior. [nvme-base-2-3-endurance] Limitations: - An Endurance Group is not a failure-independent replica or a namespace synonym. (sources: [nvme-base-2-3-endurance]) Sources and caveats: - Hierarchy and log semantics are pinned to NVMe Base 2.3, not a claim about the latest revision or a measurement of physical isolation. Related terms: - [nvme-data-units-written](https://hesela.dev/terms/nvme-data-units-written/) - [nvme-percentage-used](https://hesela.dev/terms/nvme-percentage-used/) - [nvme-available-spare](https://hesela.dev/terms/nvme-available-spare/) - [nvme-nvm-set](https://hesela.dev/terms/nvme-nvm-set/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) Citations: - [nvme-base-2-3-endurance] NVM Express Base 2.3: section 3.2.3, pp. 81-82; section 5.2.12.1.10, pp. 230-232. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-21) ### NVMe Error Information Log Entries URL: https://hesela.dev/terms/nvme-error-information-log-entries/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Number of Error Information Log Entries, NEILE, num_err_log_entries, ErrorInfoLogEntryCount Status: shipping Record updated: 2026-10-19 NVMe Error Information Log Entries is the SMART / Health Information log counter of Error Information log entries accumulated over the controller's life. Note: The counter at bytes 176 through 191 is separate from Error Information log 01h, which supplies error details. That log can describe failed commands or errors not associated with a particular command. Inspect the reported status and context before treating an increase as a media failure. [nvme-base-2-3-smart] The detail records in log 01h are bounded and should be cleared on a power cycle or Controller Level Reset, while this health-log total spans the controller's life. A nonzero total with no valid detail records is therefore not inherently contradictory. Log 01h also has a separate 64-bit Error Count identifier per entry; it is not this 128-bit counter. [base23-errors] Limitations: - The lifetime total is not the number of records returned by a particular log request and is not interchangeable with Media and Data Integrity Errors. (sources: [microsoft-nvme-health], [libnvme-error-log], [nvme-base-2-3-smart]) Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-unexpected-power-losses](https://hesela.dev/terms/nvme-unexpected-power-losses/) - [nvme-media-data-integrity-errors](https://hesela.dev/terms/nvme-media-data-integrity-errors/) - [nvme-device-self-test-log](https://hesela.dev/terms/nvme-device-self-test-log/) - [nvme-error-information-log](https://hesela.dev/terms/nvme-error-information-log/) - [nvme-persistent-event-log](https://hesela.dev/terms/nvme-persistent-event-log/) Citations: - [microsoft-nvme-health] Microsoft: NVME_HEALTH_INFO_LOG, ErrorInfoLogEntryCount member. https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_health_info_log (accessed 2026-10-14) - [libnvme-error-log] libnvme: nvme_get_log_error, request count and scope of error details. https://github.com/linux-nvme/libnvme/blob/master/doc/rst/ioctl.rst (accessed 2026-10-14) - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, section 5.2.12.1.3, Figure 210, p. 216: Number of Error Information Log Entries. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-14) - [base23-errors] NVM Express Base 2.3, section 5.2.12.1.2, Figure 209 and Identify Controller ELPE: error entries and capacity. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-19) ### NVMe Error Information Log URL: https://hesela.dev/terms/nvme-error-information-log/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: NVMe Error Information, NVMe log page 01h Status: shipping Record updated: 2026-11-08 The NVMe Error Information Log is controller-wide log page 01h containing bounded, newest-first records of command errors and other reported errors. Note: Records are 64 bytes; Identify Controller ELPE is a zero-based capacity. When full, the controller should replace the oldest record and should clear records on power cycle or Controller Level Reset. These are recommendations, not guarantees for every device. [base23-errors] The retained 64-bit Error Count identifies entries and wraps from its maximum to 1; zero marks an invalid entry. It differs from the 128-bit lifetime health-log counter. Neither counts retained records. Status, command, namespace and transport fields establish context; the historically named LBA field carries command-set-specific error data when applicable. [base23-errors] [base23-health] nvme-cli v2.13 defaults to requesting 64 entries; respect controller capacity. Requested entries are not observed errors. [nvme-cli-error-log] A historical smartctl 7.4 monitoring request increased the counter, with a fix confirmed in March 2024. Do not generalize this to current tools or all devices. [smartctl-issue-217] smartctl 7.5 text includes Phase Tag; JSON status_field.value shifts right once and stores phase_tag separately. Raw 0x4004 and 0x4005 become 8194 (0x2002), type 0/code 2. Do not shift normalized JSON again. The tool treats 0xffff as unavailable. [smartctl-status-75] smartd 7.5 makes this increase critical only with a retained new device-related status; non-device-related or missing entries yield an informational message. Missing entries leave their causes unknown, not proven harmless. [smartd-policy-75] Limitations: - Preserve diagnostic details before disruptive recovery when feasible, without delaying safety-critical recovery solely to collect logs. (sources: [base23-errors]) - When set, the completion's More flag indicates additional command status in this log; DNR and CRD concern retry interpretation and timing, not a count of failed media. (sources: [base23-retry]) Related terms: - [nvme-error-information-log-entries](https://hesela.dev/terms/nvme-error-information-log-entries/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-media-data-integrity-errors](https://hesela.dev/terms/nvme-media-data-integrity-errors/) - [nvme-persistent-event-log](https://hesela.dev/terms/nvme-persistent-event-log/) - [nvme-do-not-retry](https://hesela.dev/terms/nvme-do-not-retry/) - [nvme-command-retry-delay](https://hesela.dev/terms/nvme-command-retry-delay/) - [nvme-asynchronous-event-request](https://hesela.dev/terms/nvme-asynchronous-event-request/) - [nvme-commands-supported-effects](https://hesela.dev/terms/nvme-commands-supported-effects/) Citations: - [base23-errors] NVM Express Base 2.3, section 5.2.12.1.2, Figure 209 and Identify Controller ELPE: error entries and capacity. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-19) - [base23-health] NVM Express Base 2.3, Figure 210: lifetime Number of Error Information Log Entries. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-19) - [nvme-cli-error-log] nvme-cli v2.13: error-log request count and output formats. https://github.com/linux-nvme/nvme-cli/blob/v2.13/Documentation/nvme-error-log.txt (accessed 2026-10-19) - [smartctl-status-75] smartmontools 7.5, nvmeprint.cpp: raw status display, phase removal and JSON fields. https://github.com/smartmontools/smartmontools/blob/f276b249fdc84019403491303479485030ac7c80/smartmontools/nvmeprint.cpp#L621-L634 (accessed 2026-10-19) - [smartd-policy-75] smartmontools 7.5, smartd.conf: NVMe error-log severity policy. https://github.com/smartmontools/smartmontools/blob/f276b249fdc84019403491303479485030ac7c80/smartmontools/smartd.conf.5.in#L732-L748 (accessed 2026-10-19) - [smartctl-issue-217] smartmontools issue 217: historical self-test-log request increased error count; reporter confirmed fix in March 2024. https://github.com/smartmontools/smartmontools/issues/217 (accessed 2026-10-19) - [base23-retry] NVM Express Base 2.3, section 4.2.3, Figure 100 and Identify Controller Figure 328: DNR, CRD and CRDT1-3. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-23) ### NVMe extended LBA URL: https://hesela.dev/terms/nvme-extended-lba/ Related analysis: https://hesela.com/analyses/protection-information-escape-tags/ Also known as: extended LBA, NVMe extended logical block Status: shipping Record updated: 2026-10-28 An NVMe extended LBA is a transfer layout in which each logical block's data is immediately followed by its metadata. Note: nvme-cli v2.11 exposes metadata placement through --ms: 1 selects an extended data LBA and 0 a separate metadata buffer. Here --ms selects placement, not a byte count. Its --pi option separately selects whether protection information is enabled and which type is used. Metadata can include PI without being synonymous with it. Formatting is potentially destructive, not a read-only inspection. [nvme-cli] With PI enabled and metadata consisting entirely of PI, PRACT=1 inserts PI on writes and strips it on reads. With additional metadata, writes replace the PI portion and reads retain it instead. Transfer length therefore cannot be inferred from the placement setting alone. [nvm-1-0e] The transfer layout does not establish application-to-device protection. Linux can generate integrity metadata below the application; identify the generation and verification points. [linux-integrity] MC and DPC report capabilities. FLBAS identifies the selected format and transfer layout; that format's LBAF.MS gives metadata bytes per LBA, and DPS reports the enabled PI type. These namespace fields do not report a command's PRACT or PRCHK. [nvm-1-0e] In NVM Command Set 1.0e, 16b Guard PI occupies 8 bytes; 32b and 64b Guard PI occupy 16 bytes. Guard width is not total PI size. When metadata exceeds PI size, PRACT=1 still transfers all metadata bytes: writes replace the PI portion, while reads return it after applicable checks. [nvm-1-0e] Sources and caveats: - Version-scoped specification and tool-documentation review, not a controller experiment or a driver-support matrix. - Extended LBA describes transfer arrangement; extended protection information describes additional PI formats. They are not synonyms. - Identify Namespace field review: section 4.1.5.1, Figure 97 pp. 58-59 and Figure 98 pp. 64-65. CLI --ms means placement; LBAF.MS means metadata bytes. - PI sizes: sections 5.2.1.1 to 5.2.1.3, Figures 114 to 118 (pp. 78 to 81). PRACT transfer rules: sections 5.2.2.1 and 5.2.2.2 (pp. 89 to 91); checking exceptions: section 5.2.3. Related terms: - [protection-information](https://hesela.dev/terms/protection-information/) - [nvme-format-nvm](https://hesela.dev/terms/nvme-format-nvm/) - [logical-sector](https://hesela.dev/terms/logical-sector/) Citations: - [nvm-1-0e] NVM Command Set 1.0e: Figures 9, 78; Figures 97 and 98; 5.2.2. Copyright 2008 to 2024 NVM Express, Inc. ALL RIGHTS RESERVED. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0e-2024.07.29-Ratified.pdf (accessed 2026-10-28) - [nvme-cli] nvme-cli v2.11: Format NVM metadata placement, PI options and destructive-operation warning. https://github.com/linux-nvme/nvme-cli/blob/v2.11/Documentation/nvme-format.txt (accessed 2026-10-28) - [linux-integrity] Linux v6.12 Data Integrity documentation, sections 3 and 5 (historical design context). https://docs.kernel.org/6.12/block/data-integrity.html (accessed 2026-10-28) - [hesela-pi] Hesela: PI escape checks and metadata transfer boundaries. https://hesela.com/analyses/protection-information-escape-tags/ (accessed 2026-10-28) ### NVMe/FC URL: https://hesela.dev/terms/nvme-fc/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: NVMe over Fibre Channel, FC-NVMe Status: shipping Record updated: 2026-10-19 NVMe/FC is the transport binding that carries NVMe capsules and data over Fibre Channel. Note: Protocol distinction: The binding maps NVMe capsules to Fibre Channel frames and is specified by INCITS T11. It is distinct from both NVMe/RDMA and NVMe/TCP [fc]. Compatibility: A Fibre Channel connection alone does not establish NVMe support. The host, target and drivers need the appropriate protocol capability; a documented target implementation requires a separate FC low-level driver [spdk]. Trace interpretation: FC-NVMe I/O can reuse the FC-2 TYPE 08h value and selected FCP transport information units. TYPE alone therefore cannot reliably distinguish a SCSI command from NVMe I/O; retain login and exchange context and decode the command information unit. This does not say that every NVMe-related frame uses TYPE 08h. [fcia] Sources and caveats: - The public 2021 NVMe-oF 1.1a reference supports the FC mapping only; it is not a claim about the latest FC-NVMe revision or every adapter. Related terms: - [nvme-of](https://hesela.dev/terms/nvme-of/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [nvme-rdma](https://hesela.dev/terms/nvme-rdma/) - [nvme-tcp](https://hesela.dev/terms/nvme-tcp/) - [san](https://hesela.dev/terms/san/) - [fc-frame](https://hesela.dev/terms/fc-frame/) - [fc-exchange](https://hesela.dev/terms/fc-exchange/) Citations: - [fc] NVM Express NVMe over Fabrics 1.1a, section 7.2: Fibre Channel transport. https://nvmexpress.org/wp-content/uploads/NVMe-over-Fabrics-1.1a-2021.07.12-Ratified.pdf (accessed 2026-10-17) - [spdk] SPDK NVMe over Fabrics target: transport support, TLS and in-band authentication. https://spdk.io/doc/nvmf.html (accessed 2026-10-17) - [fcia] FCIA: Inside a Modern Fibre Channel Architecture, Part 2 (2021), slides 35-38: information units and FCP transport reuse. https://fibrechannel.org/wp-content/uploads/2021/11/Modern-FC-Architecture-Part-2.pdf (accessed 2026-10-19) ### NVMe FDP URL: https://hesela.dev/terms/nvme-fdp/ Related analysis: https://hesela.com/analyses/nvme-fdp-placement-and-limits/ Also known as: Flexible Data Placement, FDP Status: limited Record updated: 2026-10-23 An optional NVMe capability that lets a host guide write placement through placement identifiers while retaining conventional logical-block reads and writes. Note: Grouping writes with similar invalidation lifetimes can reduce live-data copying during garbage collection, while the SSD still manages logical-to-physical mapping and its media. A supported feature does not prove that the application sends useful placement information. [placement] A Placement Handle is namespace-scoped and maps to an Endurance Group scoped Reclaim Unit Handle, which references a Reclaim Unit in each Reclaim Group. A Placement Identifier combines a Reclaim Group Identifier with a Placement Handle. The FDP Statistics log page, identifier 22h, keeps 16-byte counters of host bytes written and of media bytes written including internal writes such as garbage collection, and both are cleared to 0h when the FDP feature value is modified. [base] A FAST 2026 characterization reports that invalidations in one handle can amplify writes in others and that some devices reclaim long sequential streams prematurely. Its policy experiments use an emulator, not a universal device guarantee. [warp] Advantages: - Host-guided placement can be adopted without imposing ZNS-style sequential zone writes on every application. (sources: [overview]) - Dividing media bytes written by host bytes written in the statistics log page gives a device-reported write amplification over the life of an FDP configuration. (sources: [base]) Limitations: - Lower write amplification depends on workload and placement policy; WAF = 1 is not a universal guarantee. (sources: [placement]) - Interface emulation in a virtual machine monitor is not evidence of NAND performance or endurance. (sources: [overview], [qemu]) Sources and caveats: - base re-read 2026-10-23 for the Placement Handle and Placement Identifier definitions and the FDP Statistics log page. - warp re-read for the cross-handle amplification and premature sequential reclaim findings. - The greedy-garbage-collection entry links here because placement by invalidation lifetime changes how much live data a greedy victim still holds. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [ftl](https://hesela.dev/terms/ftl/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [hot-cold-data-separation](https://hesela.dev/terms/hot-cold-data-separation/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [zns](https://hesela.dev/terms/zns/) - [nvme-reclaim-unit](https://hesela.dev/terms/nvme-reclaim-unit/) - [nvme-reclaim-unit-handle](https://hesela.dev/terms/nvme-reclaim-unit-handle/) - [nvme-placement-identifier](https://hesela.dev/terms/nvme-placement-identifier/) Citations: - [base] NVM Express Base Specification 2.1 (5 August 2024), sections 1.5 and 5.1.12.1.30: FDP terminology and the FDP Statistics log page. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.1-2024.08.05-Ratified.pdf (accessed 2026-10-23) - [overview] NVM Express. Flexible Data Placement Overview, FMS 2023, slides 6-7 and 16-23. Historical architecture overview, not a current software-support matrix. https://nvmexpress.org/wp-content/uploads/FMS-2023-Flexible-Data-Placement-FDP-Overview.pdf (accessed 2026-10-12) - [qemu] QEMU NVMe Emulation documentation: Flexible Data Placement, emulation configuration and deviations. https://www.qemu.org/docs/master/system/devices/nvme.html (accessed 2026-10-12) - [placement] Samsung. NVMe FDP: A Promising New SSD Data Placement Approach, sections 2-6. Vendor explanation and workload-specific claims. https://semiconductor.samsung.com/news-events/tech-blog/nvme-fdp-a-promising-new-ssd-data-placement-approach/ (accessed 2026-10-12) - [warp] Song et al., Characterizing and Emulating FDP SSDs with WARP, FAST 2026, pp. 347-362, sections 1, 3 and 5. https://www.usenix.org/system/files/fast26-song.pdf (accessed 2026-10-23) ### NVMe firmware slot URL: https://hesela.dev/terms/nvme-firmware-slot/ Related analysis: https://hesela.com/analyses/ssd-power-on-hours-firmware-failures/ Also known as: firmware slot (NVMe) Status: shipping Record updated: 2026-11-07 An NVMe firmware slot is a numbered storage location for a controller firmware image, distinct from the revision currently executing. Note: Firmware Image Download transfers an image but does not activate it. Firmware Commit can replace a slot without activation, select an image for next-reset activation, or request activation without a reset. The chosen action, device support and completion status matter. [nvme-cli216-fw-download] [nvme-cli216-fw-commit] In Base 2.2, firmware slots are shared within a domain, not assigned per namespace. The Firmware Slot Information log identifies the slot from which the active image was loaded. Its next-slot field refers to activation at the next Controller Level Reset; zero means not indicated, not proof that no update is pending. Read Identify Controller's Firmware Revision field to determine the executing revision. [nvme-base22-firmware-slots] Identify Controller reports the supported slot count, whether slot 1 is read-only, and reset-free activation support. [windows-nvme-identify-firmware] An all-zero FRS field (zero bytes) means an unsupported slot or no valid revision; it is not the ASCII revision string 00000000. [windows-nvme-firmware-log] Limitations: - Several slots do not guarantee rollback: activation can be prohibited, including a disallowed downgrade. (sources: [nvme-base22-firmware-slots]) Sources and caveats: - Version-scoped specification and documentation review, not a device test, update recipe or claim that the historical SAS advisories apply to NVMe. - Use the vendor-supported maintenance procedure. Neither a transferred image nor a stored slot revision alone establishes remediation. Related terms: - [drive-firmware-revision](https://hesela.dev/terms/drive-firmware-revision/) - [nvme](https://hesela.dev/terms/nvme/) Citations: - [nvme-base22-firmware-slots] NVM Express Base 2.2 (11 March 2025): section 1.5.42; sections 5.1.8, 5.1.9 and 5.1.12.1.4; Figures 184, 209 and 313. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.2-2025.03.11-Ratified-1.pdf (accessed 2026-11-07) - [nvme-cli216-fw-download] nvme-cli v2.16: Firmware Image Download manual. https://github.com/linux-nvme/nvme-cli/blob/v2.16/Documentation/nvme-fw-download.1 (accessed 2026-11-07) - [nvme-cli216-fw-commit] nvme-cli v2.16: Firmware Commit actions and reset handling. https://github.com/linux-nvme/nvme-cli/blob/v2.16/Documentation/nvme-fw-commit.1 (accessed 2026-11-07) - [windows-nvme-identify-firmware] Microsoft NVME_IDENTIFY_CONTROLLER_DATA: FR and FRMW capabilities. https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_identify_controller_data (accessed 2026-11-07) - [windows-nvme-firmware-log] Microsoft NVME_FIRMWARE_SLOT_INFO_LOG: next-slot and revision fields. https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_firmware_slot_info_log (accessed 2026-11-07) ### NVMe Format NVM URL: https://hesela.dev/terms/nvme-format-nvm/ Related analysis: https://hesela.com/analyses/ssd-sanitization-trim-evidence/ Also known as: Format NVM Status: shipping Record updated: 2026-10-28 NVMe Format NVM is an administrative command that selects a supported media format and can request secure erasure. Note: For the NVM Command Set, formatting selects logical-block format, metadata placement and protection-information settings. This is not filesystem creation. After a successful format, the controller shall not return user data previously contained in an affected namespace. [nvme-2-0e] Secure Erase Settings (SES) distinguish no secure erase (0), User Data Erase (1) and Cryptographic Erase (2), with 3 to 7 reserved. User Data Erase may use cryptographic erase when all affected data is encrypted. SES=0 does not make formatting nondestructive. [nvme-format-v211] Scope depends on SES, Format NVM Attributes (FNA) and NSID. Without secure erase FNA bit 0 decides the scope, and with SES 1 or 2 FNA bit 1 does. A selected namespace does not always confine the operation: when the relevant bit is 1, all namespaces in the NVM subsystem are formatted. NSID FFFFFFFFh otherwise selects all namespaces attached to the controller. [nvme-2-0e] The reference command-line tool defaults to LBA format 0 and a 600,000 ms command timeout, then issues BLKRRPART so namespaces are rescanned. With an older driver, a changed block size may only appear after a manual rescan. [nvme-format-v211] NVM Command Set 1.0e requires PIL=0, placing enabled PI at the end of metadata. CLI options do not establish support for first-byte placement in this revision. [nvme-nvm-1-0e] [nvme-format-v211] Advantages: - Format NVM selects supported protection-information settings alongside the LBA format. (sources: [nvme-nvm-1-0e]) - A Cryptographic Erase removes access by deleting the encryption key instead of rewriting all user data. (sources: [nvme-2-0e]) Limitations: - Device names alone do not establish controller-to-namespace relationships. (sources: [nvme-format-v211]) - While a format runs, I/O commands to an affected namespace may be aborted with Format in Progress status. (sources: [nvme-2-0e]) Sources and caveats: - Specification review, not a hardware erasure test. The cited revisions are a reference baseline, not a latest-version claim. - nvme-2-0e is NVM Express Base Specification 2.0e, read 2026-10-23 at section 5.14 and Figure 193 for scope rules and the security-specification abort case. - nvme-format-v211 is the nvme-cli v2.11 nvme-format documentation, re-read for SES and PI values, the 600,000 ms default timeout and the BLKRRPART rescan. - A companion analysis covers the full scope matrix. Device capabilities should be checked before any destructive action. - The tcg-opal entry links here because section 5.14 lets a security specification such as TCG storage interface rules abort a Format NVM command. Related terms: - [secure-erase](https://hesela.dev/terms/secure-erase/) - [sanitize-nvme](https://hesela.dev/terms/sanitize-nvme/) - [nvme-dlfeat](https://hesela.dev/terms/nvme-dlfeat/) - [nvme-extended-lba](https://hesela.dev/terms/nvme-extended-lba/) Citations: - [nvme-2-0e] NVM Express Base Specification 2.0e, section 5.14 and Identify Controller FNA field. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0e-2024.07.29-Ratified.pdf (accessed 2026-10-23) - [nvme-nvm-1-0e] NVM Express NVM Command Set Specification 1.0e, section 4.1.2, Figure 78 (p. 46); copyright 2008 to 2024 NVM Express, Inc. ALL RIGHTS RESERVED. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0e-2024.07.29-Ratified.pdf (accessed 2026-10-28) - [nvme-format-v211] linux-nvme/nvme-cli v2.11: Format NVM documentation. https://github.com/linux-nvme/nvme-cli/blob/v2.11/Documentation/nvme-format.txt (accessed 2026-10-23) ### NVMe Get LBA Status URL: https://hesela.dev/terms/nvme-get-lba-status/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Get LBA Status (NVMe), nvme get-lba-status Status: shipping Record updated: 2026-11-08 NVMe Get LBA Status is an optional administrative command that reports selected allocation or potentially unrecoverable-block information for a namespace LBA range. Note: Action type 02h requests tracked allocated LBAs; 10h scans for untracked and also returns tracked potentially unrecoverable LBAs; 11h requests tracked potentially unrecoverable LBAs. The 10h scan examines internal controller data structures, not necessarily every block's payload. These are distinct queries, not interchangeable health scores. [lba-types] [lba-nvm12] In NVM Command Set 1.2, allocation reporting uses AOCS.RALBAS support; the error-oriented actions use OACS.GLSS. Allocation reporting can include deallocated blocks within a mixed tracking unit. A returned range need not consist entirely of unreadable blocks. [lba-nvm12] Read completion condition (CMPC) separately from descriptor count. The value 0 gives no completion indication, 1 means incomplete, and 2 reports that the selected action completed over the requested range with no additional descriptors remaining. An empty list alone is not evidence of a healthy namespace. [lba-output] Retain the namespace, starting LBA, range length, action, response-size limit and command outcome with a capture. JSON or readable formatting does not broaden the requested scope. [lba-manual] Field encodings differ: RL=0 extends from SLBA through NSZE-1; MNDW and descriptor NLB are zero-based quantities. Thus NLB=0 describes one block, not an empty extent. Preserve raw values and their encoding. [lba-nvm12] Limitations: - This command is not the SCSI provisioning command of the same name; compare protocol, action and supported revision before interpreting a report. (sources: [lba-nvm12]) - Controller-reported LBA status does not validate filesystem block identity or application-level content. (sources: [lba-integrity]) Sources and caveats: - Primary-source interpretation of pinned NVM Command Set 1.2, libnvme v1.15 and nvme-cli documentation/source. No controller command, device scan or hardware experiment was performed. Related terms: - [scsi-get-lba-status](https://hesela.dev/terms/scsi-get-lba-status/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme-write-uncorrectable](https://hesela.dev/terms/nvme-write-uncorrectable/) - [nvme-media-data-integrity-errors](https://hesela.dev/terms/nvme-media-data-integrity-errors/) - [nvme-lba-status-information](https://hesela.dev/terms/nvme-lba-status-information/) Citations: - [lba-nvm12] NVM Command Set 1.2, sections 4.1.5.4, 4.2.1 and 5.2.1; Figures 120, 130-132. Copyright 2008-2025 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.2-2025.08.01-Ratified.pdf (accessed 2026-11-08) - [lba-types] libnvme v1.15: nvme_lba_status_atype. https://github.com/linux-nvme/libnvme/blob/v1.15/src/nvme/types.h#L4575 (accessed 2026-11-08) - [lba-output] nvme-cli v2.13: stdout_lba_status completion and descriptor output. https://github.com/linux-nvme/nvme-cli/blob/v2.13/nvme-print-stdout.c#L4849 (accessed 2026-11-08) - [lba-manual] nvme-cli v2.11: Get LBA Status command options. https://github.com/linux-nvme/nvme-cli/blob/v2.11/Documentation/nvme-get-lba-status.txt (accessed 2026-11-08) - [lba-integrity] Bairavasundaram et al. An Analysis of Data Corruption in the Storage Stack. FAST 2008, sections 2.2-2.3 and 3. https://static.usenix.org/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/index.html (accessed 2026-11-08) ### NVMe Host Identifier URL: https://hesela.dev/terms/nvme-host-identifier/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: NVMe Host ID, HOSTID Status: shipping Record updated: 2026-10-16 The NVMe Host Identifier identifies which controllers in an NVM subsystem belong to the same host for purposes including reservation rights. Note: Matching nonzero Host Identifiers group controllers under one host's reservation rights; the reservation key is separate. [nvme-base-20c] Base 2.3 treats zero identifiers on two controllers as different hosts. Zero-associated reservations and registrations do not survive Controller Level Reset, and changing zero to nonzero does not transfer those associations. Host Identifier is non-saveable; PCIe defaults to zero and NVMe over Fabrics requires 128 bits. [nvme-base-23-hostid] Do not extrapolate these lifecycle rules to all earlier or later NVMe versions. Related terms: - [nvme-reservation](https://hesela.dev/terms/nvme-reservation/) - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme-subsystem-nqn](https://hesela.dev/terms/nvme-subsystem-nqn/) - [io-fencing](https://hesela.dev/terms/io-fencing/) Citations: - [nvme-base-20c] NVM Express Base Specification 2.0c (2022), sections 5.27.1.25, 7.2-7.5 and 8.19. Copyright 2008-2022 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0c-2022.10.04-Ratified.pdf (accessed 2026-10-16) - [hesela-fencing] Storage fencing: why a lost heartbeat does not stop writes. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-10-16) - [nvme-base-23-hostid] NVM Express Base Specification 2.3 (2025), section 5.2.26.1.32, pp. 438-440: Host Identifier and transport-specific lifecycle rules. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-16) ### NVMe Host Read Commands URL: https://hesela.dev/terms/nvme-host-read-commands/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Host Read Commands, HRC Status: shipping Record updated: 2026-10-26 NVMe Host Read Commands is the SMART / Health Information log counter of completed commands in the I/O command set's designated host-read class. Note: Base 2.3 places this 128-bit command count at bytes 64-79 of log 02h; it is not a byte quantity. Completed does not by itself mean successful. [nvme-base-2-3-smart] NVM Command Set 1.2 includes Compare, Copy and Read, whereas Data Units Read includes Compare, Read and Verify. Check the implemented revision before using these lists. [nvm-read-accounting] The pinned smartctl implementation names this field nvme_smart_health_information_log.host_reads and also exports host_reads.commands at the JSON root. The neighboring host_reads.units is a different quantity; retain the full path in a collector. [smartctl-read-fields] The similarly named Endurance Group Host Read Command class also includes Verify in NVM Command Set 1.2 section 1.4.2.1. It is not interchangeable with the SMART class above; retain the log identifier and collection scope, not only a shortened field name. [nvm-read-accounting] Limitations: - A cumulative command count is neither application IOPS nor a latency distribution; do not apply the Data Units Read byte multiplier to it. (sources: [nvme-base-2-3-smart], [smartctl-read-fields]) Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-data-units-read](https://hesela.dev/terms/nvme-data-units-read/) - [nvme-controller-busy-time](https://hesela.dev/terms/nvme-controller-busy-time/) Citations: - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, Figure 210, p. 215: read-data and command counters. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-26) - [nvm-read-accounting] NVM Express NVM Command Set 1.2, sections 1.4.2.1, 1.4.2.7-1.4.2.8 and 3.3.5: distinct read-command classes. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.2-2025.08.01-Ratified.pdf (accessed 2026-10-26) - [smartctl-read-fields] smartmontools pinned nvmeprint.cpp: distinct data_units_read and host_reads JSON fields. https://github.com/smartmontools/smartmontools/blob/fd31eef5b715c107837ae7d51465334d4d99b5da/src/nvmeprint.cpp#L449-L465 (accessed 2026-10-26) ### NVMe Keep Alive URL: https://hesela.dev/terms/nvme-keep-alive/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: NVMe Keep Alive Timeout, KATO, Traffic Based Keep Alive Status: shipping Record updated: 2026-11-08 NVMe Keep Alive is a watchdog mechanism for detecting loss of communication between a host and controller through command-based or traffic-based operation. Note: Base 2.3 distinguishes command-based Keep Alive from traffic-based Keep Alive. In traffic-based operation, commands fetched by the controller can satisfy its activity check; this is not proof that a particular write completed. [nvme-keep-alive-23] The protocol's Keep Alive Timeout (KATO) uses milliseconds; the controller rounds KATO upward to its reported granularity when necessary. In contrast, nvme-cli v2.11's nvme connect --keep-alive-tmo uses seconds. Its reconnect-delay and ctrl-loss-tmo are separate connection-recovery settings, also in seconds. [nvme-keep-alive-23] [nvme-cli-keep-alive] Linux v6.12 can skip issuing a Keep Alive command when traffic-based support and observed completion activity permit it. Absence of periodic Keep Alive commands in a busy trace therefore does not by itself prove that the watchdog is disabled. This is a source-code inference, not a device experiment. [linux-keep-alive] In the same function, a failed request allocation logs keep-alive failed and requests a controller reset before submitting that Keep Alive command. That message alone is not evidence of an unanswered on-wire command; retain its error value and surrounding recovery context. [linux-keep-alive] Limitations: - Communication-loss detection does not establish the outcome or durability of an individual write. (sources: [nvme-keep-alive-23]) Related terms: - [nvme-of](https://hesela.dev/terms/nvme-of/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [nvme-command-quiesce-time](https://hesela.dev/terms/nvme-command-quiesce-time/) Citations: - [nvme-keep-alive-23] NVM Express Base 2.3 (2025): sections 3.9, 5.2.1.1 and 9.6.2.1; Figures 328 and 416, Keep Alive, KATO and Command Quiesce Time. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-11-08) - [nvme-cli-keep-alive] nvme-cli v2.11: nvme-connect options, keep-alive-tmo, reconnect-delay and ctrl-loss-tmo. https://raw.githubusercontent.com/linux-nvme/nvme-cli/v2.11/Documentation/nvme-connect.txt (accessed 2026-11-08) - [linux-keep-alive] Linux v6.12: nvme_keep_alive_work(), nvme_keep_alive_work_period() and nvme_update_keep_alive(). https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/nvme/host/core.c (accessed 2026-11-08) ### NVMe LBA Status Information log URL: https://hesela.dev/terms/nvme-lba-status-information/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: LBA Status Information, NVMe log 0Eh Status: shipping Record updated: 2026-11-08 The NVMe LBA Status Information log identifies namespace ranges that warrant further examination for potentially unrecoverable logical blocks. Note: Log 0Eh has controller scope, with elements for attached namespaces. Its range descriptors and recommended action (RATYPE) guide subsequent Get LBA Status commands; they are not those commands' returned status descriptors. [lba-log12] Reading with RAE=1 freezes this log until a read with RAE=0 clears the outstanding alert, restarts its report interval and permits updates. This snapshot rule is specific to this log, not a universal property of RAE. [lba-log12] For RATYPE=10h, acknowledgement suppresses the same namespace element unless another component failure may have created additional untracked LBAs. Retain the guidance before acknowledgement; clearing an alert does not repair data. [lba-log12] Support is optional; check OACS.GLSS for the error-oriented capability rather than inferring support from allocation reporting alone. [lba-log12] Compare the generation counter in the RAE=0 acknowledgement header with the original capture. A mismatch indicates newer log data and permits rereading without waiting for the usual poll interval; it is not evidence of completed recovery. [lba-log12] Limitations: - NLRD=FFFFFFFFh means location information is unavailable and the whole namespace needs examination, not that no blocks are affected. (sources: [lba-log12]) - ESTULB=FFFFFFFFh means an unavailable estimate, not a measured count of potentially unrecoverable blocks. (sources: [lba-log12]) Sources and caveats: - Source interpretation of NVM Command Set 1.2; no controller experiment. Related terms: - [nvme-get-lba-status](https://hesela.dev/terms/nvme-get-lba-status/) - [nvme-asynchronous-event-request](https://hesela.dev/terms/nvme-asynchronous-event-request/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) Citations: - [lba-log12] NVM Command Set 1.2, sections 4.1.4.5 and 5.2.1. Copyright 2008-2025 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.2-2025.08.01-Ratified.pdf (accessed 2026-11-08) ### NVMe Media and Data Integrity Errors URL: https://hesela.dev/terms/nvme-media-data-integrity-errors/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Media and Data Integrity Errors, MDIE, NVMe Media Errors, media_errors Status: shipping Record updated: 2026-11-06 NVMe Media and Data Integrity Errors is the SMART / Health Information log counter of unrecovered data-integrity errors detected by the controller. Note: Examples include uncorrectable ECC, CRC checksum failures and LBA tag mismatches. Errors introduced by Write Uncorrectable may or may not be included. The 128-bit field occupies bytes 160 through 175 of log 02h; it is separate from the lifetime count of Error Information log entries. [nvme-base-2-3-smart] Limitations: - The total does not identify affected files or provide a bit-error rate: interpreting it requires the error details and an appropriate observation interval and denominator. (sources: [libnvme-smart-log], [nvme-base-2-3-smart]) Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-critical-warning](https://hesela.dev/terms/nvme-critical-warning/) - [nvme-unexpected-power-losses](https://hesela.dev/terms/nvme-unexpected-power-losses/) - [nvme-error-information-log-entries](https://hesela.dev/terms/nvme-error-information-log-entries/) - [nvme-percentage-used](https://hesela.dev/terms/nvme-percentage-used/) - [nvme-write-uncorrectable](https://hesela.dev/terms/nvme-write-uncorrectable/) Citations: - [libnvme-smart-log] libnvme: struct nvme_smart_log, media_errors member. https://github.com/linux-nvme/libnvme/blob/master/src/nvme/types.h (accessed 2026-10-14) - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, section 5.2.12.1.3, Figure 210, p. 216: Media and Data Integrity Errors. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-14) ### NVMe-MI URL: https://hesela.dev/terms/nvme-mi/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: NVMe Management Interface Status: shipping Record updated: 2026-10-21 NVMe Management Interface (NVMe-MI) defines commands and architecture for discovering, monitoring, configuring and updating NVMe storage. Note: Access paths: out-of-band requests use MCTP over supported SMBus/I2C, I3C or PCIe bindings. In-band requests use the host NVMe-MI Send and Receive Admin commands. Supported message categories depend on the mechanism, so not every out-of-band operation can be tunneled in band. [c2] Health summary: NVM Subsystem Health Status Poll returns subsystem status, SMART warnings, composite temperature and life used. Its warning bits invert the corresponding Critical Warning bits; with multiple controllers, a warning on any controller clears the summary bit. Life used returns the highest controller estimate and should be updated once per power-on hour. A value of 100 does not necessarily mean failure. [c2] Temperature: 00h-7Eh encode 0-126 degrees Celsius; 7Fh means at least 127, 80h means older than five seconds, and 81h means a sensor failure. C4h means at most -60 degrees; C5h-FFh encode -59 to -1 in two's complement, while 82h-C3h are reserved. The subsystem temperature is calculated at least every five seconds, but a fresh numeric reading is not guaranteed. [c2] Linux exposes MCTP datagram sockets and separates network identity from endpoint address. Record both when collecting NVMe-MI observations; an EID alone cannot identify a device across different networks. [c4] Limitations: - Management access still depends on supported power states and endpoint readiness; a collection timeout does not identify the fault by itself. (sources: [mi22]) Sources and caveats: - Health-field details are scoped to NVMe-MI 2.1. Revision 2.2 was also checked for transport distinctions, endpoint availability and Figure 105; this is not a claim that all devices implement that revision. - The official specification index lists revision 2.2, ratified 31 July 2026, as current on the access date. [mi-overview] No drive or management controller was tested. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [nvme-base-spec](https://hesela.dev/terms/nvme-base-spec/) - [nvme-backplane](https://hesela.dev/terms/nvme-backplane/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [mctp](https://hesela.dev/terms/mctp/) - [mctp-endpoint-id](https://hesela.dev/terms/mctp-endpoint-id/) - [out-of-band-management](https://hesela.dev/terms/out-of-band-management/) - [nvme-composite-temperature](https://hesela.dev/terms/nvme-composite-temperature/) Citations: - [c1] NVMe-MI. https://en.wikipedia.org/wiki/NVM_Express (accessed 2026-03-26) - [c2] NVM Express Management Interface 2.1: message mechanisms and NVM Subsystem Health data structure. https://nvmexpress.org/wp-content/uploads/NVM-Express-Management-Interface-Specification-Revision-2.1-2025.08.01-Ratified.pdf (accessed 2026-10-21) - [c3] libnvme: NVMe Management Interface library header. https://raw.githubusercontent.com/linux-nvme/libnvme/master/src/nvme/mi.h (accessed 2026-10-16) - [c4] Linux kernel documentation: MCTP interfaces, networks and socket addresses. https://docs.kernel.org/networking/mctp.html (accessed 2026-10-21) - [mi22] NVM Express Management Interface 2.2: sections 1.3, 3, 8.1 and Figure 105. https://nvmexpress.org/wp-content/uploads/NVM-Express-Management-Interface-Specification-Revision-2.2-Ratified-2026.07.31.pdf (accessed 2026-10-21) - [mi-overview] NVM Express: NVMe-MI architecture and specification index. https://nvmexpress.org/specification/nvme-mi-specification/ (accessed 2026-10-21) ### NVMe multipath I/O policy URL: https://hesela.dev/terms/nvme-multipath-io-policy/ Also known as: NVMe iopolicy Status: shipping Record updated: 2026-10-23 An NVMe multipath I/O policy is the host-side rule that chooses which controller path carries the next request to a namespace reachable through several paths. Note: Linux v6.12 offers three policies, numa, round-robin and queue-depth, with numa as the default. Every policy follows ANA state first: an optimized path is preferred, a non-optimized path is used only when no optimized one is usable, and inaccessible paths are skipped. [linux-ana] [linux-code] The numa policy caches one path per NUMA node and, when that entry is empty or no longer optimized, picks the optimized path with the smallest node distance to its controller. Round-robin moves from the last path used for the current node to the next usable one. Queue-depth picks the path whose controller has the fewest requests in flight and stops scanning at an optimized path with 0 such requests. [linux-code] The queue-depth counter is controller-level: it rises when a request starts and falls when it ends, only while the subsystem uses that policy, and it includes requests to every namespace behind the controller. The nvme_core iopolicy module parameter is the default copied into a subsystem when it is created, and an existing subsystem keeps its own iopolicy attribute in sysfs. Writing that attribute clears the cached paths of all its controllers. [linux-code] [linux612-core] Advantages: - The numa policy keeps I/O from a CPU node on the nearest controller, which limits cross-node traffic on NUMA systems. (sources: [linux-ana]) - Round-robin uses every path of a homogeneous fabric evenly when the paths have similar latency and bandwidth. (sources: [linux-ana]) Limitations: - Round-robin does not look at how busy a path is, so a slower path receives the same share of requests as a faster one. (sources: [linux-ana], [linux-code]) - Queue-depth adds an atomic increment and decrement on a shared controller counter for every request, which the other policies avoid. (sources: [linux-code]) Sources and caveats: - linux-code is the Linux v6.12 drivers/nvme/host/multipath.c source, read in the path selectors, the request start and end hooks and the subsystem iopolicy store. - linux612-core is the Linux v6.12 drivers/nvme/host/core.c source, read in nvme_init_subsystem where the default policy is applied. - linux-ana is the kernel administration guide page on NVMe multipath, read in the rendering labelled 7.3.0 on the access date, which lists the same three policies. - The kernel release that first added each policy was not checked. Related terms: - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) - [asymmetric-namespace-access](https://hesela.dev/terms/asymmetric-namespace-access/) - [ana-group](https://hesela.dev/terms/ana-group/) - [multipath-io](https://hesela.dev/terms/multipath-io/) Citations: - [linux-code] Linux v6.12, drivers/nvme/host/multipath.c: ANA selection, controller nr_active accounting and subsystem iopolicy. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/multipath.c (accessed 2026-10-23) - [linux-ana] Linux kernel documentation: native NVMe multipath policies. https://docs.kernel.org/admin-guide/nvme-multipath.html (accessed 2026-10-23) - [hesela-paths] Hesela: NVMe multipath: ANA access states and Linux path policies. https://hesela.com/analyses/nvme-multipath-ana-path-selection/ (accessed 2026-10-15) - [linux612-core] Linux v6.12, drivers/nvme/host/core.c: nvme_init_subsystem and the default iopolicy. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/core.c (accessed 2026-10-23) ### NVMe namespace identifiers URL: https://hesela.dev/terms/nvme-namespace-identifiers/ Also known as: NVMe NGUID, NVMe EUI64, NVMe namespace UUID Status: shipping Record updated: 2026-10-16 NVMe namespace identifiers are the NGUID, EUI64 and namespace UUID values used to distinguish a namespace independently of its command-addressing NSID. Note: NGUID is 128-bit and EUI64 is 64-bit; Identify Namespace reports both fields [nvme-nvm-1-0c]. Namespace identification descriptors distinguish EUI64, NGUID and 128-bit UUID types [libnvme-types]. These protocol identifiers are not filesystem UUIDs or partition GUIDs. Linux v6.12 compares UUID, NGUID, EUI64 and the command-set identifier before accepting another path for a shared NSID in a subsystem [linux-v6-12]. This identity check is separate from deciding which path can serve I/O [hesela-ana]. NGUID and EUI64 remain stable during the namespace lifetime, including controller reset and namespace format; zero means that field provides no identifier [nvme-nvm-1-0c]. NSFEAT.UIDREUSE=0 permits nonzero NGUID/EUI64 reuse after deletion; UIDREUSE=1 prohibits it [nvme-base-2-0e]. This rule does not describe UUID reuse. For dispersed namespaces, NSIDs may differ between participating subsystems; the common identifier is NGUID or namespace UUID, not EUI64, with NGUID selected when both exist [nvme-base-2-3]. This does not establish support in a particular host implementation. Advantages: - Allows namespace recognition without relying only on an NSID or an operating-system device name. Limitations: - Not all three forms must be populated. - Duplicate or inconsistent identifiers require investigation, not forced path merging. Related terms: - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme-nsid](https://hesela.dev/terms/nvme-nsid/) - [nvme-subsystem-nqn](https://hesela.dev/terms/nvme-subsystem-nqn/) - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) Citations: - [nvme-nvm-1-0c] NVM Express NVM Command Set Specification 1.0c, Figure 97; copyright 2008-2022 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0c-2022.10.03-Ratified.pdf (accessed 2026-10-16) - [nvme-base-2-0e] NVM Express Base Specification 2.0e, section 4.5.1; copyright 2008-2024 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0e-2024.07.29-Ratified.pdf (accessed 2026-10-16) - [libnvme-types] libnvme upstream types: nvme_ns_id_desc and nvme_ns_id_desc_nidt. https://github.com/linux-nvme/libnvme/blob/master/doc/rst/types.rst (accessed 2026-10-16) - [linux-v6-12] Linux v6.12 NVMe host core: nvme_ns_ids_equal and nvme_init_ns_head. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/core.c (accessed 2026-10-16) - [hesela-ana] NVMe multipath: ANA access states and Linux path policies. https://hesela.com/analyses/nvme-multipath-ana-path-selection/ (accessed 2026-10-16) - [nvme-base-2-3] NVM Express Base Specification 2.3, section 8.1.10.2: dispersed namespace identity; copyright NVM Express, Inc. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-16) ### NVMe namespace write protection URL: https://hesela.dev/terms/nvme-namespace-write-protection/ Related article: https://hesela.com/tech/nvme/ Also known as: Namespace Write Protection Config, NVMe namespace write protect Status: shipping Record updated: 2026-11-08 NVMe namespace write protection is an optional controller capability that restricts changes to a namespace according to its protection state. Note: Identify Controller reports optional support through NWPC. Basic support covers unprotected and protected states; until-power-cycle and permanent protection have separate capability bits. [libnvme-nwpc] Get Features identifier 84h reports the configured state. [base23-wp] Ordinary protection survives power cycles and Controller Level Resets but remains changeable. Until-power-cycle protection survives a Controller Level Reset and clears on power cycle. Permanent protection survives both events. Set Features cannot change an already active until-power-cycle or permanent state. Although the feature is not saveable, these persistence rules still apply. [base23-wp] All attached controllers enforce protection. Entering it commits the namespace's volatile cached data and metadata. Configuring protection must not itself set SMART's All Media Read-Only warning. [base23-wp] Limitations: - Entering until-power-cycle or permanent protection also requires the corresponding RPMB Write Protection Control permission; NWPC support alone is insufficient. Until-power-cycle mode is prohibited in multi-domain subsystems. These entry controls clear on a power cycle or Controller Level Reset; clearing an entry permission does not remove an already active protection state. (sources: [base23-wp]) Sources and caveats: - Protocol and pinned API source review; no device command, hardware experiment or immutable-backup certification. Related terms: - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme-reservation](https://hesela.dev/terms/nvme-reservation/) - [nvme-critical-warning](https://hesela.dev/terms/nvme-critical-warning/) - [nvme-format-nvm](https://hesela.dev/terms/nvme-format-nvm/) - [sanitize-nvme](https://hesela.dev/terms/sanitize-nvme/) - [read-only-mount](https://hesela.dev/terms/read-only-mount/) Citations: - [base23-wp] NVM Express Base 2.3: sections 5.2.26.1.35, 8.1.17 and Figure 690. Copyright 2025 NVM Express, Inc.; all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-11-08) - [libnvme-nwpc] libnvme v1.15: nvme_id_ctrl_nwpc capability flags. https://github.com/linux-nvme/libnvme/blob/v1.15/src/nvme/types.h#L2428 (accessed 2026-11-08) - [hesela-nvme] Hesela: NVM Express, namespace protection and command behavior. https://hesela.com/tech/nvme/ (accessed 2026-11-08) ### NVMe non-operational power state URL: https://hesela.dev/terms/nvme-non-operational-power-state/ Related analysis: https://hesela.com/analyses/ssd-thermal-throttling-failures/ Also known as: NVMe non-operational state, NVMe idle power state Status: shipping Record updated: 2026-10-21 An NVMe non-operational power state suspends I/O command processing until the controller returns to an operational state. Note: Controller state: Admin-command and property activity can remain possible. An incoming I/O command restores the most recent operational state even with APST disabled. This is not a powered-off device. [base20e] Latency fields: ENLAT and EXLAT report maximum entry and exit latencies in microseconds. Zero means not reported, not zero delay. Relative read/write latency fields are ranks, not microsecond durations. These descriptors do not measure application response time. [psd] Power removal: PCI D3cold removes the main supply; returning from it involves power-on reset behavior. That device-level event is distinct from an NVMe idle-state transition. [pci] Sources and caveats: - NVMe semantics use Base 2.0e and libnvme v1.15 field documentation; no physical-device wake latency was measured. Related terms: - [nvme-autonomous-power-state-transition](https://hesela.dev/terms/nvme-autonomous-power-state-transition/) - [host-controlled-thermal-management](https://hesela.dev/terms/host-controlled-thermal-management/) Citations: - [base20e] NVM Express Base Specification 2.0e: sections 5.27.1.9 and 8.15, Figure 281. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0e-2024.07.29-Ratified.pdf (accessed 2026-10-21) - [psd] libnvme v1.15: nvme_id_psd power-state descriptors. https://github.com/linux-nvme/libnvme/blob/v1.15/doc/man/nvme_id_psd.2 (accessed 2026-10-21) - [pci] Linux kernel documentation: PCI power-management states. https://docs.kernel.org/power/pci.html (accessed 2026-10-21) ### NVMe namespace ID (NSID) URL: https://hesela.dev/terms/nvme-nsid/ Also known as: NSID, NVMe namespace ID Status: shipping Record updated: 2026-11-02 An NVMe namespace ID (NSID) is a 32-bit handle used by a controller and host to address a namespace, not a globally unique namespace identity. Note: Allocation describes whether a namespace exists; active status describes attachment to a particular controller [nvme-base-2-0e]. Base 2.3 requires subsystem-wide NSID uniqueness when Namespace Management, ANA Reporting, NVM Sets, or Sanitize Namespace is supported; otherwise, shared namespaces still require uniqueness but private namespaces need not [nvme-base-2-3]. Within one NVM subsystem, the same shared namespace uses the same NSID through its attached controllers [nvme-base-2-0e]. NSIDs may change across power-off conditions; use supported namespace identifiers to check continuity [nvme-base-2-0e]. The companion analysis separates namespace recognition from ANA path selection [hesela-ana]. Advantages: - Provides a compact command-level reference to a namespace. Limitations: - An equal NSID on two unrelated subsystems does not establish that they expose the same namespace. Related terms: - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvm-subsystem](https://hesela.dev/terms/nvm-subsystem/) - [nvme-namespace-identifiers](https://hesela.dev/terms/nvme-namespace-identifiers/) - [nvme-subsystem-nqn](https://hesela.dev/terms/nvme-subsystem-nqn/) - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) - [compute-namespace](https://hesela.dev/terms/compute-namespace/) Citations: - [nvme-base-2-0e] NVM Express Base Specification 2.0e, sections 2.4.1, 3.2.1 and 3.3.3.1; copyright 2008-2024 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0e-2024.07.29-Ratified.pdf (accessed 2026-10-16) - [nvme-base-2-3] NVM Express Base Specification 2.3, section 3.2.1.6; copyright 2008-2025 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-16) - [hesela-ana] NVMe multipath: ANA access states and Linux path policies. https://hesela.com/analyses/nvme-multipath-ana-path-selection/ (accessed 2026-10-16) ### NVMe NVM Set URL: https://hesela.dev/terms/nvme-nvm-set/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: NVM Set, NVMSETID Status: shipping Record updated: 2026-10-21 An NVMe NVM Set is a logical collection of non-volatile storage within which formatted namespaces inherit the set's attributes. Note: NVM Sets separate storage logically and may also separate it physically. A namespace containing formatted storage stays wholly within one set. Capacity may remain unallocated to any namespace. A set belongs to exactly one Endurance Group, but several sets may share that group's endurance management. [base23-sets] Identify CNS 04h returns the NVM Set List with identifiers, associated ENDGID, total and unallocated capacity in bytes, and optimal write size. The list contains up to 31 entries accessible through the queried controller, starting at the first supported identifier equal to or greater than the requested identifier. One response need not enumerate the subsystem. [base23-list] NVMSETID is 16-bit and unique within the subsystem. Zero is reserved. If NVM Sets are not supported, NVMSETID fields are zero. Support is advertised in Identify Controller CTRATT and requires Endurance Group support. Do not interpret an unsupported zero as a real set. [base23-sets] NVM Sets and Endurance Groups were optional additions in NVMe 1.4. NVMe 2.0 added an interoperable management interface; creation and deletion are not inherently restricted to private commands. [changes14] [changes20] Limitations: - Distinct set identifiers do not establish independent controllers, power supplies or failure-independent replicas. (sources: [base23-sets]) Sources and caveats: - Semantics are pinned to NVMe Base 2.3; physical isolation and workload interference require implementation-specific evidence. Related terms: - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme-endurance-group](https://hesela.dev/terms/nvme-endurance-group/) - [nvm-subsystem](https://hesela.dev/terms/nvm-subsystem/) - [nvme-base-spec](https://hesela.dev/terms/nvme-base-spec/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) Citations: - [base23-sets] NVM Express Base 2.3: sections 3.2.2-3.2.3, printed pp. 79-82. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-21) - [base23-list] NVM Express Base 2.3: section 5.2.13.2.4, Figures 332-334, printed pp. 358-359. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-21) - [changes14] NVM Express: Changes in NVMe Revision 1.4, optional NVM Sets and Endurance Groups. https://nvmexpress.org/changes-in-nvme-revision-1-4/ (accessed 2026-10-21) - [changes20] NVM Express: Changes in Revision 2.0, NVM Set and Endurance Group Management. https://nvmexpress.org/changes-in-nvm-express-revision-2-0/ (accessed 2026-10-21) ### NVMe over Fabrics URL: https://hesela.dev/terms/nvme-of/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: NVMe-oF, NVM Express over Fabrics Status: shipping Record updated: 2026-11-08 An extension that carries NVMe commands across RDMA, Fibre Channel, or TCP networks to remote namespaces. Note: Architecture: NVMe over Fabrics separates NVMe command semantics from network transport. TCP, RDMA and Fibre Channel use distinct bindings rather than one interchangeable wire format [tcp] [rdma] [fc]. Discovery: A discovery controller supplies connection information, not a namespace data path. Namespace identity and path selection remain separate concerns [base] [multipath]. Operational scope: Transport choice alone does not establish encryption, failover time or application durability. Check security configuration and recovery behavior for the actual host and target stack [spdk]. Specification details: A capsule carries a command or response and optionally data, with 64-byte command and 16-byte response capsules. Queues are created by Connect and deleted by Disconnect, SGLs replace PRPs, and there is no completion-queue flow control, so the host must keep completion slots free. [fc] Overhead: A study of remote flash over TCP, not using NVMe over Fabrics, measured 21 µs of added read latency for an optimised dataplane against more than 100 µs for a conventional server. [reflex] Limitations: - A subsystem may require a fabric secure channel, in-band authentication or both, so access control depends on configuration. (sources: [fc]) Sources and caveats: - TCP/RDMA details use transport revision 1.3; discovery uses Base 2.2. The 2021 FC mapping reference is historical. No hardware or performance measurements are claimed. - The remote-flash study is university work on a different system over TCP; it shows the order of network overhead, not NVMe over Fabrics performance. - Arithmetic: up to 65,535 I/O queues of 65,535 commands allow about 4.29 billion outstanding commands per controller, a protocol ceiling that no implementation is shown to reach. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [block-storage](https://hesela.dev/terms/block-storage/) - [alua](https://hesela.dev/terms/alua/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [nvme-tcp](https://hesela.dev/terms/nvme-tcp/) - [nvme-rdma](https://hesela.dev/terms/nvme-rdma/) - [nvme-fc](https://hesela.dev/terms/nvme-fc/) - [nvme-discovery-controller](https://hesela.dev/terms/nvme-discovery-controller/) - [nvm-subsystem](https://hesela.dev/terms/nvm-subsystem/) - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) - [nvme-base-spec](https://hesela.dev/terms/nvme-base-spec/) - [nvme-keep-alive](https://hesela.dev/terms/nvme-keep-alive/) Citations: - [c1] NVMe over Fabrics. https://en.wikipedia.org/wiki/NVMe_over_Fabrics (accessed 2026-03-26) - [tcp] NVM Express NVMe over TCP Transport 1.3, sections 2, 3.1.2, 3.2 and 3.6. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVMe-over-TCP-Transport-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-10-17) - [rdma] NVM Express NVMe over RDMA Transport 1.3, section 2. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVMe-over-RDMA-Transport-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-10-17) - [fc] NVM Express NVMe over Fabrics 1.1a, section 7.2: Fibre Channel transport. https://nvmexpress.org/wp-content/uploads/NVMe-over-Fabrics-1.1a-2021.07.12-Ratified.pdf (accessed 2026-10-17) - [base] NVM Express Base Specification 2.2, section 3.1.3.3: Discovery Controllers. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.2-2025.03.11-Ratified.pdf (accessed 2026-10-17) - [spdk] SPDK NVMe over Fabrics target: transport support, TLS and in-band authentication. https://spdk.io/doc/nvmf.html (accessed 2026-10-17) - [multipath] Linux native NVMe multipath: ANA states and path-selection policies. https://docs.kernel.org/admin-guide/nvme-multipath.html (accessed 2026-10-17) - [reflex] Klimovic, Litz and Kozyrakis. ReFlex: Remote Flash = Local Flash. ASPLOS 2017. https://hlitz.github.io/papers/reflex.pdf (accessed 2026-10-16) ### NVMe Percentage Used URL: https://hesela.dev/terms/nvme-percentage-used/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Percentage Used, PUSED, percent_used Status: shipping Record updated: 2026-10-23 NVMe Percentage Used is a vendor-specific estimate of the percentage of NVM endurance consumed by actual use. Note: At 100, the estimated endurance has been consumed, but failure is not implied. Values may exceed 100; values above 254 are encoded as 255. The controller updates the estimate once per power-on hour outside sleep. The field is byte 5 of SMART / Health Information log 02h, distinct from similarly named fields with a different scope. [nvme-base-2-3-smart] The field is 1 byte wide, so 255 is the largest encodable value. The specification points to JEDEC JESD218B-02 for SSD life and endurance measurement techniques. Linux v7.3 exposes the byte as percent_used in struct nvme_smart_log. [nvme-base-2-3-smart] [linux-nvme-h] NVMe-MI 2.1 reports the estimate as Percentage Drive Life Used in byte 3 of the NVM Subsystem Health data structure. With several controllers the highest value is returned, and the value should equal Percentage Used. [nvme-mi-2-1-health] Advantages: - Endurance Group Critical Warning Summary at byte 6 sets a bit when any Endurance Group reports a spare, reliability or read-only condition, giving a group-level summary beside the estimate. (sources: [nvme-base-2-3-smart]) Limitations: - This manufacturer-dependent estimate is neither a failure probability nor a direct measure of remaining calendar life; comparisons across devices require knowledge of the estimation method. (sources: [libnvme-smart-log], [nvme-base-2-3-smart]) Sources and caveats: - nvme-base-2-3-smart is the NVM Express Base Specification 2.3, re-read for Figure 210 on p. 215. - nvme-mi-2-1-health is the NVMe-MI 2.1 specification, read for the Percentage Drive Life Used byte in Figure 108 on p. 121. - linux-nvme-h is the Linux v7.3 nvme.h header, read for the percent_used member. - The nvme-media-data-integrity-errors entry links here because endurance consumption and unrecovered media errors are separate health observations in the same log. Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-available-spare](https://hesela.dev/terms/nvme-available-spare/) - [nvme-data-units-written](https://hesela.dev/terms/nvme-data-units-written/) - [nvme-endurance-group](https://hesela.dev/terms/nvme-endurance-group/) Citations: - [libnvme-smart-log] libnvme: struct nvme_smart_log, percent_used member. https://github.com/linux-nvme/libnvme/blob/master/src/nvme/types.h (accessed 2026-10-14) - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, section 5.2.12.1.3, Figure 210, p. 215: Percentage Used. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [nvme-mi-2-1-health] NVM Express Management Interface Specification 2.1, Figure 108, pp. 120-121: NVM Subsystem Health Data Structure. https://nvmexpress.org/wp-content/uploads/NVM-Express-Management-Interface-Specification-Revision-2.1-2025.08.01-Ratified.pdf (accessed 2026-10-23) - [linux-nvme-h] Linux v7.3: include/linux/nvme.h, struct nvme_smart_log and Critical Warning masks. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/nvme.h?h=v7.3 (accessed 2026-10-23) ### NVMe Persistent Event Log URL: https://hesela.dev/terms/nvme-persistent-event-log/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Persistent Event Log, NVMe log page 0Dh Status: shipping Record updated: 2026-11-07 The NVMe Persistent Event Log records supported significant subsystem events in log page 0Dh, retaining information across power cycles and resets. Note: Support is optional; inspect Identify Controller LPA bit 4 (PES) and the Supported Events Bitmap. Firmware commits, power-on/reset events and SMART snapshots are distinct event types. The log is global to the NVM subsystem. [base23-pel] [nvme14-changes] Persistence is not complete history. Repeated events may be suppressed above an implementation-specific frequency; capacity limits can cause selected events to be deleted. Sanitize may alter or remove records, and the specification recommends minimizing event loss on power failure rather than guaranteeing zero loss. [base23-pel] A reporting context selects the events returned during a retrieval. Supported events remain subject to logging and suppression rules; events logged after context creation are excluded from that existing view. Context lifetime is separate from stored-event persistence. For a multi-command read, compare Generation Number before and after the body; a mismatch calls for rereading because the context may have been lost. [base23-pel] In Base 2.3, action 0 reads an existing context, 1 establishes one and reads, 2 releases it, and 3 creates a context if needed and returns a 512-byte header with prior-context status. Release is not an erase operation. Total Log Length includes the header and describes available bytes; Identify Controller PELS describes maximum size in 64 KiB units. [base23-pel] Action 3 and Generation Number support are indicated by ECRH, bit 0 of the PEL-specific parameter in Supported Log Pages. A controller supporting PEL and compliant with Base 2.0 or later must set ECRH; PEL support alone on older devices does not establish these extensions. [base23-pel] Limitations: - A missing event does not establish that the corresponding real-world incident never occurred. (sources: [base23-pel]) Sources and caveats: - Protocol semantics follow NVM Express Base 2.3; capability and decoder support must be checked for the actual device and software. Related terms: - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-error-information-log](https://hesela.dev/terms/nvme-error-information-log/) - [nvme-error-information-log-entries](https://hesela.dev/terms/nvme-error-information-log-entries/) - [drive-firmware-revision](https://hesela.dev/terms/drive-firmware-revision/) - [sanitize-nvme](https://hesela.dev/terms/sanitize-nvme/) - [nvme-asynchronous-event-request](https://hesela.dev/terms/nvme-asynchronous-event-request/) Citations: - [base23-pel] NVM Express Base 2.3, section 5.2.12.1.14, Figures 229-232 and 328: retention, context, ECRH and PELS. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-19) - [nvme14-changes] NVM Express: changes in NVMe 1.4, optional Persistent Event Log. https://nvmexpress.org/changes-in-nvme-revision-1-4/ (accessed 2026-10-19) ### NVMe Persistent Memory Region (PMR) URL: https://hesela.dev/terms/nvme-persistent-memory-region/ Also known as: NVMe PMR, Persistent Memory Region Status: unknown Record updated: 2026-11-04 NVMe Persistent Memory Region is optional device-resident persistent memory accessed through PCIe memory reads and writes. Note: PMR is separate from host-allocated HMB and controller working-memory CMB. Its backing may be power-protected DRAM or another persistent-memory technology; the interface does not prescribe a medium or application. [faq] In NVMe 1.4a, CAP.PMRS reports support. Software enables PMRCTL.EN and waits for PMRSTS.NRDY to clear before access. HSTS is cleared to 000b while PMR is not ready, so a normal health value alone is not a readiness test. Check enablement and NRDY independently. While not ready, writes can complete without changing the region and reads return undefined data. [nvme] PMRCAP.PMRWBM identifies supported write barriers. While PMR is ready and operating normally, completion of an advertised PMR memory read or PMRSTS-register read establishes persistence of prior PMR writes; a PMRSTS read is a barrier only when that mechanism is supported. Software must check PMRSTS.HSTS and ERR before accepting validity. Restore Error (HSTS = 001b) means new writes remain persistent when successfully completed, but earlier contents may not have been restored correctly; persistence of a new write does not certify recovery of older data. [nvme] Persisted contents survive power cycles, controller-level resets and disabling the region under the specified operating conditions. PMRMSC configures controller addressing, not a persistence barrier. Putting command data in PMR does not itself write that data to a namespace LBA. [nvme] Advantages: - The memory interface permits uses beyond a prescribed SSD cache policy. (sources: [faq]) - SPDK exposes operations to query capabilities, enable and disable PMR, and map its memory. (sources: [spdk]) Limitations: - NVMe 1.4a leaves queues and PRP/SGL lists in PMR outside its defined support; CMB queue capabilities cannot be assumed here. (sources: [nvme]) - A PMR mapping can fail or be unavailable; a software API is not proof of support on a particular SSD. (sources: [spdk]) Sources and caveats: - Register and reset semantics are scoped to NVMe 1.4a; SPDK documentation supplies an API example, not a device conformance test. - Hardware availability is not assessed, so status is unknown. No power-cut or performance experiment is reported. - The qualified alias NVMe PMR avoids conflating this concept with perpendicular magnetic recording at the existing pmr slug. Related terms: - [controller-memory-buffer](https://hesela.dev/terms/controller-memory-buffer/) - [hmb](https://hesela.dev/terms/hmb/) - [nvme](https://hesela.dev/terms/nvme/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) Citations: - [nvme] NVM Express 1.4a (9 March 2020), sections 3.1.18-3.1.23 and 4.8. Copyright 2007-2020 NVM Express, Inc. https://www.nvmexpress.org/wp-content/uploads/NVM-Express-1_4a-2020.03.09-Ratified.pdf (accessed 2026-10-28) - [faq] NVM Express: What is Persistent Memory Region? https://nvmexpress.org/faq-items/what-is-persistent-memory-region/ (accessed 2026-10-28) - [spdk] SPDK NVMe API: PMR capabilities, enable, disable and map operations. https://spdk.io/doc/nvme_8h.html (accessed 2026-10-28) - [hesela-hmb] Hesela: Host Memory Buffer and neighboring memory concepts. https://hesela.com/tech/hmb/ (accessed 2026-10-28) - [hesela-health] Hesela: NVMe health-log coverage and PMR warnings. https://hesela.com/analyses/nvme-health-log-coverage/ (accessed 2026-10-28) ### NVMe Phase Tag URL: https://hesela.dev/terms/nvme-phase-tag/ Related article: https://hesela.com/tech/nvme/ Also known as: NVMe phase bit Status: shipping Record updated: 2026-10-23 The NVMe Phase Tag is a one-bit marker used in memory-based completion queues, including PCIe, to distinguish new entries from old contents of a reused slot. Note: Scope: The expected phase alternates on each traversal of the completion ring. The bit is reserved in NVMe over Fabrics; it is not a transport-independent completion mechanism. [base-2-0d] Processing: Linux v6.12 checks the expected bit, uses a DMA read barrier before processing the entry, and flips its expected phase when the head wraps. [linux] Meaning: Freshness is separate from command status. A matching phase can accompany an error; it is not proof of a durable write. [base-2-0d] Sources and caveats: - Versioned sources explain protocol and implementation behavior; no hardware experiment or performance claim. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [nvme-command-identifier](https://hesela.dev/terms/nvme-command-identifier/) - [io-completion-polling](https://hesela.dev/terms/io-completion-polling/) Citations: - [base-2-0d] NVM Express Base 2.0d, sections 3.3.1.2, 3.3.2.1.1-2 and 3.3.3; copyright 2008-2024 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0d-2024.01.11-Ratified.pdf (accessed 2026-10-23) - [linux] Linux v6.12: NVMe PCIe completion phase, DMA barrier and ring wrap. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/pci.c (accessed 2026-10-23) ### NVMe placement identifier URL: https://hesela.dev/terms/nvme-placement-identifier/ Related analysis: https://hesela.com/analyses/nvme-fdp-placement-and-limits/ Also known as: FDP placement identifier, PID (FDP) Status: limited Record updated: 2026-10-23 An FDP value combining a reclaim group identifier with a namespace-scoped placement handle that maps to a reclaim unit handle. Note: The placement identifier supplements the logical block address; it does not replace it or directly name a NAND page. [base] Namespace mappings mean that a placement handle number must not be assumed equal to the controller's RUH identifier. [nvm] Use reported status descriptors rather than assuming every namespace exposes the same identifiers. [xnvme] The identifier is 16 bits wide. With RGIF cleared to 0h, all 16 bits form the placement handle; otherwise the RGIF most-significant bits hold the reclaim group identifier and the remaining low bits the handle. A configuration with more than one reclaim group must use a non-zero RGIF, and an unusable value can be logged as FDP event type 03h. [base] A write carries the identifier in the 16-bit Directive Specific field, bits 31:16 of Command Dword 13, with the Data Placement directive type. [nvm] Advantages: - Encoding the group in the identifier lets one write select both a reclaim group and a handle without a separate command. (sources: [base]) Limitations: - Available identifiers and mappings are configuration-dependent, not universal constants. (sources: [nvm], [xnvme]) - A raw identifier cannot be split into group and handle without knowing the RGIF value of the configuration in use. (sources: [base]) Sources and caveats: - base is NVMe Base Specification 2.1, re-read 2026-10-23 at Figures 280, 282 and 283 and the FDP event list. nvm is the NVM Command Set 1.1, re-read for the DSPEC field. - The hot-cold-data-separation entry links here because placement identifiers are the host's way to steer data of different lifetimes into separate reclaim units. Related terms: - [nvme-fdp](https://hesela.dev/terms/nvme-fdp/) - [nvme-reclaim-unit](https://hesela.dev/terms/nvme-reclaim-unit/) - [nvme-reclaim-unit-handle](https://hesela.dev/terms/nvme-reclaim-unit-handle/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) Citations: - [base] NVM Express Base Specification 2.1 (5 August 2024), sections 1.5.73-74 and 1.5.82-84: FDP terminology. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.1-2024.08.05-Ratified.pdf (accessed 2026-10-23) - [nvm] NVM Express NVM Command Set Specification 1.1 (5 August 2024), section 3.2.1.1 Figure 20 and section 4.1.6 Figure 125. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.1-2024.08.05-Ratified.pdf (accessed 2026-10-23) - [xnvme] xNVMe v0.7.5 tutorial: Flexible Data Placement, log pages and feature controls. https://xnvme.io/tutorial/fdp/index.html (accessed 2026-10-12) ### NVMe Physical Region Page URL: https://hesela.dev/terms/nvme-prp/ Also known as: NVMe PRP, Physical Region Page Status: shipping Record updated: 2026-10-17 An NVMe Physical Region Page entry identifies a memory page or page portion used to transfer a command's data buffer. Note: For ordinary PRP-based Read and Write commands, PRP1 can start within the first memory page. When PRP1 alone is insufficient, PRP2 identifies a second data page or a list of additional page addresses [nvme-1-0e]. The page is transfer memory, not NAND geometry. With a 4 KiB controller memory page, an 8 KiB transfer starting at offset zero spans two pages; at offset 512 it spans three and needs a PRP list. This is address-span arithmetic, not a speed measurement [linux-pci]. On PCIe, buffer pointers contain device-visible DMA addresses, which an IOMMU can translate; an application pointer is not directly interchangeable with them [linux-dma]. List storage is separate: the initial list pointer may be 8-byte aligned within a page; later list pages are page-aligned. A page-aligned 4 KiB list has 512 slots, but a non-final list spends one on a link, leaving 511 data addresses. A nonzero starting offset reduces its slots [nvme-base-2-0a]. Sources and caveats: - The Read/Write rules are checked in NVMe 1.0e; Linux v6.12 independently shows the first-page remainder and list construction [nvme-1-0e] [linux-pci]. - The 4 KiB example is illustrative, not a universal page-size requirement or a hardware test. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-sgl](https://hesela.dev/terms/nvme-sgl/) Citations: - [nvme-1-0e] NVM Express 1.0e: revision history and PRP-based Read/Write; copyright 2007-2014 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-1_0e.pdf (accessed 2026-10-17) - [nvme-base-2-0a] NVM Express Base 2.0a, sections 2 and 4.1; copyright 2007-2021 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVMe-NVM-Express-2.0a-2021.07.26-Ratified.pdf (accessed 2026-10-17) - [linux-pci] Linux v6.12: NVMe PCIe data mapping and PRP/SGL construction. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/pci.c (accessed 2026-10-17) - [linux-dma] Linux 6.12: Dynamic DMA mapping guide, CPU and DMA addresses. https://docs.kernel.org/6.12/core-api/dma-api-howto.html (accessed 2026-10-17) - [hesela-nvme] Hesela: NVM Express technology card. https://hesela.com/tech/nvme/ (accessed 2026-10-17) ### NVMe/RDMA URL: https://hesela.dev/terms/nvme-rdma/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: NVMe over RDMA Status: shipping Record updated: 2026-11-09 NVMe/RDMA is an NVMe transport binding that uses reliable RDMA queue pairs for capsule delivery and direct data placement. Note: Transport scope: The binding supports RDMA providers such as InfiniBand, RoCE and iWARP. It excludes unreliable queue-pair modes [rdma]. Layering: iWARP operates over TCP/IP, but it still carries the NVMe/RDMA binding rather than NVMe/TCP. Requirements of one provider must not be attributed to every RDMA network [rdma]. Deployment: An RDMA implementation needs compatible adapters, drivers and memory-registration resources. Direct placement does not establish a workload-independent latency advantage [spdk]. Service addressing: TRSVCID is interpreted by RDMA connection management; it is not a universal packet destination port. Linux v6.12 uses RDMA_PS_TCP with a reliable-connected queue pair, including for a RoCE provider. That port-space name does not turn the binding into NVMe/TCP. [linux-rdma] Provider selection: RoCEv2 and iWARP are distinct wire-protocol choices under this binding. The iWARP TCP mapping includes RDMAP, DDP and MPA; TCP underneath does not make it NVMe/TCP. [iwarp-mpa] Sources and caveats: - Protocol scope is pinned to RDMA Transport 1.3. Adapter and memory-registration examples come from SPDK documentation; no transport benchmark was performed. Related terms: - [nvme-of](https://hesela.dev/terms/nvme-of/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) - [nvme-tcp](https://hesela.dev/terms/nvme-tcp/) - [nvme-fc](https://hesela.dev/terms/nvme-fc/) - [nvme-discovery-controller](https://hesela.dev/terms/nvme-discovery-controller/) - [iser](https://hesela.dev/terms/iser/) - [roce-v2](https://hesela.dev/terms/roce-v2/) - [iwarp](https://hesela.dev/terms/iwarp/) - [infiniband](https://hesela.dev/terms/infiniband/) Citations: - [rdma] NVM Express NVMe over RDMA Transport 1.3, section 2. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVMe-over-RDMA-Transport-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-10-17) - [spdk] SPDK NVMe over Fabrics target: transport support, TLS and in-band authentication. https://spdk.io/doc/nvmf.html (accessed 2026-10-17) - [linux-rdma] Linux v6.12 NVMe/RDMA host: nvme_rdma_alloc_queue and nvme_rdma_alloc_ctrl. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/rdma.c (accessed 2026-10-21) - [iwarp-mpa] RFC 5044: Marker PDU Aligned Framing for TCP, abstract and section 3. https://www.rfc-editor.org/rfc/rfc5044 (accessed 2026-10-23) ### NVMe reclaim unit handle URL: https://hesela.dev/terms/nvme-reclaim-unit-handle/ Related analysis: https://hesela.com/analyses/nvme-fdp-placement-and-limits/ Also known as: FDP reclaim unit handle, RUH Status: limited Record updated: 2026-10-23 An FDP controller resource that references one reclaim unit in each reclaim group of an endurance group. Note: A placement handle is scoped to a namespace and maps to a reclaim unit handle scoped to the endurance group. A placement identifier combines a reclaim group identifier with a placement handle, and a write carries it in the Data Placement Directive. When the RU referenced by a handle is written to capacity, the controller updates the handle to reference an empty RU, so a handle is not a fixed physical location. [base] The FDP configuration descriptor reports the number of handles in NRUH, bytes 09:08, which must be non-zero, followed by one 4-byte descriptor per handle starting at byte 64. The first byte of that descriptor gives the handle type, where 1h means Initially Isolated and 2h means Persistently Isolated. With type 1h, garbage collection may move data into an RU that also holds data written through any handle of the same type in that reclaim group. With type 2h, relocated data shares an RU only with data written through the same handle. [base] The same descriptor limits placement identifiers per namespace through MAXPIDS, bytes 11:10, a 0's based value that must be less than NRG multiplied by NRUH. In NVM Command Set 1.1, the Reclaim Unit Handle Status descriptor is 32 bytes and identifies each entry by placement identifier and handle identifier. [base] [nvm] Advantages: - Each write selects its destination through the placement identifier, so the host can separate data streams without managing physical addresses. (sources: [base]) Limitations: - Handle changes caused by a Controller Level Reset are reported as an FDP event, so the mapping from handle to RU cannot be assumed to persist across a reset. (sources: [base]) Sources and caveats: - base is the NVM Express Base Specification 2.1, read in the FDP terms, section 3.2.4, Figures 280 and 281 and the FDP event descriptions. - nvm is the NVM Command Set Specification 1.1, read in Figure 20 for the Reclaim Unit Handle Status descriptor. - Field offsets, sizes and type codes are quoted from the specifications and were not checked on a device. Related terms: - [nvme-fdp](https://hesela.dev/terms/nvme-fdp/) - [nvme-reclaim-unit](https://hesela.dev/terms/nvme-reclaim-unit/) - [nvme-placement-identifier](https://hesela.dev/terms/nvme-placement-identifier/) - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) Citations: - [base] NVM Express Base Specification 2.1 (5 August 2024), section 1.5 FDP terms, section 3.2.4, Figures 280-281 and section 5.1.12.1.31. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.1-2024.08.05-Ratified.pdf (accessed 2026-10-23) - [overview] NVM Express. Flexible Data Placement Overview, FMS 2023, slides 6-7 and 16-23. Historical architecture overview, not a current software-support matrix. https://nvmexpress.org/wp-content/uploads/FMS-2023-Flexible-Data-Placement-FDP-Overview.pdf (accessed 2026-10-12) - [samsung] Samsung. Getting Started with Flexible Data Placement, v4, sections 4.1.1 and 6.1. Vendor implementation guide. https://download.semiconductor.samsung.com/resources/white-paper/getting-started-with-fdp-v4.pdf (accessed 2026-10-12) - [nvm] NVM Express NVM Command Set Specification 1.1 (5 August 2024), section 3.2.1.1 Figure 20. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.1-2024.08.05-Ratified.pdf (accessed 2026-10-23) ### NVMe reclaim unit URL: https://hesela.dev/terms/nvme-reclaim-unit/ Related analysis: https://hesela.com/analyses/nvme-fdp-placement-and-limits/ Also known as: FDP reclaim unit, RU (FDP) Status: limited Record updated: 2026-10-23 An FDP storage abstraction within a reclaim group that the controller can physically erase independently of other reclaim units. Note: A reclaim group contains reclaim units, and a reclaim unit handle references one RU in each reclaim group into which write data is placed. An RU is a logical representation of storage that the controller can physically erase without disturbing other RUs, not a host logical-address interval or a ZNS zone. [base] An RU is referenced by at most one handle at a time, but after erasure it can return under the same or a different handle. When an RU is written to capacity, the controller points the handle at an empty RU. The FDP configuration descriptor gives the Reclaim Unit Nominal Size (RUNS) in bytes 23:16 as a size in bytes, and the Estimated Reclaim Unit Time Limit (ERUTL) in bytes 27:24 in seconds, where 0h means not reported. [base] In NVM Command Set 1.1, the Reclaim Unit Handle Status descriptor reports EARUTR, the estimated seconds the current RU may stay referenced, and RUAMW, the currently writable logical-block count. After conversion using the namespace's formatted LBA size, the amount may be smaller than RUNS because of excess defects or larger because of over-provisioned capacity. [nvm] Advantages: - Host events report when a handle moved before its RU was fully written or when the time limit expired, which makes placement changes visible to software. (sources: [base]) Limitations: - Do not substitute a nominal RU size for the currently reported remaining write capacity. (sources: [nvm]) - A Controller Level Reset or a Flush command may or may not change the reported RUAMW value. (sources: [nvm]) Sources and caveats: - base is the NVM Express Base Specification 2.1, read in the FDP terms, section 3.2.4, Figure 280 and the FDP event descriptions. - nvm is the NVM Command Set Specification 1.1, read in Figure 20 for the Reclaim Unit Handle Status descriptor. - Field offsets and units are quoted from the specifications and were not checked on a device. Related terms: - [nvme-fdp](https://hesela.dev/terms/nvme-fdp/) - [nvme-reclaim-unit-handle](https://hesela.dev/terms/nvme-reclaim-unit-handle/) - [nvme-placement-identifier](https://hesela.dev/terms/nvme-placement-identifier/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [zns](https://hesela.dev/terms/zns/) Citations: - [base] NVM Express Base Specification 2.1 (5 August 2024), section 1.5 FDP terms, section 3.2.4, Figure 280 and section 5.1.12.1.31. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.1-2024.08.05-Ratified.pdf (accessed 2026-10-23) - [nvm] NVM Express NVM Command Set Specification 1.1 (5 August 2024), section 3.2.1.1 Figure 20. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.1-2024.08.05-Ratified.pdf (accessed 2026-10-23) ### NVMe reservation persistence URL: https://hesela.dev/terms/nvme-reservation-persistence/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: NVMe PTPL, NVMe Persist Through Power Loss Status: shipping Record updated: 2026-10-16 NVMe reservation persistence determines whether a namespace retains its reservations and registrations across power loss. Note: RESCAP advertises PTPL capability; PTPLS in Reservation Report describes the current state. Capability is not proof that persistence is enabled. [libnvme-types] In nvme-cli v2.15, CPTPL 0 leaves the state unchanged, 2 disables persistence and 3 enables it. [nvme-register] These controls concern reservation metadata, not a guarantee that cached user writes reached durable media. Related terms: - [nvme-reservation](https://hesela.dev/terms/nvme-reservation/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [scsi-persistent-reservations](https://hesela.dev/terms/scsi-persistent-reservations/) - [nvme-host-identifier](https://hesela.dev/terms/nvme-host-identifier/) Citations: - [libnvme-types] libnvme v1.15: namespace reservation capabilities and reservation status data structures. https://github.com/linux-nvme/libnvme/blob/v1.15/src/nvme/types.h (accessed 2026-10-16) - [nvme-register] nvme-cli v2.15: nvme-resv-register manual. https://github.com/linux-nvme/nvme-cli/blob/v2.15/Documentation/nvme-resv-register.txt (accessed 2026-10-16) - [hesela-fencing] Storage fencing: why a lost heartbeat does not stop writes. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-10-16) ### NVMe reservation URL: https://hesela.dev/terms/nvme-reservation/ Related analysis: https://hesela.com/analyses/storage-fencing-stale-writes/ Also known as: NVMe namespace reservation Status: shipping Record updated: 2026-11-08 An NVMe reservation applies a selected host-access policy to an NVMe namespace. Note: Registration, acquisition and reporting are separate operations. The acquisition command selects among six reservation types, including registrants-only and all-registrants policies; a reservation is not synonymous with a single writer. [nvme-acquire] Reservation Report describes namespace state using controller records, so its controller count is not a unique-host count. [nvme-report] Related terms: - [namespace-nvme](https://hesela.dev/terms/namespace-nvme/) - [nvme-host-identifier](https://hesela.dev/terms/nvme-host-identifier/) - [nvme-reservation-persistence](https://hesela.dev/terms/nvme-reservation-persistence/) - [scsi-persistent-reservations](https://hesela.dev/terms/scsi-persistent-reservations/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [nvme-compare-and-write](https://hesela.dev/terms/nvme-compare-and-write/) - [nvme-namespace-write-protection](https://hesela.dev/terms/nvme-namespace-write-protection/) Citations: - [nvme-acquire] nvme-cli v2.15: nvme-resv-acquire manual. https://github.com/linux-nvme/nvme-cli/blob/v2.15/Documentation/nvme-resv-acquire.txt (accessed 2026-10-16) - [nvme-report] nvme-cli v2.15: nvme-resv-report manual. https://github.com/linux-nvme/nvme-cli/blob/v2.15/Documentation/nvme-resv-report.txt (accessed 2026-10-16) - [hesela-fencing] Storage fencing: why a lost heartbeat does not stop writes. https://hesela.com/analyses/storage-fencing-stale-writes/ (accessed 2026-10-16) ### NVMe Scatter Gather List URL: https://hesela.dev/terms/nvme-sgl/ Also known as: NVMe SGL, NVMe Scatter-Gather List Status: shipping Record updated: 2026-10-17 An NVMe Scatter Gather List describes a command's data transfer using typed descriptors for buffers or descriptor segments. Note: Address-based SGL Data Block descriptors carry a buffer address and length; other forms use offsets or transport-specific semantics. Segment descriptors locate further descriptors. Permitted forms and alignment depend on controller capabilities and transport [nvme-base-2-0a]. Linux v6.12's PCIe driver builds data-block descriptors from mapped DMA addresses and lengths, and selects PRP or SGL according to support and request characteristics [linux-pci]. One contiguous mapped segment can cover multiple memory pages; descriptor count is not queue depth. A Linux scatterlist used while mapping a request is not necessarily the NVMe SGL sent to the controller: the mapped request can instead become PRPs [linux-pci]. SGL use alone does not establish lower latency. Sources and caveats: - Descriptor semantics use NVMe Base 2.0a section 4.1.2; the Linux v6.12 example is a PCIe implementation, not a contract for all fabrics [nvme-base-2-0a] [linux-pci]. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-prp](https://hesela.dev/terms/nvme-prp/) - [controller-memory-buffer](https://hesela.dev/terms/controller-memory-buffer/) Citations: - [nvme-base-2-0a] NVM Express Base 2.0a, sections 2 and 4.1; copyright 2007-2021 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVMe-NVM-Express-2.0a-2021.07.26-Ratified.pdf (accessed 2026-10-17) - [linux-pci] Linux v6.12: NVMe PCIe data mapping and PRP/SGL construction. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/pci.c (accessed 2026-10-17) - [hesela-nvme] Hesela: NVM Express technology card. https://hesela.com/tech/nvme/ (accessed 2026-10-17) ### NVMe SMART log URL: https://hesela.dev/terms/nvme-smart-log/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: NVMe SMART / Health Information log, NVMe health log, NVMe log page 02h Status: shipping Record updated: 2026-11-08 The NVMe SMART log is the standardized log page containing controller health indicators and cumulative usage, endurance and error counters. Note: Log 02h is retrieved with Get Log Page. Critical Warning reports current conditions; Percentage Used estimates endurance consumed; error and power-loss counters count different events. Field names and warning bits depend on the implemented revision. [nvme-base-2-3-smart] Base 2.3 defines no namespace-specific information: supported per-namespace requests return the controller information. Do not sum repeated controller telemetry across namespace paths. [nvme-base-2-3-smart] Reading log 02h neither executes nor proves support for Device Self-test; its progress and results use log 06h. [base23-self-test] Temperature-exposure counters use minutes, HCTM timers seconds; Warning Composite Temperature Time may include configured hysteresis. [nvme-base-2-3-smart] For JSON collection, smartctl --json=v requests KEY_s decimal strings for potentially large counters. KEY_le can be shorter than 16 bytes; the pinned zero-value serializer makes no array assignment. Missing companions are not a device reporting status. [smartctl-json-integers] [smartctl-json-emission] A Number-only parse can lose unit increments; BigInt(value) cannot restore them. A source-aware reviver can use the original token. [json-interoperability] [json-source-reviver] Prometheus scalar samples use float64 even after exact decoding. Retain exact raw records when unit increments matter. Putting a changing count in a label creates a new series per distinct value. [prometheus-samples] Limitations: - A successful log read supplies telemetry, not a guarantee of data integrity or future availability; a zero field must be interpreted according to that field's reporting rules. (sources: [nvme-base-2-3-smart], [libnvme-health-log]) Related terms: - [smart](https://hesela.dev/terms/smart/) - [nvme](https://hesela.dev/terms/nvme/) - [nvme-percentage-used](https://hesela.dev/terms/nvme-percentage-used/) - [nvme-available-spare](https://hesela.dev/terms/nvme-available-spare/) - [nvme-critical-warning](https://hesela.dev/terms/nvme-critical-warning/) - [nvme-data-units-written](https://hesela.dev/terms/nvme-data-units-written/) - [nvme-unexpected-power-losses](https://hesela.dev/terms/nvme-unexpected-power-losses/) - [nvme-media-data-integrity-errors](https://hesela.dev/terms/nvme-media-data-integrity-errors/) - [nvme-error-information-log-entries](https://hesela.dev/terms/nvme-error-information-log-entries/) - [nvme-controller-busy-time](https://hesela.dev/terms/nvme-controller-busy-time/) - [nvme-composite-temperature](https://hesela.dev/terms/nvme-composite-temperature/) - [nvme-device-self-test](https://hesela.dev/terms/nvme-device-self-test/) - [nvme-device-self-test-log](https://hesela.dev/terms/nvme-device-self-test-log/) - [nvme-critical-composite-temperature-time](https://hesela.dev/terms/nvme-critical-composite-temperature-time/) - [host-controlled-thermal-management](https://hesela.dev/terms/host-controlled-thermal-management/) - [nvme-warning-composite-temperature-time](https://hesela.dev/terms/nvme-warning-composite-temperature-time/) - [nvme-base-spec](https://hesela.dev/terms/nvme-base-spec/) - [nvme-error-information-log](https://hesela.dev/terms/nvme-error-information-log/) - [nvme-persistent-event-log](https://hesela.dev/terms/nvme-persistent-event-log/) - [nvme-data-units-read](https://hesela.dev/terms/nvme-data-units-read/) - [nvme-host-read-commands](https://hesela.dev/terms/nvme-host-read-commands/) - [nvme-asynchronous-event-request](https://hesela.dev/terms/nvme-asynchronous-event-request/) - [nvme-commands-supported-effects](https://hesela.dev/terms/nvme-commands-supported-effects/) Citations: - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, section 5.2.12.1.3, Figure 210, printed pp. 213-217: SMART / Health Information. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-14) - [libnvme-health-log] libnvme: nvme_get_log_smart, SMART / Health Information retrieval. https://github.com/linux-nvme/libnvme/blob/master/doc/rst/ioctl.rst (accessed 2026-10-14) - [base23-self-test] NVM Express Base 2.3: sections 5.2.5, 5.2.12.1.7 and 8.1.8; Figures 174-177, 215-216 and 328. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-15) - [smartctl-json-integers] smartmontools pinned manual: --json=v exact integer companions. https://github.com/smartmontools/smartmontools/blob/fd31eef5b715c107837ae7d51465334d4d99b5da/src/smartctl.8.in#L354-L361 (accessed 2026-10-18) - [smartctl-json-emission] smartmontools pinned JSON implementation: set_unsafe_uint128 and compact little-endian arrays. https://github.com/smartmontools/smartmontools/blob/fd31eef5b715c107837ae7d51465334d4d99b5da/lib/json.cpp#L210-L234 (accessed 2026-10-18) - [json-interoperability] RFC 8259, section 6: JSON numbers and integer interoperability. https://www.rfc-editor.org/rfc/rfc8259.html#section-6 (accessed 2026-10-18) - [json-source-reviver] ECMAScript: InternalizeJSONProperty and original source text in reviver context. https://tc39.es/ecma262/multipage/structured-data.html#sec-internalizejsonproperty (accessed 2026-10-18) - [prometheus-samples] Prometheus data model: float64 scalar samples and time-series label identity. https://prometheus.io/docs/concepts/data_model/ (accessed 2026-10-19) ### NVMe submission queue URL: https://hesela.dev/terms/nvme-submission-queue/ Related article: https://hesela.com/tech/nvme/ Also known as: NVMe SQ, NVMe PCIe submission queue Status: shipping Record updated: 2026-11-16 On the NVMe PCIe path, a submission queue is a memory ring where host software places commands for a controller to consume. Note: The command ring is separate from read/write payload buffers. Host software fills free command slots and publishes a new tail position through a doorbell, which can announce several commands together [spdk]. Each I/O submission queue has an associated completion queue; several I/O submission queues may share one. The Admin queues remain one-to-one. An advancing SQHD reports consumed command slots, not completed commands [base]. SQHD is captured when the completion entry is created; the controller may have consumed more slots before the host reads that entry [base]. Weighted round-robin arbitration counts commands rather than transferred bytes. A fixed queue-priority assignment alone does not ensure a tenant's weighted bandwidth share when request sizes or competing flow counts differ. D2FQ adds dynamic selection above this mechanism [d2fq]. Sources and caveats: - The memory-ring description is PCIe-scoped; NVMe over Fabrics uses transport-specific messaging. - Historical specification and pinned implementation references describe mechanisms, not current feature coverage or measured performance. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [nvme-doorbell](https://hesela.dev/terms/nvme-doorbell/) - [nvme-prp](https://hesela.dev/terms/nvme-prp/) - [nvme-sgl](https://hesela.dev/terms/nvme-sgl/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [nvme-command-identifier](https://hesela.dev/terms/nvme-command-identifier/) - [iommu-group](https://hesela.dev/terms/iommu-group/) - [d2fq](https://hesela.dev/terms/d2fq/) Citations: - [spdk] SPDK: Submitting I/O to an NVMe Device. https://spdk.io/doc/nvme_spec.html (accessed 2026-10-20) - [base] NVM Express Base 2.0a, sections 2.1-2.2, 3.1.1, 3.3.1.2 and 3.3.3.2; copyright 2007-2021 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVMe-NVM-Express-2.0a-2021.07.26-Ratified.pdf (accessed 2026-10-20) - [d2fq] Woo et al. D2FQ: Device-Direct Fair Queueing for NVMe SSDs. FAST 2021, sections 2.3-3.1. https://files.usenix.org/s3fs-public/cdn/fast21-woo.pdf (accessed 2026-11-16) ### NVMe subsystem NQN URL: https://hesela.dev/terms/nvme-subsystem-nqn/ Also known as: Subsystem NVMe Qualified Name, SUBNQN Status: shipping Record updated: 2026-10-16 An NVMe subsystem NQN is the NVMe Qualified Name identifying an NVM subsystem, distinct from a host NQN and from individual namespace identifiers. Note: The subsystem NQN is reported in Identify Controller and is intended to remain permanent for the subsystem lifetime [nvme-base-2-0c]. libnvme models the subsystem NQN separately from the transport address, transport service and host NQN [libnvme-api]. Linux v6.12 normally uses the reported SUBNQN but can construct a compatibility value when it is missing, invalid or ignored by a device quirk [linux-v6-12]. A namespace identity must still be checked within the discovered subsystem before interpreting multipath state [hesela-ana]. The well-known discovery NQN is not a unique identity for an ordinary storage subsystem [libnvme-types]. Advantages: - Separates subsystem identity from the address of an individual transport endpoint. Limitations: - One subsystem may expose multiple namespaces, so a matching NQN alone does not identify a particular volume. - An NQN is a name, not a secret credential or proof that the target is authentic. Related terms: - [nvm-subsystem](https://hesela.dev/terms/nvm-subsystem/) - [nvme-nsid](https://hesela.dev/terms/nvme-nsid/) - [nvme-namespace-identifiers](https://hesela.dev/terms/nvme-namespace-identifiers/) - [nvme-host-identifier](https://hesela.dev/terms/nvme-host-identifier/) - [multipath-nvme](https://hesela.dev/terms/multipath-nvme/) - [nvme](https://hesela.dev/terms/nvme/) - [nvme-discovery-controller](https://hesela.dev/terms/nvme-discovery-controller/) Citations: - [nvme-base-2-0c] NVM Express Base Specification 2.0c, sections 4.5 and 4.5.1; copyright 2008-2022 NVM Express, Inc., all rights reserved. https://www.nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-2.0c-2022.10.04-Ratified.pdf (accessed 2026-10-16) - [libnvme-api] libnvme API: fabrics connection parameters and host identification. https://libnvme.readthedocs.io/en/stable/api.html (accessed 2026-10-16) - [libnvme-types] libnvme upstream types: nvmf_disc_log_entry.subnqn. https://github.com/linux-nvme/libnvme/blob/master/doc/rst/types.rst (accessed 2026-10-16) - [linux-v6-12] Linux v6.12 NVMe host core: nvme_init_subnqn and subsystem discovery. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/core.c (accessed 2026-10-16) - [hesela-ana] NVMe multipath: ANA access states and Linux path policies. https://hesela.com/analyses/nvme-multipath-ana-path-selection/ (accessed 2026-10-16) ### NVMe/TCP digest URL: https://hesela.dev/terms/nvme-tcp-digest/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: NVMe/TCP header digest, NVMe/TCP data digest, HDGST, DDGST Status: shipping Record updated: 2026-10-23 An NVMe/TCP digest is an optional CRC32C error-detection value protecting a protocol data unit's header or data after negotiation at connection establishment. Note: Header and data digests are negotiated separately through the HDGST_ENABLE and DDGST_ENABLE bits of the ICReq and ICResp PDUs, and a host that receives a digest it did not request treats the ICResp as a fatal transport error. Alignment padding is not protected by either digest; with 64-byte data alignment, a 24-byte header without a header digest is followed by 40 padding bytes. [tcp] CRCs can detect accidental alteration but cannot authenticate data against an attacker who can recompute the code. [crc] The Linux connect tool at v2.11 provides distinct header-digest, data-digest and TLS options; a requested option is not by itself evidence of the negotiated connection state. [connect] Advantages: - Header protection can be enabled without computing a data digest on every data PDU, because the two are negotiated independently. (sources: [tcp]) Limitations: - If the controller declines a requested digest, the host may still refuse or keep the connection, so the outcome depends on host policy. (sources: [tcp]) Sources and caveats: - Protocol scope: TCP Transport 1.3. No hardware error rate, cryptographic guarantee or end-to-end persistence result is inferred. - tcp was re-read 2026-10-23 at section 3.3 on digests and padding, including the 128-byte alignment ceiling and the 64-byte example. connect is nvme-connect at v2.11. - The merkle-tree entry links here because a hash tree can authenticate content against a trusted root, which a recomputable CRC cannot. Related terms: - [nvme-tcp](https://hesela.dev/terms/nvme-tcp/) - [nvme-of](https://hesela.dev/terms/nvme-of/) - [checksum](https://hesela.dev/terms/checksum/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [crc-burst-error](https://hesela.dev/terms/crc-burst-error/) Citations: - [tcp] NVM Express NVMe over TCP Transport 1.3, sections 2, 3.1, 3.2, 3.3.1.1 and 3.6. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVMe-over-TCP-Transport-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-10-23) - [crc] RFC 3385, section 10: CRCs do not protect against intentional alteration. https://www.rfc-editor.org/rfc/rfc3385.html#section-10 (accessed 2026-10-17) - [connect] nvme-cli v2.11: nvme-connect digest and TLS options. https://github.com/linux-nvme/nvme-cli/blob/v2.11/Documentation/nvme-connect.txt (accessed 2026-10-23) ### NVMe/TCP URL: https://hesela.dev/terms/nvme-tcp/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Also known as: NVMe over TCP Status: shipping Record updated: 2026-10-26 NVMe/TCP is an NVMe transport binding that carries commands, responses and data as protocol data units over TCP connections. Note: Queue mapping: An ordinary Admin or I/O connection carries one Admin or I/O submission/completion queue pair. A controller can use multiple connections. Revision 1.3 separately defines kickstart discovery connections restricted to KDReq/KDResp exchanges [tcp]. Endpoint selection: TCP discovery defaults to port 8009. I/O controllers have no default TCP port in transport revision 1.3; use the advertised transport service identifier [tcp]. Security: TLS protects the TCP channel when configured and supported. In-band authentication is a separate mechanism, and its availability depends on the host and target implementation [spdk]. Integrity: Header and data digests are CRC32C error checks, separate from authentication and encryption; see nvme-tcp-digest [tcp]. Byte-window budget: TCP receiver flow control and sender congestion control constrain a connection separately from NVMe request queue depth. A transport label alone does not establish achievable throughput [tcp-congestion]. Sources and caveats: - Transport statements use revision 1.3, ratified 31 July 2026. SPDK is an implementation example, not a universal feature matrix. Related terms: - [nvme-of](https://hesela.dev/terms/nvme-of/) - [nvme-discovery-controller](https://hesela.dev/terms/nvme-discovery-controller/) - [nvme-rdma](https://hesela.dev/terms/nvme-rdma/) - [nvme-fc](https://hesela.dev/terms/nvme-fc/) - [nvme](https://hesela.dev/terms/nvme/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [nvme-tcp-digest](https://hesela.dev/terms/nvme-tcp-digest/) - [bandwidth-delay-product](https://hesela.dev/terms/bandwidth-delay-product/) - [tcp-receive-window](https://hesela.dev/terms/tcp-receive-window/) - [tcp-congestion-window](https://hesela.dev/terms/tcp-congestion-window/) - [tcp-selective-acknowledgment](https://hesela.dev/terms/tcp-selective-acknowledgment/) Citations: - [tcp] NVM Express NVMe over TCP Transport 1.3, sections 2, 3.1, 3.2, 3.3.1.1 and 3.6. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVMe-over-TCP-Transport-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-10-17) - [spdk] SPDK NVMe over Fabrics target: transport support, TLS and in-band authentication. https://spdk.io/doc/nvmf.html (accessed 2026-10-17) - [tcp-congestion] RFC 5681: TCP Congestion Control, sections 2 and 3.1. https://www.rfc-editor.org/rfc/rfc5681.html#section-2 (accessed 2026-10-26) ### NVMe Unexpected Power Losses URL: https://hesela.dev/terms/nvme-unexpected-power-losses/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: Unexpected Power Losses, UPL, NVMe Unsafe Shutdowns, Unsafe Shutdowns, unsafe_shutdowns Status: shipping Record updated: 2026-11-13 NVMe Unexpected Power Losses is the SMART / Health Information log counter of main-power losses that meet the specification's incomplete-shutdown conditions. Note: Formerly named Unsafe Shutdowns, the field counts power loss before the controller reports ready to be powered off (CSTS.SHST = 10b), plus specified out-of-band Admin-command cases in which Ignore Shutdown permits media access during or after shutdown processing. NVMe Base 2.3 places it at bytes 144 through 159. Its definition is not limited to a missing CC.SHN notification; readiness and media shutdown state matter. [nvme-base-2-3-smart] Limitations: - This is a power-loss event count, not a count of corrupted files: an increase does not by itself prove data loss or identify its cause, while unprotected systems may suffer corruption. (sources: [nvme-changes-2-1], [nvme-base-2-3-smart]) Related terms: - [nvme-controller-shutdown](https://hesela.dev/terms/nvme-controller-shutdown/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [nvme-media-data-integrity-errors](https://hesela.dev/terms/nvme-media-data-integrity-errors/) - [nvme-error-information-log-entries](https://hesela.dev/terms/nvme-error-information-log-entries/) - [nvme-critical-warning](https://hesela.dev/terms/nvme-critical-warning/) Citations: - [nvme-changes-2-1] Changes in NVM Express Specifications (August 2024), section 1.2.23.1, p. 15: rename and revised counting conditions. https://nvmexpress.org/wp-content/uploads/NVM-Express-Revision-2.1-Changes-08_07.pdf (accessed 2026-10-14) - [nvme-base-2-3-smart] NVM Express Base Specification 2.3, section 5.2.12.1.3, Figure 210, p. 216: Unexpected Power Losses. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-14) ### NVMe volatile write cache URL: https://hesela.dev/terms/nvme-volatile-write-cache/ Related article: https://hesela.com/tech/nvme/ Also known as: NVMe VWC, Volatile Write Cache feature Status: shipping Record updated: 2026-11-13 The NVMe Volatile Write Cache feature controls whether a reported volatile write cache is enabled. Note: Presence and enable state answer different questions. Base 2.3 reports controller cache presence through Identify Controller VWCP; Get Features 06h with selection 0, 1 or 2 returns the selected WCE value. Get Features selection 0 requests the current value, while 1 and 2 request default and saved values. Selection 3 instead returns supported capabilities: bit 0 means Saveable, not Write Cache Enable. A saved-value request falls back to the default when the feature is not saveable or no saved value exists; a successful read does not prove a saved setting exists. An unsuccessful query is not a disabled-cache reading. [nvme-vwc] [nvme-get-feature] Check the namespace too. Base 2.3 defines VWCNP: when set, no volatile write cache is present for that namespace and the host should disregard controller-level VWCP for that namespace. Section 7.2 explicitly covers this distinction with Flexible Data Placement enabled. [nvme-vwc] A cache whose contents are guaranteed to reach nonvolatile storage on power loss is classified as nonvolatile for this feature. Consequently, absent VWC does not establish that a device is DRAM-less. These fields describe a protocol contract, not a physical power-cut test. [nvme-vwc] [microsoft-vwc] With a present cache disabled, Base 2.3 requires user data written to a namespace to be persistent. That is not filesystem transaction atomicity. With caching enabled, Flush covers commands completed before its submission for the specified namespaces, not merely earlier submissions. Individual writes may already be persistent. [nvme-vwc] Limitations: - Controller cache presence alone does not describe every namespace or establish end-to-end application durability. (sources: [nvme-vwc]) Related terms: - [nvme-controller-shutdown](https://hesela.dev/terms/nvme-controller-shutdown/) - [nvme](https://hesela.dev/terms/nvme/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [nvme-fdp](https://hesela.dev/terms/nvme-fdp/) Citations: - [nvme-vwc] NVM Express Base 2.3, Figures 196, 199, 328, 335, 408; sections 4.4, 5.2.11.1, 5.2.26.1.4 and 7.2. Copyright 2025 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-11-11) - [microsoft-vwc] Microsoft: NVME_CDW11_FEATURE_VOLATILE_WRITE_CACHE, enable state and protected-cache scope. https://learn.microsoft.com/en-us/windows/win32/api/nvme/ns-nvme-nvme_cdw11_feature_volatile_write_cache (accessed 2026-11-11) - [nvme-get-feature] nvme-cli v2.11: nvme-get-feature, current/default/saved selection. https://github.com/linux-nvme/nvme-cli/blob/v2.11/Documentation/nvme-get-feature.1 (accessed 2026-11-11) - [hesela-nvme] Hesela: NVM Express, commands, completion and persistence. https://hesela.com/tech/nvme/ (accessed 2026-11-11) ### NVMe Warning Composite Temperature Time URL: https://hesela.dev/terms/nvme-warning-composite-temperature-time/ Related analysis: https://hesela.com/analyses/ssd-thermal-throttling-failures/ Also known as: WCTT, warning_temp_time Status: shipping Record updated: 2026-10-16 NVMe Warning Composite Temperature Time is a cumulative health-log duration in minutes governed by composite-temperature thresholds and, in supporting revisions and configurations, temperature hysteresis. Note: Base 2.3 Figure 210 defines controller-operational time with WCTEMP <= Composite Temperature < CCTEMP when TMPTHHA is zero and includes hysteresis time when TMPTHMH and TMPTHH are nonzero. Either WCTEMP or CCTEMP being zero forces this field to zero. [base23] It is distinct from Critical Composite Temperature Time and from the HCTM action timers, which use seconds. [nvmelog] Limitations: - A zero is not proof that a drive never ran hot; this counter is neither a complete temperature history nor a failure-probability estimate. (sources: [base23], [nvmelog]) Related terms: - [nvme-composite-temperature](https://hesela.dev/terms/nvme-composite-temperature/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) - [host-controlled-thermal-management](https://hesela.dev/terms/host-controlled-thermal-management/) - [thermal-throttling-ssd](https://hesela.dev/terms/thermal-throttling-ssd/) - [nvme-critical-composite-temperature-time](https://hesela.dev/terms/nvme-critical-composite-temperature-time/) Citations: - [base23] NVM Express Base Specification 2.3: Figure 210 (pp. 214-217), temperature hysteresis section 5.2.26.1.3.1, HCTM Figure 417 (p. 410). https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-15) - [nvmelog] libnvme v1.15: nvme_smart_log field definitions (July 2025). https://github.com/linux-nvme/libnvme/blob/v1.15/doc/man/nvme_smart_log.2 (accessed 2026-10-15) ### NVMe Write Uncorrectable URL: https://hesela.dev/terms/nvme-write-uncorrectable/ Related analysis: https://hesela.com/analyses/discard-is-not-zeroing/ Also known as: Write Uncorrectable, nvme write-uncor Status: shipping Record updated: 2026-11-25 NVMe Write Uncorrectable marks a logical-block range invalid so subsequent reads report an Unrecovered Read Error until a write clears the state. Note: Invalidation changes the logical read contract; it does not demonstrate damaged flash or physical erasure. Clearing the invalid state with a later write is not recovery of the previous contents. [libnvme-uncorrectable] The 16-bit NLB field is zero-based: 0 selects one block and 65535 selects 65536 blocks, subject to namespace bounds and command limits. Under NVM Command Set 1.3, interpret WUSL with NVMWUSV: a nonzero WUSL encodes a hard data-size limit when NVMWUSV=0 and a recommended maximum data size when NVMWUSV=1. Both fields zero means unsupported; WUSL=0 with NVMWUSV=1 instead reports no recommended maximum. [nvm-cs13] An induced read error need not increase Media and Data Integrity Errors. Inclusion of Write Uncorrectable errors is optional. The counter alone therefore cannot confirm whether this command changed an LBA. [libnvme-smart] Limitations: - This state-changing command is unsuitable as a read-only health probe on live data. (sources: [libnvme-uncorrectable]) Sources and caveats: - Source review of NVM Command Set 1.3 and libnvme v1.15, not a device experiment; support rules are revision-scoped. No device command was executed. Related terms: - [nvme-write-zeroes](https://hesela.dev/terms/nvme-write-zeroes/) - [nvme-media-data-integrity-errors](https://hesela.dev/terms/nvme-media-data-integrity-errors/) - [logical-block-address](https://hesela.dev/terms/logical-block-address/) - [nvme-dulbe](https://hesela.dev/terms/nvme-dulbe/) - [discard](https://hesela.dev/terms/discard/) - [sanitize-nvme](https://hesela.dev/terms/sanitize-nvme/) - [unrecoverable-read-error](https://hesela.dev/terms/unrecoverable-read-error/) Citations: - [libnvme-uncorrectable] libnvme v1.15: nvme_write_uncorrectable API contract. https://github.com/linux-nvme/libnvme/blob/v1.15/src/nvme/ioctl.h#L4039 (accessed 2026-11-06) - [nvm-cs13] NVM Command Set 1.3, sections 3.3.7 and 4.1.5.4. Copyright 2008-2026 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-11-06) - [libnvme-smart] libnvme v1.15: nvme_smart_log.media_errors. https://github.com/linux-nvme/libnvme/blob/v1.15/src/nvme/types.h#L3495 (accessed 2026-11-06) - [hesela-discard] Hesela: command-induced read errors and deallocation. https://hesela.com/analyses/discard-is-not-zeroing/#write-uncorrectable (accessed 2026-11-06) ### NVMe Write Zeroes URL: https://hesela.dev/terms/nvme-write-zeroes/ Related analysis: https://hesela.com/analyses/discard-is-not-zeroing/ Also known as: NVMe Write Zeros Status: shipping Record updated: 2026-11-06 NVMe Write Zeroes is an NVM command for clearing logical blocks without a host-supplied zero-filled data payload. Note: For range operation (NSZ=0), NVM Command Set 1.3 ties successful completion to zero-valued subsequent successful reads until another write to that LBA range. DULBE can still cause an error after deallocation. DEAC=1 requests deallocation; DEAC=0 does not prohibit it when deallocated reads support zero values. [nvm-cs13] Linux v6.16 sets DEAC on its normal Write Zeroes path only when REQ_NOUNMAP is absent and the namespace DEAC feature (NVME_NS_DEAC) is set. Its separate controller-quirk path can instead issue Dataset Management. A block-layer operation name therefore does not uniquely identify the transmitted command. [linux-zeroes] With NSZ=1, successful completion requires checking LBACZ. LBACZ=1 identifies whole-namespace clearing, while LBACZ=0 identifies the NLB range. Error completion does not establish that nothing was cleared. These are command-result distinctions, not physical-remanence evidence. [nvm-cs13] Limitations: - Logical zero readback is not proof that hidden physical copies were erased. (sources: [wei]) Sources and caveats: - Protocol semantics from NVM Command Set 1.3 section 3.3.8, printed pages 57-61; the NSZ completion-scope supplement uses section 3.3.8.1 and Figure 88. - Linux v6.16 source inspection, not a device trace. FAST 2011 provides historical SSD-remanence evidence, not a test of NVMe Write Zeroes or contemporary drives. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [nvme-dlfeat](https://hesela.dev/terms/nvme-dlfeat/) - [nvme-dulbe](https://hesela.dev/terms/nvme-dulbe/) - [deallocated-read-behavior](https://hesela.dev/terms/deallocated-read-behavior/) - [discard](https://hesela.dev/terms/discard/) - [sanitize-nvme](https://hesela.dev/terms/sanitize-nvme/) - [nvme-write-uncorrectable](https://hesela.dev/terms/nvme-write-uncorrectable/) Citations: - [nvm-cs13] NVM Express NVM Command Set 1.3, section 3.3.8. Copyright 2008-2026 NVM Express, Inc. All rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-10-23) - [linux-zeroes] Linux v6.16: nvme_setup_write_zeroes and namespace DEAC selection. https://github.com/torvalds/linux/blob/v6.16/drivers/nvme/host/core.c (accessed 2026-10-23) - [wei] Wei et al., FAST 2011: Reliably Erasing Data From Flash-Based Solid State Drives, sections 2-3. https://www.usenix.org/legacy/events/fast11/tech/full_papers/Wei.pdf (accessed 2026-10-23) - [hesela-discard] Hesela: Write Zeroes and deallocation. https://hesela.com/analyses/discard-is-not-zeroing/#write-zeroes (accessed 2026-10-23) ### NVMe URL: https://hesela.dev/terms/nvme/ Technology reference: https://hesela.com/tech/nvme/ Also known as: NVM Express, NVMe protocol Status: shipping Record updated: 2026-11-11 Recorded firstSeen: 2011-03-01 (sources: [nvme-1-0e]) NVMe is a family of storage command and transport specifications for accessing non-volatile memory over PCIe and fabrics. Note: NVMe 1.0 was ratified on 1 March 2011; that date describes the specification, not the first commercial drive [nvme-1-0e]. For the PCIe path, a host posts commands to submission queues and consumes completion entries. Data buffers are separate from those rings and transferred by DMA; a doorbell update can submit a batch of commands [spdk-path]. PRP and SGL describe transfer buffers, not flash placement [linux-pci]. NVMe over Fabrics uses a message-based transport model, so PCIe memory-ring and doorbell details cannot be applied unchanged to every transport [nvme-base-2-0a]. A connector or form factor alone does not identify the protocol [c1]. Separate queues are not performance isolation. MQSim distinguishes real-device interference measurements from simulations of contention in internal resources; neither establishes a universal speedup for today's drives [mqsim]. Sources and caveats: - Chronology follows the revision history in NVMe 1.0e; the data-path example is explicitly PCIe-scoped [nvme-1-0e] [spdk-path]. - Historical specification versions and pinned Linux v6.12 describe mechanisms, not the newest feature set or measured performance. Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [ssd](https://hesela.dev/terms/ssd/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [m2](https://hesela.dev/terms/m2/) - [u2](https://hesela.dev/terms/u2/) - [edsff](https://hesela.dev/terms/edsff/) - [zns](https://hesela.dev/terms/zns/) - [ahci](https://hesela.dev/terms/ahci/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [sd-express](https://hesela.dev/terms/sd-express/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [direct-io](https://hesela.dev/terms/direct-io/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [nvme-device-self-test](https://hesela.dev/terms/nvme-device-self-test/) - [pcie-gen4](https://hesela.dev/terms/pcie-gen4/) - [nvme-subsystem-nqn](https://hesela.dev/terms/nvme-subsystem-nqn/) - [nvme-prp](https://hesela.dev/terms/nvme-prp/) - [nvme-sgl](https://hesela.dev/terms/nvme-sgl/) - [nvme-submission-queue](https://hesela.dev/terms/nvme-submission-queue/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [nvme-doorbell](https://hesela.dev/terms/nvme-doorbell/) - [interrupt-coalescing](https://hesela.dev/terms/interrupt-coalescing/) - [io-completion-polling](https://hesela.dev/terms/io-completion-polling/) - [inter-flow-interference](https://hesela.dev/terms/inter-flow-interference/) - [blk-mq](https://hesela.dev/terms/blk-mq/) - [nvme-phase-tag](https://hesela.dev/terms/nvme-phase-tag/) - [nvme-command-identifier](https://hesela.dev/terms/nvme-command-identifier/) - [nvme-do-not-retry](https://hesela.dev/terms/nvme-do-not-retry/) - [nvme-command-retry-delay](https://hesela.dev/terms/nvme-command-retry-delay/) - [nvme-volatile-write-cache](https://hesela.dev/terms/nvme-volatile-write-cache/) Citations: - [c1] NVM Express specifications. https://nvmexpress.org/specifications/ (accessed 2026-03-26) - [n2] NVM Express — Base Specification page (spec family overview). https://nvmexpress.org/specification/nvm-express-base-specification/ (accessed 2026-10-07) - [n3] NVM Express — NVMe overview PDF. https://nvmexpress.org/wp-content/uploads/NVMe_Overview.pdf (accessed 2026-10-07) - [nvme-1-0e] NVM Express 1.0e: revision history and PRP-based Read/Write; copyright 2007-2014 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVM-Express-1_0e.pdf (accessed 2026-10-17) - [nvme-base-2-0a] NVM Express Base 2.0a, sections 2 and 4.1; copyright 2007-2021 NVM Express, Inc., all rights reserved. https://nvmexpress.org/wp-content/uploads/NVMe-NVM-Express-2.0a-2021.07.26-Ratified.pdf (accessed 2026-10-17) - [spdk-path] SPDK: Submitting I/O to an NVMe Device. https://spdk.io/doc/nvme_spec.html (accessed 2026-10-17) - [linux-pci] Linux v6.12: NVMe PCIe data mapping and PRP/SGL construction. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/pci.c (accessed 2026-10-17) - [linux-dma] Linux 6.12: Dynamic DMA mapping guide, CPU and DMA addresses. https://docs.kernel.org/6.12/core-api/dma-api-howto.html (accessed 2026-10-17) - [hesela-nvme] Hesela: NVM Express technology card. https://hesela.com/tech/nvme/ (accessed 2026-10-17) - [mqsim] Tavakkol et al., MQSim, FAST 2018: sections 3.1, 6.1 and Appendix A. https://www.usenix.org/system/files/conference/fast18/fast18-tavakkol.pdf (accessed 2026-10-17) ### NVMKV URL: https://hesela.dev/terms/nvmkv/ Related analysis: https://hesela.com/analyses/key-value-separation-cleaning-cost/ Status: research Record updated: 2026-11-15 NVMKV is a research key-value store that maps keys into a sparse flash address space and relies on extended FTL primitives for persistence. Note: Hashing selects a virtual slot; the FTL supplies physical mapping and allocation. Unwritten virtual gaps consume address space without reserving flash capacity. This removes a separate key-to-location index, not the FTL map or every cache. [hotstorage14] The 2015 contract makes individual basic operations atomic and serializable, including operations submitted in a batch; the batch itself is not one transaction. Conditional primitives are emulated in that prototype. Its single-I/O goal is not a bound for every lookup or deletion. Pool deletion records invalidation before asynchronous reclamation. [atc15] The published library requires sparse addressing, atomic writes and persistent TRIM from its lower layer. Those requirements are not implied by an ordinary block-device interface. The pinned API declares batch get and put calls without specifying whole-batch atomicity. [library] [api] In that revision, batch reads call individual gets in sequence; batch writes can split trimming and writing into separate atomic vector calls. [implementation] [wrapper] A b-bit sector offset addresses 2^b sectors. At 512 bytes per sector, 11 bits span 1 MiB and 12 bits span 2 MiB. This arithmetic describes virtual extent size, not a maximum accepted value or physical flash reservation. [budget] Limitations: - Hash-based iteration does not preserve key order, and small records can waste space through sector rounding. (sources: [atc15]) - The pinned API declares a 1,047,552-byte value ceiling (1 MiB minus 1 KiB). Its README specifies 1 MiB minus one block for 2 KiB or 4 KiB block configurations. (sources: [api], [library]) Sources and caveats: - Source review of historical prototypes and a pinned API, not an executed NVMKV benchmark or crash-recovery test. - ATC15 evaluated two ioMemory systems and omitted YCSB workload E. Its throughput comparisons are not forecasts for current SSDs. [atc15] - ATC15 section 5.1 labels 11 sector-offset bits at 512 bytes as 2 MB; multiplication gives 1,048,576 bytes (1 MiB). This does not establish the implementation's value limit. [atc15] [budget] Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [flashstore](https://hesela.dev/terms/flashstore/) - [skimpystash](https://hesela.dev/terms/skimpystash/) - [fawn-ds](https://hesela.dev/terms/fawn-ds/) - [key-value-separation](https://hesela.dev/terms/key-value-separation/) Citations: - [atc15] Marmol et al. NVMKV: A Scalable, Lightweight, FTL-aware Key-Value Store. USENIX ATC 2015, sections 5, 7 and 9. https://www.usenix.org/system/files/conference/atc15/atc15-paper-marmol.pdf (accessed 2026-11-14) - [hotstorage14] Marmol et al. NVMKV: A Scalable and Lightweight Flash Aware Key-Value Store. HotStorage 2014, sections 2-3. https://www.usenix.org/system/files/conference/hotstorage14/hotstorage14-paper-marmol.pdf (accessed 2026-11-14) - [library] OpenNVM NVMKV library README, revision 1cebb5d713aa9043a1cd9eb661bfbcdb73b7f006. https://github.com/opennvm/nvmkv/blob/1cebb5d713aa9043a1cd9eb661bfbcdb73b7f006/README.md (accessed 2026-11-15) - [api] OpenNVM API: value-size constant and batch declarations, revision 1cebb5d713aa9043a1cd9eb661bfbcdb73b7f006. https://github.com/opennvm/nvmkv/blob/1cebb5d713aa9043a1cd9eb661bfbcdb73b7f006/include/nvm_kv.h (accessed 2026-11-15) - [implementation] OpenNVM store manager: batch read loop and split trim/write path, revision 1cebb5d713aa9043a1cd9eb661bfbcdb73b7f006. https://github.com/opennvm/nvmkv/blob/1cebb5d713aa9043a1cd9eb661bfbcdb73b7f006/src/kv_store_mgr.cpp (accessed 2026-11-15) - [wrapper] OpenNVM write wrapper: atomic vector dispatch, revision 1cebb5d713aa9043a1cd9eb661bfbcdb73b7f006. https://github.com/opennvm/nvmkv/blob/1cebb5d713aa9043a1cd9eb661bfbcdb73b7f006/src/kv_wrappers.cpp#L23-L37 (accessed 2026-11-14) - [budget] Hesela: exact virtual sector-address arithmetic, with executable checks. https://hesela.dev/research/nvmkv-address-budget.json (accessed 2026-11-14) ### Non-volatile random-access memory URL: https://hesela.dev/terms/nvram/ Related article: https://hesela.com/tech/enterprise-ssd/ Also known as: NVRAM, nonvolatile RAM Status: shipping Record updated: 2026-11-15 NVRAM is random-access memory whose protected contents can survive loss of the system's normal power supply. Note: Retention may come from nonvolatile media or auxiliary power, including batteries or an uninterruptible power supply. NVRAM therefore describes a retention property, not one cell technology. [snia-nvram] Interface: The label alone does not establish the byte-addressable, low-latency interface associated with persistent memory. These concepts can overlap, but they are not interchangeable interface specifications. [snia-pmem] Protection: Identify the protected buffers and recovery mechanism. In an NVMEM-to-flash design, completing the emergency copy depends on functional, sufficiently charged backup power. Protection of acknowledged device writes does not reach data still held only by an application or client cache. [ontap-outage] Sources and caveats: - SNIA defines the general term. The ONTAP NVMEM-to-flash example illustrates one implementation, not a requirement for every NVRAM device. [snia-nvram] [ontap-outage] - The interface distinction is a comparison of the two SNIA definitions, not a claim that NVRAM and persistent memory are disjoint categories. [snia-nvram] [snia-pmem] Related terms: - [nvdimm-n](https://hesela.dev/terms/nvdimm-n/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [ontap-consistency-point](https://hesela.dev/terms/ontap-consistency-point/) - [foedus](https://hesela.dev/terms/foedus/) Citations: - [snia-nvram] SNIA Dictionary: non-volatile random access memory. https://www.snia.org/education/online-dictionary/term/non-volatile-random-access-memory (accessed 2026-10-28) - [snia-pmem] SNIA Dictionary: persistent memory. https://www.snia.org/education/online-dictionary/term/persistent-memory (accessed 2026-10-28) - [ontap-outage] NetApp ONTAP 9: unexpected power outage, NVRAM/NVMEM protection and application boundaries. https://kb.netapp.com/on-prem/ontap/Ontap_OS/OS-KBs/What_happens_to_ONTAP_during_an_unexpected_power_outage_and_what_data_protection_can_be_expected (accessed 2026-10-28) ### O_APPEND URL: https://hesela.dev/terms/o-append/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: append mode Status: shipping Record updated: 2026-11-11 O_APPEND is a file-status flag that combines positioning at the current end of a file with each write as one atomic operation. Note: The status flag belongs to the open file description, so duplicated descriptors share it. Linux documents races when concurrent append is simulated on NFS; do not transfer a local-file guarantee to every network mount. [open-api] RWF_APPEND requests append for one pwritev2 operation; its supplied offset does not select the write position, while offset -1 also updates the current offset. [readv-api] Advantages: - Avoids a separate seek-to-end followed by write for an append operation. Limitations: - Does not make a multi-call record indivisible or request durable completion. - Short writes still require byte-count accounting and a concurrency policy. Related terms: - [pwrite](https://hesela.dev/terms/pwrite/) - [short-write](https://hesela.dev/terms/short-write/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [o-sync](https://hesela.dev/terms/o-sync/) - [advisory-file-lock](https://hesela.dev/terms/advisory-file-lock/) - [rwf-append](https://hesela.dev/terms/rwf-append/) - [rwf-noappend](https://hesela.dev/terms/rwf-noappend/) Citations: - [open-api] Linux man-pages 6.19: open(2), O_APPEND and open file descriptions. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-17) - [readv-api] Linux man-pages 6.19: readv(2), RWF_APPEND and RWF_NOAPPEND. https://man7.org/linux/man-pages/man2/readv.2.html (accessed 2026-10-17) - [write-api] Linux man-pages 6.19: write(2), partial writes and errors. https://man7.org/linux/man-pages/man2/write.2.html (accessed 2026-10-17) - [hesela-publication] Hesela: Atomic rename is not a durable commit. https://hesela.com/analyses/atomic-rename-directory-durability/ (accessed 2026-10-17) ### O_DSYNC URL: https://hesela.dev/terms/o-dsync/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: synchronized I/O data integrity completion Status: shipping Record updated: 2026-11-12 O_DSYNC is an open-file status flag requiring write operations to complete with synchronized I/O data integrity, covering data and the metadata needed to retrieve it. Note: A file-length extension is retrieval-critical; a timestamp-only update is not. Linux compares O_DSYNC write completion to a write followed by fdatasync, not to a metadata-free write. [open-api] Handle a short write using its returned byte count; the flag does not promise that one call transfers the entire requested application record. [write-api] Like fdatasync, it is not a replacement for the containing directory's synchronization when name persistence matters. [fsync-api] Configuration: Linux F_SETFL leaves O_SYNC and O_DSYNC unchanged, even when fcntl returns success. Choose the required mode when opening the file, then inspect it with F_GETFL. The Linux v6.12 setfl implementation preserves these bits outside its mutable-flag mask. [setfl-api] [setfl-linux] Per-write option: pwritev2 RWF_SYNC and RWF_DSYNC request the corresponding synchronized completion for the written range, without changing the descriptor's mode. Check returned bytes and errors; neither flag supplies failure atomicity. [pwritev2-api] Advantages: - Can avoid synchronization of metadata not required for data retrieval. Limitations: - Does not guarantee lower latency than O_SYNC on every filesystem. - Does not provide crash-atomic writes or a multi-file transaction. - Does not imply direct I/O or page-cache bypass. Related terms: - [o-sync](https://hesela.dev/terms/o-sync/) - [fdatasync](https://hesela.dev/terms/fdatasync/) - [fsync](https://hesela.dev/terms/fsync/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [direct-io](https://hesela.dev/terms/direct-io/) - [short-write](https://hesela.dev/terms/short-write/) - [rwf-atomic](https://hesela.dev/terms/rwf-atomic/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [rwf-dsync](https://hesela.dev/terms/rwf-dsync/) - [o-rsync](https://hesela.dev/terms/o-rsync/) Citations: - [open-api] Linux man-pages 6.19: open(2), O_SYNC and O_DSYNC. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-15) - [write-api] POSIX.1-2024: write(), synchronized I/O and partial writes. https://pubs.opengroup.org/onlinepubs/9799919799/functions/write.html (accessed 2026-10-15) - [fsync-api] Linux man-pages 6.19: fsync(2), metadata and directory synchronization. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-15) - [hesela-fsync] Hesela: Why retrying a failed fsync does not prove durability. https://hesela.com/analyses/fsync-failure-retry-durability/ (accessed 2026-10-15) - [setfl-api] Linux man-pages 6.19: F_GETFL and F_SETFL, unchanged synchronization flags. https://man7.org/linux/man-pages/man2/F_SETFL.2const.html (accessed 2026-11-05) - [setfl-linux] Linux v6.12: fs/fcntl.c, SETFL_MASK and setfl(). https://github.com/torvalds/linux/blob/v6.12/fs/fcntl.c#L35-L83 (accessed 2026-11-05) - [hesela-atomic] Hesela: Linux atomic writes and synchronization configuration. https://hesela.com/analyses/linux-atomic-writes-durability/#sync-configuration (accessed 2026-11-05) - [pwritev2-api] Linux man-pages 6.19: pwritev2(), per-write synchronization flags. https://man7.org/linux/man-pages/man2/pwritev2.2.html (accessed 2026-11-05) ### O_PATH URL: https://hesela.dev/terms/o-path/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: O_PATH descriptor Status: shipping Record updated: 2026-11-04 O_PATH is a Linux open flag that returns a filesystem-object reference without opening the object for ordinary data access. Note: The descriptor supports fstat(), duplication and, for a directory, relative openat() calls. It cannot supply file data or synchronize storage: read(), write(), mmap() and fsync() fail with EBADF, including fsync() on a directory reference. Acquiring it requires path-prefix search permission, not permissions on the final object; subsequent operations may perform their own checks. [linux-open-2] With O_NOFOLLOW, the descriptor can hold the final symlink itself for operations such as readlinkat() with an empty pathname. It does not hold that link's referent. [linux-symlink-7] A held reference remains associated with its object through pathname replacement. That lifetime guarantee is separate from namespace locking or preserving a version of file contents: another authorized writer can still modify the held file. [linux-path-lookup] Advantages: - Provides a reference for metadata inspection or directory-relative lookup without requesting ordinary data access. Limitations: - Linux-specific; an O_PATH descriptor is not a readable backup stream or a content snapshot. - A directory reference alone does not confine later lookup beneath that directory. Sources and caveats: - API source review. Reference lifetime, data-access permission and content consistency are separate properties; no crash-recovery guarantee is inferred. Related terms: - [path-resolution](https://hesela.dev/terms/path-resolution/) - [symbolic-link](https://hesela.dev/terms/symbolic-link/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) Citations: - [linux-open-2] Linux man-pages: open(2), O_PATH operations and permission checks. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-11-04) - [linux-symlink-7] Linux man-pages: symlink(7), descriptors referring to links. https://man7.org/linux/man-pages/man7/symlink.7.html (accessed 2026-11-04) - [linux-path-lookup] Linux v6.12: Pathname lookup, dentry references and locking. https://www.kernel.org/doc/html/v6.12/filesystems/path-lookup.html (accessed 2026-11-04) ### O_RSYNC URL: https://hesela.dev/terms/o-rsync/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Status: limited Record updated: 2026-11-22 O_RSYNC is a POSIX open-file flag that extends the O_DSYNC or O_SYNC integrity-completion requirement to read operations. Note: POSIX.1-2024 pairs O_RSYNC with O_DSYNC for data-integrity completion or with O_SYNC for file-integrity completion. These are synchronized-read requirements, not merely a promise that read() blocks until it returns. [posix-open] [posix-read] For data-integrity completion, pending writes affecting the requested data at the time of the read request must complete successfully before that data is read. File-integrity completion additionally covers the file attributes associated with the operation. This does not specify a transaction or snapshot across later concurrent updates. [posix-definitions] Linux man-pages 6.19 documents O_SYNC and O_DSYNC but states that Linux does not implement O_RSYNC. The generic glibc 2.39 Linux header aliases O_RSYNC to O_SYNC unless an architecture-specific __O_RSYNC is defined. A defined macro, successful open, or matching F_GETFL bit therefore does not establish POSIX synchronized-read support. Do not use an O_RSYNC-labelled Linux read as evidence that pending writes reached durable storage. [linux-open] [glibc-flags] Limitations: - The POSIX flag name and an implementation's supported completion semantics must be checked separately. - Synchronized completion is not an independent comparison against expected file contents. Sources and caveats: - Status reflects implementation-dependent availability: a POSIX specification does not establish Linux support. - Source review of POSIX.1-2024, Linux man-pages 6.19 and the glibc 2.39 header; no device-fault injection, power-loss test or performance measurement. Related terms: - [o-dsync](https://hesela.dev/terms/o-dsync/) - [o-sync](https://hesela.dev/terms/o-sync/) - [fdatasync](https://hesela.dev/terms/fdatasync/) - [fsync](https://hesela.dev/terms/fsync/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [data-durability](https://hesela.dev/terms/data-durability/) Citations: - [posix-open] POSIX.1-2024: open(), O_RSYNC and synchronized I/O flags. https://pubs.opengroup.org/onlinepubs/9799919799/functions/open.html (accessed 2026-11-22) - [posix-read] POSIX.1-2024: read(), O_RSYNC with O_DSYNC or O_SYNC. https://pubs.opengroup.org/onlinepubs/9799919799/functions/read.html (accessed 2026-11-22) - [posix-definitions] POSIX.1-2024: definitions 3.368-3.371, integrity completion and synchronous I/O. https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap03.html#tag_03_368 (accessed 2026-11-22) - [linux-open] Linux man-pages 6.19: open(2), synchronized I/O and the unimplemented O_RSYNC flag. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-11-22) - [glibc-flags] glibc 2.39: Linux fcntl header, conditional O_RSYNC alias. https://github.com/bminor/glibc/blob/glibc-2.39/sysdeps/unix/sysv/linux/bits/fcntl-linux.h (accessed 2026-11-22) ### O_SYNC URL: https://hesela.dev/terms/o-sync/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: synchronized I/O file integrity completion Status: shipping Record updated: 2026-11-12 O_SYNC is an open-file status flag requiring write operations to complete with synchronized I/O file integrity, covering data and associated file metadata. Note: On Linux this provides the completion semantics of a write followed by fsync, whereas O_DSYNC requires only the metadata needed to retrieve the data. Neither flag requires O_DIRECT or means the page cache is bypassed. [open-api] A positive write result can be shorter than requested: check the returned byte count as well as errors before declaring the application record complete. [write-api] File synchronization does not by itself establish persistence of a newly created directory entry. [fsync-api] Configuration: Linux F_SETFL leaves O_SYNC and O_DSYNC unchanged, even when fcntl returns success. Choose the required mode when opening the file, then inspect it with F_GETFL. The Linux v6.12 setfl implementation preserves these bits outside its mutable-flag mask. [setfl-api] [setfl-linux] Per-write option: pwritev2 RWF_SYNC and RWF_DSYNC request the corresponding synchronized completion for the written range, without changing the descriptor's mode. Check returned bytes and errors; neither flag supplies failure atomicity. [pwritev2-api] Advantages: - Requests file-integrity completion as part of each write operation. Limitations: - Does not make multiple writes or files one atomic transaction. - Does not repair earlier failed writes. - Metadata synchronization can add work; no universal latency benefit is implied. Related terms: - [o-dsync](https://hesela.dev/terms/o-dsync/) - [fdatasync](https://hesela.dev/terms/fdatasync/) - [fsync](https://hesela.dev/terms/fsync/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [direct-io](https://hesela.dev/terms/direct-io/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [rwf-sync](https://hesela.dev/terms/rwf-sync/) - [o-rsync](https://hesela.dev/terms/o-rsync/) Citations: - [open-api] Linux man-pages 6.19: open(2), O_SYNC and O_DSYNC. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-15) - [write-api] POSIX.1-2024: write(), synchronized I/O and partial writes. https://pubs.opengroup.org/onlinepubs/9799919799/functions/write.html (accessed 2026-10-15) - [fsync-api] Linux man-pages 6.19: fsync(2), metadata and directory synchronization. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-10-15) - [hesela-fsync] Hesela: Why retrying a failed fsync does not prove durability. https://hesela.com/analyses/fsync-failure-retry-durability/ (accessed 2026-10-15) - [setfl-api] Linux man-pages 6.19: F_GETFL and F_SETFL, unchanged synchronization flags. https://man7.org/linux/man-pages/man2/F_SETFL.2const.html (accessed 2026-11-05) - [setfl-linux] Linux v6.12: fs/fcntl.c, SETFL_MASK and setfl(). https://github.com/torvalds/linux/blob/v6.12/fs/fcntl.c#L35-L83 (accessed 2026-11-05) - [hesela-atomic] Hesela: Linux atomic writes and synchronization configuration. https://hesela.com/analyses/linux-atomic-writes-durability/#sync-configuration (accessed 2026-11-05) - [pwritev2-api] Linux man-pages 6.19: pwritev2(), per-write synchronization flags. https://man7.org/linux/man-pages/man2/pwritev2.2.html (accessed 2026-11-05) ### O_TMPFILE URL: https://hesela.dev/terms/o-tmpfile/ Related analysis: https://hesela.com/analyses/tmpfile-publication-rename-contracts/ Also known as: Unnamed temporary file Status: shipping Record updated: 2026-10-23 O_TMPFILE is a Linux open flag that creates an unnamed regular file in a directory's filesystem, discarded on last close unless it is linked. Note: Available since Linux 3.11, O_TMPFILE takes a directory path and must be combined with O_RDWR or O_WRONLY, and the mode argument sets permissions as with O_CREAT. Data written is lost when the last descriptor closes unless the file is given a name with linkat(2). Adding O_EXCL prevents later linking, rather than selecting no-overwrite publication. [open] Support depends on the filesystem. The initial implementation covered ext2, ext3, ext4, UDF, Minix and tmpfs, followed by XFS in Linux 3.15, Btrfs and F2FS in 3.16 and ubifs in 4.9. A kernel without the feature reports EISDIR or ENOENT, and a filesystem without it reports EOPNOTSUPP, so a support probe has to distinguish all three. [open] An ordinary file unlinked while open is not equivalent. Its descriptor can retain readable data, but linking the /proc/self/fd entry of a deleted file fails with ENOENT, as does linking one created with O_TMPFILE | O_EXCL. O_TMPFILE without O_EXCL is a specific exception to the zero-link restriction, not a general undelete mechanism. After publication the inode is subject to ordinary link limits, for example 65,000 links on ext4 without dir_index. [link] Advantages: - Creation is race-free and not subject to symlink attacks, and no unique temporary name has to be devised. (sources: [open]) - A file can be populated and given ownership, mode and extended attributes before any pathname can reach it. (sources: [open]) Limitations: - Linking through AT_EMPTY_PATH requires CAP_DAC_READ_SEARCH, and the unprivileged alternative depends on a mounted proc filesystem. (sources: [open], [link]) - Publication with linkat(2) fails with EEXIST when the target name already exists, so replacing an existing file needs another step. (sources: [link]) Sources and caveats: - open is the Linux man-pages 6.19 open(2) page, re-read for O_TMPFILE flags, linking, filesystem support history and error codes. - link is the Linux man-pages 6.19 link(2) page, re-read for the zero-link exception, ENOENT and EEXIST cases and link limits. - The local ext4 probe measured zero links before O_TMPFILE publication, preserved inode identity after publication, and rejected relinking an ordinary unlinked file; no power-loss recovery was tested. [observation] - The rename-exchange entry links here because exchanging names and linking an unnamed file are alternative ways to publish a fully prepared file. Related terms: - [hard-link](https://hesela.dev/terms/hard-link/) - [inode](https://hesela.dev/terms/inode/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [rename-noreplace](https://hesela.dev/terms/rename-noreplace/) - [rename-exchange](https://hesela.dev/terms/rename-exchange/) Citations: - [open] Linux man-pages 6.19: open(2), O_TMPFILE, filesystem support and errors. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-23) - [link] Linux man-pages 6.19: link(2), zero-link exception, ENOENT and EEXIST. https://man7.org/linux/man-pages/man2/link.2.html (accessed 2026-10-23) - [observation] Hesela: unnamed-file publication observation. https://hesela.com/analyses/tmpfile-publication-rename-contracts/#observation (accessed 2026-10-17) ### Object key prefix URL: https://hesela.dev/terms/object-key-prefix/ Related analysis: https://hesela.com/analyses/object-etags-checksums-conditional-writes/ Also known as: key prefix, object prefix, S3 prefix Status: shipping Record updated: 2026-11-12 An object key prefix is an initial string used to select or organize object keys. Note: S3 general-purpose bucket listings match keys that start with the supplied prefix; the match need not end at a slash. A prefix is not itself a directory or a separately stored parent object. [s3-prefixes] A delimiter groups deeper matches into CommonPrefixes. Each group consumes one MaxKeys result slot, and its member objects are not also returned individually in that response. Group counts are therefore not descendant-object counts. [s3-list-v2] Folder creation in the S3 console writes a zero-byte marker, but shared prefixes can produce folder views without that marker. A slash-ending key alone does not establish a zero-byte payload. [s3-folders] S3 directory buckets use a different, hierarchical namespace. Their non-empty ListObjectsV2 prefixes must end in a slash, and the only supported delimiter is a slash. [s3-directory-buckets] [s3-list-v2] CLI output limits are a separate pagination layer. Disabling the screen pager does not disable service traversal; a displayed page is not an inventory boundary. [aws-cli-pagination] Advantages: - Prefix filtering and delimiter grouping support browsing a selected portion of a namespace. (sources: [s3-prefixes]) Limitations: - A grouped listing is not a complete inventory of the objects inside each returned group. (sources: [s3-list-v2]) Related terms: - [object-key](https://hesela.dev/terms/object-key/) - [object-storage](https://hesela.dev/terms/object-storage/) - [object-list-pagination](https://hesela.dev/terms/object-list-pagination/) Citations: - [s3-prefixes] Amazon S3: Organizing objects using prefixes and delimiters. https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html (accessed 2026-10-28) - [s3-list-v2] Amazon S3 API: ListObjectsV2, grouping and continuation. https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html (accessed 2026-10-28) - [s3-folders] Amazon S3: Console folders and zero-byte marker objects. https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html (accessed 2026-10-28) - [s3-directory-buckets] Amazon S3: Directory buckets and hierarchical namespaces. https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html (accessed 2026-10-28) - [aws-cli-pagination] AWS CLI v2: service pagination and the client-side pager. https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-pagination.html (accessed 2026-11-12) ### Object key URL: https://hesela.dev/terms/object-key/ Related analysis: https://hesela.com/analyses/object-etags-checksums-conditional-writes/ Also known as: object key name, S3 object key Status: shipping Record updated: 2026-10-28 An object key is the name used to address an object within an object-storage bucket. Note: In S3, the case-sensitive key is the complete name, including prefixes and delimiters. Its limit is 1,024 bytes in UTF-8, not a fixed character count. [s3-keys] The bucket supplies the key's namespace; a version ID additionally selects a stored version when S3 versioning applies. A key is not a checksum or a version identifier. [s3-identity] In S3 general-purpose buckets, a slash can support folder-like presentation without making the key a filesystem path. S3 separately provides a hierarchical namespace for directory buckets; do not generalize the flat model to every bucket type. [s3-folders] [s3-directory-buckets] ListObjectsV2 can percent-encode returned names with encoding-type=url. Treat that response representation separately from the key: report%252Ffinal decodes once to report%2Ffinal, not report/final. Check whether a client has already decoded the response before decoding it. [s3-list-v2] [uri-percent-decoding] Advantages: - A bucket and exact key identify the object name independently of its presentation as folders. (sources: [s3-identity], [s3-folders]) Limitations: - Path normalization by a client can change the key sent to S3 when it contains standalone dot or dot-dot segments. (sources: [s3-keys]) Related terms: - [object-storage](https://hesela.dev/terms/object-storage/) - [object-key-prefix](https://hesela.dev/terms/object-key-prefix/) - [object-version-id](https://hesela.dev/terms/object-version-id/) - [entity-tag](https://hesela.dev/terms/entity-tag/) Citations: - [s3-keys] Amazon S3: Naming objects, case, UTF-8 length and full keys. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html (accessed 2026-10-28) - [s3-identity] Amazon S3: Keys and version-specific identity. https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html#BasicsKeys (accessed 2026-10-28) - [s3-folders] Amazon S3: Console folders and zero-byte marker objects. https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html (accessed 2026-10-28) - [s3-directory-buckets] Amazon S3: Directory buckets and hierarchical namespaces. https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html (accessed 2026-10-28) - [s3-list-v2] Amazon S3 API: ListObjectsV2, response encoding and fields. https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html (accessed 2026-10-28) - [uri-percent-decoding] RFC 3986, section 2.4: When to Encode or Decode. https://www.rfc-editor.org/rfc/rfc3986.html#section-2.4 (accessed 2026-10-28) ### Object-list pagination URL: https://hesela.dev/terms/object-list-pagination/ Related analysis: https://hesela.com/analyses/object-etags-checksums-conditional-writes/ Also known as: paginated object listing, object listing pagination Status: shipping Record updated: 2026-11-12 Object-list pagination divides a selected object listing into multiple responses that a client traverses using the interface's continuation rules. Note: For S3 ListObjectsV2, IsTruncated=true requires continuation with NextContinuationToken as the next request's ContinuationToken. MaxKeys is an upper bound, not a completion signal: inspect IsTruncated even when fewer keys are returned. This opaque token is not an object key; StartAfter is a separate key-based selector. [s3-list-v2] In a flat CLI v2 list-objects-v2 listing without a delimiter, --page-size controls service-call size, while --max-items caps command output. Resume CLI output with NextToken and --starting-token, not by passing that CLI token directly to another interface. [s3-cli-list-v2] --no-paginate stops automatic traversal after one service request; --no-cli-pager only disables the output display program. Neither a screenful nor a capped command output establishes complete listing coverage. [aws-cli-pagination] Delimiter grouping changes which results represent individual objects; version listings use their own continuation protocol. See object-key-prefix and object-version-id. This definition describes traversal, not checksum verification or a multi-request snapshot guarantee. [s3-list-v2] Advantages: - Allows clients to traverse listings without requiring one unbounded service response. (sources: [s3-list-v2]) Limitations: - Continuation tokens belong to their interface; service and CLI output limits are not interchangeable. (sources: [s3-cli-list-v2]) Sources and caveats: - CLI behavior refers to AWS CLI v2 documentation, not a live service test. Related terms: - [object-key-prefix](https://hesela.dev/terms/object-key-prefix/) - [object-version-id](https://hesela.dev/terms/object-version-id/) Citations: - [s3-list-v2] Amazon S3 API: ListObjectsV2, continuation and result grouping. https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html (accessed 2026-11-12) - [s3-cli-list-v2] AWS CLI v2: list-objects-v2, output limits and CLI tokens. https://docs.aws.amazon.com/cli/latest/reference/s3api/list-objects-v2.html (accessed 2026-11-12) - [aws-cli-pagination] AWS CLI v2: service pagination and the client-side pager. https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-pagination.html (accessed 2026-11-12) ### Object lock URL: https://hesela.dev/terms/object-lock/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: S3 Object Lock, Object retention lock Status: shipping Record updated: 2026-10-20 An object lock enforces retention restrictions on a specified object version through a retention policy or hold. Note: S3 requires versioning; enabling Object Lock and protecting a particular version are distinct configuration steps. [configure] Its retention API distinguishes GOVERNANCE and COMPLIANCE and includes event-hold settings for variable retention; do not assume every retention date was fixed at upload. [retentionapi] Bucket defaults assign retention to new versions rather than rewriting existing ones. Inspect the intended version's own retention metadata; bucket configuration alone does not demonstrate its protection. [s3-existing-retention] [s3-get-retention] Advantages: - A protected version survives a new upload under the same key; protection is version-scoped. (sources: [lock]) Limitations: - Governance bypass requires permission and an explicit request; it does not clear a legal hold. (sources: [manage]) - For S3 variable retention, an Inventory report reflects its generation time; query GetObjectRetention for current metadata instead of treating the report as live state. (sources: [manage]) - Neither retained bytes nor a lock label proves that encryption keys remain usable. (sources: [manage]) Related terms: - [object-versioning](https://hesela.dev/terms/object-versioning/) - [legal-hold](https://hesela.dev/terms/legal-hold/) - [immutability-storage](https://hesela.dev/terms/immutability-storage/) - [worm-storage](https://hesela.dev/terms/worm-storage/) - [restore-test](https://hesela.dev/terms/restore-test/) - [default-object-retention](https://hesela.dev/terms/default-object-retention/) Citations: - [configure] Amazon S3: Configuring S3 Object Lock. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html (accessed 2026-10-15) - [retentionapi] Amazon S3 API: PutObjectRetention. https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectRetention.html (accessed 2026-10-15) - [lock] Amazon S3: Locking objects with Object Lock. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html (accessed 2026-10-15) - [manage] Amazon S3: Object Lock considerations. https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html (accessed 2026-10-15) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-15) - [s3-existing-retention] AWS Storage Blog: Applying Amazon S3 Object Lock at scale for petabytes of existing data. https://aws.amazon.com/blogs/storage/applying-amazon-s3-object-lock-at-scale-for-petabytes-of-existing-data/ (accessed 2026-10-20) - [s3-get-retention] Amazon S3 API: GetObjectRetention. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html (accessed 2026-10-20) ### Object storage URL: https://hesela.dev/terms/object-storage/ Status: shipping Record updated: 2026-11-28 Object storage organizes data as independently addressed objects with associated metadata, accessed through object identifiers or keys rather than a block-device interface. Note: An object API's guarantees depend on the provider and operation. In S3, an object key identifies an object within a bucket, with a version ID identifying a retained version when versioning is enabled. Distinguish the object's bytes, its ETag validator, explicitly named checksums, and any version ID when designing integrity checks or concurrent updates. The namespace model also matters: S3 general-purpose buckets use a flat key space, whereas directory buckets organize keys hierarchically. A folder-like display is not a portable storage-interface guarantee. [s3-directory-buckets] Advantages: - Objects package data with descriptive metadata and can be addressed by bucket and key, with optional version-specific retrieval in S3. (sources: [c2]) - S3 supports multipart transfers and conditional publication, allowing large-object transfer workflows to combine independent part uploads with a destination-object precondition. (sources: [c3], [c4]) Limitations: - Object-storage interfaces do not imply identical consistency guarantees across providers; S3's strong consistency and single-key atomic updates still do not provide a multi-key transaction. (sources: [c2], [c7]) - An S3 ETag is not a universal full-object checksum: multipart construction and encryption affect its meaning, and metadata-only changes are not reflected in it. (sources: [c5]) - S3 versioning preserves versions for recovery but does not reject a stale application update; preventing lost updates requires an appropriate conditional-write protocol or other coordination. (sources: [c4], [c6], [c7]) Related terms: - [file-storage](https://hesela.dev/terms/file-storage/) - [block-storage](https://hesela.dev/terms/block-storage/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [air-gap-backup](https://hesela.dev/terms/air-gap-backup/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [entity-tag](https://hesela.dev/terms/entity-tag/) - [multipart-upload](https://hesela.dev/terms/multipart-upload/) - [conditional-write](https://hesela.dev/terms/conditional-write/) - [object-versioning](https://hesela.dev/terms/object-versioning/) - [object-version-id](https://hesela.dev/terms/object-version-id/) - [key-value-ssd](https://hesela.dev/terms/key-value-ssd/) - [object-key](https://hesela.dev/terms/object-key/) - [object-key-prefix](https://hesela.dev/terms/object-key-prefix/) - [media-type](https://hesela.dev/terms/media-type/) - [haystack](https://hesela.dev/terms/haystack/) - [bluestore](https://hesela.dev/terms/bluestore/) Citations: - [c1] Object storage. https://en.wikipedia.org/wiki/Object_storage (accessed 2026-03-26) - [c2] Amazon S3: Objects, keys, version IDs, and data consistency. https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html (accessed 2026-10-12) - [c3] Amazon S3: Uploading and copying objects using multipart upload. https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html (accessed 2026-10-12) - [c4] Amazon S3: How to prevent object overwrites with conditional writes. https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-writes.html (accessed 2026-10-12) - [c5] Amazon S3 API Reference: Object, ETag semantics. https://docs.aws.amazon.com/AmazonS3/latest/API/API_Object.html (accessed 2026-10-12) - [c6] Amazon S3: Retaining multiple versions of objects with S3 Versioning. https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html (accessed 2026-10-12) - [c7] Object ETags: checksums and conditional writes are different. https://hesela.com/analyses/object-etags-checksums-conditional-writes/ (accessed 2026-10-12) - [s3-directory-buckets] Amazon S3: Directory buckets and hierarchical namespaces. https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html (accessed 2026-10-28) ### Object version ID URL: https://hesela.dev/terms/object-version-id/ Related analysis: https://hesela.com/analyses/object-etags-checksums-conditional-writes/ Also known as: S3 version ID, VersionId Status: shipping Record updated: 2026-10-28 An object version ID is a service-assigned identifier used with a bucket and key to select an S3 object version. Note: Scope: S3 general-purpose buckets. Generated S3 IDs are opaque, not chronological counters or checksums. A version can also be a delete marker rather than data. The literal null ID is a special case: a same-key write while versioning is suspended can replace that version's contents without changing its ID. [s3-version-ids] [s3-suspended-write] ListObjectsV2 does not return VersionId. ListObjectVersions lists retained versions and delete markers; it requires s3:ListBucketVersions permission and is not supported for directory buckets. [s3-list-v2] [s3-list-versions] For ListObjectVersions with IsTruncated=true, continue with the returned NextKeyMarker and NextVersionIdMarker as key-marker and version-id-marker. Use this marker pair, not the ListObjectsV2 continuation token. [s3-list-versions] Advantages: - An explicit versionId selects a retained revision for GET even when it is not current, subject to s3:GetObjectVersion permission. (sources: [get]) Limitations: - Existing objects retain null IDs when versioning is first enabled; generated version IDs are not retroactively assigned. (sources: [s3-version-ids]) - A version identifier does not prevent an authorized permanent deletion of that version. (sources: [s3-delete-api]) - A checksum must still be verified separately; selecting a version is not proof that downloaded bytes match the expected data. (sources: [get]) Related terms: - [object-versioning](https://hesela.dev/terms/object-versioning/) - [delete-marker](https://hesela.dev/terms/delete-marker/) - [entity-tag](https://hesela.dev/terms/entity-tag/) - [object-storage](https://hesela.dev/terms/object-storage/) - [object-key](https://hesela.dev/terms/object-key/) Citations: - [s3-version-ids] Amazon S3: How S3 Versioning works, version IDs. https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html (accessed 2026-10-15) - [s3-suspended-write] Amazon S3: Adding objects to versioning-suspended buckets. https://docs.aws.amazon.com/AmazonS3/latest/userguide/AddingObjectstoVersionSuspendedBuckets.html (accessed 2026-10-15) - [s3-delete-api] Amazon S3 API: DeleteObject, versioning-dependent effects. https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html (accessed 2026-10-15) - [get] Amazon S3 API: GetObject, version selection and checksum fields. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html (accessed 2026-10-15) - [hesela-object] Hesela: Object ETags, checksums and conditional writes. https://hesela.com/analyses/object-etags-checksums-conditional-writes/ (accessed 2026-10-15) - [s3-list-v2] Amazon S3 API: ListObjectsV2, response encoding and fields. https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html (accessed 2026-10-28) - [s3-list-versions] Amazon S3 API: ListObjectVersions, version identities and permissions. https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions.html (accessed 2026-10-28) ### Object versioning URL: https://hesela.dev/terms/object-versioning/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: Object storage versioning, S3 Versioning Status: shipping Record updated: 2026-11-04 Object versioning retains separately identifiable revisions of an object under the same key. Note: In a versioning-enabled S3 general-purpose bucket, a replacement creates a new current version and retains the previous one; a delete without versionId creates a marker. Versions are complete objects, not differential backups. [version] Suspended versioning differs: new writes use null and replace any same-key null version, while non-null versions remain. [s3-suspended-write] Replication: a version-specific source DELETE does not delete the destination version through S3 replication; source and destination histories can diverge. [s3-replication-deletes] Advantages: - A known version ID identifies which retained revision a recovery process requests. (sources: [get]) Limitations: - Versioning alone does not prohibit permanent deletion of a version by an authorized caller. (sources: [version]) - For a current delete marker, the documented GET response without versionId is 404 even when older versions remain; authorization failures can differ. (sources: [marker], [get]) - With versioning suspended, a DELETE without versionId can permanently remove the null-version payload before inserting a null marker. (sources: [s3-suspended-delete]) - Check replication status before deleting a source version. COMPLETED reports replication success, not a restore test or a guarantee against later destination deletion. (sources: [s3-replication-status]) Related terms: - [object-storage](https://hesela.dev/terms/object-storage/) - [object-lock](https://hesela.dev/terms/object-lock/) - [conditional-write](https://hesela.dev/terms/conditional-write/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [immutability-storage](https://hesela.dev/terms/immutability-storage/) - [delete-marker](https://hesela.dev/terms/delete-marker/) - [object-version-id](https://hesela.dev/terms/object-version-id/) Citations: - [version] Amazon S3: How S3 Versioning works. https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html (accessed 2026-10-15) - [marker] Amazon S3: Working with delete markers. https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html (accessed 2026-10-15) - [get] Amazon S3 API: GetObject. https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html (accessed 2026-10-15) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-15) - [s3-suspended-write] Amazon S3: Adding objects to versioning-suspended buckets. https://docs.aws.amazon.com/AmazonS3/latest/userguide/AddingObjectstoVersionSuspendedBuckets.html (accessed 2026-10-15) - [s3-suspended-delete] Amazon S3: Deleting objects from versioning-suspended buckets. https://docs.aws.amazon.com/AmazonS3/latest/userguide/DeletingObjectsfromVersioningSuspendedBuckets.html (accessed 2026-10-15) - [hesela-object] Hesela: Object ETags, checksums and conditional writes. https://hesela.com/analyses/object-etags-checksums-conditional-writes/ (accessed 2026-10-15) - [s3-replication-deletes] Amazon S3: How delete operations affect replication. https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-what-is-isnot-replicated.html (accessed 2026-11-04) - [s3-replication-status] Amazon S3: Getting replication status information. https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-status.html (accessed 2026-11-04) ### Oblivious pseudorandom function URL: https://hesela.dev/terms/oblivious-prf/ Related analysis: https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/ Also known as: OPRF Status: research Record updated: 2026-10-23 An oblivious pseudorandom function protocol lets a client obtain a keyed function's output while hiding the input from the server and the server key from the client. Note: The specification defines three variants over prime-order groups, namely the base protocol, a verifiable form that binds evaluations to a known public key, and a partially oblivious form that adds public input to the computation. Five ciphersuites are defined, and application inputs must be shorter than 2^16 - 1 bytes. It is an Informational IRTF publication, not an IETF standard, and does not by itself provide application authentication or query quotas. [rfc9497] Direct evaluation access acts as a static Diffie-Hellman oracle. Best-known attacks lower security by log2(Q)/2 bits for Q evaluation queries, so a 128-bit group drops to 128 - log2(Q)/2 bits, and applications can rate-limit queries or rotate keys. [rfc9497] In server-aided encrypted deduplication, clients obtain message-derived keys through an oblivious PRF, so the key server never sees file contents, while authentication and rate limiting slow brute-force guessing by compromised clients. [dupless2013] Advantages: - A deduplication key server can derive content keys without learning which files are being stored. (sources: [dupless2013]) Limitations: - Rate limits slow, but do not prevent, guessing of predictable files by clients that hold valid credentials. (sources: [dupless2013]) Sources and caveats: - rfc9497 re-read 2026-10-23 for the three modes, the input limit and the static Diffie-Hellman security reduction. - dupless2013 read 2026-10-23 for the key-server use and its rate-limiting rationale. - A companion analysis on encrypted deduplication is listed but not used in prose. Related terms: - [convergent-encryption](https://hesela.dev/terms/convergent-encryption/) - [deduplication](https://hesela.dev/terms/deduplication/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [hash-domain-separation](https://hesela.dev/terms/hash-domain-separation/) Citations: - [rfc9497] RFC 9497: Oblivious Pseudorandom Functions (OPRFs) Using Prime-Order Groups (2023), sections 1, 5.1 and 7.2.3. Informational IRTF publication. https://www.rfc-editor.org/rfc/rfc9497.html (accessed 2026-10-23) - [hesela-dedup-security] Hesela: Encrypted deduplication: who can test a file guess? https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/ (accessed 2026-10-18) - [dupless2013] Bellare, Keelveedhi and Ristenpart. DupLESS: Server-Aided Encryption for Deduplicated Storage. USENIX Security 2013, sections 1-3. https://files.usenix.org/s3fs-public/cdn/sec13-paper_bellare.pdf (accessed 2026-10-23) ### Oblivious RAM URL: https://hesela.dev/terms/oblivious-ram/ Also known as: ORAM Status: research Record updated: 2026-11-12 Oblivious RAM hides logical storage access patterns by making physical accesses for equal-length request sequences computationally indistinguishable. Note: Scope: The trusted client protects its state while the storage server observes physical accesses. The standard definition compares equal-length sequences; request timing and frequency are excluded from the Path ORAM model. Integrity and freshness require additional protection. [path2018] Cost: Read/write traffic that waits for a requested block is online bandwidth. Overall bandwidth also includes maintenance such as eviction and reshuffling. Ring ORAM separates these costs; its constant online transfer variant requires server-side XOR computation, not just a passive store. [ring2015] Sources and caveats: - Reviewed the author-hosted JACM 2018 and USENIX Security 2015 papers. This is a definition of their models, not a claim that a deployed service hides all metadata. Related terms: - [path-oram](https://hesela.dev/terms/path-oram/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [deduplication-side-channel](https://hesela.dev/terms/deduplication-side-channel/) - [history-independence](https://hesela.dev/terms/history-independence/) Citations: - [path2018] Stefanov et al. Path ORAM: An Extremely Simple Oblivious RAM Protocol. JACM 65(4), 2018, sections 2-4 and 6.4. DOI 10.1145/3177872. https://people.csail.mit.edu/devadas/pubs/PathORAMJACM.pdf (accessed 2026-11-12) - [ring2015] Ren et al. Constants Count: Practical Improvements to Oblivious RAM. USENIX Security 2015, sections 1.3, 3 and 5. https://people.csail.mit.edu/devadas/pubs/ringoram.pdf (accessed 2026-11-12) - [hesela-oram] Hesela: What an encrypted access trace can reveal. https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/#access-patterns (accessed 2026-11-12) ### Oligonucleotide dropout URL: https://hesela.dev/terms/oligonucleotide-dropout/ Related analysis: https://hesela.com/analyses/dna-storage-coverage-and-dropout/ Also known as: DNA sequence dropout Status: research Record updated: 2026-11-07 Oligonucleotide dropout is the absence of an intended DNA sequence identity from the reads available for reconstruction. Note: Copies of another identity do not fill the missing position. Dropout must be defined at a particular processing stage, because filtering changes which reads reach a decoder. [hesela-coverage] For N independent draws and per-draw identity probabilities p_i, the expected unseen count is sum_i (1-p_i)^N. It is not the probability of losing any identity. Error correction may recover a file even with absent encoded fragments. [heckel2017] [hesela-coverage] An absent sequence in the sequenced aliquot cannot be recovered merely by reading that aliquot more deeply. A larger sample from a retained pool and outer-code reconstruction are different recovery mechanisms. [gimpel2023] Sources and caveats: - The finite sampling calculation assumes error-free identity recognition; its uneven probability distribution is synthetic, not a fitted DNA population. Related terms: - [dna-data-storage](https://hesela.dev/terms/dna-data-storage/) - [sequencing-coverage](https://hesela.dev/terms/sequencing-coverage/) - [symbol-erasure](https://hesela.dev/terms/symbol-erasure/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [dna-physical-redundancy](https://hesela.dev/terms/dna-physical-redundancy/) Citations: - [heckel2017] Heckel, Shomorony, Ramchandran and Tse. Fundamental Limits of DNA Storage Systems. arXiv:1705.04732v1 (2017). https://arxiv.org/abs/1705.04732v1 (accessed 2026-10-18) - [hesela-coverage] Hesela: DNA storage, uneven sampling and missing sequences. https://hesela.com/analyses/dna-storage-coverage-and-dropout/ (accessed 2026-10-18) - [gimpel2023] Gimpel et al. A digital twin for DNA data storage based on comprehensive quantification of errors and biases. Nature Communications 14, 6026 (2023). https://pmc.ncbi.nlm.nih.gov/articles/PMC10533828/ (accessed 2026-11-07) ### Omission failure URL: https://hesela.dev/terms/omission-failure/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: omission fault Status: unknown Record updated: 2026-11-20 An omission failure occurs when a process or communication channel fails to perform an expected message send, delivery or receive under the stated protocol model. Note: An omission model describes missing communication actions, not necessarily a stopped process. A process can omit one message and continue other work. Send omission, receive omission and channel loss name different boundaries: failure to send, failure to receive and loss after sending are not interchangeable diagnoses. Pure omission does not mean fabricating or altering message contents. [omission-model] The abstraction matters. Graversen, Montesi and Peressotti model receive omission broadly enough to cover a timeout or a receive attempted before its message is available. This is not proof that a physical network discarded a packet. A late message is not necessarily a permanently lost message. State the protocol's timing and communication assumptions before assigning a subtype. [omission-model] A caller's timeout alone cannot identify which boundary failed. RFC 5531 explains that receiving no RPC reply leaves execution uncertain, including with TCP. A request omitted before execution and a reply omitted after execution can leave the same caller-visible silence. A delayed request may also execute after the caller stops waiting: a local timeout does not by itself cancel remote work. Execution, an observed reply and durable storage are separate claims; persistence depends on the operation's storage contract. [rpc5531] Crash-stop excludes all later steps by the crashed process; omission can be selective. In Chandra and Toueg's asynchronous crash model, channels are reliable but delays have no fixed bound; silence cannot distinguish a crashed process from one that is slow. Their failure detector is a separate abstraction, not proof of a particular communication fault. [ct96] Limitations: - An observed missing reply does not establish non-execution, safe retry or durable completion. (sources: [rpc5531]) Sources and caveats: - Primary-source synthesis of a failure-model concept; omission subtypes depend on the stated abstraction, not a packet-level diagnosis from a timeout. - No network experiment, loss probability or device failure rate was measured for this entry. Related terms: - [remote-procedure-call](https://hesela.dev/terms/remote-procedure-call/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [failure-detector](https://hesela.dev/terms/failure-detector/) Citations: - [omission-model] Graversen et al. A Promising Future: Omission Failures in Choreographic Programming. arXiv:1712.05465v4 (2025), introduction and sections 2.2-2.3. https://arxiv.org/html/1712.05465v4 (accessed 2026-11-20) - [rpc5531] RFC 5531: RPC, Remote Procedure Call Protocol Specification Version 2, section 5, Transports and Semantics. https://www.rfc-editor.org/rfc/rfc5531.html#section-5 (accessed 2026-11-20) - [ct96] Chandra and Toueg. Unreliable Failure Detectors for Reliable Distributed Systems. JACM 43(2), 225-267, 1996; introduction and section 2.1. https://www.cs.utexas.edu/~lorenzo/corsi/cs380d/papers/p225-chandra.pdf (accessed 2026-11-20) ### One-hit-wonder ratio URL: https://hesela.dev/terms/one-hit-wonder-ratio/ Related analysis: https://hesela.com/analyses/sieve-cache-eviction-traces/ Also known as: One-hit ratio, Singleton-object ratio Status: research Record updated: 2026-11-29 The one-hit-wonder ratio is the fraction of distinct objects requested exactly once within a specified observation window. Note: The denominator counts distinct objects, not requests or bytes. In AABC, B and C are singletons: the object ratio is 2/3, while their share of requests is 2/4. The word hit here means an observed request, not a cache hit. [method] The S3-FIFO paper measures sequence size by distinct objects and reports higher singleton fractions in shorter sampled sequences. A window containing 10% of a trace's distinct objects is not a window containing 10% of its requests. Its population summary does not establish monotonicity for every trace prefix. The formal observation concerns an expected ratio under a Zipf popularity model, with the least-popular object requested once and a subsequence ending in a one-hit wonder; it is not a guarantee about every finite trace. [s3fifo] Quick demotion in S3-FIFO and SIEVE targets objects that are not reused soon enough to justify occupying cache space. A once-observed object may be reused after the window, and a globally popular object may have no reuse during one residency. Trace singletons and unused cache residencies are different measurements. [s3fifo] [sieve] Across overlapping windows, pooling singleton-object counts and distinct-object counts weights windows by their distinct populations. It is not the unweighted mean of the per-window ratios. AABC with three-request windows gives pooled 4/5 versus unweighted 3/4. The linked exact counter keeps the numerators, denominators and window rule explicit. [method] Limitations: - A frequency summary alone cannot identify cache misses: AABB and ABAB have no singleton objects, yet a cold one-slot cache with immediate admission misses twice and four times respectively. (sources: [method]) Sources and caveats: - Source-based definition and deterministic worked examples; no production trace, cache-throughput experiment or paper replication is claimed. - The counter enumerates all complete overlapping fixed-request-count windows through aggregated counts; this differs from the papers' sampled unique-object window design. Related terms: - [s3-fifo](https://hesela.dev/terms/s3-fifo/) - [sieve-eviction](https://hesela.dev/terms/sieve-eviction/) - [working-set-footprint](https://hesela.dev/terms/working-set-footprint/) - [request-hit-ratio](https://hesela.dev/terms/request-hit-ratio/) Citations: - [s3fifo] Yang, Zhang, Qiu, Yue and Rashmi. FIFO Queues are All You Need for Cache Eviction. SOSP 2023, sections 3.1-3.2; DOI 10.1145/3600006.3613147. https://www.pdl.cmu.edu/PDL-FTP/Storage/FIFOqueues-SOSP23.pdf (accessed 2026-11-27) - [sieve] Zhang, Yang, Yue, Vigfusson and Rashmi. SIEVE is Simpler than LRU: an Efficient Turn-Key Eviction Algorithm for Web Caches. NSDI 2024, sections 2.1 and 5.1. https://www.usenix.org/system/files/nsdi24-zhang-yazhuo.pdf (accessed 2026-11-27) - [method] Hesela: exact singleton-window accounting, worked denominators, counting method and tests. https://hesela.dev/research/one-hit-windows/method.md (accessed 2026-11-27) ### Online Commutative Processing URL: https://hesela.dev/terms/online-commutative-processing/ Also known as: OLCP Status: research Record updated: 2026-11-21 Online Commutative Processing delivers snapshot-visible records to an order-independent scan, including old values supplied before their storage is reused. Note: Contract: each record in a declared scan range is processed once, using the version visible at query start. Callback order can differ from key order. KVell+ applies this model to analytical queries alongside transactions. [olcp-paper] Retention: point ranges permit repeated reads but retain versions. Mixed conventional snapshot queries can also postpone reclamation. Pending commits still need old values for recovery. [olcp-paper] Reuse: delayed propagation can reuse a block read already needed for an update. [olcp-paper] A deleted-version marker prevents a later scan from falling back to an older, incorrect value. [olcp-index] Artifact: the pinned KVell+ prototype supports one scan range and no point ranges. Its asynchronous API requires the caller to drain an injector queue. A write callback is followed by a separate transaction commit. [olcp-artifact] Limitations: - The author README warns that crash recovery may not work and concurrency bugs may remain; its API examples do not establish production readiness. [olcp-artifact] Sources and caveats: - Full 17-page author paper and README, gc.c and in-memory-index.c at bd570b32 reviewed. No engine execution or performance replication. - The USENIX proceedings date the paper to 2020; the author README bibliography says 2021. The conference record determines the date here. Related terms: - [kvell](https://hesela.dev/terms/kvell/) Citations: - [olcp-paper] Lepers et al. Kvell+: Snapshot Isolation without Snapshots. OSDI 2020, pp. 425-441, sections 2 and 4. https://www.usenix.org/conference/osdi20/presentation/lepers (accessed 2026-11-21) - [olcp-index] KVell+ at bd570b32: old-version lookup and deleted-version index entries. https://github.com/BLepers/KVell/blob/bd570b32abae2ae60cce441065458088381ab8a2/in-memory-index.c#L146-L230 (accessed 2026-11-21) - [olcp-artifact] KVell+ at bd570b32: README, API and prototype limitations. https://github.com/BLepers/KVell/blob/bd570b32abae2ae60cce441065458088381ab8a2/README.md (accessed 2026-11-21) - [hesela] Hesela: KVell+ moves snapshot work to the reader. https://hesela.com/analyses/key-value-separation-cleaning-cost/#olcp-snapshot-work (accessed 2026-11-21) ### ONTAP consistency point URL: https://hesela.dev/terms/ontap-consistency-point/ Related article: https://hesela.com/tech/enterprise-ssd/ Also known as: WAFL consistency point Status: shipping Record updated: 2026-10-28 In ONTAP, a consistency point writes buffered filesystem changes to storage and, after those writes complete, updates the active filesystem pointers. Note: The normal write path processes buffered data through WAFL and RAID before changing the on-storage pointers. A consistency point is this filesystem commit step, not the arrival of each individual host write. [ontap-cp] Acknowledgment: With both HA partners operating, logging on the local node and its partner can permit acknowledgment before the later consistency point. Recovery can replay protected outstanding writes into memory and commit them through a subsequent consistency point. [ontap-cp] [ontap-outage] Limitations: - Filesystem consistency does not by itself establish application transaction consistency, and loss of both powered nodes interrupts access. (sources: [ontap-outage]) Sources and caveats: - ONTAP-specific filesystem terminology, not a generic name for a distributed snapshot or an application transaction boundary. NetApp's operational documentation is the primary evidence. - No fixed timer, buffer capacity or throughput is inferred across platforms and releases. Related terms: - [nvram](https://hesela.dev/terms/nvram/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [data-durability](https://hesela.dev/terms/data-durability/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) Citations: - [ontap-cp] NetApp: What is Consistency Point, and why does NetApp use it? Applies to ONTAP 9 and Data ONTAP 7/8. https://kb.netapp.com/on-prem/ontap/Perf/Perf-KBs/What_is_Consistency_Point_and_why_does_NetApp_use_it (accessed 2026-10-28) - [ontap-outage] NetApp ONTAP 9: unexpected power outage, protected-write replay and application consistency. https://kb.netapp.com/on-prem/ontap/Ontap_OS/OS-KBs/What_happens_to_ONTAP_during_an_unexpected_power_outage_and_what_data_protection_can_be_expected (accessed 2026-10-28) ### Opacity URL: https://hesela.dev/terms/opacity/ Also known as: Transactional opacity Status: research Record updated: 2026-11-16 Opacity is a transaction-correctness condition requiring committed, aborted and unfinished transactions to observe states consistent with a legal sequential execution that preserves transaction real-time order. Note: Scope: A transaction can observe its own writes and earlier committed effects in the sequential explanation; another transaction's aborted writes do not become shared state. Checking only committed transactions misses this obligation. [guerraoui08] Prefixes: The modern formulation requires every execution prefix to admit a suitable sequential explanation, with pending operations handled by completion rules. This explicit prefix condition is stated in Bila et al. Definition 4; the original 2008 paper discusses prefix closure separately in section 5.2. [bila20] [guerraoui08] Application: Beldi targets opacity for its transactional workflows, with locking and distributed commit. Nontransactional access that bypasses those locks is outside that guarantee. [beldi20] Constructed example: Initially x = y = 0. One transaction atomically commits x = y = 1. A concurrent read-only transaction sees x = 0, then y = 1, and aborts. The writer alone has a serial committed history, but neither ordering of both transactions explains the reader's values. Aborting does not erase that observation. This illustrates the criterion, not an observed Beldi execution. [guerraoui08] [bila20] Limitations: - Opacity is a safety condition, not a guarantee that a transaction eventually commits. (sources: [guerraoui08]) - Ordinary opacity does not by itself specify crash recovery or persistent storage; durable opacity adds a crash-aware contract. (sources: [bila20]) Sources and caveats: - Primary-source synthesis, not an implementation test, proof or benchmark. Related terms: - [beldi](https://hesela.dev/terms/beldi/) - [strict-serializability](https://hesela.dev/terms/strict-serializability/) Citations: - [guerraoui08] Rachid Guerraoui and Michal Kapalka. On the Correctness of Transactional Memory. PPoPP 2008, sections 4, 5.1-5.2 and 7. https://kapalka.eu/files/opacity-ppopp08.pdf (accessed 2026-11-16) - [bila20] Bila et al. Defining and Verifying Durable Opacity: Correctness for Persistent Software Transactional Memory. arXiv:2004.08200v1, Definitions 4-5. https://arxiv.org/pdf/2004.08200v1 (accessed 2026-11-16) - [beldi20] Zhang et al. Fault-tolerant and transactional stateful serverless workflows. OSDI 2020, section 6.2. https://www.cis.upenn.edu/~sga001/papers/beldi-osdi20.pdf (accessed 2026-11-16) ### Open-channel SSD URL: https://hesela.dev/terms/open-channel-ssd/ Related analysis: https://hesela.com/analyses/fail-slow-drives-software-scheduling/ Also known as: OCSSD, OC SSD Status: unknown Record updated: 2026-11-17 An open-channel SSD exposes media parallelism and placement controls so host software can manage data placement and I/O scheduling. Note: Open-channel does not mean controller-free raw NAND. LightNVM separates host-managed placement and scheduling from device-specific ECC and read-threshold tuning; its pblk host layer can expose an ordinary block device. [lightnvm] The project documentation describes host-side garbage collection while retaining media-centric work on the controller, so the exact responsibility split must be tied to the interface and implementation. [project] In the Perseus deployment, CPU preemption of host-managed SSD work caused slowdowns in two clusters; this is a specific software mechanism, not a hardware failure rate. [perseus] Linux history: LightNVM and pblk were removed from upstream Linux in 5.15. Older setup documentation describes an earlier software stack; it does not establish support in current upstream kernels. This removal does not imply that every OCSSD userspace implementation disappeared. [removal] [release] SDF history: The 2014 design exposes channels and erase commands but keeps block mapping, dynamic wear leveling and bad-block management in each channel engine. Host control does not imply that every translation function moved off the device. [sdf] Limitations: - Host control enables workload-specific policies; it does not by itself guarantee a latency bound. (sources: [lightnvm]) Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [zns](https://hesela.dev/terms/zns/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [garbage-collection-host](https://hesela.dev/terms/garbage-collection-host/) - [fail-slow](https://hesela.dev/terms/fail-slow/) - [slowdown-ratio](https://hesela.dev/terms/slowdown-ratio/) - [flashblox](https://hesela.dev/terms/flashblox/) - [lightnvm](https://hesela.dev/terms/lightnvm/) - [sdf](https://hesela.dev/terms/sdf/) - [pblk](https://hesela.dev/terms/pblk/) Citations: - [lightnvm] Bjorling, Gonzalez and Bonnet. LightNVM: The Linux Open-Channel SSD Subsystem. FAST 2017, sections 2.3 and 4.2. https://www.usenix.org/system/files/conference/fast17/fast17-bjorling.pdf (accessed 2026-10-15) - [project] Open-Channel Solid State Drives project documentation: division of responsibility between host and SSD. https://openchannelssd.readthedocs.io/en/latest/ (accessed 2026-10-15) - [perseus] Lu et al. Perseus. FAST 2023, section 6.1.1: host CPU scheduling in two open-channel clusters. https://www.usenix.org/system/files/fast23-lu.pdf#page=12 (accessed 2026-10-15) - [removal] Linux commit 9ea9b9c48387: remove the lightnvm subsystem, 2021. https://github.com/torvalds/linux/commit/9ea9b9c48387edc101d56349492ad9c0492ff78d (accessed 2026-11-17) - [release] Linux NVMe maintainer: first round of NVMe updates for Linux 5.15, 18 August 2021. https://lists.infradead.org/pipermail/linux-nvme/2021-August/027027.html (accessed 2026-11-17) - [sdf] Ouyang et al. SDF: Software-Defined Flash for Web-Scale Internet Storage Systems. ASPLOS 2014, pp. 471-484, sections 2-3. https://ranger.uta.edu/~sjiang/pubs/papers/ouyang14-SDF.pdf (accessed 2026-11-17) ### Open-file-description lock URL: https://hesela.dev/terms/open-file-description-lock/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: OFD-owned file lock, OFD record lock Status: shipping Record updated: 2026-11-14 An open-file-description lock is a byte-range file lock owned by an open file description rather than by a process. Note: Linux supports the fcntl F_OFD_* operations from 3.15. Duplicated descriptors share ownership; independent opens can conflict. Automatic release occurs on the last close of that description, unlike traditional process-owned record locks, which a close of any descriptor for the file can release. Explicit unlocking is separate. Although flock() also has open-description ownership on Linux, it is not this byte-range API. [fcntl] In Hesela's local Linux observation, a duplicate could reapply the held lock, closing the initial holder did not release it while the duplicate stayed open, and explicit unlock through the duplicate released it. These are ownership observations, not crash tests. [hesela-ofd] Limitations: - Conflicting traditional fcntl and OFD record locks interact, even within one process. (sources: [fcntl]) - Hesela exercised nonblocking calls in one Linux process; this does not validate fork inheritance, thread scheduling, network filesystems or other platforms. (sources: [hesela-ofd]) Related terms: - [advisory-file-lock](https://hesela.dev/terms/advisory-file-lock/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [process-associated-record-lock](https://hesela.dev/terms/process-associated-record-lock/) - [flock](https://hesela.dev/terms/flock/) Citations: - [fcntl] Linux man-pages 6.19: fcntl_locking(2), record and open-file-description locks. https://man7.org/linux/man-pages/man2/fcntl_locking.2.html (accessed 2026-10-16) - [hesela-locks] Hesela: A lock follows the opened file, not the replacement name. https://hesela.com/analyses/atomic-rename-directory-durability/#lock-identity (accessed 2026-10-16) - [hesela-ofd] Hesela: Native OFD ownership experiment, source, controls and observations. https://hesela.com/analyses/atomic-rename-directory-durability/#ofd-lifetime (accessed 2026-10-16) ### Open file description URL: https://hesela.dev/terms/open-file-description/ Related analysis: https://hesela.com/analyses/fsync-failure-retry-durability/ Also known as: OFD Status: shipping Record updated: 2026-11-16 An open file description is a system-wide open-file object referenced by one or more file descriptors and holding state such as the current file offset and file status flags. Note: On Linux, each successful open creates a new open file description; dup and descriptors inherited through fork refer to the existing object. In the generic writeback-error path, that object's f_wb_err cursor is shared by its aliases. This source-code relationship explains why two descriptor numbers need not provide independent error observations. A descriptor opened before pathname replacement keeps referring to the file it originally opened; a fresh open() after replacement can reach a different inode. Separate opens of the same inode do not share an open file description merely because the inode matches. Handoff: SCM_RIGHTS shares an open file description, including its offset; dup does not make a private cursor. Sealing the inode's content and size does not stop another holder from seeking. [handoff-unix] In the separate 4096-byte Linux handoff experiment, read and dup-read consumed 3072 unchanged suffix bytes after the sender sought to 1024. Positional and separately reopened controls read all 4096 bytes. [hesela-handoff] Consumption: pread supplies an explicit offset without advancing the shared current position. A complete reader still checks errors, short reads and expected coverage. Stable bytes, valid format and complete consumption are separate properties; none proves producer authenticity or disk persistence. [handoff-pread] Retained access: chmod 0600 did not upgrade an O_RDONLY handle or its duplicate in same-owner Linux 6.8 ext4/tmpfs controls; a fresh O_RDWR procfs reopen could write. Duplication and reopening are distinct. [lifetime-flags] [lifetime-proc] This is visibility, not crash durability, NFS or changed-LSM evidence. [lifetime-study] Limitations: - Sharing an offset or error cursor does not establish persistence or application-level recovery. Sources and caveats: - Permission-lifetime evidence: nine scenarios, 108 recorded executions and 108 matching replay records; two compiler configurations, three repetitions per mount and one host, not independent fleet samples. No changed LSM policy, concurrent writer or power-loss experiment. [lifetime-evidence] - Inheritance: close-on-exec belongs to each descriptor, not this shared object. Successful exec can close one reference while an unmarked alias keeps the same description and offset alive. Fork alone does not trigger that closure. [fd-flags] [fork-api] Related terms: - [pread](https://hesela.dev/terms/pread/) - [file-offset](https://hesela.dev/terms/file-offset/) - [fsync](https://hesela.dev/terms/fsync/) - [writeback-error](https://hesela.dev/terms/writeback-error/) - [errseq-t](https://hesela.dev/terms/errseq-t/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [inode](https://hesela.dev/terms/inode/) - [hard-link](https://hesela.dev/terms/hard-link/) - [unlink](https://hesela.dev/terms/unlink/) - [syncfs](https://hesela.dev/terms/syncfs/) - [o-sync](https://hesela.dev/terms/o-sync/) - [advisory-file-lock](https://hesela.dev/terms/advisory-file-lock/) - [open-file-description-lock](https://hesela.dev/terms/open-file-description-lock/) - [o-append](https://hesela.dev/terms/o-append/) - [pwrite](https://hesela.dev/terms/pwrite/) - [file-descriptor](https://hesela.dev/terms/file-descriptor/) - [close](https://hesela.dev/terms/close/) - [file-sealing](https://hesela.dev/terms/file-sealing/) - [sync-file-range](https://hesela.dev/terms/sync-file-range/) - [o-path](https://hesela.dev/terms/o-path/) - [close-on-exec](https://hesela.dev/terms/close-on-exec/) - [unix-domain-socket](https://hesela.dev/terms/unix-domain-socket/) - [chmod](https://hesela.dev/terms/chmod/) Citations: - [open-api] Linux man-pages 6.19: open(2), open file descriptions. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-13) - [dup-api] Linux man-pages 6.19: dup(2), shared open file descriptions. https://man7.org/linux/man-pages/man2/dup.2.html (accessed 2026-10-13) - [filemap-source] Linux v6.12: file_check_and_advance_wb_err in mm/filemap.c. https://github.com/torvalds/linux/blob/v6.12/mm/filemap.c (accessed 2026-10-13) - [hesela-fsync] Hesela: Two descriptors are not necessarily two error observers. https://hesela.com/analyses/fsync-failure-retry-durability/#descriptor-sharing (accessed 2026-10-13) - [hesela-namespace] Hesela: The name changes; existing readers do not. https://hesela.com/analyses/atomic-rename-directory-durability/#namespace-identity (accessed 2026-10-15) - [hesela-locks] Hesela: A lock follows the opened file, not the replacement name. https://hesela.com/analyses/atomic-rename-directory-durability/#lock-identity (accessed 2026-10-16) - [handoff-unix] Linux man-pages: unix(7), SCM_RIGHTS shares the open file description. https://man7.org/linux/man-pages/man7/unix.7.html (accessed 2026-10-23) - [handoff-pread] Linux man-pages: pread(2), explicit offsets and short reads. https://man7.org/linux/man-pages/man2/pread.2.html (accessed 2026-10-23) - [hesela-handoff] Hesela: sealed bytes and a shared read cursor. https://hesela.com/analyses/mmap-visibility-size-durability/#sealed-handoff (accessed 2026-10-23) - [fd-flags] Linux man-pages: F_GETFD(2const), descriptor flags and exec outcome. https://man7.org/linux/man-pages/man2/F_GETFD.2const.html (accessed 2026-11-05) - [fork-api] Linux man-pages: fork(2), inherited descriptors and shared open file descriptions. https://man7.org/linux/man-pages/man2/fork.2.html (accessed 2026-11-05) - [lifetime-flags] Linux man-pages: F_GETFL / F_SETFL, access modes. https://man7.org/linux/man-pages/man2/F_GETFL.2const.html (accessed 2026-11-05) - [lifetime-proc] Linux man-pages: proc_pid_fd(5), reopen permission checks. https://man7.org/linux/man-pages/man5/proc_pid_fd.5.html (accessed 2026-11-05) - [lifetime-study] Hesela: retained local access after permission changes, native evidence and limits. https://hesela.com/analyses/posix-acl-restore-permissions/#retained-access (accessed 2026-11-05) - [lifetime-evidence] Hesela: permission-lifetime native observations, source receipts and MIT replay bundle. https://hesela.dev/research/permission-lifetime/permission-lifetime.zip (accessed 2026-11-05) ### Open-loop load URL: https://hesela.dev/terms/open-loop-load/ Also known as: Open workload model Status: unknown Record updated: 2026-10-31 An open-loop load model schedules request arrivals independently of earlier request completions. Note: Finite generators still have capacity limits; retain scheduled, submitted, rejected and completed counts to check whether the intended arrival policy was achieved. Completion feedback matters even at high concurrency. NSDI 2006 found large open/closed differences at matched load, including N = 1000. [schroeder] A closed loop bounds outstanding requests. [lancet] That count does not set a maximum response time: even one request can have an arbitrarily long service stall, as the constructed timing example demonstrates. [hesela-model] If a generator waits for completions to recycle connections, submissions become completion-dependent; others queue or reject arrivals. Load Fiction's wrk2-DSB test at 400 requests/s maintained its send rate but, with 40 HTTP/1.1 connections, had a maximum one-second arrival deficit of 50% at the system under test and inflated tail latency against its 100-connection baseline. Its separate h2load case reported mean latency of 1.20 s against 4 s ground truth. Workload-induced latency inflation and measurement underreporting are different effects. [loadfic] Check actual inter-transmission times. [lancet] Mean occupancy: In steady state, Little's law relates the average in-flight population L, achieved throughput X and mean response time R at the same boundary: L = X x R. Illustratively, 50,000 requests/s at R = 2 ms requires L = 100. If mean response time remains 2 ms and at most 32 requests are in flight, X cannot exceed 16,000 requests/s; equality needs all 32 slots occupied on average. This is not a device throughput limit: changing response time or achieved occupancy changes the result. [mit-performance] Limitations: - A rate setting alone does not establish independent arrivals. fio documents io_submit_mode=offload to separate submission from completion, but warns that it cannot reliably be used with asynchronous I/O engines; check the actual engine, depth and achieved arrival process. (sources: [fio]) - In an idealized open model with an unbounded queue, sustained arrivals above service capacity can accumulate without bound. Finite implementations can instead throttle or reject arrivals; inspect the achieved arrival process. (sources: [schroeder]) Sources and caveats: - Results come from web and RPC load generators (a 2006 university study, a 2019 measurement-tool paper from two universities, a 2026 university preprint with one industrial co-author), not from block-device tests. - A storage device with a bounded queue behaves differently at saturation, so the published numbers do not transfer to an SSD test. - The benchmark documentation is project material and no independent measurement of its rate-process behaviour is cited. - The wrk2 page is maintainer documentation for a non-storage tool and is listed as further reading only. - Little-law values are illustrative steady-state arithmetic with matched observation boundaries, not device measurements. L is achieved mean occupancy, not configured queue depth. The 16,000/s ceiling is conditional on R remaining 2 ms. - The distinction between request-count and time bounds is a Hesela inference: a single request with an arbitrarily long service stall suffices. Lancet section 2.1 uses a qualified typical-behavior statement; it supplies no universal time bound. - NSDI 2006's original comparison remains source-specific: its open-model mean response time can exceed the closed-model result by an order of magnitude or more, with a gap at N=1000 when service demands vary widely. - Load Fiction section 4.1: wrk2-DSB uses 400 requests/s for 30 s and 40 versus 100 HTTP/1.1 connections. The separate h2load example uses 20 clients at 100 requests/s each for 50 s; the quoted mean is the 300-streams-per-client case. Both use mock systems, not storage-device tests. Related terms: - [pasta](https://hesela.dev/terms/pasta/) - [closed-loop-load](https://hesela.dev/terms/closed-loop-load/) - [coordinated-omission](https://hesela.dev/terms/coordinated-omission/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [schroeder] Schroeder, Wierman and Harchol-Balter. Open Versus Closed: A Cautionary Tale. USENIX NSDI 2006, sections 2-5 and 7. https://www.usenix.org/legacy/events/nsdi06/tech/full_papers/schroeder/schroeder_html/index.html (accessed 2026-10-31) - [wrk2] Gil Tene, wrk2: scheduled-arrival latency and coordinated omission; maintainer documentation, not an SSD benchmark. https://github.com/giltene/wrk2 (accessed 2026-10-11) - [hesela-latency] Hesela: synthetic arrival cohorts, timing boundaries and percentile pooling. https://hesela.com/analyses/storage-latency-coordinated-omission/ (accessed 2026-10-11) - [lancet] Kogias, Mallon and Bugnion. Lancet: A self-correcting Latency Measuring Tool. USENIX ATC 2019, sections 2.1-2.2, pp. 883-884. https://www.usenix.org/system/files/atc19-kogias-lancet.pdf (accessed 2026-10-31) - [loadfic] Das et al. Load Fiction: How Your Load Generator is Misleading You. SoCC 2026 preprint, section 4.1, page 3, Figures 2-3. https://dprg.cs.uiuc.edu/data/files/2026/XLG-SoCC26.pdf (accessed 2026-10-31) - [fio] fio 3.42-115-gcd29 documentation, I/O submission and rate sections: io_submit_mode, iodepth and rate_process (version displayed on access date). https://fio.readthedocs.io/en/latest/fio_doc.html (accessed 2026-10-31) - [mit-performance] MIT 6.826, Principles of Computer Systems (2006), Handout 10: Performance, printed page 9, Servers with finite load. https://web.mit.edu/6.826/archive/S06-www/notes/HO10.pdf (accessed 2026-10-31) - [hesela-model] Hesela deterministic FIFO timing model: single-client service-stall counterexample; see closed-loop-load for explicit inputs. https://hesela.dev/research/latency-measurement.mjs (accessed 2026-10-31) ### Open-zone limit URL: https://hesela.dev/terms/open-zone-limit/ Also known as: maximum open zones Status: shipping Record updated: 2026-10-23 An open-zone limit is the maximum number of zones that may be in the implicitly opened or explicitly opened state at the same time. Note: In the NVMe Zoned Namespace command set the limit is the Maximum Open Resources (MOR) field. Open zones are a subset of active zones, which also include closed zones, so MOR shall not exceed Maximum Active Resources. Closing an open zone frees an open resource but keeps the active one, while a transition to empty, full, read-only or offline frees both. [zns-spec] MOR is a 0's based value, so a raw 0 permits one open zone and FFFFFFFFh means no limit. When a requested transition lacks an open resource and the active limit is larger than the open limit, the controller aborts the command with the status Too Many Open Zones. [zns-spec] Linux reports the decoded count in the max_open_zones queue attribute, available since kernel 5.9, where 0 means no limit. [sysfs-block] Documented examples show 128 open zones for a host-managed SMR disk and 14 open and 14 active zones for a ZNS device. [zbd-api] zonefs exposes the value as max_wro_seq_files, and with its explicit-open mount option open() fails once that many sequential files are open for writing. [zonefs] Advantages: - With explicit opening at file open time, a host can secure an open resource before writing and avoid write errors caused by the limit later. (sources: [zonefs]) Limitations: - The controller may close implicitly opened zones on its own for resource management, so a host cannot assume such a zone stays open. (sources: [zns-spec]) - Coordinating open-resource use among hosts that share one zoned namespace is outside the scope of the specification. (sources: [zns-spec]) Sources and caveats: - zns-spec is NVMe ZNS revision 1.1, read in section 2.1.1.4 and Figure 48 for resource accounting, error status and MOR encoding. - sysfs-block is the Linux v6.12 stable sysfs ABI file, read for the max_open_zones and max_active_zones entries. - zbd-api is the zoned storage project documentation of the Linux user interface, read for attribute versions and example values. - zonefs is the Linux kernel zonefs documentation, read for the explicit-open option and max_wro_seq_files. Related terms: - [zns](https://hesela.dev/terms/zns/) - [active-zone-limit](https://hesela.dev/terms/active-zone-limit/) - [zone-append](https://hesela.dev/terms/zone-append/) - [zone-finish](https://hesela.dev/terms/zone-finish/) Citations: - [zonefs] Linux kernel documentation, zonefs: sequential files, explicit-open and runtime sysfs attributes. https://docs.kernel.org/filesystems/zonefs.html (accessed 2026-10-23) - [zns-spec] NVM Express, Zoned Namespace Command Set Specification, revision 1.1 (18 May 2021), section 2.1.1.4 and Figure 48. https://nvmexpress.org/wp-content/uploads/NVM-Express-Zoned-Namespace-Command-Set-Specification-1.1-2021.06.02-Ratified.pdf (accessed 2026-10-23) - [hesela-zns] Hesela: ZNS resource limits and worked examples. https://hesela.com/analyses/zns-open-active-zone-limits/ (accessed 2026-10-11) - [sysfs-block] Linux v6.12 Documentation/ABI/stable/sysfs-block: max_open_zones and max_active_zones. https://github.com/torvalds/linux/blob/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-10-23) - [zbd-api] Zoned Storage documentation. Zoned Block Device User Interface: zone resources. https://zonedstorage.io/docs/linux/zbd-api (accessed 2026-10-23) ### Exponential histogram (OpenTelemetry) URL: https://hesela.dev/terms/opentelemetry-exponential-histogram/ Also known as: OTel ExponentialHistogram, OpenTelemetry exponential histogram Status: research Record updated: 2026-11-20 An OpenTelemetry exponential histogram represents measurement counts in magnitude buckets with boundaries determined by an integer scale. Note: For positive values, bucket i covers (base^i, base^(i+1)], with base = 2^(2^(-scale)). Negative magnitudes have a separate range; a configurable zero bucket is separate again. Lowering the scale combines aligned buckets exactly, but loses the finer partition. This is called perfect subsetting. [otel] Exact regrouping of counts does not recover individual measurements or exact percentiles. In Hesela's constructed 100-duration example, two populations yield the same scale-0 histogram, count, sum, minimum and maximum. Their nearest-rank p99 values are 1.4 ms and 1.6 ms. Both map to 100 observations in (1, 2] ms; this is deliberate information loss, not a faulty count merge. [example] The calculation uses exact rational values and checks that direct scale-0 counting equals scale-2 counting followed by downscaling. Signed bucket indexes need floor division: a fine index of -1 remains negative when coarsened, rather than truncating to 0. The downloadable model is an arithmetic illustration, not an OpenTelemetry SDK benchmark. [example] DGIM uses timestamped buckets for expiring stream counts. It is a different algorithm despite the shared name. Preserve units, temporality and window ownership separately from the histogram's scale. Related terms: - [dgim-exponential-histogram](https://hesela.dev/terms/dgim-exponential-histogram/) - [latency-histogram-bin](https://hesela.dev/terms/latency-histogram-bin/) - [aggregation-temporality](https://hesela.dev/terms/aggregation-temporality/) Citations: - [otel] OpenTelemetry Metrics Data Model: ExponentialHistogram, perfect subsetting, bucket inclusivity and zero threshold. https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram (accessed 2026-11-20) - [example] Hesela: exact-rational coarsening example, generated observations and reproduction instructions. https://hesela.dev/research/exponential-histograms/README.txt (accessed 2026-11-20) ### Opportunistic scrubbing URL: https://hesela.dev/terms/opportunistic-scrubbing/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Status: research Record updated: 2026-11-26 Opportunistic scrubbing uses ordinary storage accesses as opportunities to verify regions whose inspection age has exceeded a target. Note: The MASCOTS 2004 archive model attaches overdue-region checks to disk accesses to avoid separate power-ups; infrequent accesses require a periodic fallback. Its reliability results are model-dependent, not measurements of current drives. [schwarz04] A target is not evidence of completed coverage. In Hesela's explicit single-region trace, a 14-day threshold produces its first check on day 29; the model assumes instantaneous successful checks and uses a strict greater-than trigger. It is not a reproduction of the paper's simulator. [hesela-trace] In that paper, the opportunity is a disk access, while the inspection clock belongs to each disk portion. An access can trigger checks of overdue portions other than the requested data; the access itself is not proof of their verification. [schwarz04] Limitations: - Without an independent fallback or a bound on access gaps, access-only triggering does not bound inspection age. (sources: [hesela-trace]) Related terms: - [power-state-break-even-time](https://hesela.dev/terms/power-state-break-even-time/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [adaptive-scrubbing](https://hesela.dev/terms/adaptive-scrubbing/) - [inspection-paradox](https://hesela.dev/terms/inspection-paradox/) - [mean-time-to-detection](https://hesela.dev/terms/mean-time-to-detection/) Citations: - [schwarz04] Schwarz, Xin, Miller, Long, Hospodor and Ng. Disk Scrubbing in Large Archival Storage Systems. MASCOTS 2004, pp. 409-418, sections 4.3 and 7.3. https://www.crss.us/media/pubs/d0a1a0161119593cfdb6235492f689bdf8c79b76.pdf (accessed 2026-11-05) - [hesela-trace] Hesela: an opportunistic target is not a deadline, executable synthetic trace and limitations. https://hesela.com/analyses/scrubbing-detection-not-durability/#opportunistic-scrubbing (accessed 2026-11-05) ### Intel Optane URL: https://hesela.dev/terms/optane/ Technology reference: https://hesela.com/tech/optane/ Also known as: Optane SSD, Optane memory Status: eol Recorded firstSeen: 2017 (sources: [c1]) Recorded lastSeen: 2022 (sources: [c2]) Intel's brand for storage products built on 3D XPoint non-volatile memory before the business was wound down. Note: Optane products used 3D XPoint media in NVMe SSDs, client caching modules and persistent-memory DIMMs; the product family is distinct from the underlying media. The 2022 business wind-down did not impose one common warranty or support cutoff. [n3] [n4] On supported PMem systems, Memory Mode presents volatile system memory with DRAM acting as a cache. App Direct exposes persistent capacity to suitable software, while Mixed Mode divides capacity between the two uses. App Direct capacity can also be exposed through a block interface. These modes do not turn an Optane NVMe SSD into load/store memory. [n5] H10 and H20 combine Optane media and QLC NAND on one M.2 module, detected as two PCIe x2 devices with the required BIOS support, and can be paired by RST into one volume. They accelerate their own NAND, not a separate physical drive; an Optane Memory Ready label alone does not establish H-series compatibility. [n6] [n7] Separate devices can be visible before acceleration is enabled even with correct configuration. Intel nevertheless marks use in that state as unvalidated and unsupported. [n8] Sources and caveats: - The lastSeen year records the 2022 development wind-down, not the last shipment or warranty end. [n3] - The PMem operating modes are distinct from the client H-series RST configuration. [n5] [n6] Related terms: - [3d-xpoint](https://hesela.dev/terms/3d-xpoint/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) Citations: - [c1] Intel Optane SSD 900p series brief. https://www.intel.com/content/www/us/en/products/docs/memory-storage/optane-memory-series/intel-optane-ssd-900p-series-brief.html (accessed 2026-03-26) - [c2] Intel Optane business update: future development and product-specific support. https://www.intel.com/content/www/us/en/support/articles/000091826/memory-and-storage.html (accessed 2026-11-07) - [n3] Intel — Optane business update (warranty and support implications). https://www.intel.com/content/www/us/en/support/articles/000091826/memory-and-storage.html (accessed 2026-10-07) - [n4] Intel — Customer support options for discontinued Optane SSDs. https://www.intel.com/content/www/us/en/support/articles/000024320/technologies/memory-and-storage.html (accessed 2026-10-07) - [n5] Intel article 000055895: Memory Mode, App Direct and Mixed Mode. https://www.intel.com/content/www/us/en/support/articles/000055895.html (accessed 2026-11-07) - [n6] Intel article 000090648: H-series BIOS support and two PCIe x2 devices. https://www.intel.com/content/www/us/en/support/articles/000090648/memory-and-storage/intel-optane-memory.html (accessed 2026-11-07) - [n7] Intel article 000056254: H10/H20 versus separate-drive acceleration. https://www.intel.com/content/www/us/en/support/articles/000056254/memory-and-storage/intel-optane-memory.html (accessed 2026-11-07) - [n8] Intel Optane Memory H Series installation guide, February 2022, 345865-002US, pages 5 and 9-10. https://cdrdv2-public.intel.com/841974/Optane-Memory-H-Series-Installation-Guide-345865.pdf (accessed 2026-11-07) ### Optical archival storage URL: https://hesela.dev/terms/optical-archival/ Also known as: write-once optical archive Status: limited Record updated: 2026-10-21 Optical archival storage preserves data on removable laser-readable media as part of a long-term retention and migration workflow. Note: Media longevity and recoverability are separate claims. A usable archive also needs a functioning reader and software [locfaq]. The NIST/LC final report estimates a survival percentile under temperature/humidity assumptions for products purchased in 2005; it does not certify present-day brands or every file on a disc [nist2007]. Preserve format, recorder, initial error measurements, scan coverage and independent content-verification records. A lifetime estimate is not a replacement for verified copies or migration planning [analysis]. Recording and playback faults must be distinguished from chemical aging. CCI identifies incomplete session finalization and format incompatibility as separate causes of unreadability [cci]. Retain an initial read-back result alongside the recording setup. The technology card connects these checks with reader support and migration planning [card]. A filesystem view can omit names or metadata even when files are readable. ISO 9660, Joliet, Rock Ridge and UDF require different reader support. Record the chosen namespace, session and required metadata, then compare the recovered inventory and file bytes. [linux-isofs] [udf260] Related terms: - [glass-storage](https://hesela.dev/terms/glass-storage/) - [hot-warm-cold](https://hesela.dev/terms/hot-warm-cold/) - [tape](https://hesela.dev/terms/tape/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [optical-bler](https://hesela.dev/terms/optical-bler/) - [dvd-pi-sum8](https://hesela.dev/terms/dvd-pi-sum8/) - [optical-disc-lifetime-estimate](https://hesela.dev/terms/optical-disc-lifetime-estimate/) - [optical-jukebox](https://hesela.dev/terms/optical-jukebox/) - [iso-9660](https://hesela.dev/terms/iso-9660/) - [joliet](https://hesela.dev/terms/joliet/) - [rock-ridge](https://hesela.dev/terms/rock-ridge/) - [universal-disk-format](https://hesela.dev/terms/universal-disk-format/) - [holographic-storage](https://hesela.dev/terms/holographic-storage/) Citations: - [nist2007] NIST/Library of Congress. Optical Disc Longevity Study, final report (September 2007), sections 1-5 and Appendix I. https://www.loc.gov/preservation/resources/rt/NIST_LC_OpticalDiscLongevity.pdf (accessed 2026-10-15) - [locfaq] Library of Congress: Audio/Visual Materials FAQ, preservation and playback-system longevity. https://www.loc.gov/preservation/about/faqs/audio.html (accessed 2026-10-15) - [analysis] Hesela: optical-disc lifetime estimates, error thresholds and uncertainty. https://hesela.com/analyses/optical-disc-lifetime-estimates/ (accessed 2026-10-15) - [cci] Canadian Conservation Institute, Notes 19/1: Longevity of Recordable CDs, DVDs and Blu-rays; recorder compatibility and recording techniques. https://www.canada.ca/en/conservation-institute/services/conservation-preservation-publications/canadian-conservation-institute-notes/longevity-recordable-cds-dvds.html (accessed 2026-10-19) - [card] Hesela: optical archival storage, recording quality and reader support. https://hesela.com/tech/optical-archival/ (accessed 2026-10-19) - [linux-isofs] Linux v6.18 ISO9660 filesystem documentation: extension, permission and session options. https://www.kernel.org/doc/html/v6.18/filesystems/isofs.html (accessed 2026-10-21) - [udf260] OSTA: UDF 2.60 (2005), sections 2, 2.2.6.4 and 2.2.14.2, preserved as ECMA TR/112-2 (2023). https://ecma-international.org/wp-content/uploads/ECMA_TR-112-2_1st_edition_december_2023.pdf (accessed 2026-10-21) ### CD block error rate (BLER) URL: https://hesela.dev/terms/optical-bler/ Also known as: CD BLER Status: unknown Record updated: 2026-10-24 CD BLER counts blocks containing detectable errors per second at the input to the C1 decoder. Note: BLER counts data blocks with at least one erroneous byte each second, summing the E11, E21 and E31 counts at the first decoding stage, before correction. NIST describes E32 errors as uncorrectable at the C2 stage and as lost data, with none allowed by the CD specification. [nist2004] The CD standard requires a frame error rate below 3 x 10^-2 averaged over any 10 s at the C1 decoder input and fewer than 7 successive uncorrectable frames. In clause 12.5.3, that burst criterion concerns the C1 input after its one-byte delay: two or more successive erroneous bytes define an uncorrectable frame, not an E32 event at C2. At 75 sections per second of 98 frames each, that rate equals about 220 frames per second, the BLER maximum used in accelerated-aging studies. [ecma130] [nist2004] One sample stayed below 50 after 600 h of light exposure but exceeded 500 after 900 h. The CD threshold does not apply to DVD PI Sum8, which allows at most 280 errors across eight ECC blocks. [nist2004] A checksum of a stored image is not a BLER measurement. ECMA-130 separates Mode 1 sector EDC/P/Q from the later CIRC layer. A 2048-byte payload excludes the sector header and redundancy; 2352-byte sector data alone omits the CIRC parity and control bytes added in later recording stages. Sector P/Q parity is not the p/q control channels and does not preserve their track/index information or the decoder's correction history. [ecma130] Hesela's synthetic controls demonstrate that altered payload bytes can pass selected sector checks after regeneration. They do not perform an optical read or CIRC decoding, measure BLER or establish whether a particular C2 error is recoverable by another layer. Application-level read success must be observed separately. [sector-analysis] [sector-controls] Advantages: - Counting errors before correction reveals degradation while the disc still reads without data loss. (sources: [nist2004]) Limitations: - Maximum BLER is the highest value found anywhere on the disc, so one damaged region sets the figure. (sources: [nist2004]) - Values depend on the analyzer, read speed and scan coverage, which must be recorded to compare measurements. (sources: [nist2004]) - A block count does not identify which files are affected. (sources: [nist2004]) - Image hashes establish byte consistency against a reference, not the original read's decoder telemetry or the medium's remaining life. (sources: [ecma130], [sector-analysis]) Sources and caveats: - nist2004 is the 2004 NIST journal study of recordable discs, re-read for the BLER and E32 definitions, the thresholds and the aging results. - ecma130 is the CD-ROM standard, read in clause 12.5 for the frame error rate and burst limits and in clause 21 for 75 sections per second. - The figure of about 220 per second is arithmetic from the standard: 75 times 98 frames times 3 x 10^-2 gives 220.5. - The write-once-media entry links here because recordable CDs are write-once discs whose aging is tracked with BLER. - On 2026-10-24, E32 lost-data wording was attributed to NIST section 2.1. ECMA-130 and reproduced software controls distinguish acquisition evidence from sector checks; this is self-review, not independent peer review. - Publication acceptance on 2026-10-24 re-read ECMA-130 clauses 17, 18 and 22: the 2352-byte sector representation excludes CIRC parity/control bytes; sector P/Q must not be conflated with the p/q channels. No new physical read was performed. Related terms: - [optical-archival](https://hesela.dev/terms/optical-archival/) - [dvd-pi-sum8](https://hesela.dev/terms/dvd-pi-sum8/) Citations: - [nist2004] Slattery et al. Stability Comparison of Recordable Optical Discs: A Study of Error Rates in Harsh Conditions. J. Res. NIST 109(5), 517-524 (2004). https://nvlpubs.nist.gov/nistpubs/jres/109/5/j95sla.pdf (accessed 2026-10-23) - [analysis] Hesela: optical-disc lifetime estimates, error thresholds and uncertainty. https://hesela.com/analyses/optical-disc-lifetime-estimates/ (accessed 2026-10-15) - [ecma130] Ecma International. ECMA-130, Data interchange on read-only 120 mm optical data disks (CD-ROM), 2nd edition, June 1996, clauses 12.5, 14-19 21 and 22. https://ecma-international.org/wp-content/uploads/ECMA-130_2nd_edition_june_1996.pdf (accessed 2026-10-24) - [sector-analysis] Hesela: optical error counters and what an image checksum cannot observe. https://hesela.com/analyses/optical-disc-rot-error-rate-signals/#image-evidence-heading (accessed 2026-10-24) - [sector-controls] Hesela synthetic CD-ROM Mode 1 controls: generated results, not optical-media measurements. https://hesela.dev/research/cdrom-layered-integrity/summary.json (accessed 2026-10-24) ### Optical-disc lifetime estimate URL: https://hesela.dev/terms/optical-disc-lifetime-estimate/ Also known as: standardized optical life expectancy Status: unknown Record updated: 2026-11-18 An optical-disc lifetime estimate predicts time to a defined error threshold for a stated population percentile and storage environment under an aging model. Note: The NIST/LC 2007 method combines accelerated temperature/humidity tests, an Eyring model and log-normal lifetimes at 25 degrees Celsius and 50% relative humidity [nist2007]. Its 95% survival target differs from its 95% confidence calculation. The report concerns 2005 products and selected test bands; it is not a warranty, a complete-disc readability certificate or a modern-media forecast. Section 4.2 also controls the humidity ramp: moisture disequilibrium can produce droplets within the substrate or at its recording-layer interface, while moisture gradients can bend the disc through differential expansion. The ramp and equilibration history therefore belong to the test conditions, not just the peak temperature and humidity [nist2007]. Related terms: - [optical-archival](https://hesela.dev/terms/optical-archival/) - [optical-bler](https://hesela.dev/terms/optical-bler/) - [dvd-pi-sum8](https://hesela.dev/terms/dvd-pi-sum8/) - [accelerated-life-testing](https://hesela.dev/terms/accelerated-life-testing/) Citations: - [nist2007] NIST/Library of Congress. Optical Disc Longevity Study, final report (September 2007), sections 1-5 and Appendix I. https://www.loc.gov/preservation/resources/rt/NIST_LC_OpticalDiscLongevity.pdf (accessed 2026-10-19) - [analysis] Hesela: optical-disc lifetime estimates, error thresholds and uncertainty. https://hesela.com/analyses/optical-disc-lifetime-estimates/ (accessed 2026-10-15) ### Optical jukebox URL: https://hesela.dev/terms/optical-jukebox/ Also known as: optical disc library, optical library, disc changer Status: limited Record updated: 2026-10-22 An optical jukebox is a robotic library whose picker moves removable optical discs between slots and drives, reaching many more discs than drives without an operator. Note: A changer device controls the robot while separate drives read and write the data. The SCSI changer model has four element types, namely media transport (the picker), storage slots, an import/export mailslot and data-transfer drives, and makes no distinction between tape changers, optical jukeboxes and CD changers. [scsi-changer] [optical-howto] The kernel documentation's example of a large jukebox has 123 CD-ROM slots, 5 readers and 2 transport arms, while the Linux driver supports only one arm. It was tested with jukeboxes of 11 and 35 slots and an 88-slot magneto-optical unit with 4 drives. [scsi-changer] Latency is dominated by mechanics. A one-drive, 16-slot jukebox of 20 GB took about 12 seconds to spin down, move the carriage, unload, load the next disc and spin up, at most 5 exchanges per minute per drive, which suits archive data with few concurrent users. [optical-howto] A Blu-ray library family lists 35, 105, 350 and 560 discs with average load times below 3.5, 5, 6 and 6 seconds and supports 100 GB media, so the largest model holds 56 TB raw. [bd-library] An analytical model of tertiary-storage jukeboxes treats them as low-cost storage for continuous media, large databases and backups whose scheduling needs good performance predictions. [jukebox-model] Write-once discs need an append-only file system, because a conventional one such as ext2 rewrites superblocks across the disc. [optical-howto] Advantages: - Media stay removable and can be exchanged through magazines or a mailslot. (sources: [bd-library], [scsi-changer]) - Generic medium-changer drivers and tools written for tape libraries apply, since the command set is shared. (sources: [scsi-changer], [optical-howto]) Limitations: - The Linux changer driver uses long default timeouts, 3600 for initialisation and 120 for other commands, which reflects slow mechanical operations. (sources: [scsi-changer]) Sources and caveats: - Load times, capacities and an MSBF of 2.5 million (unit not stated) come from a reseller specification table without a test method. - The 12-second swap is a single user's report in the HOWTO; no cited source gives an independent measurement. - Only the abstract of the jukebox model report was read, and it gives no figures. - The kernel documentation does not state the unit of the driver's default timeouts. - Arithmetic: 60 / 12 = 5 exchanges per minute; 560 x 100 GB = 56 TB raw. Related terms: - [optical-archival](https://hesela.dev/terms/optical-archival/) - [blu-ray-archive](https://hesela.dev/terms/blu-ray-archive/) - [tape-library](https://hesela.dev/terms/tape-library/) - [write-once-media](https://hesela.dev/terms/write-once-media/) - [magneto-optical](https://hesela.dev/terms/magneto-optical/) - [scsi](https://hesela.dev/terms/scsi/) Citations: - [c1] Optical jukebox. https://en.wikipedia.org/wiki/Optical_disc (accessed 2026-03-26) - [scsi-changer] Linux kernel documentation: SCSI media changer driver. https://docs.kernel.org/scsi/scsi-changer.html (accessed 2026-10-16) - [optical-howto] Linux Optical Disk HOWTO, section 5: Optical jukeboxes. https://tldp.org/HOWTO/Optical-Disk-HOWTO-5.html (accessed 2026-10-16) - [bd-library] Kintronics. HIT Storage Optical Jukebox Library System, specification table (35 to 560 slots). https://kintronics.com/products/archiving/hit-storage-optical-jukebox-library-system/ (accessed 2026-10-16) - [jukebox-model] Lijding, Mullender and Jansen. A Comprehensive Model of Tertiary-storage Jukeboxes. CTIT Technical Report 02-41, 2002. https://research.utwente.nl/en/publications/d4608e06-99bd-40bf-881e-adbad2551544 (accessed 2026-10-16) ### Optical storage voxel URL: https://hesela.dev/terms/optical-storage-voxel/ Related article: https://hesela.com/tech/glass-storage/ Also known as: laser-written storage voxel Status: research Record updated: 2026-10-18 An optical storage voxel is a localized modification inside a transparent medium whose measurable optical properties encode a data symbol. Note: A voxel is a physical recording element, not necessarily one bit; distinguish its symbol alphabet from user capacity after coding and engineering overhead [silica2023]. Glass-storage designs use different optical responses, so voxel, phase voxel and birefringent voxel are not interchangeable descriptions of the same readout mechanism [silica2026]. Writer compatibility: five glasses in a 2026 screening study formed voxels but did not provide the emission response required by its energy-control loop; rejection was specific to that tested feedback method [materials2026]. Sources and caveats: - This definition concerns volumetric optical recording, not the spatial samples of a rendered 3D image. Related terms: - [glass-storage](https://hesela.dev/terms/glass-storage/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [holographic-storage](https://hesela.dev/terms/holographic-storage/) Citations: - [silica2023] Anderson et al. Project Silica: Towards Sustainable Cloud Archival Storage in Glass. SOSP 2023, sections 3-7. https://www.microsoft.com/en-us/research/wp-content/uploads/2023/09/ProjectSilica-SOSP23.pdf (accessed 2026-10-18) - [silica2026] Microsoft Research Project Silica Team. Laser writing in glass for dense, fast and efficient archival data storage. Nature 650 (2026). https://www.nature.com/articles/s41586-025-10042-w (accessed 2026-10-18) - [observatory] Hesela: Glass Data Storage, mechanisms and research evidence. https://hesela.com/tech/glass-storage/ (accessed 2026-10-18) - [materials2026] Lawson et al. Property-driven analysis of glasses for data storage via femtosecond laser writing. Optica 13 (2026), DOI 10.1364/OPTICA.592661. https://www.microsoft.com/en-us/research/wp-content/uploads/2026/04/optica-13-4-698.pdf (accessed 2026-10-18) ### Optimal-access repair URL: https://hesela.dev/terms/optimal-access-repair/ Also known as: Optimal access, Access-optimal repair Status: limited Record updated: 2026-11-22 Optimal-access repair attains a code's repair-bandwidth bound by reading and forwarding only the stored symbols needed from its helpers. Note: At the minimum-storage point, any k of n nodes recover the file. Symmetric single-node repair from d helpers, with k <= d < n, has a download bound of dL/(d-k+1) symbols for L symbols per node. Optimal access attains this with the same number of helper-symbol reads. State the failed-node class and eligible helper sets: systematic-node optimality alone does not cover parity failures. [tamo] A six-node, four-data-node example stores two GF(7) symbols per node. Its published repair schedule sends five symbols for any one lost data node. Repairing N1 or N2 reads five stored symbols; repairing N3 or N4 reads ten to form five combinations. Both schedules meet the five-symbol bandwidth bound, but their access costs differ. These counts follow from the verified linear maps, not a disk benchmark. [example] Forwarding selected symbols needs no helper-side arithmetic, but reconstructing the failed node can still require decoding. At the device boundary, alignment and fragmented sub-chunks can make physical reads larger than the logical symbol budget. [clay] Limitations: - A symbol-access optimum does not establish the fastest repair: request layout and I/O granularity also affect cost. (sources: [clay]) Sources and caveats: - The primary preprint's Figure 1 coefficients and repair schedule were reconstructed independently. No throughput, latency or physical-device measurements are inferred. - Tests check every four-node subset for full rank and every data-node repair on a field basis; linearity extends correctness to all 7^8 input messages. - The finite example covers the published systematic-node schedule only, not all possible repair algorithms, parity-node repair or arbitrary helper sets. Related terms: - [zigzag-code](https://hesela.dev/terms/zigzag-code/) - [minimum-storage-regenerating-code](https://hesela.dev/terms/minimum-storage-regenerating-code/) - [repair-by-transfer](https://hesela.dev/terms/repair-by-transfer/) - [subpacketization](https://hesela.dev/terms/subpacketization/) - [clay-code](https://hesela.dev/terms/clay-code/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) Citations: - [tamo] Tamo, Wang and Bruck. Access vs. Bandwidth in Codes for Storage (2013), arXiv:1303.3668v1, sections I-II and V. https://arxiv.org/abs/1303.3668v1 (accessed 2026-11-22) - [clay] Vajha et al. Clay Codes: Moulding MDS Codes to Yield an MSR Code. FAST 2018, sections 2 and 5.2. https://www.usenix.org/system/files/conference/fast18/fast18-vajha.pdf (accessed 2026-11-22) - [example] Hesela: exact GF(7) verification of the six-node repair example and its logical read counts. https://hesela.dev/research/repair-transfer-access.test.mjs (accessed 2026-11-22) - [reading] Hesela: Local repair is not whole-node repair. https://hesela.com/analyses/lrc-repair-costs-locality/ (accessed 2026-11-22) ### Optimal I/O size URL: https://hesela.dev/terms/optimal-io-size/ Also known as: optimal_io_size, OPT-IO, io_opt Status: shipping Record updated: 2026-10-19 Optimal I/O size is a Linux block-layer hint for the preferred request unit for sustained I/O, expressed in bytes. Note: Zero means no optimum was reported, not that zero-length requests are useful. Treat the value as a workload starting point, not a measured best size for every application. [linux-abi] Advantages: - The blockdev --getioopt query can record the hint without issuing a data write. (sources: [blockdev]) Limitations: - For partitions, lsblk can inherit queue attributes from the parent, so matching rows are not independent device measurements. (sources: [lsblk]) Sources and caveats: - Linux v6.12 ABI and util-linux v2.40.2 manuals define the scope; no universal throughput gain is claimed. Related terms: - [minimum-io-size](https://hesela.dev/terms/minimum-io-size/) - [alignment-offset](https://hesela.dev/terms/alignment-offset/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [physical-sector](https://hesela.dev/terms/physical-sector/) Citations: - [linux-abi] Linux 6.12: stable sysfs block ABI, sector sizes and I/O topology. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-10-19) - [blockdev] util-linux 2.40.2: blockdev query options and byte units. https://raw.githubusercontent.com/util-linux/util-linux/v2.40.2/disk-utils/blockdev.8.adoc (accessed 2026-10-19) - [lsblk] util-linux 2.40.2: lsblk explicit columns and inherited queue attributes. https://raw.githubusercontent.com/util-linux/util-linux/v2.40.2/misc-utils/lsblk.8.adoc (accessed 2026-10-19) - [hesela-sector-alignment] Hesela: 512e, 4Kn and alignment: geometry is not durability. https://hesela.com/analyses/sector-sizes-alignment-not-durability/ (accessed 2026-10-19) ### Optimistic concurrency control URL: https://hesela.dev/terms/optimistic-concurrency-control/ Also known as: OCC Status: shipping Record updated: 2026-11-16 Optimistic concurrency control executes transaction work speculatively and validates that it can commit under the required isolation guarantees, aborting attempts that fail validation. Note: Mechanism: The classic design separates reading and private updates, validation, and publication of accepted writes. Its serializability checks consider read sets, write sets and overlapping transaction phases, not only competing writes to one object. [kung-robinson] Isolation: Optimistic checking and multiversion storage are separate choices. Larson et al. describe both optimistic and pessimistic multiversion methods. Their serializable optimistic method validates read versions and scans for phantoms; its snapshot-isolation mode omits those read and scan checks. These are rules of that design, not every engine. [larson-mvcc] SQL Server memory-optimized tables can still perform read and phantom validation under Snapshot isolation to enforce unique and foreign-key constraints. [memory-optimized] Application: An atomic row-version-checked update guards that row, not every dependency used to decide its new value. The required validation scope follows the transaction's isolation contract. Successful validation also does not by itself establish durable storage. [larson-mvcc] [memory-optimized] Terminology: Optimistic crash consistency concerns persistence ordering and recovery, not this transaction concurrency-control policy. [optfs] Limitations: - Retaining validation history has a storage cost; discarding required history can force a restart even without a demonstrated conflict. Repeated restarts can cause starvation. (sources: [kung-robinson]) Sources and caveats: - Primary-source synthesis; no native engine execution, performance comparison or crash experiment. - The 1981 paper gives serializability algorithms, not a universal lock-free or bounded-retry guarantee. Later implementations have different isolation and commit contracts. Related terms: - [hyder](https://hesela.dev/terms/hyder/) - [serializability](https://hesela.dev/terms/serializability/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [write-skew](https://hesela.dev/terms/write-skew/) - [silo](https://hesela.dev/terms/silo/) - [tango](https://hesela.dev/terms/tango/) - [tapir](https://hesela.dev/terms/tapir/) Citations: - [kung-robinson] Kung and Robinson. On Optimistic Methods for Concurrency Control. ACM TODS 6(2), 213-226 (1981), sections 2-5. DOI: 10.1145/319566.319567. https://www.eecs.harvard.edu/~htk/publication/1981-tods-kung-robinson.pdf (accessed 2026-11-15) - [larson-mvcc] Larson et al. High-Performance Concurrency Control Mechanisms for Main-Memory Databases. PVLDB 5(4), 298-309 (2011), sections 3 and 6. https://vldb.org/pvldb/vol5/p298_per-akelarson_vldb2012.pdf (accessed 2026-11-15) - [memory-optimized] Microsoft: Transactions with memory-optimized tables, validation, commit processing, conflict detection and retry logic. https://learn.microsoft.com/en-us/sql/relational-databases/in-memory-oltp/transactions-with-memory-optimized-tables?view=sql-server-ver17 (accessed 2026-11-15) - [optfs] Chidambaram et al. Optimistic Crash Consistency. SOSP 2013, sections 4-5. DOI: 10.1145/2517349.2522726. https://research.cs.wisc.edu/wind/Publications/optfs-sosp13.pdf (accessed 2026-11-15) - [hesela-consistency] Hesela: Storage consistency, ordering, transactions and durability. https://hesela.com/analyses/storage-consistency-ordering/ (accessed 2026-11-15) ### Optimistic crash consistency URL: https://hesela.dev/terms/optimistic-crash-consistency/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Status: research Record updated: 2026-11-24 Optimistic crash consistency permits storage write reordering while exposing application ordering and durability through distinct synchronization operations. Note: The ext4-based OptFS prototype separates osync() ordering with eventual durability from dsync() durability. Transactional checksums cover metadata and data. [optfs] Without either call, W2 may survive without W1. In the paper's sequential example, osync() after each write permits recovery to a prefix, including an empty prefix. dsync() additionally makes preceding writes durable on return. This is not a prefix of arbitrary unsynchronized calls. [optfs] [thesis] Recovery uses two passes: collect data-checksum mismatches, clear those explained by a later valid transaction, then replay up to the earliest unresolved transaction. Safe reuse waits for durable release; overwrites use selective data journaling. [optfs] Timeout expiry is not a device observation. The prototype's 30-second bound runs from acknowledgement, not filesystem issue. Overestimation delays progress and increases memory pressure; underestimation risks unsafe checkpointing or block reuse. It is not a universal persistence guarantee. Pressure can trigger a flush. [optfs] [thesis] Pinned code sets JBDBF_CHECKPOINT_INTERVAL to 30000 and converts milliseconds to kernel ticks; this is configuration, not measured latency. [optfs-code-interval] [optfs-code-commit] The authors reported 400/400 selected simulated crash scenarios recovering consistently with frequent osync(). Reordered, truncated traces yielded crash images, not physical power cuts or a field failure probability. The protocol respects flush semantics but does not validate a device's timeout bound. [optfs] [thesis] [optfs-evidence] Advantages: - Applications that need ordering but not immediate durability, such as atomic file replacement, can avoid waiting for every update to reach media. (sources: [optfs]) - In the authors' historical experiment, random writes were 3 times faster than ext4 ordered mode; this is not a modern-device performance guarantee. (sources: [optfs], [thesis]) Limitations: - Journal recovery can take longer than in ext4 because data blocks may have to be read from non-contiguous locations. (sources: [thesis]) - The implementation was not optimized for SSDs, where checksum computation became a significant cost. (sources: [thesis]) - A durability timeout is a safety assumption: underestimating device persistence delay can break consistency, not just lose the newest updates. (sources: [optfs]) - The published prototype maps fsync() to osync() by default, so unmodified applications lose their expected immediate-durability guarantee. (sources: [optfs-code-readme]) - The two synthetic workloads do not characterize other applications, firmware behavior or real-world crash scheduling. (sources: [optfs], [thesis]) - The reported sequential-overwrite bandwidth was about half that of ext4 ordered mode because selective journaling wrote each block twice. (sources: [optfs], [thesis]) - An ordered prefix can contain only the first of two file updates. It is not all-or-nothing application atomicity across calls; a later durability request cannot remove earlier interruption points. (sources: [optfs], [alice]) Sources and caveats: - optfs is the SOSP 2013 paper, read in sections 4 to 6 for primitives, techniques, the durability timeout and benchmark ratios. - thesis is the 2015 dissertation, read in chapters 6 and 7 for recovery cost, flushing under memory pressure and SSD limitations. - Performance ratios are research measurements on the authors' hardware and are not general device guarantees. - 2026-11-24: checked paper section 5.1, thesis section 6.3.1 and pinned public source for the timeout assumption. No kernel was built or executed; no device bound or power-loss behavior was measured. - 2026-11-24 follow-up: paper section 4.4 and dissertation section 6.2.4 make the prefix guarantee conditional on application synchronization. The sequential example is an API contract, not a measured crash-frequency distribution or a model of concurrent callers. - Pinned README Caveats documents the prototype's default fsync-to-osync behavior and directs durability-sensitive applications to dsync(). This is historical implementation documentation, not a claim about standard Linux fsync() or a kernel execution. - Table 1 counts were transcribed and cross-checked against dissertation Table 6.3. These are reported aggregate results, not a new experiment or an independent replication. Hesela has not rerun the experiments. - The two-file partial-prefix example is Hesela's deduction from OptFS section 4.4, not a measured failure. ALICE separates cross-call atomicity from ordering and evaluates hypothetical ext3-fast, not OptFS; it is comparative evidence, not an OptFS replication. Related terms: - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [external-synchrony](https://hesela.dev/terms/external-synchrony/) - [backpointer-based-consistency](https://hesela.dev/terms/backpointer-based-consistency/) Citations: - [optfs] Chidambaram et al. Optimistic Crash Consistency. SOSP 2013, sections 4-6 and Table 1. DOI: 10.1145/2517349.2522726. https://research.cs.wisc.edu/wind/Publications/optfs-sosp13.pdf (accessed 2026-11-24) - [thesis] Chidambaram. Orderless and Eventually Durable File Systems. PhD thesis, Wisconsin-Madison, 2015, sections 6.2-6.4, Table 6.3. https://research.cs.wisc.edu/wind/Publications/vijayc-thesis15.pdf (accessed 2026-11-24) - [optfs-code-interval] OptFS source at commit 0c7464b8cd29ed174de56cb91e56ec1d49928507: jbdbf.h, JBDBF_CHECKPOINT_INTERVAL (line 1357). https://github.com/utsaslab/optfs/blob/0c7464b8cd29ed174de56cb91e56ec1d49928507/fs/ext4bf/jbdbf.h#L1357 (accessed 2026-11-24) - [optfs-code-commit] OptFS source at commit 0c7464b8cd29ed174de56cb91e56ec1d49928507: commit.c, checkpoint scheduling (lines 1007-1013). https://github.com/utsaslab/optfs/blob/0c7464b8cd29ed174de56cb91e56ec1d49928507/fs/ext4bf/commit.c#L1007-L1013 (accessed 2026-11-24) - [optfs-code-readme] OptFS README, Caveats: fsync() defaults to osync(). Commit 0c7464b8cd29ed174de56cb91e56ec1d49928507. https://github.com/utsaslab/optfs/blob/0c7464b8cd29ed174de56cb91e56ec1d49928507/README.md#caveats (accessed 2026-11-24) - [optfs-evidence] Hesela extraction of OptFS Table 1: reported scenario counts and evidence limits. https://hesela.dev/research/optfs-crash-evidence.json (accessed 2026-11-24) - [alice] Pillai et al. All File Systems Are Not Created Equal. OSDI 2014, sections 4.4.1 and 4.6, pp. 443-445. https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-pillai.pdf (accessed 2026-11-24) ### OptiNAND URL: https://hesela.dev/terms/optinand/ Related analysis: https://hesela.com/analyses/hdd-adjacent-track-interference-refresh/ Status: shipping Record updated: 2026-10-16 OptiNAND is a flash-assisted HDD architecture that integrates an embedded iNAND device with disk-controller hardware and firmware. Note: Flash holds drive metadata, including sector-level write accounting for targeted ATI refresh; it does not by itself determine whether recording uses CMR or SMR. [wd-brief] This is not synonymous with a hybrid drive's user-data read cache. ArmorCache is a distinct supported-model feature for retaining buffered writes on emergency power loss, so OptiNAND flash can also contain user data. [wd-armor] Sources and caveats: - OptiNAND is a Western Digital architecture. The cited technical briefs describe its design, not independent measurements of reliability or workload performance. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [ati-refresh](https://hesela.dev/terms/ati-refresh/) - [armorcache](https://hesela.dev/terms/armorcache/) - [sshd](https://hesela.dev/terms/sshd/) Citations: - [wd-brief] Western Digital. Reimagining HDDs with OptiNAND Technology, August 2022, printed pp. 1-4. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/tech-brief/tech-brief-reimagining-hdds-with-optinand-technology.pdf (accessed 2026-10-16) - [wd-armor] Western Digital. ArmorCache Write Cache Data Protection, mechanism and WCE/WCD scope, printed pp. 1-2. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/tech-brief/tech-brief-write-cache-data-safety.pdf (accessed 2026-10-16) - [hesela-boundary] Hesela. OptiNAND metadata is not the ArmorCache guarantee: model and system boundaries. https://hesela.com/analyses/hdd-adjacent-track-interference-refresh/#optinand-armorcache (accessed 2026-10-16) ### Out-of-band storage management URL: https://hesela.dev/terms/out-of-band-management/ Related analysis: https://hesela.com/analyses/nvme-health-log-coverage/ Also known as: OOB storage management, Out-of-band management Status: shipping Record updated: 2026-10-21 Out-of-band storage management uses a management path separate from the host operating system's normal storage-access path. Note: NVMe-MI can be used out of band, usually by a baseboard management controller, or in band through the host operating system. The NVMe-MI name alone does not identify which path supplied a reading. [mi-overview] For NVMe-MI, endpoint readiness depends on power state and supported access conditions; temporary unresponsiveness is permitted in specified circumstances. A failed collection is not a reported health value. [mi22] Sources and caveats: - NVMe-specific availability limits follow NVMe-MI 2.2 section 8.1. Separating collection failures from health readings is an operational inference, not a measured reliability result. Related terms: - [nvme-mi](https://hesela.dev/terms/nvme-mi/) - [mctp](https://hesela.dev/terms/mctp/) - [mctp-endpoint-id](https://hesela.dev/terms/mctp-endpoint-id/) - [nvme-smart-log](https://hesela.dev/terms/nvme-smart-log/) Citations: - [mi-overview] NVM Express: NVMe-MI architecture and specification index. https://nvmexpress.org/specification/nvme-mi-specification/ (accessed 2026-10-21) - [mi22] NVM Express Management Interface 2.2: sections 1.3, 3, 8.1 and Figure 105. https://nvmexpress.org/wp-content/uploads/NVM-Express-Management-Interface-Specification-Revision-2.2-Ratified-2026.07.31.pdf (accessed 2026-10-21) ### Over-provisioning URL: https://hesela.dev/terms/over-provisioning/ Also known as: SSD over-provisioning, overprovisioning Status: shipping Record updated: 2026-10-23 SSD over-provisioning is flash capacity withheld from host-addressable user storage to support controller management such as garbage collection and wear leveling. Note: The size of the reserve must be stated with its denominator. For physical capacity P and logical capacity L in the same units, the reserve is (P-L)/L on the logical basis and (P-L)/P on the physical basis, so a 20% physical-basis reserve is 25% on the logical basis. Analytic models use both forms, an overprovisioning factor (T-U)/U and a spare factor (T-U)/T. [xiang] [desnoyers] Under uniformly random writes and greedy cleaning, write amplification depends asymptotically on the overprovisioning factor alone, and for a factor of 0.3 one closed-form expression predicts 2.36 against a simulated 2.35. [xiang] With skewed traffic, separating hot and cold data and shifting free space toward hot data can bring write amplification close to 1.0. [desnoyers] Filesystem free space alone does not establish the controller's valid-page state. Advantages: - A larger reserve lowers write amplification under random writes, which reduces flash writes per host byte. (sources: [xiang]) Limitations: - Capacity percentages do not uniquely predict write amplification, because workload, placement and cleaning policy also matter. (sources: [desnoyers]) - Closed-form results for uniform random writes do not describe traffic with temporal locality, which needs separate models. (sources: [desnoyers]) Sources and caveats: - xiang is the 2011 arXiv paper on write amplification, re-read for the overprovisioning factor, the asymptotic result and the 0.3 comparison. - desnoyers is the SYSTOR 2012 paper, re-read for the spare factor, greedy and LRU cleaning models and hot and cold separation. - The static-wear-leveling entry links here because relocating cold data draws on the same reserve of free blocks. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [ssd](https://hesela.dev/terms/ssd/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [bad-block-management](https://hesela.dev/terms/bad-block-management/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [greedy-garbage-collection](https://hesela.dev/terms/greedy-garbage-collection/) - [hot-cold-data-separation](https://hesela.dev/terms/hot-cold-data-separation/) - [discard](https://hesela.dev/terms/discard/) - [effective-spare-factor](https://hesela.dev/terms/effective-spare-factor/) - [ssd-preconditioning](https://hesela.dev/terms/ssd-preconditioning/) Citations: - [c1] Over-provisioning. https://en.wikipedia.org/wiki/Write_amplification (accessed 2026-03-26) - [xiang] Xiang and Kurkoski. An Improved Analytic Expression for Write Amplification in NAND Flash. arXiv:1110.4245v1 (2011), sections II-IV, equation 12, Table I. https://arxiv.org/abs/1110.4245v1 (accessed 2026-10-23) - [desnoyers] Peter Desnoyers. Analytic Modeling of SSD Write Performance. SYSTOR 2012, sections 2-6, Tables 1-2. DOI: 10.1145/2367589.2367603. https://www.ccs.neu.edu/home/pjd/papers/pjd-systor12.pdf (accessed 2026-10-23) - [kingston] Kingston. Understanding SSD Over-provisioning (OP). March 2019; user-capacity denominator. https://www.kingston.com/en/blog/pc-performance/overprovisioning (accessed 2026-10-11) - [hesela-op] Hesela: SSD over-provisioning, capacity denominators and analytical-model limits. https://hesela.com/analyses/ssd-overprovisioning-denominators/ (accessed 2026-10-11) ### OverlayFS URL: https://hesela.dev/terms/overlayfs/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: overlay filesystem Status: shipping Record updated: 2026-11-04 OverlayFS is a Linux filesystem that combines lower directory trees and an optional upper tree into one merged namespace. Note: Upper entries take precedence, while directory names can merge. Write access to a lower file can trigger copy-up; a read-write open may cause this even without changing data. With redirect_dir disabled, renaming a lower or merged directory fails with EXDEV. Enabling directory redirects changes that behavior. [linux-overlayfs-612] Whiteouts suppress matching lower names during lookup without exposing the marker as an ordinary file. They record visibility changes, not removal of the lower object. [linux-overlayfs-lookup] Advantages: - Allows changes in a writable upper tree while retaining lower-layer objects. Limitations: - Copy-up and directory-rename behavior depend on the operation and configured features. - A merged pathname view is not evidence of secure erasure or crash durability. Sources and caveats: - Source review of Linux 6.12 and the cited API/specification; no mounted-overlay experiment or crash test. Related terms: - [whiteout](https://hesela.dev/terms/whiteout/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [copy-up](https://hesela.dev/terms/copy-up/) - [metacopy](https://hesela.dev/terms/metacopy/) Citations: - [linux-overlayfs-612] Linux 6.12: Overlay Filesystem, layer lookup, copy-up and directory renames. https://docs.kernel.org/6.12/filesystems/overlayfs.html (accessed 2026-11-04) - [linux-overlayfs-lookup] Linux v6.12: OverlayFS ovl_lookup_single, whiteout and opaque-directory lookup. https://github.com/torvalds/linux/blob/v6.12/fs/overlayfs/namei.c#L213-L303 (accessed 2026-11-04) ### Oxford Common File Layout URL: https://hesela.dev/terms/oxford-common-file-layout/ Also known as: OCFL, OCFL object Status: shipping Record updated: 2026-11-21 Oxford Common File Layout is a storage layout for versioned digital objects that maps logical file names to stored content through a digest-based inventory. Note: In OCFL 1.1, the object-root inventory.json records the object identifier, latest version, content manifest and version states. The manifest maps digests to stored content paths; each version's state maps those digests to logical file names. Stored paths and logical names can differ. [spec] A later version can reference content stored in an earlier version, so a version directory need not be a self-contained copy. Previous versions should remain immutable; removing old content can break newer states. [notes] The optional fixity block carries supplementary digests and may cover only some files. It does not replace the mandatory manifest or make payload checking optional. [spec] Validating an object establishes its internal consistency, not that it is the intended recovery target. For recovery, retain an independent version expectation and still verify the payload. [evidence] Limitations: - The specification describes objects at rest; atomic updates and recovery procedures require implementation choices. (sources: [spec], [notes]) - OCFL does not portably preserve filesystem permissions or timestamps and prohibits hard and symbolic links; preserving such features requires a suitable disk or filesystem image stored as a regular file. (sources: [spec]) Sources and caveats: - Source synthesis of OCFL 1.1; logical names, physical content and additional fixity digests are distinct concepts. [spec] - The existing seven-fixture recovery study uses pinned ocfl-py 2.1.0. This definition does not extend those observations to other implementations. [evidence] - The 2019 design paper describes an alpha specification and compares metadata-access operations, not full payload validation or current restore performance. Use OCFL 1.1 for the format rules here. [paper] Related terms: - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [content-addressed-storage](https://hesela.dev/terms/content-addressed-storage/) - [checksum](https://hesela.dev/terms/checksum/) - [restore-test](https://hesela.dev/terms/restore-test/) - [bagit](https://hesela.dev/terms/bagit/) Citations: - [spec] OCFL 1.1 specification: inventories, versions, fixity and objects at rest. https://ocfl.io/1.1/spec/ (accessed 2026-11-21) - [notes] OCFL 1.1 implementation notes: content paths, version immutability and updates. https://ocfl.io/1.1/implementation-notes/ (accessed 2026-11-21) - [evidence] Hesela: OCFL object validation and independent recovery-target checks. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#ocfl-recovery-target (accessed 2026-11-21) - [paper] Hankinson et al. (2019): The Oxford Common File Layout: A Common Approach to Digital Preservation. https://doi.org/10.3390/publications7020039 (accessed 2026-11-21) ### P-value URL: https://hesela.dev/terms/p-value/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: p value, statistical p-value Status: research Record updated: 2026-11-19 A p-value is the probability, under a specified null model, of a test result at least as extreme as the observed one according to the chosen test. Note: A p-value does not assign a probability to the null hypothesis or measure the size or practical importance of an effect. Report the test, assumptions and analysis choices alongside an effect estimate and appropriate uncertainty. [asa-2016] For two independent Poisson counts at fixed equal exposures, conditioning on their total under an equal-rate null gives a binomial count with probability 1/2. The same observed rates can yield very different p-values at different exposures. This comparison is distinct from a survival-distribution test. [r-poisson] [rate-example] A small p-value can also reflect failure of the model assumptions; it cannot identify which assumption failed or establish a causal hardware difference. [asa-full] Limitations: - Selecting comparisons after seeing results or stopping at a favorable value changes the inferential problem. A test threshold alone is not a scientific or engineering decision rule. [asa-2016] Related terms: - [log-rank-test](https://hesela.dev/terms/log-rank-test/) - [poisson-rate-model](https://hesela.dev/terms/poisson-rate-model/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [confidence-sequence](https://hesela.dev/terms/confidence-sequence/) Citations: - [asa-2016] ASA (2016): Statement on Statistical Significance and P-Values, six principles. https://www.amstat.org/asa/files/pdfs/P-ValueStatement.pdf (accessed 2026-11-19) - [r-poisson] R stats: Exact Poisson tests, conditioning on the total event count. https://stat.ethz.ch/R-manual/R-patched/library/stats/html/poisson.test.html (accessed 2026-11-19) - [rate-example] Hesela: Equal-exposure rate comparison, exact synthetic example and method limits. https://hesela.com/analyses/afr-rate-not-probability/#p-values (accessed 2026-11-19) - [asa-full] Wasserstein and Lazar (2016): The ASA's Statement on p-Values: Context, Process, and Purpose; principles 1 and 6. https://doi.org/10.1080/00031305.2016.1154108 (accessed 2026-11-19) ### PACTree URL: https://hesela.dev/terms/pactree/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Status: research Record updated: 2026-11-14 PACTree is a persistent range index that decouples a trie search layer from linked data nodes and updates routing asynchronously. Note: The data layer persists a structural modification before background work updates the search layer. A lookup can follow sibling links from an outdated routing result. Recovery still repairs unfinished structural modifications. [pactree-paper] The inspected StringKey uses C-string comparison, so an explicit-length setter does not make embedded NUL bytes distinguishable. This is a key-domain constraint, not evidence of a crash-recovery failure. [pactree-code] Limitations: - In the later equal-core-budget study, background lag increased insert latency at 20 threads; asynchronous work does not remove its CPU cost. (sources: [pactree-evaluation]) - PiBench's variable-length-key comparison excluded PACTree because generated keys can contain NUL bytes; omission is not a measured performance loss. (sources: [pactree-evaluation]) Sources and caveats: - Primary-source synthesis and a native replay of the exact pinned StringKey class fragment under -O0 and -O2 -DNDEBUG; not a full index, PMDK, hardware or recovery experiment. Related terms: - [b-plus-tree](https://hesela.dev/terms/b-plus-tree/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) Citations: - [pactree-paper] Kim et al. PACTree: A High Performance Persistent Range Index Using PAC Guidelines. SOSP 2021, sections 5.2-5.9. DOI: 10.1145/3477132.3483589. https://cosmoss-jigu.github.io/pages/pubs/pactree-kim-sosp21.pdf (accessed 2026-11-14) - [pactree-evaluation] He et al. Evaluating Persistent Memory Range Indexes: Part Two. PVLDB 15(11), 2477-2490, 2022, sections 6.1-6.7 and footnote 10. DOI: 10.14778/3551793.3551808. https://www.cs.sfu.ca/~tzwang/pibench-ep2.pdf (accessed 2026-11-14) - [pactree-code] PACTree artifact, revision f173a0f: StringKey constructors, set and comparisons in include/common.h. https://github.com/cosmoss-jigu/pactree/blob/f173a0f30a3ea492cdc194e6e83a00f9807a8cc8/include/common.h (accessed 2026-11-14) - [hesela-pmem] Hesela: PACTree routing lag and key-domain evidence. https://hesela.com/analyses/pmem-persistence-domains-dax/#pactree (accessed 2026-11-14) ### Page cache URL: https://hesela.dev/terms/page-cache/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: Linux page cache Status: shipping Record updated: 2026-12-04 The page cache is the kernel-managed memory that holds cached file contents for access and writeback. Note: Linux iomap manages cached folios and their up-to-date and dirty state. Its direct-I/O path still flushes dirty cached data and invalidates cached ranges where required, so bypassing cached transfers does not eliminate coherence work. [iomap] Linux exposes a drop_caches control in the vm sysctl directory. Writing 1 frees clean page cache, 2 frees reclaimable slab objects such as dentries and inodes, and 3 frees both, while 4 (bit 2) silences the log message. Dirty objects are never freed, so flushing beforehand increases what can be dropped. [vm-sysctl] The control does not limit cache growth, because cached objects are reclaimed automatically when memory is needed elsewhere. Rebuilding dropped objects can cost significant I/O and CPU, so its use outside testing or debugging is not recommended. [vm-sysctl] In Linux v6.16, VM_READAHEAD_PAGES supplies a 128 KiB initialization default for backing-device readahead state, not a fixed window for every read. The read_ahead_kb setting can change that budget; newly opened files copy it into per-open state, and the automatic readahead algorithm adjusts its window using access history. [pagemap-src] [bdi-src] [readahead-src] Advantages: - Can serve reusable file contents from memory. (sources: [iomap]) - Clean cached pages are reclaimed automatically under memory pressure, without manual tuning. (sources: [vm-sysctl]) Limitations: - A cached copy is not an independent backup or proof of durable storage. (sources: [iomap]) - Rebuilding dropped cache objects can incur extra I/O and CPU work; clearing caches changes the initial state of a benchmark. (sources: [vm-sysctl]) Sources and caveats: - iomap is the Linux v6.17 iomap operations page, kept from the earlier version. - vm-sysctl is the Linux v6.16 sysctl vm documentation, read in the drop_caches section on the access date. - pagemap-src is include/linux/pagemap.h at tag v6.16, read for VM_READAHEAD_PAGES = SZ_128K / PAGE_SIZE. - 1, 2, 3 and 4 (bit 2) come from vm-sysctl. 128 KiB comes from pagemap-src. - 2026-12-04: corrected the fixed-window implication by tracing the v6.16 initialization, mutable backing-device budget and per-open adaptive state. Source review only. Related terms: - [buffered-io](https://hesela.dev/terms/buffered-io/) - [direct-io](https://hesela.dev/terms/direct-io/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [writeback-error](https://hesela.dev/terms/writeback-error/) - [posix-fadv-noreuse](https://hesela.dev/terms/posix-fadv-noreuse/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) - [rwf-dontcache](https://hesela.dev/terms/rwf-dontcache/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [rwf-nowait](https://hesela.dev/terms/rwf-nowait/) - [posix-fadv-willneed](https://hesela.dev/terms/posix-fadv-willneed/) - [readahead](https://hesela.dev/terms/readahead/) - [mincore](https://hesela.dev/terms/mincore/) - [process-io-accounting](https://hesela.dev/terms/process-io-accounting/) - [fuse-writeback-cache](https://hesela.dev/terms/fuse-writeback-cache/) - [fastmap](https://hesela.dev/terms/fastmap/) - [working-set](https://hesela.dev/terms/working-set/) - [locality-of-reference](https://hesela.dev/terms/locality-of-reference/) - [cachestat](https://hesela.dev/terms/cachestat/) - [cache-ext](https://hesela.dev/terms/cache-ext/) - [programmable-page-cache](https://hesela.dev/terms/programmable-page-cache/) - [tmpfs](https://hesela.dev/terms/tmpfs/) - [dirty-page-throttling](https://hesela.dev/terms/dirty-page-throttling/) - [geiger](https://hesela.dev/terms/geiger/) - [streamcache](https://hesela.dev/terms/streamcache/) Citations: - [iomap] Linux v6.17: iomap supported file operations, sections 2.2.1-2.2.3. https://www.kernel.org/doc/html/v6.17/filesystems/iomap/operations.html (accessed 2026-10-14) - [vm-sysctl] Linux v6.16 documentation: Documentation for /proc/sys/vm/. https://www.kernel.org/doc/html/v6.16/admin-guide/sysctl/vm.html (accessed 2026-10-22) - [pagemap-src] Linux v6.16 include/linux/pagemap.h: VM_READAHEAD_PAGES. https://github.com/torvalds/linux/blob/v6.16/include/linux/pagemap.h (accessed 2026-12-04) - [bdi-src] Linux v6.16 mm/backing-dev.c: bdi_alloc and read_ahead_kb_store. https://github.com/torvalds/linux/blob/v6.16/mm/backing-dev.c (accessed 2026-12-04) - [readahead-src] Linux v6.16 mm/readahead.c: file_ra_state_init and adaptive window selection. https://github.com/torvalds/linux/blob/v6.16/mm/readahead.c (accessed 2026-12-04) ### Page-differential logging URL: https://hesela.dev/terms/page-differential-logging/ Related analysis: https://hesela.com/analyses/nand-erase-block-size-gc-cost/ Also known as: PDL Status: research Record updated: 2026-11-28 Page-differential logging stores a logical page as a retained base and its current difference, computed when the page is written back. Note: Multiple differentials share a physical page. With equal logical and physical page sizes, reconstruction reads at most two physical pages; an oversized differential becomes a new full base. The comparison requires reading the old base. [pdl2010] Recovery assumes atomic page programming and loses unflushed buffered differences. The evaluation uses an emulator, not a contemporary SSD benchmark. [pdl2010] Sources and caveats: - Historical source synthesis. No prototype execution, hardware measurement or benchmark reproduction by Hesela. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [nand-page](https://hesela.dev/terms/nand-page/) - [cache-flush](https://hesela.dev/terms/cache-flush/) - [in-page-logging](https://hesela.dev/terms/in-page-logging/) - [in-place-appends](https://hesela.dev/terms/in-place-appends/) Citations: - [pdl2010] Kim, Whang and Song. Page-Differential Logging. SIGMOD 2010, pp. 363-374, sections 4.1-4.5 and 5.1. https://dblab.kaist.ac.kr/Prof/pdf/Kim2010.pdf (accessed 2026-11-13) - [hesela-pdl] Hesela: page differences and physical write accounting. https://hesela.com/analyses/nand-erase-block-size-gc-cost/#page-differential-logging (accessed 2026-11-13) ### Page-level mapping (FTL) URL: https://hesela.dev/terms/page-level-mapping/ Also known as: Page-mapped FTL Status: shipping Record updated: 2026-11-22 Page-level mapping tracks each logical page independently, allowing out-of-place updates without retaining a fixed page offset within a mapped erase block. Note: In the fully associative model, an update can use any eligible free page and the table records the new location. [dftl] This avoids the whole-block read-modify-write needed for small updates in the coarse-mapping example. [ostep] Page-level mapping does not guarantee device-wide placement freedom. Agrawal and colleagues describe static allocation pools, from a flash plane to multiple packages, with dynamic mapping inside each pool. Pool scope, mapping granularity and RAM residency are separate design choices. Their 2008 design study does not establish the placement policy of a current commercial SSD. [agrawal] The cost is table size. With binary units made explicit, one 4-byte entry per 4 KiB page needs 1 GiB of map payload for a 1 TiB device [ostep], and a 16 GiB device with 2 KiB pages needs 32 MiB for four-byte mapping entries. [dftl] Mapping granularity does not require full RAM residency, because the table can live on flash in translation pages holding 512 four-byte entries per 2 KiB page, 2 MiB or about 0.2% of a 1 GiB device, with only selected entries cached. [dftl] The logical mapping unit need not equal one host LBA, and NAND page size is not fixed across devices. In OSTEP's simple demand-cached design, a missing mapping is fetched from flash; dirty eviction also causes metadata writeback. [ostep] DFTL can batch colocated mapping updates into one translation-page rewrite, so changed entries and media writes are not one-to-one. [dftl-tr] A miss alone does not determine cost. In LearnedFTL's design, a bitmap-qualified prediction bypasses the translation-page read; an unqualified prediction uses the fallback. The bitmap must remain valid for the current mapping. This is a research-design counterexample, not a commercial-device guarantee. [learned] Advantages: - Fine-grained addressing lets garbage collection replace the full merges of hybrid schemes with cheaper partial merges. (sources: [dftl]) Limitations: - After power loss an in-memory table must be rebuilt, in the simplest design by scanning the out-of-band areas of every page, which is slow on a large device. (sources: [ostep]) Sources and caveats: - dftl is the ASPLOS 2009 paper read in sections 2-3 and 5.2; ostep is a free university textbook, chapter 44, version 1.10, read in sections 44.4-44.10. - The historical DFTL capacity examples use binary geometry; map payload does not include all cache-management overhead. - Binary arithmetic: 1 TiB / 4 KiB = 2^28 entries; four bytes per entry gives 1 GiB. At 1 TB and 4 KiB, the payload is 976,562,500 bytes. These are different capacity conventions. - Translation-page arithmetic: 2048 bytes / 4 bytes = 512 entries per translation page. - Agrawal section 3.1 distinguishes static pool selection from dynamic mapping within a pool; it is a design counterexample to unrestricted device-wide placement, not a survey of current products. - Rechecked OSTEP v1.10 p. 16, the August 2008 DFTL report section 3.2 and LearnedFTL sections III-A/B on 2026-11-22. Cache-miss costs are design-specific; no emulator or hardware experiment is claimed. Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [block-level-mapping](https://hesela.dev/terms/block-level-mapping/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [translation-page](https://hesela.dev/terms/translation-page/) - [reverse-mapping-ftl](https://hesela.dev/terms/reverse-mapping-ftl/) - [lazyftl](https://hesela.dev/terms/lazyftl/) - [dftl](https://hesela.dev/terms/dftl/) Citations: - [dftl] Gupta, Kim and Urgaonkar. DFTL: Demand-based Selective Caching of Page-level Address Mappings. ASPLOS 2009, sections 2-3 and 5.2. https://doi.org/10.1145/1508244.1508271 (accessed 2026-10-22) - [ftl-guide] Hesela: Flash Translation Layer technology guide. https://hesela.com/tech/ftl/ (accessed 2026-10-18) - [ostep] Arpaci-Dusseau. Operating Systems: Three Easy Pieces, chapter 44 Flash-based SSDs, version 1.10, sections 44.4-44.10. https://pages.cs.wisc.edu/~remzi/OSTEP/file-ssd.pdf (accessed 2026-10-22) - [agrawal] Agrawal et al. Design Tradeoffs for SSD Performance. USENIX ATC 2008, section 3.1, pp. 60-61. https://www.usenix.org/legacy/events/usenix08/tech/full_papers/agrawal/agrawal.pdf (accessed 2026-11-22) - [dftl-tr] Gupta, Kim and Urgaonkar. DFTL technical report CSE-08-012, August 2008, section 3.2, pp. 14-15. https://www.cse.psu.edu/~buu1/papers/ps/DFTL-TR.pdf (accessed 2026-11-22) - [learned] Wang et al. LearnedFTL. HPCA 2024, sections III-A and III-B, pp. 620-621, Figure 9. https://ranger.uta.edu/~jiang/publication/Conferences/2024/HPCA24%28LearnedFTL%29.pdf (accessed 2026-11-22) ### Page LSN URL: https://hesela.dev/terms/page-lsn/ Also known as: pageLSN, page_LSN Status: shipping Record updated: 2026-10-30 A page LSN records the log sequence number of the latest logged change reflected in a database page under the engine's recovery protocol. Note: In original ARIES, redo uses the page LSN, after dirty-page-table and recovery-LSN filtering, to avoid reapplying an update already present on the page. The page state and its LSN must agree; the number alone does not detect torn or corrupt pages. Undo does not reuse that redo test: history has first been repeated, and compensation records track rollback progress. [aries] A page LSN is not the global durable-log flush position or a timestamp, and this description must not be generalized to every engine. [aries-beyond] Related terms: - [log-sequence-number](https://hesela.dev/terms/log-sequence-number/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [compensation-log-record](https://hesela.dev/terms/compensation-log-record/) - [torn-write](https://hesela.dev/terms/torn-write/) - [fuzzy-checkpoint](https://hesela.dev/terms/fuzzy-checkpoint/) - [physiological-logging](https://hesela.dev/terms/physiological-logging/) Citations: - [aries] Mohan, Haderle, Lindsay, Pirahesh and Schwarz. ARIES. ACM TODS 17(1), 1992, sections 3, 5.2 and 6.2-6.3. https://www.cs.cmu.edu/~15849g/readings/mohan92.pdf (accessed 2026-10-15) - [aries-beyond] C. Mohan. Repeating History Beyond ARIES. VLDB 1999, sections 3.2.1-3.2.2. https://www.vldb.org/conf/1999/P1.pdf (accessed 2026-10-15) - [hesela-wal] Hesela: ARIES rollback progress, with a synthetic executable trace. https://hesela.com/analyses/wal-checkpoints-torn-pages/#aries-rollback (accessed 2026-10-15) ### Page validity bitmap URL: https://hesela.dev/terms/page-validity-bitmap/ Also known as: PVB, page liveness bitmap Status: research Record updated: 2026-11-17 A page validity bitmap is per-physical-page FTL metadata used to identify data that must be retained when reclaiming a flash block. Note: Validity concerns whether stored data remains logically current, not whether its bytes pass a checksum. An overwritten page can become invalid without being erased. Address translation locates a logical page; validity tracking helps garbage collection decide which physical pages still need preservation. [gecko2016] Bit meaning: In the Gecko papers, 1 marks an invalid page. Erasing a block clears its bits because its pages become free, not because they contain live data. A zero bit alone is therefore not proof of a programmed, current page. Interpret the bitmap with its allocation state and update rules. [gecko2016] Delayed updates: In the 2015 Lazy Gecko design, an overwrite may not know the previous physical address when its mapping is absent from cache. Translation-page reads resolve delayed invalidations; reverse-map and cached-state checks reconcile remaining obsolete pages before migration. Lazy Gecko is the paper's garbage collector, not LazyFTL. [gecko2015] A flat one-bit-per-page bitmap needs ceil(N/8) payload bytes for N physical pages, before alignment or indexing overhead. N counts represented physical pages, including provisioned spare space, rather than only host-visible logical addresses. Logarithmic Gecko instead buffers invalidations and stores merged summaries in flash. [gecko2016] Sizing example: With 4 KiB pages, 1 TiB of represented physical space needs 32 MiB. Covering 1.25 TiB instead needs 40 MiB. For 1 TiB host-visible capacity, this is 25% additional physical space and an 8 MiB underestimate if sized from logical capacity alone. These are bitmap payloads, not total controller RAM. [sizing-code] Limitations: - A validity summary alone does not identify the logical owner of each physical page or establish crash-recovery ordering. (sources: [gecko2016], [gecko2015]) Sources and caveats: - The worked designs are research systems; status does not classify every commercial controller. No device measurements or implementation replication are supplied. - Bit polarity follows the named Gecko designs, not a universal bitmap format. The 2015 precursor and the 2016 paper are distinct sources. - The 2015 section 5.2.4 live-page Hamming-weight sentence conflicts with its section 5.1 definition and Algorithm 1 (1 means invalid); that count sentence is not used. - Sizing examples are hypothetical exact arithmetic, not measurements of an SSD. The public script uses integer page counts and rounds partial bytes upward. Related terms: - [geckoftl](https://hesela.dev/terms/geckoftl/) - [mapping-cache](https://hesela.dev/terms/mapping-cache/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [reverse-mapping-ftl](https://hesela.dev/terms/reverse-mapping-ftl/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [ftl](https://hesela.dev/terms/ftl/) Citations: - [gecko2016] Dayan, Bonnet and Idreos. GeckoFTL. SIGMOD 2016, sections 2-3.1; DOI 10.1145/2882903.2915219. https://stratos.seas.harvard.edu/sites/g/files/omnuum4611/files/stratos/files/geckoftl.pdf (accessed 2026-11-17) - [gecko2015] Dayan and Bonnet. Garbage Collection Techniques for Flash-Resident Page-Mapping FTLs. arXiv:1504.01666v1, sections 3.1 and 5. https://arxiv.org/html/1504.01666v1 (accessed 2026-11-17) - [mapping-guide] Hesela: SSD mapping caches, memory roles and recovery contracts. https://hesela.com/analyses/ssd-mapping-cache-hmb/ (accessed 2026-11-17) - [sizing-code] Hesela: exact physical-page bitmap sizing examples (JavaScript). https://hesela.dev/research/page-validity-sizing.mjs (accessed 2026-11-17) ### Palm distribution URL: https://hesela.dev/terms/palm-distribution/ Also known as: Palm probability, Event-stationary distribution Status: shipping Record updated: 2026-11-19 A Palm distribution describes a stationary point process from a typical event placed at the origin rather than from a typical time or location. Note: For finite positive intensity, event-weighted recentering defines the Palm law. In continuous time, saying 'condition on an event at zero' is an interpretation, not ordinary conditioning on a positive-probability event. The ordinary Palm law retains that event; a reduced Palm law removes it. [last-penrose-palm] For a stationary ergodic marked event stream, event averages give the event-centered law. Batches must retain their multiplicity: selecting a nonempty timestamp is not generally selecting an individual event. Palm inversion recovers the time law using the evolution between events, not only the state at event times. [sigman-whitt-palm] In Hesela's constructed ten-slot cycle, the high state occupies 5/10 slots, 5/6 nonempty timestamps and 9/10 arrivals. These are exact synthetic fractions, not storage measurements. The state is an external label, not inferred queue occupancy. [hesela-palm] PASTA is a separate result about pre-arrival state observations with its own assumptions; naming a Palm distribution does not establish Poisson input or equality with time averages. [hesela-pasta] Sources and caveats: - Mathematical source synthesis; no empirical population or replicated device experiment. - Sigman and Whitt citations refer to the final 2019 version, not the 2018 draft. - Single-trace convergence requires suitable ergodicity assumptions; stationarity alone is not a finite-sample accuracy guarantee. Related terms: - [pasta](https://hesela.dev/terms/pasta/) - [inspection-paradox](https://hesela.dev/terms/inspection-paradox/) - [sampling-design](https://hesela.dev/terms/sampling-design/) Citations: - [last-penrose-palm] Last and Penrose, Lectures on the Poisson Process (author version, 21 August 2017), chapter 9, Theorem 9.1 and sections 9.3-9.4. https://stoch.math.kit.edu/img/Last/lastpenrose2017.pdf (accessed 2026-11-19) - [sigman-whitt-palm] Sigman and Whitt (2019), Marked point processes in discrete time, sections 4.3-4.4 and 6.1; DOI 10.1007/s11134-019-09612-3. https://www.columbia.edu/~ww2040/Sigman-Whitt-MPP-2019.pdf (accessed 2026-11-19) - [hesela-palm] Hesela: exact event, timestamp and time weighting example. https://hesela.com/analyses/storage-latency-coordinated-omission/#palm-observation (accessed 2026-11-19) - [hesela-pasta] Hesela: PASTA assumptions and pre-arrival observation boundary. https://hesela.dev/terms/pasta/ (accessed 2026-11-19) ### Pangolin persistent object library URL: https://hesela.dev/terms/pangolin/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: Pangolin Status: research Record updated: 2026-11-14 Pangolin is a research persistent-memory object library combining DRAM micro-buffers, checksums and parity for corruption recovery. Note: Updates use temporary DRAM copies; commit coordinates persistent objects, checksums and parity through redo logging. [pangolin-paper] Default pgl_get reads do not verify checksums. Scrub mode checks periodically; Conservative mode checks each object access. [pangolin-paper] Unlike filesystem-level protection that excludes writable DAX mappings, object-library protection can accompany mapped-data updates. [fortis-paper] Limitations: - Overlapping corruption in the same parity column can defeat repair; online recovery also has concurrency restrictions. (sources: [pangolin-paper]) Sources and caveats: - Historical prototype and primary-source synthesis, not a current deployment recommendation or a benchmark reproduction. - The paper's media-error injection uses mprotect and SIGSEGV; it is not physical fault injection. [pangolin-paper] Related terms: - [nova](https://hesela.dev/terms/nova/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [dax](https://hesela.dev/terms/dax/) - [checksum](https://hesela.dev/terms/checksum/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) Citations: - [pangolin-paper] Lu Zhang and Steven Swanson. Pangolin: A Fault-Tolerant Persistent Memory Programming Library. USENIX ATC 2019, pp. 897-912, sections 3.1-3.6 and 4.6. https://www.usenix.org/system/files/atc19-zhang-lu.pdf (accessed 2026-11-14) - [fortis-paper] Xu et al. NOVA-Fortis: A Fault-Tolerant Non-Volatile Main Memory File System. SOSP 2017, section 4.3. DOI: 10.1145/3132747.3132761. https://cseweb.ucsd.edu/~swanson/papers/SOSP2017-NOVAFortis.pdf (accessed 2026-11-14) - [hesela-pmem] Hesela: mapped-memory integrity and checksum verification policy. https://hesela.com/analyses/pmem-persistence-domains-dax/#pangolin (accessed 2026-11-14) ### ParaBit URL: https://hesela.dev/terms/parabit/ Status: research Record updated: 2026-11-18 ParaBit is a research design that performs bitwise operations inside NAND flash by controlling sensing sequences and page-buffer latches. Note: Placement: Basic ParaBit pairs operand bits in the same MLC cell. Its location-free variant uses aligned cells on one bitline; the described AND and XOR sequences require the second operand in an LSB page. XOR support adds circuitry. Location-free does not mean arbitrary page placement. [parabit-paper] Error handling: ECC runs during operand reallocation, but cannot correct new sensing errors during the subsequent in-flash logic. The design disables scrambling and encryption for prepared operands. Flash-Cosmos later targets both serial sensing and raw-error exposure through multi-wordline sensing and enhanced SLC programming. [parabit-paper] [cosmos-paper] Evidence: The MICRO 2021 paper combines SSD simulation with measured result-transfer times and a separate real-MLC error study. This is not an end-to-end commercial ParaBit SSD benchmark. Its custom use of reserved NVMe command fields is a research interface, not standard NVMe capability discovery. [parabit-paper] Operation order: In a specified Hamming(7,4) model, fault-free AND followed by decoding gives 96 wrong payloads out of 256 ordered pairs; all raw payloads were correct. Extended Hamming(8,4) rejects 168 pairs instead. These exact toy-code counts are not NAND failure rates. [ecc-order] Advantages: - Combining operands before transfer can reduce traffic between NAND, the controller and host. (sources: [parabit-paper]) Limitations: - Operand relocation adds writes and can dominate execution time; placement and error protection must be costed together. (sources: [parabit-paper]) - Conventional ECC and randomization cannot simply be applied unchanged to arbitrary AND/OR computations on stored representations. (sources: [cosmos-paper]) Sources and caveats: - Literature synthesis from the original MICRO 2021 paper and the later Flash-Cosmos study; no hardware replication or new performance measurement. - The original error experiment reports nonzero errors. No universal bit-exact guarantee, present-day product support or cross-generation error rate is inferred. - The ECC operation-order example enumerates synthetic finite populations with ideal logic and fixed layouts, not physical NAND failures. [ecc-order] Related terms: - [flash-cosmos](https://hesela.dev/terms/flash-cosmos/) - [computational-storage](https://hesela.dev/terms/computational-storage/) - [nand-flash](https://hesela.dev/terms/nand-flash/) Citations: - [parabit-paper] Gao et al. ParaBit. MICRO 2021, pp. 59-70, sections 4.2-4.4, 5.1 and 5.8. DOI: 10.1145/3466752.3480078. https://par.nsf.gov/servlets/purl/10316348 (accessed 2026-11-18) - [cosmos-paper] Park et al. Flash-Cosmos. MICRO 2022, sections 3.2, 4, 5 and footnote 11. DOI: 10.1109/MICRO56248.2022.00069. https://arxiv.org/pdf/2209.05566v1 (accessed 2026-11-18) - [hesela-nvme] Hesela: NVM Express, in-flash computation and error-protection boundaries. https://hesela.com/tech/nvme/ (accessed 2026-11-18) - [ecc-order] Hesela: ECC operation order, exact Hamming-code construction, method and results. https://hesela.dev/research/ecc-operation-order/README.md (accessed 2026-11-18) - [ecc-order-replay] Hesela: offline ECC operation-order replay, Python code, tests and exact results (ZIP). https://hesela.dev/research/ecc-operation-order.zip (accessed 2026-11-18) ### PARAID URL: https://hesela.dev/terms/paraid/ Also known as: Power-Aware RAID, Gear-Shifting Power-Aware RAID Status: research Record updated: 2026-11-29 PARAID is a research RAID architecture that uses replicated blocks in spare capacity to serve changing loads with different numbers of spinning disks. Note: Layout: Overlapping disk sets form gears. Lower gears retain accessible copies of blocks on stopped disks, using the selected RAID level. Extra copies consume capacity; gear changes propagate updates. [fast07] Implementation: The Linux prototype completed synchronization before switching gears. Drive-role rotation and selective recovery of modified intermediate stripes were not implemented. [fast07] Evidence: The five-disk study reported 34% energy savings for its 64x web replay against RAID-0, versus 13% for its 32x Cello99 replay against RAID-5. These are different workloads and layouts, not a universal RAID saving. Section 10 reports 2.7x slower recovery for the tested PARAID-5. [fast07] Alternative: An SSD-cache study buffered writes on flash and mirrored them to an active disk. Its authors observed energy savings even though the RAID disks rarely slept, showing that reduced activity and spindle stopping are distinct mechanisms. [lee08] Accounting: In a separate synthetic example, completing the same 100 requests at 50 W for 100 s uses 5,000 J; 40 W for 150 s uses 6,000 J. Average power falls 20%, but energy rises 20%. The executable ledger also includes transition costs and rejects unequal work counts. [example] Limitations: - Matching a RAID redundancy level does not establish identical recovery time or measured field reliability. (sources: [fast07]) Sources and caveats: - Historical research prototype, not a current product recommendation or a modern-drive benchmark. - The independent energy ledger is an accounting illustration, not a PARAID implementation or reproduction of its measured savings. Related terms: - [maid](https://hesela.dev/terms/maid/) - [pergamum](https://hesela.dev/terms/pergamum/) - [write-offloading](https://hesela.dev/terms/write-offloading/) - [power-state-break-even-time](https://hesela.dev/terms/power-state-break-even-time/) Citations: - [fast07] Weddle et al. PARAID: A Gear-Shifting Power-Aware RAID. FAST 2007, pp. 245-260, sections 3-7 and 10. https://www.usenix.org/legacy/event/fast07/tech/full_papers/weddle/weddle_html/index.html (accessed 2026-11-29) - [lee08] Hyo J. Lee, Kyu H. Lee and Sam H. Noh. Augmenting RAID with an SSD for Energy Relief. HotPower 2008, sections 3-4. https://static.usenix.org/events/hotpower08/tech/full_papers/lee/lee_html/ (accessed 2026-11-29) - [example] Hesela: same-work energy ledger, synthetic inputs and executable tests. https://hesela.dev/research/paraid-energy/README.md (accessed 2026-11-29) ### Parallax URL: https://hesela.dev/terms/parallax/ Also known as: Parallax key-value store Status: research Record updated: 2026-11-16 Parallax is a research LSM key-value store that combines in-place records, a transient medium-record log and a garbage-collected large-record log. Note: Placement: Small records stay in the index. Medium records begin in L0 and its recovery log, enter a sorted transient log during compaction, then return in place at a lower level so whole transient segments can be reclaimed. Large records still require log garbage collection. [parallax-paper] Classification: Revision d4aae58 uses min(key bytes, value bytes) / max(key bytes, value bytes), plus an in-place size cap. With the cap inactive, 8-byte keys and 120-byte values are medium, while 32-byte keys and 96-byte values are small: equal 128-byte totals need not share a category. Both 0.02 and 0.2 belong to the medium interval. [parallax-code] Configuration: The implementation moves medium-log records back in place at the configured level_medium_inplace, rather than assuming that every deployment uses the last level. The checked options file sets this level to 3. [parallax-compaction] [parallax-options] Limitations: - The paper's recovery contract allows loss of the latest acknowledged writes. Recovery to a consistent point is not a promise that every returned write is durable. (sources: [parallax-paper]) Sources and caveats: - Design and evaluation scope use the June 2021 preprint, not an assumed byte-identical copy of the final SoCC paper. [parallax-paper] [parallax-publication] - The evaluation used one server, a 375-GB Optane P4800X and RocksDB/BlobDB 6.11.4 with Bloom filters disabled. Results are not current-engine rankings. [parallax-paper] - Source inspection of revision d4aae5890630bb33405f3a9e03cc4e4978133ecf; no engine benchmark, power-loss test or recovery reproduction was performed. Related terms: - [key-value-separation](https://hesela.dev/terms/key-value-separation/) - [value-log](https://hesela.dev/terms/value-log/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [kreon](https://hesela.dev/terms/kreon/) - [tebis](https://hesela.dev/terms/tebis/) Citations: - [parallax-paper] Xanthakis et al. Balancing Garbage Collection vs I/O Amplification using hybrid Key-Value Placement. arXiv:2106.03840v2, sections 2-5. https://arxiv.org/pdf/2106.03840v2 (accessed 2026-11-15) - [parallax-code] Parallax author source d4aae58: calculate_KV_category in lib/btree/btree.c. https://github.com/CARV-ICS-FORTH/parallax/blob/d4aae5890630bb33405f3a9e03cc4e4978133ecf/lib/btree/btree.c#L724-L748 (accessed 2026-11-15) - [parallax-compaction] Parallax author source d4aae58: medium-record transitions in compaction_worker.c. https://github.com/CARV-ICS-FORTH/parallax/blob/d4aae5890630bb33405f3a9e03cc4e4978133ecf/lib/btree/compaction/compaction_worker.c#L451-L477 (accessed 2026-11-15) - [parallax-options] Parallax author source d4aae58: options.yml. https://github.com/CARV-ICS-FORTH/parallax/blob/d4aae5890630bb33405f3a9e03cc4e4978133ecf/options.yml (accessed 2026-11-15) - [parallax-publication] Parallax: Hybrid Key-Value Placement in LSM-based Key-Value Stores. SoCC 2021, pp. 305-318. DOI:10.1145/3472883.3487012. https://doi.org/10.1145/3472883.3487012 (accessed 2026-11-15) ### PARDA URL: https://hesela.dev/terms/parda/ Also known as: Proportional Allocation of Resources for Distributed Storage Access Status: research Record updated: 2026-12-01 PARDA is a distributed storage flow-control method that adjusts host issue windows using latency feedback and relative I/O shares. Note: Queue slots are the allocation unit: equal shares need not produce equal IOPS or bytes per second. Hosts combine a common latency signal with local fair scheduling; independent host-local latency estimates can diverge because request placement changes observed response times. [parda-paper] The feedback rule is w_next = (1 - gamma) * w + gamma * (T / L * w + beta), followed by window bounds. T and L are latency threshold and observed latency in the same units; beta represents the host's share. [parda-paper] Hesela's worked calculation uses T = 20 ms, L = 25 ms, gamma = 0.5 and beta = 4. A window of 10 becomes 11 despite L exceeding T; a window of 20 stays 20, and 30 becomes 29. For gamma > 0, before clamping, shrinkage requires w * (L - T) > beta * L. The threshold comparison alone is insufficient. These are evaluations of the published equation, not measured array behavior. [calculation] [model] At fixed L > T, the unconstrained fixed point is beta * L / (L - T). This does not prove closed-loop convergence when latency changes with queue size, and clipping can alter share ratios. The calculation leaves out latency estimation, demand adaptation, integer dispatch and storage service. [calculation] mClock addresses a different policy gap by adding absolute reservations and limits to relative sharing; relative weights alone cannot protect a fixed minimum when competitors or capacity change. [mclock-paper] Sources and caveats: - The FAST 2009 study evaluates an ESX prototype; this definition does not establish current product behavior. - The worked inputs are constructed. No ESX implementation, request-level simulator or modern-device benchmark was run. Related terms: - [mclock](https://hesela.dev/terms/mclock/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [slowdown-fairness](https://hesela.dev/terms/slowdown-fairness/) - [basil](https://hesela.dev/terms/basil/) - [facade](https://hesela.dev/terms/facade/) Citations: - [parda-paper] Gulati, Ahmad and Waldspurger. PARDA. FAST 2009, sections 2, 3.2 and 4.1-4.2. https://www.usenix.org/legacy/event/fast09/tech/full_papers/gulati/gulati.pdf (accessed 2026-12-01) - [mclock-paper] Gulati, Merchant and Varman. mClock. OSDI 2010, introduction and section 2. https://www.usenix.org/legacy/events/osdi10/tech/full_papers/Gulati.pdf (accessed 2026-12-01) - [calculation] Hesela: PARDA equation-2 worked cases and assumptions (JSON). https://hesela.dev/research/parda/results.json (accessed 2026-12-01) - [model] Hesela: bounded PARDA update calculation (JavaScript). https://hesela.dev/research/parda/model.mjs (accessed 2026-12-01) ### Parity declustering URL: https://hesela.dev/terms/parity-declustering/ Related analysis: https://hesela.com/analyses/parity-declustering-rebuild-load/ Also known as: declustered parity Status: shipping Record updated: 2026-11-30 Parity declustering places parity groups across a larger device pool to distribute reconstruction work. Note: Stripe width and placement scope are separate parameters; lower peak survivor load does not by itself establish shorter repair time. With C disks and parity stripes of G units, parity takes 1/G of the space and the declustering ratio alpha = (G - 1) / (C - 1) is the fraction of each survivor read to rebuild a failed disk, 1 for RAID 5. Any two failures among the C disks still lose data. The layouts come from balanced block designs. [holland1992] In simulations of a 21-disk array under 105 small random accesses per second, half reads and half writes, alpha 0.15 rebuilt a failed disk about twice as fast as RAID 5 with about 33% lower user response time. Reconstruction algorithms that redirected reads to the replacement disk did not consistently help, because the extra random work slowed its rebuild writes. [holland1992] In that array alpha 0.15 means G = 4, so parity takes 25% of the space. A modern open-source layout spreads groups of D data and P parity devices with distributed spares over all children through permutation maps, so every disk takes part in a resilver, but its fixed stripe width raises the minimum allocation to 32 KiB for D = 8 with 4 KiB sectors. [zfsdoc] [zfsdraid] Advantages: - Spreading groups over a larger pool at fixed G lowers alpha without increasing total reads, which stay at G - 1 times the failed capacity. (sources: [holland1992]) Limitations: - Random IOPS of the open-source layout approximate floor((N - S) / (D + P)) times one drive, and its load balance degrades with child count, to an imbalance ratio of 1.273 at 31 children. (sources: [zfsdoc], [zfsdraid]) Sources and caveats: - The 1992 results come from a simulator of disks of that period, not from measured arrays; the earlier analysis the paper builds on is cited from it, not read. - The open-source documentation and code describe one implementation (OpenZFS dRAID) whose terminology differs; no cited source measures repair time on a modern device pool. - Arithmetic: alpha 0.15, 0.45 and 1.0 in a 21-disk array correspond to G = 4, 10 and 21, with parity at 25%, 10% and about 4.8% of space. - Arithmetic on the open-source example: 14 drives, 2 spares and groups of 9 give LCM(9, 12) = 36 columns, 4 groups over 3 rows, matching its 576 MB slice; N = 20, D = 8, P = 2, S = 2 gives 14.4 disks of capacity. Related terms: - [raid-5](https://hesela.dev/terms/raid-5/) - [distributed-spare](https://hesela.dev/terms/distributed-spare/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [minimum-storage-regenerating-code](https://hesela.dev/terms/minimum-storage-regenerating-code/) - [chained-declustering](https://hesela.dev/terms/chained-declustering/) Citations: - [holland1992] Mark Holland and Garth A. Gibson. Parity Declustering for Continuous Operation in Redundant Disk Arrays. ASPLOS 1992, pp. 23-35; sections 2, 4-8. https://www.cs.cmu.edu/~riedel/ftp/Declustering/ASPLOS.pdf (accessed 2026-10-13) - [hesela-declustering] Parity declustering: less load per disk, not fewer reads. https://hesela.com/analyses/parity-declustering-rebuild-load/ (accessed 2026-10-13) - [zfsdoc] OpenZFS 2.3.0 manual page zpoolconcepts(7), dRAID section. https://github.com/openzfs/zfs/blob/zfs-2.3.0/man/man7/zpoolconcepts.7 (accessed 2026-10-16) - [zfsdraid] OpenZFS 2.3.0 module/zfs/vdev_draid.c, group layout and permutation-map comments. https://github.com/openzfs/zfs/blob/zfs-2.3.0/module/zfs/vdev_draid.c (accessed 2026-10-16) ### Parity inconsistency URL: https://hesela.dev/terms/parity-inconsistency/ Status: unknown Record updated: 2026-11-08 A parity inconsistency is a disagreement between stored parity and parity recomputed from the associated data blocks. Note: The field study uses this class when individual block checksums pass but parity disagrees during a scrub, and such errors are detected only by data scrubs. Its data cover 1.53 million disk drives over 41 months. Within 17 months of shipping, the fraction of disks with a parity inconsistency was 4.4 times lower than for checksum mismatches on nearline disks and about 3.5 times lower on enterprise disks. [field] Those counts assume the parity disk is at fault, because single parity cannot identify the faulty member; the studied system fixed each case by rewriting parity. Recomputing parity from unvalidated data can instead create parity pollution, where incorrect data and parity agree. In the model-checking study, a scrub moves a single wrong data block to that polluted state. [parity] Advantages: - With double parity, the studied system could tell definitively whether the parity or a data block was corrupt. (sources: [field]) - Fixing the mismatch matters because inconsistent data and parity lead to corruption if a second failure forces reconstruction. (sources: [parity]) Limitations: - In selected protection schemes, a modeled scrub can consume unchecked data and pollute parity. The paper's risk estimates depend on error and operation weights; this is not a general recommendation to disable scrubbing. (sources: [parity]) - The field data cover one vendor's systems between 2004 and 2007, so the rates are not a current baseline. (sources: [field]) Sources and caveats: - Historical mechanism terminology; not a claim about every modern filesystem's scrub implementation. - field is the FAST 2008 field-study PDF, re-read for the class definition, sample size, 17-month fractions and the parity-at-fault assumption. - The FAST 2008 model-checking paper separates reachable failure paths in sections 3-4 from weighted approximate loss probabilities in section 5. It injects one error and excludes checksum collisions. - The write-intent-bitmap entry links here because it limits resynchronization after an unclean shutdown to regions whose stripes may be inconsistent. Related terms: - [parity-pollution](https://hesela.dev/terms/parity-pollution/) - [identity-discrepancy](https://hesela.dev/terms/identity-discrepancy/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-consistency-check](https://hesela.dev/terms/raid-consistency-check/) Citations: - [field] Bairavasundaram et al., An Analysis of Data Corruption in the Storage Stack, FAST 2008, sections 2.2-2.3. https://www.usenix.org/legacy/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram.pdf (accessed 2026-10-23) - [parity] Krioukov et al., Parity Lost and Parity Regained, FAST 2008, sections 3-5. https://www.usenix.org/legacy/event/fast08/tech/full_papers/krioukov/krioukov_html/main.html (accessed 2026-11-08) - [hesela] Hesela: interpreting the historical field study of silent corruption. https://hesela.com/analyses/silent-corruption-checksum-mismatches/ (accessed 2026-10-18) ### Parity logging with reserved space URL: https://hesela.dev/terms/parity-logging-reserved-space/ Also known as: PLR, CodFS PLR Status: research Record updated: 2026-11-29 Parity logging with reserved space places pending parity deltas beside their parity chunk to reduce fragmentation during reconstruction. Note: CodFS, the FAST 2014 research prototype, updates data in place and logs parity deltas in adjacent reserved space. A full reserve triggers merging instead of spilling elsewhere. [chan2014] Its workload-aware policy smooths utilization, then shrinks in whole-chunk units. The published rule does not grow reservations; zero reserve switches subsequent updates to full overwrite. [chan2014] This addresses delta placement, not PARIX's removal of repeated old-data prereads within a retained journal baseline. [parix2017] Evidence boundary. The HDD/Gigabit-Ethernet testbed and the Harvard-trace reserve simulation are different experiments. MSR replay discards original timestamps; the paper leaves latency evaluation to future work. [chan2014] Worked arithmetic, not measurement: with an 8 MiB reserve, 2 MiB chunks, zero sampled usage, prior utility 1/2 and smoothing factor 1/2, the rule releases 6 MiB. One more idle step releases nothing: rounding retains the remaining 2 MiB. [hesela-model] Limitations: - Reserved capacity and merging have costs; locality does not establish crash consistency or an SSD speedup. Sources and caveats: - Primary-source synthesis and a synthetic arithmetic illustration, not a CodFS implementation or benchmark reproduction. - Model checks: https://hesela.dev/research/codfs-plr/test_model.py Related terms: - [parity-logging](https://hesela.dev/terms/parity-logging/) - [speculative-partial-write](https://hesela.dev/terms/speculative-partial-write/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) Citations: - [chan2014] Chan, Ding, Lee and Chan. Parity Logging with Reserved Space. FAST 2014, pp. 163-176; sections 4.2.2, 6 and 8. https://files.usenix.org/s3fs-public/cdn/fast14-paper_chan.pdf (accessed 2026-11-29) - [parix2017] Li et al. PARIX: Speculative Partial Writes in Erasure-Coded Systems. USENIX ATC 2017, sections 3-4. https://www.usenix.org/system/files/conference/atc17/atc17-li_huiba.pdf (accessed 2026-11-29) - [hesela-model] Hesela: exact-rational PLR shrink-rule illustration, source and executable examples. https://hesela.dev/research/codfs-plr/model.py (accessed 2026-11-29) - [hesela-analysis] Hesela: RAID write accounting and parity replay. https://hesela.com/analyses/raid-write-penalty-io-not-speed/#parity-logging (accessed 2026-11-29) ### Parity logging URL: https://hesela.dev/terms/parity-logging/ Related analysis: https://hesela.com/analyses/raid-write-penalty-io-not-speed/ Status: research Record updated: 2026-12-02 Parity logging records pending parity changes in a log for later application while updating data in place. Note: The original ISCA 1993 design batches parity updates to replace small random accesses with larger transfers. Its parity-update image is the XOR of old and new data, so forming it still requires the old value unless cached. Recovery must incorporate unapplied log records before using parity to reconstruct lost data. Linux MD Partial Parity Log instead records unchanged stripe chunks' XOR for write-hole recovery; it is not this update-performance scheme. Its simulated completion point has data on disk and the update record in fault-tolerant storage. Simultaneous controller-memory and disk loss requires nonvolatile buffers when counted as one failure; software corruption of the buffers is outside scope. These are historical model assumptions, not modern-device power-loss qualification. [stodolsky1993] Region buffering. The single-log sketch needs a disk-sized parity workspace. Partitioning it into regions reduces the reintegration workspace, but each region needs a protected accumulation buffer. Writes to different region logs are random track writes, not one globally sequential stream. Rotating logs across members removes an array-wide bottleneck without removing an individual region's bottleneck. [stodolsky1993] Striping a region log can relieve that bottleneck. In the original layout, its fragments must stay off disks holding the data they protect. More log striping consumes additional capacity and can make transfers too small to remain efficient. [stodolsky1993] Advantages: - Batches parity maintenance while keeping normal data reads direct Limitations: - Pending logs participate in recovery and consume storage - Log appends and eventual parity integration still cost I/O Related terms: - [afraid](https://hesela.dev/terms/afraid/) - [floating-parity](https://hesela.dev/terms/floating-parity/) - [parity-logging-reserved-space](https://hesela.dev/terms/parity-logging-reserved-space/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [partial-parity-log](https://hesela.dev/terms/partial-parity-log/) - [speculative-partial-write](https://hesela.dev/terms/speculative-partial-write/) - [parity-raid](https://hesela.dev/terms/parity-raid/) Citations: - [stodolsky1993] Stodolsky et al. Parity Logging. ISCA 1993, section 2 (Figures 4-8 and Figure 9, footnote 1); section 5 footnote 6. https://www.pdl.cmu.edu/PDL-FTP/ParityLogging/ISCA93.pdf (accessed 2026-11-01) - [linux-ppl] Linux v6.12: Partial Parity Log, protected failure cases and limitations. https://github.com/torvalds/linux/blob/v6.12/Documentation/driver-api/md/raid5-ppl.rst (accessed 2026-10-19) - [hesela] Hesela: RAID write accounting and parity replay traces. https://hesela.com/analyses/raid-write-penalty-io-not-speed/#parity-logging (accessed 2026-10-19) ### Parity pollution URL: https://hesela.dev/terms/parity-pollution/ Status: unknown Record updated: 2026-11-08 Parity pollution is propagation of incorrect data into redundancy information through parity calculations. Note: Pollution occurs when a parity update uses wrong data, including a stale block after a lost write. Data and parity can then agree, while the original content is no longer reconstructable from the remaining stripe. [parity] In the FAST 2008 model, a checksum in a parent block is available on user reads but not on the modeled maintenance reads. A scrub or additive parity update can therefore consume unchecked data; a later user read detects corruption after usable redundancy has been lost. This is a check-path assumption, not an inherent defect of every parent-checksum design. [parity] For four data disks and one parity disk, Table 3 estimates 0.486% detectable loss with parental checksums and scrubs versus 0.153% without scrubs, about 3.2 times by division. The weighting uses first encounters with an erroneous stripe: 20% reads, 20% writes and 60% scrubs, with partial-stripe write widths equally likely. This is not a measured fleet rate or advice to disable scrubbing. [parity] A pure redundancy check cannot expose a polluted stripe that already agrees. Linux md check compares redundancy and may also repair for some RAID levels; repair explicitly requests checking and repair. mismatch_cnt counts sectors rewritten or that would be rewritten, not necessarily distinct corrupt sectors. [parity] [md] Advantages: - In the model, checking stored physical identity detects misdirection, not lost writes; comparing versions mirrored in parity supplies a separate freshness check and still requires identity validation. (sources: [parity]) Limitations: - mismatch_cnt can exceed the number of actual errors by the number of sectors in a page, because most RAID levels work in pages. (sources: [md]) - The model injects a single error and excludes checksum collisions. Its probability estimates add historical error rates and workload assumptions; they do not quantify the benefit of scrubbing against multiple errors. (sources: [parity]) Sources and caveats: - parity is the FAST 2008 paper by Krioukov, Bairavasundaram, Goodson, Srinivasan, Thelen, Arpaci-Dusseau and Arpaci-Dusseau (University of Wisconsin-Madison, NetApp), read in sections 3 to 5. - md is the Linux kernel md documentation at tag v6.16, read in the sync_action and mismatch_count entries. - Section 5 and Table 3 supply the two approximate loss estimates and first-encounter weights. This source review does not reproduce the model checker or measure an array. - The combined version-mirroring, identity, block-checksum and RAID scheme removed all failure paths in the single injected error model, not under arbitrary faults. [parity] Related terms: - [lost-write](https://hesela.dev/terms/lost-write/) - [misdirected-write](https://hesela.dev/terms/misdirected-write/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [raid-5](https://hesela.dev/terms/raid-5/) - [parity-inconsistency](https://hesela.dev/terms/parity-inconsistency/) - [raid-consistency-check](https://hesela.dev/terms/raid-consistency-check/) - [version-mirroring](https://hesela.dev/terms/version-mirroring/) Citations: - [parity] Krioukov et al. Parity Lost and Parity Regained. FAST 2008, sections 3-5. https://www.usenix.org/legacy/event/fast08/tech/full_papers/krioukov/krioukov_html/main.html (accessed 2026-11-08) - [hesela-integrity] Hesela: checksum, identity and freshness boundaries with executable synthetic examples. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-10-11) - [md] Linux kernel documentation. RAID arrays (md): sync_action and mismatch_cnt. Documentation/admin-guide/md.rst, v6.16. https://www.kernel.org/doc/html/v6.16/admin-guide/md.html (accessed 2026-11-08) ### Parity RAID URL: https://hesela.dev/terms/parity-raid/ Status: shipping Record updated: 2026-10-15 Parity RAID uses computed redundancy across striped data to reconstruct missing chunks without storing complete mirrored copies. Note: Distributed parity occupies the equivalent capacity of one member in RAID 5 or two in conventional RAID 6, rather than requiring dedicated parity devices [md-layout]. This is coded redundancy, not a full duplicate of the data. Parity consistency after an interrupted update depends on the write and recovery protocol [md]. A RAID level describes a reconstruction capability, not a measured probability of data loss [hesela-parity]. Limitations: - An interrupted update can invalidate parity needed to recover a missing member; review the write-hole protection policy. (sources: [md]) Related terms: - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-6](https://hesela.dev/terms/raid-6/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [partial-parity-log](https://hesela.dev/terms/partial-parity-log/) - [write-intent-bitmap](https://hesela.dev/terms/write-intent-bitmap/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [degraded-array](https://hesela.dev/terms/degraded-array/) Citations: - [md] Linux v6.12: RAID arrays, dirty/degraded assembly and bitmap metadata. https://github.com/torvalds/linux/blob/v6.12/Documentation/admin-guide/md.rst (accessed 2026-10-11) - [ppl] Linux v6.12: Partial Parity Log. https://github.com/torvalds/linux/blob/v6.12/Documentation/driver-api/md/raid5-ppl.rst (accessed 2026-10-11) - [hesela-raid] Hesela: RAID write hole, bitmap and PPL. https://hesela.com/analyses/raid-write-hole-bitmap-ppl/ (accessed 2026-10-11) - [md-layout] mdadm md(4): RAID4/5/6 layouts and capacity (revision e5a1d3e). https://github.com/md-raid-utilities/mdadm/blob/e5a1d3ebaf95c29a7a5cf0d72fdc568138fd86dd/md.4 (accessed 2026-10-15) - [hesela-parity] Hesela: RAID 5/6 capacity and per-stripe recovery boundaries. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#parity-budget-heading (accessed 2026-10-15) ### Parquet column chunk URL: https://hesela.dev/terms/parquet-column-chunk/ Related analysis: https://hesela.com/analyses/parquet-checksums-read-coverage/ Also known as: column chunk (Parquet) Status: shipping Record updated: 2026-10-17 A Parquet column chunk is a contiguous sequence of encoded pages for one column within one row group. Note: Layout: a chunk belongs to a row group, not to all rows of the file. File metadata locates the chunks a reader needs; a column's chunks across multiple row groups are distinct. [parquet-format] Pages: a chunk may contain multiple data pages and an optional dictionary page. Encoding, compression and optional page checksums operate below the chunk level; a chunk is not necessarily one page or one checksum. [parquet-chunks] [parquet-crc] Coverage: reading one column does not establish integrity of an excluded column. Hesela's experiment verifies selected values but does not measure physical reads or prefetch. [hesela-parquet] Related terms: - [parquet](https://hesela.dev/terms/parquet/) - [parquet-row-group](https://hesela.dev/terms/parquet-row-group/) - [parquet-page-checksum](https://hesela.dev/terms/parquet-page-checksum/) Citations: - [parquet-format] Apache Parquet: file layout and metadata. https://parquet.apache.org/docs/file-format/ (accessed 2026-10-17) - [parquet-chunks] Apache Parquet: column chunks and page organization. https://parquet.apache.org/docs/file-format/data-pages/columnchunks/ (accessed 2026-10-17) - [parquet-crc] Apache Parquet: page checksumming. https://parquet.apache.org/docs/file-format/data-pages/checksumming/ (accessed 2026-10-17) - [hesela-parquet] Hesela: Parquet checksum and read-coverage experiment. https://hesela.com/analyses/parquet-checksums-read-coverage/ (accessed 2026-10-17) ### Parquet page checksum URL: https://hesela.dev/terms/parquet-page-checksum/ Related analysis: https://hesela.com/analyses/parquet-checksums-read-coverage/ Status: shipping Record updated: 2026-10-21 A Parquet page checksum is an optional CRC32 value used to detect changes in the serialized page body, excluding its page header. Note: Scope: the CRC covers stored page bytes, excluding the header; it does not certify the footer or whole file. [parquet-crc] Controls: PyArrow 21.0 defaults both write_page_checksum and page_checksum_verification to false. Verification checks present CRCs but does not require every page to carry one. Selected-column reads do not validate every column. [arrow-read] [arrow-write] [arrow-code] Selection metadata: page CRCs do not validate footer statistics. In a controlled PyArrow 21.0.0 fixture, narrowing a stored minimum excluded a matching row; a full checked scan recovered it, while a separate bounds audit found the invalid minimum. [arrow-pruning] [hesela-statistics] Counting boundary: unfiltered counts and a projected scanner count returned 128 despite a CRC failure on full reading. Counting can use metadata and removes output projection; filters may need only selected columns. [arrow-count] [arrow-count-scanner] [hesela-count] Streaming completion: full checked reading delivered 64 correct rows before failing on a third-group CRC in a separate fixture. Stopping after the first batch did not report that fault. Record intended columns, consumed rows and exhaustion, early stop or error. Batch size is not peak process memory. [arrow-batches] [hesela-stream] Sources and caveats: - Count and streaming observations use synthetic fixtures on PyArrow 21.0.0, not a field-error sample or a claim about every implementation. [hesela-count] [hesela-stream] Related terms: - [parquet](https://hesela.dev/terms/parquet/) - [checksum](https://hesela.dev/terms/checksum/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [zone-map](https://hesela.dev/terms/zone-map/) - [parquet-row-group](https://hesela.dev/terms/parquet-row-group/) - [parquet-column-chunk](https://hesela.dev/terms/parquet-column-chunk/) Citations: - [parquet-crc] Apache Parquet: page checksumming. https://parquet.apache.org/docs/file-format/data-pages/checksumming/ (accessed 2026-10-17) - [arrow-read] Apache Arrow 21.0: read_table checksum verification and column selection. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.read_table.html (accessed 2026-10-17) - [arrow-write] Apache Arrow 21.0: write_table page checksum option. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.write_table.html (accessed 2026-10-17) - [arrow-code] Apache Arrow 21.0.0: SerializedPageReader checksum presence guard. https://github.com/apache/arrow/blob/apache-arrow-21.0.0/cpp/src/parquet/column_reader.cc#L433-L443 (accessed 2026-10-17) - [parquet-encoding] Apache Parquet: PLAIN INT64 encoding. https://parquet.apache.org/docs/file-format/data-pages/encodings/ (accessed 2026-10-17) - [parquet-metadata] Apache Parquet: file, column and page metadata. https://parquet.apache.org/docs/file-format/metadata/ (accessed 2026-10-17) - [arrow-pruning] Apache Arrow 21.0.0: row-group filtering from statistics expressions. https://github.com/apache/arrow/blob/apache-arrow-21.0.0/cpp/src/arrow/dataset/file_parquet.cc#L838-L899 (accessed 2026-10-17) - [hesela-statistics] Hesela: controlled Parquet footer statistics and pruning observations. https://hesela.dev/research/parquet-statistics.json (accessed 2026-10-17) - [arrow-count] Apache Arrow 21.0.0: metadata-only row counting and scan fallback. https://github.com/apache/arrow/blob/apache-arrow-21.0.0/cpp/src/arrow/dataset/file_parquet.cc#L900-L918 (accessed 2026-10-21) - [arrow-count-scanner] Apache Arrow 21.0.0: CountRows removes the output projection. https://github.com/apache/arrow/blob/apache-arrow-21.0.0/cpp/src/arrow/dataset/scanner.cc#L670-L717 (accessed 2026-10-21) - [hesela-count] Hesela: Parquet row-count coverage, 120 controlled observations. https://hesela.dev/research/parquet-count-coverage.json (accessed 2026-10-21) - [arrow-batches] Apache Arrow 21.0: ParquetFile streaming batches and checksum verification. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.ParquetFile.html (accessed 2026-10-21) - [hesela-stream] Hesela: 48 controlled Parquet streaming-completion observations. https://hesela.dev/research/parquet-stream-coverage.json (accessed 2026-10-21) ### Parquet row group URL: https://hesela.dev/terms/parquet-row-group/ Related analysis: https://hesela.com/analyses/parquet-checksums-read-coverage/ Also known as: row group (Parquet) Status: shipping Record updated: 2026-10-22 A Parquet row group is a logical partition of rows represented by one column chunk for each column. Note: A row group is a logical horizontal partition of the data, and no physical structure is guaranteed for it as a whole. It contains exactly one column chunk per column, each column chunk is contiguous in the file and divided into pages, and the row group is the unit of parallelization for MapReduce-style processing. [parquet-concepts] The format documentation recommends large row groups of 512 MB to 1 GB, because larger groups allow larger column chunks and larger sequential reads, at the cost of more buffering in the write path or a two-pass write. Its suggested layout pairs 1 GB row groups with a 1 GB HDFS block and one HDFS block per file. [parquet-config] PyArrow 21.0 bounds written row groups by row count rather than bytes. With no explicit size it uses the smaller of the table length and 1024 × 1024 rows, and a request above 64 × 1024 × 1024 rows is reduced to that value. On the read side a single row group can be selected together with a subset of columns. [arrow-write-table] [arrow-parquetfile] Advantages: - Readers can skip or parallelize work group by group because each group carries its own column chunks. (sources: [parquet-concepts], [arrow-parquetfile]) Limitations: - A row-count limit does not bound bytes, so wide rows can produce groups far larger than the byte size an operator intended. (sources: [arrow-write-table]) Sources and caveats: - parquet-concepts is the Apache Parquet concepts page, re-read in full on 2026-10-22. - parquet-config is the Apache Parquet file format configurations page, read in full on 2026-10-22, and is the source of 512 MB to 1 GB and the 1 GB layout. - arrow-write-table is the PyArrow 21.0 write_table reference, read on 2026-10-22 in the row_group_size parameter. - The 1024 × 1024 and 64 × 1024 × 1024 row limits come from arrow-write-table. - arrow-parquetfile is the PyArrow ParquetFile reference, re-read on 2026-10-22 in read_row_group. Related terms: - [parquet](https://hesela.dev/terms/parquet/) - [parquet-column-chunk](https://hesela.dev/terms/parquet-column-chunk/) - [parquet-page-checksum](https://hesela.dev/terms/parquet-page-checksum/) Citations: - [parquet-concepts] Apache Parquet: row groups, column chunks and pages. https://parquet.apache.org/docs/concepts/ (accessed 2026-10-22) - [arrow-parquetfile] Apache Arrow 21.0: ParquetFile row-group and column selection. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.ParquetFile.html (accessed 2026-10-22) - [hesela-parquet] Hesela: Parquet checksum and read-coverage experiment. https://hesela.com/analyses/parquet-checksums-read-coverage/ (accessed 2026-10-17) - [parquet-config] Apache Parquet documentation: File Format Configurations, row group size and data page size. https://parquet.apache.org/docs/file-format/configurations/ (accessed 2026-10-22) - [arrow-write-table] Apache Arrow 21.0 documentation: pyarrow.parquet.write_table. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.write_table.html (accessed 2026-10-22) ### Apache Parquet URL: https://hesela.dev/terms/parquet/ Related analysis: https://hesela.com/analyses/parquet-checksums-read-coverage/ Status: shipping Record updated: 2026-10-17 Apache Parquet is a column-oriented file format that organizes data into row groups, column chunks and encoded pages. Note: Structure: file metadata describes row groups and column chunks; page headers describe individual pages. A reader can select a subset without decoding all data in the file. [parquet-metadata] [arrow-read] Integrity: optional page checksums and their verification are separate from schema readability or correct row counts. A successful projected read is not evidence about the unselected payload. [parquet-crc] [arrow-read] Related terms: - [parquet-page-checksum](https://hesela.dev/terms/parquet-page-checksum/) - [checksum](https://hesela.dev/terms/checksum/) - [file-storage](https://hesela.dev/terms/file-storage/) - [zone-map](https://hesela.dev/terms/zone-map/) - [parquet-row-group](https://hesela.dev/terms/parquet-row-group/) - [parquet-column-chunk](https://hesela.dev/terms/parquet-column-chunk/) - [run-length-encoding](https://hesela.dev/terms/run-length-encoding/) - [bit-packing](https://hesela.dev/terms/bit-packing/) - [delta-encoding](https://hesela.dev/terms/delta-encoding/) Citations: - [parquet-crc] Apache Parquet: page checksumming. https://parquet.apache.org/docs/file-format/data-pages/checksumming/ (accessed 2026-10-17) - [arrow-read] Apache Arrow 21.0: read_table checksum verification and column selection. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.read_table.html (accessed 2026-10-17) - [arrow-write] Apache Arrow 21.0: write_table page checksum option. https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.write_table.html (accessed 2026-10-17) - [arrow-code] Apache Arrow 21.0.0: SerializedPageReader checksum presence guard. https://github.com/apache/arrow/blob/apache-arrow-21.0.0/cpp/src/parquet/column_reader.cc#L433-L443 (accessed 2026-10-17) - [parquet-encoding] Apache Parquet: PLAIN INT64 encoding. https://parquet.apache.org/docs/file-format/data-pages/encodings/ (accessed 2026-10-17) - [parquet-metadata] Apache Parquet: file, column and page metadata. https://parquet.apache.org/docs/file-format/metadata/ (accessed 2026-10-17) ### Partial index URL: https://hesela.dev/terms/partial-index/ Status: shipping Record updated: 2026-11-18 A partial index stores entries only for table rows that satisfy a specified predicate. Note: SQLite includes a row only when the index predicate is true; false and NULL exclude it. The predicate may reference a column absent from the index key. [sqlite-partial] UNIQUE constrains the selected subset, not the whole table. NULL-key handling is a separate rule: SQLite treats NULL keys as distinct. Updating a row into the subset must also satisfy uniqueness. [sqlite-create] Query eligibility requires the planner to recognize that the query implies the predicate; logical equivalence alone need not suffice. SQLite forbids parameters in the index definition, not every parameterized query using it. [sqlite-partial] SQLite permits only deterministic functions in the predicate. Labeling a changing application function deterministic does not make its results stable or preserve valid index contents. [deterministic] PostgreSQL can use custom plans with supplied parameter values or generic plans that retain parameters. A parameter-dependent implication cannot be assumed valid for every value. [pg-partial] [pg-prepare] A 1989 proposal also used partial predicates to track incremental index construction and rebuilding; those ideas require optimizer support, not just several small indexes. [stonebraker] Sources and caveats: - Primary documentation synthesis. PostgreSQL plan qualification combines its partial-index and PREPARE documentation; no PostgreSQL execution or performance claim. Linked SQLite demonstration uses constructed rows, not field data. - Historical design proposal read in full; cost-model examples are not modern engine benchmarks. [stonebraker] Related terms: - [sqlite-expression-index](https://hesela.dev/terms/sqlite-expression-index/) - [b-tree](https://hesela.dev/terms/b-tree/) Citations: - [sqlite-partial] SQLite: Partial Indexes, membership and planner rules. https://www.sqlite.org/partialindex.html (accessed 2026-11-18) - [sqlite-create] SQLite: CREATE INDEX, unique and partial indexes. https://www.sqlite.org/lang_createindex.html (accessed 2026-11-18) - [deterministic] SQLite: Deterministic SQL Functions, index restrictions. https://www.sqlite.org/deterministic.html (accessed 2026-11-18) - [pg-partial] PostgreSQL 17: Partial Indexes, implication at planning time. https://www.postgresql.org/docs/17/indexes-partial.html (accessed 2026-11-18) - [pg-prepare] PostgreSQL 17: PREPARE, generic and custom plans. https://www.postgresql.org/docs/17/sql-prepare.html (accessed 2026-11-18) - [stonebraker] Stonebraker: The Case for Partial Indexes, UCB/ERL M89/17 (1989), sections 3.1-3.4. https://www2.eecs.berkeley.edu/Pubs/TechRpts/1989/ERL-89-17.pdf (accessed 2026-11-18) - [hesela] Hesela: partial-index membership and uniqueness controls. https://hesela.com/analyses/sqlite-index-runtime-dependencies/#partial-index-membership (accessed 2026-11-18) ### Partial Parity Log URL: https://hesela.dev/terms/partial-parity-log/ Also known as: PPL Status: shipping Record updated: 2026-10-25 Partial Parity Log is a Linux MD RAID5 mechanism that records the XOR of untouched stripe chunks before dispatching data and parity updates. Note: The log resides on the stripe's parity member. Its recovery scope is narrower than a data journal. It records untouched-data parity for write-hole recovery, rather than accumulating changed-data deltas to batch normal parity updates. After an unclean stop a stripe's parity may disagree with its data, and if the array is also degraded, blocks the interrupted write never touched can be rebuilt wrongly, so md refuses to start a dirty degraded array by default. Recovery XORs the logged partial parity with the data actually read from the modified members. The resulting parity matches those surviving values, not necessarily the pre-write stripe or the complete intended update. [pplsrc] Recovery also runs at start-up when all disks are present, which avoids a resync. [ppl] Each log instance has a 4 KB header and at least 128 KB of partial parity, every entry and the header carry checksums, and full-stripe writes still log an entry with pp_size=0 so recovery knows which parity to recalculate. A write is logged on its stripe's parity disk, its data and parity writes start only after the log write completes, and member write-back caches are flushed between log units. Entries with bad checksums are skipped at recovery. [pplsrc] PPL supports up to 64 disks. [ppl] Partial parity is one 4 KB unit per stripe row whatever the number of untouched chunks, so a write to two data chunks over three rows logs 12 KB of partial parity for 24 KB of data. [pplsrc] A journal device instead logs data and parity before the array and replays them, closing the write hole at the cost of extra writes. [lwnjournal] Advantages: - No separate journal device is required. (sources: [ppl]) - Logging load spreads across the array because each stripe logs on its own parity member. (sources: [ppl], [pplsrc]) Limitations: - Does not guarantee preservation of in-flight data; loss of a modified member is outside that protection. (sources: [ppl]) - The documented Linux MD implementation does not combine PPL with a write-intent bitmap. (sources: [ppl]) - The documentation quotes a write-performance reduction of up to 30 to 40%. (sources: [ppl]) Sources and caveats: - The kernel documentation and source are project material whose file header credits a hardware company (Intel) as the origin of the feature. - The 30 to 40% reduction comes from the feature's own description, not from an independent measurement. - The journal article is by the md maintainer and describes the alternative, not PPL; no cited source measures PPL independently. - Arithmetic from the header definition: 24-byte entries in 4096 - 512 - 24 = 3,560 bytes allow at most 148 entries per header; the 24 KB and 12 KB example follows the source comment. - Behaviour is for Linux v6.12. - The surviving-state interpretation follows ppl_recover_entry in Linux v6.12; the documentation's before-write wording must not be read as rollback of modified data. Related terms: - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [raid-5](https://hesela.dev/terms/raid-5/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [write-intent-bitmap](https://hesela.dev/terms/write-intent-bitmap/) - [parity-logging](https://hesela.dev/terms/parity-logging/) - [speculative-partial-write](https://hesela.dev/terms/speculative-partial-write/) - [full-stripe-write](https://hesela.dev/terms/full-stripe-write/) Citations: - [ppl] Linux v6.12: Partial Parity Log. https://github.com/torvalds/linux/blob/v6.12/Documentation/driver-api/md/raid5-ppl.rst (accessed 2026-10-11) - [hesela-raid] Hesela: RAID write hole, bitmap and PPL. https://hesela.com/analyses/raid-write-hole-bitmap-ppl/ (accessed 2026-10-11) - [pplsrc] Linux v6.12 drivers/md/raid5-ppl.c and include/uapi/linux/raid/md_p.h, PPL header and entry format. https://github.com/torvalds/linux/blob/v6.12/drivers/md/raid5-ppl.c (accessed 2026-10-25) - [lwnjournal] Neil Brown. A journal for MD/RAID5. LWN.net, 24 November 2015. https://lwn.net/Articles/665299/ (accessed 2026-10-16) ### Partial quorum URL: https://hesela.dev/terms/partial-quorum/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Also known as: Non-strict quorum Status: research Record updated: 2026-11-11 A partial quorum configuration allows a read response set and a write acknowledgement set that need not overlap. Note: Partial quorums choose read and write quorum sizes with R + W <= N, so at least two quorums need not overlap, unlike strict quorums with R + W > N. With uniform R- and W-member subsets of the same N replicas, non-intersection has probability C(N-W,R)/C(N,R), about 1.88 x 10^-6 for N = 100 and R = W = 30 but 2/3 for N = 3 and R = W = 1. Missing all k recent writes raises it to the kth power only under independent write selections. [pbs] Partial concerns overlap, whereas sloppy quorum concerns fallback membership. A sloppy quorum uses the first N healthy nodes on a preference list, and a replica sent to a stand-in node carries a hint for later handoff. The 2007 key-value store design that describes it reports (3,2,2) as its common (N,R,W) setting, which satisfies R + W > N. [dynamo] PBS fitted one-way delay distributions to production round-trip summaries, then ran simulations. Its N=3, R=W=1 LNKD-DISK and LNKD-SSD models reached 99.9% t-visibility at 45.5 ms and 1.85 ms, respectively. For YMMR, R=2/W=1 gave a 202 ms threshold and about 43.3 ms versus 230 ms for R=3/W=1 when adding the separate 99.9th percentiles of read and write latency. That sum is not an end-to-end percentile or a measured deployment speedup. [pbs] For a random acceptable version count K independent of placement, the same conditional model averages p^K over K. Replacing K by its mean can understate the miss probability. Hesela supplies exact constructed examples, not measured request distributions. [hesela-mixture] Advantages: - Expected staleness can be computed from N, R, W and latency distributions instead of being left as an unquantified eventual guarantee. (sources: [pbs]) Limitations: - This sampling model is not a production stale-read rate or a deterministic time bound. (sources: [pbs]) - Without intersection a later read can return an older version than an earlier one, so monotonic reads hold only with some probability. (sources: [pbs]) Sources and caveats: - pbs was rechecked in sections 5.1-5.6 and Table 4: the production inputs are round-trip summaries; the one-way distributions require fitting and assumptions. Latency/freshness estimates are simulated, separate from the paper's Cassandra validation. - dynamo is the SOSP 2007 paper by DeCandia et al., read in sections 4.5, 4.6 and 6 for quorum settings, sloppy quorum and hinted handoff. - The 2/3 value is computed from the cited ratio, and the 1.88 x 10^-6 value matches the ratio for N = 100 and R = W = 30. - The published latency results were not reproduced. Adding the two displayed latency percentiles does not reconstruct a paired-operation latency distribution. Related terms: - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [sloppy-quorum](https://hesela.dev/terms/sloppy-quorum/) - [monotonic-reads](https://hesela.dev/terms/monotonic-reads/) - [pbs-k-staleness](https://hesela.dev/terms/pbs-k-staleness/) - [pbs-t-visibility](https://hesela.dev/terms/pbs-t-visibility/) Citations: - [pbs] Bailis et al. Probabilistically Bounded Staleness for Practical Partial Quorums. PVLDB 5(8), 776-787 (2012), sections 1-3, 5.5-5.6 and Table 4. https://www.vldb.org/pvldb/vol5/p776_peterbailis_vldb2012.pdf (accessed 2026-10-27) - [dynamo] DeCandia et al. Dynamo: Amazon's Highly Available Key-value Store. SOSP 2007, sections 4.5-4.6 and 6. https://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf (accessed 2026-10-23) - [hesela-model] Hesela: exact partial-quorum examples, assumptions and executable source. https://hesela.dev/data/partial-quorum-examples.json (accessed 2026-10-14) - [hesela-mixture] Hesela: exact version-count mixtures, assumptions and executable source hashes. https://hesela.dev/research/pbs-count-mixtures.json (accessed 2026-11-11) ### Partial-response target URL: https://hesela.dev/terms/partial-response-target/ Related article: https://hesela.com/tech/prml-read-channel/ Also known as: PR equalization target, partial-response channel target Status: unknown Record updated: 2026-10-20 A partial-response target specifies the desired sampled channel response, including controlled contributions from neighboring symbols, used by an equalizer and sequence detector. Note: With D denoting one channel-symbol delay, PR4 is 1 - D^2 and EPR4 is 1 + D - D^2 - D^3 [kobayashi2009]. The target describes signal-amplitude arithmetic, not binary XOR. Umemoto's PR5 proposal uses -1 + 2D^2 - D^4 for a particular single-layer perpendicular recording configuration [umemoto1997]. These targets are distinct responses within this concept, not aliases for interchangeable implementations. A target alone does not specify the noise model, detector, constrained code or error-correction stage. State counts must name their trellis and sampling convention. Related terms: - [prml-encoding](https://hesela.dev/terms/prml-encoding/) - [npml-detection](https://hesela.dev/terms/npml-detection/) - [intersymbol-interference](https://hesela.dev/terms/intersymbol-interference/) - [pmr](https://hesela.dev/terms/pmr/) Citations: - [kobayashi2009] H. Kobayashi, PRML historical review, IEEE Communications Magazine 47(3), 14-17 (2009), full text. https://hp.hisashikobayashi.com/wp-content/uploads/2015/12/PRML-IEEE-Comm_Magazine.pdf (accessed 2026-10-20) - [umemoto1997] M. Umemoto, PR5ML Processing for Perpendicular Magnetic Recording (1997), section II and Table 1, full text. https://www.jstage.jst.go.jp/article/jmsjmag/21/S_2_PMRC_97_2/21_S_2_PMRC_97_2_S2_395/_pdf (accessed 2026-10-20) ### Partial synchrony URL: https://hesela.dev/terms/partial-synchrony/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Partially synchronous system Status: unknown Record updated: 2026-11-20 Partial synchrony models timing bounds that are unknown in advance or become guaranteed only after an unknown stabilization time. Note: Dwork, Lynch and Stockmeyer distinguish always-existing unknown bounds from known bounds that hold after an unknown global stabilization time. Communication delays and relative processor speeds are separate model dimensions. [partial-synchrony-paper] A protocol satisfying the eventual-bound contract preserves safety despite arbitrary delays; guaranteed termination also depends on eventual timing conditions and its fault assumptions. Stabilization is not a client-visible completion deadline. [partial-synchrony-paper] Raft illustrates the distinction: log safety does not depend on timing, but maintaining a leader and making progress do. Its timing guidance is not a measured service guarantee. [raft-timing] Sources and caveats: - DLS (1988), sections 1.2 and 5, defines the timing models. Raft section 5.6 provides a protocol-specific example, not a universal fault threshold or a deployment measurement. Related terms: - [flp-impossibility](https://hesela.dev/terms/flp-impossibility/) - [failure-detector](https://hesela.dev/terms/failure-detector/) - [raft](https://hesela.dev/terms/raft/) - [perfect-failure-detector](https://hesela.dev/terms/perfect-failure-detector/) - [eventually-perfect-failure-detector](https://hesela.dev/terms/eventually-perfect-failure-detector/) - [timing-failure](https://hesela.dev/terms/timing-failure/) Citations: - [partial-synchrony-paper] Dwork, Lynch and Stockmeyer. Consensus in the Presence of Partial Synchrony. JACM 35(2), 288-323, 1988; sections 1.2 and 5. https://groups.csail.mit.edu/tds/papers/Lynch/jacm88.pdf (accessed 2026-11-11) - [raft-timing] Ongaro and Ousterhout. In Search of an Understandable Consensus Algorithm, extended version (20 May 2014), section 5.6. https://raft.github.io/raft.pdf (accessed 2026-11-11) ### Partition alignment URL: https://hesela.dev/terms/partition-alignment/ Also known as: partition start alignment Status: shipping Record updated: 2026-10-21 Partition alignment places a partition's starting offset on boundaries appropriate to the storage topology reported by the underlying stack. Note: An aligned partition does not ensure that every subsequent request has an aligned offset and length. The companion explanation separates partition geometry, individual I/O and persistence. GPT partition addresses are expressed in logical blocks. Their byte position depends on the logical block size, while alignment depends on the underlying topology; recognizing the partition table alone does not establish alignment. [uefi] Advantages: - Avoids adding a partition-start displacement to otherwise aligned requests. (sources: [microsoft-af]) Limitations: - Linux exposes device and partition alignment offsets separately from preferred I/O sizes. (sources: [linux-abi]) - Unbuffered I/O may also impose buffer-address and request-size requirements. (sources: [microsoft-buffering]) Related terms: - [advanced-format](https://hesela.dev/terms/advanced-format/) - [ssd](https://hesela.dev/terms/ssd/) - [hdd](https://hesela.dev/terms/hdd/) - [direct-io](https://hesela.dev/terms/direct-io/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [logical-sector](https://hesela.dev/terms/logical-sector/) - [physical-sector](https://hesela.dev/terms/physical-sector/) - [512e](https://hesela.dev/terms/512e/) - [4kn-native](https://hesela.dev/terms/4kn-native/) - [minimum-io-size](https://hesela.dev/terms/minimum-io-size/) - [optimal-io-size](https://hesela.dev/terms/optimal-io-size/) - [alignment-offset](https://hesela.dev/terms/alignment-offset/) - [guid-partition-table](https://hesela.dev/terms/guid-partition-table/) Citations: - [c1] Partition alignment. https://en.wikipedia.org/wiki/Partition_alignment (accessed 2026-03-26) - [microsoft-af] Microsoft: Advanced format disk compatibility update, sector formats and alignment issues. https://learn.microsoft.com/en-us/windows/compatibility/advanced-format-disk-compatibility-update (accessed 2026-10-12) - [linux-abi] Linux 6.12: stable sysfs block ABI, sector sizes and I/O topology. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-10-12) - [microsoft-buffering] Microsoft: File buffering, alignment and file access requirements. https://learn.microsoft.com/en-us/windows/win32/fileio/file-buffering (accessed 2026-10-12) - [hesela-sector-alignment] Hesela: 512e, 4Kn and alignment: geometry is not durability. https://hesela.com/analyses/sector-sizes-alignment-not-durability/ (accessed 2026-10-12) - [uefi] UEFI 2.10, chapter 5: GPT layout, headers and partition entries. https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html (accessed 2026-10-21) ### Partition type GUID URL: https://hesela.dev/terms/partition-type-guid/ Related analysis: https://hesela.com/analyses/ddrescue-image-provenance/ Also known as: GPT partition type Status: shipping Record updated: 2026-10-21 A partition type GUID declares a GPT partition's purpose or content class and is distinct from the unique GUID identifying that individual partition. Note: Partitions of the same declared type can share a type GUID while having different UniquePartitionGUID values. The disk has a separate DiskGUID. A type label does not verify filesystem structures or authenticate their contents. [uefi] The util-linux v2.41 sfdisk interface distinguishes --part-type, --part-uuid and --disk-id. Do not confuse a partition UUID with a filesystem's own identifier. When evaluating an acquired image, retain original identifiers as evidence; do not rewrite them merely to make a preservation copy look unique. [sfdisk] Limitations: - UEFI requires new disk and unique partition GUIDs for copied disks put into service; preserve original identifiers in the acquisition evidence and make operational identity changes on a separate copy. (sources: [uefi]) - Changing the declared type does not convert or repair the data stored in the partition. (sources: [sfdisk], [uefi]) Sources and caveats: - Identifier semantics from UEFI 2.10 and the util-linux v2.41 manual; no partition-editing commands executed. Related terms: - [guid-partition-table](https://hesela.dev/terms/guid-partition-table/) - [protective-mbr](https://hesela.dev/terms/protective-mbr/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [filesystem-uuid](https://hesela.dev/terms/filesystem-uuid/) - [unique-partition-guid](https://hesela.dev/terms/unique-partition-guid/) Citations: - [uefi] UEFI 2.10, chapter 5: GPT layout, headers and partition entries. https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html (accessed 2026-10-21) - [sfdisk] util-linux v2.41 sfdisk manual: partition type, partition UUID and disk ID. https://github.com/util-linux/util-linux/blob/v2.41/disk-utils/sfdisk.8.adoc (accessed 2026-10-21) ### Partitioned Elias-Fano URL: https://hesela.dev/terms/partitioned-elias-fano/ Also known as: PEF indexes Status: shipping Record updated: 2026-11-17 Partitioned Elias-Fano represents a sorted integer sequence in separately encoded chunks with an upper-level index that locates their endpoints and payloads. Note: Mechanism: Local ranges can expose clustering hidden by one global universe. The 2014 design includes fixed-size and variable-size partitions; dense chunks may use bitmaps or an implicit all-values representation. [pef] Cost: Smaller chunks can reduce payload while increasing endpoint, size and location metadata. The published optimization includes a per-chunk cost; minimizing only payload is a different objective. [pef] Example: A toy two-partition recipe uses 124 bits for clustered input but 284 for spread input, versus 224 for either unpartitioned payload. Both inputs contain 32 identifiers spanning 0 through 1039. Each partition is rebased to its first value and all declared toy headers are counted. This is an arithmetic illustration, not the paper's wire format or a speed benchmark. [model] Sources and caveats: - SIGIR 2014 evaluates document identifiers and term frequencies, not positional postings; its performance results concern its recorded corpora and implementations. [pef] - The historical code links to its successor ds2i. No upstream implementation or figure was copied. [code] Related terms: - [elias-fano](https://hesela.dev/terms/elias-fano/) - [roaring-bitmap](https://hesela.dev/terms/roaring-bitmap/) Citations: - [pef] Giuseppe Ottaviano and Rossano Venturini, Partitioned Elias-Fano Indexes, SIGIR 2014, sections 4-5; DOI 10.1145/2600428.2609615. https://pages.di.unipi.it/rossano/assets/pdf/papers/SIGIR14.pdf (accessed 2026-11-17) - [code] Authors' historical implementation and experiment repository. https://github.com/ot/partitioned_elias_fano (accessed 2026-11-17) - [model] Hesela: exact Elias-Fano payload and explicit toy partition-header accounting (CC0). https://hesela.dev/research/elias-fano-payload.mjs (accessed 2026-11-17) - [analysis] Hesela: compressed indexes and the metadata needed to read them. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#monotone-indexes (accessed 2026-11-17) ### Partitioned filter URL: https://hesela.dev/terms/partitioned-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: Partitioned SST filter Status: shipping Record updated: 2026-10-17 An SST membership-filter layout split into independently loadable partitions located through a top-level index. Note: Partitioning changes the unit fetched and retained in the cache, so cold ranges need not bring in the whole file's filter. It does not itself change a positive answer into proof of membership or establish a lower false-positive rate. Include top-level index overhead when evaluating memory. [partitioned-filters] In RocksDB v9.7.3, a small Ribbon builder can instead emit Bloom when its calculated representation is smaller. Smaller partitions therefore need not retain the same encoding. This is an implementation-dependent space decision, not a change in the membership contract. [ribbon-implementation] Related terms: - [sstable](https://hesela.dev/terms/sstable/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [ribbon-filter](https://hesela.dev/terms/ribbon-filter/) Citations: - [partitioned-filters] Maysam Yabandeh. Partitioned Index/Filters. RocksDB engineering note, 12 May 2017. https://rocksdb.org/blog/2017/05/12/partitioned-index-filter.html (accessed 2026-10-13) - [ribbon-implementation] RocksDB v9.7.3: Ribbon builder selection and construction fallbacks. https://github.com/facebook/rocksdb/blob/v9.7.3/table/block_based/filter_policy.cc (accessed 2026-10-17) ### Poisson arrivals see time averages URL: https://hesela.dev/terms/pasta/ Related analysis: https://hesela.com/analyses/storage-latency-coordinated-omission/ Also known as: PASTA Status: shipping Record updated: 2026-11-20 PASTA equates long-run pre-arrival state frequencies for Poisson arrivals with time frequencies under nonanticipation and convergence conditions. Note: The observed system may depend on past arrivals, but its history must not reveal future increments of the Poisson arrival process. Count the state before the arriving request changes it. The result concerns convergent long-run fractions, not exact equality in a finite trace. [wolff-pasta] An open-loop schedule need not be Poisson. With ten 1 ms requests in a 20 ms cycle, periodic, paired and burst schedules all occupy one server for half the time, yet arrivals find it busy in 0/10, 5/10 and 9/10 cases. These are constructed schedules, not storage measurements. [hesela-pasta] Sampling an actively probed system does not by itself identify how it would behave without the probes. PASTA also supplies no finite-sample variance bound or optimal probe rate. [baccelli-pasta] Sources and caveats: - Wolff is a mathematical theorem, not a device experiment. The Baccelli et al. citation is the 2006 conference paper, not the 2009 journal extension. - The numerical comparison is an exact deterministic example with complete request cohorts and no fitted parameters or random sampling. Related terms: - [open-loop-load](https://hesela.dev/terms/open-loop-load/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [coordinated-omission](https://hesela.dev/terms/coordinated-omission/) - [palm-distribution](https://hesela.dev/terms/palm-distribution/) - [burkes-theorem](https://hesela.dev/terms/burkes-theorem/) Citations: - [wolff-pasta] Wolff (1982): Poisson Arrivals See Time Averages, section 1, Theorem 1 and Remarks 1, 4; DOI 10.1287/opre.30.2.223. https://www.math.purdue.edu/~peterson/Teaching/532/PASTA.pdf (accessed 2026-11-19) - [baccelli-pasta] Baccelli, Machiraju, Veitch and Bolot (SIGCOMM 2006): The Role of PASTA in Network Measurement, sections 2 and 4. https://doi.org/10.1145/1151659.1159940 (accessed 2026-11-19) - [hesela-pasta] Hesela: exact equal-work arrival schedules and request-versus-time busy fractions. https://hesela.com/analyses/storage-latency-coordinated-omission/#arrival-time-sampling (accessed 2026-11-19) ### PATA URL: https://hesela.dev/terms/pata/ Technology reference: https://hesela.com/tech/pata/ Also known as: Parallel ATA, IDE Status: unknown Record updated: 2026-10-25 Recorded firstSeen: 1994 (sources: [c2]) Parallel ATA (PATA) is the parallel form of the ATA storage interface, traditionally allowing two devices to share a channel. Note: Identity: PATA and IDE overlap in naming; they are not consecutive interface generations. A SATA controller's IDE-compatible programming mode is also distinct from its physical serial link. [uefi-ide] Connections: A desktop 40-pin data connector can use an 80-conductor cable: the extra conductors improve grounding rather than double the data-bus width. Ultra ATA/66 needs compatible host, drive and cable support. A documented notebook variant uses a 44-pin connector that also carries power, so 40 pins are not universal. [wd-ultra66] [momentus-pata] Transfer modes: Early PIO timings do not bound later PATA. Documented examples include Ultra DMA mode 4 at 66.6 MB/s, mode 5 at 100 MB/s and mode 6 at 133 MB/s. These are interface limits, not guaranteed sustained media or application rates. [barracuda-cable] [momentus-pata] [maxtor-udma] Shared channel: Device selection uses configuration such as jumpers or cable select. Two attached drives share the host channel; their presence does not establish two independent full-rate paths. [c2] [uefi-ide] Advantages: - Software written for the parallel register model could carry over to the serial successor. (sources: [c3]) Limitations: - Each drive on a shared cable needs jumper, switch or cable-select configuration. (sources: [c2]) Sources and caveats: - The retained 1994 firstSeen value denotes the ATA-1 standardization context, not invention, first shipment or the first use of the PATA name. - Connector and transfer-mode examples come from particular historical products, not a claim that all PATA devices implement the same modes. - The rate figures retain the rounding used in the manuals and are not measurements performed by Hesela. - Historical interface documentation does not establish a single current end-of-life status for all implementations. Related terms: - [sata](https://hesela.dev/terms/sata/) - [hdd](https://hesela.dev/terms/hdd/) - [ahci](https://hesela.dev/terms/ahci/) - [st-412](https://hesela.dev/terms/st-412/) - [ide](https://hesela.dev/terms/ide/) - [ultra-dma](https://hesela.dev/terms/ultra-dma/) Superseded by: - [sata](https://hesela.dev/terms/sata/) Citations: - [c1] Parallel ATA. https://en.wikipedia.org/wiki/Parallel_ATA (accessed 2026-03-26) - [c2] X3T10 791D revision 4c. AT Attachment Interface for Disk Drives (ATA-1 working draft), 1994. https://www.t13.org/docsearch?title=791D (accessed 2026-10-16) - [c3] Serial ATA Working Group. Serial ATA: High Speed Serialized AT Attachment, Revision 1.0, 29 August 2001. https://www.seagate.com/support/disc/manuals/sata/sata_im.pdf (accessed 2026-10-16) - [uefi-ide] UEFI PI 1.8: IDE controller terminology, sections 7.2.1.1 and 7.2.3.1. https://uefi.org/specs/PI/1.8/V5_IDE_Controller.html (accessed 2026-10-25) - [wd-ultra66] Western Digital: Ultra ATA/66 FAQ, April 1999, questions 2-7. https://documents.sandisk.com/content/dam/asset-library/en_us/assets/public/wd/product/wd-archive/is-ultra-ata/66-interface-79-850120.pdf (accessed 2026-10-25) - [momentus-pata] Seagate: Momentus 7200.1 PATA Product Manual, Rev. C, August 2007, sections 2.5 and 4.1. https://www.seagate.com/content/dam/seagate/migrated-assets/staticfiles/support/disc/manuals/notebook/momentus/7200.1/PATA/100320518c.pdf (accessed 2026-10-25) - [maxtor-udma] Maxtor: DiamondMax16 Product Manual, 16 October 2003, sections 5.2.1 and 5.3.1.1. https://www.seagate.com/staticfiles/maxtor/en_us/documentation/manuals/diamondmax_16_manual.pdf (accessed 2026-10-25) - [barracuda-cable] Seagate: Barracuda ATA II Product Manual, Rev. A, February 2000, introduction and section 2.2.4. https://www.seagate.com/support/disc/manuals/ata/vailpma.pdf (accessed 2026-10-25) ### Patched frame-of-reference URL: https://hesela.dev/terms/patched-frame-of-reference/ Related analysis: https://hesela.com/analyses/compressed-archives-dictionary-dependencies/ Also known as: PFOR, Patched FOR, Patched frame of reference Status: shipping Record updated: 2026-11-17 Patched frame-of-reference is a family of integer compression schemes that bit-pack values at a chosen width and separately encode information needed to reconstruct exceptions. Note: Exceptions: An unsigned value at or above 2^b does not fit b bits. Handling it separately can avoid increasing the packed width for every value, but exception positions, payloads and headers also cost space. Selecting a smaller width does not by itself minimize total size. [for-paper] Base choice: The original PFOR design permits a base above some input values and stores below-base values as exceptions. PFOR-DELTA specifically applies PFOR to adjacent differences. [pfor-original] Variants: Original PFOR, NewPFD, OptPFD and FastPFOR differ in width selection and exception layout. FastPFOR selects widths per block and groups exception high bits across a page. Do not assume every variant stores complete exceptional values or uses one shared wire format. [for-paper] Example: Appending 2024 to 1000, 1001, 1003 and 1007 makes the maximum base-1000 offset 1024. Plain packing needs 11 bits per offset. A toy low/high split at width 3 uses five low fields and a separate exception at zero-based position 4 with high part 128; this is exact arithmetic, not a native PFOR stream or a measured compression ratio. [for-example] Sources and caveats: - Primary-source synthesis plus a bounded signed-64-bit integer illustration; no native codec benchmark, format-compatibility claim or new empirical result. Related terms: - [frame-of-reference](https://hesela.dev/terms/frame-of-reference/) - [bit-packing](https://hesela.dev/terms/bit-packing/) - [lossless-compression](https://hesela.dev/terms/lossless-compression/) Citations: - [for-paper] Lemire and Boytsov: Decoding billions of integers per second through vectorization, sections 2.6-2.8 and 5. https://arxiv.org/pdf/1209.2137v7 (accessed 2026-11-17) - [for-example] Hesela: frame-of-reference arithmetic and exception example. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#frame-of-reference (accessed 2026-11-17) - [pfor-original] Zukowski, Heman, Nes and Boncz: Super-Scalar RAM-CPU Cache Compression, ICDE 2006, sections 2.1 and 3.1. https://ir.cwi.nl/pub/15564/15564B.pdf (accessed 2026-11-17) ### Patchgroup URL: https://hesela.dev/terms/patchgroup/ Related analysis: https://hesela.com/analyses/soft-updates-metadata-ordering/ Also known as: Featherstitch patchgroup Status: research Record updated: 2026-11-30 A patchgroup is Featherstitch's application-visible collection of filesystem changes used to express persistence dependencies between operations. Note: In the research API, pg_depend(Q, P) orders P before Q and seals P against further engagement. P cannot be engaged again once Q depends on it, so the system has its complete change set rather than an indefinitely extendable predecessor. pg_sync requests persistence; pg_close releases the identifier. [featherstitch2007] A dependency does not make the whole application update atomic. See the existing metadata-ordering analysis for the distinction. [hesela-soft] Limitations: - The patch abstraction itself does not provide atomic block writes. (sources: [featherstitch2007]) Sources and caveats: - Source review, not a reproduction of the historical implementation. The publication year is not asserted as an invention date. Related terms: - [featherstitch](https://hesela.dev/terms/featherstitch/) - [metadata-update-dependency](https://hesela.dev/terms/metadata-update-dependency/) - [soft-updates](https://hesela.dev/terms/soft-updates/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [hard-patch](https://hesela.dev/terms/hard-patch/) Citations: - [featherstitch2007] Frost et al. Generalized File System Dependencies. SOSP 2007, sections 3, 5 and 8; figure 11. https://read.seas.harvard.edu/~kohler/pubs/frost07generalized.pdf (accessed 2026-10-24) - [hesela-soft] Hesela: Soft updates and metadata ordering. https://hesela.com/analyses/soft-updates-metadata-ordering/#patchgroups (accessed 2026-10-24) ### Path ORAM URL: https://hesela.dev/terms/path-oram/ Status: research Record updated: 2026-11-12 Path ORAM is a tree-based oblivious RAM protocol that reads and rewrites a full path while randomly remapping the accessed block. Note: Mechanism: A position map assigns each block a leaf. The block resides on that path or in the client's stash. After reading the old path, the client assigns a fresh random leaf and rewrites the old path, with randomized encryption and dummy padding. [path2018] Memory: The stash holds blocks that cannot yet be placed. The position map is separate client state; recursion stores it in smaller ORAMs at additional access cost. The base protocol does not cover request timing leakage. [path2018] Sources and caveats: - The 2018 journal article extends the CCS 2013 publication (DOI 10.1145/2508859.2516660). No implementation, stash-failure experiment or cryptographic proof was reproduced. Related terms: - [oblivious-ram](https://hesela.dev/terms/oblivious-ram/) - [authenticated-encryption](https://hesela.dev/terms/authenticated-encryption/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) Citations: - [path2018] Stefanov et al. Path ORAM: An Extremely Simple Oblivious RAM Protocol. JACM 65(4), 2018, sections 2-4 and 6.4. DOI 10.1145/3177872. https://people.csail.mit.edu/devadas/pubs/PathORAMJACM.pdf (accessed 2026-11-12) - [hesela-oram] Hesela: What an encrypted access trace can reveal. https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/#access-patterns (accessed 2026-11-12) ### Path resolution URL: https://hesela.dev/terms/path-resolution/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: pathname resolution, pathname lookup Status: shipping Record updated: 2026-11-16 Path resolution interprets a pathname's components to select the filesystem object or creation location addressed by an operation. Note: On Linux, absolute paths normally start at the process root; relative paths start at the working directory or an *at() directory descriptor. Intermediate components require search permission; final-component handling depends on the operation. [linux-path-resolution-7] O_NOFOLLOW affects only the final component. O_PATH | O_NOFOLLOW can obtain a descriptor for that link itself. [linux-open-2] openat2() RESOLVE_NO_SYMLINKS prevents symlink traversal throughout the path and implies RESOLVE_NO_MAGICLINKS, but does not confine lookup. RESOLVE_NO_XDEV separately blocks mount crossings, including bind mounts. [linux-openat2-2] RESOLVE_BENEATH rejects escapes from dirfd, including absolute paths and absolute symlink targets; it does not ban every relative symlink or '..'. RESOLVE_IN_ROOT instead roots absolute paths and absolute symlink targets at dirfd and keeps '..' there at that root. Linux v6.12 rejects combining these policies with EINVAL. [linux-openat2-2] [linux-openat2-source] With either rooted policy, EAGAIN can mean a race prevented proving confinement. RESOLVE_CACHED can also return EAGAIN when lookup needs revalidation or I/O. A cache fallback may drop only RESOLVE_CACHED, retaining containment and link restrictions. Retry within a bounded budget or report failure, not through an unconstrained open. These rules govern that open, not a later rename. [linux-openat2-2] [linux-path-lookup] RESOLVE_CACHED also rejects otherwise valid O_CREAT, O_TRUNC and O_TMPFILE requests before lookup in Linux v6.12. EAGAIN therefore does not uniquely identify an uncached name. [linux-openat2-source] Limitations: - Resolving a name does not freeze its contents or provide a snapshot of later namespace changes. Sources and caveats: - API review scoped to Linux; path-resolution flags are separate from persistence, application authorization and multi-operation concurrency protocols. - Rooted lookup and retry guidance combines the Linux API contract with v6.12 implementation review; bounded retries are an application policy, not a kernel retry limit. Related terms: - [symbolic-link](https://hesela.dev/terms/symbolic-link/) - [inode](https://hesela.dev/terms/inode/) - [hard-link](https://hesela.dev/terms/hard-link/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [o-path](https://hesela.dev/terms/o-path/) - [dentry](https://hesela.dev/terms/dentry/) - [resolve-cached](https://hesela.dev/terms/resolve-cached/) - [directory](https://hesela.dev/terms/directory/) - [directory-search-permission](https://hesela.dev/terms/directory-search-permission/) Citations: - [linux-path-resolution-7] Linux man-pages: path_resolution(7), lookup start and component handling. https://man7.org/linux/man-pages/man7/path_resolution.7.html (accessed 2026-11-03) - [linux-open-2] Linux man-pages: open(2), O_NOFOLLOW and O_PATH. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-11-03) - [linux-openat2-2] Linux man-pages: openat2(2), resolve flags and their scope. https://man7.org/linux/man-pages/man2/openat2.2.html (accessed 2026-11-07) - [linux-openat2-source] Linux v6.12: build_open_flags and mutually exclusive rooted lookup policies. https://github.com/torvalds/linux/blob/v6.12/fs/open.c (accessed 2026-11-07) - [linux-path-lookup] Linux v6.12 pathname lookup: rename_lock and scoped lookup races. https://www.kernel.org/doc/html/v6.12/filesystems/path-lookup.html#rename-lock (accessed 2026-11-07) ### Patrol read URL: https://hesela.dev/terms/patrol-read/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: RAID patrol read Status: shipping Record updated: 2026-11-22 In a RAID controller, patrol read is a background scan of eligible physical drives for media read errors. Note: Eligibility may include array members and hot spares while excluding unconfigured drives. Recovery depends on the error and array configuration, and concurrent maintenance can prevent a scan. This does not promise verification of every attached device. [perc11-patrol] SSD participation depends on the implementation. A management interface can accept a start request that later fails because no virtual disk exists, so request acceptance alone does not establish that scanning began. [idrac10] Overlapping consistency checking can interrupt patrol read; automatic restart depends on firmware. Retain completion, interruption and repair evidence, not only a schedule. Patrol read is distinct from comparing mirrored data or parity. [intel-patrol] [perc-consistency] NAND literature also uses patrol reads for internal page sampling that checks raw bit-error rates and tunes read-reference voltages. This is not the RAID-controller scan of physical drives, nor does it necessarily relocate data as read reclaim does. Identify the controller layer and action before interpreting a patrol counter. [park-observation] Limitations: - Media readability does not establish application-content correctness. (sources: [hesela-scrub]) Sources and caveats: - Dell PERC 11 supplies the configured-member, hot-spare and maintenance restrictions; other controllers need their own eligibility check. [perc11-patrol] - Dell iDRAC10 1.20.xx lists SSDs as excluded and describes a job-start failure without a virtual disk; the SSD rule must not be generalized. [idrac10] - Intel article 000023659 describes firmware-dependent interruption and restart on the RS25/RMS25 families. [intel-patrol] - Documentation review, not a controller experiment, optimal-interval calculation or measured reduction in data loss. - The NAND use is distinguished from the existing RAID meaning without redefining this record's identity; the paper's background description is not a universal firmware guarantee. [park-observation] Related terms: - [raid-consistency-check](https://hesela.dev/terms/raid-consistency-check/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [read-disturb](https://hesela.dev/terms/read-disturb/) - [read-reclaim](https://hesela.dev/terms/read-reclaim/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) Citations: - [perc11-patrol] Dell PERC 11 User's Guide: Patrol Read, eligibility and concurrent operations. https://www.dell.com/support/manuals/en-ie/perc-h750-sas/perc11_ug/patrol-read?guid=guid-a088d58d-5552-4385-9aa0-6e6117350500&lang=en-us (accessed 2026-10-25) - [idrac10] Dell iDRAC10 1.20.xx: controller properties, patrol eligibility and job-start limitations. https://www.dell.com/support/manuals/en-us/poweredge-r670/idrac10_1.20.xx_ug/configuring-controller-properties?guid=guid-a02c24bf-0f11-4eac-a8a6-f6e5da9103c2&lang=en-us (accessed 2026-10-25) - [intel-patrol] Intel article 000023659: RS25/RMS25 patrol-read interruption and firmware-dependent restart. https://www.intel.com/content/www/us/en/support/articles/000023659/server-products/raid-products.html (accessed 2026-10-25) - [perc-consistency] Dell KB 000139796: PERC Check Consistency, mirror and parity correction. https://www.dell.com/support/kbdoc/en-us/000139796/perc-how-to-perform-a-check-consistency-using-openmanage-server-administrator (accessed 2026-10-25) - [hesela-scrub] Hesela: patrol read, RAID consistency and verification boundaries. https://hesela.com/analyses/scrubbing-detection-not-durability/#controller-checks (accessed 2026-10-25) - [park-observation] Park et al. Experimental Study on System-Level Performance Impact of Read Disturbance in Modern SSDs. POMACS 2026, section 2.3. DOI 10.1145/3788092. https://arxiv.org/html/2608.14073v1 (accessed 2026-11-22) ### Paxos URL: https://hesela.dev/terms/paxos/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Paxos consensus Status: unknown Record updated: 2026-11-21 Paxos is a consensus protocol for choosing a single proposed value despite non-Byzantine process failures and unreliable message delivery. Note: A proposer first obtains promises and prior accepted proposals, then submits the required value for acceptance. It must retain the value from the highest-numbered accepted proposal in its phase-1 responses, if any. A chosen value and a value merely accepted by one node are different states. [paxos-simple] Crash recovery requires acceptors to retain promises and accepted-proposal state before replying. Quorum counts do not independently verify that this storage obligation was met. [paxos-simple] Multi-Paxos applies consensus to a sequence of slots and amortizes phase 1 across slots under a stable leader. A competing higher proposal can prevent that leader from progressing. Safety and eventual progress are separate properties. [paxos-simple] Flexible Paxos separates the phase-1 and phase-2 quorum families while preserving cross-phase intersection. It does not replace the promise and value-selection rules. [fpaxos] Consensus on updates does not itself authorize arbitrary local reads. Quorum leases add a separate read-authority protocol with timed promises and update notification. [quorum-leases] Losing durable protocol state is not ordinary recovery. In the historical Paxos Made Live implementation, a rebuilding replica learns without promising or acknowledging until it observes a complete instance begun after rebuilding started. This is not a generic Raft repair procedure. [paxos-made-live] Sources and caveats: - Protocol semantics, not a device lifecycle; status is unknown and firstSeen is unset rather than assigning an invention date from a later explanatory paper. Related terms: - [flexible-paxos](https://hesela.dev/terms/flexible-paxos/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [linearizability](https://hesela.dev/terms/linearizability/) - [flp-impossibility](https://hesela.dev/terms/flp-impossibility/) - [quorum-lease](https://hesela.dev/terms/quorum-lease/) - [consensus](https://hesela.dev/terms/consensus/) - [state-machine-replication](https://hesela.dev/terms/state-machine-replication/) - [crash-recovery](https://hesela.dev/terms/crash-recovery/) Citations: - [paxos-simple] Leslie Lamport. Paxos Made Simple (2001), sections 2-3. https://lamport.azurewebsites.net/pubs/paxos-simple.pdf (accessed 2026-11-04) - [fpaxos] Howard, Malkhi and Spiegelman. Flexible Paxos: Quorum Intersection Revisited. OPODIS 2016, LIPIcs 70 (2017), sections 3-7. https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.OPODIS.2016.25 (accessed 2026-11-04) - [hesela-quorums] Hesela: Flexible Paxos phase availability, exact set examples and limits. https://hesela.com/analyses/replica-repair-coverage/#flexible-quorums (accessed 2026-11-04) - [quorum-leases] Moraru, Andersen and Kaminsky. Paxos Quorum Leases: Fast Reads Without Sacrificing Writes. SoCC 2014, sections 3 and 5. https://www.istc-cc.cmu.edu/publications/papers/2014/moraru-socc14.pdf (accessed 2026-11-16) - [paxos-made-live] Chandra, Griesemer and Redstone. Paxos Made Live. PODC 2007, sections 5.1 and 6.2, footnotes 2-3; DOI 10.1145/1281100.1281103. https://15799.courses.cs.cmu.edu/fall2013/static/papers/p398-chandra.pdf (accessed 2026-11-21) ### pblk URL: https://hesela.dev/terms/pblk/ Also known as: Physical Block Device Target Status: eol Record updated: 2026-11-17 pblk is a historical host-side flash translation layer that exposes open-channel SSD storage through a conventional block interface. Note: Mapping: pblk maps logical to physical addresses at 4 KiB granularity and handles garbage collection, I/O errors and recovery. It is a LightNVM target, not another name for the entire subsystem. [pblk-doc] Completion: In Linux v5.14, ordinary writes can complete after entering the host RAM buffer. Reads can return buffered data, so successful read-back alone does not establish persistence. A flush with outstanding data waits at a buffer flush point for media-write completion. [pblk-cache] [pblk-read] [pblk-rb] [pblk-write] Capabilities: The v5.14 queue advertises write caching but no native FUA support. Do not infer native FUA handling from the existence of a flush path. [pblk-init] Batching: In the FAST 2017 design, a flush before a full flash page is assembled adds unmapped padding. The amount depends on workload and media geometry, not just logical bytes written. [pblk-paper] Recovery: The v5.14 code rebuilds mappings in line-sequence order using end metadata or out-of-band metadata. Recovering that map cannot recover data that existed only in lost RAM. [pblk-recovery] Lifecycle: pblk was removed with upstream LightNVM in Linux 5.15. The v5.14 configuration labels its disk format experimental; historical instructions are not current upstream support guidance. [pblk-kconfig] [pblk-removal] Sources and caveats: - Interpretation of version-pinned Linux v5.14 source, not a hardware power-loss experiment or a proof of every recovery path. - EOL refers to the upstream Linux implementation, not all downstream forks or userspace open-channel software. Related terms: - [lightnvm](https://hesela.dev/terms/lightnvm/) - [ftl](https://hesela.dev/terms/ftl/) - [open-channel-ssd](https://hesela.dev/terms/open-channel-ssd/) Citations: - [pblk-doc] Linux v5.14: pblk Physical Block Device Target responsibilities. https://www.kernel.org/doc/html/v5.14/driver-api/lightnvm-pblk.html (accessed 2026-11-17) - [pblk-cache] Linux v5.14 pblk-cache.c: pblk_write_to_cache and buffered completion. https://github.com/torvalds/linux/blob/v5.14/drivers/lightnvm/pblk-cache.c (accessed 2026-11-17) - [pblk-read] Linux v5.14 pblk-read.c: pblk_read_from_cache and address validation. https://github.com/torvalds/linux/blob/v5.14/drivers/lightnvm/pblk-read.c (accessed 2026-11-17) - [pblk-rb] Linux v5.14 pblk-rb.c: pblk_rb_may_write_flush and flush-point tracking. https://github.com/torvalds/linux/blob/v5.14/drivers/lightnvm/pblk-rb.c (accessed 2026-11-17) - [pblk-write] Linux v5.14 pblk-write.c: pblk_complete_write and pblk_end_w_bio. https://github.com/torvalds/linux/blob/v5.14/drivers/lightnvm/pblk-write.c (accessed 2026-11-17) - [pblk-init] Linux v5.14 pblk-init.c: write-cache capability advertisement. https://github.com/torvalds/linux/blob/v5.14/drivers/lightnvm/pblk-init.c (accessed 2026-11-17) - [pblk-recovery] Linux v5.14 pblk-recovery.c: line-sequence L2P recovery and metadata fallback. https://github.com/torvalds/linux/blob/v5.14/drivers/lightnvm/pblk-recovery.c (accessed 2026-11-17) - [pblk-kconfig] Linux v5.14 LightNVM Kconfig: experimental format and Linux 5.15 deprecation notice. https://github.com/torvalds/linux/blob/v5.14/drivers/lightnvm/Kconfig (accessed 2026-11-17) - [pblk-removal] Linux commit 9ea9b9c48387: remove the LightNVM subsystem, including pblk. https://github.com/torvalds/linux/commit/9ea9b9c48387edc101d56349492ad9c0492ff78d (accessed 2026-11-17) - [pblk-paper] Bjorling, Gonzalez and Bonnet. LightNVM: The Linux Open-Channel SSD Subsystem. FAST 2017, sections 4.2.1, 5 and 5.4. https://files.usenix.org/s3fs-public/cdn/fast17-bjorling.pdf (accessed 2026-11-17) - [hesela] Hesela: SSD mapping caches and host-side pblk persistence boundaries. https://hesela.com/analyses/ssd-mapping-cache-hmb/#pblk-persistence (accessed 2026-11-17) ### PBS k-staleness URL: https://hesela.dev/terms/pbs-k-staleness/ Also known as: Probabilistically bounded version staleness Status: research Record updated: 2026-11-11 PBS k-staleness describes a probabilistic guarantee that a read includes a version from the k latest completed writes or a newer in-flight write. Note: The 2012 formulation uses version count, not elapsed time; k=1 targets the latest completed version or a newer write. Its non-expanding uniform independent-placement model raises a single-write miss probability to k. [pbs-2012] The 2014 paper expresses version freshness using (K,p)-regular semantics, distinct from atomic semantics. A per-read freshness probability does not by itself establish a linearizable history. [pbs-2014] In Hesela's exact constructed mixture, K is chosen independently of replica placement. Equal mean K does not imply equal miss risk: the mixture averages conditional probabilities, not exponents. This is a deduction under stated assumptions, not a workload measurement. [hesela-mixture] Limitations: - The probability depends on a stated model; no particular production failure rate or deterministic bound is implied. (sources: [pbs-2012], [pbs-2014]) Related terms: - [partial-quorum](https://hesela.dev/terms/partial-quorum/) - [pbs-t-visibility](https://hesela.dev/terms/pbs-t-visibility/) - [monotonic-reads](https://hesela.dev/terms/monotonic-reads/) - [regular-register](https://hesela.dev/terms/regular-register/) Citations: - [pbs-2012] Bailis et al. Probabilistically Bounded Staleness for Practical Partial Quorums. PVLDB 5(8), 776-787 (2012), sections 3.1-3.4. DOI: 10.14778/2212351.2212359. https://www.vldb.org/pvldb/vol5/p776_peterbailis_vldb2012.pdf (accessed 2026-11-11) - [pbs-2014] Bailis et al. Quantifying eventual consistency with PBS. The VLDB Journal 23, 279-302 (2014), sections 2.2-2.3, 4.1-4.2. DOI: 10.1007/s00778-013-0330-1. https://www.bailis.org/papers/pbs-vldbj2014.pdf (accessed 2026-11-11) - [hesela-mixture] Hesela: exact version-count mixtures, assumptions and executable source hashes. https://hesela.dev/research/pbs-count-mixtures.json (accessed 2026-11-11) ### PBS t-visibility URL: https://hesela.dev/terms/pbs-t-visibility/ Also known as: Probabilistically bounded time visibility Status: research Record updated: 2026-11-11 PBS t-visibility describes a probabilistic guarantee that a read started at least t after a write commits includes that write's version or a newer one. Note: This is the 2012 PBS time-based formulation; the reference event is write commit, not submission. Its estimates require a propagation model and do not impose a deterministic visibility deadline. [pbs-2012] The later journal treatment separates time-based regular and atomic semantics. A result about freshness is not automatically a result about atomic read ordering. [pbs-2014] A version-count distribution alone cannot determine elapsed-time freshness. Hesela's count-mixture example deliberately supplies no message-delay distribution and makes no time-visibility claim. [hesela-mixture] Limitations: - The probability depends on a stated model; no particular production failure rate or deterministic bound is implied. (sources: [pbs-2012], [pbs-2014]) Related terms: - [partial-quorum](https://hesela.dev/terms/partial-quorum/) - [pbs-k-staleness](https://hesela.dev/terms/pbs-k-staleness/) - [eventual-consistency](https://hesela.dev/terms/eventual-consistency/) - [replication-lag](https://hesela.dev/terms/replication-lag/) Citations: - [pbs-2012] Bailis et al. Probabilistically Bounded Staleness for Practical Partial Quorums. PVLDB 5(8), 776-787 (2012), sections 3.1-3.4. DOI: 10.14778/2212351.2212359. https://www.vldb.org/pvldb/vol5/p776_peterbailis_vldb2012.pdf (accessed 2026-11-11) - [pbs-2014] Bailis et al. Quantifying eventual consistency with PBS. The VLDB Journal 23, 279-302 (2014), sections 2.2-2.3, 4.1-4.2. DOI: 10.1007/s00778-013-0330-1. https://www.bailis.org/papers/pbs-vldbj2014.pdf (accessed 2026-11-11) - [hesela-mixture] Hesela: exact version-count mixtures, assumptions and executable source hashes. https://hesela.dev/research/pbs-count-mixtures.json (accessed 2026-11-11) ### PCIe Active State Power Management URL: https://hesela.dev/terms/pcie-active-state-power-management/ Related analysis: https://hesela.com/analyses/ssd-thermal-throttling-failures/ Also known as: ASPM, PCIe ASPM Status: shipping Record updated: 2026-10-21 PCIe Active State Power Management reduces link power during inactivity through supported low-power link states. Note: Link scope: ASPM includes L0s and L1 link states, with additional L1 substates where supported. It is separate from the NVMe controller's power-state table. Linux v6.12 checks link capabilities and acceptable exit latencies when deciding which states may be enabled. [linuxaspm] Platform policy: Link power settings can differ between AC and battery operation. An enabled NVMe APST policy therefore does not establish the PCIe link policy, and disabling APST does not by itself disable ASPM. [stornvme] Diagnostic inference: A first request after inactivity can encounter both link and controller wake paths. Configuration identifies permitted behavior, not proof that a specific transition caused a measured delay. [stornvme] Sources and caveats: - Linux v6.12 implementation and Microsoft platform documentation are used for scope distinctions, not a universal latency estimate. Related terms: - [nvme-autonomous-power-state-transition](https://hesela.dev/terms/nvme-autonomous-power-state-transition/) - [thermal-throttling-ssd](https://hesela.dev/terms/thermal-throttling-ssd/) Citations: - [linuxaspm] Linux v6.12: PCIe ASPM capability and latency checks. https://github.com/torvalds/linux/blob/v6.12/drivers/pci/pcie/aspm.c (accessed 2026-10-21) - [stornvme] Microsoft Learn: StorNVMe power management, idle states and PCIe ASPM. https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/power-management-for-storage-hardware-devices-nvme (accessed 2026-10-21) ### PCIe bifurcation URL: https://hesela.dev/terms/pcie-bifurcation/ Related article: https://hesela.com/tech/pcie-storage/ Also known as: PCI Express bifurcation Status: shipping Record updated: 2026-11-02 PCIe bifurcation configures a supported host lane group as multiple independent PCI Express links rather than one wider link. Note: For storage, some multi-SSD adapter cards route separate lane groups to different drives and require the host to support the matching split. The cited dual-drive adapter explicitly requires host PCIe bifurcation. This requirement belongs to that design, not to every PCIe SSD. [split] A switched adapter is different: a PCIe switch on the card can connect both SSDs without host bifurcation. Check the adapter design, host slot and firmware support for the intended lane arrangement. [switch] Support for one narrower x4 device does not imply support for four independent x4 links. Check the CPU controller, selected slot routing and firmware configuration together. [host-split] [slot-split] Advantages: - Allows a compatible host slot and adapter to expose more than one independently linked SSD. [split] Limitations: - Physical fit alone does not establish the required host lane configuration. [split] - Bifurcation is not a universal requirement for PCIe storage. [switch] Sources and caveats: - StarTech DUAL-M2-PCIE-CARD-B requires host bifurcation; PEX8M2E2 uses an ASM2824 switch and does not. These are documented examples, not motherboard qualification results. - The host-split example is the version-009 Intel 13th/14th Gen Core datasheet, not a qualification of other processor families. [host-split] Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [pcie-switch](https://hesela.dev/terms/pcie-switch/) - [m2](https://hesela.dev/terms/m2/) Citations: - [switch] StarTech PEX8M2E2: ASM2824 switched dual-SSD adapter; no host bifurcation required for this product. https://media.startech.com/cms/pdfs/pex8m2e2_datasheet.pdf (accessed 2026-11-02) - [split] StarTech DUAL-M2-PCIE-CARD-B: dual-SSD adapter explicitly requiring host PCIe bifurcation; product-specific compatibility requirements. https://media.startech.com/cms/pdfs/dual-m2-pcie-card-b_datasheet.pdf (accessed 2026-11-02) - [host-split] Intel 13th/14th Gen Core datasheet v009: narrower-link support versus lane bifurcation. https://edc.intel.com/content/www/us/en/design/products/platforms/details/raptor-lake-s/13th-generation-core-processors-datasheet-volume-1-of-2/009/pci-express-support/ (accessed 2026-11-02) - [slot-split] ASUS Hyper M.2 compatibility: CPU, slot selection and firmware configuration. https://www.asus.com/support/faq/1037507/ (accessed 2026-11-02) ### PCIe FLIT URL: https://hesela.dev/terms/pcie-flit/ Also known as: PCIe flow control unit, PCIe Flit Mode Status: unknown Record updated: 2026-10-20 A PCIe FLIT is a fixed-size flow-control unit used in PCI Express Flit Mode to carry transaction packets together with link-control and error-protection information. Note: PCI-SIG documents the same 256-byte layout for PCIe 6.0 and 7.0: 236 bytes for Transaction Layer Packets (TLPs), 6 for Data Link Layer Payload (DLP), 8 for CRC and 6 for forward error correction (FEC) [c1]. The TLP region includes packet headers, so 236/256 is not application-data efficiency. Packet boundaries need not coincide with FLIT boundaries. A FLIT can carry multiple TLPs or only part of one, and a TLP can span FLITs [c2]. This fixed framing supports link error protection; it does not define an NVMe command, logical block, persistence guarantee or SSD transfer rate. The link can retain FLIT mode after reducing its speed [c2]. Therefore a rate alone does not justify applying the earlier 128b/130b non-FLIT formula. See the storage-interface-payload-ceilings dataset for explicit accounting fields. Advantages: - Fixed-size framing supports the link's CRC and FEC mechanisms. (sources: [c1]) - TLPs can be packed across FLIT boundaries rather than requiring one FLIT per transaction. (sources: [c2]) Limitations: - The TLP byte region still includes headers and can be incompletely occupied; its capacity is not measured application throughput. (sources: [c2]) - FLIT-mode accounting differs from earlier non-FLIT line encoding even when a link operates at a lower speed. (sources: [c2]) Sources and caveats: - This entry explains the published protocol; status does not assert device availability. Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [pcie-gen5](https://hesela.dev/terms/pcie-gen5/) - [nvme](https://hesela.dev/terms/nvme/) Citations: - [c1] PCI-SIG: PCIe 7.0 specification webinar Q&A (3 September 2025), question 1. https://pcisig.com/blog/pcie-70-specification-next-generation-performance-meet-needs-advanced-ai-applications-webinar (accessed 2026-10-20) - [c2] PCI-SIG: PCIe 6.0 webinar Q&A on FLIT mode (19 August 2021), introduction and questions 3, 6-9. https://pcisig.com/blog/pcie%C2%AE-60-specification-webinar-qa-deeper-dive-flit-mode-pam4-and-forward-error-correction-fec (accessed 2026-10-20) ### PCIe 4.0 storage URL: https://hesela.dev/terms/pcie-gen4/ Also known as: PCIe Gen4, PCI Express 4.0 Status: shipping Record updated: 2026-10-22 PCIe 4.0 is the fourth PCI Express generation, signalling at 16 GT/s per lane with 128b/130b encoding, twice the rate of PCIe 3.0, which bounds PCIe-attached storage bandwidth. Note: PCIe 4.0 was finalized in 2017 and scales to x16 width for about 64 GB/s in total, and its backward compatibility lets PCIe 3.0 links be replaced to double bandwidth. [pcisig-blog] The Revision 0.9 specification added extended tags and credits, reduced system latency and lane margining. [pcisig-09] With 128b/130b encoding, PCIe 3.0 and 4.0 run at 8.0 and 16.0 GT/s, giving 126 and 252 Gb/s per direction for x16. [pcisig-webinar] The Linux kernel reports the usable rate of a 16 GT/s lane as 16,000 x 128/130 Mb/s. [linux-pci] That is about 15.75 Gb/s, or 1.97 GB/s, per lane per direction, so a x4 link has a ceiling of about 7.9 GB/s per direction and a x16 link about 31.5 GB/s, and the 64 GB/s total counts both directions. This is the link ceiling, and a drive's controller and flash can hold throughput below it. Limitations: - Encoding costs about 1.5% of the raw signalling rate. (sources: [pcisig-webinar], [linux-pci]) Sources and caveats: - Specification facts come from the standards body's announcements, blog and webinar, not from the specification text. - The kernel constant is from the master branch on the access date. - The sources give no SSD throughput, IOPS, latency, price, power or adoption figures. - Arithmetic: 16 x 128 / 130 = 15.75 Gb/s = 1.97 GB/s per lane; x4 gives 7.9 GB/s and 252 / 8 = 31.5 GB/s per direction; 2 / 130 = 1.5%. Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [nvme](https://hesela.dev/terms/nvme/) - [sd-express](https://hesela.dev/terms/sd-express/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [pcie-gen5](https://hesela.dev/terms/pcie-gen5/) Citations: - [c1] PCIe 4.0 storage. https://en.wikipedia.org/wiki/PCI_Express (accessed 2026-03-26) - [pcisig-blog] PCI-SIG blog. PCI Express: Delivering Needed Bandwidth for Open Compute Project. 24 April 2018. https://pcisig.com/blog/pci-express-delivering-needed-bandwidth-open-compute-project (accessed 2026-10-16) - [pcisig-09] PCI-SIG. PCI Express 4.0, Revision 0.9 Specification Published. Announcement, 7 June 2017. https://pcisig.com/sites/default/files/files/PCIe%204.0%20Rev%200.9%20Press%20Release_June%206_FINAL%20VERSION.pdf (accessed 2026-10-16) - [pcisig-webinar] PCI-SIG webinar. Celebrating 20 Years of the PCIe Specification, speeds and feeds table. https://pcisig.com/sites/default/files/files/PCIe_Specification_Webinar_Rev%206_FINAL_0.pdf (accessed 2026-10-16) - [linux-pci] Linux kernel source, drivers/pci/pci.h, PCIE_SPEED2MBS_ENC. https://github.com/torvalds/linux/blob/master/drivers/pci/pci.h (accessed 2026-10-16) ### PCIe 5.0 storage URL: https://hesela.dev/terms/pcie-gen5/ Also known as: PCIe Gen5, PCI Express 5.0 Status: shipping Record updated: 2026-10-22 Recorded firstSeen: 2019 (sources: [c2], [c4]) PCIe 5.0 is the fifth PCI Express generation, running each lane at 32.0 GT/s with 128b/130b encoding, twice the per-lane rate of PCIe 4.0. Note: The standards body's speeds-and-feeds table lists PCIe 5.0 at 32.0 Gb/s per lane and 504 Gb/s per direction for x16 after encoding, in 2019, against 252 Gb/s for 4.0 and 126 Gb/s for 3.0. [c2] Base Specification Revision 5.0, version 1.0, was released on 28 May 2019. [c4] PCIe 5.0 is compatible with earlier generations from software to clocking to mechanics, so 1.x to 4.x cards run in 5.0 slots at the highest common rate, and the reverse. [c3] The Linux kernel computes the usable lane rate at 32 GT/s as 32,000 x 128/130 Mb/s. [c5] That is about 31.5 Gb/s or 3.94 GB/s per lane per direction, about 15.75 GB/s for a x4 SSD link and 63 GB/s for x16. These are link ceilings after line encoding, which protocol overhead and drive limits reduce. Advantages: - A x8 gen 5 link matches a x16 gen 4 link, freeing lanes for more devices. (sources: [c2]) Limitations: - The next generation doubles the rate to 64.0 Gb/s with PAM4 signalling and flits, so gen 5 hardware is one step in a continuing sequence. (sources: [c2]) Sources and caveats: - The speeds table comes from a webinar presentation; the specification text was not read. - The release date comes from an archived copy of the specifications page dated July 2019; the release press page could not be fetched. - No measured SSD results are given, and signal-integrity effort at 32 GT/s is not quantified. - Arithmetic: 32,000 x 128 / 130 = 31,508 Mb/s per lane; x4 gives 15.75 GB/s and x16 63 GB/s, consistent with 504 Gb/s. Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [nvme](https://hesela.dev/terms/nvme/) - [pcie-gen4](https://hesela.dev/terms/pcie-gen4/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [pcie-retimer](https://hesela.dev/terms/pcie-retimer/) Citations: - [c1] PCIe 5.0 storage. https://en.wikipedia.org/wiki/PCI_Express (accessed 2026-03-26) - [c2] PCI-SIG. PCI Express specification webinar, speeds and feeds table, rev 6. https://pcisig.com/sites/default/files/files/PCIe_Specification_Webinar_Rev%206_FINAL_0.pdf (accessed 2026-10-16) - [c3] PCI-SIG FAQ. Are PCIe 5.0 products compatible with products built to prior PCIe generations? https://pcisig.com/are-pcie-50-products-compatible-products-built-prior-pcie-generations (accessed 2026-10-16) - [c4] PCI-SIG specifications listing, archived 2 July 2019: PCI Express Base Specification Revision 5.0, version 1.0. https://web.archive.org/web/20190702063645/https://pcisig.com/specifications (accessed 2026-10-16) - [c5] Linux kernel source: drivers/pci/pci.h, PCIE_SPEED2MBS_ENC. https://github.com/torvalds/linux/blob/master/drivers/pci/pci.h (accessed 2026-10-16) ### PCIe lanes (storage) URL: https://hesela.dev/terms/pcie-lanes/ Related article: https://hesela.com/tech/pcie-storage/ Status: shipping Record updated: 2026-11-02 A PCIe lane consists of one transmit and one receive differential signal pair, and a PCIe link can combine multiple lanes. Note: A lane has separate transmit and receive pairs. Link width counts lanes, not generations [lane]. Gen3/4/5 specify 8/16/32 GT/s per lane. For these 128b/130b links, GT/s x lane count x 128/130 / 8 gives a one-direction ceiling in decimal GB/s. This excludes remaining protocol overhead and is not measured SSD payload throughput [rates] [encoding]. M.2 can use up to four PCIe lanes, but physical fit does not establish its interface or available bandwidth [m2]. SD Express in SD 7.0/7.1 uses Gen3 x1. Full-size SD 8.0 adds Gen4 x1, Gen3 x2 and Gen4 x2 options [sd8]. The bus table lists microSD 8.0 as Gen4 x1 [sd-bus]. Card and host negotiate a common link; these capabilities are not measured throughput [sd8]. Linux v6.12 current_link_speed and current_link_width read Link Status, separately from maximum capabilities [sysfs]. The upstream minimum-link calculation is a configuration ceiling, not unused bandwidth or measured I/O [linux]. Shared paths can carry competing traffic [shared]. Support for one narrower x4 device does not imply support for four independent x4 links. Check the CPU controller, slot routing and firmware together [host-split] [slot-split]. Advantages: - Independent transmit and receive paths allow simultaneous traffic in both directions [lane]. - At the same PCIe generation, additional lanes increase the theoretical link capacity [m2]. Limitations: - A shared upstream path can constrain simultaneous transfers from several devices even when each device has a wide local link [shared]. - An M.2 slot may support SATA, PCIe or both, so connector fit alone does not prove protocol compatibility [m2]. - Do not apply the Gen3/4/5 encoding formula to later FLIT operation. [rates] - Per-direction ceilings must not be doubled and presented as one-direction read throughput. [encoding] - Lane counts at several endpoints cannot be added to infer their shared upstream capacity. [shared] Sources and caveats: - The SD 8.0 full-size configurations and link negotiation use the June 2020 whitepaper; the microSD 8.0 boundary uses the current bus table [sd8] [sd-bus]. - The coding-rate example is arithmetic, not a benchmark; the added Gen3/4/5 arithmetic is not a payload benchmark. Product availability is outside this note. - Legacy secondary references are retained for background; new lane-structure and SD Express statements use primary documentation [c1] [c2] [lane] [sd8] [sd-bus]. - The November reconciliation preserves the October physical-lane and SD Express statements and source IDs while adding negotiated-state, upstream-path and bifurcation limits. Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [m2](https://hesela.dev/terms/m2/) - [u2](https://hesela.dev/terms/u2/) - [sata-express](https://hesela.dev/terms/sata-express/) - [nvme](https://hesela.dev/terms/nvme/) - [pcie-gen4](https://hesela.dev/terms/pcie-gen4/) - [pcie-gen5](https://hesela.dev/terms/pcie-gen5/) - [pcie-retimer](https://hesela.dev/terms/pcie-retimer/) - [nvme-backplane](https://hesela.dev/terms/nvme-backplane/) - [sd-express](https://hesela.dev/terms/sd-express/) - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [channel-nand](https://hesela.dev/terms/channel-nand/) - [flash-controller](https://hesela.dev/terms/flash-controller/) - [ahci](https://hesela.dev/terms/ahci/) - [pcie-bifurcation](https://hesela.dev/terms/pcie-bifurcation/) - [pcie-switch](https://hesela.dev/terms/pcie-switch/) Citations: - [c1] PCI Express (Wikipedia), sections on lanes, link widths, revision comparison table, link efficiency and storage devices. https://en.wikipedia.org/wiki/PCI_Express (accessed 2026-10-11) - [c2] M.2 (Wikipedia), sections on features, storage interfaces and keying. https://en.wikipedia.org/wiki/M.2 (accessed 2026-10-11) - [sd8] SD Association: SD Express Memory Cards with PCIe and NVMe Interfaces, June 2020, pages 4, 6 and 9. https://www.sdcard.org/cms/wp-content/uploads/2020/11/SD_Cards_8_0_WhitePaper20200515.pdf (accessed 2026-10-27) - [sd-bus] SD Association: bus modes, SD 8.0 lane configurations and microSD footnote. https://www.sdcard.org/developers/sd-standard-overview/bus-speed-default-speed-high-speed-uhs-sd-express/ (accessed 2026-10-27) - [lane] AMD PG213 v1.3: PCI Express Interface, differential lane signals. https://docs.amd.com/r/en-US/pg213-pcie4-ultrascale-plus/PCI-Express-Interface (accessed 2026-10-27) - [pcie3] Synopsys: Bandwidth Considerations for PCI Express 3.0 Designs. https://www.synopsys.com/articles/pcie3-bandwidth-considerations.html (accessed 2026-10-27) - [m2] Kingston: 2 Types of M.2 SSDs: SATA and NVMe, lane widths and shared host connections. https://www.kingston.com/en/blog/pc-performance/two-types-m2-vs-ssd (accessed 2026-10-27) - [rates] PCI-SIG: PCIe 7.0 educational webinar, July 2025, slide 7; historical Gen3/4/5 rates and encoding. No later-generation throughput is calculated here. https://pcisig.com/sites/default/files/files/PCI-SIG%20PCIe%207.0%20Webinar_Rev5_FINAL.pdf (accessed 2026-10-18) - [encoding] PCI-SIG: How does PCIe 3.0 8 GT/s double PCIe 2.0 5 GT/s? Encoding efficiency and direction conventions. https://pcisig.com/how-does-pcie-30-8gts-double-pcie-20-5gts-bit-rate (accessed 2026-10-18) - [linux] Linux PCI support library: pcie_bandwidth_available; upstream path and limiting link. https://docs.kernel.org/driver-api/pci/pci.html#c.pcie_bandwidth_available (accessed 2026-10-18) - [sysfs] Linux v6.12, drivers/pci/pci-sysfs.c: current_link_speed_show and current_link_width_show read Link Status; maximum attributes read capabilities. https://github.com/torvalds/linux/blob/v6.12/drivers/pci/pci-sysfs.c (accessed 2026-10-18) - [shared] Intel: What is PCIe 4.0 and why does it matter? Chipset-attached devices share the CPU-chipset path; example link specifications are platform-specific. https://www.intel.com/content/www/us/en/gaming/resources/what-is-pcie-4-and-why-does-it-matter.html (accessed 2026-10-18) - [host-split] Intel 13th/14th Gen Core datasheet v009: narrower-link support versus lane bifurcation. https://edc.intel.com/content/www/us/en/design/products/platforms/details/raptor-lake-s/13th-generation-core-processors-datasheet-volume-1-of-2/009/pci-express-support/ (accessed 2026-11-02) - [slot-split] ASUS Hyper M.2 compatibility: CPU, slot selection and firmware configuration. https://www.asus.com/support/faq/1037507/ (accessed 2026-11-02) ### PCIe redriver URL: https://hesela.dev/terms/pcie-redriver/ Related article: https://hesela.com/tech/pcie-storage/ Also known as: PCI Express redriver, PCIe linear redriver Status: shipping Record updated: 2026-11-19 A PCIe redriver conditions an electrical signal through analog equalization and gain without recovering and retransmitting the data with a regenerated clock. Note: A continuous-time linear equalizer boosts attenuated high-frequency components to compensate for channel-induced inter-symbol interference. Without clock-and-data recovery, a redriver does not reset incoming random jitter and can add or amplify noise. [comparison] Linear and limiting redrivers are distinct. A linear device approximately preserves amplitude relationships within its operating range; a limiting device has a nonlinear output. Additional de-emphasis in a limiting design can interfere with PCIe link training, so the two types are not interchangeable. [conditioning] Select equalization using the actual channel, connectors and device models, then verify the assembled link. A redriver can extend electrical reach; it does not create extra PCIe lanes or the packet-routing functions of a switch. [conditioning] [segments] Advantages: - Can compensate channel attenuation without clock-and-data recovery circuitry. [comparison] Limitations: - A signal-conditioning component is not an end-to-end interoperability guarantee. [segments] - Suitable settings and reach depend on the device and channel rather than a universal trace-length allowance. [conditioning] Sources and caveats: - Source synthesis from PCI-SIG member-authored educational material and Texas Instruments application guidance, not a hardware qualification test. - The PCIe linear redriver alias supports discovery; the entry also distinguishes limiting redrivers. Device-specific loss, latency and power figures are not universal limits. Related terms: - [pcie-retimer](https://hesela.dev/terms/pcie-retimer/) - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [pcie-switch](https://hesela.dev/terms/pcie-switch/) Citations: - [comparison] PCI-SIG, September 2019: PCI Express retimers versus redrivers. https://pcisig.com/blog/pci-express%C2%AE-retimers-vs-redrivers-eye-popping-difference (accessed 2026-11-19) - [conditioning] Texas Instruments SNLA401, December 2021: PCIe signal conditioning and linear versus limiting redrivers. https://www.ti.com/document-viewer/lit/html/SNLA401 (accessed 2026-11-19) - [segments] PCI-SIG, January 2021: PCIe 5.0 implementation Q&A, questions 3, 5, 7 and 26. https://pcisig.com/blog/seamless-transition-pcie%C2%AE-50-technology-system-implementations-webinar-qa (accessed 2026-11-19) ### PCIe retimer URL: https://hesela.dev/terms/pcie-retimer/ Related article: https://hesela.com/tech/pcie-storage/ Status: shipping Record updated: 2026-11-20 A PCIe retimer recovers data and timing before retransmission, forming two electrical segments within a PCIe link. Note: A retimer uses clock-and-data recovery to regenerate the transmitted signal and participates in physical-layer link training. A redriver instead applies analog equalization and gain without regenerating the clock. [c3] The two sides need separate loss-budget analysis and compliance checks. Regeneration can extend the usable channel, but two electrical segments do not guarantee twice the cable or board-trace length. Connectors, packages, materials and operating conditions still consume each segment's budget. [segments] [c2] A retimer is not a packet switch. It has no Data Link or Transaction Layer for packet routing. In the cited PCIe 5.0 description, both sides have the same lane width, including when the link is configured narrower. Adding a retimer does not add lanes. [segments] Equalization bypass is not device disablement: the cited PCIe 5.0 Q&A says the retimer still signals its presence during training. Disabling an active retimer or redriver stops data passage; do not assume a passive bypass path. [segments] Advantages: - Receiver margining can help localize a marginal electrical segment. (sources: [c3]) Limitations: - Retiming adds power, thermal and integration requirements; qualification remains specific to the device and system. [conditioning] - Electrical compliance alone does not establish system-level interoperability. [segments] Sources and caveats: - c2 and c3 are PCI-SIG educational material from 2019, not the normative specification text; the 2021 Q&A is also member-authored. - The former distance and loss examples came from generation- and topology-specific educational material, including draft CEM assumptions; they are not universal design limits. [c2] - Source synthesis only; no link, board, cable or SSD has been tested. Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [edsff](https://hesela.dev/terms/edsff/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [pcie-gen5](https://hesela.dev/terms/pcie-gen5/) - [pcie-redriver](https://hesela.dev/terms/pcie-redriver/) - [pcie-switch](https://hesela.dev/terms/pcie-switch/) Citations: - [c1] PCIe retimer. https://en.wikipedia.org/wiki/PCI_Express (accessed 2026-03-26) - [c2] Retimers to the Rescue: PCI Express Specifications Reach Their Full Potential, PCI-SIG webinar. https://pcisig.com/sites/default/files/files/PCI-SIG_Webinar_Retimers_final.pdf (accessed 2026-10-16) - [c3] PCI Express Retimers vs. Redrivers: An Eye-Popping Difference, PCI-SIG blog. https://pcisig.com/blog/pci-express%C2%AE-retimers-vs-redrivers-eye-popping-difference (accessed 2026-10-16) - [conditioning] Texas Instruments SNLA401, December 2021: PCIe signal conditioning and linear versus limiting redrivers. https://www.ti.com/document-viewer/lit/html/SNLA401 (accessed 2026-11-19) - [segments] PCI-SIG, January 2021: PCIe 5.0 implementation Q&A, questions 1, 3, 5, 7, 8 and 26. https://pcisig.com/blog/seamless-transition-pcie%C2%AE-50-technology-system-implementations-webinar-qa (accessed 2026-11-20) ### PCIe storage attachment URL: https://hesela.dev/terms/pcie-storage/ Technology reference: https://hesela.com/tech/pcie-storage/ Also known as: PCI Express SSD, PCIe NVMe Status: shipping Record updated: 2026-11-03 PCIe storage attachment connects a storage controller to a host through PCI Express links, with NVMe commonly supplying the storage interface rather than defining the physical connector. Note: PCIe attachment, NVMe and form factor are separate descriptions. NVMe supports PCIe and network transports; an M.2 or U.2 enclosure does not by itself establish the storage protocol. [nvme] PCIe SSDs have also used AHCI: the cited 2015 product announcement distinguishes a new NVMe version from an earlier AHCI-based PCIe model. This historical example rules out treating all PCIe storage as NVMe. [ahci] Record the negotiated link speed and width as well as the upstream topology. Linux distinguishes current link status from device capability and can identify the limiting upstream link; neither is a benchmark of completed I/O. [sysfs] [linux] Support for one narrower x4 device does not imply support for four independent x4 links. Check the CPU controller, selected slot routing and firmware configuration together. [host-split] [slot-split] PCIe Memory Writes are posted. The SIGCOMM 2018 pcie-bench LAT_WRRD probe measured a write followed by a read, not isolated write latency. Its NIC/FPGA experiments do not measure SSD persistence. Keep the transaction endpoint separate from the storage operation being investigated. [pcie-bench] Advantages: - Generation and lane width provide distinct dimensions of link capacity. [rates] Limitations: - Interface bandwidth is not measured SSD or application throughput. - A connector label alone does not qualify an adapter, host or firmware combination. Sources and caveats: - Primary-source synthesis; no hardware tested. - Existing slug and aliases retained. The PCIe NVMe alias is a discovery aid, not an assertion that all PCIe storage uses NVMe. - The host-split example is the version-009 Intel 13th/14th Gen Core datasheet, not a qualification of other processor families. [host-split] - Legacy citation IDs c1, n2 and n3 are retained for existing references. New technical claims use primary sources; n3 now links to the correct specification overview. Related terms: - [nvme](https://hesela.dev/terms/nvme/) - [m2](https://hesela.dev/terms/m2/) - [u2](https://hesela.dev/terms/u2/) - [edsff](https://hesela.dev/terms/edsff/) - [hmb](https://hesela.dev/terms/hmb/) - [sd-express](https://hesela.dev/terms/sd-express/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [pcie-gen5](https://hesela.dev/terms/pcie-gen5/) - [pcie-bifurcation](https://hesela.dev/terms/pcie-bifurcation/) - [pcie-switch](https://hesela.dev/terms/pcie-switch/) - [sr-iov](https://hesela.dev/terms/sr-iov/) - [iommu-group](https://hesela.dev/terms/iommu-group/) - [pcie-retimer](https://hesela.dev/terms/pcie-retimer/) - [pcie-redriver](https://hesela.dev/terms/pcie-redriver/) Citations: - [nvme] NVM Express: specification set overview; command sets and transports are separate from form factors. https://nvmexpress.org/specifications/ (accessed 2026-10-18) - [rates] PCI-SIG: PCIe 7.0 educational webinar, July 2025, slide 7; historical Gen3/4/5 rates and encoding. No later-generation throughput is calculated here. https://pcisig.com/sites/default/files/files/PCI-SIG%20PCIe%207.0%20Webinar_Rev5_FINAL.pdf (accessed 2026-10-18) - [linux] Linux PCI support library: pcie_bandwidth_available; upstream path and limiting link. https://docs.kernel.org/driver-api/pci/pci.html#c.pcie_bandwidth_available (accessed 2026-10-18) - [sysfs] Linux v6.12, drivers/pci/pci-sysfs.c: current_link_speed_show and current_link_width_show read Link Status; maximum attributes read capabilities. https://github.com/torvalds/linux/blob/v6.12/drivers/pci/pci-sysfs.c (accessed 2026-10-18) - [ahci] Samsung, 15 April 2015: SM951 NVMe announcement identifies an earlier AHCI-based PCIe version. Historical counterexample, not current product advice. https://news.samsung.com/global/samsung-electronics-now-producing-industrys-first-m-2-nvme-pcie-ssd-for-the-pc-market (accessed 2026-10-18) - [host-split] Intel 13th/14th Gen Core datasheet v009: narrower-link support versus lane bifurcation. https://edc.intel.com/content/www/us/en/design/products/platforms/details/raptor-lake-s/13th-generation-core-processors-datasheet-volume-1-of-2/009/pci-express-support/ (accessed 2026-11-02) - [slot-split] ASUS Hyper M.2 compatibility: CPU, slot selection and firmware configuration. https://www.asus.com/support/faq/1037507/ (accessed 2026-11-02) - [c1] NVM Express (Wikipedia): retained background reference. https://en.wikipedia.org/wiki/NVM_Express (accessed 2026-03-26) - [n2] PCI-SIG: specifications overview. https://pcisig.com/specifications (accessed 2026-11-02) - [n3] NVM Express: specification family overview (corrected legacy link). https://nvmexpress.org/specifications/ (accessed 2026-11-02) - [pcie-bench] Neugebauer et al., SIGCOMM 2018: Understanding PCIe performance for end host networking, sections 4-6. DOI 10.1145/3230543.3230560. https://www.cl.cam.ac.uk/research/srg/netos/projects/pcie-bench/neugebauer2018understanding.pdf (accessed 2026-11-03) ### PCIe switch URL: https://hesela.dev/terms/pcie-switch/ Related article: https://hesela.com/tech/pcie-storage/ Also known as: PCI Express switch Status: shipping Record updated: 2026-11-03 A PCIe switch connects an upstream PCI Express path to multiple downstream ports so that several devices can share the upstream connection. Note: A storage adapter may use a PCIe switch to connect several SSDs without asking the host to bifurcate its slot. The cited switched dual-drive adapter documents this arrangement. It does not qualify other cards or guarantee their performance. [switch] An endpoint's link width is not a dedicated end-to-end bandwidth reservation. Inspect upstream links and competing traffic as well as each SSD connection; Linux's minimum-link calculation identifies a link-configuration ceiling along the traversed upstream PCIe path, not unused bandwidth or measured SSD throughput. [linux] Peer-to-peer DMA also needs cooperating drivers and a compatible route. Linux v6.12 documents provider, client and orchestrator roles; its compatibility check allows a common root port or specifically allowlisted host bridges. A switch alone does not establish application support. [p2p] Advantages: - Can support a multi-SSD adapter without host bifurcation, as documented for the named switched design. [switch] Limitations: - A switch does not create additional capacity on a shared upstream link. [linux] - Do not infer hot-plug, boot or cross-platform support from the presence of a switch. - Do not infer peer-to-peer DMA support from the switch or link width alone. [p2p] Sources and caveats: - The named example is StarTech PEX8M2E2 with ASM2824. Source-based topology description, not a switch benchmark or platform certification. Related terms: - [pcie-storage](https://hesela.dev/terms/pcie-storage/) - [pcie-lanes](https://hesela.dev/terms/pcie-lanes/) - [pcie-bifurcation](https://hesela.dev/terms/pcie-bifurcation/) - [nvme](https://hesela.dev/terms/nvme/) Citations: - [linux] Linux PCI support library: pcie_bandwidth_available; upstream path and limiting link. https://docs.kernel.org/driver-api/pci/pci.html#c.pcie_bandwidth_available (accessed 2026-10-18) - [switch] StarTech PEX8M2E2: ASM2824 switched dual-SSD adapter; no host bifurcation required for this product. https://media.startech.com/cms/pdfs/pex8m2e2_datasheet.pdf (accessed 2026-11-02) - [p2p] Linux v6.12: PCI Peer-to-Peer DMA Support; hierarchy, compatible providers and driver roles. https://www.kernel.org/doc/html/v6.12/driver-api/pci/p2pdma.html (accessed 2026-11-03) ### PCM write cancellation URL: https://hesela.dev/terms/pcm-write-cancellation/ Also known as: Write cancellation (PCM) Status: research Record updated: 2026-11-29 PCM write cancellation interrupts an in-progress phase-change-memory write to serve a read, then retries the write. Note: The pending value must remain buffered; a matching read is forwarded from the write queue. Cancellation is not transaction rollback or proof of persistence. Thresholds can limit wasted work, and queue pressure can override read priority. [hpca] In Hesela's constructed example, a write needs 12 time units and a two-unit read arrives at time 5. Whole-write cancellation reduces read latency from 9 to 2 units, but increases write busy time from 12 to 17 and final completion from 14 to 19. Those extra five units are discarded progress, not useful new payload. [example] Cancellation within one iteration preserves completed iterations. [hpca] With four-unit iterations in the example, only one unit is repeated; read latency remains 2 and final completion becomes 15. No energy or endurance estimate follows from that count. [example] Sources and caveats: - Historical architecture research, not a claim of support in current products. - The linked timing example is independently constructed arithmetic, not a hardware measurement or reproduction of paper performance results. Related terms: - [phase-change-memory](https://hesela.dev/terms/phase-change-memory/) - [pcm-write-pausing](https://hesela.dev/terms/pcm-write-pausing/) - [non-preemptive-priority](https://hesela.dev/terms/non-preemptive-priority/) Citations: - [hpca] Qureshi et al. Improving Read Performance of Phase Change Memories via Write Cancellation and Write Pausing. HPCA 2010, sections 3-6. https://citeseerx.ist.psu.edu/document?doi=3bc39817e27284995a16f6c3b7f7733790a3d6b8&repid=rep1&type=pdf (accessed 2026-11-29) - [tc] Zhou et al. Throughput Enhancement for Phase Change Memories. IEEE TC 63(8), 2014, sections 1 and 7.4; DOI 10.1109/TC.2013.76. https://people.cs.pitt.edu/~zhangyt/research/tc2014.pdf (accessed 2026-11-29) - [example] Hesela: exact PCM preemption time accounting with independent tests. https://hesela.dev/research/pcm-preemption/README.md (accessed 2026-11-29) ### PCM write pausing URL: https://hesela.dev/terms/pcm-write-pausing/ Also known as: Write pausing (PCM) Status: research Record updated: 2026-11-29 PCM write pausing suspends an iterative phase-change-memory write at an iteration boundary, serves a pending read, then resumes retained progress. Note: The technique requires suitable pause points in the programming algorithm. A read may still wait for the current iteration to finish; arbitrary-cycle preemption is a different assumption. [hpca] In Hesela's constructed example, three four-unit iterations start at time 0. A two-unit read arrives at time 5; pausing at time 8 gives read latency 5, compared with 9 without preemption. Write busy time stays 12 and both requests finish at time 14. The write itself completes at 14 instead of 12: unchanged work does not mean unchanged write latency. [example] Preemption changes execution order; it does not itself make the read and write simultaneous. Non-blocking bank designs introduce a separate parallelism opportunity. [tc] The example assumes zero switching cost and one read of another line; it does not model queue pressure, energy, wear or power failure. [example] Sources and caveats: - Historical architecture research, not a claim of support in current products. - The linked timing example is independently constructed arithmetic, not a hardware measurement or reproduction of paper performance results. Related terms: - [phase-change-memory](https://hesela.dev/terms/phase-change-memory/) - [pcm-write-cancellation](https://hesela.dev/terms/pcm-write-cancellation/) - [non-preemptive-priority](https://hesela.dev/terms/non-preemptive-priority/) Citations: - [hpca] Qureshi et al. Improving Read Performance of Phase Change Memories via Write Cancellation and Write Pausing. HPCA 2010, sections 3-6. https://citeseerx.ist.psu.edu/document?doi=3bc39817e27284995a16f6c3b7f7733790a3d6b8&repid=rep1&type=pdf (accessed 2026-11-29) - [tc] Zhou et al. Throughput Enhancement for Phase Change Memories. IEEE TC 63(8), 2014, sections 1 and 7.4; DOI 10.1109/TC.2013.76. https://people.cs.pitt.edu/~zhangyt/research/tc2014.pdf (accessed 2026-11-29) - [example] Hesela: exact PCM preemption time accounting with independent tests. https://hesela.dev/research/pcm-preemption/README.md (accessed 2026-11-29) ### Pelican URL: https://hesela.dev/terms/pelican/ Also known as: Pelican cold storage Status: research Record updated: 2026-12-05 Pelican is a rack-scale cold-storage architecture that co-designs disk placement and request scheduling around limited power, cooling and interconnect resources. Note: Disks are assigned to groups that can operate together. Groups within one class conflict; separate classes permit concurrent access. Requests are batched by group to amortize spin-up, subject to a reordering bound. [osdi14] Version matters: the 2014 prototype uses 15 data plus 3 redundant fragments per blob; the 2016 account describes 18 plus 3. Neither is a universal cold-storage code. [osdi14] [hotstorage16] The 2016 usage study annualizes 228 days of observations; its failure report covers 440 days. These are different observation windows. Controlled spin-down is distinct from abrupt power loss. [hotstorage16] The failure-age CDF is conditioned on observed failures. Without the age-specific population still at risk, that curve alone cannot establish age-specific failure risk or prove frequent spin-ups harmless. [hotstorage16] [risk-set-example] Limitations: - Most 2014 performance comparisons use a simulator cross-validated against the prototype, not measurements of a fully provisioned comparison rack. (sources: [osdi14]) - The 2016 aggregate AFR cannot isolate a causal effect of spin-up frequency across different drive populations. (sources: [hotstorage16], [risk-set-example]) Sources and caveats: - Full OSDI 2014 and HotStorage 2016 papers reviewed. Historical system identity, not a claim of current product availability. - The failure-age qualification is a statistical interpretation, illustrated by synthetic cohorts rather than a reanalysis of Pelican's drive data. - No original scheduler, hardware experiment, fleet-rate recomputation or performance replication was executed. Related terms: - [storage-resource-domain](https://hesela.dev/terms/storage-resource-domain/) - [cold-archive](https://hesela.dev/terms/cold-archive/) - [maid](https://hesela.dev/terms/maid/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) Citations: - [osdi14] Balakrishnan et al. Pelican: A Building Block for Exascale Cold Data Storage. OSDI 2014, sections 2-4. https://www.microsoft.com/en-us/research/wp-content/uploads/2014/10/osdi2014-Pelican.pdf (accessed 2026-12-05) - [hotstorage16] Black et al. Feeding the Pelican: Using Archival Hard Drives for Cold Storage Racks. HotStorage 2016, sections 1-3. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/10/feedingpelican.pdf (accessed 2026-12-05) - [risk-set-example] Hesela: equal failure-age distributions with different risk sets, executable synthetic example. https://hesela.dev/research/pelican/README.md (accessed 2026-12-05) ### RocksDB pending compaction bytes URL: https://hesela.dev/terms/pending-compaction-bytes/ Also known as: rocksdb.estimate-pending-compaction-bytes Status: shipping Record updated: 2026-10-15 RocksDB pending compaction bytes is an estimate of rewrite work needed to bring LSM levels within their size targets under level-based compaction. Note: The v10.10.1 property contract limits this estimate to level-based compaction. It is not occupied disk space, free capacity, WAL length or an exact prediction of physical I/O. [properties] Separate soft and hard limits govern slowdown and stop conditions; in the pinned code those limits must be positive and automatic compactions enabled for these triggers. [stall-code] Compare the estimate with actual delayed write rate and stopped-write state, not with a claimed durability guarantee. [properties] Related terms: - [leveled-compaction](https://hesela.dev/terms/leveled-compaction/) - [compaction](https://hesela.dev/terms/compaction/) - [rocksdb-write-stall](https://hesela.dev/terms/rocksdb-write-stall/) - [rocksdb-write-slowdown](https://hesela.dev/terms/rocksdb-write-slowdown/) - [database-write-amplification](https://hesela.dev/terms/database-write-amplification/) Citations: - [properties] RocksDB v10.10.1. Pending compaction bytes and write-control properties. https://github.com/facebook/rocksdb/blob/v10.10.1/include/rocksdb/db.h#L1263 (accessed 2026-10-15) - [stall-code] RocksDB v10.10.1. ColumnFamilyData::GetWriteStallConditionAndCause. https://github.com/facebook/rocksdb/blob/v10.10.1/db/column_family.cc#L986 (accessed 2026-10-15) - [hesela] RocksDB: a WAL sync is not a memtable flush; write backpressure boundaries. https://hesela.com/analyses/rocksdb-wal-flush-manifest-boundaries/#write-backpressure (accessed 2026-10-15) ### Pending sector URL: https://hesela.dev/terms/pending-sector/ Related analysis: https://hesela.com/analyses/smart-missing-values-not-zero/ Also known as: Pending disk sector Status: shipping Record updated: 2026-11-14 A pending sector is a drive-reported sector with an unresolved read problem that may be reassessed or remapped by subsequent device operations. Note: Pending describes a reported problem awaiting resolution, not completed remapping. Tools may label the counter Current Pending Sector or Pending-Sparing Count. A later write can rewrite the sector or remap it to a replacement. [seagate-pending] ATA attribute 197 commonly reports this state, but its meaning requires the model and firmware context. A count can fall after successful rereading or reallocation; some drives retain it after reallocation. [smartd-pending] A lower count does not prove recovery of the previous bytes. Overwriting a sector to change its status can destroy data that might otherwise be recovered. Preserve recoverable data before attempting repair. [smartd-pending] Field context: A 2007 study describes probation as a state that need not end in remapping. Its model-dependent counter categories are not a universal decoding rule for current devices. [pinheiro-probation] Limitations: - The count is not a list of affected files or proof of their contents; sector-to-file mapping depends on the storage stack. (sources: [smartd-pending]) Sources and caveats: - Source synthesis, not a device experiment or a drive-replacement threshold. The manual's 512-byte illustration is not used as a universal sector size. Related terms: - [ata-smart](https://hesela.dev/terms/ata-smart/) - [smart-raw-value](https://hesela.dev/terms/smart-raw-value/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [alternate-sector-remapping](https://hesela.dev/terms/alternate-sector-remapping/) Citations: - [smartd-pending] smartmontools 7.5 smartd.conf manual: -C ID[+] and -v 197,increasing. https://github.com/smartmontools/smartmontools/blob/RELEASE_7_5/smartmontools/smartd.conf.5.in (accessed 2026-11-14) - [seagate-pending] Seagate openSeaChest: Drive Health and SMART, Pending Error Count. https://github.com/Seagate/openSeaChest/wiki/Drive-Health-and-SMART#pending-error-count (accessed 2026-11-14) - [pinheiro-probation] Pinheiro, Weber and Barroso (FAST 2007): Failure Trends in a Large Disk Drive Population, sections 3.5.3-3.5.4. https://www.usenix.org/legacy/event/fast07/tech/full_papers/pinheiro/pinheiro_html/index.html (accessed 2026-11-14) ### Perennial URL: https://hesela.dev/terms/perennial/ Status: research Record updated: 2026-12-04 Perennial is a proof framework for verifying concurrent storage systems and their crash-recovery procedures. Note: Perennial extends Iris with versioned memory, recovery leases and recovery helping. These proof techniques discard stale volatile capabilities, restore exclusive access to persistent resources and let recovery finish interrupted operations. [csail] The 2019 Goose filesystem model covers process crashes. Heap state and descriptors disappear, but kernel-held file data survives. It excludes whole-machine loss of buffered data. This is the prototype model's boundary, not a limit of the proof logic. [sosp19] Concurrent recovery refinement matches implementation histories to abstract operations and crashes, including interrupted recovery. The 2019 proofs cover safety, not liveness. [sosp19] Mailboat's reported scaling experiment used tmpfs and locally simulated requests, not persistent-device or network throughput. The trusted boundary includes the model, translator, compiler and proof checker. [sosp19] The SOSP 2019 artifact is pinned separately from later development. Its README specifies Coq 8.9.1 compatibility, dependency submodules and the required coqc.py build wrapper. [artifact] Sources and caveats: - Primary-source review of the SOSP 2019 prototype, the author project overview and the pinned historical README. No Coq proof replay, benchmark replication or power-loss test was performed. - The historical artifact requirements are not installation instructions for the current development branch. Related terms: - [crash-refinement](https://hesela.dev/terms/crash-refinement/) - [crash-hoare-logic](https://hesela.dev/terms/crash-hoare-logic/) - [linearizability](https://hesela.dev/terms/linearizability/) - [crash-recovery](https://hesela.dev/terms/crash-recovery/) - [fscq](https://hesela.dev/terms/fscq/) Citations: - [sosp19] Chajed et al. Verifying concurrent, crash-safe systems with Perennial. SOSP 2019, sections 1, 3.1, 6.2 and 9.2-9.3. https://pdos.csail.mit.edu/papers/perennial:sosp19.pdf (accessed 2026-12-04) - [csail] MIT CSAIL: Perennial project overview, updated 28 July 2020. https://www.csail.mit.edu/research/perennial (accessed 2026-12-04) - [artifact] Perennial authors: README at SOSP 2019 artifact revision 392c3c3e81c8. https://github.com/mit-pdos/perennial/blob/392c3c3e81c8c3d15249823b934680e56f204313/README.md (accessed 2026-12-04) - [guide] Hesela: interpreting Perennial's recovery and evaluation boundaries. https://hesela.dev/research/perennial/README.md (accessed 2026-12-04) - [evidence] Hesela: Perennial source locators, scope and artifact identity. https://hesela.dev/research/perennial/evidence.json (accessed 2026-12-04) ### Perfect failure detector URL: https://hesela.dev/terms/perfect-failure-detector/ Related analysis: https://hesela.com/analyses/phi-failure-detectors-suspicion/ Also known as: class P failure detector Status: unknown Record updated: 2026-11-20 A perfect failure detector eventually and permanently suspects every crashed process at every correct process, without suspecting any process before it crashes. Note: Class P combines strong completeness with strong accuracy in Chandra and Toueg's crash-stop model. A correct process never crashes during the modeled run; a crashed process does not recover. Strong completeness concerns every crashed process and every correct observer, not just one observer. [ct96] Strong accuracy forbids premature suspicion even of a process that will crash later. Completeness is eventual: the class alone specifies neither immediate detection nor a numerical detection deadline. An eventually perfect detector relaxes accuracy by allowing initial mistakes. [ct96] These are properties of detector histories in a stated system model, not a certification obtained from a heartbeat sample. Arbitrarily delayed messages prevent a timeout alone from distinguishing a crash from a slow process in a fully asynchronous system. Timing assumptions must be supplied separately. [ct96] Limitations: - These crash-stop process properties do not certify storage health, establish Byzantine fault tolerance, cover recovery after restart or enforce fencing against a stale writer. (sources: [ct96]) Sources and caveats: - CT1996 sections 2.1-2.4 define the crash-stop model, completeness, accuracy and class P. This entry is a source synthesis, not a measured implementation or a recovery-protocol guarantee. Related terms: - [failure-detector](https://hesela.dev/terms/failure-detector/) - [eventually-perfect-failure-detector](https://hesela.dev/terms/eventually-perfect-failure-detector/) - [partial-synchrony](https://hesela.dev/terms/partial-synchrony/) - [flp-impossibility](https://hesela.dev/terms/flp-impossibility/) - [fail-stop](https://hesela.dev/terms/fail-stop/) - [crash-stop](https://hesela.dev/terms/crash-stop/) Citations: - [ct96] Chandra and Toueg. Unreliable Failure Detectors for Reliable Distributed Systems. JACM 43(2), 225-267, 1996; sections 2.1-2.4 and 9. https://www.cs.utexas.edu/~lorenzo/corsi/cs380d/papers/p225-chandra.pdf (accessed 2026-11-16) ### Pergamum URL: https://hesela.dev/terms/pergamum/ Status: research Record updated: 2026-11-29 Pergamum is a research archival-storage architecture combining networked disk appliances, persistent metadata and two levels of redundancy to limit disk activity. Note: Each appliance combines a disk, flash metadata, a low-power processor and networking. The design separates local protection against damaged blocks from redundancy across appliances. [fast08] Cached algebraic signatures let appliances check redundancy relationships without waking every disk. A full scrub instead rereads blocks and compares them with recorded signatures. [fast08] Section 5.3 explicitly excludes scrubbing and consistency checking from the evaluated implementation. Its reliability estimates are model results, not observed archive lifetimes. [fast08] The authors also describe trading retrieval speed for lower power and simpler maintenance. That historical design objective does not establish present-day cost superiority over tape. [login08] Hesela's separate executable example changes one byte while retaining the recorded digest. All 255 changed values pass the metadata-only comparison; fresh reads detect every change in this finite set. SHA-256 is used only to isolate the observation boundary, not to reproduce Pergamum's algebraic signatures. [example] Limitations: - Agreement between cached metadata values does not establish that unread payload bytes are unchanged. (sources: [example]) Sources and caveats: - Historical research architecture; no current product-status, cost, deployment or hardware-replication claim. - Independent finite byte-mutation example is not a Pergamum implementation, attack evaluation or measured error-rate estimate. Related terms: - [maid](https://hesela.dev/terms/maid/) - [algebraic-signature](https://hesela.dev/terms/algebraic-signature/) - [staggered-reconstruction](https://hesela.dev/terms/staggered-reconstruction/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) Citations: - [fast08] Storer, Greenan, Miller and Voruganti. Pergamum. FAST 2008, sections 3-5. https://www.usenix.org/legacy/events/fast08/tech/full_papers/storer/storer_html/index.html (accessed 2026-11-29) - [login08] Storer et al. Pergamum: energy-efficient archival storage with disk instead of tape. ;login:, June 2008. https://www.usenix.org/system/files/login/articles/320-storer.pdf (accessed 2026-11-29) - [example] Hesela: cached evidence versus fresh payload observations, method and executable controls. https://hesela.dev/research/pergamum-observation/README.md (accessed 2026-11-29) ### Perpendicular magnetic tape URL: https://hesela.dev/terms/perpendicular-tape/ Also known as: perpendicularly oriented tape, perpendicular recording on tape Status: shipping Record updated: 2026-10-22 Perpendicular magnetic tape is tape whose recording layer is magnetised perpendicular to its surface, used in laboratory demonstrations of 148 to 201 Gb/in2. Note: Commercial linear tape drives operated at 5 to 7 Gb/in2 when a single-channel experiment on prototype perpendicularly oriented sputtered tape demonstrated 201 Gb/in2. The sample had a 14 nm CoPtCr-SiO2 layer with 6.6 nm average grains and a coercivity of 3,880 Oe, above that of the commercial tape compared, and was read with a 48 nm reader. [nims-201] At 818 kbpi the channel signal-to-noise ratio was 10.7 dB and the raw byte-error rate stayed below the 4.5e-2 target, enough for a user error rate below 1e-20 after C1 and C2 decoding. An estimated 103 nm track width (246.2 ktpi) gives a potential 201.4 Gb/in2, roughly 29 to 40 times the commercial figure. [nims-201] A 2014 experiment recorded on sputtered tape at 148 Gb/in2. [ibm-148] Both are reel-to-reel laboratory setups that show headroom for tape areal density, not an existing product. Limitations: - Writing the higher-coercivity medium needed a prototype ring-type writer with a high-Bs layer. (sources: [nims-201]) - The headline density combines a measured linear density with an estimated rather than measured track density. (sources: [nims-201]) Sources and caveats: - The 2017 paper comes from an industry research lab and a tape-media maker; the 2014 result is from the same research lab. - Only the title and abstract page of the 2014 publication was read. - The sources do not state the recording orientation of any commercial tape generation, so none is claimed, and they give no cost, capacity or reliability data. - Arithmetic: 201.4 / 7 = 29 and 201.4 / 5 = 40. Related terms: - [tape](https://hesela.dev/terms/tape/) - [lto](https://hesela.dev/terms/lto/) - [barium-ferrite-tape](https://hesela.dev/terms/barium-ferrite-tape/) - [pmr](https://hesela.dev/terms/pmr/) - [areal-density](https://hesela.dev/terms/areal-density/) Citations: - [c1] Perpendicular magnetic tape. https://en.wikipedia.org/wiki/Linear_Tape-Open (accessed 2026-03-26) - [nims-201] Furrer et al. 201 Gb/in2 Recording Areal Density on Sputtered Magnetic Tape. TMRC 2017, paper BP-02. https://www.nims.go.jp/mmu/tmrc2017/att/BP-02.pdf (accessed 2026-10-16) - [ibm-148] Tachibana et al. Exploratory Experiments in Recording on Sputtered Magnetic Tape at an Areal Density of 148 Gb/in2. IEEE Trans. Magn., 2014. https://research.ibm.com/publications/exploratory-experiments-in-recording-on-sputtered-magnetic-tape-at-an-areal-density-of-148-gbinlesssupgreater2lesssupgreater (accessed 2026-10-16) ### Persistence domain URL: https://hesela.dev/terms/persistence-domain/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: power-fail protected domain Status: shipping Record updated: 2026-12-04 A persistence domain is the set of components whose stored contents are guaranteed to survive a specified failure under the platform's operating contract. Note: A store counts as persistent once it reaches the persistence domain. On one server platform, stores that leave the processor cache and enter the memory controller's write pending queue are covered, because the platform keeps enough power to flush that queue to persistent memory on failure. Processor caches are excluded since flushing them automatically would need much more backup power, so software must flush cache lines explicitly. [intel-adr] One persistent-memory library maps these cases to three granularities. Page granularity applies to block storage, where persistence is requested through a system call such as msync or fsync. Cache-line granularity applies when the protected domain covers the memory controller but not the CPU caches, so lines must be flushed, usually followed by a barrier. Byte granularity applies when the domain also covers the caches, removing flushes but not necessarily barriers. [pmdk-granularity] Byte addressability describes selectable memory locations, not a requirement that application loads and stores be 64 bytes wide. Cache-line transfer size, persistence granularity and failure-atomic update size are separate properties. A persist operation may widen a range for alignment, but is neither atomic nor transactional. [pmdk-granularity] [pmdk-persist] Persistency ordering is a separate question: it defines which update orders are permitted, not which components are protected. [retrospective] Advantages: - Declaring the coarsest acceptable granularity lets a mapping fail on a platform that cannot meet it, instead of silently relying on weaker protection. (sources: [pmdk-granularity]) Limitations: - The requested PMDK granularity is the coarsest acceptable value, not a forced effective value: requesting PAGE also accepts CACHE_LINE or BYTE, while requesting CACHE_LINE rejects a PAGE-only mapping. Inspect the resulting map and use its associated persistence function. (sources: [pmdk-granularity]) - Protecting CPU caches does not necessarily protect RNIC buffers. For remote RDMA updates, the persistence protocol also depends on inbound cache placement and whether receive buffers reside in DRAM or persistent memory; a local cache-domain guarantee alone is insufficient. (sources: [remote-persistence]) Sources and caveats: - intel-adr re-read 2026-10-23 for the write pending queue, cache exclusion and 64-byte versus 4 KB access. - pmdk-granularity re-read 2026-10-23 for page, cache-line and byte granularity and the storage-engine example. - retrospective used as before for the ordering-versus-domain distinction. - The map-sync entry links here because its crash guarantee assumes mapped stores are flushed into the persistence domain this entry defines. - A companion analysis on DAX durability is listed but not used in prose. - 2026-11-10: corrected the conflation of byte addressability with cache-line width and the claim that requesting PAGE gives up finer persistence. PMDK 1.13.1 explicitly permits a finer effective mapping. Related terms: - [stable-storage](https://hesela.dev/terms/stable-storage/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [adr](https://hesela.dev/terms/adr/) - [eadr](https://hesela.dev/terms/eadr/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [memory-persistency](https://hesela.dev/terms/memory-persistency/) - [dax](https://hesela.dev/terms/dax/) - [map-sync](https://hesela.dev/terms/map-sync/) - [fptree](https://hesela.dev/terms/fptree/) - [clwb](https://hesela.dev/terms/clwb/) - [clflushopt](https://hesela.dev/terms/clflushopt/) - [rowan](https://hesela.dev/terms/rowan/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) Citations: - [intel-adr] Intel. Second Generation Xeon Processor Scalable Family Technical Overview: The Persistence Domain. https://www.intel.com/content/www/us/en/developer/articles/news/second-generation-intel-xeon-processor-scalable-family-technical-overview.html (accessed 2026-10-23) - [pmdk-granularity] PMDK 1.13.1. libpmem2(7), GRANULARITY (pinned source documentation). https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/libpmem2.7.md (accessed 2026-11-10) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/ (accessed 2026-10-13) - [retrospective] Steven Pelley, Peter M. Chen and Thomas F. Wenisch. RETROSPECTIVE: Memory Persistency. ISCA retrospective, 2023; sections I-II. https://bpb-us-w2.wpmucdn.com/sites.coecis.cornell.edu/dist/7/587/files/2023/06/Pelley_2014_Memory.pdf (accessed 2026-10-19) - [pmdk-persist] PMDK 1.13.1. pmem2_get_persist_fn(3): alignment, early persistence and non-transactional behavior. https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/pmem2_get_persist_fn.3.md (accessed 2026-11-10) - [remote-persistence] Kashyap et al. Correct, Fast Remote Persistence. arXiv:1909.02092v1, sections 2 and 3, Tables 1-2. https://arxiv.org/html/1909.02092v1 (accessed 2026-12-04) ### Persistence ordering URL: https://hesela.dev/terms/persistence-ordering/ Also known as: persist ordering Status: shipping Record updated: 2026-12-01 Persistence ordering is a constraint on the order in which updates become durable, rather than merely the order in which an application issues them. Note: Ordering differs from atomicity: individually indivisible updates can still reach storage in an unsafe order. A study of 11 widely used applications found 60 crash vulnerabilities, roughly half of which appeared on file systems current at the time. When writes, even to different files, did not persist in issue order, 7 of the 11 failed to recover properly. [pillai] Review the application's recovery dependencies, not only the syscall trace. Historical filesystem configurations are evidence of variation, not guarantees about every current implementation. With write buffering, a device may complete writes out of order, and Linux REQ_PREFLUSH makes previously completed writes on the addressed device persistent before the accompanying I/O starts. That scope does not include bytes still held only in an application buffer. [linux-cache-scope] Separate primitives for ordering with eventual durability and for immediate durability improved some workloads by up to an order of magnitude in a research prototype. [optfs2013] In persistent memory, strict persistency makes persist order identical to volatile memory order, while relaxed persistency lets the two diverge. An epoch barrier divides program order into regions whose writes are mutually unordered, but all writes of one region persist before any of the next. This ordering model is distinct from the set of components protected by a persistence domain. [retrospective] Advantages: - Stating only the required order, not full durability at every step, lets storage batch and schedule writes between ordering points. (sources: [optfs2013]) Limitations: - Ordering alone does not make an update durable, so work acknowledged after an ordering point can still be lost in a crash. (sources: [optfs2013]) - Measured ordering behavior covers the file systems and modes tested, so a passing recovery test on one configuration does not transfer to another. (sources: [pillai]) Sources and caveats: - pillai re-read 2026-10-23, sections 1, 2 and 4.4, for the 11 applications, the 60 vulnerabilities and the 7 applications that relied on in-order persistence. - optfs2013 read 2026-10-23, sections 1 to 3, for out-of-order completion, flushes that conflate ordering with durability and the order-of-magnitude result. - retrospective re-read 2026-10-23, sections I and II, for strict, relaxed and epoch persistency. - The hot-journal entry links here because rollback-journal recovery depends on the journal becoming durable before overwritten database pages do. - A companion analysis on atomic rename is listed but not used in prose. Related terms: - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [fsync](https://hesela.dev/terms/fsync/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [metadata-update-dependency](https://hesela.dev/terms/metadata-update-dependency/) - [soft-updates](https://hesela.dev/terms/soft-updates/) - [memory-persistency](https://hesela.dev/terms/memory-persistency/) - [optimistic-crash-consistency](https://hesela.dev/terms/optimistic-crash-consistency/) - [external-synchrony](https://hesela.dev/terms/external-synchrony/) - [io-uring-drain](https://hesela.dev/terms/io-uring-drain/) - [zfs-separate-log](https://hesela.dev/terms/zfs-separate-log/) - [hot-journal](https://hesela.dev/terms/hot-journal/) - [cache-barrier](https://hesela.dev/terms/cache-barrier/) - [squirrelfs](https://hesela.dev/terms/squirrelfs/) - [sfence](https://hesela.dev/terms/sfence/) - [horae](https://hesela.dev/terms/horae/) - [ccfs](https://hesela.dev/terms/ccfs/) Citations: - [pillai] Pillai et al. All File Systems Are Not Created Equal: On the Complexity of Crafting Crash-Consistent Applications. OSDI 2014, sections 1, 2 and 4.4. https://files.usenix.org/s3fs-public/cdn/osdi14-paper-pillai.pdf (accessed 2026-10-23) - [hesela-rename] Hesela: Atomic rename is not a durable commit. https://hesela.com/analyses/atomic-rename-directory-durability/ (accessed 2026-10-11) - [retrospective] Steven Pelley, Peter M. Chen and Thomas F. Wenisch. RETROSPECTIVE: Memory Persistency. ISCA retrospective, 2023; sections I-II. https://bpb-us-w2.wpmucdn.com/sites.coecis.cornell.edu/dist/7/587/files/2023/06/Pelley_2014_Memory.pdf (accessed 2026-10-23) - [optfs2013] Chidambaram, Pillai, Arpaci-Dusseau and Arpaci-Dusseau. Optimistic Crash Consistency. SOSP 2013, sections 1 to 3. https://research.cs.wisc.edu/adsl/Publications/optfs-sosp13.pdf (accessed 2026-10-23) - [linux-cache-scope] Linux v6.6 documentation: Explicit volatile write back cache control; previously completed writes, FUA and remapping-driver scope. https://www.kernel.org/doc/html/v6.6/block/writeback_cache_control.html (accessed 2026-11-29) ### Persistent block cache URL: https://hesela.dev/terms/persistent-block-cache/ Also known as: nonvolatile block cache Status: shipping Record updated: 2026-12-01 A persistent block cache retains cached block data on nonvolatile storage and uses recovery metadata to reconnect those blocks to their backing store. Note: Persistence of the cache medium and durability of a completed write are separate properties. Linux 6.10 dm-cache commits metadata on FLUSH or FUA requests, otherwise periodically; recent writes can be lost after power failure. Its origin may hold older data in writeback mode. [persistent-dm-cache] A clean cache is not automatically coherent after the origin changes. The documented dm-cache passthrough mode requires a clean cache and bypasses cached reads; origin snapshot rollback is one use case. That mode's precondition is not a recovery recipe for another cache implementation. [persistent-dm-cache] Open CAS terminology distinguishes user-triggered flushing from automatic cleaning: both move dirty data to the backend and clear dirty bits. Neither name alone identifies an application's durable-commit boundary. [cas-operations] A 2025 study of Open CAS 22.03.2 separates acknowledged requests from in-flight operations and uses synthetic stop/start procedures. Its findings are version- and procedure-scoped, not a current-release failure rate. [duan-cache] Sources and caveats: - Primary-source synthesis; no Open CAS installation, power interruption or independent reproduction of the reported failures. Related terms: - [write-back-cache](https://hesela.dev/terms/write-back-cache/) - [write-through-cache](https://hesela.dev/terms/write-through-cache/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [dm-writecache](https://hesela.dev/terms/dm-writecache/) Citations: - [persistent-dm-cache] Linux 6.10: dm-cache modes, metadata persistence and recovery. https://www.kernel.org/doc/html/v6.10/admin-guide/device-mapper/cache.html (accessed 2026-11-29) - [cas-operations] Open CAS: cache operations, flushing and cleaning. https://open-cas.com/concepts/cache-operations/ (accessed 2026-11-29) - [duan-cache] Shaohua Duan and Youmin Chen. Crash Consistency in Block-Level Caching Systems: An Open CAS Case Study. ATC 2025, pp. 749-764; sections 5-6. https://www.usenix.org/system/files/atc25-duan-shaohua.pdf (accessed 2026-11-29) - [hesela-cache-recovery] Hesela: testing recovery across a persistent block cache. https://hesela.com/analyses/crash-testing-oracles-and-bounds/#persistent-cache (accessed 2026-11-29) ### Persistent memory URL: https://hesela.dev/terms/persistent-memory/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Status: limited Record updated: 2026-12-05 Persistent memory is nonvolatile storage exposed through a memory-addressable interface, with durability governed by the platform's persistence contract. Note: A CPU store can remain in an unprotected cache even when its destination is persistent memory, and another thread may observe it before it is durable. [pmdk-concurrency] ADR and eADR protect different parts of the data path. [intel-adr] [intel-eadr] DAX avoids a page-cache copy, not every CPU cache. A block driver supports it by translating sector numbers in 512-byte units to page frames, and file access is supported only when the filesystem block size equals the kernel page size. [dax-docs] A library persist call flushes the range and then drains, so earlier flushes are not reordered after the drain. It may widen the range to meet platform alignment. Stores can also become persistent earlier through normal cache eviction, so recovery code must not assume that unflushed data is still absent. Byte addressability does not imply transactional atomicity, and a recovery protocol is still needed. [pmdk-persist] Remote access adds another boundary: an RDMA write completion does not by itself prove remote persistence. The required protocol depends on whether protection covers memory-controller queues, CPU caches and NIC buffers, and whether DDIO directs writes into caches. A remote-visibility guarantee must not be substituted for that persistence contract. [remote19] Advantages: - Mapping the storage directly into user space removes the extra page-cache copy for reads and writes. (sources: [dax-docs]) Limitations: - A persist call is neither atomic nor transactional, so after a crash part of the range may hold new stores and part old ones. (sources: [pmdk-persist]) - Persisting a pointer does not keep its target alive or make a reference into volatile memory safe after restart; lifetime and heap-boundary rules need separate enforcement. (sources: [nv-heaps]) - A recoverable allocator can repair its heap structure without restoring application transactions; Makalu assigns application-data recovery to its client runtime or programmer. (sources: [makalu-readme]) Sources and caveats: - dax-docs re-read 2026-10-23 for the page-cache motivation, block-size rule and the 512-byte sector translation. - pmdk-persist re-read at tag 1.13.1 for the flush-then-drain sequence, range widening and early persistence. - A companion analysis on persistence domains is listed but not used in prose. - The execute-in-place entry links here because direct access to memory-addressable storage without a page-cache copy is shared with in-place execution. - 2026-11-15: added source-scoped remote visibility versus persistence qualification from Kashyap et al., sections 2-3; no hardware experiment. - 2026-12-05: NV-Heaps sections 2.3 and 3.4 clarify that persisted addresses, referent lifetime and allowed heap boundaries are separate concerns. - 2026-12-05: distinguished recoverable allocation from application-data recovery using the pinned Makalu README. Related terms: - [nvdimm-n](https://hesela.dev/terms/nvdimm-n/) - [storage-class-memory](https://hesela.dev/terms/storage-class-memory/) - [optane](https://hesela.dev/terms/optane/) - [byte-addressable-storage](https://hesela.dev/terms/byte-addressable-storage/) - [persistence-domain](https://hesela.dev/terms/persistence-domain/) - [adr](https://hesela.dev/terms/adr/) - [eadr](https://hesela.dev/terms/eadr/) - [dax](https://hesela.dev/terms/dax/) - [map-sync](https://hesela.dev/terms/map-sync/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [mram](https://hesela.dev/terms/mram/) - [strict-persistency](https://hesela.dev/terms/strict-persistency/) - [fptree](https://hesela.dev/terms/fptree/) - [cceh](https://hesela.dev/terms/cceh/) - [nova](https://hesela.dev/terms/nova/) - [bpfs](https://hesela.dev/terms/bpfs/) - [splitfs](https://hesela.dev/terms/splitfs/) - [strata](https://hesela.dev/terms/strata/) - [assise](https://hesela.dev/terms/assise/) - [aerie](https://hesela.dev/terms/aerie/) - [kuco](https://hesela.dev/terms/kuco/) - [pactree](https://hesela.dev/terms/pactree/) - [pangolin](https://hesela.dev/terms/pangolin/) - [nova-fortis](https://hesela.dev/terms/nova-fortis/) - [madfs](https://hesela.dev/terms/madfs/) - [novelsm](https://hesela.dev/terms/novelsm/) - [viper](https://hesela.dev/terms/viper/) - [clover](https://hesela.dev/terms/clover/) - [hotpot](https://hesela.dev/terms/hotpot/) - [cxl-memory-sharing](https://hesela.dev/terms/cxl-memory-sharing/) - [twizzler](https://hesela.dev/terms/twizzler/) - [mnemosyne](https://hesela.dev/terms/mnemosyne/) - [nv-heaps](https://hesela.dev/terms/nv-heaps/) - [makalu](https://hesela.dev/terms/makalu/) Citations: - [pmdk-concurrency] PMDK project. Concurrency considerations in libpmemobj-cpp, 17 September 2021. https://pmem.io/blog/2021/09/concurrency-considerations-in-libpmemobj-cpp/ (accessed 2026-10-13) - [intel-adr] Intel. Second Generation Xeon Processor Scalable Family Technical Overview: The Persistence Domain. https://www.intel.com/content/www/us/en/developer/articles/news/second-generation-intel-xeon-processor-scalable-family-technical-overview.html (accessed 2026-10-13) - [intel-eadr] Intel. Third Generation Xeon Processor Scalable Family on Two Socket Platforms: eADR. https://www.intel.com/content/www/us/en/developer/articles/technical/third-generation-xeon-scalable-family-overview.html (accessed 2026-10-13) - [dax-docs] Linux kernel documentation. Direct Access for files: motivation and S_DAX state. https://docs.kernel.org/filesystems/dax.html (accessed 2026-10-23) - [pmdk-persist] PMDK 1.13.1. pmem2_get_persist_fn(3): early persistence and non-transactional semantics. https://github.com/pmem/pmdk/blob/1.13.1/doc/libpmem2/pmem2_get_persist_fn.3.md (accessed 2026-10-23) - [hesela-pmem] Hesela. Persistent memory: DAX is not a durable commit. https://hesela.com/analyses/pmem-persistence-domains-dax/ (accessed 2026-10-13) - [remote19] Sanidhya Kashyap, Dai Qin, Steve Byan, Virendra J. Marathe and Sanketh Nalli. Correct, Fast Remote Persistence. arXiv:1909.02092v1, sections 2-3. https://arxiv.org/html/1909.02092v1 (accessed 2026-11-15) - [nv-heaps] Coburn et al. NV-Heaps. ASPLOS 2011, sections 2.3 and 3.4: persistent pointer safety and object lifetime. https://cseweb.ucsd.edu/~swanson/papers/Asplos2011NVHeaps.pdf (accessed 2026-12-05) - [makalu-readme] HewlettPackard/Atlas. Makalu README at d4fd983322a4e247724aa636f380aa023b927e0b: heap structure versus user data. https://github.com/HewlettPackard/Atlas/blob/d4fd983322a4e247724aa636f380aa023b927e0b/makalu_alloc/README.md (accessed 2026-12-05) ### Petal URL: https://hesela.dev/terms/petal/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: Petal distributed virtual disks Status: research Record updated: 2026-11-30 Recorded firstSeen: 1996 (sources: [petal-1996]) Petal is a research distributed block-storage system that maps sparse virtual disks onto storage servers beneath the filesystem layer. Note: Petal exposes a sparse 64-bit byte-address space, allocating physical storage on demand. Redundancy is optional: chained declustering places two copies on neighboring servers. Incremental reconfiguration redistributes storage while continuing to process requests. [petal-1996] [frangipani-1997] Snapshot guarantees are version-specific. Petal's 1996 paper describes read-only copy-on-write snapshots, but explicitly leaves unpaused crash-consistent snapshots unimplemented. Frangipani's 1997 paper describes crash-consistent Petal snapshots containing the filesystem logs, with restoration requiring log recovery. Its barrier-based, recovery-free filesystem snapshot is a proposed improvement, not that baseline. [petal-1996] [frangipani-1997] Frangipani adds coherent file access using a separate lock service above Petal. Block storage, filesystem recovery and application consistency are different responsibilities; a Petal snapshot alone does not establish application consistency. [frangipani-1997] Advantages: - Sparse virtual disks separate client addressing from physical allocation. (sources: [petal-1996]) Limitations: - Whole-volume availability needs a communicating server majority and an accessible copy of every block; some blocks can remain inaccessible during a partition. (sources: [frangipani-1997]) - The 1996 evaluation concerns a four-server prototype, not modern storage performance. (sources: [petal-1996]) - The prototype chooses read replicas using each client's own outstanding-request counts, which can miss load generated by many infrequent clients. (sources: [petal-1996]) Sources and caveats: - Historical primary-paper synthesis; no Petal execution, benchmark or recovery experiment was performed. - The 1996 and 1997 descriptions are kept distinct; neither paper fixes an implementation release date for the snapshot change. - The application-consistency distinction is a layer-boundary inference, not a measured recovery result. Related terms: - [block-device](https://hesela.dev/terms/block-device/) - [snapshot](https://hesela.dev/terms/snapshot/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [fail-stop](https://hesela.dev/terms/fail-stop/) - [frangipani](https://hesela.dev/terms/frangipani/) - [chained-declustering](https://hesela.dev/terms/chained-declustering/) Citations: - [petal-1996] Lee and Thekkath: Petal: Distributed Virtual Disks, ASPLOS VII (1996), sections 1, 2.2-2.4 and 3. https://www.cs.rice.edu/~alc/old/comp520/papers/petal.pdf (accessed 2026-11-30) - [frangipani-1997] Thekkath, Mann and Lee: Frangipani: A Scalable Distributed File System, SOSP (1997), sections 1, 2.1, 6 and 8. https://pdos.csail.mit.edu/archive/6.824-2007/papers/thekkath-frangipani.pdf (accessed 2026-11-30) ### pFPC URL: https://hesela.dev/terms/pfpc/ Also known as: Parallel FPC Status: shipping Record updated: 2026-11-17 pFPC is a parallel lossless binary64 compressor that assigns chunks to separate FPC-style predictor histories. Note: Partitioning: Chunks go to threads in round-robin order. Changing thread count or chunk size changes which values share a prediction history, so parallelization can change compressed size as well as execution time. [paper] Memory budget: With n threads and level x, predictor tables alone total n * 2^(x+4) bytes. Four threads at x=20 use 64 MiB, versus 16 MiB for one thread. Holding the total at 16 MiB instead requires x=18 for four threads; buffers and other overhead remain additional. [project] [ledger] Evidence: The 2009 evaluation used nine datasets, a subset of the earlier thirteen, and three processor systems. Its ratio-versus-thread-count experiments kept predictor memory per thread fixed, increasing total predictor memory. Those results are not equal-memory comparisons. [paper] Integration: The distributed example performs sequential input/output around its parallel routines. Its command-line elapsed time must not be equated with the paper's isolated parallel-routine throughput. Small chunks can also incur cache and TLB costs. [project] [paper] Sources and caveats: - Source synthesis and integer accounting, with no measured throughput, representative compression ratio or original-paper replication. - The paper reports an unsuccessful pipelined parallelization attempt; its conclusions depend on the tested hardware and memory traffic. [paper] Related terms: - [fpc](https://hesela.dev/terms/fpc/) Citations: - [paper] Burtscher and Ratanaworabhan: pFPC, Data Compression Conference (2009), sections 2, 4 and 5. https://userweb.cs.txstate.edu/~burtscher/papers/dcc09.pdf (accessed 2026-11-17) - [project] pFPC 1.0: per-thread memory, chunk assignment and sequential-I/O example warning. https://userweb.cs.txstate.edu/~burtscher/research/pFPC/ (accessed 2026-11-17) - [ledger] Hesela: exact FPC residual costs and pFPC predictor-memory accounting. https://hesela.dev/research/fpc-residuals/README.md (accessed 2026-11-17) ### Phase-change memory (storage) URL: https://hesela.dev/terms/phase-change-memory/ Also known as: PCM, Phase change RAM Status: unknown Record updated: 2026-11-29 Phase-change memory (PCM) stores information in electrically programmed resistance levels of chalcogenide cells. Note: A short, large pulse melts the cell and rapid cooling leaves the high-resistance amorphous reset state. Setting relies on threshold switching, a sudden drop in amorphous resistance above a threshold voltage that lets Joule heating crystallise the cell. Ge2Sb2Te5 on the GeTe-Sb2Te3 line keeps its amorphous phase for about 10 years at roughly 100 degrees C yet recrystallises in under 10 ns near 500 degrees C, switching under 1 ns has been reported, and write-and-verify reached 16 resistance levels. [c2] A 2009 model derived SET at 150 ns and 13.5 pJ and RESET at 40 ns and 19.2 pJ, with reads about 4.4 times and writes 12 times DRAM latency. A baseline PCM main memory was 1.6 times slower and used 2.2 times more energy than DRAM, narrowed to 1.2 and 1.0 times by buffer reorganisation, and partial writes gave a 5.6-year projected lifetime. Surveyed endurance ranged from 10^4 to 10^9 writes, and multi-level cells were usually limited to two bits. [c3] Reset current scales with electrode contact area at about 40 MA/cm2, and carbon-nanotube electrodes cut it to a few microamps. A 5 x 5 x 5 nm bit would need about 150 aJ at the ideal 1.2 aJ per cubic nanometre. The access device is usually larger than the cell, and cells fail through voids at the electrode or antimony segregation. A small cell reached 10^11 cycles at 45 pJ, and very small cells risk threshold voltages near the read voltage. [c2] Sources and caveats: - c2 is a 2014 MRS Bulletin review; c3 is an ISCA 2009 paper by Microsoft Research and university authors; figures describe prototypes and models, not shipping devices. - The endurance range in c3 comes from the authors' own literature survey, and its currents were extrapolated across process generations. - c2 extrapolates the 10^11-cycle result to 6.5e15 cycles at 3.6 pJ; this is not repeated as a measurement. - PCM is a technology family, not one commercial product line; unknown avoids assigning it a single product lifecycle. The cited studies do not establish current product availability. - Arithmetic: 1.2 aJ/nm3 x 125 nm3 = 150 aJ. - The definition includes binary and multilevel cells; it does not imply exactly one bit per cell. Related terms: - [pcm-write-cancellation](https://hesela.dev/terms/pcm-write-cancellation/) - [pcm-write-pausing](https://hesela.dev/terms/pcm-write-pausing/) - [flip-n-write](https://hesela.dev/terms/flip-n-write/) - [3d-xpoint](https://hesela.dev/terms/3d-xpoint/) - [optane](https://hesela.dev/terms/optane/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [storage-class-memory](https://hesela.dev/terms/storage-class-memory/) - [memristor](https://hesela.dev/terms/memristor/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) Citations: - [c1] Phase-change memory (storage). https://en.wikipedia.org/wiki/Phase-change_memory (accessed 2026-03-26) - [c2] Phase change materials and phase change memory. https://poplab.stanford.edu/pdfs/Raoux-PCMreview-mrsbull14.pdf (accessed 2026-10-16) - [c3] Architecting Phase Change Memory as a Scalable DRAM Alternative. https://people.inf.ethz.ch/omutlu/pub/pcm_isca09.pdf (accessed 2026-10-16) ### Phi accrual failure detector URL: https://hesela.dev/terms/phi-accrual-detector/ Also known as: phi failure detector, phi accrual detector Status: shipping Record updated: 2026-11-16 A phi accrual failure detector expresses suspicion as the negative base-10 logarithm of an estimated heartbeat inter-arrival tail probability. Note: A threshold converts the score into an action; the score is not a posterior probability of node failure. Its meaning depends on the arrival model. The original design keeps a sliding window of inter-arrival samples and fits a normal distribution from their mean and variance. Under that model, thresholds of 1, 2 and 3 correspond to about 10%, 1% and 0.1% chances that a suspicion is later contradicted by a late heartbeat. [phi-report] The original week-long wide-area test sent 5,845,712 heartbeats at a 100 ms target, measured at a 103.5 ms mean, with 1,000-sample windows. The mistake rate fell sharply between thresholds 0.5 and 2, and detection time rose sharply beyond 10 or 11. [phi-report] One open-source database release, version 5.0.0, keeps 1,000 samples, divides elapsed time by the sampled mean and scales the result by 1/ln(10), about 0.434, for threshold comparisons and reporting. That matches an exponential rather than a normal tail. Seeding, filtering and pause handling also affect behavior. [cassandra-500] A fitted phi tail is not an empirically established false-suspicion rate. With zero exceedances in n independent held-out intervals and a prespecified fixed delay, the one-sided 95% binomial upper bound is 1 - 0.05^(1/n). Repeated polls during one gap are not independent intervals; adaptive thresholds and dependence need a different validation design. [nist-exact] Advantages: - One score can drive graded actions, such as pausing new work at a low threshold, resubmitting unfinished work at a moderate one and releasing resources at a high one. (sources: [phi-report]) Limitations: - Scores are stable only after the window fills, and the reported experiment excluded the warm-up period before 1,000 samples were collected. (sources: [phi-report]) Sources and caveats: - phi-report re-read 2026-10-23, sections I and IV to V, for the definition, the normal fit, the threshold-to-mistake mapping, the experiment figures and the graded-action example. - cassandra-500 re-read 2026-10-23 as FailureDetector.java at tag cassandra-5.0.0 for SAMPLE_SIZE, PHI_FACTOR, ArrivalWindow.phi, interpret and the local-pause guard. - nist-exact is unchanged and supports the binomial bound only. - The exponential-tail remark follows from -log10(exp(-t/m)) = t/(m ln 10). - The differential-observability entry links here because a heartbeat score records one monitor's view of arrivals, which can disagree with what applications observe. - A companion analysis on suspicion scores is listed but not used in prose. Related terms: - [failure-detector](https://hesela.dev/terms/failure-detector/) - [interarrival-time](https://hesela.dev/terms/interarrival-time/) - [gray-failure](https://hesela.dev/terms/gray-failure/) - [io-fencing](https://hesela.dev/terms/io-fencing/) - [binomial-proportion](https://hesela.dev/terms/binomial-proportion/) - [failure-detector-mistake-rate](https://hesela.dev/terms/failure-detector-mistake-rate/) - [differential-observability](https://hesela.dev/terms/differential-observability/) - [eventually-perfect-failure-detector](https://hesela.dev/terms/eventually-perfect-failure-detector/) Citations: - [phi-report] Hayashibara, Defago, Yared and Katayama, The phi accrual failure detector, JAIST IS-RR-2004-010 (10 May 2004), sections I and IV-V. https://dspace.jaist.ac.jp/dspace/handle/10119/4784 (accessed 2026-10-23) - [cassandra-500] Apache Cassandra 5.0.0: FailureDetector.java, SAMPLE_SIZE, PHI_FACTOR, ArrivalWindow.phi and interpret. https://github.com/apache/cassandra/blob/cassandra-5.0.0/src/java/org/apache/cassandra/gms/FailureDetector.java (accessed 2026-10-23) - [hesela-phi] Phi failure detectors: suspicion is not a failure probability. https://hesela.com/analyses/phi-failure-detectors-suspicion/ (accessed 2026-10-17) - [nist-exact] NIST Dataplot: Exact binomial confidence limits, including the one-sided convention. https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/exacbici.htm (accessed 2026-10-19) ### Physical database backup URL: https://hesela.dev/terms/physical-backup/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: physical backup Status: shipping Record updated: 2026-10-29 A physical database backup preserves or reconstructs native database files or pages together with the recovery information required by the engine. Note: Physical describes the stored representation, not whether capture is full or incremental. PostgreSQL 18 pg_basebackup supports both; an incremental result must be combined with its required predecessors before use. [pg-basebackup] Use an engine-supported capture procedure, not an uncoordinated live file copy. PostgreSQL filesystem backups require shutdown or a documented alternative; running-server snapshots need the complete cluster and required WAL. [pg-file] Portability is format-specific. PostgreSQL file backups are server-version-specific, while SQLite database files are cross-platform and backward compatible within SQLite 3; forward compatibility is not complete. Check the reader and schema features. [pg-sql-dump] [sqlite-format] SQLite's Online Backup API copies database pages through an explicit completion protocol. Physical capture is not necessarily offline capture, and completion is separate from application-level restore testing. [sqlite-api] [hesela-backup-evidence] Advantages: - PostgreSQL base backups provide a native cluster baseline for WAL-based recovery when the required logs are retained. (sources: [pg-pitr]) Limitations: - For PostgreSQL snapshots spanning data, WAL or tablespace filesystems, captures must be simultaneous or use another supported procedure. (sources: [pg-file]) - PostgreSQL pg_basebackup includes regular configuration files in the data directory and tablespaces; configuration elsewhere needs separate backup coverage. WAL replay does not restore manual changes to postgresql.conf, pg_hba.conf or pg_ident.conf. (sources: [pg-basebackup], [pg-pitr]) Related terms: - [logical-backup](https://hesela.dev/terms/logical-backup/) - [backup](https://hesela.dev/terms/backup/) - [full-backup](https://hesela.dev/terms/full-backup/) - [incremental-backup](https://hesela.dev/terms/incremental-backup/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [point-in-time-recovery](https://hesela.dev/terms/point-in-time-recovery/) - [wal-archiving](https://hesela.dev/terms/wal-archiving/) - [sqlite-online-backup](https://hesela.dev/terms/sqlite-online-backup/) Citations: - [pg-basebackup] PostgreSQL 18: pg_basebackup, full and incremental cluster capture. https://www.postgresql.org/docs/18/app-pgbasebackup.html (accessed 2026-10-29) - [pg-file] PostgreSQL 18: File System Level Backup. https://www.postgresql.org/docs/18/backup-file.html (accessed 2026-10-29) - [pg-sql-dump] PostgreSQL 18: SQL Dump, comparison with file-level backup. https://www.postgresql.org/docs/18/backup-dump.html (accessed 2026-10-29) - [sqlite-format] SQLite: Single-file Cross-platform Database and compatibility. https://www.sqlite.org/onefile.html (accessed 2026-10-29) - [sqlite-api] SQLite C API: Online Backup API and completion. https://www.sqlite.org/c3ref/backup_finish.html (accessed 2026-10-29) - [pg-pitr] PostgreSQL 18: Continuous Archiving and Point-in-Time Recovery. https://www.postgresql.org/docs/18/continuous-archiving.html (accessed 2026-10-29) - [hesela-backup-evidence] Hesela: SQLite backup completion and recovery acceptance. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-29) ### Physical journaling URL: https://hesela.dev/terms/physical-journaling/ Status: shipping Record updated: 2026-11-30 Physical journaling records modified on-disk representations, such as metadata buffer contents or changed regions, for recovery. Note: Physical logging need not mean every record is a complete block image: the XFS design tracks dirty regions of modified items and combines logging mechanisms. [xfs] Keep record payload, transferred blocks and internal media writes separate when comparing overhead. [hesela] Related terms: - [ijournaling](https://hesela.dev/terms/ijournaling/) - [logical-journaling](https://hesela.dev/terms/logical-journaling/) - [ext4-fast-commit](https://hesela.dev/terms/ext4-fast-commit/) - [journal-checkpoint](https://hesela.dev/terms/journal-checkpoint/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [xfs-relogging](https://hesela.dev/terms/xfs-relogging/) - [physiological-logging](https://hesela.dev/terms/physiological-logging/) - [dualfs](https://hesela.dev/terms/dualfs/) Citations: - [xfs] Linux v6.12: XFS Logging Design, introduction. https://github.com/torvalds/linux/blob/v6.12/Documentation/filesystems/xfs/xfs-delayed-logging-design.rst (accessed 2026-10-15) - [hesela] Hesela: journal representations and FastCommit cost audit. https://hesela.com/analyses/ext4-journal-replay-revocation/#journal-cost (accessed 2026-10-15) ### Physical sector URL: https://hesela.dev/terms/physical-sector/ Also known as: physical block (storage) Status: shipping Record updated: 2026-10-19 A physical sector is the device-level data unit whose reported size describes physical read/write granularity rather than logical addressing. Note: Treat the reported value as information at a particular storage layer, not a measurement of hidden flash geometry. Do not infer application-level power-loss behavior from this field alone. Advantages: - Helps callers choose requests that cover complete physical sectors. (sources: [microsoft-buffering]) Limitations: - Linux can synthesize the reported physical block size from component devices in a stacked configuration. (sources: [linux-abi]) - Torn-write protection requires a separately supported atomic-write contract. (sources: [linux-atomic]) Related terms: - [logical-sector](https://hesela.dev/terms/logical-sector/) - [advanced-format](https://hesela.dev/terms/advanced-format/) - [512e](https://hesela.dev/terms/512e/) - [4kn-native](https://hesela.dev/terms/4kn-native/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [torn-write](https://hesela.dev/terms/torn-write/) - [rwf-atomic](https://hesela.dev/terms/rwf-atomic/) - [minimum-io-size](https://hesela.dev/terms/minimum-io-size/) - [optimal-io-size](https://hesela.dev/terms/optimal-io-size/) - [alignment-offset](https://hesela.dev/terms/alignment-offset/) Citations: - [linux-abi] Linux 6.12: stable sysfs block ABI, sector sizes and I/O topology. https://raw.githubusercontent.com/torvalds/linux/v6.12/Documentation/ABI/stable/sysfs-block (accessed 2026-10-12) - [microsoft-buffering] Microsoft: File buffering, alignment and file access requirements. https://learn.microsoft.com/en-us/windows/win32/fileio/file-buffering (accessed 2026-10-12) - [linux-atomic] Linux ext4 documentation: Atomic Block Writes, requirements and semantics. https://docs.kernel.org/filesystems/ext4/atomic_writes.html (accessed 2026-10-12) - [hesela-sector-alignment] Hesela: 512e, 4Kn and alignment: geometry is not durability. https://hesela.com/analyses/sector-sizes-alignment-not-durability/ (accessed 2026-10-12) ### Physical volume (LVM) URL: https://hesela.dev/terms/physical-volume/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: LVM physical volume, PV Status: shipping Record updated: 2026-10-20 In Linux LVM, a physical volume is a block device initialized for LVM use whose allocatable extents can supply a volume group. Note: A PV can use a whole device or a partition. pvcreate writes an LVM label and configures metadata areas; it does not create a filesystem. The name therefore does not imply an entire physical disk. [pvcreate] A PV may be configured with zero VG metadata copies. Its allocatable data area and its metadata configuration are separate properties; do not assume every PV carries a copy of the group's configuration. [pvcreate] Resizing the underlying device does not by itself update LVM's recorded PV size. pvresize changes that size and refuses a shrink if allocated extents remain beyond the proposed end. Filesystem free space alone does not establish that those physical extents are unallocated. [pvresize] Limitations: - Initializing a PV writes to the selected device; it is not a read-only discovery operation. (sources: [pvcreate]) Related terms: - [lvm](https://hesela.dev/terms/lvm/) - [volume-group](https://hesela.dev/terms/volume-group/) - [logical-volume](https://hesela.dev/terms/logical-volume/) - [block-storage](https://hesela.dev/terms/block-storage/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [pvmove](https://hesela.dev/terms/pvmove/) Citations: - [pvcreate] LVM2 pvcreate(8): PV initialization and metadata-copy configuration. https://man7.org/linux/man-pages/man8/pvcreate.8.html (accessed 2026-10-20) - [pvresize] LVM2 pvresize(8): device-size changes and allocated-extent shrink check. https://man7.org/linux/man-pages/man8/pvresize.8.html (accessed 2026-10-20) ### Physiological logging URL: https://hesela.dev/terms/physiological-logging/ Also known as: Physiological redo logging Status: shipping Record updated: 2026-11-13 Physiological logging identifies an affected database page explicitly while describing the change as a logical operation within that page. Note: The redo record includes a page identifier, an operation and its arguments. This differs from logical redo that locates the target for example through a key lookup, and from physical logging tied to byte offsets within the page. The record format and the recovery protocol must be considered together. [lomet-2011] Undo need not return to the original page. ARIES/IM shows a concurrent B-tree split moving an inserted key from P1 to P2; rollback then finds the key on P2. Its compensation record logs the deletion actually performed, enabling page-oriented redo of that compensation. ARIES/IM first checks the original page and uses tree traversal when page-oriented undo cannot be performed; not every undo needs a tree search. [aries-im] [aries-beyond] Logical redo that finds a record through a B-tree depends on a usable placement index. In Deuteronomy, data-component recovery therefore precedes transaction-level replay; physiological redo can identify its target page without that tree traversal. This is an ordering dependency, not a universal performance ranking. [lomet-2011] Advantages: - A page identifier allows redo to locate the affected page without retraversing the index to find the record. (sources: [lomet-2011]) Limitations: - Physiological logging is a representation technique, not a synonym for WAL or a complete recovery algorithm; durability and recovery ordering remain protocol requirements. (sources: [aries-beyond]) - A page-LSN comparison is part of the redo protocol, not evidence that an arbitrary operation is intrinsically idempotent. (sources: [lomet-2011], [aries-beyond]) Related terms: - [logical-journaling](https://hesela.dev/terms/logical-journaling/) - [physical-journaling](https://hesela.dev/terms/physical-journaling/) - [page-lsn](https://hesela.dev/terms/page-lsn/) - [compensation-log-record](https://hesela.dev/terms/compensation-log-record/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [in-page-logging](https://hesela.dev/terms/in-page-logging/) Citations: - [lomet-2011] David Lomet, Kostas Tzoumas and Michael Zwilling. Implementing Performance Competitive Logical Recovery. PVLDB 4(7), 430-439 (2011), sections 1.2, 2.1 and 2.2. https://www.vldb.org/pvldb/vol4/p430-lomet.pdf (accessed 2026-11-02) - [aries-im] Mohan and Levine. ARIES/IM: An Efficient and High Concurrency Index Management Method Using Write-Ahead Logging. SIGMOD 1992, Figure 1 and section 3, p. 378. https://users.cs.utah.edu/~pandey/courses/cs6530/fall23/papers/logrecover/aries.pdf (accessed 2026-10-30) - [aries-beyond] C. Mohan. Repeating History Beyond ARIES. VLDB 1999, sections 3.2.1-3.2.2. https://www.vldb.org/conf/1999/P1.pdf (accessed 2026-10-30) - [hesela-wal] Hesela: Physiological redo and logical undo in database recovery. https://hesela.com/analyses/wal-checkpoints-torn-pages/#physiological-logging (accessed 2026-10-30) ### PI application tag URL: https://hesela.dev/terms/pi-application-tag/ Related analysis: https://hesela.com/analyses/protection-information-escape-tags/ Also known as: Protection-information application tag Status: shipping Record updated: 2026-11-05 A protection-information application tag is an opaque field used for configured comparisons and protocol-defined checking escapes. Note: Linux v6.12's eight-byte t10_pi_tuple assigns 16 bits to this field and describes it as opaque storage. It is separate from the checksum and address fields. [linux-format] In NVM Command Set 1.0e, zero mask bits exclude corresponding application-tag bits from comparison. A protocol-defined escape can instead disable all PI checks. Masking and escaping are different mechanisms. [nvm-fields] Hesela inference: an application tag is not inherently an application identifier or a committed-generation counter. Any such interpretation needs an explicit producer/consumer contract. Automatic metadata generation below an application also limits what an end-to-end claim establishes. [linux-boundary] Sources and caveats: - Source synthesis scoped to Linux v6.12 and NVM Command Set 1.0e; not a device test, support matrix or extension of the existing CRC experiment. Related terms: - [protection-information](https://hesela.dev/terms/protection-information/) - [pi-guard-tag](https://hesela.dev/terms/pi-guard-tag/) - [pi-reference-tag](https://hesela.dev/terms/pi-reference-tag/) - [io-uring-integrity-metadata](https://hesela.dev/terms/io-uring-integrity-metadata/) Citations: - [linux-format] Linux v6.12: T10 PI tuple and protection-type comments (GPL-2.0). https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/t10-pi.h (accessed 2026-11-05) - [nvm-fields] NVM Express NVM Command Set Specification 1.0e, sections 5.2.1 and 5.2.3, pp. 78-84 and 94-95; copyright 2008 to 2024 NVM Express, Inc. ALL RIGHTS RESERVED. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0e-2024.07.29-Ratified.pdf (accessed 2026-11-05) - [linux-boundary] Linux v6.12 Data Integrity documentation, sections 2 and 3 (historical design context). https://docs.kernel.org/6.12/block/data-integrity.html (accessed 2026-11-05) ### PI guard tag URL: https://hesela.dev/terms/pi-guard-tag/ Related analysis: https://hesela.com/analyses/protection-information-escape-tags/ Also known as: Protection-information guard tag Status: shipping Record updated: 2026-11-05 A protection-information guard tag stores a checksum for the data covered by a selected storage-integrity format. Note: Linux v6.12's t10_pi_tuple has a 16-bit guard field beside separate application and reference tags. The checksum value does not itself encode the intended address. [linux-format] Specify both the checksum algorithm and covered bytes. As historical design context, Linux's integrity documentation describes host-side checksums that a controller can translate, so a generic PI label does not identify one algorithm or one application-to-device boundary. [linux-boundary] NVM Command Set 1.0e defines 16-, 32- and 64-bit guard formats. A protection type is not a guard width. In that revision, 32- and 64-bit guard formats require logical blocks of at least 4 KiB (sections 5.2.1.2 and 5.2.1.3). A successful command may involve a disabled or escaped check; it does not by itself prove that the guard was compared. [nvm-fields] Sources and caveats: - Source synthesis scoped to Linux v6.12 and NVM Command Set 1.0e; not a device test, support matrix or extension of the existing CRC experiment. Related terms: - [protection-information](https://hesela.dev/terms/protection-information/) - [pi-application-tag](https://hesela.dev/terms/pi-application-tag/) - [pi-reference-tag](https://hesela.dev/terms/pi-reference-tag/) - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) Citations: - [linux-format] Linux v6.12: T10 PI tuple and protection-type comments (GPL-2.0). https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/t10-pi.h (accessed 2026-11-05) - [nvm-fields] NVM Express NVM Command Set Specification 1.0e, sections 5.2.1 and 5.2.3, pp. 78-84 and 94-95; copyright 2008 to 2024 NVM Express, Inc. ALL RIGHTS RESERVED. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0e-2024.07.29-Ratified.pdf (accessed 2026-11-05) - [linux-boundary] Linux v6.12 Data Integrity documentation, sections 2 and 3 (historical design context). https://docs.kernel.org/6.12/block/data-integrity.html (accessed 2026-11-05) ### PI reference tag URL: https://hesela.dev/terms/pi-reference-tag/ Related analysis: https://hesela.com/analyses/protection-information-escape-tags/ Also known as: Protection-information reference tag, Logical block reference tag Status: shipping Record updated: 2026-11-05 A protection-information reference tag carries address-related information whose checking depends on the selected protection type and format. Note: Linux v6.12's t10_pi_tuple uses a 32-bit reference field for a target or indirect logical-block address; its Type 3 description does not define a reference-address check. Do not assume every PI tuple validates location. [linux-format] NVM Command Set 1.0e distinguishes protection type from field layout and permits configurable storage/reference allocation. A reference field need not have the width of the host address. [nvm-fields] Hesela inference: matching an address-related tag does not prove freshness. A previously valid data/tag pair can still represent an older version unless another mechanism checks the expected generation. This is a limit of the information supplied to the checker, not evidence of a device vulnerability. [linux-format] Sources and caveats: - Source synthesis scoped to Linux v6.12 and NVM Command Set 1.0e; not a device test, support matrix or extension of the existing CRC experiment. Related terms: - [protection-information](https://hesela.dev/terms/protection-information/) - [pi-guard-tag](https://hesela.dev/terms/pi-guard-tag/) - [pi-application-tag](https://hesela.dev/terms/pi-application-tag/) - [logical-block-address](https://hesela.dev/terms/logical-block-address/) - [misdirected-write](https://hesela.dev/terms/misdirected-write/) - [lost-write](https://hesela.dev/terms/lost-write/) Citations: - [linux-format] Linux v6.12: T10 PI tuple and protection-type comments (GPL-2.0). https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/linux/t10-pi.h (accessed 2026-11-05) - [nvm-fields] NVM Express NVM Command Set Specification 1.0e, sections 5.2.1 and 5.2.3, pp. 78-84 and 94-95; copyright 2008 to 2024 NVM Express, Inc. ALL RIGHTS RESERVED. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0e-2024.07.29-Ratified.pdf (accessed 2026-11-05) - [linux-boundary] Linux v6.12 Data Integrity documentation, sections 2 and 3 (historical design context). https://docs.kernel.org/6.12/block/data-integrity.html (accessed 2026-11-05) ### Piggybacking code URL: https://hesela.dev/terms/piggybacking-code/ Also known as: Piggyback codes, Piggybacking framework Status: research Record updated: 2026-11-22 A piggybacking code couples code instances by adding functions of earlier messages to later instances while preserving the base code's recovery sets. Note: Recover each earlier message before removing its contribution from the next instance. With an MDS base code, any k of n nodes still recover all messages; invertible within-node transformations preserve this property. Repair savings require additional design. [framework] Hesela's GF(3) example stores (a0,b0), (a1,b1), and (a0+a1,b0+b1+g(a0,a1)). Four functions, including a nonlinear product, preserve all 81 messages for every two-node survivor pair: 972 round trips. This is an original recovery example, not an efficient repair construction. [model] Changing the last node to (a0+a1+b0,b0+b1+a0) creates an unsafe cycle. Losing node 0 leaves 27 observations for 81 messages. Inputs (0,0,0,0) and (1,0,2,0) collide. This does not say every cyclic construction fails. [model] A repair promise for some selected d helpers is weaker than one for any d helpers. Hulett and Wootters' six-node, two-symbol GF(7) example repairs each node with four downloaded symbols from a selected set. Their bounds assume scalar MDS base codes and linear repair without symbol extension. [limits] For that fixed code, 223,050 helper-subspace checks establish a minimum of four symbols for 6 of 30 failure/helper-set pairs and five for the other 24. The search includes unused and two-symbol helpers, with matching repair witnesses. This is noninteractive GF(7)-linear repair without symbol extension. All 20 three-node subsets still recover the data; losing cheap repair is not data loss. [minimum] Sources and caveats: - Primary mathematical sources reviewed beyond their abstracts. This record describes a construction framework, not a default HDFS policy. - The independently authored finite model is exhaustively enumerated, without sampled data or estimated uncertainty. It checks recovery, not latency, bandwidth savings, disk reads or field reliability. - Run node --test model.test.js beside model.js; both files are available under /research/piggybacking/. The code introduces no third-party dependencies. - The Figure 4 matrices and all six published dual certificates are verified on a field basis. The additional exhaustive search covers this fixed code and four helpers each returning one GF(7)-linear symbol; nonlinear repair and symbol extension are excluded. - Run python3 -B minimum.py --check beside minimum-results.json to recompute the full minimum inventory. test_minimum.py checks witnesses and invalid inputs, not the exhaustive lower bound. No packages or private repository are needed. Related terms: - [hitchhiker](https://hesela.dev/terms/hitchhiker/) - [subpacketization](https://hesela.dev/terms/subpacketization/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [repair-read-amplification](https://hesela.dev/terms/repair-read-amplification/) - [optimal-access-repair](https://hesela.dev/terms/optimal-access-repair/) Citations: - [framework] Rashmi, Shah and Ramchandran. A Piggybacking Design Framework for Read-and Download-efficient Distributed Storage Codes, section II and Appendix. https://www.cs.cmu.edu/~nihars/publications/Piggybacking.pdf (accessed 2026-11-22) - [limits] Hulett and Wootters. Limitations on the Achievable Repair Bandwidth of Piggybacking Codes with Low Substriping (2017), arXiv:1707.02337v1, sections 3, 5 and 6. https://arxiv.org/abs/1707.02337v1 (accessed 2026-11-22) - [model] Hesela: exhaustive GF(3) recovery checks and a cyclic-coupling collision. https://hesela.dev/research/piggybacking/model.test.js (accessed 2026-11-22) - [reading] Hesela: local repair, Hitchhiker read plans and physical-read boundaries. https://hesela.com/analyses/lrc-repair-costs-locality/#hitchhiker-read-plans (accessed 2026-11-22) - [helper-results] Hesela: exhaustive four-helper GF(7) search for Figure 4, with per-set counts and repair witnesses. https://hesela.dev/research/piggybacking/helpers-results.json (accessed 2026-11-22) - [helper-code] Hesela: executable helper-set search and GF(7) generator. https://hesela.dev/research/piggybacking/helpers.js (accessed 2026-11-22) - [helper-tests] Hesela: dual-certificate, MDS, exhaustive-search and input-validation tests. https://hesela.dev/research/piggybacking/helpers.test.js (accessed 2026-11-22) - [minimum] Hesela: exact helper-set minima, all 223,050 subspaces and matching four- or five-symbol witnesses. https://hesela.dev/research/piggybacking/minimum-results.json (accessed 2026-11-22) - [minimum-method] Hesela: method, per-node result table and reproduction instructions for fixed-code repair minima. https://hesela.dev/research/piggybacking/MINIMUM.md (accessed 2026-11-22) - [minimum-code] Hesela: standalone exhaustive GF(7) lower-bound search and constructive upper-bound certificates. https://hesela.dev/research/piggybacking/minimum.py (accessed 2026-11-22) - [minimum-tests] Hesela: certificate inventory, MDS recovery and negative-control tests. https://hesela.dev/research/piggybacking/test_minimum.py (accessed 2026-11-22) ### Pineapple URL: https://hesela.dev/terms/pineapple/ Also known as: Pineapple replication Status: research Record updated: 2026-11-16 Pineapple is a replication protocol that combines Multi-Paxos with atomic shared registers to support linearizable reads, writes and one-shot transactions. Note: Any node can coordinate single-key reads and writes. The leader orders RMWs and multi-key operations. Pstamps combine an ABD tag with a Multi-Paxos slot; the leader first queries a quorum because an earlier register write may have bypassed it. [nsdi25] Non-blocking execution means execution can follow an ordering decision without a separate dependency wait. It does not eliminate network waits or leader-election delays. Partial synchrony is still needed for leader progress. [nsdi25] Leader changes require ballot-aware stamps and read retry rules from Appendix A.2. A read completes only with a quorum agreeing on its leader and value-pstamp pair; the stable-leader pseudocode alone omits this safeguard. [nsdi25] Limitations: - Independently reading each key does not implement an atomic multi-key scan. One-shot transactions instead go through the leader, whose quorum includes itself. (sources: [nsdi25]) Sources and caveats: - Protocol interpretation, not an executed cluster benchmark. Research classification does not imply that stock etcd uses this protocol. Related terms: - [gryff](https://hesela.dev/terms/gryff/) - [linearizability](https://hesela.dev/terms/linearizability/) - [compare-and-swap](https://hesela.dev/terms/compare-and-swap/) Citations: - [nsdi25] Bantikyan et al. Pineapple: Unifying Multi-Paxos and Atomic Shared Registers. NSDI 2025, pp. 759-778; sections 2-3 and Appendix A. https://www.usenix.org/system/files/nsdi25-bantikyan.pdf (accessed 2026-11-16) ### Pipelined Read-Retry URL: https://hesela.dev/terms/pipelined-read-retry/ Related analysis: https://hesela.com/analyses/nand-read-retry-latency/ Also known as: PR2 Status: research Record updated: 2026-10-22 Pipelined Read-Retry overlaps NAND retry sensing with transfer and decoding of earlier attempts. Note: Park's research design uses CACHE READ and cancels unnecessary speculative work after successful decoding; its SSD evaluation used simulation. [park] In regular read-retry each step senses, transfers and decodes before the next begins, so N steps take N x (tR + tDMA + tECC). Because a retry step is another read of the same page, CACHE READ lets the chip sense step k+1 while step k is transferred and decoded, giving N x tR + tDMA + tECC. After a successful decode the one speculative sensing still running is ended with RESET, which takes about 5 µs. [park] In a simulated 512 GiB drive over twelve workloads, pipelining alone cut response time by up to 38.3% and by 17.7% on average. [park] With tR = 90 µs, tDMA = 16 µs and tECC = 20 µs, 19.9 steps take about 2,507 µs regularly and 1,827 µs pipelined, and the saving approaches 36 / 126 = 28.6% for many steps. Sequential cache reads of different pages raised block-read speed from 15,633 to 18,285 KiB/s on a small-page chip. [kpatch] The Linux NAND driver enables cache reads only when controller and chip support them, no read-retry modes and no on-die ECC are in use, and the request covers at least two full pages, and some chips lack the command or fail with it. [knand] [kopt] Advantages: - No change to the NAND chip is needed, only controller behaviour with an existing command that relies on an extra page buffer in the chip. (sources: [park]) Limitations: - Speculative sensing occupies the chip for one extra step and can delay other operations if it is not cancelled promptly. (sources: [park]) Sources and caveats: - The retry-time results are simulation by the technique's university authors; the abstract gives different headline figures from the evaluation section, whose numbers are used. - The kernel evidence covers sequential cache reads of different pages, not re-reading one page, so it does not confirm that real chips accept CACHE READ on the same page; the driver code gives no reason for the read-retry exclusion. - CACHE READ support is optional in the standards and uneven in practice. - Arithmetic: 19.9 x 126 = about 2,507 µs; 19.9 x 90 + 36 = 1,827 µs, 27.1% less; 8 steps give 1,008 against 756 µs; the mailing-list figures give +17.0% for a block and +5.6% for two pages. - The read-retry survey is university-led with one drive-maker co-author. Related terms: - [read-retry](https://hesela.dev/terms/read-retry/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [adaptive-read-retry](https://hesela.dev/terms/adaptive-read-retry/) Citations: - [park] Park et al. Reducing Solid-State Drive Read Latency by Optimizing Read-Retry. ASPLOS 2021, sections 6-7. DOI: 10.1145/3445814.3446719. https://people.inf.ethz.ch/~omutlu/pub/Reducing-SSD-Read-Latency-by-Optimizing-Read-Retry_asplos21.pdf (accessed 2026-10-14) - [hesela] Hesela: NAND read-retry and stage timing. https://hesela.com/analyses/nand-read-retry-latency/ (accessed 2026-10-14) - [knand] Linux v6.16 drivers/mtd/nand/raw/nand_base.c, sequential cache read and support checks. https://github.com/torvalds/linux/blob/v6.16/drivers/mtd/nand/raw/nand_base.c (accessed 2026-10-16) - [kpatch] Linux MTD mailing list, January 2023: patch series 'mtd: rawnand: Support for sequential cache reads'. https://lists.infradead.org/pipermail/linux-mtd/2023-January/096706.html (accessed 2026-10-16) - [kopt] Linux MTD mailing list, September 2023: follow-up thread on chips that do not support cached reads. https://lists.infradead.org/pipermail/linux-mtd/2023-September/101338.html (accessed 2026-10-16) - [cai2017] Cai et al. Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives. 2017, section 5.4. https://arxiv.org/pdf/1706.08642v3 (accessed 2026-10-16) ### Placement group (Ceph) URL: https://hesela.dev/terms/placement-group/ Related analysis: https://hesela.com/analyses/storage-availability-correlated-failures/ Also known as: Ceph placement group, PG Status: shipping Record updated: 2026-11-13 In Ceph, a placement group is a logical grouping of objects within a pool that share storage placement and are managed together for replication and recovery. Note: Ceph maps objects to placement groups and maps those groups to Object Storage Daemons (OSDs). [ceph-glossary] One OSD can hold data from many placement groups, so a placement group is not a dedicated physical disk or a failure domain. More placement groups can improve distribution but consume CPU, memory and network resources. [ceph-pg] Related terms: - [failure-domain](https://hesela.dev/terms/failure-domain/) - [crush-placement](https://hesela.dev/terms/crush-placement/) - [ceph-up-set](https://hesela.dev/terms/ceph-up-set/) - [ceph-acting-set](https://hesela.dev/terms/ceph-acting-set/) - [ceph-peering](https://hesela.dev/terms/ceph-peering/) - [ceph-deep-scrub](https://hesela.dev/terms/ceph-deep-scrub/) Citations: - [ceph-pg] Ceph Squid documentation: Placement Groups, use and resource costs. https://docs.ceph.com/en/squid/rados/operations/placement-groups/ (accessed 2026-10-13) - [ceph-glossary] Ceph Squid glossary: Ceph OSD means Object Storage Daemon. https://docs.ceph.com/en/squid/glossary/#term-Ceph-OSD (accessed 2026-10-13) - [hesela-availability] Storage availability and correlated failures: placement boundaries. https://hesela.com/analyses/storage-availability-correlated-failures/ (accessed 2026-10-13) ### Planar NAND URL: https://hesela.dev/terms/planar-nand/ Status: eol Planar (2D) NAND is flash memory in which the cells are built in a single layer on the silicon surface, the layout that 3D NAND replaced as a way to raise bit density. Note: In planar NAND the memory cells sit on the silicon surface in one layer, so density rises only by shrinking the cells. Wikipedia's Flash memory article says planar NAND scaling stopped at 16 nm and that 3D NAND continues cost-per-bit reduction by stacking cells vertically, starting from 16 layers; it also notes that the wafer cost of a 3D NAND is comparable with scaled-down planar NAND at 32 nm or less. Hyperstone's 2018 controller-vendor article ties the limit to the cell physics: as density grows each cell gets smaller and holds fewer electrons, which makes data retention more critical, and multi-level encoding (MLC, TLC, QLC) lowers cost per bit but costs endurance and performance, leaving the flash controller to manage program/erase cycles, retention and program disturb. Hyperstone, writing when 3D flash was still under development, described the two 3D routes as floating-gate and charge-trap cells. Wikipedia's Multi-level cell article repeats that, as of 2018, nearly all commercial MLC was planar and so subject to scaling limits. Planar NAND is end-of-life for high-capacity parts, but the same cell concepts (floating gate, charge trap, SLC through QLC) carry over to 3D designs. The cited sources give no per-vendor planar-to-3D transition dates or planar endurance figures, so none are stated here. Advantages: - Cells built on the silicon surface in one layer, so the structure is simpler than a stacked 3D array - Floating-gate cells in 3D NAND can reuse the manufacturing know-how accumulated on 2D production (Hyperstone) - Wafer cost of 3D NAND is comparable to planar NAND scaled to 32 nm or less (Wikipedia), so planar was cost-competitive until scaling ran out Limitations: - Density can only grow by shrinking cells; Wikipedia states planar NAND scaling stopped at 16 nm - Smaller cells store fewer electrons, which makes data retention more critical (Hyperstone) - Packing more bits per cell (MLC, TLC, QLC) lowers cost per bit but reduces endurance and performance, and puts more load on the flash controller - Not the route for new high-capacity flash: the industry moved to vertically stacked cells, per the cited sources Related terms: - [3d-nand](https://hesela.dev/terms/3d-nand/) - [v-nand](https://hesela.dev/terms/v-nand/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [floating-gate](https://hesela.dev/terms/floating-gate/) - [charge-trap-flash](https://hesela.dev/terms/charge-trap-flash/) - [slc](https://hesela.dev/terms/slc/) - [mlc](https://hesela.dev/terms/mlc/) - [tlc](https://hesela.dev/terms/tlc/) - [qlc](https://hesela.dev/terms/qlc/) - [plc](https://hesela.dev/terms/plc/) - [program-interference](https://hesela.dev/terms/program-interference/) - [data-retention](https://hesela.dev/terms/data-retention/) - [program-erase-cycle](https://hesela.dev/terms/program-erase-cycle/) - [die-stacking](https://hesela.dev/terms/die-stacking/) - [flash-controller](https://hesela.dev/terms/flash-controller/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [nor-flash](https://hesela.dev/terms/nor-flash/) - [ssd](https://hesela.dev/terms/ssd/) Citations: - [c1] Flash memory (Wikipedia; vertical NAND, cost and endurance sections). https://en.wikipedia.org/wiki/Flash_memory (accessed 2026-10-11) - [c2] Multi-level cell (Wikipedia; MLC section on planar scaling limits). https://en.wikipedia.org/wiki/Multi-level_cell (accessed 2026-10-11) - [c3] Solid State bit density and the Flash Memory Controller (Hyperstone, 2018; archived copy). https://web.archive.org/web/2023/https://www.hyperstone.com/en/Solid-State-bit-density-and-the-Flash-Memory-Controller-1235.html (accessed 2026-10-11) ### PLC URL: https://hesela.dev/terms/plc/ Also known as: penta-level cell, 5 bits per cell Status: research Record updated: 2026-10-17 Penta-level cell (PLC) NAND encodes five bits per cell using thirty-two threshold-voltage states. Note: Encoding: Five bits require 2^5 = 32 distinguishable states. At equal cell count, 5/4 = 1.25 times QLC's encoded bits; this is not a guaranteed capacity or price ratio for finished drives. [encoding] Architecture: Bits per cell do not specify whether charge is stored in floating gates or a charge-trap layer. A 2021 review describes floating-gate PLC state distributions as a research demonstration. [c2] Sources and caveats: - Goda's 2021 review, Section 5, establishes a historical demonstration, not current shipping availability or a universal PLC endurance value. [c2] - STAR v1 tested TLC/QLC, not PLC; its disputed cycle comparisons cannot establish a PLC lifetime trend. [c3] [evidence-review] Related terms: - [qlc](https://hesela.dev/terms/qlc/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [qlc-ssd](https://hesela.dev/terms/qlc-ssd/) - [tlc-ssd](https://hesela.dev/terms/tlc-ssd/) - [read-retry](https://hesela.dev/terms/read-retry/) Citations: - [c1] PLC (penta-level cell). https://en.wikipedia.org/wiki/Multi-level_cell (accessed 2026-03-26) - [c2] Goda - Recent Progress on 3D NAND Flash Technologies, Electronics 10(24), 3156 (2021), Section 5. https://doi.org/10.3390/electronics10243156 (accessed 2026-10-16) - [c3] Kwon et al. - STAR, arXiv:2511.06249v1 (2025), Section VI. https://arxiv.org/abs/2511.06249v1 (accessed 2026-10-16) - [c4] Papandreou et al. - Open Block Characterization and Read Voltage Calibration of 3D QLC NAND Flash, IRPS 2020. http://roman.pletka.ch/publications/papandreou2020open_block_irps.pdf (accessed 2026-10-16) - [encoding] KIOXIA - Multi-level cell technology: bits and threshold-voltage states. https://www.kioxia.com/en-jp/rd/technology/multi-level-cell.html (accessed 2026-10-16) - [evidence-review] Hesela - 3D NAND retention: STAR v1 consistency check. https://hesela.com/analyses/3d-nand-retention-evidence/#star-evidence (accessed 2026-10-16) ### Perpendicular magnetic recording (PMR) URL: https://hesela.dev/terms/pmr/ Technology reference: https://hesela.com/tech/pmr/ Also known as: perpendicular recording Status: shipping Record updated: 2026-10-28 Recorded firstSeen: 2005 (sources: [toshiba-milestones]) Perpendicular magnetic recording stores magnetization normal to the recording surface, independently of whether tracks overlap or writing is assisted. Note: The magnetic orientation differs from the CMR/SMR distinction, which concerns track overlap. A soft magnetic underlayer strengthens the write field in a conventional PMR stack [pmr-wd-white-paper]. Perpendicular anisotropy can also be present in FePt media studied for HAMR [dong-2016]. A just-over-1-Tb/in2 estimate in a December 2017 technical brief describes a historical head-and-media context, not a universal limit of perpendicular orientation [n2]. Recording density depends on coupled stability, signal-quality and writability constraints [evans-2012]. A 1.8-inch PMR HDD introduction is dated to May 2005 in a 5 June 2006 product announcement. The earlier December 2004 announcement scheduled production for 2005; announcement, planned production and introduction are distinct milestones. [toshiba-introduction-2006] [toshiba-announcement] Exchange-coupled composite media change the grain's internal reversal mechanism, a separate design choice from perpendicular orientation [kapoor-ecc-2006]. Sources and caveats: - firstSeen denotes the 2005 commercialization milestone in Toshiba's retrospective, not invention. The December 2004 announcement scheduled production in the following fiscal year. - HGST's 2006 product introduction in its November 2007 white paper is company-specific; it does not establish the industry's first PMR shipment. - Reviewed 17 October 2026: replaced the undated density-limit framing with its historical context. Related terms: - [cmr](https://hesela.dev/terms/cmr/) - [smr](https://hesela.dev/terms/smr/) - [hamr](https://hesela.dev/terms/hamr/) - [mamr](https://hesela.dev/terms/mamr/) - [longitudinal-recording](https://hesela.dev/terms/longitudinal-recording/) - [areal-density](https://hesela.dev/terms/areal-density/) - [fc-mamr](https://hesela.dev/terms/fc-mamr/) - [mas-mamr](https://hesela.dev/terms/mas-mamr/) - [epmr](https://hesela.dev/terms/epmr/) - [magnetic-anisotropy](https://hesela.dev/terms/magnetic-anisotropy/) - [magnetic-recording-trilemma](https://hesela.dev/terms/magnetic-recording-trilemma/) - [pole-erasure](https://hesela.dev/terms/pole-erasure/) - [exchange-coupled-composite-media](https://hesela.dev/terms/exchange-coupled-composite-media/) Supersedes: - [longitudinal-recording](https://hesela.dev/terms/longitudinal-recording/) Citations: - [toshiba-introduction-2006] Toshiba: 5 June 2006 announcement retrospectively dates 1.8-inch PMR HDD introduction to May 2005. https://www.global.toshiba/ww/news/corporate/2006/06/pr0501.html (accessed 2026-10-23) - [c1] Perpendicular recording. https://en.wikipedia.org/wiki/Perpendicular_recording (accessed 2026-03-26) - [n2] Seagate: HAMR Technology, TP707.1-1712US, December 2017, pp. 1-3. https://www.seagate.com/www-content/ti-dm/tech-insights/en-us/docs/TP707-1-1712US_HAMR.pdf (accessed 2026-10-17) - [n3] Seagate — Heat-Assisted Magnetic Recording (HAMR) overview. https://www.seagate.com/innovation/hamr/ (accessed 2026-10-07) - [pmr-wd-white-paper] HGST: Perpendicular Magnetic Recording Technology, November 2007, pp. 1-4; hosted by Western Digital. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/white-paper/white-paper-pmr.pdf (accessed 2026-10-17) - [dong-2016] Dong et al.: Columnar structured FePt films epitaxially grown on large lattice mismatched intermediate layer (2016), doi:10.1038/srep34637. https://www.nature.com/articles/srep34637 (accessed 2026-10-17) - [evans-2012] Evans et al.: Thermally induced error: density limit for magnetic data storage (2012), doi:10.1063/1.3691196. https://arxiv.org/html/1111.0524v2 (accessed 2026-10-17) - [toshiba-announcement] Toshiba: Perpendicular-recording HDD announcement, 14 December 2004. https://www.global.toshiba/ww/news/corporate/2004/12/pr1401.html (accessed 2026-10-17) - [toshiba-milestones] Toshiba storage milestones: PMR commercialization, 2005 row. https://toshiba.semicon-storage.com/eu/storage/about-our-storage-products/milestones.html (accessed 2026-10-17) - [kapoor-ecc-2006] Kapoor et al.: Effect of intragranular exchange on exchange-coupled composite media (2006), sections II-VI; doi:10.1063/1.2163850. https://www.phy.cuhk.edu.hk/itp/v3/links/mmm/pdfs/08Q902_1.pdf (accessed 2026-10-28) ### PMwCAS URL: https://hesela.dev/terms/pmwcas/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: Persistent multi-word compare-and-swap Status: research Record updated: 2026-11-13 PMwCAS is a lock-free software primitive for atomically and durably updating multiple machine words through persistent operation descriptors. Note: The durable descriptor decision determines whether interrupted updates roll forward or back. Readers participate in the protocol; allocator recovery precedes descriptor recovery, and allocation ownership must remain recoverable. Ordinary pointer stores bypass that contract. [pmwcas-paper] In the inspected SFU fork, EMU selects PMEM and PMEMEMU while also printing a PMDK diagnostic. Accepted configuration is not proof of a successful full build. [pmwcas-build] [pmwcas-callback] Limitations: - A successful volatile-mode test does not establish persistence or recovery after power loss. (sources: [pmwcas-build]) Sources and caveats: - Source review and a replayed CMake configuration-fragment probe; no full index build, runtime experiment or power-cut test. Related terms: - [bztree](https://hesela.dev/terms/bztree/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [durable-linearizability](https://hesela.dev/terms/durable-linearizability/) Citations: - [pmwcas-paper] Wang, Levandoski and Larson. Easy Lock-Free Indexing in Non-Volatile Memory. ICDE 2018, sections III-V. https://justinlevandoski.io/papers/ICDE18_mwcas.pdf (accessed 2026-11-13) - [pmwcas-build] SFU PMwCAS, revision 3ed419f: backend definitions and EMU diagnostic. https://github.com/sfu-dis/pmwcas/blob/3ed419f34e1d2a5c19a4d059007982b212bf06a1/CMakeLists.txt (accessed 2026-11-13) - [pmwcas-callback] SFU PMwCAS, revision 3ed419f: unimplemented PMEM-without-PMDK callback branch. https://github.com/sfu-dis/pmwcas/blob/3ed419f34e1d2a5c19a4d059007982b212bf06a1/src/mwcas/mwcas.h#L119-L130 (accessed 2026-11-13) - [hesela-pmem] Hesela: BzTree recovery and reproducible backend-selection evidence. https://hesela.com/analyses/pmem-persistence-domains-dax/#bztree-recovery (accessed 2026-11-13) ### pNFS layout URL: https://hesela.dev/terms/pnfs-layout/ Also known as: Parallel NFS layout Status: shipping Record updated: 2026-11-09 A pNFS layout describes how a client's file-byte range maps to storage devices for direct data access. Note: A layout's format and storage-access rules depend on its type. Recall asks for return; revocation withdraws access and requires enforcement at the storage devices. The two events are distinct. [pnfs-types] Linux caches layout segments separately from device-ID mappings and data-server records, with references between them. A cached segment is therefore not cached file payload. [linux-layout-cache] For block layouts, clients enforce file-byte ranges and allowed I/O modes because block devices lack that file-level context. Revocation fencing can cover an entire host and logical unit, affecting other layouts on the same storage units. Recall alone does not require this fencing. [pnfs-types] Limitations: - Holding a layout is not evidence that written bytes are persistent. (sources: [pnfs-core]) Related terms: - [pnfs](https://hesela.dev/terms/pnfs/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [nfs-stateid](https://hesela.dev/terms/nfs-stateid/) - [nfs-delegation](https://hesela.dev/terms/nfs-delegation/) - [nfs-commit](https://hesela.dev/terms/nfs-commit/) Citations: - [pnfs-types] RFC 8434: Requirements for Parallel NFS Layout Types, sections 3 and 4.2; control requirements and block-layout fencing. https://www.rfc-editor.org/rfc/rfc8434.html (accessed 2026-11-09) - [linux-layout-cache] Linux kernel documentation: Reference counting in pnfs; layout segments, device mappings and data-server caches. https://docs.kernel.org/filesystems/nfs/pnfs.html (accessed 2026-11-09) - [pnfs-core] RFC 8881: NFSv4.1, sections 12.5.1, 12.5.4 and 13.7; layout access, attribute synchronization and COMMIT routing. https://www.rfc-editor.org/rfc/rfc8881.html#section-12 (accessed 2026-11-09) ### Parallel NFS (pNFS) URL: https://hesela.dev/terms/pnfs/ Also known as: pNFS, Parallel Network File System Status: shipping Record updated: 2026-11-09 Parallel NFS lets clients use metadata-server-provided layouts to access file data directly on storage devices. Note: The metadata server manages the file namespace and layouts; the storage protocol carries data I/O. Layout types specify different protocols and coordination requirements, so pNFS does not mean only NFS-speaking data servers. [pnfs-types] Support is optional in NFSv4.1, and ordinary access through the metadata server remains available. A layout does not replace the required file-access permissions or locking state. [pnfs-core] Limitations: - A layout type's guarantees cannot be transferred unchanged to another type. (sources: [pnfs-types]) Related terms: - [pnfs-layout](https://hesela.dev/terms/pnfs-layout/) - [nfs-storage](https://hesela.dev/terms/nfs-storage/) - [file-storage](https://hesela.dev/terms/file-storage/) - [nas](https://hesela.dev/terms/nas/) - [nfs-stateid](https://hesela.dev/terms/nfs-stateid/) Citations: - [pnfs-types] RFC 8434: Requirements for Parallel NFS Layout Types, sections 1-3; roles, layout-specific protocols and control requirements. https://www.rfc-editor.org/rfc/rfc8434.html (accessed 2026-11-09) - [pnfs-core] RFC 8881: NFSv4.1, sections 12.5.1, 12.5.4 and 13.7; layout access, attribute synchronization and COMMIT routing. https://www.rfc-editor.org/rfc/rfc8881.html#section-12 (accessed 2026-11-09) ### Point-in-time recovery URL: https://hesela.dev/terms/point-in-time-recovery/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: PITR Status: shipping Record updated: 2026-10-20 Point-in-time recovery restores a database to a selected historical state by applying retained transaction-log history to a suitable backup. Note: In PostgreSQL 18 this uses a physical base backup, not a logical pg_dump export; replay restores the whole cluster, not one table. [pg-archive] Timeline history is also required when replay crosses branches. [pg-archive] Advantages: - Can stop replay before an unwanted later transaction. (sources: [pg-target]) Limitations: - Recovery requires an uninterrupted WAL sequence from the backup start through the target. (sources: [pg-archive]) Related terms: - [wal-archiving](https://hesela.dev/terms/wal-archiving/) - [recovery-target](https://hesela.dev/terms/recovery-target/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [postgresql-timeline](https://hesela.dev/terms/postgresql-timeline/) - [timeline-history-file](https://hesela.dev/terms/timeline-history-file/) - [compensation-log-record](https://hesela.dev/terms/compensation-log-record/) - [replication-slot](https://hesela.dev/terms/replication-slot/) Citations: - [pg-archive] PostgreSQL 18: Continuous Archiving and Point-in-Time Recovery. https://www.postgresql.org/docs/18/continuous-archiving.html (accessed 2026-10-14) - [pg-target] PostgreSQL 18: Recovery Target. https://www.postgresql.org/docs/18/runtime-config-wal.html#RUNTIME-CONFIG-WAL-RECOVERY-TARGET (accessed 2026-10-14) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-14) ### Poisson rate model URL: https://hesela.dev/terms/poisson-rate-model/ Status: shipping Record updated: 2026-12-01 A Poisson rate model represents an event count over a specified exposure by a Poisson distribution with mean equal to the event rate multiplied by that exposure. Note: For fixed exposure E, the model is X ~ Poisson(lambda E), with lambda measured in events per unit exposure. At zero observed events, P(X = 0) = exp(-lambda E), giving the exact one-sided upper bound lambda_U = -ln(alpha)/E under this count model. At 95% confidence alpha = 0.05. Exposure in drive-years gives a bound in events per drive-year, not a failure probability. [nist-hpp] [nist-zero-failures] A homogeneous Poisson process has independent exponential gaps and constant event intensity. An arbitrary fleet failure count is not automatically Poisson because its drive-days are known: dependence, a changing risk set, selective withdrawal and varying hazards require analysis of the observation design. Under common exponential survival, p(t) = 1 - exp(-lambda t); equal follow-up alone does not justify that conversion. [nist-hpp] [nist-exponential] [hesela-methods] Related terms: - [p-value](https://hesela.dev/terms/p-value/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [binomial-proportion](https://hesela.dev/terms/binomial-proportion/) - [afr](https://hesela.dev/terms/afr/) - [drive-day](https://hesela.dev/terms/drive-day/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [interarrival-time](https://hesela.dev/terms/interarrival-time/) - [rate-of-occurrence-of-failures](https://hesela.dev/terms/rate-of-occurrence-of-failures/) - [right-censoring](https://hesela.dev/terms/right-censoring/) - [exponential-distribution](https://hesela.dev/terms/exponential-distribution/) - [prediction-interval](https://hesela.dev/terms/prediction-interval/) - [rate-ratio](https://hesela.dev/terms/rate-ratio/) Citations: - [nist-hpp] NIST e-Handbook: Homogeneous Poisson Process. https://www.itl.nist.gov/div898/handbook/apr/section1/apr171.htm (accessed 2026-10-17) - [nist-zero-failures] NIST e-Handbook: Constant repair rate model and zero-failure confidence bounds. https://www.itl.nist.gov/div898/handbook/apr/section4/apr451.htm (accessed 2026-10-17) - [nist-exponential] NIST e-Handbook: Exponential lifetime distribution. https://www.itl.nist.gov/div898/handbook/apr/section1/apr161.htm (accessed 2026-10-17) - [hesela-methods] Hesela: AFR is a rate, not a one-year failure probability. https://hesela.com/analyses/afr-rate-not-probability/ (accessed 2026-10-17) ### Pole erasure URL: https://hesela.dev/terms/pole-erasure/ Related article: https://hesela.com/tech/pmr/ Status: unknown Record updated: 2026-10-17 Pole erasure is unintended disturbance of recorded data by a write pole's residual magnetic field after the write current has stopped. Note: The field comes from remanent magnetization in the writer, not necessarily from an external magnet. It is distinct from a thermal reversal in an isolated media grain and from interference caused by deliberately writing a neighboring track [pmr-wd-white-paper]. Experiments with fabricated single-pole writers found that shortening the main-pole throat could suppress remanence-related erasure in the tested geometry [nakamoto-2003]. Geometry and magnetic-domain behavior matter; turning off current does not prove that the local magnetic field is zero. Sources and caveats: - Nakamoto et al., 2003: publisher abstract reviewed; scanned full text obtained but not text-reviewed. No dimensional threshold or numerical outcome is generalized. - The 2007 HGST explanation is historical component engineering, not a measured failure rate for present-day drives. Related terms: - [pmr](https://hesela.dev/terms/pmr/) - [magnetic-anisotropy](https://hesela.dev/terms/magnetic-anisotropy/) - [adjacent-track-interference](https://hesela.dev/terms/adjacent-track-interference/) - [superparamagnetic-limit](https://hesela.dev/terms/superparamagnetic-limit/) Citations: - [pmr-wd-white-paper] HGST: Perpendicular Magnetic Recording Technology, November 2007, pp. 1-4; hosted by Western Digital. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/white-paper/white-paper-pmr.pdf (accessed 2026-10-17) - [nakamoto-2003] Nakamoto et al.: Single-Pole/TMR Heads for 100Gb/in2 Perpendicular Recording (2003), doi:10.3379/jmsjmag.27.124. https://www.jstage.jst.go.jp/article/jmsjmag/27/3/27_3_124/_article/-char/en (accessed 2026-10-17) ### Pollaczek-Khinchine mean formula URL: https://hesela.dev/terms/pollaczek-khinchine-formula/ Also known as: Pollaczek-Khinchin formula, P-K mean formula Status: research Record updated: 2026-11-20 The Pollaczek-Khinchine mean formula gives stationary mean queueing delay in an M/G/1 FCFS queue from the arrival rate and the first two service-time moments. Note: For one work-conserving FCFS server with unlimited waiting space, independent Poisson arrivals and iid service times S, let rho = lambda E[S] < 1. With a finite second moment, E[Q] = lambda E[S^2] / (2(1-rho)); E[R] = E[Q] + E[S]. Lambda and S must use compatible time units. There are no vacations or abandonment in this model. [pk-mean] The second moment is Var(S) + E[S]^2, not just E[S]^2. Low utilization alone therefore does not guarantee short waiting when service times vary. The general-arrival Kingman expression discussed by Harchol-Balter and Scully is an approximation, not an exact replacement for this Poisson result. [queueing-practitioners] In Hesela's constructed example, constant 1 ms service and a mixture of 99% 0.5 ms requests with 1% 50.5 ms requests both average 1 ms. At 200 requests/s, both have 20% utilization, but mean waiting is 0.125 ms versus 3.21875 ms. The second moment of the mixture is 25.75 ms^2. These are exact model calculations, not device measurements. [hesela-mg1] The formula is for a mean, not p99. A completion-latency sample is not automatically a service-time sample, and a multiqueue SSD is not automatically one FCFS server. [hesela-mg1] Sources and caveats: - Primary theory and source synthesis; no empirical sample or SSD prediction. - The exact examples use Python Fraction and retain request-weighted probabilities, compatible units and stability checks. Related terms: - [service-time](https://hesela.dev/terms/service-time/) - [queueing-delay](https://hesela.dev/terms/queueing-delay/) - [inspection-paradox](https://hesela.dev/terms/inspection-paradox/) - [kingman-approximation](https://hesela.dev/terms/kingman-approximation/) - [processor-sharing](https://hesela.dev/terms/processor-sharing/) Citations: - [pk-mean] Larson and Odoni: Urban Operations Research, section 4.7, equations 4.79-4.82; M/G/1 mean waiting. https://web.mit.edu/urban_or_book/www/book/chapter4/4.7.html (accessed 2026-11-19) - [queueing-practitioners] Harchol-Balter and Scully: The most common queueing theory questions asked by computer systems practitioners, section 1. https://www.cs.cmu.edu/~harchol/Papers/TeaPACS21.pdf (accessed 2026-11-19) - [hesela-mg1] Hesela: exact service-variance examples, assumptions, rational outputs and replay tests. https://hesela.dev/research/mg1-variance/README.md (accessed 2026-11-19) ### Pond URL: https://hesela.dev/terms/pond/ Also known as: Pond memory pooling Status: research Record updated: 2026-11-16 Pond is a research CXL memory-pooling design that assigns local and pooled DRAM to virtual machines using predicted latency sensitivity and untouched memory. Note: Pond preallocates a VM's memory rather than oversubscribing it. A memory-only virtual NUMA node (zNUMA) steers initial guest allocations toward local DRAM. Predictions choose the split; a QoS monitor mitigates mistakes. Each pool slice belongs to at most one host at a time. [paper] Evidence: Experiments cover 158 workloads using NUMA-based CXL emulation. Simulations use 75 days of requests from 100 clusters in 34 datacenters. Figure 21 reports 7% lower aggregate DRAM requirements for a 16-socket pool in the higher-latency scenario, at a 5% performance-degradation margin and 98% target tail percentage. This is a trace-driven simulation result, not a measured fleet saving. [paper] Latency denominator: local/remote pairs are 78/142 ns and 115/255 ns. Remote latency is about 1.82x and 2.22x local latency, or 82% and 122% higher. The paper's 182%/222% labels describe ratios, not additional increases of those amounts. They are not application slowdown. [paper] [examples] Pooling scope: CXL 2.0 excludes mapping one physical memory location to multiple hosts simultaneously. Logical devices can share bandwidth without sharing the same bytes. This is version-specific, not a restriction on every later CXL version. [cxl2] Capacity check: aggregate free bytes do not ensure VM admission. Constructed examples separate free cores, local GiB, accessible pool GiB and an assumed minimum-local requirement; they do not predict that requirement from performance. [examples] [code] Limitations: - The author artifact supplies emulation scripts, not the full Pond system. Its README warns against using memeater for memory-tiering tests because its pages can migrate. (sources: [artifact]) Sources and caveats: - Primary-source review of the ASPLOS 2023 paper (CC BY 4.0), version-pinned author artifact and CXL Consortium explanation. No native Pond or CXL workload experiment was run by Hesela. - The worked admission predicate is an original constructed example, not the Pond scheduler, trace replay, performance model or cost forecast. It excludes contention, topology, fragmentation, failure domains and reconfiguration delays. - The pinned scripts disable remote CPUs and change host settings, including swap and ASLR. They were inspected, not executed. Reproduction requires an isolated, appropriately authorized system. [artifact] Related terms: - [cxl-memory](https://hesela.dev/terms/cxl-memory/) - [memory-stranding](https://hesela.dev/terms/memory-stranding/) - [cxl-memory-pooling](https://hesela.dev/terms/cxl-memory-pooling/) Citations: - [paper] Li et al. Pond: CXL-Based Memory Pooling Systems for Cloud Platforms. ASPLOS 2023, pp. 574-587. DOI 10.1145/3575693.3578835; sections 2-6. https://www.microsoft.com/en-us/research/wp-content/uploads/2022/10/2023_Pond_asplos23_official_asplos_version.pdf (accessed 2026-11-16) - [artifact] Pond author artifact README, commit 5ac0e66b3624b9324cc9042abcd930127005d4bc: emulation scope and memory-tiering warning. https://github.com/MoatLab/Pond/blob/5ac0e66b3624b9324cc9042abcd930127005d4bc/README.md (accessed 2026-11-16) - [cxl2] CXL Consortium: CXL 2.0 memory pooling Q&A, 21 May 2021; ownership and bandwidth. https://computeexpresslink.org/blog/cxl-2-0-specification-memory-pooling-questions-from-the-webinar-part-2-2391/ (accessed 2026-11-16) - [examples] Hesela: constructed single-VM admission examples and latency-ratio arithmetic (JSON). https://hesela.dev/research/pond-admission.json (accessed 2026-11-16) - [code] Hesela: executable admission predicate and latency arithmetic (JavaScript). https://hesela.dev/research/pond-admission.mjs (accessed 2026-11-16) ### Position error signal (PES) URL: https://hesela.dev/terms/position-error-signal/ Also known as: PES Status: shipping Record updated: 2026-10-25 In an HDD servo, the position error signal represents the difference between the head's measured position and its target position. Note: During track following, servo patterns provide a radial offset relative to the selected track. One illustrated encoding compares servo-burst amplitudes; that example is not a requirement for all drives. [servo-honda] The controller uses position error to adjust actuator drive. Seeking moves toward another track, settling reduces the residual motion, and following corrects small positioning deviations during access. [servo-patent] Position error is a control quantity, not a count of damaged sectors. Residual error during feedback operation alone does not establish mechanical damage; head-to-disk clearance is a different physical quantity. [servo-honda] [mechanics] The reference also matters: a servo-written center can differ from an ideal circle because of written-in repeatable runout. A small measured PES does not alone establish an ideal circular trajectory. [servo-rro] Sources and caveats: - This definition concerns HDD positioning, not all uses of PES in other fields. The cited sources supply no universal diagnostic threshold or conversion from a SMART counter to displacement. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [seek-time](https://hesela.dev/terms/seek-time/) - [rotational-vibration](https://hesela.dev/terms/rotational-vibration/) - [embedded-servo](https://hesela.dev/terms/embedded-servo/) Citations: - [servo-honda] Honda: Temperature Dependent Robust Control of Hard Disk Drives (2016), sections 2.2-2.4. https://dept.aem.umn.edu/~SeilerControl/Thesis/2016/Honda_16PhD_TemperatureDependentRobustControlOfHDDs.pdf (accessed 2026-10-25) - [servo-patent] Ali / Seagate: Servo wedge skipping during track seeking, US10706882B1 (2020), Figs. 2-4. https://patents.google.com/patent/US10706882B1 (accessed 2026-10-25) - [servo-rro] Wu and Tomizuka: Novel Schemes for Repeatable Runout Compensation Using Adaptive Feedforward Cancellation, CML report 06012, sections I and IV. https://cml.berkeley.edu/wp-content/uploads/blue-reports/06012.pdf (accessed 2026-10-25) - [mechanics] Hesela: HDD mechanical faults, evidence and diagnostic limits. https://hesela.com/analyses/hdd-mechanical-failure-points/#servo-positioning (accessed 2026-10-25) ### POSIX access control list URL: https://hesela.dev/terms/posix-access-control-list/ Related analysis: https://hesela.com/analyses/posix-acl-restore-permissions/ Also known as: POSIX ACL Status: shipping Record updated: 2026-11-16 A POSIX access control list specifies discretionary file permissions for the owner, named users, owning and named groups, and others. Note: Scope: Linux implements the ACL model derived from POSIX.1e draft 17; that work did not become a completed POSIX standard. Access ACLs govern an object; default ACLs on directories initialize new objects. [acl] Mode mapping: with an extended ACL, group-class mode bits represent the mask rather than the owning-group entry alone. A mode-only copy therefore need not preserve the source policy. [acl] Recovery control: Hesela's rsync 3.2.7 probe preserved payload and mode 0660 with -a but lost the named-user entry and changed the owning-group entry to read/write. -aA preserved the ACL; -aX did not. These are metadata observations, not impersonated access tests. [hesela-acl] Access selection: owner checks precede named users; a matching named-user entry that denies a requested operation after masking does not fall through to group or other permissions. Per-entry intersections are therefore not a complete authorization test. [acl] Limitations: - Preserving metadata alone does not establish successful access under the destination's identities and security policy. Related terms: - [acl-mask](https://hesela.dev/terms/acl-mask/) - [default-acl](https://hesela.dev/terms/default-acl/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [umask](https://hesela.dev/terms/umask/) - [setgid-directory](https://hesela.dev/terms/setgid-directory/) - [sticky-bit](https://hesela.dev/terms/sticky-bit/) - [directory-search-permission](https://hesela.dev/terms/directory-search-permission/) - [extended-attribute](https://hesela.dev/terms/extended-attribute/) Citations: - [acl] Linux ACL project: acl(5), permission-bit correspondence and object creation. https://man7.org/linux/man-pages/man5/acl.5.html (accessed 2026-10-19) - [rsync] Rsync manual: --archive, --acls and --xattrs. https://download.samba.org/pub/rsync/rsync.1 (accessed 2026-10-19) - [hesela-acl] Restoring Linux ACLs: identical bytes, different permissions. https://hesela.com/analyses/posix-acl-restore-permissions/ (accessed 2026-10-19) ### POSIX AIO cancellation URL: https://hesela.dev/terms/posix-aio-cancellation/ Related analysis: https://hesela.com/analyses/storage-timeouts-uncertain-completion/ Also known as: aio_cancel Status: shipping Record updated: 2026-11-13 POSIX AIO cancellation attempts to stop requests associated with a submission descriptor, with individual outcomes recorded separately. Note: Batch result: AIO_NOTCANCELED means at least one targeted operation could not be canceled, not that none were canceled. AIO_ALLDONE reports completion without classifying success or failure. Inspect each original request with aio_error, then retrieve its return once with aio_return after termination. [posix-cancel] [posix-return] Descriptor scope: glibc 2.39 groups requests by the submitted descriptor number. In the native control, canceling through a dup alias returned AIO_ALLDONE while the original descriptor's read remained pending. Shared open-file-description identity did not widen that lookup. [glibc-cancel] [posix-observations] Lifetime: an expired aio_suspend wait does not cancel the request. A pending read still requires a valid control block and destination buffer; a shutdown path must account for the original operations and any notification activity. [posix-suspend] [posix-read] Limitations: - Which operations can be canceled is implementation-defined. - Logical file readback does not establish crash durability or rollback of earlier effects. Sources and caveats: - Six scenarios, three repetitions per GCC setting (O0/O2), 36 recorded executions on one Linux 6.8/glibc 2.39-0ubuntu8.9 host. Replays check those observations, not a larger device population. [posix-observations] - The canceled file write was queued behind a pipe gate, not interrupted in hardware. The offline package includes raw observations, source hashes, verification code and a license. [posix-replay] Related terms: - [io-timeout](https://hesela.dev/terms/io-timeout/) - [io-uring-cancellation](https://hesela.dev/terms/io-uring-cancellation/) - [open-file-description](https://hesela.dev/terms/open-file-description/) Citations: - [posix-cancel] POSIX.1-2024: aio_cancel, cancellation scope and batch return values. https://pubs.opengroup.org/onlinepubs/9799919799/functions/aio_cancel.html (accessed 2026-11-13) - [posix-return] POSIX.1-2024: aio_return, terminal status and one-time retrieval. https://pubs.opengroup.org/onlinepubs/9799919799/functions/aio_return.html (accessed 2026-11-13) - [posix-read] POSIX.1-2024: aio_read, control-block and buffer lifetime. https://pubs.opengroup.org/onlinepubs/9799919799/functions/aio_read.html (accessed 2026-11-13) - [posix-suspend] POSIX.1-2024: aio_suspend, expired waits and EAGAIN. https://pubs.opengroup.org/onlinepubs/9799919799/functions/aio_suspend.html (accessed 2026-11-13) - [glibc-cancel] glibc-2.39: rt/aio_cancel.c, __aio_cancel and descriptor-number lookup. https://raw.githubusercontent.com/bminor/glibc/glibc-2.39/rt/aio_cancel.c (accessed 2026-11-13) - [glibc-misc] glibc-2.39: rt/aio_misc.c, helper allocation and request grouping. https://raw.githubusercontent.com/bminor/glibc/glibc-2.39/rt/aio_misc.c (accessed 2026-11-13) - [posix-observations] Hesela: six native POSIX AIO cancellation cases, observed results and environment. https://hesela.dev/research/posix-aio-cancel/summary.json (accessed 2026-11-13) - [posix-replay] Hesela: POSIX AIO cancellation, frozen source, observations, tests and offline replay. https://hesela.dev/research/posix-aio-cancel/posix-aio-cancel.zip (accessed 2026-11-13) ### POSIX_FADV_DONTNEED URL: https://hesela.dev/terms/posix-fadv-dontneed/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: FADV_DONTNEED Status: shipping Record updated: 2026-11-11 POSIX_FADV_DONTNEED is a file-access advice value requesting release of cached data that the application does not expect to access soon. Note: Unwritten dirty pages are not freed, and partial pages are generally retained. The v6.14 generic implementation additionally permits the final partial page when the advised inclusive end is the last file byte; filesystem-specific implementations may differ. [fadvise-api] [fadvise-source] A successful call does not prove eviction or durable completion; posix_fadvise returns an error number directly on failure. [fadvise-api] The v6.14 generic path invalidates a range of the file's shared mapping, without selecting which open file description populated it. A separate open of the same regular file does not isolate eligible cached data from this advice. Unlike RWF_DONTCACHE, the range can include data cached before the caller's transfer. [fadvise-source] Advantages: - Targets a file range rather than dropping system-wide caches. Limitations: - Eviction remains best effort and concurrent access can repopulate the cache. Related terms: - [posix-fadvise](https://hesela.dev/terms/posix-fadvise/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [page-cache](https://hesela.dev/terms/page-cache/) - [posix-fadv-noreuse](https://hesela.dev/terms/posix-fadv-noreuse/) - [rwf-dontcache](https://hesela.dev/terms/rwf-dontcache/) - [fsync](https://hesela.dev/terms/fsync/) - [posix-fadv-willneed](https://hesela.dev/terms/posix-fadv-willneed/) Citations: - [fadvise-api] Linux man-pages 6.19: posix_fadvise(2), advice semantics and return values. https://man7.org/linux/man-pages/man2/posix_fadvise.2.html (accessed 2026-10-15) - [fadvise-source] Linux v6.14 mm/fadvise.c: generic_fadvise, including the end-of-file partial-page exception. https://github.com/torvalds/linux/blob/v6.14/mm/fadvise.c (accessed 2026-11-09) - [hesela-cache-advice] Hesela: O_DIRECT alignment and shared page-cache advice. https://hesela.com/analyses/o-direct-alignment-by-kernel/#cache-retention-sharing (accessed 2026-11-09) ### POSIX_FADV_NOREUSE URL: https://hesela.dev/terms/posix-fadv-noreuse/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: FADV_NOREUSE Status: shipping Record updated: 2026-11-11 POSIX_FADV_NOREUSE is a file-access advice value indicating that the application does not expect to reuse the specified data. Note: On Linux it was a no-op from 2.6.18 through 6.2; since 6.3 it permits page replacement to discount accesses. It neither bypasses the page cache nor promises immediate eviction. [fadvise-api] The v6.14 generic implementation sets FMODE_NOREUSE on the open file description; POSIX_FADV_NORMAL clears it. [fadvise-source] SEQUENTIAL does not clear NOREUSE in the same generic implementation; NORMAL clears both NOREUSE and RANDOM. Advice order therefore matters when a shared handle changes workload. [fadvise-source] Advantages: - Can express one-pass access without changing to direct I/O. Limitations: - Advice is nonbinding and kernel-version dependent. Related terms: - [posix-fadvise](https://hesela.dev/terms/posix-fadvise/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [page-cache](https://hesela.dev/terms/page-cache/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) - [rwf-dontcache](https://hesela.dev/terms/rwf-dontcache/) - [readahead](https://hesela.dev/terms/readahead/) - [posix-fadv-random](https://hesela.dev/terms/posix-fadv-random/) - [posix-fadv-sequential](https://hesela.dev/terms/posix-fadv-sequential/) Citations: - [fadvise-api] Linux man-pages 6.19: posix_fadvise(2), advice semantics and return values. https://man7.org/linux/man-pages/man2/posix_fadvise.2.html (accessed 2026-10-15) - [fadvise-source] Linux v6.14 mm/fadvise.c: generic_fadvise, including the end-of-file partial-page exception. https://github.com/torvalds/linux/blob/v6.14/mm/fadvise.c (accessed 2026-10-15) ### POSIX_FADV_RANDOM URL: https://hesela.dev/terms/posix-fadv-random/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: FADV_RANDOM Status: shipping Record updated: 2026-11-11 POSIX_FADV_RANDOM is a file-access hint indicating that an application expects to access the specified data in random order. Note: Linux applies this policy through the advised handle across the file, not only within the supplied byte range. Advice is nonbinding; a successful call does not report fetched bytes. [fadvise-api] In Linux v6.14 generic_fadvise, RANDOM sets FMODE_RANDOM without changing the saved readahead budget or FMODE_NOREUSE. WILLNEED remains a separate explicit prefetch path. Filesystem-specific handlers and DAX/noop cases can differ. [fadvise-614] The implementation stores policy on struct file. Duplicated descriptors share this open file description; independently opening the same file creates separate policy state, not a separate file cache. [fadvise-614] [open-description] Advantages: - Expresses a random-access expectation without requiring direct I/O. Limitations: - Does not evict cached data, establish durability or forbid explicit prefetch. Sources and caveats: - Source review of Linux v6.14 generic advice behavior; not a native experiment or benchmark. Related terms: - [posix-fadvise](https://hesela.dev/terms/posix-fadvise/) - [posix-fadv-sequential](https://hesela.dev/terms/posix-fadv-sequential/) - [posix-fadv-noreuse](https://hesela.dev/terms/posix-fadv-noreuse/) - [posix-fadv-willneed](https://hesela.dev/terms/posix-fadv-willneed/) - [readahead](https://hesela.dev/terms/readahead/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [page-cache](https://hesela.dev/terms/page-cache/) - [random-io](https://hesela.dev/terms/random-io/) Citations: - [fadvise-api] Linux man-pages: posix_fadvise(2), advice and Linux whole-file scope. https://man7.org/linux/man-pages/man2/posix_fadvise.2.html (accessed 2026-10-23) - [fadvise-614] Linux v6.14 mm/fadvise.c: generic_fadvise policy transitions and overrides. https://github.com/torvalds/linux/blob/v6.14/mm/fadvise.c (accessed 2026-10-23) - [open-description] Linux man-pages: open(2), open file descriptions and duplicated descriptors. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-23) ### POSIX_FADV_SEQUENTIAL URL: https://hesela.dev/terms/posix-fadv-sequential/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: FADV_SEQUENTIAL Status: shipping Record updated: 2026-11-11 POSIX_FADV_SEQUENTIAL is a file-access hint indicating that an application expects to read the specified data in increasing-offset order. Note: Linux documents a doubled backing-device readahead window for the advised handle, across the file rather than only the specified range. This is a policy budget, not a promise that twice as many bytes will be read or that throughput will double. [fadvise-api] Linux v6.14 generic_fadvise assigns twice the backing device's ra_pages and clears FMODE_RANDOM, but leaves FMODE_NOREUSE unchanged. NORMAL instead restores the device budget and clears both flags; it does not restore an arbitrary prior configuration. [fadvise-614] These changes belong to the open file description shared by dup aliases. A separate open can have independent policy while using the same file cache. Filesystem overrides may differ. [fadvise-614] [open-description] Advantages: - Communicates expected access order while retaining buffered I/O. Limitations: - Advice acceptance does not establish prefetch completion or a measured performance benefit. Sources and caveats: - Source review of Linux v6.14 generic advice behavior; not a native experiment or benchmark. Related terms: - [posix-fadvise](https://hesela.dev/terms/posix-fadvise/) - [posix-fadv-random](https://hesela.dev/terms/posix-fadv-random/) - [posix-fadv-noreuse](https://hesela.dev/terms/posix-fadv-noreuse/) - [posix-fadv-willneed](https://hesela.dev/terms/posix-fadv-willneed/) - [readahead](https://hesela.dev/terms/readahead/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [page-cache](https://hesela.dev/terms/page-cache/) - [sequential-io](https://hesela.dev/terms/sequential-io/) Citations: - [fadvise-api] Linux man-pages: posix_fadvise(2), advice and Linux whole-file scope. https://man7.org/linux/man-pages/man2/posix_fadvise.2.html (accessed 2026-10-23) - [fadvise-614] Linux v6.14 mm/fadvise.c: generic_fadvise policy transitions and overrides. https://github.com/torvalds/linux/blob/v6.14/mm/fadvise.c (accessed 2026-10-23) - [open-description] Linux man-pages: open(2), open file descriptions and duplicated descriptors. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-10-23) ### POSIX_FADV_WILLNEED URL: https://hesela.dev/terms/posix-fadv-willneed/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: FADV_WILLNEED Status: shipping Record updated: 2026-11-11 POSIX_FADV_WILLNEED is file-access advice announcing that an application expects to read a specified range soon. Note: The advice covers a region that starts at offset and extends for size bytes. A size of 0 means through the end of the file, although before Linux 2.6.6 it was taken literally as zero bytes. Linux uses this hint to initiate a nonblocking page-cache read, and memory pressure can reduce the amount fetched. The advice is nonbinding; a zero result is not a count of resident bytes. posix_fadvise returns an error number directly on failure. [fadvise-api] In Linux v6.17, generic_fadvise rounds the range out to include the first and last partial pages and passes that page count to force_page_cache_readahead. It accepts and ignores advice for DAX or a noop backing device, and returns ESPIPE for a FIFO. Filesystems may override the generic implementation. [fadvise-617] In Linux v6.14 the downstream force_page_cache_ra helper bounds explicit prefetch by max(io_pages, ra_pages); requesting through EOF does not promise that all those pages will be loaded. [readahead-614] Advantages: - The hint lets applications overlap useful work with data prefetch; successful submission is not a completion barrier. (sources: [fadvise-api]) - Kernel support dates from Linux 2.5.60 and the glibc wrapper from glibc 2.2, so the interface is long established. (sources: [fadvise-api]) Limitations: - Prefetch advice does not pin the requested data in memory or promise a faster subsequent read. (sources: [fadvise-api]) - Since Linux 3.18 the underlying fadvise64 system call is optional, depending on CONFIG_ADVISE_SYSCALLS. (sources: [fadvise-api]) Sources and caveats: - fadvise-api is the Linux man-pages 6.19 posix_fadvise(2) page, re-read for the region semantics, the 2.6.6 zero-length fix, WILLNEED behavior and the version history. - fadvise-617 is mm/fadvise.c at v6.17, re-read on git.kernel.org at the same tag for page rounding, the DAX and noop-device branch and the FIFO check. - hesela-probe is a three-call invalid-descriptor probe of posix_fadvise, readahead and preadv2 error channels. It is not a prefetch or filesystem-support benchmark. - The posix-fadv-dontneed entry links here because it is the opposite advice on the same interface. - 2026-11-08: reviewed the downstream v6.14 prefetch bound; softened an unconditional nonblocking/fetched-range advantage. No measured speedup. Related terms: - [posix-fadvise](https://hesela.dev/terms/posix-fadvise/) - [readahead](https://hesela.dev/terms/readahead/) - [rwf-nowait](https://hesela.dev/terms/rwf-nowait/) - [page-cache](https://hesela.dev/terms/page-cache/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) - [dax](https://hesela.dev/terms/dax/) - [prefetch-wastage](https://hesela.dev/terms/prefetch-wastage/) - [prefetch-trigger-distance](https://hesela.dev/terms/prefetch-trigger-distance/) Citations: - [fadvise-api] Linux man-pages 6.19: posix_fadvise(2), advice and return conventions. https://man7.org/linux/man-pages/man2/posix_fadvise.2.html (accessed 2026-10-23) - [fadvise-617] Linux v6.17: generic_fadvise and filesystem-specific dispatch. https://raw.githubusercontent.com/torvalds/linux/v6.17/mm/fadvise.c (accessed 2026-10-23) - [hesela-probe] Hesela: invalid-descriptor API observations, environment and source hashes. https://hesela.dev/research/prefetch-errors/result.json (accessed 2026-10-17) - [readahead-614] Linux v6.14 mm/readahead.c: file_ra_state_init, force_page_cache_ra and ractl_max_pages. https://github.com/torvalds/linux/blob/v6.14/mm/readahead.c (accessed 2026-11-08) ### posix_fadvise URL: https://hesela.dev/terms/posix-fadvise/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: posix_fadvise(), file-access advice Status: shipping Record updated: 2026-11-11 posix_fadvise is a file-descriptor API that communicates expected data-access patterns as nonbinding advice to the operating system. Note: The C interface takes a descriptor, byte offset, byte length and one advice value. A length of zero means all data after the offset, not an empty request; the range need not already exist. The hints are NORMAL, SEQUENTIAL, RANDOM, WILLNEED, DONTNEED and NOREUSE. [fadvise-api] Success returns zero; failure returns an error number directly, unlike APIs that return -1 and set errno. Success is not a byte count or proof of residency, eviction or durable completion. WILLNEED requests prefetch, DONTNEED requests cache release, and NOREUSE describes reuse expectations. [fadvise-api] The Linux v6.14 generic handler stores NORMAL, SEQUENTIAL, RANDOM and NOREUSE policy on the open file description, while WILLNEED and DONTNEED act on the file mapping. NORMAL restores the device readahead budget and clears RANDOM and NOREUSE; it is not a saved-state undo. The generic DAX/noop path can accept and ignore valid advice, and filesystems may provide their own handler. These are versioned Linux behaviors, not universal effects of the API. [fadvise-614] Advantages: - Expresses access expectations while retaining buffered I/O. Limitations: - Is not a file-space reservation operation, a cache-residency guarantee or a substitute for an explicit durability protocol. Sources and caveats: - Source synthesis of Linux man-pages 6.19 and Linux v6.14 implementation; no new native experiment or performance measurement. Related terms: - [posix-fadv-random](https://hesela.dev/terms/posix-fadv-random/) - [posix-fadv-sequential](https://hesela.dev/terms/posix-fadv-sequential/) - [posix-fadv-noreuse](https://hesela.dev/terms/posix-fadv-noreuse/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) - [posix-fadv-willneed](https://hesela.dev/terms/posix-fadv-willneed/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [page-cache](https://hesela.dev/terms/page-cache/) - [readahead](https://hesela.dev/terms/readahead/) - [buffered-io](https://hesela.dev/terms/buffered-io/) Citations: - [fadvise-api] Linux man-pages 6.19: posix_fadvise(2), arguments, advice and return convention. https://man7.org/linux/man-pages/man2/posix_fadvise.2.html (accessed 2026-11-11) - [fadvise-614] Linux v6.14 mm/fadvise.c: generic advice, ignored advice and filesystem dispatch. https://github.com/torvalds/linux/blob/v6.14/mm/fadvise.c (accessed 2026-11-11) ### posix_fallocate URL: https://hesela.dev/terms/posix-fallocate/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: POSIX file-space allocation Status: shipping Record updated: 2026-10-16 A POSIX library function that reserves storage for a file byte range and reports failure by returning an error number directly. Note: It returns zero on success; do not test for -1 or use errno as its result. glibc 2.40 tries native allocation first and uses emulation after EOPNOTSUPP. Its read/write fallback can race concurrent modifications; this is not a universal property of native allocation or every C library. Related terms: - [file-preallocation](https://hesela.dev/terms/file-preallocation/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [unwritten-extent](https://hesela.dev/terms/unwritten-extent/) - [exfat-valid-data-length](https://hesela.dev/terms/exfat-valid-data-length/) Citations: - [posix-fallocate] Linux man-pages: posix_fallocate(3), return convention and glibc caveats. https://man7.org/linux/man-pages/man3/posix_fallocate.3.html (accessed 2026-10-16) - [glibc-dispatch] glibc 2.40: Linux posix_fallocate dispatch to emulation on EOPNOTSUPP. https://raw.githubusercontent.com/bminor/glibc/glibc-2.40/sysdeps/unix/sysv/linux/posix_fallocate.c (accessed 2026-10-16) - [glibc-emulation] glibc 2.40: generic posix_fallocate read/write emulation. https://raw.githubusercontent.com/bminor/glibc/glibc-2.40/sysdeps/posix/posix_fallocate.c (accessed 2026-10-16) - [hesela-allocation] Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ (accessed 2026-10-16) ### POSIX_MADV_DONTNEED URL: https://hesela.dev/terms/posix-madv-dontneed/ Also known as: POSIX memory discard advice Status: shipping Record updated: 2026-10-20 POSIX_MADV_DONTNEED is a posix_madvise advice value expressing that a mapped memory range is not expected to be accessed soon, without changing the semantics of access to that memory. Note: Advice contract: the implementation may ignore POSIX memory-access advice, but the call must not change access semantics. The range is a virtual-memory address and length, not a file descriptor and offset. [posix-advice] Glibc behavior: the Linux implementation has treated this value as a no-op since glibc 2.6 because native MADV_DONTNEED can discard contents. The pinned glibc 2.39 source returns zero for this advice rather than forwarding it to madvise. [posix-advice-api] [glibc-advice] Measured comparison: Hesela's six-case probe retained P throughout private file and private anonymous pages after the POSIX call. Native discard restored file bytes in the first mapping type and produced zeros in the second. All advice calls returned zero, so success alone did not identify their data effects. [hesela-advice] Error handling: posix_madvise returns zero on success and a positive error number on failure; do not inspect errno as though it were madvise. A successful no-op does not establish cache eviction, page residency, persistence or secure erasure. [posix-advice-api] Advantages: - Communicates expected mapped-memory use without a destructive discard contract. Limitations: - The implementation may ignore the advice; glibc's no-op does not promise memory reclamation. Related terms: - [madv-dontneed](https://hesela.dev/terms/madv-dontneed/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) - [page-cache](https://hesela.dev/terms/page-cache/) Citations: - [posix-advice] POSIX.1-2017: posix_madvise(), advice preserves memory-access semantics. https://man7.org/linux/man-pages/man3/posix_madvise.3p.html (accessed 2026-10-20) - [glibc-advice] glibc 2.39: Linux posix_madvise implementation. https://github.com/bminor/glibc/blob/glibc-2.39/sysdeps/unix/sysv/linux/posix_madvise.c (accessed 2026-10-20) - [posix-advice-api] Linux man-pages: posix_madvise(3), glibc behavior and error convention. https://man7.org/linux/man-pages/man3/posix_madvise.3.html (accessed 2026-10-20) - [hesela-advice] Hesela: When don't need discards private edits. https://hesela.com/analyses/mmap-visibility-size-durability/#discard-advice (accessed 2026-10-20) ### Bitmap heap scan (PostgreSQL) URL: https://hesela.dev/terms/postgresql-bitmap-heap-scan/ Related analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Also known as: PostgreSQL bitmap heap scan Status: shipping Record updated: 2026-11-19 A PostgreSQL bitmap heap scan retrieves visible table tuples selected by a bitmap and performs any required predicate rechecks. Note: Selection: Exact bitmap entries retain tuple offsets, while lossy entries retain candidate pages. Heap access applies snapshot visibility; an index location is not itself a visible result row. [pg-tidbitmap] [pg-heap-bitmap] Rechecks: Exact locations do not guarantee exact predicate matches. An exact page has a separate recheck flag; intersecting exact offsets with a lossy page can retain the offsets but require predicate verification. Increasing work_mem does not eliminate an index access method's approximate matches. [pg-tidbitmap] [pg-explain] Reading EXPLAIN: Recheck Cond displays a planned condition, not a count of evaluations. Rows Removed by Index Recheck counts failed rechecks, not every rechecked tuple; Rows Removed by Filter describes a separate filter. Zero recheck removals does not prove no recheck ran. [pg-bitmap-executor] [pg-explain-counters] Units: Removal counts are rounded per-loop averages; exact/lossy Heap Blocks counters are not divided by loops. Neither measures unique physical-device reads. These fields describe candidate processing, not full TOAST-value verification. [pg-explain-counters] [pg-toast] Sources and caveats: - Counter details refer to PostgreSQL REL_18_0. Documentary comparison with the separate PostgreSQL 16.15 TOAST experiment does not extend its measured coverage. Related terms: - [postgresql-bitmap-index-scan](https://hesela.dev/terms/postgresql-bitmap-index-scan/) - [postgresql-index-only-scan](https://hesela.dev/terms/postgresql-index-only-scan/) - [existence-bitmap](https://hesela.dev/terms/existence-bitmap/) Citations: - [pg-explain] PostgreSQL 18: Using EXPLAIN. https://www.postgresql.org/docs/18/using-explain.html (accessed 2026-11-18) - [pg-tidbitmap] PostgreSQL REL_18_0: TID bitmap precision, recheck flags and intersections. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/nodes/tidbitmap.c (accessed 2026-11-18) - [pg-bitmap-executor] PostgreSQL REL_18_0: bitmap heap scan predicate rechecks. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/executor/nodeBitmapHeapscan.c (accessed 2026-11-18) - [pg-explain-counters] PostgreSQL REL_18_0: EXPLAIN instrumentation and loop denominators. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/commands/explain.c (accessed 2026-11-18) - [pg-heap-bitmap] PostgreSQL REL_18_0: heap bitmap visibility and tuple retrieval. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/access/heap/heapam_handler.c (accessed 2026-11-18) - [pg-toast] PostgreSQL 18: TOAST and deferred external-value retrieval. https://www.postgresql.org/docs/18/storage-toast.html (accessed 2026-11-18) ### Bitmap index scan (PostgreSQL) URL: https://hesela.dev/terms/postgresql-bitmap-index-scan/ Related analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Also known as: PostgreSQL bitmap index scan Status: shipping Record updated: 2026-11-18 A PostgreSQL bitmap index scan builds an in-memory bitmap of candidate table locations from an index search. Note: Plan stage: A Bitmap Index Scan can search an ordinary B-tree index. Its name describes how candidate locations are returned, not a persistent bitmap-index storage format. BitmapAnd and BitmapOr can combine several searches before table access. [pg-bitmap] [pg-bitmap-index] Order: The following heap scan visits candidate pages in physical order, losing the original index-key order. An ORDER BY may therefore require a separate sort. Building and combining bitmaps adds work, so additional usable indexes do not guarantee this plan is cheaper. [pg-bitmap] Precision: Exact bitmap entries retain tuple offsets; lossy entries retain only candidate pages. A work_mem-derived budget can trigger loss of offset precision. BRIN can supply lossy page candidates from its range summaries independently of this memory pressure. [pg-tidbitmap] [pg-bitmap-index] [pg-brin-bitmap] Boundary: Candidate addresses do not establish snapshot visibility or complete predicate satisfaction. Exact entries can carry a recheck flag; the heap scan handles visibility and required rechecks. [pg-tidbitmap] [pg-heap-bitmap] Sources and caveats: - PostgreSQL 18 documentation and REL_18_0 source synthesis; no new database execution or performance measurement. Related terms: - [postgresql-bitmap-heap-scan](https://hesela.dev/terms/postgresql-bitmap-heap-scan/) - [bitmap-index](https://hesela.dev/terms/bitmap-index/) Citations: - [pg-bitmap] PostgreSQL 18: Combining Multiple Indexes. https://www.postgresql.org/docs/18/indexes-bitmap-scans.html (accessed 2026-11-18) - [pg-tidbitmap] PostgreSQL REL_18_0: TID bitmap precision, recheck flags and intersections. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/nodes/tidbitmap.c (accessed 2026-11-18) - [pg-bitmap-index] PostgreSQL REL_18_0: bitmap index scan and work_mem budget. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/executor/nodeBitmapIndexscan.c (accessed 2026-11-18) - [pg-brin-bitmap] PostgreSQL 18: BRIN candidate pages and lossy scans. https://www.postgresql.org/docs/18/brin.html (accessed 2026-11-18) - [pg-heap-bitmap] PostgreSQL REL_18_0: heap bitmap visibility and tuple retrieval. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/access/heap/heapam_handler.c (accessed 2026-11-18) ### Hash index (PostgreSQL) URL: https://hesela.dev/terms/postgresql-hash-index/ Related analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Also known as: PostgreSQL hash index Status: shipping Record updated: 2026-11-18 A PostgreSQL hash index is a persistent single-column index that stores hash codes to identify candidates for equality comparisons. Note: Representation: PostgreSQL 18 stores a four-byte hash value instead of the original indexed value. Equal hashes can represent different values, so candidates require an equality recheck. This is lossy candidate selection, not evidence of damaged data. [pg-hash] [pg-hash-code] Capabilities: This access method supports equality, not range searches or ordered output. It cannot enforce uniqueness or supply an index-only scan; knowing a candidate's location does not recover its original value. B-tree indexes support a different operation set. [pg-hash-types] [pg-hash-code] [pg-hash-ios] Bitmap distinction: REL_18_0 requests rechecks for both ordinary and bitmap hash scans. Exact tuple offsets in a bitmap do not remove the hash-collision recheck; bitmap page lossiness is a separate loss of location precision. [pg-hash-code] [pg-hash-tbm] Costs: Completing a bucket scan entails traversing its overflow chain; bucket expansion happens during foreground work. Direct bucket access is not a fixed-I/O or universal speed advantage over a B-tree. [pg-hash] Sources and caveats: - Definition and limits are scoped to PostgreSQL 18 documentation and REL_18_0 source. The linked Observatory analysis separately records a clean-data PostgreSQL 16.15 collision fixture; neither evidence establishes a speedup or corruption-detection rate. Related terms: - [b-tree](https://hesela.dev/terms/b-tree/) - [hash-collision](https://hesela.dev/terms/hash-collision/) - [postgresql-index-only-scan](https://hesela.dev/terms/postgresql-index-only-scan/) Citations: - [pg-hash] PostgreSQL 18: Hash Indexes, capabilities and overflow trade-offs. https://www.postgresql.org/docs/18/hash-index.html (accessed 2026-11-18) - [pg-hash-code] PostgreSQL REL_18_0: hash access-method capabilities and mandatory recheck flags. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/access/hash/hash.c (accessed 2026-11-18) - [pg-hash-types] PostgreSQL 18: Index Types, equality and range support. https://www.postgresql.org/docs/18/indexes-types.html (accessed 2026-11-18) - [pg-hash-ios] PostgreSQL 18: Index-Only Scans and Covering Indexes. https://www.postgresql.org/docs/18/indexes-index-only-scans.html (accessed 2026-11-18) - [pg-hash-tbm] PostgreSQL REL_18_0: tuple-ID bitmap precision and candidate rechecks. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/nodes/tidbitmap.c (accessed 2026-11-18) ### Index-only scan (PostgreSQL) URL: https://hesela.dev/terms/postgresql-index-only-scan/ Related analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Also known as: PostgreSQL index-only scan Status: shipping Record updated: 2026-11-18 A PostgreSQL index-only scan retrieves values from index entries and consults the heap when visibility cannot be established from the visibility map. Note: The index must support returning the needed values, and the query must be answerable from that index. A covering index can carry extra payload columns through INCLUDE, but that duplicates data and can increase index size. [ios] The plan name does not promise zero heap visits. For a candidate index tuple, a set all-visible map bit permits skipping the heap visibility check. A clear bit requires that check; returned values still come from the index. [ios] [scan-code] In REL_16_15, Heap Fetches counts attempts to fetch a heap tuple for visibility, including attempts that find no visible tuple. It does not count unique pages or physical disk reads, and it is not a checksum-verification counter. [scan-code] A completed VACUUM does not promise a heap-free scan. In a controlled PostgreSQL 16.15 fixture, an old Repeatable Read snapshot and a Read Committed transaction with an assigned XID both prevented all-visible marking. The latter had null backend_xmin while idle. Releasing either holder alone left the fetch count unchanged until another VACUUM. These are fixture observations, not a timing benchmark. [horizon-study] Sources and caveats: - The counter interpretation is scoped to PostgreSQL REL_16_15. The linked Observatory demonstration uses synthetic clean rows, not injected corruption or a disk-I/O benchmark. Related terms: - [postgresql-visibility-map](https://hesela.dev/terms/postgresql-visibility-map/) - [postgresql-toast](https://hesela.dev/terms/postgresql-toast/) - [detoasting](https://hesela.dev/terms/detoasting/) - [b-tree](https://hesela.dev/terms/b-tree/) - [b-link-tree](https://hesela.dev/terms/b-link-tree/) - [covering-index](https://hesela.dev/terms/covering-index/) - [secondary-index](https://hesela.dev/terms/secondary-index/) - [query-cardinality-estimation](https://hesela.dev/terms/query-cardinality-estimation/) - [postgresql-hash-index](https://hesela.dev/terms/postgresql-hash-index/) - [postgresql-bitmap-heap-scan](https://hesela.dev/terms/postgresql-bitmap-heap-scan/) Citations: - [ios] PostgreSQL 16: Index-Only Scans and Covering Indexes. https://www.postgresql.org/docs/16/indexes-index-only-scans.html (accessed 2026-10-21) - [vm] PostgreSQL 16: Visibility Map. https://www.postgresql.org/docs/16/storage-vm.html (accessed 2026-10-21) - [scan-code] PostgreSQL REL_16_15: IndexOnlyNext, visibility checks and heap-fetch instrumentation. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/executor/nodeIndexonlyscan.c (accessed 2026-10-21) - [horizon-code] PostgreSQL REL_16_15: ComputeXidHorizons, snapshot and assigned-XID cutoffs. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/storage/ipc/procarray.c (accessed 2026-10-22) - [vacuum-code] PostgreSQL REL_16_15: lazy_scan_prune, all-visible eligibility. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/access/heap/vacuumlazy.c (accessed 2026-10-22) - [horizon-study] Hesela: PostgreSQL transaction horizons, three controlled 16.15 executions. https://hesela.dev/research/postgresql-snapshot-horizon/README.md (accessed 2026-10-22) ### PostgreSQL sequence URL: https://hesela.dev/terms/postgresql-sequence/ Status: shipping Record updated: 2026-10-28 A PostgreSQL sequence is a database object that allocates integer values using configured increment, bounds, cycling and cache behavior. Note: A sequence is separate from the table column using it. nextval and setval changes survive transaction rollback; ALTER SEQUENCE RESTART is transactional. With caching, shared last_value can include reserved values not yet returned, and another session can keep issuing its cached values after setval. The is_called flag determines whether the next allocation returns the stored value or advances first. [pg-sequence-functions] [pg-sequence-cache] [pg-sequence-restart] PostgreSQL 16 logical replication carries serial/identity row values without sequence state, whereas pg_dump --data-only includes sequence values. Check both recovered rows and the allocator before resuming writes. Seven small native controls on PostgreSQL 16.15 compare these boundaries, including an explicit row copy whose next omitted-ID insert fails with SQLSTATE 23505. That fixture is not a logical-replication or pg_dump test. [pg-logical-sequences] [pg-dump-sequences] [hesela-sequence-study] Related terms: - [logical-decoding](https://hesela.dev/terms/logical-decoding/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [restore-test](https://hesela.dev/terms/restore-test/) Citations: - [pg-sequence-functions] PostgreSQL 16: sequence functions, is_called, rollback and crash scope. https://www.postgresql.org/docs/16/functions-sequence.html (accessed 2026-10-28) - [pg-sequence-cache] PostgreSQL 16: CREATE SEQUENCE, reserved values and per-session caches. https://www.postgresql.org/docs/16/sql-createsequence.html (accessed 2026-10-28) - [pg-sequence-restart] PostgreSQL 16: ALTER SEQUENCE, transactional RESTART. https://www.postgresql.org/docs/16/sql-altersequence.html (accessed 2026-10-28) - [pg-logical-sequences] PostgreSQL 16: logical replication restrictions, sequence state. https://www.postgresql.org/docs/16/logical-replication-restrictions.html (accessed 2026-10-28) - [pg-dump-sequences] PostgreSQL 16: pg_dump, data-only scope includes sequence values. https://www.postgresql.org/docs/16/app-pgdump.html (accessed 2026-10-28) - [hesela-sequence-study] Hesela: PostgreSQL sequence recovery controls, source and native observations. https://hesela.dev/research/postgresql-sequence-recovery/README.md (accessed 2026-10-28) - [hesela-restore] Hesela: Backup verification and next-write acceptance. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/#postgresql-sequence-recovery (accessed 2026-10-28) ### PostgreSQL timeline URL: https://hesela.dev/terms/postgresql-timeline/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: WAL timeline Status: shipping Record updated: 2026-10-21 A PostgreSQL timeline identifies a branch of a database cluster's write-ahead-log history. Note: Completing archive recovery creates a new branch for subsequent WAL, preserving the earlier history. Timeline IDs distinguish WAL filenames. [pg-timelines] Selection: recovery_target_timeline accepts an ID, current for the base backup's timeline, or latest, the default. This selects history, not the replay stopping point. [pg-target-timeline] Interpretation: a larger timeline ID alone does not establish ancestry or possession of another branch's commits. Compare cluster identity, timeline history and the named LSN progress stage together. IDENTIFY_SYSTEM reports systemid, timeline and the current WAL flush position separately. [pg-identity] [pg-history-code] Backup scope: a standby following an upstream promotion during a base backup can require WAL ranges on several timelines. The manifest retains the timeline for each range rather than one unqualified byte interval. [pg-manifest-ranges] Related terms: - [timeline-history-file](https://hesela.dev/terms/timeline-history-file/) - [log-sequence-number](https://hesela.dev/terms/log-sequence-number/) - [replication-lag](https://hesela.dev/terms/replication-lag/) - [point-in-time-recovery](https://hesela.dev/terms/point-in-time-recovery/) - [recovery-target](https://hesela.dev/terms/recovery-target/) - [backup-manifest](https://hesela.dev/terms/backup-manifest/) - [wal-archiving](https://hesela.dev/terms/wal-archiving/) - [failover-slot](https://hesela.dev/terms/failover-slot/) Citations: - [pg-timelines] PostgreSQL 18: Timelines. https://www.postgresql.org/docs/18/continuous-archiving.html#BACKUP-TIMELINES (accessed 2026-10-20) - [pg-target-timeline] PostgreSQL 18: recovery_target_timeline. https://www.postgresql.org/docs/18/runtime-config-wal.html#GUC-RECOVERY-TARGET-TIMELINE (accessed 2026-10-20) - [pg-identity] PostgreSQL 18: IDENTIFY_SYSTEM and TIMELINE_HISTORY. https://www.postgresql.org/docs/18/protocol-replication.html (accessed 2026-10-20) - [pg-history-code] PostgreSQL 18.0: timeline history reader and writer. https://github.com/postgres/postgres/blob/REL_18_0/src/backend/access/transam/timeline.c (accessed 2026-10-20) - [hesela-replication] Hesela: Replication acknowledgements: received, durable, applied. https://hesela.com/analyses/replication-acknowledgements-durability-lag/#timeline-identity (accessed 2026-10-20) - [pg-manifest-ranges] PostgreSQL 18: Backup Manifest WAL Range Object. https://www.postgresql.org/docs/18/backup-manifest-wal-ranges.html (accessed 2026-10-21) ### PostgreSQL TOAST URL: https://hesela.dev/terms/postgresql-toast/ Related analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Also known as: TOAST, The Oversized-Attribute Storage Technique Status: shipping Record updated: 2026-10-21 TOAST is PostgreSQL's mechanism for compressing or storing oversized attribute values outside their main table rows. Note: On-disk external values are split into chunk rows in a separate TOAST relation, while the main row retains a pointer with identifiers and size information. Not every value is external: storage strategy and value size determine the representation. [toast] EXTERNAL permits out-of-line storage without compression. For uncompressed text and bytea, substring operations can retrieve only the required portion. A readable prefix therefore need not exercise every chunk. The pinned bytea length implementation reads stored size information rather than fetching the complete value. [toast] [length] [size] Hesela's PostgreSQL 16.15 experiment changed one selected bit in a synthetic external bytea. Count, length and prefix were unchanged; checksums-on full reads failed. With checksums off, the tested structural checks succeeded while comparison with the expected full-value digest failed. This is a bounded verification-coverage result, not a failure-rate estimate. [hesela-toast] Related terms: - [detoasting](https://hesela.dev/terms/detoasting/) - [checksum](https://hesela.dev/terms/checksum/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [postgresql-index-only-scan](https://hesela.dev/terms/postgresql-index-only-scan/) - [postgresql-visibility-map](https://hesela.dev/terms/postgresql-visibility-map/) Citations: - [toast] PostgreSQL 16: TOAST, on-disk storage and EXTERNAL strategy. https://www.postgresql.org/docs/16/storage-toast.html (accessed 2026-10-21) - [length] PostgreSQL REL_16_15: varlena.c, byteaoctetlen and bytea_substring. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/utils/adt/varlena.c (accessed 2026-10-21) - [size] PostgreSQL REL_16_15: detoast.c, toast_raw_datum_size. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/access/common/detoast.c (accessed 2026-10-21) - [hesela-toast] Hesela: PostgreSQL TOAST read-coverage observations and code. https://hesela.dev/datasets/postgresql-toast-read-coverage/ (accessed 2026-10-21) ### Visibility map (PostgreSQL) URL: https://hesela.dev/terms/postgresql-visibility-map/ Related analysis: https://hesela.com/analyses/postgresql-toast-read-coverage/ Also known as: PostgreSQL visibility map Status: shipping Record updated: 2026-10-22 A PostgreSQL visibility map records all-visible and all-frozen status for each heap page in a separate relation fork. Note: The all-visible bit supports skipping heap visibility checks during index-only scans. The all-frozen bit records that the page needs no further freezing until it changes. Indexes do not have their own visibility maps. [vm] [pgvisibility] The map is conservative: a clear bit does not establish that the corresponding property is false. Ordinary data changes clear map bits, and vacuum establishes them. A tuple-header hint bit and the heap page's PD_ALL_VISIBLE flag are separate metadata, not alternative names for the map. [vm] [pgvisibility] pg_visibility_map_summary counts marked pages from the map; it is not a comparison against every stored payload. Functions inspecting PD_ALL_VISIBLE also read heap pages. Choosing an inspection function therefore changes read coverage. Visibility metadata does not certify content integrity. [pgvisibility] VACUUM uses conservative transaction horizons when establishing all-visible status. The REL_16_15 implementation considers an assigned transaction ID as well as snapshot xmin; a null backend_xmin therefore does not alone exclude a session's effect. The controlled insert-only study separates BEGIN-only, retained-snapshot and assigned-XID states, without equating all-visible marking with content verification. [horizon-code] [vacuum-code] [horizon-study] Sources and caveats: - Describes PostgreSQL 16 visibility metadata. A count of marked pages is distinct from validation of the map or expected application content. Related terms: - [postgresql-index-only-scan](https://hesela.dev/terms/postgresql-index-only-scan/) - [hint-bit](https://hesela.dev/terms/hint-bit/) - [postgresql-toast](https://hesela.dev/terms/postgresql-toast/) - [checksum](https://hesela.dev/terms/checksum/) Citations: - [vm] PostgreSQL 16: Visibility Map. https://www.postgresql.org/docs/16/storage-vm.html (accessed 2026-10-21) - [pgvisibility] PostgreSQL 16: pg_visibility functions and page-level visibility. https://www.postgresql.org/docs/16/pgvisibility.html (accessed 2026-10-21) - [horizon-code] PostgreSQL REL_16_15: ComputeXidHorizons, snapshot and assigned-XID cutoffs. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/storage/ipc/procarray.c (accessed 2026-10-22) - [vacuum-code] PostgreSQL REL_16_15: lazy_scan_prune, all-visible eligibility. https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/backend/access/heap/vacuumlazy.c (accessed 2026-10-22) - [horizon-study] Hesela: PostgreSQL transaction horizons, three controlled 16.15 executions. https://hesela.dev/research/postgresql-snapshot-horizon/README.md (accessed 2026-10-22) ### Power-aware coding URL: https://hesela.dev/terms/power-aware-coding/ Related analysis: https://hesela.com/analyses/sleeping-disks-partial-reconstruction/ Status: research Record updated: 2026-11-09 Power-aware coding uses redundancy to serve selected reads without activating the disks containing the requested data. Note: An inactive symbol can be reconstructed from available symbols even when the full data word remains ambiguous [paper]. Recovery depends on the code and active set, not merely the number of parity disks [check]. Minimizing disk activations does not also minimize the number of blocks read. In Hesela's five-data/three-parity example, one sleeping target can require either zero activations and four block reads, or one activation and one direct read [plans]. These are exact counts for a single consistent codeword, not an energy measurement; all disks are healthy and inactive disks can wake. Shared helper blocks are counted once within a request [plans]. Sources and caveats: - Greenan et al., HotDep 2008: analytical disk-energy examples, not a modern system benchmark. [paper] - Hesela checks exact XOR recoverability only; no energy or lifetime measurement. [check] Related terms: - [maid](https://hesela.dev/terms/maid/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [locally-repairable-code](https://hesela.dev/terms/locally-repairable-code/) - [k-of-n-completion](https://hesela.dev/terms/k-of-n-completion/) - [write-offloading](https://hesela.dev/terms/write-offloading/) - [staggered-reconstruction](https://hesela.dev/terms/staggered-reconstruction/) Citations: - [paper] Greenan et al.: A Spin-Up Saved is Energy Earned: Achieving Power-Efficient, Erasure-Coded Storage (HotDep 2008). https://static.usenix.org/events/hotdep08/tech/full_papers/greenan/greenan_html/ (accessed 2026-10-17) - [plans] Hesela: exact activation/read plans for the HotDep 2008 flat XOR examples; assumptions and all tied alternatives. https://hesela.dev/research/power-aware-read-plans.json (accessed 2026-10-19) - [check] Hesela: Sleeping disks: one readable block is not a recoverable array. https://hesela.com/analyses/sleeping-disks-partial-reconstruction/ (accessed 2026-10-17) ### Power loss protection URL: https://hesela.dev/terms/power-loss-protection/ Related analysis: https://hesela.com/analyses/ssd-power-loss-protection-failures/ Also known as: PLP Status: shipping Record updated: 2026-11-11 Power-loss protection is a set of hardware and firmware measures intended to preserve specified storage-device data and internal state when external power is unexpectedly removed. Note: The protection boundary is product-specific. A historical SSD white paper distinguishes protection of data already stored in NAND from protection that also commits in-flight or volatile buffered writes and mapping information. A capacitor bank or an enterprise label alone does not specify which promise applies. FAST 2013 observed failures on some PLP-labelled devices but did not isolate a failed capacitor; this is not a field failure rate or evidence about every current product. Consult the exact model and firmware documentation. [micron] [zheng-power] The concept is not SSD-exclusive: An HDD implementation uses a mechanism using spindle energy and flash for buffered-write protection on supported ArmorCache models. This does not establish a guarantee for every HDD. [wd-armor] OCP Datacenter NVMe SSD Specification 2.6 requires PLP checks before writes at power-on and periodically (PLP-3). During checking, enough energy must remain for power loss (PLP-4). PLP-6 measures capacitor energy margin, beyond detecting open/short faults. These requirements describe compliant devices, not all SSDs; a health reading is not a remaining-lifetime prediction. [ocp-plp-health] Power-cut qualification also depends on the test pattern. Repeated identifying headers can expose mixtures that constant padding may conceal. The fixed XOR mask in FAST 2013 preserves recoverable structure while reducing repetition; it is not authenticated encryption. [zheng-power] Limitations: - Data-at-rest protection does not by itself promise persistence of volatile host-write buffers. (sources: [micron]) Related terms: - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [ssd](https://hesela.dev/terms/ssd/) - [torn-write](https://hesela.dev/terms/torn-write/) - [ftl](https://hesela.dev/terms/ftl/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) - [unserializable-write](https://hesela.dev/terms/unserializable-write/) - [flash-controller](https://hesela.dev/terms/flash-controller/) - [armorcache](https://hesela.dev/terms/armorcache/) - [nand-page-pairing](https://hesela.dev/terms/nand-page-pairing/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [flash-backed-write-cache](https://hesela.dev/terms/flash-backed-write-cache/) - [nvme-volatile-write-cache](https://hesela.dev/terms/nvme-volatile-write-cache/) Citations: - [micron] Micron: How Micron SSDs Handle Unexpected Power Loss, client and enterprise countermeasures (2014). https://assets.micron.com/adobe/assets/urn%3Aaaid%3Aaem%3A1f5ebe25-dc19-4e6f-89d2-31a2c6b69548/renditions/original/as/ssd-power-loss-protection-white-paper-lo.pdf (accessed 2026-10-13) - [zheng-power] Zheng et al.: Understanding the Robustness of SSDs under Power Fault, FAST 2013, sections 3.1-3.1.1. https://www.usenix.org/system/files/conference/fast13/fast13-final80.pdf (accessed 2026-11-06) - [wd-armor] Western Digital. ArmorCache Write Cache Data Protection, mechanism and WCE/WCD scope, printed pp. 1-2. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/collateral/tech-brief/tech-brief-write-cache-data-safety.pdf (accessed 2026-10-16) - [ocp-plp-health] Open Compute Project: Datacenter NVMe SSD Specification 2.6 (25 September 2024), section 7.8, PLP-3, PLP-4 and PLP-6, printed page 158. https://www.opencompute.org/documents/datacenter-nvme-ssd-specification-v2-6-2-pdf (accessed 2026-10-19) - [hesela-power] Hesela: SSD power-loss protection, evidence and qualification boundaries. https://hesela.com/analyses/ssd-power-loss-protection-failures/ (accessed 2026-11-06) ### Power of two choices URL: https://hesela.dev/terms/power-of-two-choices/ Related analysis: https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/ Also known as: Two-choice load balancing, P2C Status: research Record updated: 2026-11-20 Power of two choices routes a job to the less-loaded of two randomly sampled eligible servers, using a specified load signal and tie rule. Note: In the supermarket model, arrivals are Poisson with total rate lambda times n, each server has independent exponential service of mean one, queues are FIFO, and lambda is below one. Candidates are sampled uniformly with replacement and their current queue lengths are compared. At the limiting equilibrium as n tends to infinity, the fraction of queues containing at least i jobs is lambda^(2^i - 1); random one-choice routing gives lambda^i. This is a queue-occupancy tail, not the probability that a storage request misses a time deadline. [two-choices-2001] Stale feedback changes the model. Mitzenmacher's periodic-update study finds regimes in which two choices outperform global shortest-queue selection, but sufficiently old information can make random assignment better. Its simulations and limiting models are not a measured storage fleet or a universal ranking of policies. [old-information-2000] Hesela's separate finite example assigns four jobs to three empty servers with no departures. All 6561 ordered two-choice sequences are counted. Updating counts after each assignment gives probability 49/729 that a server ends with at least three jobs. Freezing all reported counts at zero gives 1/3, exactly the one-choice distribution, when ties use the first sampled candidate. Choosing the lowest ID instead biases selection. This is an exact synthetic example, not a replication of either paper. [finite-example] Limitations: - Replica eligibility and read consistency must be established before load-based routing; this policy does not certify freshness or durability. (sources: [finite-example]) - The finite example has no service times, departures or network delays and cannot estimate latency percentiles. (sources: [finite-example]) Sources and caveats: - Primary-source synthesis separates a limiting queueing result from a finite synthetic allocation example. - The exact example includes independent path enumeration and a multinomial check; no hardware experiment, original theorem or field-speedup claim. Related terms: - [adaptive-replica-selection](https://hesela.dev/terms/adaptive-replica-selection/) - [tail-latency](https://hesela.dev/terms/tail-latency/) Citations: - [two-choices-2001] Mitzenmacher. The Power of Two Choices in Randomized Load Balancing. IEEE TPDS 12(10), 2001, pp. 1094-1104; sections 1 and 2.2-2.4. https://www.eecs.harvard.edu/~michaelm/postscripts/tpds2001.pdf (accessed 2026-11-20) - [old-information-2000] Mitzenmacher. How Useful Is Old Information? IEEE TPDS 11(1), 2000, pp. 6-20; sections 2 and 3.1-3.4. https://www.eecs.harvard.edu/~michaelm/postscripts/tpds2000.pdf (accessed 2026-11-20) - [finite-example] Hesela. Exact finite two-choice allocation: current counts, frozen feedback and tie-breaking control. https://hesela.dev/research/power-of-two-choices/README.md (accessed 2026-11-20) ### Power-on hours URL: https://hesela.dev/terms/power-on-hours/ Related analysis: https://hesela.com/analyses/ssd-power-on-hours-firmware-failures/ Also known as: POH, accumulated power-on time Status: shipping Record updated: 2026-10-23 Power-on hours is accumulated powered-operation time reported for a device, interpreted according to that device's counter and interface semantics. Note: This is not time since purchase, host uptime or a measure of write endurance. A self-test timestamp records an earlier test, not necessarily current runtime. Raw time fields may use units other than hours; missing telemetry is unknown, not zero. Presets for ATA attribute 9 in a common SMART reporting tool decode raw minutes, seconds or half-minutes into hours for display. [smartctl] In NVMe, Power On Hours is a 16-byte SMART log field at bytes 128 to 143 and may exclude time the controller was powered in a non-operational power state. The self-test log records an 8-byte power-on-hours value when each test completes or aborts. [nvme-base23] One server vendor's affected-drive procedure requires fresh collection and distinguishes accumulated minutes from hours. [ciscofn] Advantages: - A self-test result carries its own power-on-hours stamp, so its age can be compared with a later counter reading. (sources: [nvme-base23]) Limitations: - Because NVMe time in non-operational states may be left out, devices with the same calendar service can report different hours. (sources: [nvme-base23]) Sources and caveats: - nvme-base23 is NVM Express Base Specification 2.3, read 2026-10-23 for the SMART log Power On Hours field and the self-test log POH field. - smartctl is the smartmontools 7.5 manual page, re-read for the attribute 9 raw-format presets. ciscofn is the vendor field notice, re-read for its collection procedure. - The smart-raw-value entry links here because power-on time is a raw value whose unit depends on the attribute format. Related terms: - [drive-firmware-revision](https://hesela.dev/terms/drive-firmware-revision/) - [smart](https://hesela.dev/terms/smart/) - [smart-raw-value](https://hesela.dev/terms/smart-raw-value/) - [drive-day](https://hesela.dev/terms/drive-day/) - [ata-smart](https://hesela.dev/terms/ata-smart/) - [smart-normalized-value](https://hesela.dev/terms/smart-normalized-value/) Citations: - [ciscofn] Cisco FN70545, revision 2.0: 40,000-hour failure, C405 firmware and runtime collection. https://www.cisco.com/c/en/us/support/docs/field-notices/705/fn70545.html (accessed 2026-10-23) - [smartctl] smartmontools 7.5 smartctl manual: self-test timestamps, background-scan runtime and raw time formats. https://github.com/smartmontools/smartmontools/blob/RELEASE_7_5/smartmontools/smartctl.8.in (accessed 2026-10-23) - [nvme-base23] NVM Express Base Specification 2.3: SMART / Health Information log and Device Self-test log power-on hours fields. https://nvmexpress.org/wp-content/uploads/NVM-Express-Base-Specification-Revision-2.3-2025.08.01-Ratified.pdf (accessed 2026-10-23) ### Power-state break-even time URL: https://hesela.dev/terms/power-state-break-even-time/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: Energy break-even time, Disk spin-down break-even time Status: shipping Record updated: 2026-11-29 Power-state break-even time is the low-power residence needed for energy savings to offset transition costs under a specified accounting baseline. Note: An idle timeout decides when to enter a lower-power state; it does not establish how long the device will remain there. HotPower 2008 examines how scrubbing and disk power management compete for idle opportunities. Its reliability results are model-based, not observed reductions in failures. [wang08] Specify the baseline. Over a shared interval with constant ready power H, low-state power L, transition duration D and gross transition energy E, the transition excess is E - H*D. With H > L and positive excess, the break-even low-state residence is (E - H*D)/(H - L). This is a same-horizon accounting identity, not a universal timeout rule. Already elapsed ready-state waiting cancels from both alternatives. [hesela-energy] Whole-system costs can differ: the MobiSys 2004 treatment includes host energy while a foreground request waits for wake-up. Do not mix that baseline with a device-only ledger. [anand04] A lower-power mode need not stop the spindle. The cited SAS-drive power-state definitions distinguish full-speed Idle_B, reduced-speed Idle_C and motor-stopped Standby_Z; these names and behavior are product-specific. Idle_C has its heads unloaded: reduced-speed idle does not establish data I/O at reduced RPM. [seagate-power] Limitations: - Energy equality neither predicts the next request nor establishes a latency or completed-scrub guarantee. (sources: [wang08], [anand04]) Related terms: - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [opportunistic-scrubbing](https://hesela.dev/terms/opportunistic-scrubbing/) - [paraid](https://hesela.dev/terms/paraid/) - [drpm](https://hesela.dev/terms/drpm/) Citations: - [wang08] Wang, Butt and Gniady. On the Impact of Disk Scrubbing on Energy Savings. HotPower 2008, sections 2-5. https://www.usenix.org/legacy/event/hotpower08/tech/full_papers/wang/wang_html/html_paper.html (accessed 2026-11-26) - [anand04] Anand, Nightingale and Flinn. Ghosts in the Machine: Interfaces for Better Power Management. MobiSys 2004, section 4.2.2, equations 1-3. https://www.usenix.org/legacy/publications/library/proceedings/mobisys04/pdf/p23-anand.pdf (accessed 2026-11-26) - [seagate-power] Seagate Exos 7E8 SAS Product Manual, 100840702 Rev. D, July 2019, section 6.1. https://www.seagate.com/files/www-content/product-content/enterprise-hdd-fam/enterprise-capacity-3-5-hdd-10tb/_shared/docs/100840702d.pdf (accessed 2026-11-29) - [hesela-energy] Hesela: same-horizon energy ledger with synthetic inputs and executable regression tests. https://hesela.com/analyses/scrubbing-detection-not-durability/#power-break-even (accessed 2026-11-26) ### Powersafe overwrite URL: https://hesela.dev/terms/powersafe-overwrite/ Related analysis: https://hesela.com/analyses/linux-atomic-writes-durability/ Also known as: PSOW Status: shipping Record updated: 2026-10-14 Powersafe overwrite is the storage property that an interrupted file write leaves bytes outside its requested range unchanged. Note: This property does not constrain the target bytes to an entirely old or new value and does not establish durable completion. [sqlite-psow] SQLite reports PSOW separately from atomic-write size, safe-append and sequential-write capabilities. [sqlite-characteristics] A psow URI parameter changes an assumption in supported VFS implementations; it is not a hardware test and may be ignored by a custom VFS. [sqlite-uri] Limitations: - An unchanged surrounding range can coexist with a torn write inside the target. (sources: [sqlite-psow]) Related terms: - [torn-write](https://hesela.dev/terms/torn-write/) - [rwf-atomic](https://hesela.dev/terms/rwf-atomic/) - [physical-sector](https://hesela.dev/terms/physical-sector/) - [power-loss-protection](https://hesela.dev/terms/power-loss-protection/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) Citations: - [sqlite-psow] SQLite: Powersafe Overwrite, scope, assumptions and torn pages. https://www.sqlite.org/psow.html (accessed 2026-10-14) - [sqlite-characteristics] SQLite C interface: Device Characteristics. https://sqlite.org/c3ref/c_iocap_atomic.html (accessed 2026-10-14) - [sqlite-uri] SQLite: URI filenames, enabling URI handling and psow overrides. https://sqlite.org/uri.html (accessed 2026-10-14) - [hesela-psow] Hesela: atomic writes and powersafe overwrite, synthetic byte-state examples. https://hesela.com/analyses/linux-atomic-writes-durability/#powersafe-overwrite (accessed 2026-10-14) - [hesela-examples] Hesela: synthetic recovery-state examples, code hash and executable tests. https://hesela.dev/data/powersafe-overwrite-examples.json (accessed 2026-10-14) ### pread URL: https://hesela.dev/terms/pread/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: pread(), positional read Status: shipping Record updated: 2026-11-02 pread attempts to read up to the requested byte count from a seekable file at an explicit offset without changing the open file description's current position. Note: Unlike a separate seek followed by read, positional reading does not depend on another holder leaving the shared cursor untouched. It still permits a successful short transfer. [pread-api] For an exact-length application record, continue at the initial offset plus bytes actually returned, reducing the remaining count accordingly. A positive-count regular-file read returning zero before that range is complete means premature EOF for that contract; a zero-count request is not an EOF test. [read-api] Explicit positioning does not freeze content. Concurrent writes or truncation can invalidate an application's expected version even when its byte count is complete. This is a protocol-design limitation, not a storage-failure measurement. Advantages: - Supports independent read positions on one shared open file description. Limitations: - Requires a seekable object; pipes and sockets do not provide this operation. - Range completion alone establishes neither a snapshot nor data authenticity. Sources and caveats: - Source review of Linux man-pages 6.19; reader continuation and source-version checks are application-design implications. Related terms: - [file-offset](https://hesela.dev/terms/file-offset/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [file-descriptor](https://hesela.dev/terms/file-descriptor/) - [short-read](https://hesela.dev/terms/short-read/) - [pwrite](https://hesela.dev/terms/pwrite/) - [file-sealing](https://hesela.dev/terms/file-sealing/) - [readv](https://hesela.dev/terms/readv/) - [preadv](https://hesela.dev/terms/preadv/) Citations: - [pread-api] Linux man-pages 6.19: pread(2), positional access and partial transfers. https://man7.org/linux/man-pages/man2/pread.2.html (accessed 2026-11-02) - [read-api] Linux man-pages 6.19: read(2), return counts and end of file. https://man7.org/linux/man-pages/man2/read.2.html (accessed 2026-11-02) - [hesela-handoff] Hesela: sealed bytes, shared cursor. https://hesela.com/analyses/mmap-visibility-size-durability/#sealed-handoff (accessed 2026-11-02) ### preadv URL: https://hesela.dev/terms/preadv/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: preadv(), positional vectored read Status: shipping Record updated: 2026-11-02 preadv reads a seekable file at an explicit offset into multiple memory buffers without changing the open file description's current offset. Note: preadv combines an explicit starting file offset with readv's ordered memory buffers. It reads one sequential file range, not an independent file location for each buffer, and leaves the shared current offset unchanged. Linux preadv2 is a distinct extension: offset -1 selects and updates the current offset [linux-preadv-contract]. Python's os.preadv documentation also distinguishes the actual total byte count from buffer capacity and documents the operating system's SC_IOV_MAX buffer-count limit [python-os-preadv]. Offset selection does not itself establish a stable file version across later calls; positional I/O's documented concurrency benefit is independence from other threads' cursor changes [linux-positional-io]. Advantages: - Combines explicit-position input with multiple caller-provided destination buffers. Limitations: - The file must support seeking, and a successful call may return fewer bytes than requested. - Explicit positioning is not a snapshot guarantee across a sequence of calls. Sources and caveats: - Primary API documentation reviewed 2026-11-02; no native measurement, throughput test or storage-failure estimate. - File-version stability across calls is an application-design limitation, not a measured concurrency outcome. Related terms: - [readv](https://hesela.dev/terms/readv/) - [pread](https://hesela.dev/terms/pread/) - [short-read](https://hesela.dev/terms/short-read/) - [file-offset](https://hesela.dev/terms/file-offset/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [writev](https://hesela.dev/terms/writev/) Citations: - [linux-preadv-contract] Linux man-pages: readv(2), preadv/pwritev and preadv2/pwritev2. https://man7.org/linux/man-pages/man2/readv.2.html (accessed 2026-11-02) - [linux-positional-io] Linux man-pages: pread(2), DESCRIPTION and NOTES. https://man7.org/linux/man-pages/man2/pread.2.html (accessed 2026-11-02) - [python-os-preadv] Python documentation: os.preadv. https://docs.python.org/3.12/library/os.html#os.preadv (accessed 2026-11-02) ### Precision URL: https://hesela.dev/terms/precision/ Related analysis: https://hesela.com/analyses/ml-disk-failure-prediction/ Also known as: positive predictive value, PPV Status: shipping Record updated: 2026-10-23 Precision is the fraction of positive predictions that match observed positive outcomes at a specified decision threshold. Note: For binary failure prediction, precision = TP / (TP + FP), where TP counts correct positive predictions and FP counts false positives. Its denominator is positive predictions in the stated counting unit, not healthy observations or necessarily emitted notifications. It is undefined when no positives are predicted. One widely used library returns 0 with a warning in that case by default, and can instead return 1 or a missing value that is excluded from averages. [sklearn-precision] Micro averaging pools true and false positives across labels before dividing, while macro averaging takes the unweighted mean of per-label precision. [sklearn-precision] Precision combines both columns of the confusion matrix, so it moves with class skew. [fawcett2006] A different failure prevalence can change precision even when recall and false positive rate stay fixed, and the precision-recall baseline is P / (P + N). [saito2015] At 0.1% prevalence, a rule with 90% recall and 0.5% FPR on 100,000 drive-days flags 90 true and about 500 false records, a precision near 15%. Specify the failure label, prediction horizon and counting unit, because one device alerted on several records is counted several times unless counts are first aggregated per device. Advantages: - Precision needs no count of true negatives, so it stays defined when the healthy population is hard to enumerate. (sources: [sklearn-precision]) Limitations: - Precision alone ignores missed failures, so a stricter threshold can raise it while recall falls. (sources: [sklearn-precision]) - Values from samples with different prevalence are not comparable without restating the class ratio. (sources: [fawcett2006], [saito2015]) Sources and caveats: - sklearn-precision re-read 2026-10-23 for tp / (tp + fp), the zero_division default and options, and micro and macro averaging. - saito2015 re-read 2026-10-23 for prevalence effects and the P / (P + N) baseline. - fawcett2006 read 2026-10-23, section 4.2, for the sensitivity of mixed-column metrics to class skew. - The 0.1% prevalence example is arithmetic from the stated rates, not a reported result. - The expected-calibration-error entry links here because calibration error checks predicted probabilities, while precision checks the outcomes behind one thresholded decision. - Companion analyses on disk failure prediction are listed but not used in prose. Related terms: - [recall](https://hesela.dev/terms/recall/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [average-precision](https://hesela.dev/terms/average-precision/) - [smart](https://hesela.dev/terms/smart/) - [f1-score](https://hesela.dev/terms/f1-score/) - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [prediction-cadence](https://hesela.dev/terms/prediction-cadence/) - [expected-calibration-error](https://hesela.dev/terms/expected-calibration-error/) Citations: - [sklearn-precision] scikit-learn: precision_score; binary precision, zero_division options and averaging modes. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.precision_score.html (accessed 2026-10-23) - [saito2015] Saito and Rehmsmeier (2015). The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets. https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0118432 (accessed 2026-10-23) - [hesela-prediction] Hesela: disk failure prediction, metric denominators and a synthetic alert-count example. https://hesela.com/analyses/ml-disk-failure-prediction/ (accessed 2026-10-12) - [hesela-alert-units] Hesela: repeated decisions versus distinct-drive alert counts; synthetic counting example. https://hesela.com/analyses/ml-disk-failure-prediction/#repeated-predictions (accessed 2026-10-16) - [fawcett2006] Fawcett. An introduction to ROC analysis. Pattern Recognition Letters 27 (2006) 861-874, section 4.2. DOI: 10.1016/j.patrec.2005.10.010. https://people.inf.elte.hu/kiss/11dwhdm/roc.pdf (accessed 2026-10-23) ### Predicate selectivity URL: https://hesela.dev/terms/predicate-selectivity/ Also known as: filter selectivity, restriction selectivity Status: shipping Record updated: 2026-11-18 Predicate selectivity is the fraction of a specified input population for which a predicate evaluates to true. Note: For a nonempty filter input, observed selectivity is matching rows divided by input rows. A planner instead estimates that fraction from statistics or assumptions. Multiplying it by the estimated input count gives an estimated output count, not a measurement. [pg-estimates] In SQL WHERE, false and NULL predicate results are discarded. Rows containing NULL still belong to the input denominator; conditioning on non-NULL rows asks a different question. The empirical ratio is undefined for an empty input, although its output count is zero. [pg-where] Combining predicates by multiplying their marginal selectivities assumes independence. Identical per-column counts can coexist with different joint counts, so this product can underestimate or overestimate. [poosala-1997] A small matching fraction alone does not establish that an index is cheaper than a scan. [pg-multivariate] [pg-explain] MySQL SHOW INDEX Cardinality estimates distinct index values, a different quantity. [mysql-cardinality] Sources and caveats: - Primary-source synthesis scoped to PostgreSQL 18 and MySQL 8.4 documentation. The linked counting model uses constructed rows; it is not a PostgreSQL/MySQL planner run or a performance measurement. - VLDB 1997 Sections 2-7 support the marginal/joint distinction and MHIST/SVD context. The linked four-case model illustrates the principle; it does not reproduce those estimators or their accuracy. Related terms: - [query-cardinality-estimation](https://hesela.dev/terms/query-cardinality-estimation/) - [covering-index](https://hesela.dev/terms/covering-index/) Citations: - [pg-estimates] PostgreSQL 18: Row Estimation Examples. https://www.postgresql.org/docs/18/row-estimation-examples.html (accessed 2026-11-18) - [pg-where] PostgreSQL 18: WHERE, true versus false or null. https://www.postgresql.org/docs/18/queries-table-expressions.html#QUERIES-WHERE (accessed 2026-11-18) - [pg-multivariate] PostgreSQL 18: Multivariate Statistics Examples. https://www.postgresql.org/docs/18/multivariate-statistics-examples.html (accessed 2026-11-18) - [pg-explain] PostgreSQL 18: Using EXPLAIN, output rows and repeated nodes. https://www.postgresql.org/docs/18/using-explain.html (accessed 2026-11-18) - [mysql-cardinality] MySQL 8.4: SHOW INDEX, Cardinality estimates distinct values. https://dev.mysql.com/doc/refman/8.4/en/show-index.html (accessed 2026-11-18) - [hesela-coverage] Hesela: estimated rows versus read coverage. https://hesela.com/analyses/postgresql-toast-read-coverage/#estimated-rows (accessed 2026-11-18) - [poosala-1997] Poosala and Ioannidis (VLDB 1997): Selectivity Estimation Without the Attribute Value Independence Assumption. https://www.vldb.org/conf/1997/P486.PDF (accessed 2026-11-18) ### Prediction by partial matching URL: https://hesela.dev/terms/prediction-by-partial-matching/ Also known as: PPM Status: shipping Record updated: 2026-11-18 Prediction by partial matching models symbols from preceding contexts, escaping to shorter contexts when the current model cannot encode a symbol. Note: Coding: PPM predicts probabilities; an arithmetic coder represents the events. An escape is a model event, not necessarily a reserved input byte. Encoder and decoder must agree on model updates. [cleary97] Two exclusions: Coding exclusion removes symbols already ruled out by a higher-context escape. Update exclusion instead omits counter increments below the context that successfully predicted the symbol. They affect different stages. [moffat90] Example: For context a with counts a:3,b:1, and an empty-context model a:5,b:2,c:1, method-C escape counts are 2 and 3. Coding c has path probability (2/6)*(1/4)=1/12 with coding exclusion, versus (2/6)*(1/11)=1/33 without it. These are model probabilities, not measured file sizes. [example] Longer contexts: More history can mean more escapes, not better compression. PPM* removes a fixed order limit but still needs a context-selection policy; the 1997 paper uses the shortest deterministic context when one exists. [cleary97] Implementation: Moffat uses move-to-front lists to search context statistics, a different role from emitting MTF ranks. The 7z format documents a PPMdH-derived coding method. [moffat90] [sevenzip] Limitations: - PPM names a modelling family, not an interchangeable archive format. The example omits bitstream coding, framing and finite-precision arithmetic. (sources: [example]) Sources and caveats: - Source synthesis and an original hypothetical count example; not a compressor benchmark or replication of a paper's measurements. - The 1990 and 1997 papers were read. Full-text retrieval of the 1984 paper failed; no claim depends on its abstract alone. Related terms: - [lossless-compression](https://hesela.dev/terms/lossless-compression/) - [burrows-wheeler-transform](https://hesela.dev/terms/burrows-wheeler-transform/) - [move-to-front](https://hesela.dev/terms/move-to-front/) Citations: - [moffat90] Moffat: Implementing the PPM Data Compression Scheme, IEEE Transactions on Communications 38(11), 1917-1921 (1990), sections II-III. https://cs.nyu.edu/home/people/in_memoriam/roweis/csc310-2006/extras/implementing_ppm.pdf (accessed 2026-11-18) - [cleary97] Cleary and Teahan: Unbounded Length Contexts for PPM, The Computer Journal 40(2/3), 67-75 (1997), sections 2-3 and 5. https://www.cs.ucf.edu/courses/cap5015/Cleary.pdf (accessed 2026-11-18) - [example] Hesela: PPM coding and update exclusion, exact executable example and tests. https://hesela.dev/research/ppm-exclusion/README.md (accessed 2026-11-18) - [sevenzip] 7-Zip: 7z Format, integrated compression methods. https://www.7-zip.org/7z.html (accessed 2026-11-18) ### Prediction cadence URL: https://hesela.dev/terms/prediction-cadence/ Also known as: scoring cadence Status: shipping Record updated: 2026-10-16 Prediction cadence is the schedule or interval at which a prediction system produces successive predictions for the same monitored entity. Note: Cadence is distinct from telemetry sampling, the historical input window and the future prediction horizon. D-FAD received latency summaries every 20 minutes but scored a rolling 24-hour input window every four hours. Its qualifying alarm-to-replacement window was four hours to 18 days. These are separate clocks, not a recommended monitoring schedule. [goldszmidt-hotstorage12] The original evaluation counted unresolved month-end alarms as false positives. Incomplete follow-up does not establish a full event-free horizon; the synthetic counting example explicitly assumes complete observation instead. Repeated scores are also not distinct-drive notifications. [goldszmidt-hotstorage12] [hesela-alert-units] Limitations: - Repeated scores are not automatically separate incident notifications or disk replacements; record the aggregation policy and the unit used by each metric. (sources: [hesela-alert-units]) Related terms: - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [precision](https://hesela.dev/terms/precision/) - [recall](https://hesela.dev/terms/recall/) - [failure-label](https://hesela.dev/terms/failure-label/) - [brier-score](https://hesela.dev/terms/brier-score/) Citations: - [goldszmidt-hotstorage12] Moises Goldszmidt. Finding soon-to-fail disks in a haystack. HotStorage 2012, sections 3 and 5. https://www.usenix.org/system/files/conference/hotstorage12/hotstorage12-final48.pdf (accessed 2026-10-16) - [hesela-alert-units] Hesela: repeated decisions versus distinct-drive alert counts; synthetic counting example. https://hesela.com/analyses/ml-disk-failure-prediction/#repeated-predictions (accessed 2026-10-16) ### Prediction horizon URL: https://hesela.dev/terms/prediction-horizon/ Related analysis: https://hesela.com/analyses/smart-replacement-prediction-random-splits/ Also known as: forecast horizon Status: shipping Record updated: 2026-11-19 A prediction horizon is the future interval after a prediction time in which a specified target event is evaluated. Note: State the time origin, event and interval boundaries. A horizon differs from the historical input window and from achieved alarm-to-event delay, and an event inside a ten-day horizon can occur much sooner than ten days. One disk study uses failure within the next 10 days as its target. [lu-fast20] A host-failure study labels signals from 1 to n hours before the failure as positive and chose a production horizon of 7 days, because feature distributions of failing and healthy nodes showed no significant difference beyond that. Its predictions reached failures with a median lead time of 2.44 days. [levy-osdi20] Advantages: - A horizon chosen from measured feature separation ties the label window to the available signal. (sources: [levy-osdi20]) Limitations: - A horizon does not guarantee enough time for migration or repair; measure actual warning delays and missed events separately. (sources: [lu-fast20]) Sources and caveats: - lu-fast20 re-read 2026-10-23 for the 10-day prediction target. - levy-osdi20 read 2026-10-23 for the hour-based label window, the 7-day horizon choice and the median lead time. - A companion analysis on repeated predictions is listed but not used in prose. Related terms: - [statistical-power](https://hesela.dev/terms/statistical-power/) - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [grouped-cross-validation](https://hesela.dev/terms/grouped-cross-validation/) - [recall](https://hesela.dev/terms/recall/) - [smart](https://hesela.dev/terms/smart/) - [failure-label](https://hesela.dev/terms/failure-label/) - [prediction-cadence](https://hesela.dev/terms/prediction-cadence/) - [smart-raw-value](https://hesela.dev/terms/smart-raw-value/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [prediction-interval](https://hesela.dev/terms/prediction-interval/) Citations: - [lu-fast20] Lu et al. Making Disk Failure Predictions SMARTer! FAST 2020, section 4, p. 159: prediction horizon. https://files.usenix.org/s3fs-public/cdn/fast20-lu.pdf (accessed 2026-10-23) - [hesela-alert-units] Hesela: repeated decisions versus distinct-drive alert counts; synthetic counting example. https://hesela.com/analyses/ml-disk-failure-prediction/#repeated-predictions (accessed 2026-10-16) - [levy-osdi20] Levy et al. Predictive and Adaptive Failure Mitigation to Avert Production Cloud VM Interruptions. OSDI 2020, section 4.3. https://files.usenix.org/s3fs-public/cdn/osdi20-levy.pdf (accessed 2026-10-23) ### Prediction interval URL: https://hesela.dev/terms/prediction-interval/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: prediction limits Status: research Record updated: 2026-11-19 A prediction interval bounds a specified future observation or statistic with stated coverage under a model and sampling assumptions. Note: The target is a future random outcome, not a fixed parameter. Prediction uncertainty includes variation in that outcome and, when model parameters are estimated, estimation uncertainty. A confidence interval for a fleet failure rate therefore does not directly bound its next-period failure count. Specify the population, future exposure or horizon, prediction target and coverage. [nist-prediction] An interval for one future observation differs from an interval for a future sample mean or simultaneous bounds for several observations. Normal-theory limits for a future mean assume independent observations from the same normally distributed population; they are not a generic formula for discrete failure counts or censored lifetimes. [nist-prediction-limits] Limitations: - Predictive coverage remains model-dependent even when a parameter is known exactly. A Poisson future count with known mean 1 equals 1 with probability exp(-1), not certainty; a fitted rate also introduces estimation uncertainty. [nist-poisson] Related terms: - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [tolerance-interval](https://hesela.dev/terms/tolerance-interval/) - [poisson-rate-model](https://hesela.dev/terms/poisson-rate-model/) - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) Citations: - [nist-prediction] NIST e-Handbook 4.1.3.2: Prediction and interval targets. https://www.itl.nist.gov/div898/handbook/pmd/section1/pmd132.htm (accessed 2026-11-19) - [nist-prediction-limits] NIST Dataplot: Prediction limits for one observation or a future sample mean. https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/predlimi.htm (accessed 2026-11-19) - [nist-poisson] NIST e-Handbook 1.3.6.6.19: Poisson probability mass, cumulative probability and mean. https://www.itl.nist.gov/div898/handbook/eda/section3/eda366j.htm (accessed 2026-11-19) ### Preemptible garbage collection URL: https://hesela.dev/terms/preemptible-garbage-collection/ Also known as: Preemptible GC, Semi-preemptible GC Status: research Record updated: 2026-10-25 Preemptible garbage collection lets foreground requests interrupt reclamation at supported scheduling points before reclamation resumes. Note: The interruption boundary matters: Lee et al.'s semi-preemptible policy yields between NAND commands, not inside an executing erase. Low free-block reserves can prevent foreground work from preempting reclamation. [pgc] Fully preemptible GC in that paper assumes additional NAND suspend/resume support. The policy evaluation is simulation, not a generic firmware capability or a latency guarantee. [pgc] Limitations: - The paper's worst-case comparison applies only while state 1 admits foreground requests. (sources: [pgc]) Related terms: - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [nand-erase-suspension](https://hesela.dev/terms/nand-erase-suspension/) - [rain](https://hesela.dev/terms/rain/) Citations: - [pgc] Lee et al. Preemptible I/O Scheduling of Garbage Collection for Solid State Drives. IEEE TCAD 32(2), 247-260 (2013), sections III-V. https://discos.sogang.ac.kr/file/2013/intl_jour/IEEE_TCAD_2013_YKim.pdf (accessed 2026-10-25) - [hesela-fairness] Hesela: SSD fairness, NAND suspension and write progress. https://hesela.com/analyses/ssd-fairness-shared-queues/#nand-suspension (accessed 2026-10-25) ### Prefetch trigger distance URL: https://hesela.dev/terms/prefetch-trigger-distance/ Status: research Record updated: 2026-10-18 Prefetch trigger distance specifies how far before the end of an already-prefetched sequence the next prefetch is initiated. Note: In AMP, g = 0 places the trigger on the last page; batch size p and trigger distance g are separate controls. [amp] This policy variable is not a Linux readahead syscall argument or a nonblocking-I/O guarantee. [hesela-prefetch] Related terms: - [prefetch-wastage](https://hesela.dev/terms/prefetch-wastage/) - [readahead](https://hesela.dev/terms/readahead/) - [posix-fadv-willneed](https://hesela.dev/terms/posix-fadv-willneed/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [page-cache](https://hesela.dev/terms/page-cache/) Citations: - [amp] Binny S. Gill and Luis Angel D. Bathen. AMP: Adaptive Multi-stream Prefetching in a Shared Cache. FAST 2007, pp. 185-198; sections II-VI. https://www.usenix.org/legacy/event/fast07/tech/full_papers/gill/gill.pdf (accessed 2026-10-18) - [hesela-prefetch] Hesela: fetch size, trigger timing and prefetch diagnostic evidence. https://hesela.com/analyses/o-direct-alignment-by-kernel/#shared-prefetch (accessed 2026-10-18) ### Prefetch wastage URL: https://hesela.dev/terms/prefetch-wastage/ Also known as: wasted prefetch Status: research Record updated: 2026-11-09 Prefetch wastage is the eviction of prefetched data before its first demand access. Note: The predicted access can still be correct but occur after eviction. [amp] For an observation-window count, separate evicted-unused data from data still resident at the cutoff; the latter has an unresolved outcome. [hesela-prefetch] A new batch placed at MRU can evict still-unconsumed tracks from the preceding batch, even though those tracks will be requested sooner. SARC's ordering fix also promotes that unconsumed remainder. This is an eviction-order problem, not necessarily inaccurate prediction. [sarc-order] Li and Shen's Linux 2.6.10 prototype separates prefetched, not-yet-accessed pages from ordinary cached pages; first access moves a page to the latter. Prefetch-pool allocation and victim selection are separate decisions. This historical experiment is not current-kernel documentation. [prefetch-memory05] Related terms: - [prefetch-trigger-distance](https://hesela.dev/terms/prefetch-trigger-distance/) - [cache-pollution](https://hesela.dev/terms/cache-pollution/) - [readahead](https://hesela.dev/terms/readahead/) - [posix-fadv-willneed](https://hesela.dev/terms/posix-fadv-willneed/) - [page-cache](https://hesela.dev/terms/page-cache/) - [sarc](https://hesela.dev/terms/sarc/) - [table-based-prefetching](https://hesela.dev/terms/table-based-prefetching/) - [diskseen](https://hesela.dev/terms/diskseen/) Citations: - [amp] Binny S. Gill and Luis Angel D. Bathen. AMP: Adaptive Multi-stream Prefetching in a Shared Cache. FAST 2007, pp. 185-198; sections II-VI. https://www.usenix.org/legacy/event/fast07/tech/full_papers/gill/gill.pdf (accessed 2026-10-18) - [hesela-prefetch] Hesela: fetch size, trigger timing and prefetch diagnostic evidence. https://hesela.com/analyses/o-direct-alignment-by-kernel/#shared-prefetch (accessed 2026-10-18) - [sarc-order] Gill and Modha. SARC, USENIX ATC 2005, section II-C and Figure 1: prefetch ordering and loss of the stack property. https://www.usenix.org/legacy/events/usenix05/tech/general/full_papers/gill/gill_html/node10.html (accessed 2026-10-30) - [prefetch-memory05] Chuanpeng Li and Kai Shen. Managing Prefetch Memory for Data-Intensive Online Servers. FAST 2005, pp. 253-266; sections 3-4. https://www.usenix.org/legacy/event/fast05/tech/full_papers/li_c/li_c.pdf (accessed 2026-11-09) ### Prefix Bloom filter URL: https://hesela.dev/terms/prefix-bloom-filter/ Also known as: Prefix membership filter Status: shipping Record updated: 2026-12-02 A Bloom filter built over extracted key prefixes rather than only whole keys, allowing negative membership tests for those represented prefixes. Note: A present prefix can belong to an absent full key; that is not a false positive for prefix membership. A single negative prefix test cannot prove an interval crossing other prefixes empty. The extractor needs a comparator under which keys that share a prefix sit together in the total order, otherwise a correct negative can still hide a matching key. [prefix-guide] RocksDB documents total_order_seek as bypassing prefix filtering where supported. Its adaptive mode aims to preserve total-order results, but v9.7.3 documents a short-key omission when the upper bound uses a different prefix. Do not treat that intent as an unconditional guarantee. [prefix-options] Manual prefix mode returns undefined results outside the prefix without an error. A file whose stored extractor name differs from the current one is generally read without its prefix filter. [prefix-guide] Prefix filters help only queries whose prefix is known in advance. A range-filter evaluation on 128-bit keys made of a 64-bit timestamp and a 64-bit sensor ID left them out, because arbitrary integer ranges had no predetermined prefixes and absent keys sharing a prefix with a present key always pass. [surf] Advantages: - Short iterator queries confined to one prefix can skip sorted runs that hold no entry for it, saving I/O requests and block decompression. (sources: [prefix-guide]) Limitations: - Adaptive mode supports only fixed and capped extractors, needs comparator support for an immediate-successor test and spends extra CPU deciding whether each file qualifies. (sources: [prefix-guide]) Sources and caveats: - prefix-guide re-read 2026-10-23 for comparator compatibility, total-order and adaptive modes, manual-mode misuse and extractor changes. - surf read 2026-10-23, sections 1, 6 and 7, for the 128-bit key layout and the reasons prefix filters were excluded from the evaluation. - The sstable entry links here because prefix filters are stored per table file and are skipped for files built with a different extractor. - A companion analysis on prefix order counterexamples is listed but not used in prose. - 2026-11-14: replaced the wiki-derived unconditional adaptive-mode claim with the versioned API caveat; no claim about uninspected newer releases. Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [prefix-extractor](https://hesela.dev/terms/prefix-extractor/) - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) - [sstable](https://hesela.dev/terms/sstable/) - [slimdb](https://hesela.dev/terms/slimdb/) - [tablefs](https://hesela.dev/terms/tablefs/) - [prefix-siphoning](https://hesela.dev/terms/prefix-siphoning/) Citations: - [prefix-guide] RocksDB project. Prefix Seek: comparator compatibility, iterator modes and extractor changes. https://github.com/facebook/rocksdb/wiki/Prefix-Seek (accessed 2026-10-23) - [hesela] Hesela: prefix order counterexamples and exact-set checks. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#prefix-order (accessed 2026-10-20) - [surf] Zhang, Lim, Leis, Andersen, Kaminsky, Keeton and Pavlo. SuRF: Practical Range Query Filtering with Fast Succinct Tries. SIGMOD 2018, sections 1, 6 and 7. https://www.cs.cmu.edu/~pavlo/papers/mod601-zhangA-hm.pdf (accessed 2026-10-23) - [prefix-options] RocksDB v9.7.3 options.h: ReadOptions total_order_seek and auto_prefix_mode short-key BUG. https://github.com/facebook/rocksdb/blob/v9.7.3/include/rocksdb/options.h#L1692-L1712 (accessed 2026-11-14) ### Prefix extractor URL: https://hesela.dev/terms/prefix-extractor/ Also known as: Key prefix transform Status: shipping Record updated: 2026-10-23 A key transformation with a defined input domain that produces the prefix used for prefix-based indexing or filtering. Note: Keys outside the domain are neither added to nor queried against prefix filters. A fixed-length extractor of 4 bytes excludes a 3-byte key, while a capped-length extractor accepts every key and returns at most the cap. A no-op transform returns the whole key. Do not infer a bytewise query contract from a character count. [prefix-transform] Equal-prefix keys must form one contiguous comparator interval, with no out-of-domain interruption. In a suffix-first order, cat:1 < dog:2 < cat:3 violates a first-three-byte grouping. Passing finite examples does not establish compatibility for unseen keys. [prefix-order-api] Seeking a bare prefix is safe only when appending bytes leaves the extracted prefix unchanged. With an extractor that returns text up to the first comma, abc, qualifies but abc does not: a stored key abcd,e has prefix abcd, and a filter could skip its file. The interface default answers no, which is always safe. [prefix-transform] After a restart with a different extractor, files that record another extractor name usually have their prefix filters ignored. [prefix-seek-wiki] Advantages: - A matching extractor lets prefix scans skip files whose filter shows no key with the requested prefix. (sources: [prefix-seek-wiki]) Limitations: - An automatic prefix mode meant to match total-order results is documented as insufficient in some upper-bound cases, so prefix seeks still need explicit review. (sources: [prefix-transform]) - Iterating past the prefix range in plain prefix mode returns undefined results without an error. (sources: [prefix-seek-wiki]) Sources and caveats: - prefix-transform re-read 2026-10-23 for the domain rule, the 4-byte example, append stability and the fixed, capped and no-op factories. - prefix-seek-wiki read 2026-10-23 for prefix and total-order read modes, extractor changes across restarts and undefined out-of-range iteration. - The succinct-range-filter entry links here because a prefix filter serves a range query only when the range lies inside one extracted prefix. - A companion analysis on prefix order counterexamples is listed but not used in prose. Related terms: - [prefix-bloom-filter](https://hesela.dev/terms/prefix-bloom-filter/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) Citations: - [prefix-transform] RocksDB v9.7.3. SliceTransform: domain, append stability and fixed, capped and no-op extractor contracts. https://github.com/facebook/rocksdb/blob/v9.7.3/include/rocksdb/slice_transform.h (accessed 2026-10-23) - [hesela] Hesela: prefix order counterexamples and exact-set checks. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#prefix-order (accessed 2026-10-20) - [prefix-order-api] RocksDB v9.7.3: prefix_extractor contiguity requirement. https://github.com/facebook/rocksdb/blob/v9.7.3/include/rocksdb/options.h (accessed 2026-10-20) - [prefix-seek-wiki] RocksDB wiki: Prefix Seek; read modes, prefix extractor changes and prefix iteration limits. https://github.com/facebook/rocksdb/wiki/Prefix-Seek (accessed 2026-10-23) ### Prefix-free code URL: https://hesela.dev/terms/prefix-free-code/ Also known as: Prefix code, Instantaneous code Status: shipping Record updated: 2026-11-18 A prefix-free code assigns distinct codewords so that none is a prefix of another, allowing immediate symbol decoding from a known boundary. Note: Decoding: With the same codebook and a known starting boundary, a decoder can recognize each symbol without reading the next symbol. Huffman coding constructs prefix-free codes. Prefix freedom alone does not guarantee resynchronization after a lost bit. [huffman1952] [rfc1951] Lengths: Binary codeword lengths l must satisfy sum(2^-l) <= 1 for unique decoding. This condition guarantees that a prefix-free assignment with those lengths exists, not that any assignment works. A=0, B=01, C=10 has sum 1, yet 010 represents either AC or BA. [mcmillan1956] [hesela-codebooks] Scope: Prefix freedom is sufficient but not necessary for unique decoding. The codewords 1, 10 and 100 are uniquely decodable without being prefix-free. This broader property does not promise immediate left-to-right symbol decisions. [mcmillan1956] Recovery: Parsing valid codewords does not verify the intended message or its completeness. Canonical reconstruction still needs symbol order and the format's assignment rules; code lengths alone do not supply those conventions. Prefix-free parsing for BWT construction is a different technique. [rfc1951] [hesela-codebooks] Sources and caveats: - McMillan's Discussion was checked in indexed original-paper text; direct retrieval of the university PDF mirror timed out. The theorem and its converse are distinguished from the constructed example. - The codebook examples are exact teaching arithmetic, not a native codec experiment, error-rate estimate or general unique-decodability tester. Related terms: - [uniquely-decodable-code](https://hesela.dev/terms/uniquely-decodable-code/) - [huffman-coding](https://hesela.dev/terms/huffman-coding/) - [rice-coding](https://hesela.dev/terms/rice-coding/) - [prefix-free-parsing](https://hesela.dev/terms/prefix-free-parsing/) Citations: - [huffman1952] David A. Huffman (1952): A Method for the Construction of Minimum-Redundancy Codes, pp. 1098-1099. https://web.stanford.edu/class/ee398a/handouts/papers/Huffman%20-%20Min%20Redundancy%20Codes%20-%20IRE52.pdf (accessed 2026-11-18) - [rfc1951] RFC 1951: prefix codes and canonical Huffman assignment, sections 3.2.1-3.2.2. https://www.rfc-editor.org/rfc/rfc1951.html (accessed 2026-11-18) - [mcmillan1956] Brockway McMillan (1956): Two Inequalities Implied by Unique Decipherability, IRE Transactions on Information Theory 2(4), 115-116. https://doi.org/10.1109/TIT.1956.1056818 (accessed 2026-11-18) - [hesela-codebooks] Hesela: equal codeword lengths can hide an ambiguous assignment. https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#prefix-codebooks (accessed 2026-11-18) ### Prefix-free parsing URL: https://hesela.dev/terms/prefix-free-parsing/ Also known as: PFP Status: research Record updated: 2026-11-17 Prefix-free parsing splits a text into overlapping phrases whose dictionary and parse support construction of its Burrows-Wheeler transform. Note: Parsing: A rolling-hash trigger ends one phrase and starts the next with a shared window of w symbols. The dictionary stores distinct phrases; the parse records their lexicographic identifiers. In the 2019 formulation, phrase suffixes longer than w form a prefix-free set. This is not Huffman prefix coding. [pfp] Construction: BWT workspace is bounded by the combined dictionary and parse sizes, not automatically by the final run count r. Window and trigger parameters affect both structures. The 2019 chromosome-19 experiment's 131 MB index supports counting only; a later sampling stage can dominate peak memory when locate support is added. [pfp] Scaling: The 2025 PFP-merge preprint constructs subgroup BWTs and merges them. It targets groups with strong internal repetition but weaker similarity between groups. Its experiment trades lower peak memory for longer wall-clock time; the paper's filtered inputs and BWT/eBWT conventions matter when comparing tools. [merge] Use: Budget construction separately from the deployed index and specify count, locate and extraction requirements before comparing sizes. A small final index is not evidence that its builder fits the same memory budget. [pfp] [merge] Limitations: - Compression and construction costs depend on the input and parameters; the cited experiments are not a general memory guarantee for arbitrary collections. (sources: [pfp], [merge]) Sources and caveats: - The 2019 journal article and explicitly versioned 2025 preprint are synthesized separately; no PFP benchmark was rerun by Hesela. - No third-party paper text, figures, genomic data or implementation is redistributed. Related terms: - [prefix-free-code](https://hesela.dev/terms/prefix-free-code/) - [burrows-wheeler-transform](https://hesela.dev/terms/burrows-wheeler-transform/) - [r-index](https://hesela.dev/terms/r-index/) Citations: - [pfp] Boucher et al.: Prefix-free parsing for building big BWTs, Algorithms for Molecular Biology 14:13 (2019), theory and indexing sections. https://link.springer.com/article/10.1186/s13015-019-0148-5 (accessed 2026-11-17) - [merge] Diaz-Dominguez et al.: Prefix-free parsing for merging big BWTs, arXiv:2506.03294v1 (2025), sections 2-4. https://arxiv.org/html/2506.03294v1 (accessed 2026-11-17) ### Prefix-preserving crash consistency URL: https://hesela.dev/terms/prefix-preserving-crash-consistency/ Related analysis: https://hesela.com/analyses/ssd-mapping-cache-hmb/ Also known as: Prefix-preserving disk model Status: research Record updated: 2026-11-12 A recovery contract in which surviving updates form a prefix of the specified write order, including all writes covered by the last successful flush. Note: OPTR defines order at device request receipt and adds request-level atomicity; this is not application submission order or atomicity of an entire multi-request transaction. Its no-barrier usage relaxes durability. [optr] Recovery: Dirty-page overwrites can merge requests before flash programming. OPTR records these coalescing dependencies. Recovery cannot retain an incomplete request or separate coalesced requests across its boundary; stopping just before the first incomplete request can still be too late. The contract constrains recovered contents, not physical programming order. [optr] Related terms: - [ftl](https://hesela.dev/terms/ftl/) - [snapshot-consistent-ftl](https://hesela.dev/terms/snapshot-consistent-ftl/) - [torn-write](https://hesela.dev/terms/torn-write/) Citations: - [optr] Chang and Liu. OPTR: Order-Preserving Translation and Recovery Design for SSDs. USENIX ATC 2019, pp. 1009-1024; sections 3.2, 3.5 and 5-7. https://files.usenix.org/s3fs-public/cdn/atc19-chang_0.pdf (accessed 2026-11-12) - [hesela] Hesela: SSD mapping caches and recovery contracts. https://hesela.com/analyses/ssd-mapping-cache-hmb/#crash-contracts (accessed 2026-10-15) ### Prefix siphoning URL: https://hesela.dev/terms/prefix-siphoning/ Also known as: Range-filter key disclosure Status: research Record updated: 2026-12-02 Prefix siphoning is a timing side channel in which certain LSM-tree range filters expose information about stored key prefixes through point-query response times. Note: The ATC 2023 study examines SuRF and prefix Bloom filters. Its threat model permits chosen point queries before authorization and observable timing differences; range queries are not required. Denying a value read does not necessarily conceal its key. [paper] Evidence differs by experiment: the SuRF timing demonstration ran clients and storage on one server with constrained memory and background reads. The prefix Bloom evaluation used idealized filter classification. Neither establishes vulnerability of every current RocksDB deployment. [paper] The authors discuss authorization before storage lookup, separating point and range filters, and rate limits. These change architecture, memory or throughput; they are not a universal confidentiality proof. [paper] Hesela's synthetic counterexample gives two designs the same 20/200 false-positive fraction. One splits positives 10/100 and 10/100 across query groups; the other splits them 20/100 and 0/100. Equal aggregate rates therefore do not determine group-conditioned behavior. This exact arithmetic is not a replication or an observed timing channel. [example] Limitations: - A scalar false-positive rate is insufficient evidence of confidentiality; query semantics, authorization order and observable execution paths also need review. (sources: [paper]) Sources and caveats: - Primary-source synthesis and a separate Hesela arithmetic counterexample. No attack execution, production scan, native engine experiment or benchmark replication. Related terms: - [prefix-bloom-filter](https://hesela.dev/terms/prefix-bloom-filter/) - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sstable](https://hesela.dev/terms/sstable/) Citations: - [paper] Kaufman, Hershcovitch and Morrison. Prefix Siphoning: Exploiting LSM-Tree Range Filters For Information Disclosure. USENIX ATC 2023, sections 4, 9-11. https://www.usenix.org/system/files/atc23-kaufman.pdf (accessed 2026-12-02) - [example] Hesela: equal aggregate false-positive rates, different conditional behavior; synthetic exact counterexample and tests (CC0). https://hesela.dev/research/filter-rate-conditioning/README.md (accessed 2026-12-02) ### Pressure Stall Information (PSI) URL: https://hesela.dev/terms/pressure-stall-information/ Related analysis: https://hesela.com/analyses/linux-process-io-accounting/ Also known as: PSI, I/O pressure, io.pressure Status: shipping Record updated: 2026-11-16 Pressure Stall Information measures time during which tasks are stalled on CPU, memory or I/O resources. Note: For I/O pressure, some tracks intervals with at least one stalled task; full tracks intervals when all non-idle tasks are stalled simultaneously. Each line's total accumulates stall time in microseconds; avg10, avg60 and avg300 report percentage trends over their respective windows. [psi] /proc/pressure/io describes system scope; cgroup v2 io.pressure describes a group. full is a subset of some, so their totals must not be added. Neither is a device-busy percentage, request-latency percentile or sum of individual request latencies. [psi] Limitations: - System-level CPU full is undefined and reported as zero in the documented interface. (sources: [psi]) Sources and caveats: - Source synthesis from Linux 6.12 documentation; no new host measurements or universal performance guarantee. Related terms: - [cgroup-v2-io-controller](https://hesela.dev/terms/cgroup-v2-io-controller/) - [process-io-accounting](https://hesela.dev/terms/process-io-accounting/) - [linux-iowait](https://hesela.dev/terms/linux-iowait/) - [transparent-memory-offloading](https://hesela.dev/terms/transparent-memory-offloading/) - [memory-reclaim](https://hesela.dev/terms/memory-reclaim/) Citations: - [psi] Linux 6.12: Pressure Stall Information and cgroup2 interface. https://docs.kernel.org/6.12/accounting/psi.html (accessed 2026-11-03) ### Presumed abort URL: https://hesela.dev/terms/presumed-abort/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Presumed abort protocol, Presumed-abort two-phase commit Status: shipping Record updated: 2026-11-16 Presumed abort is a two-phase commit optimization in which a recovery coordinator with no transaction state answers an inquiring prepared participant with abort. Note: In R*, an abort decision can be forgotten without awaiting acknowledgements. Abort records need not be forced to stable storage; commit still requires durable decision tracking until updating participants acknowledge it. This is not a no-logging protocol. [rstar] A read-only leaf can report READ VOTE and leave without a prepare log record or a second-phase decision message. No writes at that participant is different from a yes vote promising to make writes durable. [rstar] The missing-state rule is a response from the responsible recovery coordinator, not permission for a prepared participant to abort after a timeout. R* explicitly retains blocking when that coordinator cannot be reached. [rstar] In historical JBoss EAP 5 WS-AT, after restarting, the coordinator distinguishes logged decisions and active transactions from unknown ones. A waiting participant resends its prepared message; an unknown transaction receives an abort instruction. Commit records are retained until every participant confirms completion. [jboss-recovery] The documentation treats a participant's unilateral timeout decision as a separate heuristic path. A conflicting outcome must be reported and reconciled, not reported as atomic success. Recovery callbacks can also run more than once across a crash, so completion handling needs replay-safe behavior. [jboss-recovery] Do not infer this decision from a missing PostgreSQL pg_twophase file. PostgreSQL 16 may retain short-lived prepared transactions in shared memory and WAL, with files added when they span checkpoints. pg_prepared_xacts exposes prepared transactions, not the external coordinator's complete outcome history. [postgres-two-phase] Limitations: - The protocol assumes recoverable coordinator state. Deleting or losing its decision log is not equivalent to the legitimate absence of an entry. (sources: [rstar], [jboss-recovery]) - When R* chooses between presumed abort and presumed commit per transaction, the chosen protocol must accompany recovery inquiries. The same missing-state observation has different meanings. (sources: [rstar]) Sources and caveats: - Primary-source synthesis, not an executed recovery experiment or a throughput measurement. JBoss EAP 5 is a historical implementation example, not a claim about every current transaction manager. - Operational inference: distinguish authoritative absence, unavailable communication and lost recovery state before interpreting a missing entry. Related terms: - [two-phase-commit](https://hesela.dev/terms/two-phase-commit/) - [stable-storage](https://hesela.dev/terms/stable-storage/) - [presumed-commit](https://hesela.dev/terms/presumed-commit/) Citations: - [rstar] Mohan, Lindsay and Obermarck. Transaction Management in the R* Distributed Database Management System. TODS 11(4), 1986, sections 2.2, 3, 5. https://people.csail.mit.edu/tdanford/6830papers/mohan-transaction-management.pdf (accessed 2026-11-16) - [jboss-recovery] Red Hat JBoss Enterprise Application Platform 5: Transactions Development Guide, chapter 23, WS-AT coordinator and participant crash recovery. https://docs.redhat.com/en/documentation/JBoss_Enterprise_Application_Platform/5/html/transactions_development_guide/ch23 (accessed 2026-11-16) - [postgres-two-phase] PostgreSQL 16: Two-Phase Transactions; WAL, checkpoint files and prepared-transaction inspection. https://www.postgresql.org/docs/16/two-phase.html (accessed 2026-11-16) ### Presumed commit URL: https://hesela.dev/terms/presumed-commit/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Presumed commit protocol, Presumed-commit two-phase commit Status: shipping Record updated: 2026-11-16 Presumed commit is a two-phase commit optimization in which a recovery coordinator with no retained protocol state answers an inquiring prepared participant with commit. Note: In basic R* presumed commit, a nonleaf force-writes a collecting record naming its immediate subordinates before sending PREPARE. Updating participants still force their prepare records before voting yes. The optimization does not remove preparation logging. [rstar] A collecting record with no later protocol record means the process was still collecting, not prepared. Recovery aborts that transaction, waits for acknowledgements and logs completion before forgetting it. A nonroot that subsequently logged prepare instead asks its parent for the outcome. [rstar] On the successful update path, the root coordinator still forces its commit decision. Participants can log commit without forcing it and omit commit acknowledgements. Abort recovery instead retains the outcome until the required recipients acknowledge it; this trades early participant-list persistence for less successful-commit traffic. [presumed-either] The answer must come from the responsible recovery coordinator. A participant timeout is not permission to commit. R* remains blocking when the required coordinator cannot be contacted. [rstar] When R* mixes presumed abort and presumed commit, protocol identity accompanies PREPARE, the first protocol log record and recovery inquiries. The same absence of state cannot be interpreted without that identity. [rstar] Limitations: - Read-only leaves can avoid logging, but R* nonleaves with entirely read-only subtrees still write a forced collecting record and an unforced commit record. (sources: [rstar]) - Fewer messages do not imply universally lower latency: the extra early forced write and workload mix matter. Presumed-either is a later, distinct protocol that conditionally exploits participant records already made durable. (sources: [presumed-either]) Sources and caveats: - Primary-source synthesis of historical commit protocols, independently source-reviewed. No distributed recovery experiment or performance measurement was executed. - Operational inference: establish protocol identity and intact recovery history before interpreting absence. Accidental deletion or loss of the coordinator log is not the protocol's legitimate no-information case. Related terms: - [two-phase-commit](https://hesela.dev/terms/two-phase-commit/) - [presumed-abort](https://hesela.dev/terms/presumed-abort/) Citations: - [rstar] Mohan, Lindsay and Obermarck. Transaction Management in the R* Distributed Database Management System. TODS 11(4), 1986, sections 4-5 and footnote 8. https://people.csail.mit.edu/tdanford/6830papers/mohan-transaction-management.pdf (accessed 2026-11-16) - [presumed-either] Attaluri and Salem. The Presumed-Either Two-Phase Commit Protocol. IEEE TKDE 14(5), 2002, pp. 1190-1191, sections 2-3. https://cs.uwaterloo.ca/~kmsalem/pubs/presumedeitherTKDE02.pdf (accessed 2026-11-16) ### Priority-based Flow Control (PFC) URL: https://hesela.dev/terms/priority-flow-control/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: PFC, Priority Flow Control Status: shipping Record updated: 2026-11-29 Priority-based Flow Control pauses selected Ethernet traffic priorities on a link to avoid frame loss caused by congestion. Note: PFC operates on priorities on a full-duplex link, not on individual application flows. Avoiding congestion drops is not a guarantee of data integrity, write persistence or recovery. [pfc-standard] Pause propagation can stall a traffic class across multiple links. The cited switch guide documents a watchdog that drops traffic when a no-drop queue remains stuck; this is release-specific behavior, not a requirement for all PFC implementations. [pfc-operation] Zhu et al.'s SIGCOMM 2015 RoCEv2 experiments show that a victim flow can be slowed by congestion outside its path because pause messages cascade. Their testbed result is not an FCoE measurement or a universal throughput estimate. [dcqcn15] Buffer headroom matters after PAUSE: frames already in flight or sent before the upstream transmitter stops still arrive. In the DCQCN paper's shared-buffer analysis, ECN marks egress queues while PFC monitors ingress queues; comparing their thresholds as if they measured one queue is misleading. Marking before PAUSE does not guarantee avoiding PAUSE during feedback delay. The calculations describe the authors' Trident II testbed, not universal switch settings. [dcqcn15] Sources and caveats: - Specification scope, vendor documentation and a historical RoCEv2 experiment are distinct evidence types; no hardware test was performed by Hesela. Related terms: - [data-center-bridging](https://hesela.dev/terms/data-center-bridging/) - [fcoe](https://hesela.dev/terms/fcoe/) - [dcbx](https://hesela.dev/terms/dcbx/) Citations: - [pfc-standard] IEEE 802.1Qbb: Priority-based Flow Control, project scope. https://1.ieee802.org/dcb/802-1qbb/ (accessed 2026-11-02) - [pfc-operation] Cisco Nexus 9000 NX-OS QoS Guide, Release 10.5(x): Configuring Priority Flow Control. https://www.cisco.com/c/en/us/td/docs/dcn/nx-os/nexus9000/105x/configuration/qos/cisco-nexus-9000-series-nx-os-quality-of-service-configuration-guide-105x/m-configuring-priority-flow-control.html (accessed 2026-11-02) - [dcqcn15] Zhu et al., Congestion Control for Large-Scale RDMA Deployments, SIGCOMM 2015, sections 2.2 and 4. DOI 10.1145/2785956.2787484. https://conferences.sigcomm.org/sigcomm/2015/pdf/papers/p523.pdf (accessed 2026-11-29) ### PRML detection URL: https://hesela.dev/terms/prml-encoding/ Related article: https://hesela.com/tech/prml-read-channel/ Also known as: PRML, partial-response maximum-likelihood, PRML read channel Status: unknown Record updated: 2026-10-20 Partial-response maximum-likelihood (PRML) detection recovers a recorded symbol sequence by equalizing readback to a chosen partial-response target and evaluating sequence likelihoods under a channel model. Note: Equalization retains controlled intersymbol interference; sequence detection interprets that overlap. PR4 and EPR4 are different target responses, not different error-correcting codes [kobayashi2009]. The 1992 receiver also includes gain and timing recovery and constrained coding [ibm1992]. A binary PR4 target can be described by a four-state full-rate trellis or by two interleaved two-state trellises; the decomposition also requires compatible noise and coding assumptions [umemoto1997]. Error rates at detector decisions, input to error correction and recovered sectors describe different stages [ibm2001]. The stable slug prml-encoding remains for compatibility; PRML is not a standalone encoding format. Advantages: - Sequence detection can exploit a model of controlled interference rather than relying only on isolated peak decisions. (sources: [ibm1992]) Limitations: - A likelihood decision is conditional on the assumed channel and noise model; it is not a guarantee of correct recovered data. (sources: [ibm1992], [ibm2001]) Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [pmr](https://hesela.dev/terms/pmr/) - [run-length-limited](https://hesela.dev/terms/run-length-limited/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [npml-detection](https://hesela.dev/terms/npml-detection/) - [partial-response-target](https://hesela.dev/terms/partial-response-target/) - [intersymbol-interference](https://hesela.dev/terms/intersymbol-interference/) Citations: - [ibm1992] Cideciyan et al., A PRML System for Digital Magnetic Recording (1992), IBM Research abstract; DOI 10.1109/49.124468. https://research.ibm.com/publications/a-prml-system-for-digital-magnetic-recording (accessed 2026-10-11) - [ibm2001] Cideciyan et al., Noise predictive maximum likelihood detection combined with parity-based post-processing (2001), IBM Research abstract. https://research.ibm.com/publications/noise-predictive-maximum-likelihood-detection-combined-with-parity-based-post-processing (accessed 2026-10-11) - [kobayashi2009] H. Kobayashi, PRML historical review, IEEE Communications Magazine 47(3), 14-17 (2009), full text. https://hp.hisashikobayashi.com/wp-content/uploads/2015/12/PRML-IEEE-Comm_Magazine.pdf (accessed 2026-10-20) - [umemoto1997] M. Umemoto, PR5ML Processing for Perpendicular Magnetic Recording (1997), section II and Table 1, full text. https://www.jstage.jst.go.jp/article/jmsjmag/21/S_2_PMRC_97_2/21_S_2_PMRC_97_2_S2_395/_pdf (accessed 2026-10-20) ### Probability calibration URL: https://hesela.dev/terms/probability-calibration/ Also known as: probabilistic calibration, reliability of probability forecasts Status: shipping Record updated: 2026-11-23 Probability calibration is agreement between forecast probabilities and conditional event frequencies among observations receiving those probabilities. Note: A reliability diagram groups forecast scores and compares mean probability with the observed positive fraction; report the group boundaries and counts. One comparative study used ten bins of width 0.1 and fitted calibrators on independent samples of 1000 cases. Such an estimate describes an evaluation sample, not a guarantee for every individual drive. [supervised-probabilities] A fitted calibrator must be evaluated without reusing its fitting data as the final test set. Sigmoid fitting suits sigmoid-shaped distortion, while isotonic regression corrects any monotonic distortion but overfits small calibration sets: below roughly 200 to 1000 cases, sigmoid fitting gave lower squared error. [supervised-probabilities] [calibration-guide] For multiclass neural networks, a single temperature T > 0 rescales logits without changing the predicted class. Measured with 15 equal-width bins, expected calibration error for a 110-layer residual network on a 100-class image benchmark fell from 16.53% to 1.26%. These results come from image and document classification, not storage failure prediction. [guo-icml17] Calibration is population-specific. Under unchanged class-conditional features, a valid source posterior can be reweighted by target/source class priors and renormalized. An arbitrary score is not made probabilistic by this operation. An aggregate event-count match does not verify the invariant-conditionals assumption or subgroup probabilities. [alexandari-icml20] [lipton-icml18] Under its label-shift, support and invertibility assumptions, BBSE can estimate target class proportions without calibrated scores; this does not calibrate those scores or validate per-drive risk. [lipton-icml18] Event-probability and prediction-correctness calibration differ. [vaicenavicius] Advantages: - A strictly increasing transformation preserves score ordering and ties within a fixed evaluation population, so its ROC-AUC is unchanged. (sources: [calibration-guide]) Limitations: - Better accuracy does not imply better calibration: in modern networks, miscalibration worsened even as classification error fell. (sources: [guo-icml17]) - Prior correction requires justified source probabilities and class priors; a changed device mix or within-class selection can invalidate the assumed class-conditional law. (sources: [alexandari-icml20], [lipton-icml18]) - A non-decreasing isotonic calibrator can introduce ties and change ROC-AUC; monotonicity alone does not guarantee preservation of that ranking metric. (sources: [calibration-guide]) Sources and caveats: - supervised-probabilities read 2026-10-23 for binning, calibration-set sizes and the sigmoid versus isotonic comparison. - calibration-guide read 2026-10-23 for the disjoint-data requirement and the roughly 1000-sample guidance. - guo-icml17 read 2026-10-23, sections 4, 5 and Table 1, for temperature scaling and the ECE figures. - A companion analysis with invented counts is listed but not used in prose. - alexandari-icml20 reviewed 2026-10-27, section 2.2 and equation 8: posterior reweighting under label shift; not a storage experiment. - lipton-icml18 reviewed 2026-10-27, assumptions A.1-A.3 and equation 1: invariant class conditionals, support and nonsingular confusion matrix. - calibration-guide rechecked 2026-10-27: the ranking note explicitly allows isotonic ties to change AUC; strict increasing-order preservation is stated only within a fixed population. - lipton-icml18 rechecked 2026-10-27, section 4, equation 1: confusion-matrix prevalence estimation does not require calibrated predictor scores; this is distinct from posterior adaptation. - 2026-11-23: linked distinct calibration targets after reviewing Vaicenavicius sections 3.1-3.2; existing benchmark figures and calibration methods retained. Related terms: - [brier-score](https://hesela.dev/terms/brier-score/) - [average-precision](https://hesela.dev/terms/average-precision/) - [matthews-correlation-coefficient](https://hesela.dev/terms/matthews-correlation-coefficient/) - [prediction-horizon](https://hesela.dev/terms/prediction-horizon/) - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [expected-calibration-error](https://hesela.dev/terms/expected-calibration-error/) - [confidence-calibration](https://hesela.dev/terms/confidence-calibration/) - [top-label-calibration](https://hesela.dev/terms/top-label-calibration/) Citations: - [calibration-guide] Probability calibration user guide: reliability diagrams, sigmoid and isotonic methods. https://scikit-learn.org/stable/modules/calibration.html (accessed 2026-10-27) - [guo-icml17] Guo, Pleiss, Sun and Weinberger. On Calibration of Modern Neural Networks. ICML 2017, sections 4-5 and Table 1. https://proceedings.mlr.press/v70/guo17a/guo17a.pdf (accessed 2026-10-23) - [hesela-calibration] Hesela: synthetic ranking, decision and calibration example; not measured drive results. https://hesela.com/analyses/ml-disk-failure-prediction/#probability-calibration (accessed 2026-10-17) - [supervised-probabilities] Niculescu-Mizil and Caruana. Predicting Good Probabilities With Supervised Learning. ICML 2005. https://www.cs.cornell.edu/~alexn/papers/calibration.icml05.crc.rev3.pdf (accessed 2026-10-23) - [alexandari-icml20] Alexandari et al. Maximum Likelihood with Bias-Corrected Calibration is Hard-To-Beat at Label Shift Adaptation. ICML 2020. https://proceedings.mlr.press/v119/alexandari20a/alexandari20a.pdf (accessed 2026-10-27) - [lipton-icml18] Lipton, Wang and Smola. Detecting and Correcting for Label Shift with Black Box Predictors. ICML 2018, assumptions A.1-A.3 and equation 1. https://proceedings.mlr.press/v80/lipton18a/lipton18a.pdf (accessed 2026-10-27) - [vaicenavicius] Vaicenavicius et al. Evaluating model calibration in classification. AISTATS 2019, sections 3.1-3.2 and 4.1. https://proceedings.mlr.press/v89/vaicenavicius19a/vaicenavicius19a.pdf (accessed 2026-11-23) ### Process-associated record lock URL: https://hesela.dev/terms/process-associated-record-lock/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: process-owned record lock, traditional POSIX record lock Status: shipping Record updated: 2026-11-14 A process-associated record lock is a byte-range file lock whose ownership is attached to a process rather than to an open file description. Note: On Linux, closing any descriptor for the file in the owning process releases that process's traditional record locks on it. A read-only descriptor or a hard-link alias can trigger this while the original holder remains open. Hesela's six-case local experiment contrasts these closes with flock. [fcntl] [observation] A separate 224-case SQLite experiment on Linux with the unix VFS connects that ownership rule to acknowledged history. In 16 selected executions using TRUNCATE or PERSIST journaling, a raw same-process close admitted a competing writer; both COMMIT calls succeeded but its acknowledged value later vanished. All final integrity checks returned ok. The recorded builds are distribution 3.45.1 and source-verified 3.54.1, not a production sample. [sqlite-observation] This is documented library-bypass misuse, not supported concurrent-write behavior. Managed connections and the tested WAL cases preserved exclusion; neither proves arbitrary raw closes or live-file copies safe. A structural checker cannot replace an application-history oracle. [sqlite-close] [sqlite-observation] Limitations: - Threads in one process share ownership; this lock class cannot provide exclusion between those threads. (sources: [fcntl]) - Advisory locking requires compatible participation and does not establish durability. (sources: [fcntl]) Related terms: - [advisory-file-lock](https://hesela.dev/terms/advisory-file-lock/) - [open-file-description-lock](https://hesela.dev/terms/open-file-description-lock/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [hard-link](https://hesela.dev/terms/hard-link/) - [flock](https://hesela.dev/terms/flock/) Citations: - [fcntl] Linux man-pages 6.19: fcntl_locking(2), process-associated locks. https://man7.org/linux/man-pages/man2/fcntl_locking.2.html (accessed 2026-10-16) - [observation] Hesela: six-case descriptor-close observation, controls and source SHA-256. https://hesela.dev/research/lock-close/observation.json (accessed 2026-10-16) - [hesela-close] Hesela: A second close can end a process-owned lock. https://hesela.com/analyses/atomic-rename-directory-durability/#lock-close (accessed 2026-10-16) - [sqlite-close] SQLite: How To Corrupt An SQLite Database File, section 2.2. https://sqlite.org/howtocorrupt.html#_posix_advisory_locks_canceled_by_a_separate_thread_doing_close_ (accessed 2026-10-21) - [sqlite-observation] Hesela: 224 controlled SQLite raw-close observations, derived summary and build scope. https://hesela.dev/research/sqlite-lock-bypass/summary.json (accessed 2026-10-21) - [sqlite-history] Hesela: read-only probes, acknowledged updates and integrity-check limits. https://hesela.com/analyses/atomic-rename-directory-durability/#sqlite-lock-bypass (accessed 2026-10-21) ### Process I/O accounting URL: https://hesela.dev/terms/process-io-accounting/ Also known as: Linux task I/O accounting, /proc/PID/io Status: shipping Record updated: 2026-11-08 Process I/O accounting attributes selected I/O activity to a process using counters whose meaning depends on the operation, ownership and accounting layer. Note: Linux separates read/write-family byte totals from storage-related read_bytes and write_bytes; the latter is charged when pages become dirty. A cached read and a shared memory-mapped write can therefore appear in different counters. [proc-doc] A process truncating another process's dirty file may gain cancelled_write_bytes without a matching write_bytes charge of its own. Hesela observed this in a temporary-file experiment with an fsync-before-truncation control, recording all counter snapshots and source provenance. [proc-man] [hesela-observation] Reaping can move a child's I/O contribution into its parent's process counters. In Hesela's single-parent experiment, the parent gained no wchar or write_bytes after WNOWAIT, then gained the child's 1 or 4 MiB at waitpid reaping while its individual-task view stayed unchanged. Keeping the child's historical total and adding the inclusive parent total counts that contribution twice. WNOWAIT observes termination without consuming the status; stopped-child waits also did not transfer the contribution. [wait-man] [linux-exit] [hesela-observation] Limitations: - A per-process write-minus-cancellation difference can be negative and is not a physical-device traffic counter. (sources: [proc-doc], [proc-man]) - Process totals include waited-for children; a parent's increase at reaping need not mean a new write. The leader's task-only path is not a complete substitute for multithreaded process accounting. (sources: [proc-man], [linux-proc], [hesela-observation]) Related terms: - [page-cache](https://hesela.dev/terms/page-cache/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) - [file-truncation](https://hesela.dev/terms/file-truncation/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [cgroup-v2-io-controller](https://hesela.dev/terms/cgroup-v2-io-controller/) - [pressure-stall-information](https://hesela.dev/terms/pressure-stall-information/) - [linux-iowait](https://hesela.dev/terms/linux-iowait/) Citations: - [proc-doc] Linux kernel documentation: /proc/PID/io accounting, section 3.3. https://docs.kernel.org/filesystems/proc.html (accessed 2026-10-18) - [proc-man] Linux man-pages 6.19: proc_pid_io(5). https://man7.org/linux/man-pages/man5/proc_pid_io.5.html (accessed 2026-10-18) - [hesela-observation] Hesela: Linux process I/O accounting observations and reproducible harness. https://hesela.com/analyses/linux-process-io-accounting/ (accessed 2026-10-18) - [wait-man] Linux man-pages: wait(2), waitid WNOWAIT semantics. https://man7.org/linux/man-pages/man2/wait.2.html (accessed 2026-10-18) - [linux-exit] Linux v6.8 kernel/exit.c: wait_task_zombie and child I/O accumulation. https://github.com/torvalds/linux/blob/v6.8/kernel/exit.c#L1010-L1091 (accessed 2026-10-18) - [linux-proc] Linux v6.8 fs/proc/base.c: process and task I/O accounting views. https://github.com/torvalds/linux/blob/v6.8/fs/proc/base.c#L2803-L2867 (accessed 2026-10-18) ### Processor sharing URL: https://hesela.dev/terms/processor-sharing/ Related analysis: https://hesela.com/analyses/ssd-fairness-shared-queues/ Also known as: egalitarian processor sharing, M/G/1-PS Status: research Record updated: 2026-11-20 Processor sharing is an idealized discipline that divides a server's capacity equally among all jobs currently present. Note: With n jobs present, each gets 1/n of the server. The ordinary model has constant total capacity and no switching cost or interruptions. This is an idealization, not a claim that an SSD continuously divides its resources this way. [ps-interruptions] For independent Poisson arrivals, iid positive service requirements S independent of arrivals, unlimited admission and no abandonment, let rho = lambda E[S] < 1. In stationarity, E[T | S=x] = x/(1-rho), with x measured as processing time at full capacity. Averaging gives E[T] = E[S]/(1-rho). [ps-mean] Thus at fixed arrival rate and mean service requirement, this mean is insensitive to the rest of the service distribution. Equal conditional mean slowdown is not equal realized slowdown, a tail percentile or a deadline guarantee; conditional variance requires separate analysis. [ps-variance] Hesela's constructed 1 ms mean-service example at 200 requests/s gives 1.25 ms mean response under ideal PS for both service distributions. FCFS gives 1.125 ms for constant service and 4.21875 ms for the variable mixture, so PS does not always improve the mean. These are exact formula evaluations, not measurements. [hesela-ps] The stationary mean conditions only on S=x, averaging over arrival states; it is not a prediction conditioned on the jobs currently present. For a separate ideal PS batch with no future arrivals, T = x + sum(min(x, r_i)). A 1 ms tagged job with two competitors totaling 2 ms finishes in 2.25 ms for residuals (0.25, 1.75) ms, but 3 ms for (1, 1) ms. Equal count and total work are insufficient. These constructed batches are not stationary means or measurements. [ps-state] [hesela-ps] Sources and caveats: - Primary-source synthesis and exact arithmetic using explicitly invented inputs; no device experiment or latency-distribution claim. - Conditional mean slowdown is per job size in a stationary model, distinct from FLIN's flow-level ratio of means. Related terms: - [service-time](https://hesela.dev/terms/service-time/) - [pollaczek-khinchine-formula](https://hesela.dev/terms/pollaczek-khinchine-formula/) - [slowdown-fairness](https://hesela.dev/terms/slowdown-fairness/) Citations: - [ps-interruptions] Nunez Queija. Sojourn Times in a Processor Sharing Queue with Service Interruptions. CWI PNA-R9807 (1998), introduction, pp.1-2. https://ir.cwi.nl/pub/4641/04641D.pdf (accessed 2026-11-20) - [ps-mean] Wierman, Bansal and Harchol-Balter. M/GI/1/FB and M/GI/1/PS response times. Operations Research Letters 32 (2004), pp.73-74; DOI 10.1016/S0167-6377(03)00061-0. https://www.cs.cmu.edu/~harchol/Papers/conjecture.pdf (accessed 2026-11-20) - [ps-variance] Wierman and Harchol-Balter. Classifying Scheduling Policies with Respect to Higher Moments of Conditional Response Time. SIGMETRICS 2005, sections 2-3. https://www.cs.cmu.edu/~harchol/Papers/Sigmetrics05a.pdf (accessed 2026-11-20) - [hesela-ps] Hesela: exact PS/FCFS comparison with rational inputs, assumptions and tests. https://hesela.dev/research/processor-sharing/README.md (accessed 2026-11-20) - [ps-state] Ward and Whitt. Predicting Response Times in Processor-Sharing Queues. Author manuscript, sections 1.2-1.3; equations (1.6), (1.36) and (1.38). https://www.columbia.edu/~ww2040/response.pdf (accessed 2026-11-20) ### Program-counter-based classification (PCC) URL: https://hesela.dev/terms/program-counter-based-classification/ Also known as: PCC buffer classification, Program-Counter-based Classification Status: research Record updated: 2026-11-21 PCC classifies buffer-cache accesses by the program contexts issuing I/O, allowing learned access patterns to guide replacement across files. Note: PCC's signature PC sums call-site addresses along the stack up to main(), separating callers that share an I/O wrapper. A single system-call address would merge those callers. The historical 32-bit signature is a compact context key, not a collision-free identity. [pcc] The block table records the last accessing context. When a tracked block is reused, its previous context receives the reuse evidence, even if a different context issues the new access. The classifier's sequential category means distinct blocks without reuse, not necessarily adjacent disk addresses. [pcc] The OSDI 2004 comparison replaced UBM's classifier while retaining its marginal-gain cache manager; the kernel implementation used Linux 2.4.20. AMP's later PCC* comparator instead used PCC detection with AMP cache management. These are different experimental comparisons. [pcc] [amp] For synthetic address lists, [0x1000,0x2000,0x4000] and [0x1000,0x2800,0x3800] both sum to 0x7000. This collision needs neither overflow nor identical frames. Exact-list identity separates them; a sum alone does not. The downloadable calculation is an arithmetic illustration, not a measured collision rate or cache benchmark. [example] Limitations: - Sampling and context history affect classification; a learned pattern is a prediction, not a guarantee of future block reuse. (sources: [pcc]) - The Linux 2.4.20 prototype could not obtain signature PCs for mmap accesses and classified those references as other. (sources: [pcc]) Sources and caveats: - Full primary-paper design and evaluation reviewed. Historical workloads and kernel results are not performance predictions for current systems. [pcc] [amp] - The constructed equal-sum case uses invented addresses, not executable traces. It establishes non-unique arithmetic, not observed collisions in PCC. [example] Related terms: - [unified-buffer-management](https://hesela.dev/terms/unified-buffer-management/) - [amp-buffer-caching](https://hesela.dev/terms/amp-buffer-caching/) - [locality-of-reference](https://hesela.dev/terms/locality-of-reference/) Citations: - [pcc] Gniady, Butt and Hu. Program-Counter-Based Pattern Classification in Buffer Caching. OSDI 2004, sections 4-5. https://www.usenix.org/legacy/publications/library/proceedings/osdi04/tech/full_papers/gnaidy/gnaidy_html/index.html (accessed 2026-11-21) - [amp] Zhou, von Behren and Brewer. AMP: Program Context Specific Buffer Caching. USENIX ATC 2005, sections 1-3. https://www.usenix.org/legacy/event/usenix05/tech/general/full_papers/short_papers/zhou/zhou_html/index.html (accessed 2026-11-21) - [example] Hesela. Exact additive-signature examples: common wrappers, distinct sums and equal-sum collisions. https://hesela.dev/research/pcc-context/examples.json (accessed 2026-11-21) - [code] Hesela. Bounded exact-sum illustration; no stack unwinding, cache simulation or hash-probability model. https://hesela.dev/research/pcc-context/model.mjs (accessed 2026-11-21) - [tests] Hesela. Signature arithmetic tests and an independent bit-column addition oracle. https://hesela.dev/research/pcc-context/model.test.mjs (accessed 2026-11-21) - [guide] Hesela. Interpretation, reproduction instructions and limits of the signature example. https://hesela.dev/research/pcc-context/README.txt (accessed 2026-11-21) ### Program/erase cycle URL: https://hesela.dev/terms/program-erase-cycle/ Related analysis: https://hesela.com/analyses/ssd-wear-out-failure-signatures/ Also known as: P/E cycle, PE cycle Status: shipping Record updated: 2026-11-26 A program/erase cycle is one programming-and-erasure sequence of a NAND block, used to count cycling exposure. Note: A host write is not a complete P/E cycle, and a cycle rating alone does not establish an SSD TBW rating or warranty. Retention, error correction and test conditions matter. [cai2017] In the surveyed floating-gate NAND, programming raises threshold voltage through pulses. Multistep MLC/TLC programming is not arbitrary in-place rewriting, and its intermediate steps are not additional block erase cycles. Cycling damages the tunnel oxide and changes threshold-voltage distributions. [cai2017] Pages within a block can differ in endurance. A trace-informed wear simulation estimated about 10% and 50% more writable data for two 30-nm-class MLC devices by relieving weak pages; these were not measured SSD service-life extensions. Relieved pages skipped programming but were still erased. [jimenez2014] The 2016 field study found gradual RBER growth and roughly linear growth in the daily probability of an uncorrectable error over the observed cycle range, not a universal error-count law. Age remained associated with RBER within cycle-count groups. [schroeder2016] Arithmetic: 128 pages x 8 KiB = 1 MiB of page payload. Programming all 128 pages once per cycle for 3,000 cycles totals 3,000 MiB; programming 64 pages per cycle totals 1,500 MiB despite the same erase count. Dividing by write amplification requires matched NAND/host byte counters over the same scope and interval; a per-block cycle count alone does not supply that ratio. Maneas et al. use a maximum/mean erase ratio and a rated-limit-normalized gap. [maneas2022-erases] These are exposure summaries, not a remaining-life estimate. Scaling all block counts preserves the ratio; equal mean and maximum can hide different numbers of highly cycled blocks. A ratio with an all-zero denominator is undefined. Advantages: - It gives a simple per-block wear counter that controllers compare across blocks, the basis of wear levelling. (sources: [cai2017], [jimenez2014]) Limitations: - Equal cycle counts do not guarantee equal retention or error behavior across pages and devices. (sources: [cai2017], [jimenez2014]) - Accelerated tests cited in the 2016 field study showed rapid RBER growth near three times the rated cycle limit for those devices, not a general safe margin. (sources: [schroeder2016]) - Cycle totals omit stress timing, dwell intervals and retention age. Partial self-recovery does not mitigate every wear-related error or establish remaining service life. (sources: [mohan2010], [heatwatch2018]) - GuardedErase trades temporary wordline capacity for reduced erase stress; its simulated TBW gain is not fleet survival evidence. An unresolved parameter-table inconsistency is audited in the linked analysis. The longFTL evaluation uses a 32-GB simulation with 10% overprovisioning; its placement policy excludes garbage-collection copies from gErased blocks. (sources: [hong2022]) Sources and caveats: - The 2014 and 2016 cycling/error evidence concerns historical device populations. The FAST 2022 fleet also includes 3D-TLC and 3D-eTLC; none of these studies supplies a rating for current SSDs. [maneas2022-erases] - The field study covers ten custom drive models in Google's fleet; its age comparison groups observations by cycle count and does not establish causation. [schroeder2016] - The survey mainly describes floating-gate NAND and includes a Seagate co-author; the wear-unleveling study is university research. [cai2017] [jimenez2014] - The simulated writable-data gains use a 1e-4 page-BER threshold, a 60% hot-write ratio and a 10% bad-block device-failure criterion. [jimenez2014] - The arithmetic counts main-page payload, excluding spare/OOB bytes, and assumes each selected page is programmed once per cycle; it predicts neither retention nor block survival. - With a matched write-amplification ratio of 3, the examples correspond to 1,000 and 500 MiB of host writes; the ratio is stipulated, not measured or inferred from erase counts. - The erase-counter examples in the linked analysis are constructed four-block populations, not reanalysis of the FAST 2022 fleet. The reference cycle value only normalizes arithmetic; crossing it is not defined as device failure. - Exact count, sum and attained maximum give an arithmetic feasible range, not a confidence interval or a block-failure model. For four blocks, sum 6,000 and maximum 3,000, one or two meet 3,000. The original derivation is exhaustively checked; rounded means do not meet its contract. - The FAST 2022 telemetry spans 21 snapshots from January 2017 to March 2021 across almost two million SSDs in NetApp systems. The minimum per-block erase count for each SSD was unavailable; these historical observations are not a current universal SSD distribution. [maneas2022-erases] - The quantization examples use exact exposure, floor truncation, no reset or saturation, and 8,760 hours per example year. They are original arithmetic, not a reanalysis of the fleet. Other SMART/NVMe fields require their own definitions. - A floor-truncated cumulative usage percentage q over t positive power-on years gives [q/t, (q+1)/t). A zero reading needs its exposure before it bounds an annualized rate. This arithmetic is not a fleet reanalysis. [maneas2022-erases] - For fresh matched floor-truncated readings, reported change d = 0 permits [0,1) percentage points; d >= 1 permits (d-1,d+1). Require the same identity, scope and reference limit. Divide by matched power-on years; this is not a remaining-life forecast. [maneas2022-erases] Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) - [dwpd](https://hesela.dev/terms/dwpd/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [nand-erase-block](https://hesela.dev/terms/nand-erase-block/) - [nand-dwell-time](https://hesela.dev/terms/nand-dwell-time/) - [nand-self-recovery](https://hesela.dev/terms/nand-self-recovery/) - [nand-thermal-annealing](https://hesela.dev/terms/nand-thermal-annealing/) - [mlc-ssd](https://hesela.dev/terms/mlc-ssd/) - [dynamic-wear-leveling](https://hesela.dev/terms/dynamic-wear-leveling/) - [tlc-ssd](https://hesela.dev/terms/tlc-ssd/) Citations: - [c1] Program/erase cycle. https://en.wikipedia.org/wiki/Flash_memory (accessed 2026-03-26) - [cai2017] Cai et al. Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives. 2017, sections 3.4 and 4. https://arxiv.org/pdf/1706.08642v3 (accessed 2026-11-25) - [hesela-recovery] Hesela: 3D NAND retention, self-recovery and thermal annealing evidence. https://hesela.com/analyses/3d-nand-retention-evidence/#self-recovery (accessed 2026-10-16) - [jimenez2014] Jimenez, Novo and Ienne. Wear Unleveling: Improving NAND Flash Lifetime by Balancing Page Endurance. USENIX FAST 2014. https://www.usenix.org/system/files/conference/fast14/fast14-paper_jimenez.pdf (accessed 2026-11-25) - [schroeder2016] Schroeder, Lagisetty and Merchant. Flash Reliability in Production: The Expected and the Unexpected. USENIX FAST 2016. https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-11-25) - [maneas2022-erases] Maneas et al. Operational Characteristics of SSDs in Enterprise Storage Systems: A Large-Scale Field Study. FAST 2022, secs. 2.2/3.1.2/3.3, eqs. 1-3, notes 1-2. https://www.usenix.org/system/files/fast22-maneas.pdf (accessed 2026-11-25) - [mohan2010] Mohan, Siddiqua, Gurumurthi and Stan. How I Learned to Stop Worrying and Love Flash Endurance. HotStorage 2010, sections 3.3, 5 and 7. https://www.usenix.org/legacy/event/hotstorage10/tech/full_papers/Mohan.pdf (accessed 2026-11-26) - [heatwatch2018] Luo, Ghose, Cai, Haratsch and Mutlu. HeatWatch. HPCA 2018, sections 3.1-3.4. DOI: 10.1109/HPCA.2018.00050. https://people.inf.ethz.ch/~omutlu/pub/heatwatch-3D-nand-errors-and-self-recovery_hpca18.pdf (accessed 2026-11-26) - [hong2022] Hong, Kim, Cho, Lee and Kim. GuardedErase: Extending SSD Lifetimes by Protecting Weak Wordlines. FAST 2022, sections 3, 4.3 and 6, Table 3. https://www.usenix.org/system/files/fast22-hong.pdf (accessed 2026-11-26) ### NAND program interference URL: https://hesela.dev/terms/program-interference/ Also known as: Cell-to-cell program interference Status: shipping Record updated: 2026-11-22 NAND program interference is an unintended shift in a cell's threshold voltage caused by programming neighboring cells. Note: This differs from page pairing (shared cells), read disturb (read-induced effects) and retention loss (time-dependent degradation). Programming a cell shifts the threshold voltage of its neighbors through parasitic capacitive coupling, which grows as the distance between cells shrinks. [iccd13] In 2Y-nm (20 to 24 nm) MLC chips that program all cells of a wordline together, interference between bitlines was negligible and interference between wordlines dominated. Wordlines more than two above the victim added negligible interference. Out-of-page-order programming, which lets both pages of the wordlines above and below disturb a victim, caused about 4.4 times the interference of in-order programming. [iccd13] MLC flash has used two-step programming since the 40 nm node to halve this interference, and the first step leaves a cell in a temporary state at about half the maximum threshold voltage. In the HPCA 2017 experiments on 1X-nm (15 to 19 nm) chips, capacitive coupling affected these partially programmed planar MLC cells. [cai] Advantages: - Because the shift depends on neighbor voltages, a model-based read reference adjustment cut the raw bit error rate by 64% and extended lifetime by 30% in the ICCD 2013 evaluation. (sources: [iccd13]) Limitations: - The chip generation and internal programming path constrain the result; controller ECC does not automatically cover every internal reread. (sources: [cai]) - The cited measurements come from planar MLC chip generations and do not give an error rate for current 3D NAND devices. (sources: [iccd13]) Sources and caveats: - iccd13 is Cai, Mutlu, Haratsch and Mai, ICCD 2013, read in sections 1 to 3 and the evaluation summary. - cai is Cai, Ghose, Luo, Mai, Mutlu and Haratsch, HPCA 2017, read in sections 1, 2 and 4. - 20 to 24 nm, two wordlines, 4.4 times, 64% and 30% come from iccd13. 40 nm, half the maximum voltage and 15 to 19 nm come from cai. Related terms: - [nand-page-pairing](https://hesela.dev/terms/nand-page-pairing/) - [mlc](https://hesela.dev/terms/mlc/) - [read-disturb](https://hesela.dev/terms/read-disturb/) - [data-retention](https://hesela.dev/terms/data-retention/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [retention-interference](https://hesela.dev/terms/retention-interference/) - [nand-wordline](https://hesela.dev/terms/nand-wordline/) - [neighbor-cell-assisted-correction](https://hesela.dev/terms/neighbor-cell-assisted-correction/) Citations: - [cai] Cai, Ghose, Luo, Mai, Mutlu and Haratsch. Vulnerabilities in MLC NAND Flash Memory Programming. HPCA 2017, sections 2-4 and 6. DOI: 10.1109/HPCA.2017.61. https://research.ece.cmu.edu/safari/pubs/flash-memory-programming-vulnerabilities_hpca17.pdf (accessed 2026-10-22) - [hesela-pairing] Hesela: NAND paired pages and durability boundaries. https://hesela.com/analyses/nand-paired-pages-durability/ (accessed 2026-10-11) - [iccd13] Cai, Mutlu, Haratsch and Mai. Program Interference in MLC NAND Flash Memory: Characterization, Modeling, and Mitigation. ICCD 2013, pp. 123-130. https://users.ece.cmu.edu/~omutlu/pub/flash-programming-interference_iccd13.pdf (accessed 2026-10-22) ### Programmable Page Cache (PPC) URL: https://hesela.dev/terms/programmable-page-cache/ Also known as: PPC Status: research Record updated: 2026-11-29 Programmable Page Cache is a research framework that combines a stacked kernel filesystem with userspace policies for file-cache prefetching and eviction. Note: PPC's read-only routing filesystem intercepts cache misses for read and mmap, then sends nonblocking events to a userspace policy runtime. It needs a separate kernel module; avoiding edits to existing kernel components does not make it a stock Linux feature. [ppc-paper] MAIO is a model-loading policy built on PPC, not another name for the framework. It uses recorded I/O sequences, accelerator-affine memory placement and eviction behind observed read progress. Its default 1 GB eviction gap is empirical, not a hardware transfer-completion acknowledgment. Service configuration changes require regenerating the associated template. [ppc-paper] Policy output is advisory: the cache manager can interrupt prefetching under resource pressure, and eviction uses best-effort POSIX_FADV_DONTNEED. The evaluation uses Linux 5.10 and an NPU-based system. Model-loading latency, whole-service startup and throughput over repeated service lifecycles are separate measurements. [ppc-paper] Limitations: - The described read-only implementation does not establish writeback correctness or durability guarantees. Sources and caveats: - Source review, not an independent benchmark. The paper's full methods and results were reviewed; no kernel module or accelerator workload was executed. Related terms: - [page-cache](https://hesela.dev/terms/page-cache/) - [cache-ext](https://hesela.dev/terms/cache-ext/) - [posix-fadv-dontneed](https://hesela.dev/terms/posix-fadv-dontneed/) - [readahead](https://hesela.dev/terms/readahead/) - [memory-mapped-file](https://hesela.dev/terms/memory-mapped-file/) Citations: - [ppc-paper] Liu et al., FAST 2026: PPC architecture and MAIO cache policy, sections 3-5, pp. 117-132. https://www.usenix.org/system/files/fast26-liu-yubo.pdf (accessed 2026-11-29) - [ppc-publication] USENIX FAST 2026: Liu et al. publication record and author metadata. https://www.usenix.org/conference/fast26/presentation/liu-yubo (accessed 2026-11-29) ### Proof of ownership (deduplication) URL: https://hesela.dev/terms/proof-of-ownership/ Also known as: PoW (deduplication) Status: research Record updated: 2026-11-04 A proof of ownership lets a deduplication client demonstrate possession of file content beyond a short identifier to a storage service. Note: The client is the prover, reversing the roles of remote storage auditing. Proof of ownership establishes possession under a specified knowledge and leakage model, not legal title or an authorization policy. Its definition need not require efficient extraction of the original file. [pow2011-manuscript] The original work separates a strong notion, a small-space notion with a leakage threshold, and a streaming notion restricted to a class of file distributions as viewed by an attacker. For generalized block-fixing sources, the streaming theorem assumes a minimum-distance property of the combined source and encoding map; diffusion measurements alone do not establish it. The authors also discuss the weaker computational assumption that an efficient adversary cannot find a low-weight codeword. [pow2011-manuscript] In Hesela's linked teaching example, every retained bit is assumed correct and erasure locations are known. That guarantee must not be transferred to unknown bit errors. The downloadable tests independently check the code distances and erasure counts, and exhibit a single-error ambiguity in map A. These are constructed examples, not evidence of a defect in a PoW implementation. [hesela-pow-replay] Leakage timing also matters. Xu, Chang and Zhou's weaker 2013 model gives the attacker hash(F), then a bounded Func(F) leak in Learning-I; Learning-II permits protocol interaction but no further LEAK query. This does not cover arbitrary leakage after randomized encoding. State the permitted leakage schedule before comparing ownership or confidentiality guarantees. [xu2013-weak-leakage] The 2013 model assumes protected primary metadata and a server preserving integrity and availability, not arbitrary malicious storage. [xu2013-weak-leakage] Sources and caveats: - Reviewed indexed manuscript text on 2026-11-01; ePrint records the 2011-08-11 revision and CCS DOI 10.1145/2046707.2046765. Direct PDF retrieval returned HTTP 403; no binary hash or visual equation verification is claimed. - The linked enumeration uses two fixed binary linear maps. It is a synthetic teaching example, not the paper's construction, a cryptanalytic attack or a benchmark replication. - Reviewed the author-hosted 2013 ASIA CCS PDF on 2026-11-04, SHA-256 b441a4209cbdac5ce4cae48f4ade763e154586bec69f68e596ebbc5ab2d998d2; sections 3.3-3.4. The paper's weaker model is distinct from the 2011 PoW model. - Sections 3.1.1-3.1.3 re-read 2026-11-04 for the protected primary store and honest-but-curious server assumptions; no malicious-storage guarantee inferred. Related terms: - [deduplication](https://hesela.dev/terms/deduplication/) - [deduplication-side-channel](https://hesela.dev/terms/deduplication-side-channel/) - [proof-of-retrievability](https://hesela.dev/terms/proof-of-retrievability/) - [provable-data-possession](https://hesela.dev/terms/provable-data-possession/) - [cryptographic-hash](https://hesela.dev/terms/cryptographic-hash/) - [convergent-encryption](https://hesela.dev/terms/convergent-encryption/) Citations: - [pow2011-slides] Halevi et al. Proofs of Ownership in Remote Storage Systems. Author slides, July 2011, 10-13, 25-31, 41-46. https://people.csail.mit.edu/shaih/pubs/PoW-Watson-July2011.pdf (accessed 2026-10-18) - [hesela-storage-proofs] Hesela: Encrypted deduplication, ownership proofs and remote storage audit boundaries. https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/#storage-proofs (accessed 2026-10-18) - [pow2011-manuscript] Halevi et al. Proofs of Ownership in Remote Storage Systems. ePrint 2011/207, 11 August 2011 revision, definitions 1-3 and sections 1.3, 5.1-5.3. https://eprint.iacr.org/2011/207 (accessed 2026-11-01) - [hesela-pow-diffusion] Hesela: exact synthetic linear-map example; diffusion, minimum distance and erasure ambiguity. https://hesela.dev/research/pow-diffusion-distance.json (accessed 2026-11-01) - [hesela-pow-replay] Hesela: standalone replay, independent oracles and known-erasure scope for the synthetic two-map example. https://hesela.dev/research/pow-diffusion-distance.README.md (accessed 2026-11-02) - [xu2013-weak-leakage] Xu, Chang and Zhou. Weak Leakage-Resilient Client-side Deduplication of Encrypted Data in Cloud Storage. ASIA CCS 2013; DOI 10.1145/2484313.2484340. https://www.comp.nus.edu.sg/~changec/publications/2013_asiaccs.pdf (accessed 2026-11-04) ### Proof of retrievability URL: https://hesela.dev/terms/proof-of-retrievability/ Also known as: PoR Status: research Record updated: 2026-10-18 A proof of retrievability is a storage-auditing protocol whose security model requires file extraction from a prover that succeeds sufficiently often in verification. Note: Shacham and Waters formalize an extractor and distinguish public verification from public extraction. Suitable erasure coding converts recovery of enough encoded blocks into recovery of the file. One accepted challenge is not itself a completed extraction. [por2013] Hesela's operational synthesis: proof for a ciphertext object does not exercise decryption-key recovery, backup-version selection or application startup. Keep a separate restore test. [hesela-storage-proofs] Related terms: - [provable-data-possession](https://hesela.dev/terms/provable-data-possession/) - [proof-of-ownership](https://hesela.dev/terms/proof-of-ownership/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [restore-test](https://hesela.dev/terms/restore-test/) - [backup-verification](https://hesela.dev/terms/backup-verification/) Citations: - [por2013] Shacham and Waters. Compact Proofs of Retrievability. Journal of Cryptology (2013), section 2, Appendix A. https://hovav.net/ucsd/dist/verstore.pdf (accessed 2026-10-18) - [hesela-storage-proofs] Hesela: Encrypted deduplication, ownership proofs and remote storage audit boundaries. https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/#storage-proofs (accessed 2026-10-18) ### Protection information (PI) URL: https://hesela.dev/terms/protection-information/ Status: shipping Record updated: 2026-11-13 Protection information is integrity metadata accompanying storage I/O, with checks determined by the protocol, protection format and participating layers. Note: A guard check and a location check answer different questions. Do not assume that PI verifies the newest committed generation or application semantics. Describe the configured format and which components generate, preserve and verify it; device capability is not proof of an application-to-media boundary. Linux v6.14 can receive application-supplied PI through io_uring attributes, subject to direct-I/O and lower-layer support. Supplying metadata is distinct from selecting checks. [pi-rw] [pi-map] In the eight-byte PI format, an escape can bypass checking. NVMe 1.4c Type 1/2 use application tag 0xffff; Type 3 requires that tag plus reference tag 0xffffffff. These override PRCHK selection. Do not generalize this historical format to extended PI. [nvme-14] Acceptance alone does not establish that a guard was evaluated. [hesela-pi-escape] NVMe 1.4c also assigns escape-valued tags to deallocated or unwritten blocks; an escape alone is not a corruption diagnosis. [nvme-14] In the tested Linux helper, a metadata prefix adds a second checksum invocation per evaluated interval. The checksum stub tests branching, not accumulated CRC correctness. [hesela-pi-escape] Sources and caveats: - PI escape evidence is version-scoped: historical NVMe 1.4c plus extracted Linux v6.12 control flow with a checksum stub; not a controller or running-kernel test. - The cited experiment executes sixteen selected fixtures, including zero/eight-byte metadata prefixes, against an unchanged verifier with user-space adapters and a fixed-value checksum stub; call counts are not counts of checked intervals. Related terms: - [end-to-end-data-protection](https://hesela.dev/terms/end-to-end-data-protection/) - [sas](https://hesela.dev/terms/sas/) - [nvme](https://hesela.dev/terms/nvme/) - [misdirected-write](https://hesela.dev/terms/misdirected-write/) - [lost-write](https://hesela.dev/terms/lost-write/) - [io-uring-integrity-metadata](https://hesela.dev/terms/io-uring-integrity-metadata/) - [nvme-extended-lba](https://hesela.dev/terms/nvme-extended-lba/) - [pi-guard-tag](https://hesela.dev/terms/pi-guard-tag/) - [pi-application-tag](https://hesela.dev/terms/pi-application-tag/) - [pi-reference-tag](https://hesela.dev/terms/pi-reference-tag/) - [data-integrity-extensions](https://hesela.dev/terms/data-integrity-extensions/) Citations: - [c1] Linux v6.14: userspace protection-information ABI. https://github.com/torvalds/linux/blob/v6.14/include/uapi/linux/io_uring.h (accessed 2026-10-15) - [linux] Linux kernel documentation: Data Integrity, protection boundaries and automatic metadata generation. https://docs.kernel.org/block/data-integrity.html (accessed 2026-10-11) - [hesela-integrity] Hesela: checksum, identity and freshness boundaries with executable synthetic examples. https://hesela.com/analyses/checksums-identity-and-lost-writes/ (accessed 2026-10-11) - [pi-rw] Linux v6.14: io_prep_rw_pi, io_prep_rw and io_rw_init_file in io_uring/rw.c. https://github.com/torvalds/linux/blob/v6.14/io_uring/rw.c (accessed 2026-10-15) - [pi-map] Linux v6.14: bio_integrity_map_iter and explicit integrity-check flags. https://github.com/torvalds/linux/blob/v6.14/block/bio-integrity.c (accessed 2026-10-15) - [nvme-14] NVM Express Base Specification 1.4c, sections 6.7.1 (p. 260) and 8.3 (p. 319); copyright 2007-2021 NVM Express, Inc., all rights reserved. https://www.nvmexpress.org/wp-content/uploads/NVM-Express-1_4c-2021.06.28-Ratified.pdf (accessed 2026-10-17) - [hesela-pi-escape] Hesela: PI escape conditions, source hashes and sixteen control-flow fixtures. https://hesela.com/analyses/protection-information-escape-tags/ (accessed 2026-10-17) ### Protective MBR URL: https://hesela.dev/terms/protective-mbr/ Related analysis: https://hesela.com/analyses/ddrescue-image-provenance/ Also known as: PMBR, protective Master Boot Record Status: shipping Record updated: 2026-10-21 A protective MBR is a legacy-format record at LBA 0 of a GPT disk that uses partition type 0xEE to discourage GPT-unaware tools from treating its space as unused. Note: The protective record starts at LBA 1 and describes the remaining disk, capped at 0xFFFFFFFF logical blocks when its size field cannot represent that span. It is a compatibility marker, not a duplicate list of the GPT partitions. [uefi] A recognizable 0xEE entry alone is not a complete GPT validation. Linux v6.18 treats protective-MBR checks separately from GPT header and entry-array checks. Preserve original acquisition bytes; partition repair belongs on a separate working copy. [linux] Limitations: - The marker cannot prevent arbitrary writes or substitute for an independent recovery copy. (sources: [uefi]) Sources and caveats: - UEFI 2.10 protective layout; no claim that all partition tools honor the marker. Related terms: - [guid-partition-table](https://hesela.dev/terms/guid-partition-table/) - [partition-type-guid](https://hesela.dev/terms/partition-type-guid/) - [ddrescue-mapfile](https://hesela.dev/terms/ddrescue-mapfile/) Citations: - [uefi] UEFI 2.10, chapter 5: GPT layout, headers and partition entries. https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html (accessed 2026-10-21) - [linux] Linux v6.18 GPT parsing: is_gpt_valid and compare_gpts. https://raw.githubusercontent.com/torvalds/linux/v6.18/block/partitions/efi.c (accessed 2026-10-21) ### Proteus range filter URL: https://hesela.dev/terms/proteus-range-filter/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Also known as: Proteus Status: research Record updated: 2026-11-14 Proteus is an approximate range-emptiness filter that tunes a uniform-depth trie and a prefix Bloom filter using sampled queries. Note: Its CPFPR model chooses prefix lengths under a space budget; either component can receive the whole budget. The RocksDB integration selects each SST's design at construction, using a changing query sample. Updating that sample does not retune an already-built filter. [proteus-paper] The pinned API uses an inclusive left bound and exclusive right bound. Its string Bloom path can conservatively include the right boundary. The getMemoryUsage method omits the prefix Bloom filter, so it is not total filter memory. [proteus-code] The artifact uses RocksDB 6.20.3 and warns that its custom range-FPR statistics apply only to forward iterators. It also contains modeling changes made after the paper. [proteus-artifact] Limitations: - The workload-shift experiments interleave writes and filter reconstruction; they do not establish automatic adaptation for unchanged SSTs in a read-only workload. (sources: [proteus-paper]) Sources and caveats: - Primary-source review of the SIGMOD paper and pinned author code; no Proteus execution or benchmark replication. Related terms: - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) - [rosetta-range-filter](https://hesela.dev/terms/rosetta-range-filter/) - [grafite-range-filter](https://hesela.dev/terms/grafite-range-filter/) - [prefix-bloom-filter](https://hesela.dev/terms/prefix-bloom-filter/) - [sstable](https://hesela.dev/terms/sstable/) - [memento-range-filter](https://hesela.dev/terms/memento-range-filter/) Citations: - [proteus-paper] Knorr et al. Proteus: A Self-Designing Range Filter. SIGMOD 2022, pp. 1670-1684, sections 4 and 6. DOI: 10.1145/3514221.3526167. https://people.iiis.tsinghua.edu.cn/~huanchen/publications/proteus-sigmod22.pdf (accessed 2026-11-10) - [proteus-code] Proteus author code: Query endpoint contract and getMemoryUsage; commit 7580c5b8d184afd19f3fdaf10f782344bdf552f5. https://github.com/Erins-Ransom/Proteus/blob/7580c5b8d184afd19f3fdaf10f782344bdf552f5/include/proteus.hpp (accessed 2026-11-10) - [proteus-artifact] Proteus artifact README: post-paper modeling changes and forward-iterator FPR instrumentation; pinned commit 7580c5b8d184afd19f3fdaf10f782344bdf552f5. https://github.com/Erins-Ransom/Proteus/blob/7580c5b8d184afd19f3fdaf10f782344bdf552f5/README.md (accessed 2026-11-10) - [hesela-proteus] Hesela: Proteus tuning, rebuilding and measurement boundaries. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#proteus-tuning (accessed 2026-11-10) ### Protocol-aware recovery URL: https://hesela.dev/terms/protocol-aware-recovery/ Also known as: PAR Status: research Record updated: 2026-11-12 Protocol-aware recovery uses a distributed system's replication rules to recover damaged storage without violating its guarantees. Note: CTRL separates local fault detection from distributed recovery. It distinguishes missing, damaged and intact log entries; node-specific metadata instead uses local redundancy. Recovery assumes detectable corruption and may sacrifice availability to preserve committed data. [par] This is a research approach, not a claim that replication alone repairs corruption. The companion analysis compares it with historical CORDS fault-injection evidence. [hesela] Related terms: - [crash-corruption-ambiguity](https://hesela.dev/terms/crash-corruption-ambiguity/) - [raft](https://hesela.dev/terms/raft/) - [read-repair](https://hesela.dev/terms/read-repair/) - [anti-entropy-repair](https://hesela.dev/terms/anti-entropy-repair/) Citations: - [par] Alagappan et al. Protocol-Aware Recovery for Consensus-Based Storage. FAST 2018, sections 3-5. https://www.usenix.org/system/files/conference/fast18/fast18-alagappan.pdf (accessed 2026-11-12) - [hesela] Hesela: corruption recovery needs protocol evidence. https://hesela.com/analyses/replica-repair-coverage/#protocol-aware-recovery (accessed 2026-11-12) ### Protocol Buffers URL: https://hesela.dev/terms/protocol-buffers/ Related analysis: https://hesela.com/analyses/checksums-identity-and-lost-writes/ Also known as: Protobuf, Google Protocol Buffers Status: unknown Record updated: 2026-11-21 Protocol Buffers is a schema-driven serialization system that represents structured messages as numbered fields in a binary wire format. Note: Schema: Binary records carry field numbers, wire types and payloads. The message definition supplies field names and declared types; one wire type can represent several schema types. Preserve the relevant schema with long-lived data. [protobuf-encoding] Framing: A top-level message is not self-delimiting. Multiple messages in a file or stream need an external boundary convention, such as length prefixes. Length-delimited fields inside a message do not remove this requirement. [protobuf-techniques] Presence: Implicit presence cannot preserve whether a default-valued basic field was explicitly set. Explicit presence retains that distinction. Proto3 optional basic fields, singular message fields and oneof members track presence; repeated fields and maps do not distinguish empty from absent. [protobuf-presence] Evolution: Proto3 binary parsing and reserialization preserve unknown fields, but conversion to JSON or field-by-field copying can discard them. Adding fields can be binary-safe while older ProtoJSON readers reject newly populated fields. Ignoring unknown JSON fields avoids rejection, not information loss. [protobuf-proto3] [protobuf-json] Identity: Deterministic binary serialization is not canonical across schema, build or library changes. Unknown-field retention also does not promise original bytes. Define whether recovery requires byte identity, field presence or application-level values. [protobuf-canonical] Sources and caveats: - Primary-source synthesis, not a new native serializer experiment or a compatibility guarantee for every schema change. - Schema retention and recovery acceptance are engineering implications of the documented encoding, presence and identity contracts. Related terms: - [data-serialization](https://hesela.dev/terms/data-serialization/) - [variable-length-integer](https://hesela.dev/terms/variable-length-integer/) - [zigzag-encoding](https://hesela.dev/terms/zigzag-encoding/) Citations: - [protobuf-encoding] Protocol Buffers: Encoding, Message Structure and wire types. https://protobuf.dev/programming-guides/encoding/ (accessed 2026-11-21) - [protobuf-techniques] Protocol Buffers: Techniques, Streaming Multiple Messages. https://protobuf.dev/programming-guides/techniques/#streaming (accessed 2026-11-21) - [protobuf-presence] Protocol Buffers: Field Presence, implicit and explicit disciplines. https://protobuf.dev/programming-guides/field_presence/ (accessed 2026-11-21) - [protobuf-proto3] Protocol Buffers: Language Guide (proto3), Unknown Fields. https://protobuf.dev/programming-guides/proto3/#unknowns (accessed 2026-11-21) - [protobuf-json] Protocol Buffers: ProtoJSON Format, JSON Wire-compatible Changes. https://protobuf.dev/programming-guides/json/#compatible-but-with-unknown-field-handling-problems (accessed 2026-11-21) - [protobuf-canonical] Protocol Buffers: Proto Serialization Is Not Canonical. https://protobuf.dev/programming-guides/serialization-not-canonical/ (accessed 2026-11-21) ### Provable data possession URL: https://hesela.dev/terms/provable-data-possession/ Also known as: PDP Status: research Record updated: 2026-11-22 Provable data possession is a challenge-response method for checking whether an untrusted storage service retains specified data without retrieving the entire file. Note: Ateniese and colleagues use random block sampling and homomorphic verifiable tags; their S-PDP and E-PDP variants have different guarantees. Specify the construction and sampling assumptions instead of treating PDP as a universal full-recovery promise. [pdp2007] The authors' October 2007 revision corrected the public-verifiability proof and restricted block size. Consult the revised construction before reasoning about that property; a sampling hit probability is not implementation validation. [pdp2007-correction] A block-sampling probability depends on the sample distribution, not just its size. Uniform subsets and random-start contiguous windows are different sampling designs even when individual blocks have equal inclusion chances. The hit calculation is not a posterior probability that a passing object is intact. [hesela-design] A sampling-hit calculation alone does not quantify repository-wide restore impact. Shared chunks can affect several files, and overlapping dependencies must be counted once. Hesela's exact catalog examples separate this graph question from audit detection; they do not implement PDP or prove a protocol's security. [hesela-audit-impact] Related terms: - [proof-of-retrievability](https://hesela.dev/terms/proof-of-retrievability/) - [proof-of-ownership](https://hesela.dev/terms/proof-of-ownership/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [sampling-design](https://hesela.dev/terms/sampling-design/) Citations: - [pdp2007] Ateniese et al. Provable Data Possession at Untrusted Stores. CCS 2007, sections 2, 4.3, 5.1. https://people.eecs.berkeley.edu/~dawnsong/papers/p598-ateniese (accessed 2026-10-18) - [hesela-storage-proofs] Hesela: Encrypted deduplication, ownership proofs and remote storage audit boundaries. https://hesela.com/analyses/encrypted-deduplication-trust-boundaries/#storage-proofs (accessed 2026-10-18) - [pdp2007-correction] Ateniese et al. Cryptology ePrint 2007/202: revision note on the October 2007 public-verifiability proof correction. https://eprint.iacr.org/2007/202 (accessed 2026-10-18) - [hesela-design] Hesela: sampling-design counterexample, derivation and enumerated tests. https://hesela.com/analyses/scrubbing-detection-not-durability/#sampling-design (accessed 2026-10-18) - [hesela-audit-impact] Hesela: exact synthetic chunk-audit and restore-impact examples, code, native probe and source provenance. https://hesela.dev/research/dedup-audit-impact/README.md (accessed 2026-11-22) ### Pseudo-SLC (pSLC) URL: https://hesela.dev/terms/pseudo-slc/ Related article: https://hesela.com/tech/slc/ Also known as: pSLC, SLC mode Status: shipping Record updated: 2026-10-16 Operation of multi-bit-capable NAND in one-bit-per-cell mode, trading storage density for single-bit behavior. Note: This operating mode is not proof of native SLC media. Swissbit's 2020 EN-26 announcement specifies a full pSLC configuration, rather than only a transient write cache. The mode and the cache role are different concepts. Endurance and retention still require product-specific evidence. [slc-swissbit] [slc-swissbit-full] Advantages: - Allows supported multi-bit NAND to use single-bit programming. (sources: [slc-swissbit]) Limitations: - SLC-like operation does not establish a universal endurance multiplier. (sources: [slc-swissbit]) Related terms: - [slc](https://hesela.dev/terms/slc/) - [slc-cache](https://hesela.dev/terms/slc-cache/) - [mlc](https://hesela.dev/terms/mlc/) - [tlc](https://hesela.dev/terms/tlc/) - [qlc](https://hesela.dev/terms/qlc/) - [slc-ssd](https://hesela.dev/terms/slc-ssd/) Citations: - [slc-swissbit] Swissbit - Storage technology, pSLC Mode and Powersafe sections. https://www.swissbit.com/en/technology/storage-technology/ (accessed 2026-10-16) - [slc-swissbit-full] Swissbit - EN-20 and EN-26 announcement, 6 August 2020, page 1 (full pSLC mode). https://www.swissbit.com/files/public/press_news/Press_Releases/2020/2020-08-06_Miniaturized_highly_reliable_PCIe_M.2_BGA_SSD_for_ultra-small_industrial_applications_EN.pdf (accessed 2026-10-16) ### Purge sanitization URL: https://hesela.dev/terms/purge-sanitization/ Also known as: Purge sanitization method Status: shipping Record updated: 2026-10-14 Purge sanitization uses suitable logical or physical techniques to make target-data recovery infeasible even with current state-of-the-art laboratory techniques while potentially allowing the medium to be reused. Note: NIST SP 800-88 Rev. 2 section 3.1.2 defines an assurance objective, not a synonym for a particular erase command. Cryptographic erase can be a purge technique when its prerequisites are met. Reuse is possible, not guaranteed: a physical purge technique can leave some media inoperable. Degaussing requires a magnetic field suited to the medium's coercivity, does not sanitize flash components (including those in hybrid devices), and is not classified as destroy merely because hardware stops working. [nist-r2] Advantages: - Can provide a higher recovery-resistance objective than clear without necessarily destroying reusable media. (sources: [nist-r2]) Limitations: - A technique must be appropriate for the medium and implementation; command acceptance alone does not establish successful purge. (sources: [nist-r2]) Related terms: - [data-sanitization](https://hesela.dev/terms/data-sanitization/) - [clear-sanitization](https://hesela.dev/terms/clear-sanitization/) - [destroy-sanitization](https://hesela.dev/terms/destroy-sanitization/) - [cryptographic-erase](https://hesela.dev/terms/cryptographic-erase/) - [sanitization-verification](https://hesela.dev/terms/sanitization-verification/) - [sanitization-validation](https://hesela.dev/terms/sanitization-validation/) - [degaussing](https://hesela.dev/terms/degaussing/) Citations: - [nist-r2] NIST SP 800-88 Rev. 2 (2025), Guidelines for Media Sanitization, 3.1.2 and 3.2, printed pages 10-16. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf (accessed 2026-10-14) - [hesela] Hesela: SSD sanitization: why TRIM and a successful command are not enough. https://hesela.com/analyses/ssd-sanitization-trim-evidence/ (accessed 2026-10-14) ### LVM pvmove URL: https://hesela.dev/terms/pvmove/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: pvmove, LVM extent relocation Status: shipping Record updated: 2026-11-09 LVM pvmove relocates selected allocated physical extents within a volume group while preserving their logical-volume addresses. Note: Selection can cover a source PV, one LV's extents on that PV, or a physical-extent range. Other extents of the same LV can remain elsewhere. LVM supports relocation while volumes are in use. [pvmove-manual] [pvmove-tests] [lvm-online] An ordinary move uses temporary mirrors and records completed segment relocations in VG metadata. After an interruption, the documented restart resumes from a checkpoint. Restarting and aborting are different choices. [pvmove-algorithm] [pvmove-manual] Without --atomic, abort leaves completed segments at the destination and unfinished segments at the source. With --atomic selected when the move starts, abort retains the source placement for the selected movement. This is a placement contract, not a rollback of application writes or a point-in-time snapshot. [pvmove-options] [pvmove-algorithm] Background mode can return before relocation finishes. Check actual completion and remaining allocations before treating a source PV as evacuated. A relocation needs eligible destination extents; free space reported inside a filesystem is not destination space in the VG. A sufficient free-extent count can still fail the allocation policy; normal allocation avoids placing parallel stripes on the same PV. [pvmove-manual] [pvmove-options] The 2001 Volume Managers in Linux paper describes online extent relocation but warns of crash problems in that implementation. This historical warning is not a test result for modern LVM2; the checkpoint and abort contracts above come from the separately versioned LVM2 sources. [lvm-history-2001] Sources and caveats: - Source synthesis of LVM2 v2_03_35 and the current upstream manual, cross-checked against Red Hat Enterprise Linux 10 documentation; no native migration, crash or latency experiment. - The upstream selection tests were inspected, not executed. Atomicity is scoped to the selected relocation, not every extent of an affected LV or a transaction on application data. - Historical context: Teigland and Mauelshagen, USENIX ATC FREENIX 2001, sections 3 and 3.1.3. The paper is an architecture/usage survey, not a modern crash-recovery benchmark. Related terms: - [lvm](https://hesela.dev/terms/lvm/) - [physical-volume](https://hesela.dev/terms/physical-volume/) - [logical-volume](https://hesela.dev/terms/logical-volume/) - [volume-group](https://hesela.dev/terms/volume-group/) Citations: - [pvmove-manual] LVM2 pvmove(8): extent selection, checkpoints, abort and background completion. https://man7.org/linux/man-pages/man8/pvmove.8.html (accessed 2026-11-09) - [pvmove-algorithm] LVM2 v2_03_35: pvmove temporary mirrors and placement checkpoints. https://github.com/lvmteam/lvm2/blob/v2_03_35/man/pvmove.8_end (accessed 2026-11-09) - [pvmove-options] LVM2 v2_03_35: abort and atomic option contracts. https://github.com/lvmteam/lvm2/blob/v2_03_35/tools/args.h (accessed 2026-11-09) - [pvmove-tests] LVM2 v2_03_35: ordinary and atomic pvmove range-selection tests. https://github.com/lvmteam/lvm2/blob/v2_03_35/test/shell/pvmove-basic.sh (accessed 2026-11-09) - [lvm-online] Red Hat Enterprise Linux 10: LVM architecture and online data relocation. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_and_managing_logical_volumes/overview-of-logical-volume-management (accessed 2026-11-09) - [lvm-history-2001] Teigland and Mauelshagen, Volume Managers in Linux, USENIX ATC FREENIX 2001, sections 3 and 3.1.3. https://www.usenix.org/legacy/event/usenix01/freenix01/full_papers/teigland/teigland_html/ (accessed 2026-11-09) ### pwrite URL: https://hesela.dev/terms/pwrite/ Related analysis: https://hesela.com/analyses/atomic-rename-directory-durability/ Also known as: pwrite(), positional write Status: shipping Record updated: 2026-11-11 pwrite is a seekable-file operation that writes up to the requested byte count at an explicit offset without changing the open file description's current offset. Note: A successful call may transfer fewer bytes than requested. Linux man-pages documents the historical O_APPEND exception: data is appended despite the explicit position. [pwrite-api] This is not universal across current C libraries: the musl 1.2.6 release announcement reports correction of the append-mode case using RWF_NOAPPEND and reports an error on older kernels instead of silently writing at the wrong position. [musl-126] Linux documents RWF_NOAPPEND for pwritev2 since 6.9. Record the library, kernel and filesystem when testing. [readv-api] Advantages: - Separates write positioning from a shared current-offset cursor. Limitations: - Does not serialize overlapping writers or promise full-length, untorn or durable completion. - The documented Linux append exception and library workarounds need environment-specific checks. Related terms: - [pread](https://hesela.dev/terms/pread/) - [file-offset](https://hesela.dev/terms/file-offset/) - [short-write](https://hesela.dev/terms/short-write/) - [o-append](https://hesela.dev/terms/o-append/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [fsync](https://hesela.dev/terms/fsync/) - [rwf-atomic](https://hesela.dev/terms/rwf-atomic/) - [statx-write-atomic](https://hesela.dev/terms/statx-write-atomic/) - [rwf-append](https://hesela.dev/terms/rwf-append/) - [rwf-noappend](https://hesela.dev/terms/rwf-noappend/) Citations: - [pwrite-api] Linux man-pages 6.19: pread(2), positional writes and O_APPEND exception. https://man7.org/linux/man-pages/man2/pwrite.2.html (accessed 2026-10-17) - [musl-126] musl 1.2.6 release announcement: pwrite correction and older-kernel fallback. https://openwall.com/lists/musl/2026/03/20/1 (accessed 2026-10-17) - [readv-api] Linux man-pages 6.19: readv(2), RWF_APPEND and RWF_NOAPPEND. https://man7.org/linux/man-pages/man2/readv.2.html (accessed 2026-10-17) - [hesela-publication] Hesela: Atomic rename is not a durable commit. https://hesela.com/analyses/atomic-rename-directory-durability/ (accessed 2026-10-17) ### Pyramid code URL: https://hesela.dev/terms/pyramid-code/ Also known as: Pyramid codes, Basic Pyramid Code, Generalized Pyramid Code Status: research Record updated: 2026-11-23 A Pyramid code is an erasure code that trades additional storage for smaller recovery groups using local and broader-scope parity. Note: A basic construction splits selected parity equations across disjoint data groups. Their sum reconstructs the original parity. Deriving it from an (11,8) MDS code gives a (12,8) example with two groups of four data symbols, two local parities and two global parities. [huang2007] In a fixed GF(17) illustration, all 220 three-erasure sets retain full rank, but only 420 of 495 four-erasure sets do. Losing d0 through d3 leaves payloads (0,0,0,0,0,0,0,0) and (9,1,4,9,0,0,0,0) indistinguishable on every survivor. Four redundant symbols do not imply recovery from every four losses. [model] One missing data symbol uses three data peers and its local parity, for four helpers in total. Each data-symbol change affects one local and two global parity symbols. These are algebraic units, not physical I/O counts or measured speedups. Arithmetic in this example is modulo 17, not XOR. [model] Generalized Pyramid codes select coefficients to satisfy maximal recoverability for a specified support topology. A matching condition on lost data and surviving parity equations is necessary for recovery, but an arbitrary coefficient assignment need not make it sufficient. Basic parity splitting does not automatically supply that stronger guarantee. [huang2013] Sources and caveats: - The 2007 conference construction and recovery discussion were checked against the expanded 2013 article. No source figure or code was republished. - The GF(17) coefficients are a new teaching choice, not the papers' numerical experiment or a deployed codec. Pattern counts are exhaustive for that matrix, not probabilities of field failures. - Known erasure positions and correct, same-codeword survivors are assumed. No unknown-error correction, generalized-code construction or device benchmark is implemented. Related terms: - [locally-repairable-code](https://hesela.dev/terms/locally-repairable-code/) - [repair-locality](https://hesela.dev/terms/repair-locality/) - [maximally-recoverable-code](https://hesela.dev/terms/maximally-recoverable-code/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) Citations: - [huang2007] Huang, Chen and Li. Pyramid Codes: Flexible Schemes to Trade Space for Access Efficiency in Reliable Data Storage Systems. NCA 2007, section 2. https://www.mhchen.com/papers/nca.07.pyramid.codes.pdf (accessed 2026-11-23) - [huang2013] Huang, Chen and Li. Pyramid Codes. ACM Transactions on Storage 9(1), Article 3 (2013). DOI: 10.1145/2435204.2435207. https://personal.cityu.edu.hk/mchen88/papers/pyramid.ToS.13.pdf (accessed 2026-11-23) - [model] Hesela: fixed GF(17) parity-splitting results, matrices, erasure counts and ambiguity witness. https://hesela.dev/research/pyramid-codes/results.json (accessed 2026-11-23) - [code] Hesela: standalone finite-field encoder and erasure-rank enumeration. https://hesela.dev/research/pyramid-codes/model.py (accessed 2026-11-23) - [tests] Hesela: independent determinant, interpolation and local-repair tests. https://hesela.dev/research/pyramid-codes/test_model.py (accessed 2026-11-23) - [method] Hesela: reproduction instructions and scope of the constructed example. https://hesela.dev/research/pyramid-codes/README.txt (accessed 2026-11-23) - [analysis] Hesela: local repair, whole-node repair and Pyramid parity splitting. https://hesela.com/analyses/lrc-repair-costs-locality/#pyramid-splitting (accessed 2026-11-23) ### QCOW2 backing chain URL: https://hesela.dev/terms/qcow2-backing-chain/ Status: shipping Record updated: 2026-11-05 A QCOW2 backing chain is the sequence of image dependencies used to supply guest data not stored or explicitly zeroed in a higher image layer. Note: Resolution: backing filenames, formats and the effective virtual-machine configuration determine which images participate. Libvirt can detect a chain from image metadata or use explicit backing-store configuration. [libvirt-chain] Measured distinction: replacing a raw base changed the inherited half of Hesela's four-cluster fixture while the top overlay hash stayed identical. Shortening the existing base made those inherited bytes read as zeros, while removing the base caused opening errors. These are different outcomes and should remain distinct in backup evidence. [hesela-qcow2] Recovery scope: preserving a chain and its content identities is separate from proving that the guest filesystem or application can recover. The fixture does not boot a VM or establish multi-disk consistency. [hesela-qcow2] Read-triggered copying: optional copy-on-read can materialize inherited data into the overlay's storage during reads. Enabling it alone is not evidence that the entire chain has become self-contained. This is a source-based inference, separate from the measured fixture above. [qemu-copy-options] Related terms: - [qcow2](https://hesela.dev/terms/qcow2/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [restore-test](https://hesela.dev/terms/restore-test/) - [snapshot-merge](https://hesela.dev/terms/snapshot-merge/) - [copy-on-read](https://hesela.dev/terms/copy-on-read/) Citations: - [qcow2-format] QEMU 8.2.2: QCOW2 image file format, cluster mapping and zero clusters. https://github.com/qemu/qemu/blob/v8.2.2/docs/interop/qcow2.txt (accessed 2026-10-18) - [libvirt-chain] libvirt: disk image chains, backing formats and relocation. https://libvirt.org/kbase/backing_chains.html (accessed 2026-10-18) - [hesela-qcow2] Hesela: QCOW2 dependency and verification observations. https://hesela.dev/datasets/qcow2-dependency-observations/ (accessed 2026-10-18) - [qemu-copy-options] QEMU v8.2.2: copy-on-read drive option and default. https://github.com/qemu/qemu/blob/v8.2.2/qemu-options.hx (accessed 2026-11-05) ### QCOW2 external data file URL: https://hesela.dev/terms/qcow2-external-data-file/ Also known as: QCOW2 data file Status: shipping Record updated: 2026-10-21 A QCOW2 external data file stores guest payload separately from the QCOW2 file that holds its mapping metadata. Note: Role: an external data file is different from a backing image that supplies inherited regions. A disk can require external payload storage without having a backing file. [qcow2-format] Interpretation: with data_file_raw off, a zero-cluster mapping can hide old payload bytes that remain visible when the external file is read directly. Raw mode on makes zero writes maintain the corresponding raw-file content, but does not authenticate later edits. [qcow2-external-test] Recovery: preserve the resolved data child and effective opening configuration, not only the stored name. Hesela's 60 offline observations include a runtime override that changes guest bytes while both original file hashes stay unchanged. Outcomes are scoped to the recorded QEMU package. [hesela-external] Related terms: - [qcow2](https://hesela.dev/terms/qcow2/) - [qcow2-backing-chain](https://hesela.dev/terms/qcow2-backing-chain/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [fast-virtual-disk](https://hesela.dev/terms/fast-virtual-disk/) Citations: - [qcow2-format] QEMU v8.2.2: external-data feature bits and standard cluster descriptors. https://github.com/qemu/qemu/blob/v8.2.2/docs/interop/qcow2.txt (accessed 2026-10-21) - [qcow2-external-test] QEMU v8.2.2 iotest 244: external data, zero writes and raw-mode controls. https://github.com/qemu/qemu/blob/v8.2.2/tests/qemu-iotests/244 (accessed 2026-10-21) - [hesela-external] Hesela: QCOW2 external-data observations. https://hesela.dev/datasets/qcow2-external-data-observations/ (accessed 2026-10-21) ### QCOW2 URL: https://hesela.dev/terms/qcow2/ Also known as: QEMU copy-on-write version 2 Status: shipping Record updated: 2026-11-17 QCOW2 is a virtual disk image format that maps guest clusters to stored data, explicit zeros or data inherited from a backing file. Note: Mapping: guest-visible capacity and host file allocation are distinct. In the standard cluster mapping, an unallocated region can inherit backing data, while an explicit zero cluster masks that data. Reads beyond the end of an existing backing file return zeros. [qcow2-format] Verification: Hesela changed one stored payload byte without changing allocation metadata; QEMU 8.2.2 still completed its consistency check successfully. The changed byte was detected by a full export and comparison against the known baseline. This is a controlled example, not a general claim that the checker misses every corruption. [hesela-qcow2] Preservation: identify required backing files as well as the overlay. A top-file hash alone does not identify the entire virtual disk's contents. [libvirt-chain] External payload: a QCOW2 file may keep its guest data in a separate external data file, even without a backing image. Preserve that dependency and its effective opening configuration. [qcow2-format] Tracking metadata: persistent dirty bitmaps are separate from guest payload mappings. Their in_use state can signal outdated change records despite well-formed bitmap metadata. [qcow2-bitmaps-101] Related terms: - [qcow2-backing-chain](https://hesela.dev/terms/qcow2-backing-chain/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [snapshot](https://hesela.dev/terms/snapshot/) - [backup-verification](https://hesela.dev/terms/backup-verification/) - [qcow2-external-data-file](https://hesela.dev/terms/qcow2-external-data-file/) - [fast-virtual-disk](https://hesela.dev/terms/fast-virtual-disk/) - [reflink](https://hesela.dev/terms/reflink/) - [changed-block-tracking](https://hesela.dev/terms/changed-block-tracking/) - [dirty-bitmap](https://hesela.dev/terms/dirty-bitmap/) - [copy-on-read](https://hesela.dev/terms/copy-on-read/) - [virtio-blk](https://hesela.dev/terms/virtio-blk/) - [virtio-scsi](https://hesela.dev/terms/virtio-scsi/) Citations: - [qcow2-format] QEMU 8.2.2: QCOW2 image file format, cluster mapping and zero clusters. https://github.com/qemu/qemu/blob/v8.2.2/docs/interop/qcow2.txt (accessed 2026-10-18) - [libvirt-chain] libvirt: disk image chains, backing formats and relocation. https://libvirt.org/kbase/backing_chains.html (accessed 2026-10-18) - [hesela-qcow2] Hesela: QCOW2 dependency and verification observations. https://hesela.dev/datasets/qcow2-dependency-observations/ (accessed 2026-10-18) - [qcow2-bitmaps-101] QEMU v10.1.0 QCOW2 format: bitmap directory and dirty tracking bitmaps. https://github.com/qemu/qemu/blob/v10.1.0/docs/interop/qcow2.rst (accessed 2026-10-28) ### QLC SSD URL: https://hesela.dev/terms/qlc-ssd/ Also known as: quad-level cell SSD Status: shipping Record updated: 2026-10-17 A QLC SSD uses NAND flash that encodes four bits per cell using sixteen threshold-voltage states. Note: Encoding: Four bits instead of three gives 4/3 as many encoded bits at equal cell count, not twice the capacity of TLC. Finished-drive capacity also includes reserved space and error-correction overhead. [encoding] Calibration: Partially programmed blocks can contain pages with different stress histories; a shared read-voltage adjustment can therefore mismatch some pages. [c2] Sources and caveats: - Papandreou et al., IRPS 2020, Sections III-IV: chip characterization and read calibration, not fleet reliability or a whole-drive endurance rating. [c2] - STAR v1's Section VI-A cycle pairs do not arithmetically match its stated percentage gains; Table I timings are emulator inputs. No universal QLC/TLC lifetime ratio follows. [c3] [evidence-review] Related terms: - [qlc](https://hesela.dev/terms/qlc/) - [consumer-ssd](https://hesela.dev/terms/consumer-ssd/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [tlc-ssd](https://hesela.dev/terms/tlc-ssd/) - [plc](https://hesela.dev/terms/plc/) - [nand-flash](https://hesela.dev/terms/nand-flash/) - [read-retry](https://hesela.dev/terms/read-retry/) - [ldpc](https://hesela.dev/terms/ldpc/) - [nand-open-block](https://hesela.dev/terms/nand-open-block/) - [lateral-charge-spreading](https://hesela.dev/terms/lateral-charge-spreading/) Citations: - [c1] QLC SSD. https://en.wikipedia.org/wiki/Quad-level_cell (accessed 2026-03-26) - [c2] Papandreou et al. - Open Block Characterization and Read Voltage Calibration of 3D QLC NAND Flash, IRPS 2020. https://doi.org/10.1109/IRPS45951.2020.9129620 (accessed 2026-10-16) - [c3] Kwon et al. - STAR, arXiv:2511.06249v1 (2025), Table I, Section VI-A and Figure 9. https://arxiv.org/abs/2511.06249v1 (accessed 2026-10-16) - [encoding] KIOXIA - Multi-level cell technology: bits and threshold-voltage states. https://www.kioxia.com/en-jp/rd/technology/multi-level-cell.html (accessed 2026-10-16) - [evidence-review] Hesela - 3D NAND retention: STAR v1 consistency check. https://hesela.com/analyses/3d-nand-retention-evidence/#star-evidence (accessed 2026-10-16) ### Quad-level cell (QLC) URL: https://hesela.dev/terms/qlc/ Technology reference: https://hesela.com/tech/qlc/ Also known as: 4 bits per cell, 4-bit MLC Status: shipping Record updated: 2026-10-22 NAND flash that stores four bits per cell using sixteen threshold-voltage states. Note: Scope: The cell-density label does not specify an SSD's interface, cache policy or power-loss protection. Naming: QLC can also be labeled 4-bit MLC; it is not a synonym for 3D NAND or a complete SSD design. [nand-qvo] [slc-kioxia] Specification: Use the exact drive's endurance and post-cache performance specifications. [slc-qvo-datasheet] Enterprise history: Selected-customer shipments of a read-intensive QLC SATA SSD were reported in May 2018, with broader availability planned for later that year. A read-intensive product qualification does not cover every enterprise write workload. [qlc-enterprise-2018] Advantages: - Stores four bits per cell rather than TLC's three. (sources: [slc-kioxia]) Limitations: - Headline write performance can differ from the post-cache rate; the cited datasheet separates them explicitly. (sources: [slc-qvo-datasheet]) Sources and caveats: - Samsung announced the QLC-based 860 QVO on 27 November 2018, with U.S. availability scheduled for 16 December 2018. [qlc-launch] - That is a product-announcement milestone, not the invention of QLC; firstSeen remains unknown. The cited 860 QVO rates are product-specific. [qlc-launch] [slc-qvo-datasheet] - Micron's 21 May 2018 report names the 5210 ION. It documents selected-customer shipments, not an independent market census or verification of the claimed industry priority. [qlc-enterprise-2018] Related terms: - [tlc](https://hesela.dev/terms/tlc/) - [enterprise-ssd](https://hesela.dev/terms/enterprise-ssd/) - [ftl](https://hesela.dev/terms/ftl/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [planar-nand](https://hesela.dev/terms/planar-nand/) - [slc](https://hesela.dev/terms/slc/) - [slc-cache](https://hesela.dev/terms/slc-cache/) - [pseudo-slc](https://hesela.dev/terms/pseudo-slc/) - [qlc-ssd](https://hesela.dev/terms/qlc-ssd/) - [plc](https://hesela.dev/terms/plc/) - [mlc](https://hesela.dev/terms/mlc/) - [nand-open-block](https://hesela.dev/terms/nand-open-block/) Citations: - [slc-kioxia] KIOXIA - Multi-level cell technology: threshold states and capacity. https://www.kioxia.com/en-jp/rd/technology/multi-level-cell.html (accessed 2026-10-16) - [slc-qvo-datasheet] Samsung - 860 QVO datasheet, Revision 1.0 (October 2018), page 5, notes 2-3. https://download.semiconductor.samsung.com/resources/data-sheet/Samsung%20SSD%20860%20QVO%20Data%20Sheet_Rev1.pdf (accessed 2026-10-16) - [qlc-launch] Samsung - 860 QVO announcement, 27 November 2018 (not a technology-origin claim). https://news.samsung.com/us/samsung-860-qvo-ssd-announcement/ (accessed 2026-10-16) - [nand-qvo] Samsung - 870 QVO datasheet, Revision 1.1, June 2020, page 5 and notes 2-3. https://semiconductor.samsung.com/resources/data-sheet/Samsung_SSD_870_QVO_Data_Sheet_Rev1.1.pdf (accessed 2026-10-16) - [qlc-enterprise-2018] Micron: 5210 ION selected-customer shipment announcement, 21 May 2018. https://investors.micron.com/news/press-release/2018/Micron-Ships-Industrys-First-Quad-Level-Cell-NAND-SSD-05-21-2018/default.aspx (accessed 2026-10-22) ### Quantile sketch URL: https://hesela.dev/terms/quantile-sketch/ Related analysis: https://hesela.com/analyses/time-series-rollups-versioned-changes/ Also known as: quantile summary Status: research Record updated: 2026-11-28 A quantile sketch is a compact summary of observed values used to estimate quantiles under an algorithm-specific approximation contract. Note: Retain the summary state, not only an exported p99. Precomputed quantiles generally cannot be averaged into a pooled request percentile; compatible histogram counts retain more information for aggregation. [prometheus-histograms] Rank error limits displacement in the ordered observations; relative-value error limits the returned value's deviation from the selected sample quantile. Neither is automatically a confidence interval for an unobserved population. Record the estimator and error contract. [ddsketch-paper] Engineering implication: mergeability does not choose which stream version or window contribution belongs in the requested population. Preserve source, units, time bounds, version and coverage separately. Repeated delivery or overlapping windows can count observations twice even when the summaries are numerically compatible. Related terms: - [quantile](https://hesela.dev/terms/quantile/) - [latency-histogram-bin](https://hesela.dev/terms/latency-histogram-bin/) - [ddsketch](https://hesela.dev/terms/ddsketch/) - [kll-sketch](https://hesela.dev/terms/kll-sketch/) Citations: - [ddsketch-paper] Masson, Rim and Lee. DDSketch. PVLDB 12(12), 2195-2205, 2019; sections 1-2. DOI 10.14778/3352063.3352135. https://www.vldb.org/pvldb/vol12/p2195-masson.pdf (accessed 2026-11-20) - [prometheus-histograms] Prometheus documentation: Histograms and summaries, aggregation and quantile error dimensions. https://prometheus.io/docs/practices/histograms/ (accessed 2026-11-20) ### Quantile URL: https://hesela.dev/terms/quantile/ Also known as: percentile Status: research Record updated: 2026-11-20 A quantile is a distribution threshold associated with a specified cumulative probability, whose estimate from a finite sample depends on the chosen convention. Note: For a distribution function F, the generalized inverse defines q_p as the smallest x for which F(x) is at least p. The inverse empirical CDF (type 1) selects a ranked observation; interpolated estimators can instead return a value between observations. Record the estimator, sample count and timing population when reporting storage p99. [r-quantile] Probability position and value precision are different. Under a fixed-size IID continuous-population model, the maximum of n samples covers the population q_p with probability 1-p^n. This does not bound a percentile estimator's error in milliseconds; correlated latency bursts violate the independence assumption. [hesela-sampling] For binned observations, distinguish the selected interval from its representative value. Bin width limits what the counts reveal about a sample quantile, independently of uncertainty about the underlying population. [hesela-histogram] Related terms: - [disk-model-demerit](https://hesela.dev/terms/disk-model-demerit/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [latency-histogram-bin](https://hesela.dev/terms/latency-histogram-bin/) - [hedged-request](https://hesela.dev/terms/hedged-request/) - [adaptive-replica-selection](https://hesela.dev/terms/adaptive-replica-selection/) - [b10-life](https://hesela.dev/terms/b10-life/) - [standard-deviation](https://hesela.dev/terms/standard-deviation/) - [median-absolute-deviation](https://hesela.dev/terms/median-absolute-deviation/) - [coefficient-of-variation](https://hesela.dev/terms/coefficient-of-variation/) - [tolerance-interval](https://hesela.dev/terms/tolerance-interval/) - [quantile-sketch](https://hesela.dev/terms/quantile-sketch/) - [ddsketch](https://hesela.dev/terms/ddsketch/) Citations: - [r-quantile] R stats documentation: Sample Quantiles, type 1 inverse empirical CDF and floating-point rounding safeguards. https://stat.ethz.ch/R-manual/R-devel/library/stats/html/quantile.html (accessed 2026-10-17) - [hesela-sampling] Hesela: tail sampling probabilities, explicit IID assumptions and reproducible analytic results. https://hesela.com/analyses/storage-latency-coordinated-omission/#tail-sampling (accessed 2026-10-17) - [hesela-histogram] Hesela: histogram precision, strict-threshold bounds and reproducible arithmetic. https://hesela.com/analyses/storage-latency-coordinated-omission/#histogram-resolution (accessed 2026-10-21) ### Query cardinality estimation URL: https://hesela.dev/terms/query-cardinality-estimation/ Also known as: query result cardinality estimation, row-count estimation Status: shipping Record updated: 2026-11-18 Query cardinality estimation predicts the number of rows produced by a query or an intermediate query-plan operation. Note: PostgreSQL EXPLAIN rows describes a plan node's estimated output, not all tuples examined, heap fetches, bytes read or elapsed time. EXPLAIN ANALYZE executes the statement; for repeatedly executed nodes, actual rows are reported as a per-execution average, so inspect loops too. [pg-explain] Statistics may be sampled or out of date. Estimates can also be inaccurate because a model misses relationships between columns. PostgreSQL extended statistics address supported cases; dependency statistics do not generally handle range predicates or incompatible constant combinations. They are not an exact-count guarantee. [pg-stats] For a simple filter, estimated output is estimated input multiplied by estimated predicate selectivity. Distinct-value estimation answers another question: MySQL SHOW INDEX Cardinality is an estimate of distinct index values, not this query's output. [pg-estimates] [mysql-cardinality] An estimate is not proof that an index is complete or that every stored payload byte was read and verified. Inspect the executed access path and the query's requested values separately. [hesela-coverage] Sources and caveats: - Primary-source synthesis scoped to PostgreSQL 18 and MySQL 8.4 documentation. The linked counting model uses constructed rows; it is not a PostgreSQL/MySQL planner run or a performance measurement. Related terms: - [predicate-selectivity](https://hesela.dev/terms/predicate-selectivity/) - [postgresql-index-only-scan](https://hesela.dev/terms/postgresql-index-only-scan/) Citations: - [pg-explain] PostgreSQL 18: Using EXPLAIN, output rows and repeated nodes. https://www.postgresql.org/docs/18/using-explain.html (accessed 2026-11-18) - [pg-stats] PostgreSQL 18: Statistics Used by the Planner, dependency limitations. https://www.postgresql.org/docs/18/planner-stats.html (accessed 2026-11-18) - [pg-estimates] PostgreSQL 18: Row Estimation Examples. https://www.postgresql.org/docs/18/row-estimation-examples.html (accessed 2026-11-18) - [mysql-cardinality] MySQL 8.4: SHOW INDEX, Cardinality estimates distinct values. https://dev.mysql.com/doc/refman/8.4/en/show-index.html (accessed 2026-11-18) - [hesela-coverage] Hesela: estimated rows versus read coverage. https://hesela.com/analyses/postgresql-toast-read-coverage/#estimated-rows (accessed 2026-11-18) ### Queue depth URL: https://hesela.dev/terms/queue-depth/ Status: shipping Record updated: 2026-12-01 Queue depth is the number of outstanding I/O requests at a specified boundary, while a configured depth limit is the maximum or target allowed in flight. Note: Distinguish in-flight requests from waiting-only counts and queue capacity; report achieved depth rather than treating a configured fio iodepth as an observation. Little's law uses time-averaged occupancy and a matching per-operation mean residence time, not a configured maximum or a tail percentile [little2011]. Request merging changes the population of operations being timed. Riska et al. measured different request sizes under different schedulers: lower per-request response time did not necessarily mean higher application throughput. Their 2007 SCSI-HDD experiments do not establish an optimal SATA NCQ depth. [riska2007] MQSim separates host queue capacity, synthetic offered concurrency and per-stream controller fetch admission. Its pinned NVMe implementation can return a fetch credit before a completion is delivered to the host; count and timing boundaries must match when comparing depths. [mqsim-config] [mqsim-code] Related terms: - [pasta](https://hesela.dev/terms/pasta/) - [iops](https://hesela.dev/terms/iops/) - [nvme](https://hesela.dev/terms/nvme/) - [direct-io](https://hesela.dev/terms/direct-io/) - [open-loop-load](https://hesela.dev/terms/open-loop-load/) - [closed-loop-load](https://hesela.dev/terms/closed-loop-load/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [little-law](https://hesela.dev/terms/little-law/) - [io-request-size](https://hesela.dev/terms/io-request-size/) - [native-command-queuing](https://hesela.dev/terms/native-command-queuing/) - [nvme-submission-queue](https://hesela.dev/terms/nvme-submission-queue/) - [nvme-completion-queue](https://hesela.dev/terms/nvme-completion-queue/) - [io-scheduler](https://hesela.dev/terms/io-scheduler/) - [sequential-io](https://hesela.dev/terms/sequential-io/) - [random-io](https://hesela.dev/terms/random-io/) - [blk-mq-request-tag](https://hesela.dev/terms/blk-mq-request-tag/) - [mqsim](https://hesela.dev/terms/mqsim/) - [bandwidth-delay-product](https://hesela.dev/terms/bandwidth-delay-product/) - [tcp-congestion-window](https://hesela.dev/terms/tcp-congestion-window/) - [backpressure](https://hesela.dev/terms/backpressure/) - [admission-control](https://hesela.dev/terms/admission-control/) - [basil](https://hesela.dev/terms/basil/) - [facade](https://hesela.dev/terms/facade/) Citations: - [c1] Queue depth. https://en.wikipedia.org/wiki/IOPS (accessed 2026-03-26) - [fio] fio documentation: I/O depth, io_submit_mode and interpreting slat/clat/lat. Online manual reviewed 11 October 2026. https://fio.readthedocs.io/en/master/fio_doc.html (accessed 2026-10-11) - [hesela-latency] Hesela: synthetic arrival cohorts, timing boundaries and percentile pooling. https://hesela.com/analyses/storage-latency-coordinated-omission/ (accessed 2026-10-11) - [little2011] John D. C. Little. Little's Law as Viewed on Its 50th Anniversary. Operations Research 59(3), 536-549 (2011), pp. 537-539. DOI: 10.1287/opre.1110.0940. https://people.cs.umass.edu/~emery/classes/cmpsci691st/readings/OS/Littles-Law-50-Years-Later.pdf (accessed 2026-10-13) - [riska2007] Riska, Larkby-Lahet and Riedel (USENIX ATC 2007): Evaluating Block-level Optimization through the IO Path, sections 2, 5 and 6. https://static.usenix.org/event/usenix07/tech/full_papers/riska/riska_html/main.html (accessed 2026-10-17) - [mqsim-config] CMU-SAFARI MQSim README, commit 51f0f2d3fed92d88ef4a0fa61a38024b07bf9d16: device configuration and synthetic workload parameters. https://github.com/CMU-SAFARI/MQSim/blob/51f0f2d3fed92d88ef4a0fa61a38024b07bf9d16/README.md (accessed 2026-11-10) - [mqsim-code] CMU-SAFARI MQSim Host_Interface_NVMe.cpp, commit 51f0f2d3fed92d88ef4a0fa61a38024b07bf9d16: fetch admission and serviced-request handling. https://github.com/CMU-SAFARI/MQSim/blob/51f0f2d3fed92d88ef4a0fa61a38024b07bf9d16/src/ssd/Host_Interface_NVMe.cpp (accessed 2026-11-10) ### Queueing delay URL: https://hesela.dev/terms/queueing-delay/ Also known as: queuing delay, queueing time Status: shipping Record updated: 2026-11-30 Queueing delay is the time a request spends waiting for service at a specified resource rather than receiving service there. Note: For one nonpreemptive stage, Q = service start - arrival. With preemption, waiting can recur after processing begins; elapsed time until the first start is then only part of the wait. [queueing-practitioners] Queue length counts requests, while queueing delay measures time. Little's law uses matching boundaries: an occupancy that includes requests being processed needs residence time, not waiting time alone. [little2011] In the existing synthetic FIFO trace, the second independent arrival waits 101 - 10 = 91 ms and then takes 1 ms to complete. Its 92 ms response therefore does not mean 92 ms of processing. [hesela-timing] In a constructed preempt-resume example, A waits 4 ms after first starting and B waits zero. Across both completed requests, mean total waiting is 2 ms, not 4 ms. Counting distinct requests and summing all their waiting intervals is different from counting queue visits. [hesela-timing] Related terms: - [service-time](https://hesela.dev/terms/service-time/) - [latency-storage](https://hesela.dev/terms/latency-storage/) - [completion-latency](https://hesela.dev/terms/completion-latency/) - [little-law](https://hesela.dev/terms/little-law/) - [pollaczek-khinchine-formula](https://hesela.dev/terms/pollaczek-khinchine-formula/) - [kingman-approximation](https://hesela.dev/terms/kingman-approximation/) - [first-come-first-served](https://hesela.dev/terms/first-come-first-served/) - [head-of-line-blocking](https://hesela.dev/terms/head-of-line-blocking/) - [burkes-theorem](https://hesela.dev/terms/burkes-theorem/) - [tandem-queue](https://hesela.dev/terms/tandem-queue/) - [request-slowdown](https://hesela.dev/terms/request-slowdown/) - [fscan](https://hesela.dev/terms/fscan/) Citations: - [queueing-practitioners] Harchol-Balter and Scully: The most common queueing theory questions asked by computer systems practitioners, sections 1 and 2.1. https://www.cs.cmu.edu/~harchol/Papers/TeaPACS21.pdf (accessed 2026-11-18) - [little2011] John D. C. Little: Little's Law as Viewed on Its 50th Anniversary (2011), pp. 537-539. https://people.cs.umass.edu/~emery/classes/cmpsci691st/readings/OS/Littles-Law-50-Years-Later.pdf (accessed 2026-11-18) - [hesela-timing] Hesela: separating waiting and processing in the existing synthetic FIFO trace. https://hesela.com/analyses/storage-latency-coordinated-omission/#service-and-waiting (accessed 2026-11-18) ### QuickMine URL: https://hesela.dev/terms/quickmine/ Status: research Record updated: 2026-11-30 QuickMine is a context-aware storage prefetcher that incrementally learns block-access correlations within application contexts. Note: Context: Read requests carry application context identifiers through modified kernel and NBD interfaces. Context boundaries separate interleaved streams without requiring adjacent block addresses. [quickmine08] Rule cache: Two-block prefixes predict suffix blocks. Updates occur when contexts end; prefixes use LRU replacement and suffixes use LFU with a grace period for new suffixes. Contexts sharing prefetched data are evaluated together when throttling unproductive prefetches. [quickmine08] Metric boundary: A promote means demand reaches a block for which a prefetch was issued. The block may still be in flight, so promotes are not necessarily immediate cache hits. [quickmine08] Scope: The prototype evaluated TPC-W, RUBiS and DBT-2. Benefits depended on workload and cache size. Its C-Miner* comparison denotes the study's baseline implementation, not a universal ranking of all correlation miners. [quickmine08] Sources and caveats: - Historical prototype with application, kernel and NBD changes; no claim of current Linux support or an independent reproduction. Related terms: - [c-miner](https://hesela.dev/terms/c-miner/) - [diskseen](https://hesela.dev/terms/diskseen/) - [table-based-prefetching](https://hesela.dev/terms/table-based-prefetching/) - [informed-prefetching](https://hesela.dev/terms/informed-prefetching/) - [mithril](https://hesela.dev/terms/mithril/) Citations: - [quickmine08] Soundararajan, Mihailescu and Amza. Context-Aware Prefetching at the Storage Server. USENIX ATC 2008, sections 3-6. https://www.usenix.org/legacy/event/usenix08/tech/full_papers/soundararajan/soundararajan_html/index.html (accessed 2026-11-30) ### Quorum intersection URL: https://hesela.dev/terms/quorum-intersection/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Also known as: Read-write quorum overlap Status: shipping Record updated: 2026-11-20 Quorum intersection is the property that every relevant pair of allowed quorums shares at least one replica. Note: For arbitrary R-member read sets and W-member write sets drawn from the same fixed N replicas, R + W > N guarantees overlap; this is the equal-vote case of quorum voting. [gifford] Two W-member write sets must overlap when 2W > N. These are set properties, not standalone consistency protocols. The relevant quorum families depend on the protocol. Flexible Paxos requires phase-1/phase-2 intersection, not intersection within either phase. With all size-q1 and size-q2 subsets permitted, q1 + q2 > N is the cross-phase condition; it is not an application read/write consistency rule. [fpaxos] Limitations: - Intersection alone does not establish linearizability, repair coverage or persistent storage of acknowledged data. (sources: [guarantees], [gifford]) Related terms: - [read-quorum](https://hesela.dev/terms/read-quorum/) - [write-quorum](https://hesela.dev/terms/write-quorum/) - [sloppy-quorum](https://hesela.dev/terms/sloppy-quorum/) - [linearizability](https://hesela.dev/terms/linearizability/) - [partial-quorum](https://hesela.dev/terms/partial-quorum/) - [paxos](https://hesela.dev/terms/paxos/) - [flexible-paxos](https://hesela.dev/terms/flexible-paxos/) - [quorum-read-writeback](https://hesela.dev/terms/quorum-read-writeback/) - [quorum-lease](https://hesela.dev/terms/quorum-lease/) - [byzantine-failure](https://hesela.dev/terms/byzantine-failure/) Citations: - [gifford] David K. Gifford. Weighted Voting for Replicated Data, SOSP 1979, sections 1 and 3. https://www.cs.sfu.ca/~vaughan/teaching/401/papers/gifford79.pdf (accessed 2026-10-13) - [guarantees] Apache Cassandra 5.0.0: Guarantees, including lightweight transactions. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/architecture/guarantees.adoc (accessed 2026-10-13) - [hesela-repair] Replica repair: what has actually converged? https://hesela.com/analyses/replica-repair-coverage/ (accessed 2026-10-13) - [fpaxos] Howard, Malkhi and Spiegelman. Flexible Paxos: Quorum Intersection Revisited. OPODIS 2016, LIPIcs 70 (2017), sections 3-7. https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.OPODIS.2016.25 (accessed 2026-11-04) ### Quorum lease URL: https://hesela.dev/terms/quorum-lease/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: Paxos quorum leases, Quorum read lease Status: research Record updated: 2026-11-16 A quorum lease lets designated Paxos replicas read leased objects locally while requiring synchronous notification before updates commit. Note: Grantors and holders are different sets: activation needs majority-backed promises, but the holder set can have any size. Accepted-but-unresolved commands must be settled before local reads. [quorum-leases] A multi-object write needs acknowledgements from the union of its objects' holder sets, as well as a Paxos majority. Separate majority-sized leases can therefore require all replicas for a combined write. [quorum-leases] Set example: among replicas 0-4, holders {0,1,2} and {0,3,4} cover all five. Enumerating the six three-member holder sets containing replica 0 gives 36 ordered pairs: 6 unions of size three, 24 of size four and 6 of size five. These are equally enumerated configurations, not workload probabilities. [union-model] A composite local read requires active leases for every queried object and atomic execution at one holder; otherwise it follows the Paxos path. The reported experiments covered single-object operations. [quorum-leases] Limitations: - An unavailable holder can delay affected writes until promises expire; clock-rate drift must remain within the timing guard. (sources: [quorum-leases]) Sources and caveats: - The SoCC 2014 paper describes a research protocol. This record combines source synthesis with exact set arithmetic, not a distributed-system experiment. Related terms: - [paxos](https://hesela.dev/terms/paxos/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [hermes-replication](https://hesela.dev/terms/hermes-replication/) Citations: - [quorum-leases] Moraru, Andersen and Kaminsky. Paxos Quorum Leases: Fast Reads Without Sacrificing Writes. SoCC 2014, sections 3 and 5. https://www.istc-cc.cmu.edu/publications/papers/2014/moraru-socc14.pdf (accessed 2026-11-16) - [union-model] Hesela: exact holder-set union enumeration (JavaScript source, Node.js). https://hesela.dev/research/quorum-lease-unions.mjs (accessed 2026-11-16) - [union-data] Hesela: 36 enumerated holder-set pairs (JSON, not measured workload data). https://hesela.dev/research/quorum-lease-unions.json (accessed 2026-11-16) ### Quorum read write-back URL: https://hesela.dev/terms/quorum-read-writeback/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: read write-back Status: shipping Record updated: 2026-11-07 Quorum read write-back propagates a read's selected version to a protocol-required quorum and waits for acknowledgements before returning it. Note: The single-writer ABD register queries a majority, adopts the largest label and announces it to a majority before returning; receivers never decrease their labels. This prevents a later non-overlapping read from returning an older version. Its crash-stop assumptions do not establish persistence across restarts. Query replies alone do not complete the read: its write-back must also finish. Termination in the complete-network crash-stop model assumes a surviving majority and fair execution, not a response-time bound. [abd-register] Write-back is a protocol step, not a claim that every replica has converged or an asynchronous cache write-back policy. Cassandra's BLOCKING read repair has its own queried-data scope and partition-atomicity trade-off. [cassandra-read-repair] After state loss, restarting is not the same as becoming operational. Michael et al.'s protocol separates recovering from operational replicas and uses incarnation information to obtain crash-consistent quorums. The model assumes fixed membership, retained process identities and a fresh per-process incarnation identifier on every restart; a process also recognizes that it is restarting. [diskless-recovery] Limitations: - Quorum overlap alone does not specify version ordering, acknowledged propagation or recovery behavior. (sources: [abd-register]) - Selecting a version is not completion when the required write-back acknowledgements are unavailable. (sources: [abd-register]) Sources and caveats: - Primary-source synthesis and a separately labelled finite illustration; no database execution or new fault-tolerance proof. Related terms: - [read-quorum](https://hesela.dev/terms/read-quorum/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [read-repair](https://hesela.dev/terms/read-repair/) Citations: - [abd-register] Attiya, Bar-Noy and Dolev. Sharing Memory Robustly in Message-Passing Systems. JACM 42(1), 1995, sections 2-4; DOI: 10.1145/200836.200869. https://groups.csail.mit.edu/tds/papers/Attiya/JACM95.pdf (accessed 2026-11-07) - [cassandra-read-repair] Apache Cassandra 5.0.0: Read repair; monotonic quorum reads and partition write atomicity. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/managing/operating/read_repair.adoc (accessed 2026-11-07) - [hesela-consistency] Hesela: Storage consistency, ordering and quorum read write-back. https://hesela.com/analyses/storage-consistency-ordering/#quorum-writeback (accessed 2026-10-25) - [diskless-recovery] Ellis Michael et al. Recovering Shared Objects Without Stable Storage. DISC 2017, sections 3-4. DOI: 10.4230/LIPIcs.DISC.2017.36. https://www.microsoft.com/en-us/research/wp-content/uploads/2018/03/recovery-disc17.pdf (accessed 2026-11-07) ### Quotient filter URL: https://hesela.dev/terms/quotient-filter/ Also known as: QF Status: research Record updated: 2026-11-10 A quotient filter is an approximate membership structure that stores hash fingerprints using quotients, remainders and placement metadata. Note: The original design can enumerate fingerprints and merge compatible filters without fetching original keys. Resizing transfers a bit between quotient and remainder while preserving fingerprint width. [qf-paper] Enumeration recovers fingerprints, not original keys. A positive lookup can be a collision; it is not an exact-key inventory. [qf-paper] Sharing a quotient is a placement collision, whereas matching the full fingerprint can produce a false positive. The counting quotient filter extends this family with compact multiplicity counters; these counts still belong to fingerprints, not necessarily unique original keys. [qf-paper] [cqf-paper] Sources and caveats: - Describes the 2012 paper's quotient filter, not every later counting or concurrent variant. No implementation executed. Related terms: - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [vt-tree](https://hesela.dev/terms/vt-tree/) - [counting-quotient-filter](https://hesela.dev/terms/counting-quotient-filter/) - [adaptive-quotient-filter](https://hesela.dev/terms/adaptive-quotient-filter/) - [telescoping-adaptive-filter](https://hesela.dev/terms/telescoping-adaptive-filter/) Citations: - [qf-paper] Bender et al. Don't Thrash: How to Cache Your Hash on Flash. PVLDB 5(11), 2012, pp. 1627-1637, section 3. https://people.csail.mit.edu/bradley/papers/BenderFaJo12.pdf (accessed 2026-11-10) - [hesela-stitching] Hesela: VT-tree stitching and filter-maintenance costs. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#vt-stitching (accessed 2026-11-10) - [cqf-paper] Pandey, Bender, Johnson and Patro. A General-Purpose Counting Filter: Making Every Bit Count. SIGMOD 2017, sections 2-4. DOI: 10.1145/3035918.3035963. https://users.cs.utah.edu/~pandey/courses/cs6968/spring23/papers/cqf.pdf (accessed 2026-11-10) ### r-index URL: https://hesela.dev/terms/r-index/ Also known as: BWT-runs-bounded index Status: research Record updated: 2026-11-17 The r-index is a compressed full-text index that supports counting and locating pattern matches in space bounded by the number of BWT runs. Note: Mechanism: Here r counts maximal equal-symbol runs in the BWT, not runs in the original text. Run-boundary suffix-array samples maintain one known match during backward search, a toehold. Separate navigation support enumerates the other matches. Counting alone does not return their text positions. [soda] Space: The basic result uses O(r) machine words, not O(r) bits. Its locate bound has a loglogarithmic factor per occurrence; the same paper obtains O(m+occ) time with O(r log(n/r)) words. These are distinct trade-offs, with n text length and m pattern length. [soda] Example: abab abab without the space and babbaaba each contain four a and four b symbols. With a unique trailing $, their BWTs have 3 and 8 runs respectively. The executable example checks run-boundary toeholds against exact suffix-array positions; it is not a compressed r-index implementation. [example] Evaluation: A 2026 variable-length-blocking preprint separates count latency per pattern from locate latency per reported occurrence, filters its locate workload by occurrence count, and does not measure construction time. Its query results cannot establish build-memory requirements or universal speedups. [vlb] Limitations: - The educational model demonstrates one match per nonempty search interval, not the full occurrence-enumeration structure or its time and space bounds. (sources: [example]) Sources and caveats: - Primary-source explanation of a research index; research status is not a claim that the algorithm lacks working implementations. - The example uses constructed lowercase ASCII strings and a reserved terminator. It measures neither throughput nor physical storage savings. Related terms: - [fm-index](https://hesela.dev/terms/fm-index/) - [burrows-wheeler-transform](https://hesela.dev/terms/burrows-wheeler-transform/) - [prefix-free-parsing](https://hesela.dev/terms/prefix-free-parsing/) Citations: - [soda] Gagie, Navarro and Prezza: Optimal-Time Text Indexing in BWT-runs Bounded Space, SODA 2018, sections 2-3 and Table 2. https://users.dcc.uchile.cl/~gnavarro/ps/soda18.pdf (accessed 2026-11-17) - [vlb] Diaz-Dominguez and Makinen: Adaptive encodings for small and fast compressed suffix arrays, arXiv:2602.17201v1 (2026), sections 2.3 and 8.1. https://arxiv.org/html/2602.17201v1 (accessed 2026-11-17) - [example] Hesela: BWT run counts and run-boundary toeholds, executable finite example. https://hesela.dev/research/r-index/README.md (accessed 2026-11-17) ### Racetrack memory URL: https://hesela.dev/terms/racetrack-memory/ Related article: https://hesela.com/tech/magnetic-bubble-memory/ Also known as: domain-wall racetrack memory Status: research Record updated: 2026-10-27 Racetrack memory is a proposed non-volatile memory that stores bits as magnetic domains along a nanowire and shifts them past fixed read and write elements with current pulses. Note: A basic cell has a write head that nucleates a domain in the nanowire, a read head such as a magnetic tunnel junction, and the storage wire, in which domain walls can be pinned by notches. A shift current moves the walls, and with them the data, in either direction. The 2016 review discusses in-plane thermal-stability limits below about 40 nm and perpendicular wall spacing below 90 nm. [c2] The 2008 Science shift-register experiment is a demonstration milestone, not the concept's invention date: Parkin's current-driven magnetic shift-register patent was granted in 2004. [c4] [c5] Annunziata et al. reported a 256-cell CMOS-integrated array in 2011, with field assistance for the demonstrated read/write operations. This is separate from the later system simulations. [c6] Shift current and wire resistance limit bits per wire at a given supply voltage. Simulated mechanisms give about 128 bits per wire with field assistance (about 10 m/s, 10 pJ/bit), 256 with chiral wall motion (200 m/s, 0.1 pJ/bit) and 64 with voltage-controlled pinning (20 m/s, 1 pJ/bit). [c2] In a Co/Pt wire, walls moved at up to 530 m/s at 1 x 10^12 A/m^2 with a threshold of 3.5 x 10^11 A/m^2, and higher densities risk random nucleation and Joule heating. [c3] In a simulated 4-core system, a 64 MB racetrack level-two cache in about the area of 2 MB of SRAM gave 15.8% higher average performance and 73.0% lower cache energy, because static leakage is much lower. One benchmark ran about 7.5% slower because of shift latency, and peripheral circuits took about 20% of area and 40% of latency. [c2] Sources and caveats: - c2 evaluates device, circuit and cache designs through simulation; its background also cites fabricated research devices. Its system gains are not measurements of a commercial memory. - c3 is a single-wire laboratory experiment (Scientific Reports, 2017), not a memory device. - Arithmetic: 8 um / 15 ns = 533 m/s, reported as about 530 m/s. - c4 is a patent disclosure, not evidence of production hardware or a universal priority date. - c5 and c6 were checked through IBM's original publication records and abstracts; the 2008 experiment and 2011 CMOS array must not be conflated. - The reviewed experiments do not establish commercial endurance, retention or cost. Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [bubble-memory](https://hesela.dev/terms/bubble-memory/) - [storage-class-memory](https://hesela.dev/terms/storage-class-memory/) - [tunnel-magnetoresistive-head](https://hesela.dev/terms/tunnel-magnetoresistive-head/) - [racetrack-position-error](https://hesela.dev/terms/racetrack-position-error/) Citations: - [c1] Racetrack memory. https://en.wikipedia.org/wiki/Racetrack_memory (accessed 2026-03-26) - [c2] Perspectives of Racetrack Memory for Large-Capacity On-Chip Memory: From Device to System. https://arxiv.org/abs/1602.02228 (accessed 2026-10-16) - [c3] Bi-directional high speed domain wall motion in perpendicular magnetic anisotropy Co/Pt double stack structures. https://www.nature.com/articles/s41598-017-05409-7 (accessed 2026-10-16) - [c4] S. S. P. Parkin: US6834005B1, front page and abstract; granted 21 December 2004. https://patents.google.com/patent/US6834005B1/en (accessed 2026-10-27) - [c5] M. Hayashi et al.: Current-controlled magnetic domain-wall nanowire shift register, Science 320 (2008); original abstract. https://research.ibm.com/publications/current-controlled-magnetic-domain-wall-nanowire-shift-register (accessed 2026-10-27) - [c6] A. Annunziata et al.: Racetrack memory cell array with integrated magnetic tunnel junction readout, IEDM 2011; original abstract. https://research.ibm.com/publications/racetrack-memory-cell-array-with-integrated-magnetic-tunnel-junction-readout (accessed 2026-10-27) ### Racetrack position error URL: https://hesela.dev/terms/racetrack-position-error/ Related article: https://hesela.com/tech/magnetic-bubble-memory/ Also known as: racetrack shift error, domain-wall position error Status: research Record updated: 2026-11-06 In a racetrack read-channel model, a position error is an incorrect shift that causes a fixed read head to skip or reread stored domains. Note: In the read-channel model of Chee et al., overshifting skips a domain and produces a deletion in the observed bit sequence. A failed shift rereads the same domain, producing a sticky insertion: a repetition, not an arbitrary extra bit. The stored domain is not erased by the modeled deletion. These are synchronization errors, not simply flipped bit values. [c1] Multiple heads do not automatically provide independent observations. Their errors are correlated through the shared shift and head spacing; adjacent heads can return the same ambiguous sequence within a long run. The paper's bounded-error correction guarantees depend on coding constraints and head spacing, not merely the presence of a second head. [c1] Physical positioning error is broader: continuous displacement from the intended position need not produce a discrete read error. Ishibashi et al. studied a Pt/GdFeCo wire about 5 micrometers wide using Kerr microscopy. Figure 4C reports 1,000 trials for Gd concentration x = 30.5%: bit-center position variance grew approximately linearly with average shift-pulse count at 14 V and 20 V, but nonlinearly at 8 V. The number of pulses per shift operation was adjusted between amplitudes to keep the average bit size near 5 micrometers. The shift pulse width was 2 ns, with 10 ms between pulses in the protocol. These are not a bit-error rate or sustained throughput measurement. [c2] Limitations: - The cited work is a coding model, not a measured device failure rate. (sources: [c1]) Sources and caveats: - Full-text review of a theoretical read-channel model; no hardware measurement, raw-data reanalysis or independent code-theorem proof is claimed. - c2: full-text Results, Fig. 4C and Discussion; laboratory spatial variance, not raw-data reanalysis or measured read-error probability. Dense nanoscale behavior is not established by the micrometer-scale experiment. - The distinction between continuous displacement, discrete read-channel events and measured event probabilities is a source-based interpretation, not a fitted conversion model. Related terms: - [racetrack-memory](https://hesela.dev/terms/racetrack-memory/) - [varshamov-tenengolts-code](https://hesela.dev/terms/varshamov-tenengolts-code/) Citations: - [c1] Y. M. Chee, H. M. Kiah, A. Vardy, V. K. Vu and E. Yaakobi: Coding for Racetrack Memories, arXiv:1701.06874v1 (2017), sections I-III. https://arxiv.org/abs/1701.06874v1 (accessed 2026-10-27) - [c2] M. Ishibashi et al.: Decoding the magnetic bit positioning error in a ferrimagnetic racetrack (2024), Fig. 4C; DOI 10.1126/sciadv.adq0898. https://pmc.ncbi.nlm.nih.gov/articles/PMC11498212/ (accessed 2026-10-28) ### Rack affinity URL: https://hesela.dev/terms/rack-affinity/ Also known as: rack affinity (failure analysis) Status: shipping Record updated: 2026-11-10 Rack affinity ranks the rack concentration of a failure burst against same-size random bursts in the same storage cell. Note: For affected-node counts k_i per rack, the raw score R = sum k_i(k_i - 1)/2 counts same-rack pairs. Affinity is P(R_random < R) + 0.5 P(R_random = R), where the reference uniformly selects the same number of distinct nodes without replacement from the same cell. The half-tie term gives the random reference a mean affinity of 0.5; individual random bursts need not have that value. The score and affinity are distinct quantities. [ford-affinity] High affinity does not establish a whole-rack power or network outage. Ford et al. describe partial-rack events compatible with component batches or software changes. It is a concentration ranking, not a failure rate or a posterior probability of a shared cause. [ford-affinity] Hesela's exact fictional four-node example gives same-rack affinity 5/6 for capacities [2, 2] but 3/4 for [3, 1], holding the two-node burst size fixed. In the first topology, 1 - affinity is 1/6 while the inclusive upper-tail probability is 1/3 because of ties. These are constructed arithmetic results, not fleet measurements. [hesela-affinity] A neutral affinity does not establish independent failures or low outage severity. In Hesela's same four-node cell, a burst affecting all four nodes has score 2 but affinity 1/2. Its reference contains one subset, so every score ties, even if a shared outage made every node unavailable. Record burst size and observed service impact separately; this constructed result does not determine data loss or outage duration. [hesela-affinity] Sources and caveats: - Full paper section 4.3 read via https://www.cs.albany.edu/~jhh/courses/readings/ford10.osdi10.availability.pdf on 2026-11-09; canonical publisher URL retained. - The four-node example and inclusive-tail comparison are Hesela derivations; no Google trace was reanalyzed. - Whole-cell boundary added and independently checked on 2026-11-10; conditional concentration is not an outage-severity measure. Related terms: - [failure-burst](https://hesela.dev/terms/failure-burst/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [crush-placement](https://hesela.dev/terms/crush-placement/) Citations: - [ford-affinity] Ford et al., Availability in Globally Distributed Storage Systems, OSDI 2010, section 4.3, printed pages 6-7. https://www.usenix.org/legacy/event/osdi10/tech/full_papers/Ford.pdf (accessed 2026-11-09) - [hesela-affinity] Hesela: rack concentration, tied scores and an exact illustrative enumeration. https://hesela.com/analyses/storage-availability-correlated-failures/#rack-affinity (accessed 2026-11-09) ### Raft joint consensus URL: https://hesela.dev/terms/raft-joint-consensus/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Joint consensus (Raft) Status: shipping Record updated: 2026-11-20 Raft joint consensus is a transitional membership configuration requiring separate majorities of the old and new voting configurations. Note: The original transition commits a joint configuration before recording the final configuration. Elections and commitment in the joint phase require both majorities, not merely a majority of their union. This is the paper's membership mechanism. [raft-paper] The raft v3.6.0 library exposes joint changes through ConfChangeV2 and requires compatible nodes. For an accepted committed configuration change, the application calls ApplyConfChange and records the returned configuration state in snapshots. Activation occurs at application, not log append. [raft-integration] Library support does not mean every service uses the same membership workflow. [raft-api] Constructed example: old {A, B, C}, new {C, D, E}. Count affirmative votes for the same candidate in the same term. C, D, E give old 1/3 and new 3/3: a 3/5 union majority is insufficient. The election is not necessarily lost; more votes may arrive. A, C, D give 2/3 in each; A, B, D, E also satisfy both counts without C. This is a tally example, not a complete election or cluster test. [raft-joint] Historical scope: The 2015 single-server membership bug does not affect joint consensus. The proposed repair requires commitment of an entry from the leader's current term before appending a new configuration, retaining the prior-configuration commitment rule. Appending a no-op alone is insufficient. [raft-membership-erratum] Limitations: - For fixed active old {A, B, C} and new {C, D, E}, constructed matched-prefix indices A=4, B=4, C=8, D=8, E=8 give group bounds 4 and 8. JointConfig.CommittedIndex takes their minimum: candidate 4. Counting the union yields 8. Assume prefix matches against the same leader log, not arbitrary local log lengths; this is not a cluster experiment. (sources: [raft-joint], [raft-majority]) - The helper alone does not make the final commit decision. The leader's current term is passed to raftLog.maybeCommit, which advances only beyond the existing commit index with a matching nonzero term. An older-term candidate alone cannot establish new commitment by replica counting. Entries already committed remain committed; a later current-term commitment covers its older prefix indirectly. (sources: [raft-leader], [raft-log], [raft-paper]) - ConfChangeV2 selects joint consensus for multiple changes or an explicit joint transition. A versioned library's application contract must not be replaced with the dissertation's activation-on-append rule. (sources: [raft-v2], [raft-integration], [raft-membership-erratum]) Sources and caveats: - Original mechanism: section 6 and Figure 11. Library integration: versioned Node API. Configuration activation timing is implementation-specific; the paper is not an operational reconfiguration runbook. [raft-paper] [raft-api] - The 2015 announcement supplies historical counterexamples and a proposed repair, not evidence of a current etcd defect. This source review does not reproduce a cluster execution or prove the implementation safe. [raft-membership-erratum] Related terms: - [raft](https://hesela.dev/terms/raft/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) Citations: - [raft-paper] Ongaro and Ousterhout: In Search of an Understandable Consensus Algorithm, extended version (20 May 2014), sections 5.4, 6 and 8. https://raft.github.io/raft.pdf (accessed 2026-11-04) - [raft-api] raft v3.6.0: Node configuration-change and application interfaces. https://raw.githubusercontent.com/etcd-io/raft/v3.6.0/node.go (accessed 2026-11-04) - [hesela-consistency] Hesela: storage consistency, Raft commitment and read safety. https://hesela.com/analyses/storage-consistency-ordering/#raft-reads (accessed 2026-11-04) - [raft-joint] raft v3.6.0: JointConfig.VoteResult requires both majorities and distinguishes pending from lost. https://raw.githubusercontent.com/etcd-io/raft/v3.6.0/quorum/joint.go (accessed 2026-11-04) - [raft-log] raft v3.6.0: raftLog.maybeCommit and matchTerm, advancement and current-term guard. https://raw.githubusercontent.com/etcd-io/raft/v3.6.0/log.go (accessed 2026-11-04) - [raft-majority] raft v3.6.0: MajorityConfig.CommittedIndex, majority-supported replicated prefix. https://raw.githubusercontent.com/etcd-io/raft/v3.6.0/quorum/majority.go (accessed 2026-11-04) - [raft-leader] raft v3.6.0: raft.maybeCommit passes the leader term and tracker candidate to the log. https://raw.githubusercontent.com/etcd-io/raft/v3.6.0/raft.go (accessed 2026-11-04) - [raft-membership-erratum] Diego Ongaro: bug in single-server membership changes (9 July 2015), proposed solution and 11 July clarification. https://groups.google.com/g/raft-dev/c/t4xj6dJTP6E/m/d2D9LrWRza8J (accessed 2026-11-20) - [raft-integration] raft v3.6.0: configuration activation in the application contract, Implementation notes. https://raw.githubusercontent.com/etcd-io/raft/v3.6.0/doc.go (accessed 2026-11-20) - [raft-v2] raft v3.6.0: ConfChangeV2.EnterJoint selects a joint transition. https://raw.githubusercontent.com/etcd-io/raft/v3.6.0/raftpb/confchange.go (accessed 2026-11-20) ### Raft URL: https://hesela.dev/terms/raft/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Raft consensus Status: shipping Record updated: 2026-11-20 Raft is a leader-based consensus algorithm that manages an ordered replicated log for a deterministic state machine. Note: For the paper's log-free read protocol, a leader first commits an entry from its own term, typically a no-op, to establish the committed prefix. This is a per-term prerequisite, not an entry per read. Quorum-confirmed reads need leadership evidence after the read begins; lease reads assume bounded clock skew. [raft-paper] etcd v3.6.0 swaps read notifiers before requesting the next confirmed index. Readers holding the old notifier share one confirmation; readers capturing the new notifier after the swap wait for a subsequent round. [etcd-read] Commitment and application are separate. The linearizable-read path waits when the applied index is lower than the index confirmed for the matching request. Equality suffices for this application-progress check. [etcd-read] The KV linearizability guarantee does not cover optional serializable reads or watches. Check each operation's API contract. [etcd-guarantees] A leader can commit then crash before replying; a retry can execute again. Section 8 tracks each client's latest command serial number and result so a recognized retry returns the previous response. Log agreement alone does not deduplicate client requests. [raft-paper] RIFL separately requires completion records and mutation effects to become durable atomically; this is not implied for every Raft service. [rifl] A latest-result slot is not a general concurrent-request design. For a live client, RIFL uses an acknowledged sequence prefix for reclamation; an earlier outstanding RPC can retain later results. [rifl] Persist currentTerm and votedFor before RPC replies. Losing a vote on restart can defeat the one-vote-per-term rule despite majority intersection. [raft-paper] Limitations: - The paper assumes non-Byzantine behavior; arbitrary malicious participants are outside that model. (sources: [raft-paper]) - The etcd read check compares Raft log indices, not the API's KV revision. One modifying transaction advances the KV revision once across its changed keys; a transaction with no MVCC changes does not advance it. These counters are not interchangeable. (sources: [etcd-read], [etcd-mvcc]) - In a constructed three-voter trace, A and B elect A; B replies, restarts and forgets its vote, then B and C elect C in the same term. Persisting B's term and vote before replying blocks this trace. Writing after the reply leaves a crash window. This isolates vote memory with equal empty logs, not log commitment or complete Raft. (sources: [restart-vote-memory]) - The author's errata qualify lastApplied: its lifetime must match the state machine's. A durable state machine needs durable applied progress; treating the index as always volatile is unsafe. (sources: [raft-errata]) Sources and caveats: - The algorithm definition follows the original extended paper; implementation details are scoped to etcd v3.6.0 source inspection. No cluster experiment or performance measurement was performed. [raft-paper] [etcd-read] Related terms: - [raft-joint-consensus](https://hesela.dev/terms/raft-joint-consensus/) - [linearizability](https://hesela.dev/terms/linearizability/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [write-ahead-log](https://hesela.dev/terms/write-ahead-log/) - [retry-deduplication](https://hesela.dev/terms/retry-deduplication/) - [flp-impossibility](https://hesela.dev/terms/flp-impossibility/) - [partial-synchrony](https://hesela.dev/terms/partial-synchrony/) - [delos](https://hesela.dev/terms/delos/) - [erpc](https://hesela.dev/terms/erpc/) - [consensus](https://hesela.dev/terms/consensus/) - [state-machine-replication](https://hesela.dev/terms/state-machine-replication/) - [crash-recovery](https://hesela.dev/terms/crash-recovery/) Citations: - [raft-paper] Ongaro and Ousterhout: In Search of an Understandable Consensus Algorithm, extended version (20 May 2014), Figure 2 and sections 5.2, 5.4, 6 and 8. https://raft.github.io/raft.pdf (accessed 2026-11-04) - [etcd-read] etcd v3.6.0: Range, linearizableReadLoop and requestCurrentIndex. https://raw.githubusercontent.com/etcd-io/etcd/v3.6.0/server/etcdserver/v3_server.go (accessed 2026-11-04) - [etcd-guarantees] etcd v3.6: KV, watch and completion guarantees. https://etcd.io/docs/v3.6/learning/api_guarantees/ (accessed 2026-11-04) - [hesela-consistency] Hesela: storage consistency, Raft commitment and read safety. https://hesela.com/analyses/storage-consistency-ordering/#raft-reads (accessed 2026-11-04) - [rifl] Lee et al.: Implementing Linearizability at Large Scale and Low Latency. SOSP 2015, Figure 2, sections 3-4.3; DOI 10.1145/2815400.2815416. https://web.stanford.edu/~ouster/cgi-bin/papers/rifl.pdf (accessed 2026-11-04) - [etcd-mvcc] etcd v3.6.0: MVCC storeTxnWrite.End and put, revision advancement and per-key subrevisions. https://raw.githubusercontent.com/etcd-io/etcd/v3.6.0/server/storage/mvcc/kvstore_txn.go (accessed 2026-11-04) - [restart-vote-memory] Hesela. Restarted voters: an executable vote-memory counterexample, six crash schedules and tests. https://hesela.dev/research/restart-vote-memory/README.md (accessed 2026-11-20) - [raft-errata] Diego Ongaro. Consensus: Bridging Theory and Practice, author errata for Figure 3.1 (Chapter 3), repository revision 0c10ea1b53d73bf6d163bdde8e4141a1cbd8f36a. https://github.com/ongardie/dissertation/blob/0c10ea1b53d73bf6d163bdde8e4141a1cbd8f36a/README.md#chapter-3-basic-raft-algorithm (accessed 2026-11-20) ### RAID 0 URL: https://hesela.dev/terms/raid-0/ Related article: https://hesela.com/tech/raid/ Also known as: RAID0 Status: shipping Record updated: 2026-12-01 RAID 0 stripes data across storage members without redundant copies or parity protection. Note: Layout: Consecutive chunks are assigned to different members in rotation. For N equal-sized active members contributing S bytes each, ideal data capacity is N x S before metadata and filesystem overhead. [c1] [md4] Failure: Losing one member removes part of the array's logical data. The remaining members cannot reconstruct those missing chunks without another copy. RAID 0 is therefore distinct from parity RAID, which also uses striping. [c1] [md4] Scope: Mixed-size Linux MD arrays can use multiple zones with fewer members in later stripes. The equal-sized formula is not a universal mapping rule for unequal devices. [md4] Related terms: - [raid](https://hesela.dev/terms/raid/) - [striping](https://hesela.dev/terms/striping/) - [raid-1](https://hesela.dev/terms/raid-1/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-10](https://hesela.dev/terms/raid-10/) - [backup](https://hesela.dev/terms/backup/) - [stripe-unit](https://hesela.dev/terms/stripe-unit/) - [dm-striped](https://hesela.dev/terms/dm-striped/) Citations: - [c1] SNIA dictionary: RAID 0. https://www.snia.org/education/online-dictionary/term/raid-0 (accessed 2026-10-20) - [md4] mdadm 4.2 md(4): RAID0, chunks and unequal-sized devices. https://manpages.debian.org/bookworm/mdadm/md.4.en.html (accessed 2026-10-20) ### RAID 01 URL: https://hesela.dev/terms/raid-01/ Related analysis: https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/ Also known as: RAID 0+1, RAID01, RAID0+1, RAID 0/1 Status: shipping Record updated: 2026-10-21 RAID 01 mirrors complete RAID 0 stripe sets, placing the redundancy layer above the striping layer. Note: RAID 0+1 reverses the nesting order of conventional RAID 1+0, which stripes over mirror groups. [swordfish-raid] In a two-side layered implementation, one failed member makes its stripe set unavailable as a complete component; the other side supplies the volume. [oracle-raid] With stripe sets A/C and B/D, losing A and C leaves B/D intact, but losing A and D leaves neither complete side. This example assumes initially synchronized copies, readable current survivors and no rebuild. It describes component availability, not permanent destruction of every block. [hesela-raid01] An interface can display mirrored stripe sets while software recognizes and mirrors corresponding components individually. Check the implementation and member map before inferring failure tolerance from the label. [solaris-layering] Limitations: - A capacity or nesting label does not establish repair duration, controller availability or a measured failure probability. (sources: [hesela-raid01]) Sources and caveats: - Source synthesis and an explicitly scoped four-member calculation, not a hardware experiment. The Solaris example is implementation-specific. Related terms: - [raid](https://hesela.dev/terms/raid/) - [raid-10](https://hesela.dev/terms/raid-10/) - [mirroring](https://hesela.dev/terms/mirroring/) - [striping](https://hesela.dev/terms/striping/) - [mirror-set](https://hesela.dev/terms/mirror-set/) - [failure-domain](https://hesela.dev/terms/failure-domain/) Citations: - [swordfish-raid] SNIA Swordfish 1.2.4a: RAIDType placement definitions. https://www.snia.org/sites/default/files/technical-work/swordfish/release/v1.2.4a/html/Specification/Swordfish_v1.2.4a_Specification.html (accessed 2026-10-21) - [oracle-raid] Oracle Linux 10: Software RAID Levels. https://docs.oracle.com/en/operating-systems/oracle-linux/10/stordev/stordev-SoftwareRAIDLevels.html (accessed 2026-10-21) - [solaris-layering] Solaris Volume Manager: Providing RAID-1+0 and RAID-0+1. https://docs.oracle.com/cd/E19120-01/open.solaris/819-2789/about-mirrors-2/index.html (accessed 2026-10-21) - [hesela-raid01] Hesela: RAID 0+1 and RAID 1+0 component availability. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#raid01-heading (accessed 2026-10-21) ### RAID 1 URL: https://hesela.dev/terms/raid-1/ Related article: https://hesela.com/tech/raid/ Also known as: RAID1 Status: shipping Record updated: 2026-10-22 RAID 1 stores a full copy of each logical block on multiple storage members. Note: Copies: A single N-way mirror with N equal-sized members of capacity S provides ideal data capacity S, before overhead. Two-way mirroring uses half the aggregate member capacity, but a three-way mirror uses one third. [c1] [capacity] Survival: One current, readable full copy can retain the data after other members fail. Array assembly, consistency and the availability of its controller and paths still matter. A stale or incomplete member is not interchangeable with a synchronized copy. [capacity] [md4] Recovery: Mirrored writes also propagate unwanted overwrites. RAID 1 does not by itself preserve a historical recovery point. Conventional paired RAID 10 combines multiple mirror groups with striping, rather than keeping a full array copy on every member. [protection] [raid10] Reads: Linux MD balances reads among members, but its documented single sequential stream does not gain the striping benefit of RAID 0. Concurrent streams or random reads can use multiple members; mirrored writes update the active copies. [md4] Synchronization: By default, mdadm starts an initial resync when creating a RAID 1 array. With optional write-behind enabled, Linux MD can report write completion before designated write-mostly members have caught up. Member count alone does not prove that every copy is current. [mdadm] [md4] Related terms: - [raid](https://hesela.dev/terms/raid/) - [mirroring](https://hesela.dev/terms/mirroring/) - [mirror-set](https://hesela.dev/terms/mirror-set/) - [raid-0](https://hesela.dev/terms/raid-0/) - [raid-10](https://hesela.dev/terms/raid-10/) - [degraded-array](https://hesela.dev/terms/degraded-array/) - [backup](https://hesela.dev/terms/backup/) - [md-mismatch-count](https://hesela.dev/terms/md-mismatch-count/) Citations: - [c1] SNIA dictionary: RAID 1. https://www.snia.org/education/online-dictionary/term/raid-1 (accessed 2026-10-20) - [capacity] Red Hat Enterprise Linux 10: Managing RAID, section 16.3. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/managing_storage_devices/managing-raid (accessed 2026-10-20) - [md4] mdadm 4.2 md(4): RAID1 and array recovery. https://manpages.debian.org/bookworm/mdadm/md.4.en.html (accessed 2026-10-20) - [protection] SNIA Data Protection Best Practices (2025), sections 7.1 and 7.2.3. https://www.snia.org/sites/default/files/2025-03/SNIA-Data-Protection-Best-Practice-2025-01-27-v2.pdf (accessed 2026-10-20) - [raid10] SNIA dictionary: RAID 10. https://www.snia.org/education/online-dictionary/term/raid-10 (accessed 2026-10-20) - [mdadm] mdadm 4.2: create, resync and write-behind. https://manpages.debian.org/bookworm/mdadm/mdadm.8.en.html (accessed 2026-10-22) ### RAID 10 URL: https://hesela.dev/terms/raid-10/ Related analysis: https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/ Also known as: RAID10, RAID 1+0 Status: shipping Record updated: 2026-10-21 RAID 10 combines replicated data copies with striping across storage members. Note: Conventional RAID 1+0 uses fixed mirror groups; with two members per group, every group needs a current, readable survivor. Any single member may fail, but two failures in one pair remove both copies of its data. [swordfish-raid] Linux MD also supports near, far and offset layouts and odd member counts, so copy placement must be checked. [mdadm-layout] Hesela's fixed-pair enumeration counts failure combinations, not observed reliability or repair timing. [hesela-mirror-topology] Ratios of counted subsets describe conditional probabilities only when same-size failure sets are equally likely; failure-count timing and member placement require separate evidence. [hesela-mirror-topology] RAID 0+1 mirrors complete stripe sets instead of striping over fixed mirrors. The same disk count does not make these nesting orders interchangeable. [swordfish-raid] Limitations: - A count of failed disks does not identify whether every required mirror retains a usable copy. (sources: [hesela-mirror-topology]) Related terms: - [raid](https://hesela.dev/terms/raid/) - [mirroring](https://hesela.dev/terms/mirroring/) - [striping](https://hesela.dev/terms/striping/) - [mirror-set](https://hesela.dev/terms/mirror-set/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [degraded-array](https://hesela.dev/terms/degraded-array/) - [raid-01](https://hesela.dev/terms/raid-01/) Citations: - [c1] RAID 10. https://en.wikipedia.org/wiki/Nested_RAID_levels (accessed 2026-03-26) - [mdadm-layout] mdadm md(4): RAID1 and RAID10 layout (revision e5a1d3e). https://github.com/md-raid-utilities/mdadm/blob/e5a1d3ebaf95c29a7a5cf0d72fdc568138fd86dd/md.4 (accessed 2026-10-15) - [hesela-mirror-topology] Hesela: RAID 10 mirror topology and exact failure-set counts. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#mirror-topology-heading (accessed 2026-10-15) - [swordfish-raid] SNIA Swordfish 1.2.4a: RAIDType placement definitions. https://www.snia.org/sites/default/files/technical-work/swordfish/release/v1.2.4a/html/Specification/Swordfish_v1.2.4a_Specification.html (accessed 2026-10-21) ### RAID 5 URL: https://hesela.dev/terms/raid-5/ Also known as: RAID5 Status: shipping Record updated: 2026-12-02 RAID 5 stripes data and distributed single parity across members so that one missing member can be reconstructed when the remaining required information is readable and consistent. Note: For N equal-sized active members of capacity S, nominal data capacity is (N - 1) x S before metadata and filesystem overhead; a standby spare is not an active member in this count [md-layout]. One missing member consumes single-parity protection for each affected stripe. An additional unreadable fragment needed in that stripe can prevent reconstruction, without establishing loss of every file [hesela-parity]. Protection against one missing member does not itself make multi-member updates crash-atomic [md]. Advantages: - Distributed parity avoids dedicating one member to all parity blocks. (sources: [snia5]) Limitations: - An interrupted update can invalidate parity needed to recover a missing member; review the write-hole protection policy. (sources: [md]) Related terms: - [hp-autoraid](https://hesela.dev/terms/hp-autoraid/) - [afraid](https://hesela.dev/terms/afraid/) - [raid](https://hesela.dev/terms/raid/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [partial-parity-log](https://hesela.dev/terms/partial-parity-log/) - [write-intent-bitmap](https://hesela.dev/terms/write-intent-bitmap/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [raid-6](https://hesela.dev/terms/raid-6/) - [degraded-array](https://hesela.dev/terms/degraded-array/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [lvm](https://hesela.dev/terms/lvm/) - [stripe-unit](https://hesela.dev/terms/stripe-unit/) - [differential-raid](https://hesela.dev/terms/differential-raid/) Citations: - [md] Linux v6.12: RAID arrays, dirty/degraded assembly and bitmap metadata. https://github.com/torvalds/linux/blob/v6.12/Documentation/admin-guide/md.rst (accessed 2026-10-11) - [ppl] Linux v6.12: Partial Parity Log. https://github.com/torvalds/linux/blob/v6.12/Documentation/driver-api/md/raid5-ppl.rst (accessed 2026-10-11) - [hesela-raid] Hesela: RAID write hole, bitmap and PPL. https://hesela.com/analyses/raid-write-hole-bitmap-ppl/ (accessed 2026-10-11) - [hesela-scrub] Hesela: Scrubbing, detection time and repair boundaries. https://hesela.com/analyses/scrubbing-detection-not-durability/ (accessed 2026-10-11) - [snia5] SNIA Dictionary: RAID 5. https://www.snia.org/education/online-dictionary/term/raid-5 (accessed 2026-10-15) - [md-layout] mdadm md(4): RAID4/5/6 layouts and capacity (revision e5a1d3e). https://github.com/md-raid-utilities/mdadm/blob/e5a1d3ebaf95c29a7a5cf0d72fdc568138fd86dd/md.4 (accessed 2026-10-15) - [hesela-parity] Hesela: RAID 5/6 capacity and per-stripe recovery boundaries. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#parity-budget-heading (accessed 2026-10-15) ### RAID 6 URL: https://hesela.dev/terms/raid-6/ Related analysis: https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/ Also known as: RAID6 Status: shipping Record updated: 2026-10-24 RAID 6 uses dual parity protection to retain data after any two member failures, provided the remaining required data and redundancy are readable and consistent. Note: For N equal-sized active members of capacity S, nominal data capacity is (N - 2) x S before metadata and filesystem overhead, excluding standby spares [md-layout]. In the Linux coding scheme, P is XOR parity and Q is a distinct finite-field syndrome, not another copy of P [hpa-raid6]. Remaining protection is evaluated per affected stripe, not by counting errors anywhere in the array [hesela-parity]. Count unavailable fragments at the same protected positions within blocks; recovery from non-overlapping damaged ranges is implementation-dependent [hpa-raid6]. Equal error counts and location marginals on individual surviving members do not determine how often erasures coincide in a stripe; the joint placement and remaining parity budget are also required [hesela-placement]. Advantages: - Any two missing members are within the configured device-failure tolerance under the reconstruction assumptions. (sources: [snia6]) Limitations: - Two known erasures are not equivalent to two arbitrary silent corruptions; dual parity alone does not guarantee recovery of the latter. (sources: [hpa-raid6]) - A decoder assuming one corrupt symbol can misidentify the culprit and damage a third member when two members are corrupt at corresponding byte positions; warning heuristics do not prove the single-corruption assumption. (sources: [hpa-raid6]) - Dirty and degraded parity can invalidate recovery assumptions; Linux MD normally refuses ordinary assembly in this state. (sources: [md]) - The level alone does not specify rebuild duration, availability policy or protection against deletion and shared failures. (sources: [hesela-parity]) Sources and caveats: - The linked placement example is exhaustive synthetic enumeration, not a measured failure probability or a hardware rebuild experiment. Related terms: - [row-diagonal-parity](https://hesela.dev/terms/row-diagonal-parity/) - [raid](https://hesela.dev/terms/raid/) - [raid-5](https://hesela.dev/terms/raid-5/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [reed-solomon-code](https://hesela.dev/terms/reed-solomon-code/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [degraded-array](https://hesela.dev/terms/degraded-array/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [latent-sector-error](https://hesela.dev/terms/latent-sector-error/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [lvm](https://hesela.dev/terms/lvm/) - [stripe-unit](https://hesela.dev/terms/stripe-unit/) - [liberation-codes](https://hesela.dev/terms/liberation-codes/) Citations: - [snia6] SNIA Dictionary: RAID 6. https://www.snia.org/education/online-dictionary/term/raid-6 (accessed 2026-10-15) - [md-layout] mdadm md(4): RAID4/5/6 layouts and capacity (revision e5a1d3e). https://github.com/md-raid-utilities/mdadm/blob/e5a1d3ebaf95c29a7a5cf0d72fdc568138fd86dd/md.4 (accessed 2026-10-15) - [hpa-raid6] H. Peter Anvin: The mathematics of RAID-6, sections 2 and 4 (2011 revision). https://www.kernel.org/pub/linux/kernel/people/hpa/raid6.pdf (accessed 2026-10-15) - [md] Linux 6.12: RAID arrays, dirty/degraded assembly and corrected read errors. https://docs.kernel.org/6.12/admin-guide/md.html (accessed 2026-10-15) - [hesela-parity] Hesela: RAID 5/6 capacity and per-stripe recovery boundaries. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#parity-budget-heading (accessed 2026-10-15) - [hesela-placement] Hesela: identical erasure marginals with different RAID6 recovery outcomes (exact synthetic model). https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#placement-heading (accessed 2026-10-24) ### RAID consistency check URL: https://hesela.dev/terms/raid-consistency-check/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: RAID redundancy check Status: shipping Record updated: 2026-11-30 A RAID consistency check tests whether redundant representations agree, such as mirrored blocks or parity and their associated data. Note: A controller consistency check can verify and correct mirror or parity data on fault-tolerant virtual disks. This is a redundancy-level operation, distinct from patrol read and from filesystem or application validation. [perc-consistency] [hesela-scrub] The mdadm 4.2 manual distinguishes readable mismatches from read errors. MD check records the former without reconciling them, but normal read-error recovery can still write reconstructed data. MD repair can rewrite parity or mirror copies; the command name check is not a write-free guarantee. [md4-scrub] Agreement alone does not identify the intended payload. Two matching copies can contain the same wrong application output. A single-error model shows that unvalidated maintenance reads can propagate bad data into parity. This does not establish that every controller behaves that way. [parity-model] This is an integrity-boundary inference, not a measured fault rate. Retain coverage, completion, mismatches and repair actions separately. [hesela-scrub] NetBSD RAIDframe differs: raidctl -p reads the driver's parity_good flag, not every stripe. The -P option starts parity rewriting only when that reported state is dirty. A clean status is not evidence of a newly completed media scan. [netbsd-status] [netbsd-cli] Limitations: - Repair policy and write behavior depend on the implementation and selected operation. (sources: [perc-consistency], [md4-scrub]) Sources and caveats: - The controller example is Dell PERC; Linux MD behavior is separately qualified using the mdadm 4.2 manual. [perc-consistency] [md4-scrub] - No maintenance command was executed and no optimal checking interval is claimed. Related terms: - [patrol-read](https://hesela.dev/terms/patrol-read/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [md-mismatch-count](https://hesela.dev/terms/md-mismatch-count/) - [parity-inconsistency](https://hesela.dev/terms/parity-inconsistency/) - [parity-pollution](https://hesela.dev/terms/parity-pollution/) - [checksum](https://hesela.dev/terms/checksum/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [raidframe](https://hesela.dev/terms/raidframe/) Citations: - [perc-consistency] Dell KB 000139796: PERC Check Consistency, mirror and parity correction. https://www.dell.com/support/kbdoc/en-us/000139796/perc-how-to-perform-a-check-consistency-using-openmanage-server-administrator (accessed 2026-10-25) - [md4-scrub] mdadm 4.2 md(4): Scrubbing and mismatches, read-error handling versus readable mismatches. https://manpages.debian.org/bookworm/mdadm/md.4.en.html (accessed 2026-10-25) - [parity-model] Krioukov et al. Parity Lost and Parity Regained. FAST 2008, sections 3-4. https://www.usenix.org/legacy/event/fast08/tech/full_papers/krioukov/krioukov_html/main.html (accessed 2026-10-25) - [hesela-scrub] Hesela: patrol read, RAID consistency and verification boundaries. https://hesela.com/analyses/scrubbing-detection-not-durability/#controller-checks (accessed 2026-10-25) - [netbsd-status] NetBSD 10 rf_netbsdkintf.c: parity status returns a stored flag; pinned source. https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/sys/dev/raidframe/rf_netbsdkintf.c (accessed 2026-11-30) - [netbsd-cli] NetBSD 10 raidctl.c: check_parity and conditional rewrite; pinned source. https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/sbin/raidctl/raidctl.c (accessed 2026-11-30) ### RAID rebuild URL: https://hesela.dev/terms/raid-rebuild/ Related analysis: https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/ Also known as: RAID reconstruction, Array rebuild Status: shipping Record updated: 2026-10-27 A RAID rebuild reconstructs the required contents of a replacement or out-of-sync member from the array's surviving redundancy. Note: Linux MD calls recovery the construction of a hot spare to replace a missing or failed member, and distinguishes it from resync after an unclean shutdown and check or repair scans [md]. Rebuilding redundancy is not restoration of an independent backup. An idle sync_action does not establish completion: inspect degraded and per-member in_sync state as well [md]. A loss probability conditional on entering reconstruction is not the probability of needing a rebuild. Diff-RAID evaluates the former under selected failed-member assumptions [diffraid2010]. Limitations: - A rebuild cannot reconstruct a region for which the surviving data and parity no longer provide enough information. (sources: [zconcepts]) Related terms: - [raid](https://hesela.dev/terms/raid/) - [degraded-array](https://hesela.dev/terms/degraded-array/) - [hot-spare](https://hesela.dev/terms/hot-spare/) - [resilver](https://hesela.dev/terms/resilver/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [parity-declustering](https://hesela.dev/terms/parity-declustering/) - [distributed-spare](https://hesela.dev/terms/distributed-spare/) - [differential-raid](https://hesela.dev/terms/differential-raid/) - [raidframe](https://hesela.dev/terms/raidframe/) Citations: - [md] Linux 6.12 documentation: RAID arrays, recovery, resync and degraded state. https://docs.kernel.org/6.12/admin-guide/md.html (accessed 2026-10-15) - [zconcepts] OpenZFS 2.3: zpoolconcepts(7), device failure and hot spares. https://openzfs.github.io/openzfs-docs/man/v2.3/7/zpoolconcepts.7.html (accessed 2026-10-15) - [hesela-rebuild] Hesela: RAID rebuild read-error models and resilver boundaries. https://hesela.com/analyses/raid-rebuild-ure-math-and-resilver/#spare-policy-heading (accessed 2026-10-15) - [diffraid2010] Balakrishnan et al. Differential RAID: Rethinking RAID for SSD Reliability. EuroSys 2010, sections 3-4. https://www.microsoft.com/en-us/research/wp-content/uploads/2010/04/BKPM-Eurosys2010.pdf (accessed 2026-10-27) ### RAID write hole URL: https://hesela.dev/terms/raid-write-hole/ Also known as: Parity write hole Status: shipping Record updated: 2026-10-23 The RAID write hole is the risk that an interrupted stripe update leaves data and parity inconsistent, so reconstructing a missing member returns wrong data. Note: A stripe write involves several member disks, and an unclean shutdown can stop it after only some of them were updated. With all members present, a resync recomputes parity from data, but a further crash or a member loss before the resync completes exposes stripes whose parity no longer matches. Blocks that were not written during the interrupted update can then be reconstructed incorrectly, which is silent corruption rather than a reported error. [ppl] [r5cache] Linux md therefore refuses by default to start an array that is both dirty and degraded. The md-mod.start_dirty_degraded=1 boot parameter bypasses the check, for example to boot a root file system from such an array, but it does not repair parity. [md] Partial Parity Log closes the hole for RAID5 by first writing the XOR of the stripe chunks that a write leaves unchanged. The log sits in the metadata area of each stripe's parity drive and needs no dedicated device. Write performance drops by up to 30-40%, and an array may have at most 64 member disks. [ppl] A journal device for RAID 4/5/6 is the other md method. In write-through mode, supported since Linux 4.4, data and parity reach the log before the member disks, and several hundred megabytes of log are enough. Write-back mode, supported since Linux 4.10, acknowledges a write once it is in the log and later flushes aggregated full-stripe writes, so losing the log device loses data. [r5cache] Advantages: - PPL recovery at start-up after an unclean shutdown with all disks present removes the need to resync the whole array. (sources: [ppl]) Limitations: - PPL is not a journal for in-flight data: if the disk that received a stripe's new data is lost, that stripe is not recovered and its written part may hold arbitrary data. (sources: [ppl]) - PPL and a write-intent bitmap cannot be enabled together on the same array. (sources: [ppl]) Sources and caveats: - md, ppl and r5cache are Linux v6.12 kernel documentation files, with ppl and r5cache read in full and md read in the boot-parameter and consistency_policy sections. - The 30-40% figure is stated in ppl without a test configuration or workload. - r5cache gives several hundred megabytes for a write-through journal and at least several gigabytes for write-back mode as recommendations, not as a sizing formula. Related terms: - [raid-5](https://hesela.dev/terms/raid-5/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [partial-parity-log](https://hesela.dev/terms/partial-parity-log/) - [write-intent-bitmap](https://hesela.dev/terms/write-intent-bitmap/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [parity-pollution](https://hesela.dev/terms/parity-pollution/) - [raidz](https://hesela.dev/terms/raidz/) Citations: - [md] Linux v6.12: RAID arrays, dirty/degraded assembly and bitmap metadata. https://github.com/torvalds/linux/blob/v6.12/Documentation/admin-guide/md.rst (accessed 2026-10-23) - [ppl] Linux v6.12: Partial Parity Log. https://github.com/torvalds/linux/blob/v6.12/Documentation/driver-api/md/raid5-ppl.rst (accessed 2026-10-23) - [hesela-raid] Hesela: RAID write hole, bitmap and PPL. https://hesela.com/analyses/raid-write-hole-bitmap-ppl/ (accessed 2026-10-11) - [r5cache] Linux v6.12: RAID 4/5/6 cache (raid5-cache.rst), write-through and write-back journal modes. https://github.com/torvalds/linux/blob/v6.12/Documentation/driver-api/md/raid5-cache.rst (accessed 2026-10-23) ### RAID URL: https://hesela.dev/terms/raid/ Technology reference: https://hesela.com/tech/raid/ Also known as: Redundant Array of Independent Disks, Redundant Arrays of Inexpensive Disks Status: shipping Record updated: 2026-10-20 RAID combines storage members through defined data-placement layouts, with redundancy and failure tolerance determined by the chosen level. Note: Levels: RAID 0 stripes without redundancy, RAID 1 mirrors, and RAID 5/6 use parity. Conventional RAID 10 stripes over mirror groups, so failure positions matter as well as their count. [c1] [levels] Protection: Redundant layouts assume readable, current surviving data and a functioning recovery path. Array redundancy does not itself retain a historical copy after deletion or overwriting. [protection] History: The December 1987 technical report and the 1988 conference paper use Inexpensive in the title. Independent is the common modern expansion of the acronym, not the original title. [c3] [paper] [c1] Related terms: - [raid-0](https://hesela.dev/terms/raid-0/) - [raid-1](https://hesela.dev/terms/raid-1/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-6](https://hesela.dev/terms/raid-6/) - [raid-10](https://hesela.dev/terms/raid-10/) - [mirroring](https://hesela.dev/terms/mirroring/) - [striping](https://hesela.dev/terms/striping/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [degraded-array](https://hesela.dev/terms/degraded-array/) - [hot-spare](https://hesela.dev/terms/hot-spare/) - [lvm](https://hesela.dev/terms/lvm/) - [backup](https://hesela.dev/terms/backup/) - [failure-domain](https://hesela.dev/terms/failure-domain/) - [raidframe](https://hesela.dev/terms/raidframe/) Citations: - [c1] SNIA dictionary: RAID. https://www.snia.org/education/online-dictionary/term/raid (accessed 2026-10-20) - [c3] Patterson, Gibson and Katz: A Case for Redundant Arrays of Inexpensive Disks (RAID), UCB/CSD-87-391 (1987). https://www2.eecs.berkeley.edu/Pubs/TechRpts/1987/5853.html (accessed 2026-10-20) - [paper] Patterson, Gibson and Katz: A Case for Redundant Arrays of Inexpensive Disks (RAID), SIGMOD (1988). https://doi.org/10.1145/50202.50214 (accessed 2026-10-20) - [levels] Red Hat Enterprise Linux 10: Managing RAID, section 16.3. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/managing_storage_devices/managing-raid (accessed 2026-10-20) - [protection] SNIA Data Protection Best Practices (2025), sections 7.1 and 7.2.3. https://www.snia.org/sites/default/files/2025-03/SNIA-Data-Protection-Best-Practice-2025-01-27-v2.pdf (accessed 2026-10-20) ### RAIDframe URL: https://hesela.dev/terms/raidframe/ Status: shipping Record updated: 2026-11-30 RAIDframe is a disk-array framework that separates data-layout and I/O policies from a shared execution engine. Note: The 1996 design represents reads, writes and XOR dependencies as directed acyclic graphs. Its roll-away recovery reverses completed work after a pre-commit error and selects another graph for the changed array state; after the commit point it finishes updates on surviving disks. This operation-level boundary is distinct from rebuilding a failed member. [ipds96] The same array-policy code ran in simulation, a raw-disk user process and a kernel driver. The simulator did not move user data and omitted computation and host-transfer time, so timing agreement did not establish payload correctness. [ipds96] NetBSD implements RAIDframe through raid(4) and raidctl(8). Its parity map tracks regions needing recovery work after an unclean shutdown. That map is not a copy of lost data. [raid-man] [raidctl-man] In the pinned NetBSD 10 code, raidctl -p reads parity_good through RAIDFRAME_CHECK_PARITY. It does not initiate a media scan. The -P option can initiate parity rewriting when the reported state is dirty; -R reconstructs a component. These operations answer different questions. [raidctl-code] [kernel-code] Limitations: - An in-memory operation commit point does not by itself establish crash durability or application-level transaction atomicity. (sources: [ipds96], [raid-man]) Sources and caveats: - The IPDS 1996 paper concerns a historical implementation; NetBSD behavior is separately pinned to b48e4fe986a501472d677fd79c0feaf04f1c7f19. - Source synthesis only: no NetBSD array, fault injection or hardware performance experiment was executed. Related terms: - [raid](https://hesela.dev/terms/raid/) - [raid-rebuild](https://hesela.dev/terms/raid-rebuild/) - [raid-consistency-check](https://hesela.dev/terms/raid-consistency-check/) Citations: - [ipds96] Courtright II, Gibson, Holland and Zelenka: A Structured Approach to Redundant Disk Array Implementation, IPDS 1996, sections 2-4. https://www.pdl.cmu.edu/PDL-FTP/RAID/IPDS96.pdf (accessed 2026-11-30) - [raid-man] NetBSD 10 raid(4): RAIDframe driver, component labels and parity recovery; pinned source. https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/share/man/man4/raid.4 (accessed 2026-11-30) - [raidctl-man] NetBSD 10 raidctl(8): parity maps, status, rewrite and reconstruction; pinned source. https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/sbin/raidctl/raidctl.8 (accessed 2026-11-30) - [raidctl-code] NetBSD 10 raidctl.c: -p/-P dispatch and check_parity; pinned source. https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/sbin/raidctl/raidctl.c (accessed 2026-11-30) - [kernel-code] NetBSD 10 rf_netbsdkintf.c: RAIDFRAME_CHECK_PARITY returns parity_good; pinned source. https://github.com/NetBSD/src/blob/b48e4fe986a501472d677fd79c0feaf04f1c7f19/sys/dev/raidframe/rf_netbsdkintf.c (accessed 2026-11-30) ### RAIDZ expansion URL: https://hesela.dev/terms/raidz-expansion/ Also known as: RAID-Z expansion Status: shipping Record updated: 2026-10-23 RAIDZ expansion widens an existing RAIDZ virtual device by attaching another member and redistributing allocated space while retaining old blocks' data-to-parity ratios. Note: Attaching a device to a RAID-Z group reads all allocated space from the existing members and rewrites it across the wider group, after which a pool-wide scrub verifies the checksums of the copied blocks. Redundancy is maintained throughout and the tolerated failure count does not change. A disk failure pauses the expansion until the group is healthy again. This is capacity expansion, not replacement-device resilvering. [attach] Old blocks keep their old ratio. A 5-wide RAID-Z2 has 3 data and 2 parity columns, and after one expansion to 6-wide only newly written blocks use 4 data and 2 parity. [attach] Reflow starts in the 3.5 MiB reserved boot area after the disk labels, used as scratch space so early rows can move without overwriting data whose copy progress is not yet on disk. The next offset to reflow is persisted in the uberblock. After completion, an array of logical stripe widths by transaction group tells readers which geometry each block was written with. [geometry] Advantages: - Adds capacity to an existing RAID-Z group without recreating the pool, and a group can be expanded more than once. (sources: [attach]) Limitations: - An active raidz_expansion feature blocks even read-only import by software that lacks it, so recovery tools must support the feature. (sources: [features]) - Because the assumed parity ratio of the group does not change, df, zfs list and similar tools can report slightly less space than expected for newly written blocks. (sources: [attach]) Sources and caveats: - attach and features re-read 2026-10-23 for the expansion procedure, the 5-wide to 6-wide example and feature compatibility. geometry is vdev_raidz.c at tag zfs-2.3.0, read for the scratch area, uberblock reflow state and raidz_expand_txgs. - A companion analysis with a bounded accounting model is listed but not used in prose; it is not a pool-capacity estimator. - The zfs-error-scrub entry links here because a full pool scrub runs at the end of an expansion, whereas an error scrub re-reads only files with recorded errors. Related terms: - [raidz](https://hesela.dev/terms/raidz/) - [resilver](https://hesela.dev/terms/resilver/) - [snapshot](https://hesela.dev/terms/snapshot/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) Citations: - [attach] OpenZFS 2.3: zpool-attach(8), RAID-Z expansion and space reporting. https://openzfs.github.io/openzfs-docs/man/v2.3/8/zpool-attach.8.html (accessed 2026-10-23) - [geometry] OpenZFS zfs-2.3.0: vdev_raidz.c, reflow and time-dependent geometry. https://github.com/openzfs/zfs/blob/zfs-2.3.0/module/zfs/vdev_raidz.c (accessed 2026-10-23) - [features] OpenZFS 2.3: zpool-features(7), raidz_expansion compatibility. https://openzfs.github.io/openzfs-docs/man/v2.3/7/zpool-features.7.html (accessed 2026-10-23) - [hesela] Hesela: RAIDZ expansion and retained parity cost. https://hesela.com/analyses/raidz-expansion-parity-capacity/ (accessed 2026-10-16) ### RAIDZ URL: https://hesela.dev/terms/raidz/ Also known as: RAID-Z, RAIDZ1, RAIDZ2, RAIDZ3 Status: shipping Record updated: 2026-11-30 RAIDZ is ZFS's distributed-parity virtual-device layout with one, two or three parity fragments and block-dependent stripe widths. Note: Data and parity are striped across all disks of a raidz group, though not necessarily with a consistent stripe width, and the layout avoids the write hole in which data and parity become inconsistent after a power loss. A group of N disks of size X with P parity disks holds approximately (N-P)*X bytes and survives P device failures, needs at least P+1 devices, and is recommended at 3 to 9 devices. [concepts] RAIDZ1, RAIDZ2 and RAIDZ3 name parity levels within this layout, not separate storage media, and raidz is an alias for raidz1. A whole-pool failure probability cannot be inferred from the parity count alone. Advantages: - Variable stripe width avoids the fixed-width zero padding of dRAID, where 8 data devices and 4 KiB sectors give a 32 KiB minimum allocation. (sources: [concepts]) - A group can be widened by attaching a disk, redundancy is kept during the expansion, and the number of tolerated failures stays the same. (sources: [attach]) Limitations: - After expansion, old blocks keep their old data-to-parity ratio, so a 5-wide RAIDZ2 stores 3 data and 2 parity per stripe while new blocks after growth to 6-wide store 4 and 2, and reported free space can be slightly low. (sources: [attach]) - Because stripe width varies, resilvering is not fully sequential, which dRAID obtains only by accepting fixed-width padding. (sources: [concepts]) - A disk failure during expansion pauses the expansion until the group is healthy again. (sources: [attach]) Sources and caveats: - concepts is the OpenZFS zfs-2.3.0 zpoolconcepts(7) manual page, re-read for the raidz and draid virtual-device descriptions. - attach is the OpenZFS zfs-2.3.0 zpool-attach(8) manual page, read for RAID-Z expansion behavior. - No pool reliability figure or measured performance is claimed. Related terms: - [parity-raid](https://hesela.dev/terms/parity-raid/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-6](https://hesela.dev/terms/raid-6/) - [resilver](https://hesela.dev/terms/resilver/) - [raidz-expansion](https://hesela.dev/terms/raidz-expansion/) - [zfs](https://hesela.dev/terms/zfs/) - [vdev](https://hesela.dev/terms/vdev/) - [zfs-recordsize](https://hesela.dev/terms/zfs-recordsize/) - [zfs-volblocksize](https://hesela.dev/terms/zfs-volblocksize/) Citations: - [concepts] OpenZFS zfs-2.3.0: zpoolconcepts(7), raidz and draid virtual devices. https://github.com/openzfs/zfs/blob/zfs-2.3.0/man/man7/zpoolconcepts.7 (accessed 2026-10-23) - [hesela] Hesela: RAIDZ expansion and retained parity cost. https://hesela.com/analyses/raidz-expansion-parity-capacity/ (accessed 2026-10-16) - [attach] OpenZFS zfs-2.3.0: zpool-attach(8), RAID-Z expansion. https://github.com/openzfs/zfs/blob/zfs-2.3.0/man/man8/zpool-attach.8 (accessed 2026-10-23) ### Redundant array of independent NAND URL: https://hesela.dev/terms/rain/ Also known as: RAIN Status: shipping Record updated: 2026-11-16 RAIN uses redundancy across NAND locations inside an SSD to reconstruct data that cannot be read directly. Note: Protection scope: Internal XOR redundancy complements error correction within a page. It is distinct from RAID across complete drives; recovery inside an SSD cannot replace another accessible copy when that entire device is unavailable. [micron] [moon] GC scheduling: TTFLASH uses parity to reconstruct a page temporarily blocked by garbage collection. Its rotating schedule normally permits one collecting plane per group, keeping a single missing stripe member recoverable. Heavy writes can require simultaneous collections, so the latency benefit is conditional. [yan] Read cost: In the paper's single-parity stripe of N pages, reconstructing a blocked partial read of R data pages adds N-R reads. For N=8 and R=1, seven additional pages must be read. These are page operations, not a latency multiplier. [yan] Limitations: - Internal protection has a finite failure scope; check the actual redundancy layout and surviving read path rather than treating the name as a whole-device guarantee. (sources: [micron], [moon]) - TTFLASH relies on intra-plane copyback that bypasses controller ECC checks. Its proposed background checking remained future work. (sources: [yan]) Sources and caveats: - The Micron source describes a shipping internal mechanism; TTFLASH is a research design evaluated through simulation and emulation, not a property of every RAIN-equipped SSD. Related terms: - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [nand-copyback](https://hesela.dev/terms/nand-copyback/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [nand-plane](https://hesela.dev/terms/nand-plane/) - [raid-5](https://hesela.dev/terms/raid-5/) - [preemptible-garbage-collection](https://hesela.dev/terms/preemptible-garbage-collection/) - [ttflash](https://hesela.dev/terms/ttflash/) Citations: - [micron] Micron. Working to revolutionize SSD resiliency with shift-left approach. History of resiliency in SSDs. https://www.micron.com/about/blog/storage/ssd/working-to-revolutionize-ssd-resiliency-with-shift-left-approach (accessed 2026-11-08) - [moon] Moon and Reddy. Don't Let RAID Raid the Lifetime of Your SSD Array. HotStorage 2013, sections 2.1 and 3. https://www.usenix.org/system/files/conference/hotstorage13/hotstorage13-moon_061413.pdf (accessed 2026-11-08) - [yan] Yan et al. Tiny-Tail Flash: Near-Perfect Elimination of Garbage Collection Tail Latencies in NAND SSDs. FAST 2017, sections 4.2-4.4, 6.6 and 7. https://www.usenix.org/system/files/conference/fast17/fast17-yan.pdf (accessed 2026-11-08) ### Ralloc URL: https://hesela.dev/terms/ralloc/ Also known as: Recoverable Lock-free Allocator Status: research Record updated: 2026-12-05 Ralloc is a persistent-memory allocator that reconstructs allocation metadata by tracing reachable blocks after a crash. Note: Recovery: Reachability from persistent roots defines which blocks remain allocated. Application code must supply consistent persistent data and correct tracing; allocator recovery does not make arbitrary updates transactional. [paper] Progress: Lock freedom covers crash-free allocation and deallocation, not stop-the-world recovery. The paper discusses multi-process sharing but leaves its recovery coordination unimplemented. [paper] Tracing: Optional C++ filter functions enumerate pointers. Conservative scanning can retain non-pointer values that resemble references; filters depend on correct type descriptions. The pinned implementation does not support filters in pure C. [paper] [repository] Pointers: The pinned pptr header encodes an offset from the pointer object's own address. Unchanged offsets survive remapping only when holder and target keep the same separation. Copy construction and assignment recompute it to preserve the target; copying the encoded integer alone changes the target when its storage address changes. [code] Object copying: In the linked native example, a struct's default memberwise copy and move keep its pptr aimed at the source object's live member. Rebinding a copied graph requires application-specific knowledge of which targets should move. This is expected pointer-copy behavior, not an allocator defect. [aggregate] Persistence: atomic_pptr provides atomic load, store and compare-exchange on the offset, but these methods contain no write-back or persistence fence. Atomic access and durable completion are separate obligations. [code] Example: The linked native header probe checks copy rebasing, equal-layout encoding transfer, null representation and failed compare-exchange. It does not run the allocator or test power loss. [probe] Limitations: - The recovery design excludes pointers into fields of an allocated block; successful member-pointer header tests do not validate recovery tracing. (sources: [paper], [probe]) - A filter that omits a live pointer can invalidate recovery's reachability assumptions. (sources: [paper]) - The SHM_SIMULATING build option uses volatile /dev/shm storage, not power-loss-persistent memory. (sources: [repository]) Sources and caveats: - Full ISMM paper reviewed, including its assumptions, recovery discussion, proof and experimental setup. The six-author ISMM article is distinct from the five-author PPoPP brief announcement. - Source checked at commit 6b9d7a1af75ba75232107bfaeb6a034799d5b182. The linked experiment executes unmodified MIT-licensed headers, not allocator recovery or a hardware benchmark. Related terms: - [aba-problem](https://hesela.dev/terms/aba-problem/) - [self-relative-pointer](https://hesela.dev/terms/self-relative-pointer/) - [region-id-in-value](https://hesela.dev/terms/region-id-in-value/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [durable-linearizability](https://hesela.dev/terms/durable-linearizability/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [nv-heaps](https://hesela.dev/terms/nv-heaps/) - [memory-persistency](https://hesela.dev/terms/memory-persistency/) Citations: - [aggregate] Hesela. Native Ralloc struct-copy probe: memberwise copy, assignment, move and explicit rebinding. https://hesela.dev/research/relative-pointers/README.md (accessed 2026-12-05) - [paper] Cai et al. Understanding and Optimizing Persistent Memory Allocation. ISMM 2020, sections 2-5. DOI: 10.1145/3381898.3397212. https://www.cs.rochester.edu/u/scott/papers/2020_ISMM_Ralloc.pdf (accessed 2026-12-05) - [repository] Ralloc authors. README, pinned implementation 6b9d7a1: C filter restriction and simulation configuration. https://github.com/urcs-sync/ralloc/blob/6b9d7a1af75ba75232107bfaeb6a034799d5b182/README.md (accessed 2026-12-05) - [code] Ralloc authors. pptr.hpp, pinned implementation 6b9d7a1: offset conversion, copying and atomic operations. https://github.com/urcs-sync/ralloc/blob/6b9d7a1af75ba75232107bfaeb6a034799d5b182/src/pptr.hpp (accessed 2026-12-05) - [probe] Hesela. Ralloc relative-pointer header probe: source, compiler checks and limitations. https://hesela.dev/research/ralloc/README.md (accessed 2026-12-05) ### IBM RAMAC URL: https://hesela.dev/terms/ramac/ Technology reference: https://hesela.com/tech/ramac/ Also known as: 305 RAMAC, 350 disk storage Status: eol Record updated: 2026-11-10 Recorded firstSeen: 1956 (sources: [c1]) IBM RAMAC is the 305 accounting system introduced in 1956, whose IBM 350 unit provided moving-head magnetic disk storage for five million alphanumeric characters. Note: Geometry: 50 disks x two recording sides x 100 tracks = 10,000 tracks; at 500 characters per track, capacity is five million characters. The operating manual also specifies 50,000 sectors of 100 characters. [c4][c5] Coding: two zone bits and four numerical bits carry the character; a check bit supplies odd parity. The design paper counts eight recorded positions, including a space bit used by its self-clocking system. Thus six data bits, seven data-plus-check bits and eight recorded positions describe different boundaries. Five million x 6 / 8 = 3.75 million octets of data-bit equivalence, not a modern byte-addressed interface. [c4][c5] Mechanism: two heads straddle a selected disk. Compressed-air jets maintain head spacing, and the arms retract before vertical carriage movement. There is not one fixed head per recording surface. [c4] Verification: a written disk record is automatically read back and compared against the sending record; a mismatch stops the machine and lights the file-error indicator. Immediate readback is separate from parity checking and does not establish long-term retention. [c5] Timing: the design paper reports about 0.5 s average and 0.75 s maximum access; the 1984 brochure gives 0.6 s average. These are differently sourced specifications, not observations from one measured distribution. [c2][c4] Addressing: The manual's programmed-addressing example groups ten 100-character sectors into each of 5,000 track-address groups. This grouping is not the paper's count of individual surface tracks. Application records can span sectors, and calculated addresses may collide, requiring overflow handling. [c5] Layout: In the indexed example, one sector indexes nine others; load active records first to limit overflow seeks. [c5] Advantages: - Moving heads address 10,000 recording tracks across the disk stack; records need not be reached by reading all preceding records on a tape. (sources: [c4]) - Established the air-bearing, moving-head disk concept (heads floating on air about 800 microinches above the surface) that later disk drives refined. (sources: [c1], [c2]) Limitations: - Very low density and size: 2,000 bits per square inch, 24-inch disks and a unit over one ton including its air compressor. (sources: [c1], [c2]) - Slow by later standards: about 600 ms average access and 100,000 bits per second, against 16 ms and 24 million bits per second for the 1984 comparison file. (sources: [c2]) Sources and caveats: - The January 1957 design paper records receipt in May 1956; it describes an engineering design, not a fleet reliability study. [c4] - The museum's first-shipment account is separate from these engineering specifications. [c1] Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [drum-memory](https://hesela.dev/terms/drum-memory/) - [head-gas-bearing](https://hesela.dev/terms/head-gas-bearing/) - [seek-time](https://hesela.dev/terms/seek-time/) - [areal-density](https://hesela.dev/terms/areal-density/) - [winchester-architecture](https://hesela.dev/terms/winchester-architecture/) Superseded by: - [hdd](https://hesela.dev/terms/hdd/) Citations: - [c1] Computer History Museum — 1956: First commercial hard disk drive shipped (The Storage Engine, IBM Model 350 RAMAC). https://www.computerhistory.org/storageengine/first-commercial-hard-disk-drive-shipped/ (accessed 2026-10-16) - [c2] The IBM 350 RAMAC Disk File (ASME International Historic Landmark brochure, 1984; prepared with the maker's staff assistance). https://www.asme.org/wwwasmeorg/media/resourcefiles/aboutasme/who%20we%20are/engineering%20history/landmarks/90-ibm-350-ramac-disk-file.pdf (accessed 2026-10-16) - [c3] Milestones: RAMAC, 1956 (Engineering and Technology History Wiki, IEEE; text adapted from the ASME brochure). https://ethw.org/Milestones:RAMAC,_1956 (accessed 2026-10-16) - [c4] Noyes and Dickinson: The Magnetic-Disk, Random-Access Memory, IBM J. Res. Dev. 1(1), 72-75 (1957); DOI 10.1147/rd.11.0072. https://bitsavers.trailing-edge.com/pdf/ibm/IBM_Journal_of_Research_and_Development/011/ibmrd0101K.pdf (accessed 2026-10-18) - [c5] IBM 305 RAMAC Manual of Operation, Form 22-6264-1 (April 1957), pp. 61-64, 70-73 and 82. https://bitsavers.trailing-edge.com/pdf/ibm/305_ramac/22-6264-1_305_RAMAC_Manual_of_Operation_Apr57.pdf (accessed 2026-11-10) ### Random I/O URL: https://hesela.dev/terms/random-io/ Related article: https://hesela.com/tech/ssd/ Also known as: Random input/output, Nonsequential I/O Status: shipping Record updated: 2026-10-24 Random I/O is an access pattern in which successive requests do not consistently follow adjacent address ranges. Note: Meaning: Common usage describes a nonsequential workload, not necessarily a statistically random or uniform address distribution [snia]. Benchmark setup: fio selects random reads or writes with rw=randread or rw=randwrite. Its random_distribution option defaults to uniform and also supports skewed distributions such as Zipf and Pareto [fio]. The word random alone does not specify request size, read/write mix, accessed range or achieved queue depth [fio]. Coverage: In fio 3.39, the default random map avoids revisiting blocks within a coverage pass. norandommap removes that tracking; it does not guarantee independent sampling, because the chosen generator still matters. The lfsr generator avoids repeat offsets and requires a single block size. Selecting a nonuniform random_distribution disables the map [fio-sampling]. Sources and caveats: - The definitions are original paraphrases, not reproductions of SNIA Dictionary entries. - The fio online manual was reviewed on 24 October 2026; option semantics describe a workload generator, not measured device performance. Related terms: - [sequential-io](https://hesela.dev/terms/sequential-io/) - [io-request-size](https://hesela.dev/terms/io-request-size/) - [queue-depth](https://hesela.dev/terms/queue-depth/) - [iops](https://hesela.dev/terms/iops/) - [throughput-storage](https://hesela.dev/terms/throughput-storage/) - [ssd](https://hesela.dev/terms/ssd/) - [hdd](https://hesela.dev/terms/hdd/) - [posix-fadv-random](https://hesela.dev/terms/posix-fadv-random/) Citations: - [snia] SNIA Dictionary, 28 April 2026: random I/O and sequential I/O, pp. 244-245 and 270. https://www.snia.org/sites/default/files/dictionary/SNIADictionary.pdf (accessed 2026-10-24) - [fio] fio documentation: rw, blocksize, random_distribution, iodepth and serialize_overlap. https://fio.readthedocs.io/en/latest/fio_doc.html (accessed 2026-10-24) - [fio-sampling] fio 3.39 HOWTO: norandommap, random_generator and random_distribution. https://raw.githubusercontent.com/axboe/fio/fio-3.39/HOWTO.rst (accessed 2026-10-24) ### Range rename URL: https://hesela.dev/terms/range-rename/ Also known as: range-rename Status: research Record updated: 2026-11-11 Range rename is a key-value operation that atomically replaces one key prefix with another in every key that carries it, leaving the values unchanged. Note: Given prefixes p1 and p2, the operation rewrites every key that begins with p1 so that it begins with p2, the key-space analogue of renaming a directory under full-path indexing. It was introduced for a write-optimized B-epsilon tree and is a research primitive, not a generic filesystem or database API. [fullpath] For large ranges the tree is sliced at the source and destination, the isolated subtree moves by a pointer swing, and key lifting stores shared prefixes in parent nodes, so the work grows with tree height rather than subtree size. Files smaller than 4 MiB fit in at most two leaves and are copied instead, and renaming over an existing file pairs a range delete with the range rename in one transaction. [fullpath] Without the primitive, a full-path filesystem re-inserts every key under its new name and deletes the old ones, a deep copy that took 21.17 s for a Linux source tree. [betrfs15] With it, rename throughput stayed within the 30 to 120 renames per second measured for conventional filesystems, except for files near the 4 MiB node size. [fullpath] In BetrFS 0.4, rename return, log persistence and deferred tree surgery are separate endpoints. VFS-buffered file writes can reach the log after the rename, so the recorded new name does not establish durable payload. The latency discussion explicitly makes rename durability conditional on syncing the log. [fullpath] Advantages: - Recovery can replay the range-rename message from the redo log; durability requires the log fsync, not just insertion into a memory buffer. (sources: [fullpath]) Limitations: - Tree surgery pins and dirties the fringe nodes and their common ancestors, and read transactions that began before the rename must finish first, so concurrent work on the range waits. (sources: [fullpath]) Sources and caveats: - fullpath is the USENIX FAST 2018 paper that defines the primitive, read in sections 2-7; betrfs15 is the FAST 2015 paper on the earlier copy-based rename, read in sections 4 and 7. - Throughput and timing figures are single-testbed measurements of research prototypes in those papers. Related terms: - [full-path-indexing](https://hesela.dev/terms/full-path-indexing/) - [b-epsilon-tree](https://hesela.dev/terms/b-epsilon-tree/) - [buffered-upsert](https://hesela.dev/terms/buffered-upsert/) Citations: - [fullpath] Zhan et al. The Full Path to Full-Path Indexing. FAST 2018, pp. 123-138, sections 3-7. https://www.usenix.org/system/files/conference/fast18/fast18-zhan.pdf (accessed 2026-11-11) - [hesela-fullpath] Full-path indexing: why renaming can move the index. https://hesela.com/analyses/full-path-indexing-range-rename/ (accessed 2026-10-20) - [betrfs15] Jannen et al. BetrFS: A Right-Optimized Write-Optimized File System. USENIX FAST 2015, pp. 301-315, sections 4 and 7. https://files.usenix.org/s3fs-public/cdn/fast15-paper-jannen_william.pdf (accessed 2026-10-22) ### Range tombstone URL: https://hesela.dev/terms/range-tombstone/ Also known as: range deletion marker Status: shipping Record updated: 2026-12-04 A range tombstone is a versioned deletion marker that suppresses covered older keys across an ordered key interval. Note: RocksDB DeleteRange uses [start, end). In v9.7.3 equal endpoints are empty; reversed endpoints return InvalidArgument under the comparator. [range-api] [range-write] One logged entry goes into a dedicated memtable; insertion costs O(log T) in buffered tombstones, not covered keys. [delete-range] The example [c, d)@4, [g, h)@7 and [a, z)@10 produces five disjoint spans with seven sequence-tagged fragments (stacked versions). [delete-range-impl] [range-visibility] A covering tombstone visible to the read snapshot can stop lower-level searches. The current table is still checked for newer point values and pending merge operands are resolved. [delete-range-impl] [range-visibility] [range-table] The 2018 benchmark used 5 million keys, 10,000 tombstones and 10 runs, with the database in block cache. Point lookups took 0.6128 µs with fragmentation, 1.3179 µs unfragmented and 0.6036 µs after per-key scan-and-delete. Scans of up to 10 keys took 2.8226, 6.23 and 2.6844 µs respectively. These are that experiment's results, not universal latency estimates. [delete-range] Physical cleanup is separate and snapshot-sensitive. Range tombstones occupy SST meta-blocks and are truncated at file boundaries; compaction handles covered versions within snapshot stripes. [delete-range] [delete-range-impl] DeleteFilesInRange instead selects whole files, with different snapshot and endpoint rules. [file-api] Range conversion at commit 94c7f76da0ba preserves the iterator sequence and retains point markers. Partial read views can disable it; read-write table_filter iterators are rejected when enabled. [conversion-options] [conversion-iterator] A finite model separates hidden live keys, sequence changes and premature marker removal; it is not engine execution. [conversion-model] Advantages: - Deleting a key range costs one logged write instead of a scan that reads and deletes every covered key. (sources: [delete-range]) Limitations: - Very long range scans can be slower than after per-key deletes, because each memtable and file keeps its own tombstone iterator. (sources: [delete-range]) - For 256 nested ranges with distinct sequences, the v9.7.3 native fragmenter retains 511 spans but 65536 sequence entries in read mode; compaction without snapshots retains 511 entries. These component counts are not allocated bytes or lookup timings. (sources: [native-stacks], [fragmenter-stacks]) Sources and caveats: - delete-range is the November 2018 post by Madan and Kryczka (Meta), reread in full on the access date, including the benchmark tables. - delete-range-impl is the engine's DeleteRange implementation wiki page, read in full for fragmentation, the read path, compaction and truncation. - 5 million keys, 10,000 tombstones, 10 runs and the 0.6128, 1.3179, 0.6036, 2.8226, 6.23 and 2.6844 µs values come from delete-range. The seven-fragment example comes from delete-range-impl. The endpoint acceptance rule is corrected against the versioned API and insertion path. - Endpoint correction: the wiki's set-theoretic empty-range description does not replace the v9.7.3 API error contract. [range-api] [range-write] - Source-review correction: distinguish disjoint spans from stacked sequence versions and require read visibility before interpreting a covering tombstone. - Conversion supplement reviewed against pinned source commit 94c7f76da0ba751f1b686f43f4bedb5c58e1dc47. Original educational model is separately labeled; no native engine execution. - Native v9.7.3 fragment-list observation: 780 in-memory cases across three interval shapes and four retention modes. Every endpoint and sequence matched an independent oracle. No user-defined timestamps, duplicate sequences, database workload or timing measurements. [native-stacks] Related terms: - [lsm-tombstone](https://hesela.dev/terms/lsm-tombstone/) - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sstable](https://hesela.dev/terms/sstable/) - [rocksdb-delete-files-in-range](https://hesela.dev/terms/rocksdb-delete-files-in-range/) - [secondary-range-delete](https://hesela.dev/terms/secondary-range-delete/) - [gloran](https://hesela.dev/terms/gloran/) Citations: - [delete-range] Abhishek Madan and Andrew Kryczka. DeleteRange: A New Native RocksDB Operation. RocksDB blog, 21 November 2018, including benchmark tables. https://rocksdb.org/blog/2018/11/21/delete-range.html (accessed 2026-10-22) - [hesela] LSM tombstones: deleted is not yet reclaimed. https://hesela.com/analyses/lsm-tombstones-delete-persistence/ (accessed 2026-10-12) - [delete-range-impl] RocksDB wiki: DeleteRange Implementation (tombstone fragments, read path, compaction and truncation). https://github.com/facebook/rocksdb/wiki/DeleteRange-Implementation (accessed 2026-10-22) - [range-api] RocksDB v9.7.3. db.h: DeleteRange endpoint contract. https://github.com/facebook/rocksdb/blob/v9.7.3/include/rocksdb/db.h (accessed 2026-10-23) - [range-write] RocksDB v9.7.3. WriteBatch memtable insertion: equal and reversed DeleteRange bounds. https://github.com/facebook/rocksdb/blob/v9.7.3/db/write_batch.cc (accessed 2026-10-23) - [file-api] RocksDB v9.7.3. convenience.h: DeleteFilesInRange contract. https://github.com/facebook/rocksdb/blob/v9.7.3/include/rocksdb/convenience.h (accessed 2026-10-23) - [range-visibility] RocksDB v9.7.3. FragmentedRangeTombstoneIterator: snapshot visibility and version stacks. https://github.com/facebook/rocksdb/blob/v9.7.3/db/range_tombstone_fragmenter.h (accessed 2026-10-23) - [range-table] RocksDB v9.7.3. TableCache::Get: range tombstone and point-value lookup. https://github.com/facebook/rocksdb/blob/v9.7.3/db/table_cache.cc (accessed 2026-10-23) - [conversion-options] RocksDB commit 94c7f76da0ba751f1b686f43f4bedb5c58e1dc47. advanced_options.h: experimental conversion, visibility exclusions and table_filter rejection. https://github.com/facebook/rocksdb/blob/94c7f76da0ba751f1b686f43f4bedb5c58e1dc47/include/rocksdb/advanced_options.h (accessed 2026-10-23) - [conversion-iterator] RocksDB commit 94c7f76da0ba751f1b686f43f4bedb5c58e1dc47. db_iter.cc: read-path range conversion and sequence identity. https://github.com/facebook/rocksdb/blob/94c7f76da0ba751f1b686f43f4bedb5c58e1dc47/db/db_iter.cc (accessed 2026-10-23) - [conversion-model] Hesela. Tombstone conversion: finite read-equivalence model, code, tests and explicit limits. https://hesela.dev/research/tombstone-conversion/README.md (accessed 2026-10-23) - [fragmenter-stacks] RocksDB v9.7.3: FragmentTombstones read-mode retention and snapshot-stripe pruning. https://github.com/facebook/rocksdb/blob/0e2801ac30b3f283c3b14e523ba3667eca024f09/db/range_tombstone_fragmenter.cc (accessed 2026-12-04) - [native-stacks] Hesela. Native range-tombstone stack counts: probe, independent oracle and 780 cases. https://hesela.dev/research/range-tombstone-stacks/README.md (accessed 2026-12-04) ### Range write URL: https://hesela.dev/terms/range-write/ Related analysis: https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/ Also known as: Range writes Status: research Record updated: 2026-12-02 A range write lets a storage device select a contiguous destination within client-approved address ranges and return the chosen starting address. Note: The OSDI 2008 research interface includes alignment and keeps blocks within one multi-block write in order. The filesystem supplies permissible free space and records the returned address; it does not surrender allocation policy. [range2008] Overlapping outstanding ranges require temporary device-side tracking of occupied targets. Completion alone cannot retire that tracking: another request may still contain an outdated range. The proposal adds a barrier asserting that later requests account for earlier allocation decisions; pre-barrier writes must also complete before the device forgets them. [range2008] The evaluation separates DiskSim/ext2 simulation from Bark, a software layer that skips journal positions on HDDs. Bark's recovery reconstruction was not fully implemented. Those performance experiments do not establish crash-safe deployment. [range2008] Limitations: - Flexible write placement can harm later sequential reads; the filesystem must constrain layout accordingly. (sources: [range2008]) Sources and caveats: - Historical research interface, not a claimed current NVMe feature or reproduced hardware benchmark. Related terms: - [free-space-fragmentation](https://hesela.dev/terms/free-space-fragmentation/) - [logical-block-address](https://hesela.dev/terms/logical-block-address/) - [nameless-write](https://hesela.dev/terms/nameless-write/) - [freeblock-scheduling](https://hesela.dev/terms/freeblock-scheduling/) - [eager-writing](https://hesela.dev/terms/eager-writing/) Citations: - [range2008] Anand et al. Avoiding File System Micromanagement with Range Writes. OSDI 2008, pp. 161-176, sections 3, 5 and 6. https://static.usenix.org/events/osdi08/tech/full_papers/anand/anand_html/index.html (accessed 2026-11-09) - [hesela] Hesela: Range writes preserve choice, not allocation independence. https://hesela.com/analyses/filesystem-aging-free-space-fragmentation/#range-writes (accessed 2026-11-09) ### Rank/select URL: https://hesela.dev/terms/rank-select/ Also known as: Bitvector rank and select, Rank/select dictionary Status: shipping Record updated: 2026-11-17 Rank counts selected bits in a bitvector prefix, while select locates a selected bit by its occurrence number. Note: Contract: With zero-based bit positions, R(p) counts ones before p, for 0 <= p <= n. S(j) returns the position of one number j, with occurrences numbered from zero. For valid j, R(S(j)) = j and R(S(j) + 1) = j + 1. These are different coordinate systems, not interchangeable offsets. [broadword] Example: In 10010110, one positions are 0, 3, 5, 6. Thus R(3) = 1, S(1) = 3, and the number of ones in positions 3 through 5 is R(6) - R(3) = 2. Empty prefixes are valid; selecting a nonexistent one is outside the operation's domain. [example] Conventions: SDSL rank excludes its endpoint but select numbers occurrences from one; its second one is select(2) = 3 in the example. SuRF's section 2.6 rank example includes the queried bit. Translate that inclusive rank at p as R(p + 1), not R(p). A formula copied without its endpoint and ordinal conventions can silently address the wrong entry. [sdsl] [surf] Storage: Efficient queries require support structures as well as the bitmap. Vigna's rank9 stores two 64-bit support words per 512 data bits, a 25% layout overhead before boundary handling. The SuRF sparse trie's 10 bits per node likewise excludes auxiliary rank/select bits. Neither figure is a whole-index memory bill. [broadword] [surf] Sources and caveats: - Primary-source synthesis of indexing conventions and memory accounting, not a replication of throughput experiments. - The worked bitvector is constructed. Its downloadable reference scans bits and is not a succinct rank/select implementation. - The Broadword PDF identifies itself as the 2023-01-31 author revision; this is not a claim that the underlying work was first published in 2023. Related terms: - [succinct-data-structure](https://hesela.dev/terms/succinct-data-structure/) - [rrr-bitvector](https://hesela.dev/terms/rrr-bitvector/) - [elias-fano](https://hesela.dev/terms/elias-fano/) - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) - [wavelet-tree](https://hesela.dev/terms/wavelet-tree/) - [wavelet-matrix](https://hesela.dev/terms/wavelet-matrix/) - [fm-index](https://hesela.dev/terms/fm-index/) Citations: - [broadword] Sebastiano Vigna, Broadword Implementation of Rank/Select Queries, author revision 2023-01-31, sections 2-3. https://vigna.di.unimi.it/ftp/papers/Broadword.pdf (accessed 2026-11-17) - [sdsl] SDSL tutorial: rank_support and select_support examples. https://simongog.github.io/assets/data/sdsl-slides/tutorial (accessed 2026-11-17) - [surf] Zhang et al., SuRF: Practical Range Query Filtering with Fast Succinct Tries, SIGMOD 2018, sections 2.5-2.6. https://db.cs.cmu.edu/papers/2018/mod601-zhangA-hm.pdf (accessed 2026-11-17) - [example] Hesela: rank/select convention examples and exact scanning reference (CC0). https://hesela.dev/research/rank-select.mjs (accessed 2026-11-17) - [tests] Hesela: exhaustive rank/select identities and invalid-input tests (CC0). https://hesela.dev/research/rank-select.test.mjs (accessed 2026-11-17) ### Raptor code URL: https://hesela.dev/terms/raptor-code/ Related analysis: https://hesela.com/analyses/dna-storage-coverage-and-dropout/ Also known as: Raptor codes Status: shipping Record updated: 2026-11-21 A Raptor code combines a precode with LT encoding to generate repair symbols for recovering a source block from received encoding symbols. Note: RFC 5053 specifies a systematic Raptor scheme. Unchanged source symbols are available alongside repair symbols. Encoding first derives intermediate symbols subject to precode constraints, then applies LT encoding. Intermediate symbols are not simply the transmitted source symbols. [rfc5053] Its four-byte FEC Payload ID assigns 16 bits each to the source-block number and encoding-symbol identifier. Bytes 01 02 03 04 therefore identify block 258 and symbol 772. Object transmission information supplies the decoding context. The example checks field interpretation, not a complete encoded packet. [rfc5053] Successful decoding requires a full-rank system for the intermediate symbols. Systematic layout does not provide an MDS any-subset guarantee. RaptorQ is a different scheme, not an interchangeable name or wire format. [rfc5053] [rfc6330] The precode lets the LT stage leave some intermediate symbols unrecovered; its erasure correction then fills those gaps. This relaxes the LT stage's requirement to cover every input symbol. The precode and LT degree distribution must be designed together. [shokrollahi2006] Limitations: - Erasure correction is not authentication; protect payloads and decoding metadata against undetected modification. (sources: [rfc5053]) Sources and caveats: - The generic construction and RFC 5053 scheme are distinguished. The byte example is constructed arithmetic, not execution of an FEC codec. Related terms: - [raptorq](https://hesela.dev/terms/raptorq/) - [fountain-code](https://hesela.dev/terms/fountain-code/) - [lt-code](https://hesela.dev/terms/lt-code/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [systematic-code](https://hesela.dev/terms/systematic-code/) Citations: - [rfc5053] Luby et al. RFC 5053 (2007), sections 1, 3, 4.1, 5.4, 5.5.2 and 6: systematic Raptor and recovery. https://www.rfc-editor.org/rfc/rfc5053.html (accessed 2026-11-21) - [rfc6330] Luby et al. RFC 6330 (2011), sections 1 and 3.2: distinct RaptorQ scheme and payload identifiers. https://www.rfc-editor.org/rfc/rfc6330.html (accessed 2026-11-21) - [shokrollahi2006] Shokrollahi. Raptor Codes. IEEE Transactions on Information Theory 52(6), 2551-2567 (2006), section IV. DOI: 10.1109/TIT.2006.874390. https://people.ece.ubc.ca/janm/Papers_RG/Shokrollahi_IT_June06.pdf (accessed 2026-11-21) ### RaptorQ URL: https://hesela.dev/terms/raptorq/ Related analysis: https://hesela.com/analyses/dna-storage-coverage-and-dropout/ Also known as: RaptorQ code Status: shipping Record updated: 2026-11-21 RaptorQ is the systematic fountain code specified in RFC 6330 for source-block recovery using original source symbols and generated repair symbols. Note: RaptorQ encodes source blocks independently. Extra symbols for one block cannot repair another block's missing information. Object-wide packet counts therefore cannot establish complete recovery. Decoding needs the object transmission information and the matching block and symbol identifiers. [rfc6330] Its four-byte FEC Payload ID uses an 8-bit source-block number and a 24-bit encoding-symbol identifier. Bytes 01 02 03 04 identify block 1 and symbol 131844, unlike the Raptor layout. This is a field-layout example, not an encoded-packet validation. [rfc6330] [rfc5053] RFC 6330's failure bounds use supported extended block sizes K' and independently, uniformly selected identifiers. They are conditional requirements, not a guarantee for every K-symbol set or a measured storage-loss rate. Source blocks may be padded from K to K'; with multiple sub-blocks, a symbol need not be a contiguous slice of the object. [rfc6330] Verified erratum 5548 corrects the transfer-length limit to 942574504275 octets: 56403 x 65535 x 255. The 8-bit block-count field Z cannot represent 256. The width of a block identifier does not establish the number of blocks an object can contain. [erratum5548] Limitations: - Correct equation solving cannot establish that accepted data are authentic; verification remains a separate requirement. (sources: [rfc6330]) Sources and caveats: - RFC requirements and exact field-layout arithmetic are distinguished from codec execution and storage-fleet evidence. Related terms: - [raptor-code](https://hesela.dev/terms/raptor-code/) - [fountain-code](https://hesela.dev/terms/fountain-code/) - [lt-code](https://hesela.dev/terms/lt-code/) - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [systematic-code](https://hesela.dev/terms/systematic-code/) Citations: - [rfc6330] Luby et al. RFC 6330 (2011), sections 3, 4.4, 5.3.1, 5.8 and 6: RaptorQ blocks, identifiers and conditional recovery. https://www.rfc-editor.org/rfc/rfc6330.html (accessed 2026-11-21) - [rfc5053] Luby et al. RFC 5053 (2007), section 3.1: Raptor uses a different FEC Payload ID layout. https://www.rfc-editor.org/rfc/rfc5053.html#section-3.1 (accessed 2026-11-21) - [erratum5548] RFC 6330 technical erratum 5548, section 3.3.2: block-count and transfer-length correction, verified 2 June 2020. https://www.rfc-editor.org/errata/eid5548 (accessed 2026-11-21) ### Rate-latency service curve URL: https://hesela.dev/terms/rate-latency-service-curve/ Also known as: Rate-latency server Status: shipping Record updated: 2026-11-20 A rate-latency service curve gives a minimum-service guarantee with rate R and latency parameter T through beta(u) = R*max(0,u-T). Note: Guarantee: cumulative output D satisfies D(t) >= inf over 0 <= s <= t of A(s) + beta(t-s). This does not promise service while no work is available. R is a guaranteed share, not necessarily the physical transmission rate. [packet-bound] Fluid bound: a FIFO lossless flow constrained by burst b and rate r <= R has delay at most T + b/R and backlog at most b + r*T. A general service curve bounds virtual delay; individual request delay additionally needs an ordering or scheduling guarantee. [netcal-book] Packet boundary: fixed-rate, non-preemptive transmission and known packet length can tighten the FIFO response-time bound. That packet model is not automatically a storage-device model. [packet-bound] Sources and caveats: - Theory and worked examples, not a measured storage reservation. An average benchmark cannot establish a minimum-service guarantee. Related terms: - [arrival-curve](https://hesela.dev/terms/arrival-curve/) - [token-bucket](https://hesela.dev/terms/token-bucket/) - [tail-latency](https://hesela.dev/terms/tail-latency/) - [strict-service-curve](https://hesela.dev/terms/strict-service-curve/) - [leftover-service-curve](https://hesela.dev/terms/leftover-service-curve/) Citations: - [packet-bound] Mohammadpour, Stai and Le Boudec (2019), Improved Delay Bound for a Service Curve Element, sections II-IV. https://arxiv.org/pdf/1905.04956v2 (accessed 2026-11-20) - [netcal-book] Le Boudec and Thiran, Network Calculus, online edition 2022, sections 1.2-1.4. https://leboudec.github.io/netcal/latex/netCalBook.pdf (accessed 2026-11-20) ### Rate of occurrence of failures URL: https://hesela.dev/terms/rate-of-occurrence-of-failures/ Also known as: ROCOF, Repair rate Status: shipping Record updated: 2026-10-16 The rate of occurrence of failures (ROCOF) is the derivative with respect to time of the expected cumulative failure count of a repairable system. Note: With N(t) the recurring failure count, M(t) = E[N(t)] and ROCOF m(t) = dM(t)/dt. The clock runs from the system's starting point; it does not restart at every event. Despite the name repair rate, this measures event frequency, not repair speed or duration. Specify the system boundary and clock; device lifetime hazard conditions on survival and is a different quantity. Related terms: - [interarrival-time](https://hesela.dev/terms/interarrival-time/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [mtbf](https://hesela.dev/terms/mtbf/) - [failure-operation-ticket](https://hesela.dev/terms/failure-operation-ticket/) Citations: - [nist-rocof] NIST e-Handbook 8.1.2.5: Repair rate or ROCOF. https://www.itl.nist.gov/div898/handbook/apr/section1/apr125.htm (accessed 2026-10-12) - [nist-hazard] NIST e-Handbook 8.1.2.3: Failure (or hazard) rate. https://www.itl.nist.gov/div898/handbook/apr/section1/apr123.htm (accessed 2026-10-12) - [hesela-measurement-clocks] Hesela: Disk replacement rates are not disk lifetimes. https://hesela.com/analyses/mttf-vs-field-replacement-rates/ (accessed 2026-10-12) ### Rate ratio URL: https://hesela.dev/terms/rate-ratio/ Related analysis: https://hesela.com/analyses/afr-rate-not-probability/ Also known as: Incidence rate ratio Status: shipping Record updated: 2026-12-01 A rate ratio compares two event rates, each defined as an event count divided by its corresponding exposure. Note: For event counts X_A, X_B and positive exposures T_A, T_B in the same units, the estimated A:B rate ratio is (X_A/T_A)/(X_B/T_B), when X_B is positive. It is dimensionless; it is not a ratio of fixed-horizon failure probabilities or automatically a ratio of individual hazards. [r-poisson] Under independent Poisson counts with fixed exposures and positive null ratio r0 = lambda_A/lambda_B, conditioning on N = X_A + X_B gives X_A | N ~ Binomial(N, p0), where p0 = r0*T_A/(r0*T_A + T_B). Equal rates imply p0 = T_A/(T_A + T_B), not generally 1/2. A two-sided probability-ordered test sums outcomes with null probability mass no greater than the observed outcome's mass. [r-poisson] [r-binomial] Synthetic example: 9 events/900 drive-years versus 1/100 gives equal rates and estimated ratio 1. The equal-rate null has p0 = 0.9 and two-sided p = 1. Incorrectly using p0 = 0.5 gives 11/512 = 0.021484375. This illustrates a wrong exposure model, not evidence of a fleet difference. [hesela-example] A zero reference count makes the displayed plug-in ratio non-finite; two zero counts leave it undefined and supply no conditional allocation evidence. These cases do not prove zero population rates. Different ages, workloads, dependent incidents, informative withdrawal or selected comparisons need separate analysis. A large p-value does not establish equivalence. [r-poisson] [hesela-example] A probability-ordered two-sided p-value is not the inversion of a central equal-tailed interval. Their decisions can differ; report both constructions. [r-binomial] [hesela-example] Related terms: - [afr](https://hesela.dev/terms/afr/) - [drive-day](https://hesela.dev/terms/drive-day/) - [poisson-rate-model](https://hesela.dev/terms/poisson-rate-model/) - [p-value](https://hesela.dev/terms/p-value/) - [hazard-rate](https://hesela.dev/terms/hazard-rate/) - [confidence-interval](https://hesela.dev/terms/confidence-interval/) - [direct-standardization](https://hesela.dev/terms/direct-standardization/) Citations: - [r-poisson] R 4.5.2: poisson.test, two-sample rate-ratio calculation. https://svn.r-project.org/R/tags/R-4-5-2/src/library/stats/R/poisson.test.R (accessed 2026-12-01) - [r-binomial] R 4.5.2: binom.test, probability-ordered two-sided test. https://svn.r-project.org/R/tags/R-4-5-2/src/library/stats/R/binom.test.R (accessed 2026-12-01) - [hesela-example] Hesela: unequal-exposure failure-rate comparison (synthetic). https://hesela.com/analyses/afr-rate-not-probability/#unequal-exposure (accessed 2026-12-01) ### Rateless IBLT URL: https://hesela.dev/terms/rateless-iblt/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Also known as: Rateless invertible Bloom lookup table Status: research Record updated: 2026-10-23 Rateless IBLT is a set-reconciliation code that streams an unbounded sequence of coded symbols until the receiver can peel out the set difference, with no prior size estimate. Note: A regular invertible Bloom lookup table has a fixed number of cells m, and with k = 3 hash functions listing succeeds with high probability only when m exceeds about 1.222 times the number of stored entries. Sizing a table for reconciliation therefore needs an estimate of the difference, and a table that turns out too small has to be rebuilt larger. [iblt2011] [rateless2024] The rateless construction maps each item to the i-th coded symbol with probability 1/(1 + αi), so early symbols mix many items and later ones only a few. Each coded symbol holds an XOR sum of items, an XOR sum of their hashes and a count, and the receiver subtracts its own symbols before running the same peeling decoder as for a regular table. With α = 0.5, d differences need on average 1.35d to 1.72d coded symbols, peaking at 1.72d for d = 4 and nearing 1.35d once d reaches the low hundreds. [rateless2024] Because the count of the i-th symbol is expected to be close to the set size times 1/(1 + αi), only the deviation is stored as a variable-length quantity, about 1.05 bytes per coded symbol when 10^6 items are encoded into 10^4 symbols. The reference library processed input at 120 MB/s on one core of a 2016-model CPU while reconciling 1000 differences. [rateless2024] Advantages: - The authors report 3 to 4 times lower communication than a regular IBLT and the non-rateless MET-IBLT scheme. (sources: [rateless2024]) - One coded stream can serve any number of receivers with different differences, since each receiver stops reading once it decodes. (sources: [rateless2024]) Limitations: - Encoding cost still depends on the input-set size, because every item must be read and encoded even when the difference is small. (sources: [rateless2024]) - An algebraic scheme such as PinSketch reaches an overhead of 1, measured at 37 to 60 percent below the rateless code, although at 2 to 2000 times the computation. (sources: [rateless2024]) - Pure symbols are recognised by their hash checksum, so a hash collision could mislead the peeling step, which the authors treat as negligibly likely. (sources: [rateless2024]) Sources and caveats: - rateless2024 is the SIGCOMM 2024 paper by Yang, Gilad and Alizadeh in arXiv revision v3, read in sections 1, 3 to 6 and the evaluation against regular IBLT, MET-IBLT and PinSketch. - iblt2011 is the arXiv:1101.2245v3 paper by Goodrich and Mitzenmacher, read in section 2 and its Table 1 of 2-core thresholds. - The reported overheads and throughput come from the authors' simulations and Go implementation and were not reproduced. Related terms: - [invertible-bloom-lookup-table](https://hesela.dev/terms/invertible-bloom-lookup-table/) - [set-reconciliation](https://hesela.dev/terms/set-reconciliation/) - [merkle-tree](https://hesela.dev/terms/merkle-tree/) Citations: - [rateless2024] Lei Yang, Yossi Gilad and Mohammad Alizadeh. Practical Rateless Set Reconciliation. SIGCOMM 2024, sections 3-4 and 7.2-7.3. DOI: 10.1145/3651890.3672219. https://arxiv.org/html/2402.02668v3 (accessed 2026-10-23) - [hesela-repair] Hesela: Replica repair, set reconciliation and record identity. https://hesela.com/analyses/replica-repair-coverage/#set-reconciliation (accessed 2026-10-16) - [iblt2011] Michael T. Goodrich and Michael Mitzenmacher. Invertible Bloom Lookup Tables. arXiv:1101.2245v3, section 2 and Table 1. https://arxiv.org/abs/1101.2245v3 (accessed 2026-10-23) ### Raw bit error rate URL: https://hesela.dev/terms/raw-bit-error-rate/ Related analysis: https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ Also known as: RBER, raw bit error ratio Status: shipping Record updated: 2026-11-06 Raw bit error rate is the number of erroneous bits divided by the total bits read at a specified measurement point before error correction. Note: RBER includes errors that correction subsequently repairs. Report sensing conditions, the observation interval and the actual counters. The FAST 2016 first-generation devices recorded only the worst-chunk count among 16 chunks per page: the full error count lies between that count and 16 times it, so the multiplier is a bound, not a calibration. Across-drive percentiles do not reveal the within-codeword error distribution. [schroeder2016] BER comparisons require the same measurement boundary. [snia-ber] A complete exact error count E over N equally sized codeword-read observations of B bits still bounds how many exceed a common integer budget t. For 0 <= t < B, the minimum is max(0, ceil((E - N*t)/(B - t))) and the maximum is min(N, floor(E/(t + 1))). These are attainable counting bounds, not confidence intervals or decoding-failure probabilities; t = B permits no exceedances. A worst-chunk counter or rounded percentile is not an exact E. Repeated reads may count the same persistent error again, so observations must not be relabeled as distinct damaged cells. [hesela-rber-aggregation] [schroeder2016] Matching mean RBER does not validate a frame-error model. Taranalli et al. found overdispersed error counts in P/E-cycled MLC: a fixed-probability model underestimated frame errors, while their beta-binomial model improved the fit. Its chip- and decoder-specific evidence is not a universal NAND distribution. [taranalli-mlc-channel-2016] A fitted error distribution does not by itself justify a capacity guarantee: the companion BBM study shows that allowed channel states, not only fit quality, determine compound-channel capacity. [taranalli-capacity-2016] Limitations: - RBER alone is not a universal predictor of uncorrectable errors; the FAST 2016 fleet study found it was not predictive in that population. (sources: [schroeder2016]) - The lowest empirical QC-LDPC estimates used only four or six frame failures; simulated estimates recorded at least 400. Failure counts are not tested-frame denominators, and an omitted zero-observed-failure curve is not evidence of zero risk. (sources: [taranalli-mlc-channel-2016]) Related terms: - [bit-error-rate](https://hesela.dev/terms/bit-error-rate/) - [uncorrectable-bit-error-rate](https://hesela.dev/terms/uncorrectable-bit-error-rate/) - [error-correcting-code](https://hesela.dev/terms/error-correcting-code/) - [codeword](https://hesela.dev/terms/codeword/) - [ldpc](https://hesela.dev/terms/ldpc/) - [read-retry](https://hesela.dev/terms/read-retry/) Citations: - [schroeder2016] Schroeder, Lagisetty and Merchant. Flash Reliability in Production: The Expected and the Unexpected. USENIX FAST 2016, sections 4 and 5.1-5.3. https://files.usenix.org/s3fs-public/cdn/fast16-papers-schroeder.pdf (accessed 2026-11-06) - [snia-ber] SNIA Dictionary: bit error rate. https://www.snia.org/education/online-dictionary/term/bit-error-rate (accessed 2026-10-12) - [hesela-ldpc] Hesela: LDPC in NAND, the read cost of confidence. https://hesela.com/analyses/ldpc-soft-decoding-read-cost/ (accessed 2026-10-12) - [hesela-rber-aggregation] Hesela: BCH, LDPC and the RBER aggregation trap; synthetic counting example, not fleet measurements. https://hesela.com/analyses/nand-ecc-bch-vs-ldpc/ (accessed 2026-11-06) - [taranalli-mlc-channel-2016] Taranalli et al. (2016): Channel Models for Multi-Level Cell Flash Memories Based on Empirical Error Analysis. DOI 10.1109/TCOMM.2016.2584602. https://cmrr-star.ucsd.edu/static/pubs/final_manuscript.pdf (accessed 2026-11-06) - [taranalli-capacity-2016] Taranalli et al. (2016): BBM channel capacity. DOI 10.1109/JSAC.2016.2603660. https://cmrr-star.ucsd.edu/static/pubs/veeresh_jsac2016_paper.pdf (accessed 2026-11-06) ### Raw capacity URL: https://hesela.dev/terms/raw-capacity/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Status: unknown Record updated: 2026-10-23 Raw capacity is the sum of the addressable capacities of the devices in a storage system. Note: Scope: Raw capacity counts device space accessible through the storage interface, before system-level protection and formatting overhead. It is not a count of every physical bit in the media. Inaccessible error-correction and remapping areas are excluded from addressable capacity. [snia-raw] [snia-addressable] Comparison: State which devices are included and use consistent byte units. Raw capacity alone does not establish usable application space or the amount of reducible data that a configured array can retain. [snia-formatted] Units: TB and TiB can represent the same byte count with different numerical values. Convert to a common unit before subtracting capacities; the decimal/binary display difference is not itself overhead. [iec-units] Sources and caveats: - Terminology follows the cited accounting convention; no storage-array measurement or capacity guarantee is implied. Related terms: - [usable-capacity](https://hesela.dev/terms/usable-capacity/) - [effective-capacity](https://hesela.dev/terms/effective-capacity/) - [all-flash-array](https://hesela.dev/terms/all-flash-array/) - [over-provisioning](https://hesela.dev/terms/over-provisioning/) - [binary-prefix](https://hesela.dev/terms/binary-prefix/) Citations: - [snia-raw] SNIA Dictionary: raw capacity. https://www.snia.org/education/online-dictionary/term/raw-capacity (accessed 2026-10-22) - [snia-addressable] SNIA Dictionary: addressable capacity. https://www.snia.org/education/online-dictionary/term/addressable-capacity (accessed 2026-10-22) - [snia-formatted] SNIA Dictionary: formatted capacity. https://www.snia.org/education/online-dictionary/term/formatted-capacity (accessed 2026-10-22) - [iec-units] IEC style guide: Units and symbols, decimal and binary byte multiples. https://styleguide.iec.ch/?docs=iec/typographic/units-and-symbols (accessed 2026-10-23) ### RDMA steering tag URL: https://hesela.dev/terms/rdma-steering-tag/ Related analysis: https://hesela.com/analyses/iscsi-identity-sessions-recovery/ Also known as: STag, Steering Tag Status: shipping Record updated: 2026-10-21 A steering tag identifies a tagged memory buffer for access under an RDMA protocol's validity and protection rules. Note: Addressing: A peer advertises a tagged buffer using an STag, offset and length. The tag identifies memory, not a SCSI logical unit, disk address or authenticated user. [rdmap] Access lifetime: A valid tag does not authorize arbitrary memory access; bounds, access rights and the relevant protection context still apply. An invalidation removes remote access through that tag, not the buffer contents. [security] In iSER: Normal completion carries a SHOULD recommendation to invalidate the task's advertised STags. Remote invalidation is optional. When an STag is expected to be invalid after task completion, the initiator must check success and invalidate locally if needed. Retaining valid cached tags extends the interval during which remote memory access is possible. [iser] Sources and caveats: - The generic terminology follows RDMAP. Completion and remote-invalidation details here are scoped to iSER. Related terms: - [iser](https://hesela.dev/terms/iser/) - [rdma-storage](https://hesela.dev/terms/rdma-storage/) Citations: - [rdmap] RFC 5040: tagged-buffer terminology and invalidation, sections 2.3-2.4. https://www.rfc-editor.org/rfc/rfc5040.html#section-2.3 (accessed 2026-10-21) - [security] RFC 5042: buffer access and bounds enforcement, sections 5.4 and 6.2.1. https://www.rfc-editor.org/rfc/rfc5042.html#section-6.2.1 (accessed 2026-10-21) - [iser] RFC 7145: normal completion, invalidation and security, sections 1.5.1, 8.3.2 and 11. https://www.rfc-editor.org/rfc/rfc7145.html#section-8.3.2 (accessed 2026-10-21) ### RDMA storage networking URL: https://hesela.dev/terms/rdma-storage/ Related analysis: https://hesela.com/analyses/nvme-fabrics-transports-discovery/ Status: shipping Record updated: 2026-12-04 RDMA storage networking uses remote direct memory access for data placement within storage protocols such as iSER and NVMe/RDMA. Note: Layering: RDMA is a data-transfer facility, not a storage command set. iSER carries SCSI semantics; NVMe/RDMA carries NVMe semantics. Direct placement can avoid intermediate copies, but the protocol name does not prove a copy-free application path or persistent storage. [c2] [c3] Providers: NVMe/RDMA supports reliable queue pairs over providers including InfiniBand, RoCE and iWARP. The storage binding and its network provider are separate choices. [c2] Addressing: TRSVCID is connection-management information, not a packet-filter recipe. RDMA Transport 1.3 describes a decimal TCP-port string used by RDMA IP CM, separately from RDMA endpoint addressing. Its default-port discussion mentions 4420; NVIDIA's RoCEv2 documentation identifies UDP destination port 4791 for packet encapsulation. Report the field and layer, not just a number. [c2] [roce] Implementation example: Linux v6.12's NVMe/RDMA host creates an RDMA_PS_TCP reliable-connected queue pair. For IPv4/IPv6, rdma_get_service_id combines the port space with the supplied port. RDMA_PS_TCP does not mean that a RoCE provider becomes NVMe/TCP. This is a source inspection, not a packet capture or interoperability test. [linux-rdma] [linux-cma] Congestion policy: Do not assign one Ethernet flow-control requirement to all RDMA providers. Cumulus Linux 5.12, for example, offers ECN-only lossy RoCE and ECN-plus-PFC lossless RoCE modes; support and performance remain implementation-dependent. [roce-qos] Advantages: - Direct placement can reduce intermediate data-copy work in the storage transport. (sources: [c2], [c3]) - The NVMe/RDMA binding can use several RDMA providers. (sources: [c2]) Limitations: - A compatible RDMA provider is required; the binding is not an ordinary TCP socket protocol. (sources: [c2], [c3]) - Discovery service identifiers and RoCEv2 packet ports describe different layers; neither alone establishes connectivity or security. (sources: [c2], [roce]) Sources and caveats: - Reviewed storage binding, provider encapsulation and Linux source separately. No hardware, packet capture or benchmark was performed. Related terms: - [nvme-of](https://hesela.dev/terms/nvme-of/) - [fibre-channel](https://hesela.dev/terms/fibre-channel/) - [initiator-target](https://hesela.dev/terms/initiator-target/) - [iscsi](https://hesela.dev/terms/iscsi/) - [iser](https://hesela.dev/terms/iser/) - [nvme-rdma](https://hesela.dev/terms/nvme-rdma/) - [rdma-steering-tag](https://hesela.dev/terms/rdma-steering-tag/) - [roce-v2](https://hesela.dev/terms/roce-v2/) - [iwarp](https://hesela.dev/terms/iwarp/) - [infiniband](https://hesela.dev/terms/infiniband/) - [farm](https://hesela.dev/terms/farm/) - [infiniswap](https://hesela.dev/terms/infiniswap/) - [clio](https://hesela.dev/terms/clio/) - [clover](https://hesela.dev/terms/clover/) - [hotpot](https://hesela.dev/terms/hotpot/) - [erpc](https://hesela.dev/terms/erpc/) - [tebis](https://hesela.dev/terms/tebis/) - [rowan](https://hesela.dev/terms/rowan/) Citations: - [c1] RDMA storage networking. https://en.wikipedia.org/wiki/Remote_direct_memory_access (accessed 2026-03-26) - [c2] NVM Express NVMe over RDMA Transport 1.3 (31 July 2026), sections 2 and 3.1.2. https://nvmexpress.org/wp-content/uploads/NVM-Express-NVMe-over-RDMA-Transport-Specification-Revision-1.3-Ratified-2026.07.31.pdf (accessed 2026-10-21) - [c3] RFC 7145: Internet Small Computer System Interface (iSCSI) Extensions for the Remote Direct Memory Access (RDMA) Specification, IETF, April 2014. https://www.rfc-editor.org/rfc/rfc7145 (accessed 2026-10-16) - [roce] NVIDIA MLNX_OFED 5.8-6.0.4.2 LTS: RoCE modes and RoCEv2 UDP encapsulation. https://networking-docs.nvidia.com/mlnxofedswum/586042lts/rdma-over-converged-ethernet-roce (accessed 2026-10-21) - [linux-rdma] Linux v6.12 NVMe/RDMA host: nvme_rdma_alloc_queue and nvme_rdma_alloc_ctrl. https://github.com/torvalds/linux/blob/v6.12/drivers/nvme/host/rdma.c (accessed 2026-10-21) - [linux-cma] Linux v6.12 RDMA connection manager: rdma_get_service_id. https://github.com/torvalds/linux/blob/v6.12/drivers/infiniband/core/cma.c (accessed 2026-10-21) - [roce-qos] NVIDIA Cumulus Linux 5.12: RoCE lossy and lossless modes. https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-512/Layer-1-and-Switch-Ports/Quality-of-Service/RDMA-over-Converged-Ethernet-RoCE/ (accessed 2026-10-23) ### Re-Pair compression URL: https://hesela.dev/terms/re-pair/ Also known as: RePair, Recursive pairing Status: research Record updated: 2026-11-17 Re-Pair is an offline grammar compressor that repeatedly replaces a most frequent adjacent symbol pair with a new symbol and records its expansion rule. Note: Mechanism: After each replacement round, pair frequencies are recomputed on the reduced sequence; new symbols can participate in later pairs. The decoder needs both the remaining sequence and the recursively defined rules. [larsson1999] Overlap: Replacing aa in aaaa produces two A symbols, not three. The teaching model counts disjoint occurrences for each candidate pair and replaces them left to right; aaa alone supplies only one such occurrence. [larsson1999] [example] Ties: Equal-frequency pairs need a selection policy. Different choices can produce different grammar sizes; Re-Pair is not a unique canonical encoding. The finite example aaabaabaab yields 9 versus 8 right-hand-side symbols under the documented minimum/maximum-ID policies. [furuya2020] [example] Storage: In the teaching wire format, abababab becomes two rules and two root symbols: 6 grammar symbols, but 24 encoded bytes including the header. This deliberately simple encoding is not the original paper's compact dictionary and entropy coder. [example] Limitations: - The model rescans small inputs and does not implement the papers' efficient data structures or establish their time and memory bounds. (sources: [example], [bille2016]) Sources and caveats: - Source-grounded algorithm explanation and constructed byte examples; no production throughput, fleet metric or benchmark replication. - Research status identifies the algorithm literature, not an assertion that implementations do not exist. Related terms: - [grammar-compression](https://hesela.dev/terms/grammar-compression/) - [compression-dictionary](https://hesela.dev/terms/compression-dictionary/) - [byte-pair-encoding](https://hesela.dev/terms/byte-pair-encoding/) Citations: - [larsson1999] Larsson and Moffat: Offline Dictionary-Based Compression, DCC 1999, sections 2-4. https://avadeaux.net/larsson.dogma.net/dcc99.pdf (accessed 2026-11-17) - [furuya2020] Furuya et al.: Practical Grammar Compression Based on Maximal Repeats, Algorithms 13(4), 103 (2020), sections 2-5. https://www.mdpi.com/1999-4893/13/4/103 (accessed 2026-11-17) - [bille2016] Bille, Gortz and Prezza: Space-Efficient Re-Pair Compression, arXiv:1611.01479v1 (2016), sections 1-3. https://arxiv.org/pdf/1611.01479v1 (accessed 2026-11-17) - [example] Hesela: Re-Pair rule, stream and encoded-byte accounting, executable teaching model. https://hesela.dev/research/repair-grammar/README.md (accessed 2026-11-17) ### Read-after-write verification URL: https://hesela.dev/terms/read-after-write-verification/ Also known as: RAW verification, write verification Status: shipping Record updated: 2026-10-19 Read-after-write verification checks stored data after a write, with comparison guarantees determined by the verification mechanism. Note: Do not equate a completion or persistence acknowledgement with an independent byte comparison. In the cited SCSI manual, the comparison mode matters even for WRITE AND VERIFY. [scsi-manual] This term concerns storage checking, not distributed-system read-after-write consistency. Request coverage and payload-byte coverage need separate denominators when write sizes differ. Hesela's constructed example checks 90% of requests but about 3.4% of payload bytes; neither fraction measures prevented corruption. [hesela-verification] Related terms: - [idle-read-after-write](https://hesela.dev/terms/idle-read-after-write/) - [scsi-verify](https://hesela.dev/terms/scsi-verify/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [checksum](https://hesela.dev/terms/checksum/) - [force-unit-access](https://hesela.dev/terms/force-unit-access/) Citations: - [scsi-manual] Seagate. SCSI Commands Reference Manual, 100293068 Rev. A, February 2006; sections 3.49 and 3.58, printed pp. 175-176 and 198. https://www.seagate.com/staticfiles/support/disc/manuals/scsi/100293068a.pdf (accessed 2026-10-16) - [linux-cache] Linux kernel documentation: explicit volatile write back cache control. https://docs.kernel.org/block/writeback_cache_control.html (accessed 2026-10-16) - [hesela-verification] HDD write verification: completion, persistence and comparison. https://hesela.com/analyses/hdd-write-verification-iraw/ (accessed 2026-10-19) ### Read amplification URL: https://hesela.dev/terms/read-amplification/ Related analysis: https://hesela.com/analyses/bloom-filters-lsm-read-cost/ Status: shipping Record updated: 2026-11-14 Read amplification expresses storage-read work per logical read request or per useful byte returned, under an explicitly stated accounting convention. Note: RocksDB's tuning guide uses physical disk reads per query. Candidate sorted runs, cache lookups, device I/O operations and bytes read are not interchangeable counters. [rocks-tuning] A Bloom-filter model's expected probes per absent lookup is not measured physical I/O: cache hits can eliminate device reads, while cold metadata can add reads. Separate successful lookups, absent lookups and scans, and separate foreground-query reads from compaction reads. A bytes-read/bytes-returned ratio is undefined for an absent query returning zero bytes; report reads per query instead. [hesela] Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [leveled-compaction](https://hesela.dev/terms/leveled-compaction/) - [tiered-compaction](https://hesela.dev/terms/tiered-compaction/) - [bloom-filter](https://hesela.dev/terms/bloom-filter/) - [database-write-amplification](https://hesela.dev/terms/database-write-amplification/) - [rum-conjecture](https://hesela.dev/terms/rum-conjecture/) - [flashstore](https://hesela.dev/terms/flashstore/) - [skimpystash](https://hesela.dev/terms/skimpystash/) Citations: - [rocks-tuning] RocksDB project. Tuning Guide: amplification factors and their accounting boundaries. https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide (accessed 2026-10-14) - [hesela] Hesela. Bloom filters: optimize the lookup, not each filter; compaction and measurement boundaries. https://hesela.com/analyses/bloom-filters-lsm-read-cost/ (accessed 2026-10-14) ### Read-atomic isolation URL: https://hesela.dev/terms/read-atomic-isolation/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: RA isolation, Read Atomic isolation Status: unknown Record updated: 2026-11-13 Read-atomic isolation excludes fractured reads and reads of uncommitted, aborted or intermediate transaction versions. Note: It constrains visibility, not serial execution or concurrent update conflicts. A later version may replace a companion write. [ramp] All-or-none concerns the items actually read, not an obligation to fetch every written item. A coherent old pair can satisfy RA; the guarantee alone promises neither latest values nor Snapshot Isolation. [ramp] RA constrains immediate, not transitive read dependencies. An overwritten companion can remove that direct constraint: a non-fractured read set need not represent a single global point in time. The RAMP implementations add ordering and recency beyond RA itself. [ramp] The history model matters. Biswas and Enea's RA formalization includes session order and read-my-writes, whereas their causal condition follows transitive dependencies. A direct-fracture checker without session and reads-from history cannot certify that full model. [checking-models] Limitations: - Lost updates and write skew remain possible. (sources: [ramp]) Sources and caveats: - The cited 2014 paper defines this model; firstSeen is unset rather than asserting historical priority. Lifecycle status is unknown because this is a semantic guarantee, not a hardware product. [ramp] Related terms: - [fractured-read](https://hesela.dev/terms/fractured-read/) - [monotonic-atomic-view](https://hesela.dev/terms/monotonic-atomic-view/) - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [linearizability](https://hesela.dev/terms/linearizability/) - [causal-consistency](https://hesela.dev/terms/causal-consistency/) - [read-committed-isolation](https://hesela.dev/terms/read-committed-isolation/) Citations: - [ramp] Bailis et al. Scalable Atomic Visibility with RAMP Transactions. SIGMOD 2014, sections 3-4 and Appendix. DOI: 10.1145/2588555.2588562. https://www.bailis.org/papers/ramp-sigmod2014.pdf (accessed 2026-11-11) - [hesela-consistency] Hesela: storage consistency and read-set visibility examples. https://hesela.com/analyses/storage-consistency-ordering/#read-atomic (accessed 2026-10-19) - [checking-models] Ranadeep Biswas and Constantin Enea. On the Complexity of Checking Transactional Consistency. arXiv:1908.04509v1 (2019), section 2, Table 1 and Figure 2. https://arxiv.org/abs/1908.04509v1 (accessed 2026-11-11) ### Read Committed isolation URL: https://hesela.dev/terms/read-committed-isolation/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Read Committed, READ COMMITTED Status: unknown Record updated: 2026-11-15 Read Committed is a transaction isolation level that excludes dirty reads but can allow later statements to observe changes committed by other transactions. Note: The level does not require a particular concurrency-control mechanism. Berenson et al. distinguish phenomenon-based definitions from locking implementations; a shared label is not evidence of identical behavior. Nonrepeatable reads and phantoms remain possible. [berenson-isolation] In PostgreSQL 18, an ordinary SELECT uses a statement-start snapshot and sees its own transaction's previous writes. Successive statements can therefore see different committed states. Updating commands have additional concurrent-row recheck behavior; do not generalize the ordinary-read rule to every command. [postgres-isolation] Isolation and persistence answer different questions. Choosing this level does not specify a failure model, backup policy or durable acknowledgement boundary. See the companion analysis for a constructed two-read history. [hesela-consistency] PostgreSQL ON CONFLICT DO NOTHING can reject a proposed insertion because of a row outside the statement snapshot. A fallback SELECT in the same data-modifying WITH statement need not find that row; a later command obtains a new Read Committed snapshot. [postgres-conflict16] [postgres-with16] Hesela's ten controlled PostgreSQL 16.15 cases, each captured twice on one host/build, include an empty get-or-create result after a competing commit. An unchanged-value DO UPDATE returned the identity but fired row and statement UPDATE triggers; WHERE false returned no identity but still fired the statement trigger. A deletion before the next lookup made it empty again. This is neither a new database defect nor an unconditional retry guarantee. Native observations, code and raw captures are available in the reproduction packet. [postgres-insert16] [postgres-triggers16] [hesela-conflict-evidence] Limitations: - A conditional conflict UPDATE still locks the conflicting row even when its predicate prevents a row update; it is not a lock-free lookup. This is a documented boundary, not a lock-duration measurement. [postgres-insert16] Sources and caveats: - Original level definition and PostgreSQL 18 explanation are primary-source synthesis. A separate native PostgreSQL 16.15 supplement records ten prescribed cases in two same-host/build clusters; not a general conformance test or independent replication. Related terms: - [snapshot-isolation](https://hesela.dev/terms/snapshot-isolation/) - [read-atomic-isolation](https://hesela.dev/terms/read-atomic-isolation/) - [serializability](https://hesela.dev/terms/serializability/) - [fractured-read](https://hesela.dev/terms/fractured-read/) - [read-uncommitted-isolation](https://hesela.dev/terms/read-uncommitted-isolation/) - [dirty-read](https://hesela.dev/terms/dirty-read/) - [multiversion-concurrency-control](https://hesela.dev/terms/multiversion-concurrency-control/) Citations: - [berenson-isolation] Berenson et al. A Critique of ANSI SQL Isolation Levels. SIGMOD 1995; MSR-TR-95-51, sections 2.2-2.3, Tables 1-2. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-95-51.pdf (accessed 2026-11-13) - [postgres-isolation] PostgreSQL 18 documentation: Transaction Isolation, section 13.2.1. https://www.postgresql.org/docs/18/transaction-iso.html#XACT-READ-COMMITTED (accessed 2026-11-13) - [hesela-consistency] Hesela: Storage consistency, ordering, transactions and durability. https://hesela.com/analyses/storage-consistency-ordering/#read-committed (accessed 2026-11-13) - [postgres-conflict16] PostgreSQL 16: Transaction Isolation, sections 13.2.1-13.2.2; conflict visibility and transaction restart. https://www.postgresql.org/docs/16/transaction-iso.html (accessed 2026-11-13) - [postgres-with16] PostgreSQL 16: WITH Queries, section 7.8.4; shared snapshots and RETURNING. https://www.postgresql.org/docs/16/queries-with.html#QUERIES-WITH-MODIFYING (accessed 2026-11-13) - [postgres-insert16] PostgreSQL 16: INSERT; RETURNING and rows locked but not updated. https://www.postgresql.org/docs/16/sql-insert.html (accessed 2026-11-13) - [postgres-triggers16] PostgreSQL 16: Overview of Trigger Behavior, section 39.1; statement-level conflict UPDATE triggers. https://www.postgresql.org/docs/16/trigger-definition.html (accessed 2026-11-13) - [hesela-conflict-evidence] Hesela: PostgreSQL 16.15 conflict-visibility observations, executable protocol and raw evidence. https://hesela.dev/research/read-committed-native/read-committed-native.zip (accessed 2026-11-13) ### Read Disturb Recovery (RDR) URL: https://hesela.dev/terms/read-disturb-recovery/ Related analysis: https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ Also known as: RDR, read-disturb-oriented error recovery Status: research Record updated: 2026-11-18 Read Disturb Recovery is a research technique that uses cell responses to additional disturbance to infer bit values before another ECC attempt. Note: Unlike reclaim, RDR targets already unreadable data rather than preventive relocation. After an ECC-uncorrectable read, readable data in the block is backed up, threshold voltages are scanned and further read disturb is induced. Cells near a read reference whose threshold voltage then rises more than the mean shift are predicted to have occupied the lower of the two neighboring voltage states; cells shifting less than the mean are assigned to the higher state. Erased versus P1 is one boundary, not the general rule. Its probabilistic guesses can introduce errors, so ECC must still correct the remainder. [cai-rdr] On a planar MLC block worn to 8,000 P/E cycles, the reduction in overall raw bit error rate grew with disturb count, from a few percent to 36% after 1 million read disturb operations. [cai-rdr] A later survey reports the same 36% for RDR and 50% for an analogous retention-oriented recovery. Read-retry serves only to measure threshold voltages here; the correction comes from the susceptibility classification, not from another sensing attempt. [flash-survey] Advantages: - Correcting susceptible cells before decoding can bring the remaining error count within the existing ECC capability without a stronger code. (sources: [flash-survey]) Limitations: - Planar MLC evidence does not establish effectiveness on arbitrary modern SSDs. (sources: [cai-rdr]) Sources and caveats: - cai-rdr read 2026-10-23, sections 5.2 to 5.4, for the classification steps, the 8,000 P/E test block and the 36% figure. - flash-survey read 2026-10-23, section 6, for the recovery summary and the 36% and 50% reductions. - A companion analysis on codeword correction radius is listed but not used in prose. - DSN 2015 section 5.3, step 6 rechecked 2026-11-18: the rule uses lower/higher neighboring states at Va, Vb and Vc; erased/programmed alone overgeneralized the Va example. Related terms: - [read-disturb](https://hesela.dev/terms/read-disturb/) - [read-reclaim](https://hesela.dev/terms/read-reclaim/) - [read-retry](https://hesela.dev/terms/read-retry/) - [ldpc](https://hesela.dev/terms/ldpc/) - [read-pass-voltage](https://hesela.dev/terms/read-pass-voltage/) - [retention-failure-recovery](https://hesela.dev/terms/retention-failure-recovery/) Citations: - [cai-rdr] Cai et al. Read Disturb Errors in MLC NAND Flash Memory: Characterization, Mitigation, and Recovery. DSN 2015, sections 5.2-5.4. DOI: 10.1109/DSN.2015.49. https://people.inf.ethz.ch/~omutlu/pub/flash-read-disturb-errors_dsn15.pdf (accessed 2026-10-23) - [hesela-rdr] Hesela: Read Disturb Recovery and codeword correction-radius counterexample. https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/#read-disturb-recovery (accessed 2026-10-20) - [flash-survey] Cai et al. Error Characterization, Mitigation, and Recovery in Flash-Memory-Based Solid-State Drives. Proc. IEEE 2017, arXiv 1706.08642, section 6. https://arxiv.org/abs/1706.08642 (accessed 2026-10-23) ### Read disturb URL: https://hesela.dev/terms/read-disturb/ Related analysis: https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ Status: shipping Record updated: 2026-11-28 Read disturb is an unintended change in NAND cell thresholds caused by reads to other wordlines in the same block. Note: Pass-through voltage on unread cells can shift their thresholds. Cai et al. characterized planar MLC chips, not current fleet failure rates. Read disturb differs from retention loss; read reclaim relocates data while read retry changes sensing. [cai] [hesela-reclaim] Disturbance need not be uniform across 3D NAND wordlines: adjacent-wordline reads can impose stronger stress. [straw] Observation window: in Park et al.'s 15-SSD NVMe study, two drives remained stable during a 30,000-second sequential-read test over a 1-GB range. A 1,000,000-second extension revealed drops with approximate periods of 45,000 and 83,000 seconds. Those are observed performance periods, not safe read-count limits or failure times. [park-observation] Temporary read errors after idle are a separate, reversible observation; an improved second read alone does not demonstrate removal of accumulated disturbance. [tre] Archive evidence: the DSN 2015 slide workbook reproduces the 21% geometric-mean P/E-endurance improvement across 19 selected workloads; it does not measure years of SSD service. Backup slide 37 plots P1, while its workbook also retains ER, P2 and P3. Retention acts during the read experiment, and negative ER thresholds are unobserved. Do not generalize the plotted state to all cells. [cai] [cai-slides] Limitations: - Successful I/O completion is not an independent comparison with expected data; fio direct I/O selects non-buffered access, while content verification is a separate setting. (sources: [fio-verify]) - For the literal STRAW arXiv v1 stress expression, upper-estimating every wordline count alone does not prove an upper stress bound: the target count is subtracted. The constructed example and sign-aware bounds do not establish missed reclaim deadlines or data loss. (sources: [straw], [signed-bound]) Sources and caveats: - Cai et al., DSN 2015, sections 2.1-3.2 rechecked 2026-11-22: cell-level mechanism and FPGA characterization, not a host-read threshold. [cai] - Park et al., POMACS 2026, sections 4.1-4.2 and 5.1: 500/512-GB M.2 devices; within-model variation was not systematically studied. Variable runs used the dominant pattern rather than a distribution of all runs. [park-observation] - The paper reports successful read requests. This does not document an independent end-to-end comparison, and the glossary does not infer either undetected corruption or a measured zero corruption rate. [park-observation] [fio-verify] - Source review only; no SSD stress test or hardware replication was performed. - Source-archive review 2026-11-26: slide 27/workbook 2 E21=GEOMEAN(E2:E20), backup slides 37-38, and paper sections 3.2/4.6-4.7. Hesela reproduced the chart arithmetic, not hardware behavior. [cai-slides] [cai] Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [ftl](https://hesela.dev/terms/ftl/) - [read-retry](https://hesela.dev/terms/read-retry/) - [data-retention](https://hesela.dev/terms/data-retention/) - [program-interference](https://hesela.dev/terms/program-interference/) - [read-reclaim](https://hesela.dev/terms/read-reclaim/) - [nand-wordline](https://hesela.dev/terms/nand-wordline/) - [read-pass-voltage](https://hesela.dev/terms/read-pass-voltage/) - [temporary-read-errors](https://hesela.dev/terms/temporary-read-errors/) - [read-disturb-recovery](https://hesela.dev/terms/read-disturb-recovery/) - [patrol-read](https://hesela.dev/terms/patrol-read/) - [space-saving](https://hesela.dev/terms/space-saving/) Citations: - [cai] Cai, Luo, Ghose, Haratsch, Mai and Mutlu. Read Disturb Errors in MLC NAND Flash Memory: Characterization, Mitigation, and Recovery. DSN 2015, sections 2 and 3. https://people.inf.ethz.ch/~omutlu/pub/flash-read-disturb-errors_dsn15.pdf (accessed 2026-11-22) - [c1] Read disturb. https://en.wikipedia.org/wiki/Flash_memory (accessed 2026-03-26) - [hesela] Hesela: NAND read-retry and evidence boundaries. https://hesela.com/analyses/nand-read-retry-latency/ (accessed 2026-10-11) - [hesela-reclaim] Hesela: SSD read reclaim and read-only accounting. https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ (accessed 2026-10-12) - [straw] Chun et al. STRAW: A Stress-Aware WL-Based Read Reclaim Technique for High-Density NAND Flash-Based SSDs. arXiv:2501.02517v1 (2025). https://arxiv.org/html/2501.02517v1 (accessed 2026-10-12) - [tre] Zambelli et al. Temporary read errors in TLC 3D NAND after idle. JEDS 8 (2020), 99-104. DOI: 10.1109/JEDS.2020.2965648. https://doi.org/10.1109/JEDS.2020.2965648 (accessed 2026-10-18) - [park-observation] Park et al. Experimental Study on System-Level Performance Impact of Read Disturbance in Modern SSDs. POMACS 2026, sections 4-5.1. DOI 10.1145/3788092. https://arxiv.org/html/2608.14073v1 (accessed 2026-11-22) - [fio-verify] fio documentation: direct I/O and verification options (sections 1.13.6 and 1.13.17). https://fio.readthedocs.io/en/master/fio_doc.html (accessed 2026-11-22) - [cai-slides] Cai et al., DSN 2015 author PPTX: slide 27 and embedded workbook 2, Sheet1 E2:E21; backup slides 37-38. https://www.cs.cmu.edu/~yixinluo/index_files/read-disturb-errors_dsn15-talk.pptx (accessed 2026-11-26) - [signed-bound] Hesela. Signed read-disturb counter bounds: constructed streams, current-minimum derivation and executable tests. https://hesela.dev/research/straw-counter-bounds/README.md (accessed 2026-11-28) ### Read-modify-write URL: https://hesela.dev/terms/read-modify-write/ Status: shipping Record updated: 2026-11-26 A storage update that reads existing data needed to preserve unchanged information, combines it with replacement data, and writes the modified data and any required redundancy. Note: For a partial physical-sector update on a 512e drive, the merge is within a 4096-byte physical sector [seagate-af]. In parity RAID, RMW uses old changed-data blocks and old parity, rather than every unchanged block. A cold-cache one-block update has two reads and two writes for RAID5, or three and three for P+Q RAID6. These are member-block transfers, not fixed fractions of full-stripe throughput [chen1994]. With u replacements and p parity blocks, cD coherently cached old changed-data blocks and cP old parity blocks reduce RMW reads to u+p-cD-cP; writes remain u+p [hesela-cost]. Incoming replacement data is not an old-data cache hit. Linux v6.12 checks original-page validity and can force reconstruction when parity may be inconsistent even without a failed member [linux-rmw-v612]. Minimum preread count alone is not a recovery policy. Missing members, journals and partial-block writes need separate analysis. CPU atomic read-modify-write instructions are a different use of the name. Advantages: - Updates part of stored data while preserving the untouched information - Can update parity without reading every unchanged data block Limitations: - Extra reads create dependencies, but counting operations alone does not determine elapsed time - A full-stripe update can avoid parity prereads but still writes redundancy and needs crash-consistency protection - Sector alignment, RAID stripe coverage and SSD-internal write amplification describe different layers Related terms: - [floating-parity](https://hesela.dev/terms/floating-parity/) - [advanced-format](https://hesela.dev/terms/advanced-format/) - [512e](https://hesela.dev/terms/512e/) - [4kn-native](https://hesela.dev/terms/4kn-native/) - [partition-alignment](https://hesela.dev/terms/partition-alignment/) - [ssd](https://hesela.dev/terms/ssd/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-6](https://hesela.dev/terms/raid-6/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [reconstruct-write](https://hesela.dev/terms/reconstruct-write/) - [full-stripe-write](https://hesela.dev/terms/full-stripe-write/) - [parity-logging](https://hesela.dev/terms/parity-logging/) - [speculative-partial-write](https://hesela.dev/terms/speculative-partial-write/) Citations: - [c1] Advanced Format (Wikipedia; 512e and read-modify-write sections). https://en.wikipedia.org/wiki/Advanced_Format (accessed 2026-10-11) - [c2] Standard RAID levels (Wikipedia; RAID 5 write amplification and performance sections). https://en.wikipedia.org/wiki/Standard_RAID_levels (accessed 2026-10-11) - [chen1994] Chen et al. (1994): RAID: High-Performance, Reliable Secondary Storage; sections 3.2.5-3.3.2 and 4.1.1. https://pdl.cmu.edu/PDL-FTP/RAID/computin.pdf (accessed 2026-10-11) - [linux-cache] Linux kernel documentation: RAID 4/5/6 cache, write-back mode and implementation. Rolling documentation; accessed 11 October 2026. https://www.kernel.org/doc/html/latest/driver-api/md/raid5-cache.html (accessed 2026-10-11) - [seagate-af] Seagate: Transition to Advanced Format 4K Sector Hard Drives, 512-byte emulation and alignment. https://www.seagate.com/blog/advanced-format-4k-sector-hard-drives-master-ti/ (accessed 2026-10-11) - [hesela-cost] Hesela: RAID write penalty is not a speed ratio; model and limitations. https://hesela.com/analyses/raid-write-penalty-io-not-speed/ (accessed 2026-10-11) - [linux-rmw-v612] Linux v6.12 drivers/md/raid5.c: uptodate_for_rmw() and handle_stripe_dirtying(), original-page validity, preread selection and recovery override. https://github.com/torvalds/linux/blob/v6.12/drivers/md/raid5.c#L3875-L4043 (accessed 2026-10-19) ### Read-on-arrival URL: https://hesela.dev/terms/read-on-arrival/ Also known as: zero-latency read, immediate read, on-arrival reading Status: unknown Record updated: 2026-11-09 Read-on-arrival is an HDD technique that reads requested sectors in their encountered rotational order and buffers them for logical-order delivery. Note: The name zero-latency read does not mean zero request time. Reading can begin at a requested sector encountered after positioning instead of waiting for the request's first logical sector. Mechanical transfer, seeking and host delivery still take time. [disk-model] [memulator] For a request covering exactly one physical track, the mechanism can collect the track in one revolution after positioning. An arbitrary track-sized logical range may cross a boundary and does not automatically have that property. Atropos explicitly used track geometry and aligned accesses. [atropos] Hesela's eight-sector illustration starts at sector 3. Ordered reading takes 13 sector ticks, while read-on-arrival takes 8 and restores logical order. All eight boundary phases are enumerated, with a separate single-sector control that gains nothing. This is constructed arithmetic with no seek, queue or host-transfer cost, not a drive benchmark. [sector-example] Application benefit remains workload-specific. FAST 2002 added the feature to an emulated disk model; Table 5 reports ten-run PostMark means of 74.523 and 74.469 seconds, with standard deviations of 0.618 and 0.783 seconds. The paper reports a rounded 0.1% runtime reduction. This is not a measured firmware upgrade on physical hardware, evidence of statistical significance, or a modern-drive speedup prediction. [memulator] Read-ahead predicts future requests; read-on-arrival changes media order for the current request. They can coexist, but neither term identifies the other's policy. The 1994 paper documents historical caching behavior, not current prevalence. See the HDD explanation for broader context. [disk-model] [hdd-card] Sources and caveats: - Historical research evidence establishes the mechanism, not an invention date or support in every present-day HDD. - The companion example is an original deterministic illustration, not a reproduction of the cited empirical experiments. - The FAST 2002 experiment emulated a Seagate Cheetah X15 with an added read-on-arrival capability; the physical drive lacked that feature. Related terms: - [hdd](https://hesela.dev/terms/hdd/) - [rotational-latency](https://hesela.dev/terms/rotational-latency/) - [track-skew](https://hesela.dev/terms/track-skew/) Citations: - [disk-model] Ruemmler and Wilkes: An Introduction to Disk Drive Modeling, IEEE Computer 27(3):17-29 (1994), read caching. https://www.pdl.cmu.edu/Publications/HTML-Papers/DiskModeling/i.shtml (accessed 2026-11-09) - [memulator] Griffin, Schindler, Schlosser, Bucy and Ganger: Timing-accurate Storage Emulation, FAST 2002, section 6.1 and Table 5. https://static.usenix.org/events/fast02/full_papers/griffin/griffin_html/index.html (accessed 2026-11-09) - [atropos] Schindler, Schlosser, Shao, Ailamaki and Ganger: Atropos, FAST 2004, sections 2.2 and 5. https://static.usenix.org/events/fast04/tech/full_papers/schindler/schindler_html/index.html (accessed 2026-11-09) - [sector-example] Hesela: exact eight-sector read-on-arrival illustration, code, assumptions and tests. https://hesela.dev/research/read-on-arrival/README.md (accessed 2026-11-09) - [hdd-card] Hesela: HDD mechanics, geometry and transfer-rate interpretation. https://hesela.com/tech/hdd/ (accessed 2026-11-09) ### Read-only mount URL: https://hesela.dev/terms/read-only-mount/ Also known as: Linux read-only mount Status: shipping Record updated: 2026-11-15 A read-only mount restricts filesystem modification through Linux mount state, whose scope can be a VFS mount node, the filesystem superblock, or both. Note: The util-linux v2.41.1 manual separates two layers: a requested ro setting applies to both layers by default for standard mounts, while -o bind,remount,ro changes only the mount node and can leave the filesystem writable through another path. [mount-scope] Btrfs may still replay its recovery log during a read-only mount. [replay] Ext4 journal replay and XFS internal log recovery can also write during read-only mounting; suppressing recovery does not establish a consistent recovered view. [ext4-replay] [xfs-replay] [xfs-options] Since util-linux 2.41, optional ro=vfs and ro=fs arguments select one layer. The v2.41.1 manual marks them experimental and requires the file-descriptor-based mount API. The old mount(2) interface silently ignores the optional argument. [mount-scope] In the kernel, MS_RDONLY can be set per mount point as well as on the superblock since Linux 2.6.16, and a mount is writable only when neither flag is set. Since Linux 2.6.26, MS_REMOUNT combined with MS_BIND changes only the per-mount flags. [mount2] mount_setattr, added in Linux 5.12 with a glibc 2.36 wrapper, sets MOUNT_ATTR_RDONLY on a mount without changing superblock parameters. Its struct mount_attr has a first published size of 32 bytes, four 64-bit fields. [setattr] Advantages: - With AT_RECURSIVE, one mount_setattr call changes the entire mount tree, which the classic mount(2) call cannot do; libmount exposes this as ro=recursive since util-linux 2.39. (sources: [setattr], [mount-scope]) - The change fails with EBUSY while the mount still holds files open for writing, so a successful switch leaves no writer open through that mount. (sources: [setattr]) Limitations: - Read-only access through one path does not establish that the underlying device was unchanged. (sources: [mount-scope], [replay]) - The requested option spelling alone does not verify the effective layer; findmnt can report VFS-OPTIONS and FS-OPTIONS separately, but those flags are not an audit of device writes. (sources: [mount-scope]) Sources and caveats: - mount-scope is the util-linux v2.41.1 mount(8) source at the cited tag, re-read for the Read-only Setting Notes and the ro, vfs, fs and recursive arguments. - mount2 is the Linux man-pages 6.19 mount(2) page, read for the per-mount MS_RDONLY history in 2.6.16 and bind remount in 2.6.26. - setattr is the mount_setattr(2) page, read for MOUNT_ATTR_RDONLY, AT_RECURSIVE, EBUSY and the 5.12 and glibc 2.36 history. The 32-byte size was checked in include/uapi/linux/mount.h at v7.3. - The btrfs-tree-log entry links here because its log replay can still write during a read-only mount. - Ext4 and XFS recovery boundaries checked against Linux v6.16 and xfsprogs documentation; source review only, no mount or device-write experiment. Related terms: - [mount-point](https://hesela.dev/terms/mount-point/) - [mount-namespace](https://hesela.dev/terms/mount-namespace/) - [bind-mount](https://hesela.dev/terms/bind-mount/) - [btrfs-read-only-subvolume](https://hesela.dev/terms/btrfs-read-only-subvolume/) - [block-device-read-only](https://hesela.dev/terms/block-device-read-only/) - [btrfs-tree-log](https://hesela.dev/terms/btrfs-tree-log/) - [erofs](https://hesela.dev/terms/erofs/) - [squashfs](https://hesela.dev/terms/squashfs/) - [ext4](https://hesela.dev/terms/ext4/) - [xfs](https://hesela.dev/terms/xfs/) - [mount-propagation](https://hesela.dev/terms/mount-propagation/) Citations: - [mount-scope] util-linux v2.41.1: mount(8), Read-only Setting Notes. https://kernel.googlesource.com/pub/scm/utils/util-linux/util-linux/+/refs/tags/v2.41.1/sys-utils/mount.8.adoc (accessed 2026-10-23) - [replay] Btrfs documentation: tree-log replay and rescue options. https://btrfs.readthedocs.io/en/latest/btrfs-man5.html (accessed 2026-10-15) - [hesela] Hesela: Btrfs tree logs and read-only scope boundaries. https://hesela.com/analyses/btrfs-tree-log-read-only-replay/#read-only-scopes (accessed 2026-10-15) - [mount2] Linux man-pages: mount(2), per-mount MS_RDONLY and bind remount. https://man7.org/linux/man-pages/man2/mount.2.html (accessed 2026-10-23) - [setattr] Linux man-pages: mount_setattr(2), MOUNT_ATTR_RDONLY and AT_RECURSIVE. https://man7.org/linux/man-pages/man2/mount_setattr.2.html (accessed 2026-10-23) - [ext4-replay] Linux v6.16: ext4 read-only mounts, journal replay and noload. https://docs.kernel.org/6.16/admin-guide/ext4.html (accessed 2026-10-24) - [xfs-replay] Linux v6.16: xfs_log_writable permits internal recovery writes on read-only mounts. https://github.com/torvalds/linux/blob/v6.16/fs/xfs/xfs_log.c#L317-L335 (accessed 2026-10-24) - [xfs-options] xfsprogs xfs(5): norecovery requires read-only mounting and can expose inconsistencies. https://man7.org/linux/man-pages/man5/xfs.5.html (accessed 2026-10-24) ### Read-pass voltage URL: https://hesela.dev/terms/read-pass-voltage/ Related analysis: https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ Also known as: pass-through voltage, Vpass Status: shipping Record updated: 2026-11-07 Read-pass voltage is the bias applied to unselected NAND wordlines to make their cells conduct while another wordline is sensed. Note: Cells on a NAND string are connected in series. The pass bias normally keeps unselected cells conducting and differs from the sensing reference on the selected wordline. Lowering Vpass can reduce accumulated disturbance but introduce immediate pass-through read errors. [cai] A larger pass-to-threshold gap increases weak-programming stress, leaving low-threshold states more vulnerable. [survey] An unselected cell that stays off does not necessarily change the sensed bit: Figure 9 shows no extra error if the selected cell was already off. Otherwise, a blocked string can change an expected conducting result. These possible conduction errors differ from stored threshold shifts caused by repeated read stress. [cai] Per-block tuning uses unused ECC margin, with a fallback to the default bias. The reported 21% mean endurance gain comes from a trace-based evaluation using characterized 20-24 nm MLC devices, not observed lifetime gains in deployed SSDs. [cai] The 2018 survey's assessment of less severe 3D-NAND read disturb describes the devices and scaling outlook discussed then, not all later generations. [survey] STRAW's 2025 high-density TLC characterization reports stronger disturbance on adjacent wordlines and dependence on access pattern; its reclaim-policy results are simulations. These are generation-specific observations, not a universal voltage setting or commercial-firmware guarantee. [straw] Advantages: - Blocks holding recently written data have unused error-correction margin, so the bias can be lowered aggressively there and more cautiously once retention errors build up. (sources: [survey]) Limitations: - Not a generic host-side SSD tuning control. - The tested chips offered no interface to change the pass level directly, so its effect was emulated through read-reference settings applied to wordlines. Sources and caveats: - cai re-read 2026-11-07: Figure 9, sections 3.6 and 4.4; sections 4.6-4.7 distinguish trace evaluation from field endurance. - survey re-read 2026-11-07: sections 4.5 and 6.2-6.3; its contemporary-3D language is explicitly dated to the 2018 review. - straw re-read 2026-11-07: device characterization in section II, model in III-A and simulator evaluation in IV. - No commercial controller was reconfigured or tested by Hesela; these are source-based corrections. - Historical examples in cai section 2 and survey section 3.5 use about +6 V pass and +10 to +15 V programming; these are not contemporary NAND specifications. Related terms: - [nand-wordline](https://hesela.dev/terms/nand-wordline/) - [read-disturb](https://hesela.dev/terms/read-disturb/) - [read-retry](https://hesela.dev/terms/read-retry/) - [read-reclaim](https://hesela.dev/terms/read-reclaim/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) - [read-disturb-recovery](https://hesela.dev/terms/read-disturb-recovery/) Citations: - [cai] Cai et al. Read Disturb Errors in MLC NAND Flash Memory: Characterization, Mitigation, and Recovery. DSN 2015. DOI 10.1109/DSN.2015.49. https://people.inf.ethz.ch/~omutlu/pub/flash-read-disturb-errors_dsn15.pdf (accessed 2026-11-07) - [survey] Cai, Ghose, Haratsch, Luo and Mutlu. Errors in Flash-Memory-Based Solid-State Drives: Analysis, Mitigation, and Recovery. arXiv:1711.11427v2, 2018. https://arxiv.org/abs/1711.11427 (accessed 2026-11-07) - [straw] Chun et al. STRAW: A Stress-Aware WL-Based Read Reclaim Technique for High-Density NAND Flash-Based SSDs. arXiv:2501.02517v1 (2025), sections II-IV. https://arxiv.org/abs/2501.02517v1 (accessed 2026-11-07) ### Read quorum URL: https://hesela.dev/terms/read-quorum/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Also known as: Read response threshold Status: shipping Record updated: 2026-11-07 A read quorum is a protocol-approved set of replicas whose responses satisfy the requirement for completing a read. Note: In an unweighted N-replica model, R is the response threshold, not necessarily a majority. Cassandra's named QUORUM level specifically requires a strict majority; local levels use a datacenter-specific scope. [cassandra] Limitations: - Meeting a response threshold does not by itself choose a real-time ordering of concurrent writes. (sources: [guarantees]) Related terms: - [write-quorum](https://hesela.dev/terms/write-quorum/) - [quorum-intersection](https://hesela.dev/terms/quorum-intersection/) - [read-repair](https://hesela.dev/terms/read-repair/) - [quorum-read-writeback](https://hesela.dev/terms/quorum-read-writeback/) Citations: - [cassandra] Apache Cassandra 5.0.0: Dynamo architecture, tunable consistency and data versioning. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/architecture/dynamo.adoc (accessed 2026-10-13) - [guarantees] Apache Cassandra 5.0.0: Guarantees, including lightweight transactions. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/architecture/guarantees.adoc (accessed 2026-10-13) - [hesela-repair] Replica repair: what has actually converged? https://hesela.com/analyses/replica-repair-coverage/ (accessed 2026-10-13) ### Read reclaim URL: https://hesela.dev/terms/read-reclaim/ Related analysis: https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ Also known as: NAND read reclaim, read-disturb reclaim Status: shipping Record updated: 2026-11-05 Read reclaim relocates valid NAND data to fresh pages to limit accumulated read-disturb errors. Note: It differs from read retry, which adjusts sensing, and from space-driven garbage collection. Relocation can add internal programming during host read-only intervals. Thresholds and migration granularity depend on the design; a universal host-read limit cannot be inferred. GC and read reclaim have different triggers but can share preservation work. SWEEP investigates co-locating read-hot and write-hot pages so GC also refreshes surviving data. Its evaluation is trace-driven simulation; fewer dedicated reclaim events alone do not measure total copying. [sweep] Park et al. found that long idle intervals generally did not restore sustained read performance. That host-visible result does not alone exclude internal background work; attributing it to a firmware policy remains an inference. [park] Limitations: - Wordline-selective reclaim in STRAW is a research design evaluated using simulation, not a guarantee about commercial firmware. (sources: [straw]) Related terms: - [read-disturb](https://hesela.dev/terms/read-disturb/) - [read-retry](https://hesela.dev/terms/read-retry/) - [garbage-collection](https://hesela.dev/terms/garbage-collection/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [ftl](https://hesela.dev/terms/ftl/) - [nand-wordline](https://hesela.dev/terms/nand-wordline/) - [read-disturb-recovery](https://hesela.dev/terms/read-disturb-recovery/) - [read-pass-voltage](https://hesela.dev/terms/read-pass-voltage/) - [flash-correct-and-refresh](https://hesela.dev/terms/flash-correct-and-refresh/) Citations: - [straw] Chun et al. STRAW: A Stress-Aware WL-Based Read Reclaim Technique for High-Density NAND Flash-Based SSDs. arXiv:2501.02517v1, sections II-IV. https://arxiv.org/html/2501.02517v1 (accessed 2026-10-12) - [park] Park et al. Experimental Study on System-Level Performance Impact of Read Disturbance in Modern SSDs. POMACS 2026, sections 4.1-4.2, 5.1, 5.4. https://arxiv.org/html/2608.14073v1 (accessed 2026-11-05) - [hesela-reclaim] Hesela: SSD read reclaim and read-only accounting. https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ (accessed 2026-10-12) - [sweep] Guo et al. SWEEP: Gathering Hot Read/Write Data Together to Minimize Read Reclaims in SSDs. ACM TODAES (2026), sections 3-4. DOI 10.1145/3795519. https://doi.org/10.1145/3795519 (accessed 2026-11-02) ### NAND read-reference voltage URL: https://hesela.dev/terms/read-reference-voltage/ Status: shipping Record updated: 2026-10-23 A NAND read-reference voltage is a sensing voltage used to distinguish stored cell states during a read operation. Note: Read-reference voltages are the boundaries between neighboring threshold-voltage windows that the controller uses to identify each cell's state. A single-level cell needs one boundary, while in TLC the LSB page needs one, the CSB page two and the MSB page four. [cai2017] TLC uses seven read voltages for its eight states, and errors split into down-shifts from charge loss and up-shifts from charge accrual. [chen2021] It is a decision boundary rather than the cell's threshold voltage, and choosing a different boundary is not the same operation as rewriting data. Read-retry rereads a page with other reference voltages after an ECC failure, repeating until the data decode or the available sets are exhausted. Disparity-based approximation exploits scrambling and searches for a boundary at which about 50% of cells read as 0. [cai2017] Temperature-compensation circuits shift references from sensor readings, but cell-dependent temperature coefficients limit a single correction. One cross-temperature study programs cells at up to 120 °C and reads them at 30 °C. [an2023] Advantages: - Moving references toward the optimum can keep raw errors within ECC capability without rewriting the data. (sources: [cai2017]) Limitations: - A lower raw error count after adjusting the reference is not evidence that stored charge was restored. (sources: [cai2017]) - Each extra read-retry attempt adds to read latency. (sources: [cai2017]) - Disparity-based search assumes scrambled data with roughly equal numbers of 0s and 1s. (sources: [cai2017]) Sources and caveats: - cai2017 is the arXiv version of the 2017 survey on SSD error characterization, read in sections 3.3, 5.4 and 5.5. - chen2021 was re-read through its open-access full text for TLC read voltages and shift-error classes. - an2023 was re-read through its open-access full text for temperature compensation and the cross-temperature conditions. Related terms: - [read-retry](https://hesela.dev/terms/read-retry/) - [data-retention](https://hesela.dev/terms/data-retention/) - [cross-temperature-effect](https://hesela.dev/terms/cross-temperature-effect/) - [soft-decision-decoding](https://hesela.dev/terms/soft-decision-decoding/) - [read-pass-voltage](https://hesela.dev/terms/read-pass-voltage/) - [nand-wordline](https://hesela.dev/terms/nand-wordline/) - [log-likelihood-ratio](https://hesela.dev/terms/log-likelihood-ratio/) - [floating-gate](https://hesela.dev/terms/floating-gate/) - [retention-optimized-reading](https://hesela.dev/terms/retention-optimized-reading/) - [retention-model-aware-reading](https://hesela.dev/terms/retention-model-aware-reading/) - [heatwatch](https://hesela.dev/terms/heatwatch/) - [layer-variation-aware-reading](https://hesela.dev/terms/layer-variation-aware-reading/) Citations: - [chen2021] Chen et al. Temperature Impacts on Endurance and Read Disturbs in Charge-Trap 3D NAND Flash Memories. Micromachines 12(10), 1152 (2021), Figures 1 and 6. https://doi.org/10.3390/mi12101152 (accessed 2026-10-23) - [an2023] An et al. Effects of Poly-Si Grain Boundary on Retention Characteristics under Cross-Temperature Conditions in 3-D NAND Flash. Micromachines (2023), sec. 1. https://doi.org/10.3390/mi14122199 (accessed 2026-10-23) - [hesela] 3D NAND retention: layer count is not a reliability rating. https://hesela.com/analyses/3d-nand-retention-evidence/#cross-temperature (accessed 2026-10-13) - [cai2017] Cai, Ghose, Haratsch, Luo and Mutlu. Error Characterization, Mitigation, and Recovery in Flash-Memory-Based SSDs. Proc. IEEE 2017, sections 3.3, 5.4-5.5. https://arxiv.org/abs/1706.08642 (accessed 2026-10-23) ### Read repair URL: https://hesela.dev/terms/read-repair/ Related analysis: https://hesela.com/analyses/replica-repair-coverage/ Status: shipping Record updated: 2026-11-11 Read repair reconciles divergent replicas as part of processing a read request. Note: When triggered, Cassandra 5.0.0 BLOCKING repairs queried data and waits for sufficient acknowledgements; NONE reconciles responses without repair writes. BLOCKING supports monotonic quorum reads, but a narrower read than write can expose partial partition updates. [read] ALL counts replicas, not repaired columns. Cassandra 5.0.0 point-query tests expect a narrow read to leave unselected columns unrepaired; the helper uses ALL and checks each replica locally. Reading b also leaves a deletion of a unpropagated until a wider read. [point-tests] [query-helper] [execution-helper] A timeout can follow an applied repair when its reply is lost. A separate zero-grace fixture expects no repair after tombstones were purged on one node. These are upstream test assertions reviewed by source inspection, not a cluster run or a production configuration recommendation. [repair-tests] A late reply with a newer version is not by itself proof that an earlier read was stale: the PBS detector discussion also admits in-flight writes and writes committed after the read began. Replica version timestamps do not establish global commit order. This is a paper-level monitoring caveat, not a Cassandra detector implementation claim. [pbs] Limitations: - A read does not establish agreement for unqueried data or every replica. (sources: [read]) Related terms: - [direct-recovery](https://hesela.dev/terms/direct-recovery/) - [anti-entropy-repair](https://hesela.dev/terms/anti-entropy-repair/) - [hinted-handoff](https://hesela.dev/terms/hinted-handoff/) - [monotonic-reads](https://hesela.dev/terms/monotonic-reads/) - [read-quorum](https://hesela.dev/terms/read-quorum/) - [quorum-read-writeback](https://hesela.dev/terms/quorum-read-writeback/) - [version-vector](https://hesela.dev/terms/version-vector/) - [dotted-version-vector](https://hesela.dev/terms/dotted-version-vector/) Citations: - [read] Apache Cassandra 5.0.0: Read repair. https://raw.githubusercontent.com/apache/cassandra/cassandra-5.0.0/doc/modules/cassandra/pages/managing/operating/read_repair.adoc (accessed 2026-10-13) - [hesela-repair] Replica repair: what has actually converged? https://hesela.com/analyses/replica-repair-coverage/ (accessed 2026-10-13) - [point-tests] Apache Cassandra 5.0.0: ReadRepairPointQueriesTest.java. https://raw.githubusercontent.com/apache/cassandra/186272edca920c757b91bf95c2392bafa1a38d72/test/distributed/org/apache/cassandra/distributed/test/ReadRepairPointQueriesTest.java (accessed 2026-10-26) - [query-helper] Apache Cassandra 5.0.0: ReadRepairQueryTester.java. https://raw.githubusercontent.com/apache/cassandra/186272edca920c757b91bf95c2392bafa1a38d72/test/distributed/org/apache/cassandra/distributed/test/ReadRepairQueryTester.java (accessed 2026-10-26) - [execution-helper] Apache Cassandra 5.0.0: ReadRepairTester.java. https://raw.githubusercontent.com/apache/cassandra/186272edca920c757b91bf95c2392bafa1a38d72/test/distributed/org/apache/cassandra/distributed/test/ReadRepairTester.java (accessed 2026-10-26) - [repair-tests] Apache Cassandra 5.0.0: ReadRepairTest.java. https://raw.githubusercontent.com/apache/cassandra/186272edca920c757b91bf95c2392bafa1a38d72/test/distributed/org/apache/cassandra/distributed/test/ReadRepairTest.java (accessed 2026-10-26) - [pbs] Bailis et al. Probabilistically Bounded Staleness for Practical Partial Quorums. PVLDB 5(8), 776-787 (2012), section 4.3. https://www.vldb.org/pvldb/vol5/p776_peterbailis_vldb2012.pdf (accessed 2026-10-26) ### NAND read-retry URL: https://hesela.dev/terms/read-retry/ Related analysis: https://hesela.com/analyses/nand-read-retry-latency/ Status: shipping Record updated: 2026-11-22 NAND read-retry rereads a flash page with adjusted sensing settings after an unsuccessful error-correction attempt. Note: This internal recovery step differs from resubmitting a host I/O request; supported retry modes are not a count of observed retries. [linux] Read reclaim is a separate relocation step; successful retry does not by itself prove that data was rewritten. [hesela-reclaim] Temporary read errors after idle also depend on the timing and sequence of physical reads; resubmitting a host request is not proof that the NAND was read again. [tre] Sentinel-assisted tuning is a research alternative: known cell patterns guide read-reference selection. The evaluated design takes space from ECC parity, so fewer retries do not imply stronger correction. Its hard-decision scope does not establish soft-decoding gains. [sentinel] Related terms: - [nand-flash](https://hesela.dev/terms/nand-flash/) - [ldpc](https://hesela.dev/terms/ldpc/) - [data-retention](https://hesela.dev/terms/data-retention/) - [read-disturb](https://hesela.dev/terms/read-disturb/) - [early-retention-loss](https://hesela.dev/terms/early-retention-loss/) - [soft-decision-decoding](https://hesela.dev/terms/soft-decision-decoding/) - [read-reclaim](https://hesela.dev/terms/read-reclaim/) - [read-reference-voltage](https://hesela.dev/terms/read-reference-voltage/) - [cross-temperature-effect](https://hesela.dev/terms/cross-temperature-effect/) - [pipelined-read-retry](https://hesela.dev/terms/pipelined-read-retry/) - [adaptive-read-retry](https://hesela.dev/terms/adaptive-read-retry/) - [temporary-read-errors](https://hesela.dev/terms/temporary-read-errors/) - [layer-to-layer-process-variation](https://hesela.dev/terms/layer-to-layer-process-variation/) - [retention-failure-recovery](https://hesela.dev/terms/retention-failure-recovery/) - [retention-optimized-reading](https://hesela.dev/terms/retention-optimized-reading/) - [retention-model-aware-reading](https://hesela.dev/terms/retention-model-aware-reading/) - [layer-variation-aware-reading](https://hesela.dev/terms/layer-variation-aware-reading/) - [neighbor-cell-assisted-correction](https://hesela.dev/terms/neighbor-cell-assisted-correction/) Citations: - [linux] Linux MTD NAND driver API: nand_setup_read_retry, ECC callbacks and read_retries. https://docs.kernel.org/driver-api/mtdnand.html (accessed 2026-10-11) - [park] Park et al. Reducing Solid-State Drive Read Latency by Optimizing Read-Retry. ASPLOS 2021. DOI: 10.1145/3445814.3446719. https://people.inf.ethz.ch/~omutlu/pub/Reducing-SSD-Read-Latency-by-Optimizing-Read-Retry_asplos21.pdf (accessed 2026-10-11) - [hesela] Hesela: NAND read-retry and evidence boundaries. https://hesela.com/analyses/nand-read-retry-latency/ (accessed 2026-10-11) - [hesela-reclaim] Hesela: SSD read reclaim and read-only accounting. https://hesela.com/analyses/ssd-read-reclaim-hidden-writes/ (accessed 2026-10-12) - [tre] Zambelli et al. Temporary read errors in TLC 3D NAND after idle. JEDS 8 (2020), 99-104. DOI: 10.1109/JEDS.2020.2965648. https://doi.org/10.1109/JEDS.2020.2965648 (accessed 2026-10-18) - [sentinel] Li, Ye, Cui, Shi, Li and Xue. Sentinel Cells Enabled Fast Read for NAND Flash. HotStorage 2019, sections 4, 5 and 7. https://www.usenix.org/system/files/hotstorage19-paper-li.pdf (accessed 2026-11-05) ### Read Uncommitted isolation URL: https://hesela.dev/terms/read-uncommitted-isolation/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Read Uncommitted, READ UNCOMMITTED Status: unknown Record updated: 2026-11-13 Read Uncommitted is a transaction isolation level that permits reading another transaction's uncommitted changes, although an implementation may provide stronger isolation. Note: PostgreSQL 18 accepts the level name but implements Read Committed behavior. Permitting an anomaly does not require an engine to expose it. [postgres-isolation] SQLite allows cross-connection dirty reads only when the connections share a page and schema cache and the reader enables PRAGMA read_uncommitted. Setting the pragma on a private-cache connection is insufficient. Seeing one's own earlier changes on the same connection is a different behavior. [sqlite-isolation] [sqlite-read-uncommitted] SQLite's option omits table read-lock acquisition; it does not remove write-lock or sqlite_schema-lock requirements. Shared-cache mode is discouraged by SQLite and is not a general recommendation for improving concurrency. [sqlite-shared-cache] The companion analysis includes a four-case SQLite visibility example with a writer rollback. It distinguishes the requested setting from an actual dirty read; it does not measure crash durability or certify all statement types. [hesela-consistency] Sources and caveats: - Primary-documentation synthesis accessed 2026-11-13. PostgreSQL 18 behavior is documentation-based; the linked SQLite example is separately identified by its recorded runtime version. - The SQL minimum is described through PostgreSQL's documentation, not an independent inspection of the ISO standard. [postgres-isolation] Related terms: - [dirty-read](https://hesela.dev/terms/dirty-read/) - [read-committed-isolation](https://hesela.dev/terms/read-committed-isolation/) - [repeatable-read-isolation](https://hesela.dev/terms/repeatable-read-isolation/) Citations: - [postgres-isolation] PostgreSQL 18: Transaction Isolation, Table 13.1 and section 13.2.1. https://www.postgresql.org/docs/18/transaction-iso.html (accessed 2026-11-13) - [sqlite-isolation] SQLite: Isolation Between Database Connections. https://www.sqlite.org/isolation.html (accessed 2026-11-13) - [sqlite-read-uncommitted] SQLite: PRAGMA read_uncommitted. https://www.sqlite.org/pragma.html#pragma_read_uncommitted (accessed 2026-11-13) - [sqlite-shared-cache] SQLite: Shared-Cache Mode, sections 1.1 and 2.2.1-2.3. https://www.sqlite.org/sharedcache.html (accessed 2026-11-13) - [hesela-consistency] Hesela: Read Uncommitted depends on the engine and connection setup. https://hesela.com/analyses/storage-consistency-ordering/#read-uncommitted (accessed 2026-11-13) ### Read-your-writes URL: https://hesela.dev/terms/read-your-writes/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Read-your-writes consistency, RYW Status: shipping Record updated: 2026-10-13 Read-your-writes is a session guarantee requiring subsequent reads to use a state that incorporates the session's prior successful writes. Note: The guarantee is scoped to a session, not every client. Another write may supersede an earlier value, so the session need not read back those exact bytes. A stale replica must catch up, be avoided, or decline the read when it cannot satisfy the session's dependency. This is different from monotonic reads, which protects previously observed state rather than only the session's own writes. Related terms: - [linearizability](https://hesela.dev/terms/linearizability/) - [monotonic-reads](https://hesela.dev/terms/monotonic-reads/) - [session-guarantees](https://hesela.dev/terms/session-guarantees/) - [chain-replication](https://hesela.dev/terms/chain-replication/) Citations: - [session-guarantees] Douglas B. Terry et al. Session Guarantees for Weakly Consistent Replicated Data. PDIS 1994, sections 3.1 and 3.2. https://classes.cs.uchicago.edu/archive/2026/spring/23380-1/papers/terry_sessionguarantees.pdf (accessed 2026-10-12) - [hesela-consistency] Storage consistency: ordering is not a transaction or a durability promise. https://hesela.com/analyses/storage-consistency-ordering/ (accessed 2026-10-12) ### readahead (Linux syscall) URL: https://hesela.dev/terms/readahead/ Related analysis: https://hesela.com/analyses/o-direct-alignment-by-kernel/ Also known as: readahead(2) Status: shipping Record updated: 2026-11-14 The Linux readahead syscall requests advance loading of a file range into the page cache without advancing the open file description's offset. Note: Ranges are handled in whole pages and stop at end of file. Success returns zero, not a fetched-byte count; errors return -1 and set errno. EBADF reports a descriptor that is invalid or not open for reading, and EINVAL a file type that does not support the call. Subsequent reads benefit only if data arrives in time and remains cached. The call exists since Linux 2.4.13 and glibc 2.3. [readahead-api] The call may block while locating blocks through filesystem metadata, including the documented ext2/ext3/ext4 indirect-block case. Background data reads therefore do not establish a hard nonblocking-call guarantee. [readahead-api] The backing-device budget is not an absolute ceiling for every read. Linux v6.14 initializes per-open state from it; SEQUENTIAL doubles that state, and large demand requests can use io_pages. [readahead-614] [fadvise-614] Explicit prefetch is also bounded: force_page_cache_ra limits the requested page count to max(io_pages, ra_pages) before chunking. Success does not certify whole-range residency. [readahead-614] ATA drive read look-ahead is a separate device feature, not this file-to-page-cache syscall. hdparm -A controls that feature; -a controls software filesystem readahead. [hdparm-lookahead] Advantages: - Because the file offset is left unchanged, prefetching does not disturb a reader that shares the open file description. (sources: [readahead-api]) Limitations: - This Linux-specific interface is distinct from the general automatic read-ahead policy triggered by ordinary reads. (sources: [readahead-api]) - On some 32-bit architectures the system call signature differs, and portable callers need _FILE_OFFSET_BITS defined as 64. (sources: [readahead-api]) Sources and caveats: - readahead-api is the Linux man-pages 6.19 readahead(2) page, re-read for page rounding, return values, errors, history and the metadata blocking bug. - sysfs-block is the stable block-device sysfs ABI in Linux 7.3, read for the read_ahead_kb attribute. - pagemap is include/linux/pagemap.h in Linux 7.3, read for the VM_READAHEAD_PAGES default. - The posix-fadv-noreuse entry links here because POSIX_FADV_NOREUSE leaves the readahead window size unchanged while other advice values alter it. - 2026-11-08 correction: replaced unconditional device-cap wording and default-size implication with version-pinned budget/dispatch distinctions. Source review, not a kernel benchmark. Related terms: - [posix-fadv-willneed](https://hesela.dev/terms/posix-fadv-willneed/) - [rwf-nowait](https://hesela.dev/terms/rwf-nowait/) - [page-cache](https://hesela.dev/terms/page-cache/) - [buffered-io](https://hesela.dev/terms/buffered-io/) - [prefetch-wastage](https://hesela.dev/terms/prefetch-wastage/) - [prefetch-trigger-distance](https://hesela.dev/terms/prefetch-trigger-distance/) - [posix-fadv-random](https://hesela.dev/terms/posix-fadv-random/) - [posix-fadv-sequential](https://hesela.dev/terms/posix-fadv-sequential/) - [ata-read-look-ahead](https://hesela.dev/terms/ata-read-look-ahead/) - [informed-prefetching](https://hesela.dev/terms/informed-prefetching/) Citations: - [readahead-api] Linux man-pages 6.19: readahead(2), ranges, return values and metadata blocking. https://man7.org/linux/man-pages/man2/readahead.2.html (accessed 2026-10-23) - [sysfs-block] Linux 7.3: Documentation/ABI/stable/sysfs-block, read_ahead_kb. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/stable/sysfs-block?h=v7.3 (accessed 2026-10-23) - [pagemap] Linux 7.3: include/linux/pagemap.h, VM_READAHEAD_PAGES. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/pagemap.h?h=v7.3 (accessed 2026-10-23) - [readahead-614] Linux v6.14 mm/readahead.c: file_ra_state_init, force_page_cache_ra and ractl_max_pages. https://github.com/torvalds/linux/blob/v6.14/mm/readahead.c (accessed 2026-11-08) - [fadvise-614] Linux v6.14 mm/fadvise.c: generic advice and SEQUENTIAL budget. https://github.com/torvalds/linux/blob/v6.14/mm/fadvise.c (accessed 2026-11-08) - [hdparm-lookahead] hdparm(8): separate -a software readahead and -A drive read-lookahead controls. https://www.man7.org/linux/man-pages/man8/hdparm.8.html (accessed 2026-11-14) ### readv URL: https://hesela.dev/terms/readv/ Related analysis: https://hesela.com/analyses/mmap-visibility-size-durability/ Also known as: readv(), vectored read, scatter input Status: shipping Record updated: 2026-11-02 readv reads data from a file descriptor into an ordered array of memory buffers. Note: Buffers are filled in array order: each earlier buffer is filled before the next receives data, and the returned count is the total bytes transferred across the vector. A successful short read can therefore stop inside a buffer; it does not make the remaining capacity valid input. Python's os.readv exposes this ordered-buffer contract [python-os-readv]. On a seekable file, readv uses the open file description's current file offset and advances it by the bytes actually read [linux-read-position]. This differs from preadv's explicit-position contract. The vector supplies memory destinations, not separate file offsets [linux-readv-contract]. Advantages: - Places input into multiple caller-provided buffers in one call. Limitations: - A nonnegative return count does not guarantee that every buffer was filled. - Buffer count is bounded by the implementation's IOV_MAX limit. Sources and caveats: - Primary API documentation reviewed 2026-11-02; no native measurement, throughput test or storage-failure estimate. Related terms: - [preadv](https://hesela.dev/terms/preadv/) - [pread](https://hesela.dev/terms/pread/) - [short-read](https://hesela.dev/terms/short-read/) - [file-offset](https://hesela.dev/terms/file-offset/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [writev](https://hesela.dev/terms/writev/) Citations: - [linux-readv-contract] Linux man-pages: readv(2), DESCRIPTION, RETURN VALUE and NOTES. https://man7.org/linux/man-pages/man2/readv.2.html (accessed 2026-11-02) - [linux-read-position] Linux man-pages: read(2), DESCRIPTION and RETURN VALUE. https://man7.org/linux/man-pages/man2/read.2.html (accessed 2026-11-02) - [python-os-readv] Python documentation: os.readv. https://docs.python.org/3.12/library/os.html#os.readv (accessed 2026-11-02) ### READY URL: https://hesela.dev/terms/ready/ Also known as: recovery-aware dynamic throttling Status: research Record updated: 2026-11-18 READY is a research SSD write-throttling policy that combines workload prediction, write-budget enforcement and a NAND self-recovery model. Note: Control: Delays follow predicted write demand, but explicit epoch-capacity enforcement handles prediction errors. Its optimistic policy borrows a bounded write budget from future epochs, not free physical storage. [lee] Evidence: Evaluation used a DiskSim-based SSD simulator and five HDD-origin traces lasting six hours to one week, repeated to model five years. The recovery model scales older floating-gate parameters and assumes 25 degrees Celsius. This is not a five-year SSD survival observation. [lee] Limitations: - A modeled endurance budget is not protection against unrelated controller faults, power failures or loss of retained data. (sources: [lee]) Sources and caveats: - Literature synthesis; no hardware replication or measured lifetime improvement is asserted. Related terms: - [nand-self-recovery](https://hesela.dev/terms/nand-self-recovery/) - [nand-dwell-time](https://hesela.dev/terms/nand-dwell-time/) - [wear-leveling](https://hesela.dev/terms/wear-leveling/) Citations: - [lee] Lee, Kim, Kim and Kim. Lifetime Management of Flash-Based SSDs Using Recovery-Aware Dynamic Throttling. FAST 2012, sections 2-4. https://www.usenix.org/legacy/events/fast12/tech/full_papers/Lee.pdf (accessed 2026-11-18) - [hesela] Hesela: 3D NAND retention and recovery evidence. https://hesela.com/analyses/3d-nand-retention-evidence/#ready-throttling (accessed 2026-11-18) ### Recall URL: https://hesela.dev/terms/recall/ Related analysis: https://hesela.com/analyses/ml-disk-failure-prediction/ Also known as: sensitivity, true positive rate, TPR Status: shipping Record updated: 2026-11-11 Recall is the fraction of observed positive outcomes identified by a classifier at a specified decision threshold. Note: For binary failure prediction, recall = TP / (TP + FN), where FN counts observed positives missed by the classifier. It answers how many labeled failures were detected, not how many alerts were useful. If the evaluation sample has no positive outcomes, recall is undefined, and the software convention should be reported. [sklearn-recall] Drive failure-prediction studies often report recall as a detection rate beside a false-alarm rate. A 2005 study of 369 drives of one model, 191 of them failed returns, found 50.6% detection with no measured false alarms for its best classifier. The paper puts thresholds then used in drives at an estimated 3 to 10% detection for about 0.1% false alarms per year. [murray] Such figures depend on how positives were sampled. In that data set good drives came from a controlled reliability test and failed drives from user returns, so the detection rate is not a field recall. [murray] Signal coverage is not the same as classifier recall. In a SMART failure study, a zero count can put a drive outside a positive-count warning rule without preventing another classifier from labeling that drive positive. Coverage alone also does not establish enough lead time to act. Compare rules at a stated warning horizon and alert budget, alongside precision and false-positive rate. [pinheiro] Murray's Figure 7 sums warning-time counts over ten SVM trials, not unique drives. Its detected-failure histogram omits misses; recall and usable lead time remain separate questions. [murray] Advantages: - Its denominator holds only observed positives, so the number of negatives in the sample does not change it. (sources: [sklearn-recall]) Limitations: - High recall alone does not bound false alarms: a classifier that labels every observation positive has recall one whenever positives exist. (sources: [sklearn-recall], [sklearn-pr-curve]) - A detection rate counted per drive differs from one counted per prediction window, so the counting unit must be stated with the value. (sources: [murray]) Sources and caveats: - sklearn-recall and sklearn-pr-curve are the scikit-learn recall_score and precision_recall_curve pages, read in full. - murray is Murray, Hughes and Kreutz-Delgado, JMLR 6 (2005), read in sections 1, 2, 6 and 7. - 369 drives, 191 failed, 50.6%, 3 to 10% and 0.1% per year come from murray. - 2026-11-11: Pinheiro section 3.5.6 motivates the coverage-versus-recall distinction; the decision-rule interpretation is Hesela's, not a new performance result. - 2026-11-11: section 4.4 and Figure 7 checked for repeated-trial counting; no trial-level records recovered or model rerun. Related terms: - [precision](https://hesela.dev/terms/precision/) - [false-positive-rate](https://hesela.dev/terms/false-positive-rate/) - [class-prevalence](https://hesela.dev/terms/class-prevalence/) - [average-precision](https://hesela.dev/terms/average-precision/) - [smart](https://hesela.dev/terms/smart/) - [f1-score](https://hesela.dev/terms/f1-score/) - [temporal-validation](https://hesela.dev/terms/temporal-validation/) - [prediction-cadence](https://hesela.dev/terms/prediction-cadence/) Citations: - [sklearn-recall] scikit-learn: recall_score; binary recall and zero-division behavior. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.recall_score.html (accessed 2026-10-22) - [sklearn-pr-curve] scikit-learn: precision_recall_curve; the all-positive endpoint. https://scikit-learn.org/stable/modules/generated/sklearn.metrics.precision_recall_curve.html (accessed 2026-10-22) - [hesela-prediction] Hesela: disk failure prediction, metric denominators and a synthetic alert-count example. https://hesela.com/analyses/ml-disk-failure-prediction/ (accessed 2026-10-12) - [hesela-alert-units] Hesela: repeated decisions versus distinct-drive alert counts; synthetic counting example. https://hesela.com/analyses/ml-disk-failure-prediction/#repeated-predictions (accessed 2026-10-16) - [murray] Murray, Hughes and Kreutz-Delgado. Machine Learning Methods for Predicting Failures in Hard Drives: A Multiple-Instance Application. JMLR 6 (2005). https://www.jmlr.org/papers/volume6/murray05a/murray05a.pdf (accessed 2026-10-22) - [pinheiro] Pinheiro, Weber and Barroso. Failure Trends in a Large Disk Drive Population. FAST 2007, section 3.5.6. https://www.usenix.org/legacy/events/fast07/tech/full_papers/pinheiro/pinheiro_html/index.html (accessed 2026-11-11) ### RECIPE persistent-index conversion URL: https://hesela.dev/terms/recipe/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: RECIPE Status: research Record updated: 2026-12-05 RECIPE is a method for converting selected concurrent DRAM indexes into persistent-memory indexes using persistence ordering and recoverable updates. Note: The method applies to selected concurrency protocols, not arbitrary thread-safe code. The design assumes reinitialized locks and reclamation of unreachable allocations. [recipe-paper] Witcher later found crash-consistency bugs in evaluated RECIPE implementations; this is not a current-revision defect claim. [witcher-paper] Source history records P-ART counter-ordering repairs and corrected persistence primitives. Compare the exact code revision, not just the index name. [recipe-art-fix] [recipe-flush-fix] Allocator boundary: The pinned RECIPE master README identifies libvmmalloc as volatile and requires separate allocator crash consistency. This warning is about that implementation configuration, not every persistent-index variant. [recipe-allocator] Limitations: - A reader that only retries an unfinished update does not supply a recovery mechanism. (sources: [recipe-paper]) Sources and caveats: - Source review of SOSP 2019 sections 4-7 and SOSP 2021 sections 4.3-4.4, 6.1-6.2 and Tables 3-4; no prototype execution or hardware reproduction. Related terms: - [fptree](https://hesela.dev/terms/fptree/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [persistence-ordering](https://hesela.dev/terms/persistence-ordering/) - [durable-linearizability](https://hesela.dev/terms/durable-linearizability/) - [crash-test-oracle](https://hesela.dev/terms/crash-test-oracle/) - [tips](https://hesela.dev/terms/tips/) - [fast-fair](https://hesela.dev/terms/fast-fair/) - [witcher](https://hesela.dev/terms/witcher/) Citations: - [recipe-paper] Lee et al. RECIPE: Converting Concurrent DRAM Indexes to Persistent-Memory Indexes. SOSP 2019, sections 4-7. DOI: 10.1145/3341301.3359635. https://www.cs.utexas.edu/~vijay/papers/sosp19-recipe.pdf (accessed 2026-11-13) - [witcher-paper] Fu et al. Witcher: Systematic Crash Consistency Testing for Non-Volatile Memory Key-Value Stores. SOSP 2021. DOI: 10.1145/3477132.3483556. https://www3.cs.stonybrook.edu/~dongyoon/papers/SOSP-21-Witcher.pdf (accessed 2026-11-13) - [recipe-art-fix] RECIPE source history: P-ART counter ordering and exceptional insertion handling, commit 4b0c276. https://github.com/utsaslab/RECIPE/commit/4b0c27674ca7727195152b5604d71f47c0a0a7a2 (accessed 2026-11-13) - [recipe-flush-fix] RECIPE source history: persistence primitive repairs, commit 950ae0e. https://github.com/utsaslab/RECIPE/commit/950ae0ea5ed23ce28840615976e03338b943d57a (accessed 2026-11-13) - [hesela-pmem] Hesela: RECIPE conversion and recovery-testing boundaries. https://hesela.com/analyses/pmem-persistence-domains-dax/#recipe-recovery (accessed 2026-11-13) - [recipe-allocator] RECIPE 0db12608: README, persistent memory allocator limitation. https://github.com/utsaslab/RECIPE/blob/0db12608dce034a34d130edddf60d9db2d1a93c2/README.md#important-limitation (accessed 2026-12-04) ### Recon URL: https://hesela.dev/terms/recon/ Related analysis: https://hesela.com/analyses/scrubbing-detection-not-durability/ Also known as: Recon runtime checker Status: research Record updated: 2026-12-04 Recon is a research runtime checker that verifies filesystem metadata invariants before a transaction commits. Note: Recon translates metadata updates into logical change records and checks their relationships at commit. A bitmap change accompanying a new pointer does not alone exclude duplicate owners; its ext3 rules also count pointers to each newly allocated block. [recon12] The 2014 extension checks write locations as well as transaction contents, addressing faults in the transactional mechanism. Neither version should be confused with ReconFS, a different filesystem design. [recon14] In Hesela's three-inode, two-block example, all 108 candidate states have matching freshly calculated digests; 27 satisfy bitmap membership and only 13 also satisfy unique ownership. The 14-state difference is a finite counterexample to membership-only checking, not an observed failure rate. Both intermediate update orders fail the invariant before the complete allocation passes. A consistent but unintended owner remains possible. [hesela-model] Local checks inherit facts about untouched metadata; they do not establish that the initial state was consistent. The extended allocation example checks all 1,404 consistent-start/candidate pairs with no local/global verdict disagreement. An update to block 1 can still pass while pre-existing duplicate owners of untouched block 0 remain. Omitting a changed pointer's old target can miss a leaked allocation. These are model counterexamples, not flaws found in Recon. [hesela-model] Advantages: - Checks metadata relationships at a point where the filesystem claims a complete transaction. (sources: [recon12]) Limitations: - Requires consistent initial metadata, trusted checking code and a protected cache; unknown metadata targets can evade the original ext3 interpretation. (sources: [recon12]) - The original transaction-layer prototype did not verify checkpointing. The later work evaluated modified ext3 and Btrfs implementations, not a guarantee for today's deployments. (sources: [recon12], [recon14]) - The linked model excludes persistence, shared extents and application semantics; it is not a filesystem checker or a Recon reproduction. (sources: [hesela-model]) Sources and caveats: - Primary-source synthesis and an original finite model; no filesystem or hardware was fault-injected. - 2026-12-04: added affected-block checks and independent owner-set oracle over 11,664 state pairs; 1,404 have consistent initial states. Reviewed FAST 2014 section 3.1. Existing complete-candidate commit helper retained. Related terms: - [filesystem-consistency-invariant](https://hesela.dev/terms/filesystem-consistency-invariant/) - [sqck](https://hesela.dev/terms/sqck/) - [reconfs](https://hesela.dev/terms/reconfs/) - [spiffy](https://hesela.dev/terms/spiffy/) Citations: - [recon12] Fryer et al. Recon: Verifying File System Consistency at Runtime. FAST 2012, updated paper, sections 2.1-2.4, 3.2 and 4.1. https://www.usenix.org/system/files/conference/fast12/fryer2-16-12.pdf (accessed 2026-12-04) - [recon14] Fryer et al. Checking the Integrity of Transactional Mechanisms. FAST 2014, sections 2-4. https://files.usenix.org/s3fs-public/cdn/fast14-paper_fryer.pdf (accessed 2026-12-04) - [hesela-model] Hesela: allocation and local-checking examples, initial-state assumptions, results and executable controls. https://hesela.dev/research/recon-commit/README.txt (accessed 2026-12-04) ### ReconFS URL: https://hesela.dev/terms/reconfs/ Related analysis: https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/ Also known as: Reconstructable File System Status: research Record updated: 2026-11-13 ReconFS is a research file system that reduces namespace metadata writes using embedded reverse indices and a compact persistence log. Note: Recovery scans the unindexed zone and replays metadata updates; versions reject obsolete pages. The ext2-based Linux 3.10.11 prototype targets namespace consistency, not application data transactions. [reconfs-paper] Limitations: - The design assumes atomic page updates and access to page metadata. (sources: [reconfs-paper]) Sources and caveats: - Primary-source synthesis, not a prototype execution, power-failure experiment or benchmark replication. Related terms: - [f2fs](https://hesela.dev/terms/f2fs/) - [crash-consistency](https://hesela.dev/terms/crash-consistency/) - [write-amplification](https://hesela.dev/terms/write-amplification/) - [wandering-tree-problem](https://hesela.dev/terms/wandering-tree-problem/) - [recon](https://hesela.dev/terms/recon/) Citations: - [reconfs-paper] Lu, Shu and Wang. ReconFS: A Reconstructable File System on Flash Storage. FAST 2014, pp. 75-88, sections 2.2-5.4. https://www.usenix.org/system/files/conference/fast14/fast14-paper_lu.pdf (accessed 2026-11-13) - [hesela-f2fs] Hesela: ReconFS metadata reconstruction and the F2FS contrast. https://hesela.com/analyses/f2fs-checkpoint-fsync-recovery/#reconfs (accessed 2026-11-13) ### Reconstruct-write URL: https://hesela.dev/terms/reconstruct-write/ Also known as: reconstruction write Status: shipping Record updated: 2026-10-19 A parity-array update method that computes new parity from incoming replacement data and unchanged data from the same stripe instead of updating old parity from old overwritten data. Note: In the healthy-array cold-cache accounting model, replacing u complete equal-size data blocks among k data blocks with p parity blocks requires k-u old-data reads and u+p writes [williams2006]. If cU unchanged blocks are already coherently available at the parity layer, the reads fall to k-u-cU; the write count stays u+p [hesela-cost]. Cached old changed-data blocks or parity do not reduce this path's prereads. The name describes parity regeneration during an update, not a failed-drive rebuild. Linux v6.12 can require reconstruction when old parity may be inconsistent even without a failed member [linux-rmw-v612]. Partial blocks, missing members, journals and concurrent state transitions require a separate implementation analysis. Advantages: - Avoids reading the overwritten data and old parity - Can require fewer prereads as more of a stripe is replaced Limitations: - Reading the unchanged data can cost more than RMW for small updates in wider stripes - Fewer block transfers do not necessarily mean lower latency - This definition does not specify a degraded-array update algorithm Related terms: - [read-modify-write](https://hesela.dev/terms/read-modify-write/) - [full-stripe-write](https://hesela.dev/terms/full-stripe-write/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [raid-5](https://hesela.dev/terms/raid-5/) - [raid-6](https://hesela.dev/terms/raid-6/) - [raid-write-hole](https://hesela.dev/terms/raid-write-hole/) Citations: - [williams2006] Williams (2006): MD RAID Acceleration: Support for Asynchronous DMA/XOR Engines; sections 3-4. https://www.kernel.org/doc/ols/2006/ols2006v2-pages-417-422.pdf (accessed 2026-10-11) - [chen1994] Chen et al. (1994): RAID: High-Performance, Reliable Secondary Storage; sections 3.2.5-3.3.2 and 4.1.1. https://pdl.cmu.edu/PDL-FTP/RAID/computin.pdf (accessed 2026-10-11) - [hesela-cost] Hesela: RAID write penalty is not a speed ratio; model and limitations. https://hesela.com/analyses/raid-write-penalty-io-not-speed/ (accessed 2026-10-11) - [linux-rmw-v612] Linux v6.12 drivers/md/raid5.c: uptodate_for_rmw() and handle_stripe_dirtying(), original-page validity, preread selection and recovery override. https://github.com/torvalds/linux/blob/v6.12/drivers/md/raid5.c#L3875-L4043 (accessed 2026-10-19) ### Recovery point objective URL: https://hesela.dev/terms/recovery-point-objective/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: RPO Status: shipping Record updated: 2026-11-18 The recovery point objective specifies the point in time to which data must be recoverable after a disruption, commonly expressed as the maximum tolerable data-loss interval. Note: Requirement: RPO constrains the recoverable data state, rather than the time spent restoring service. It is separate from maximum tolerable downtime. [nist-recovery] Evidence: Scheduled job frequency does not establish a usable recovery point. Compare the required point with data actually recovered, including required logs, and record the tested failure scenario. Recovery objectives may differ by outage type and by the criticality of the data store. [recovery-planning] Derived data: When recovery reconstructs a lost workload from other data, assess the recovery objectives of every required source. [recovery-derived] Hesela's engineering inference: a successful rebuild from stale inputs does not establish that the output meets the workload's RPO; check the reconstructed state against its required endpoint. Limitations: - Evaluate the recoverable point against the objective, rather than equating the objective with job frequency. (sources: [nist-recovery]) Related terms: - [backup](https://hesela.dev/terms/backup/) - [snapshot](https://hesela.dev/terms/snapshot/) - [recovery-time-objective](https://hesela.dev/terms/recovery-time-objective/) - [restore-test](https://hesela.dev/terms/restore-test/) - [point-in-time-recovery](https://hesela.dev/terms/point-in-time-recovery/) - [recovery-target](https://hesela.dev/terms/recovery-target/) - [maximum-tolerable-downtime](https://hesela.dev/terms/maximum-tolerable-downtime/) - [business-impact-analysis](https://hesela.dev/terms/business-impact-analysis/) - [materialized-view](https://hesela.dev/terms/materialized-view/) - [failover](https://hesela.dev/terms/failover/) - [failback](https://hesela.dev/terms/failback/) Citations: - [nist-recovery] NIST SP 800-34 Rev. 1 (2010), sections 3.2 and 3.5: impact, recovery objectives and testing. https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-34r1.pdf (accessed 2026-10-19) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-19) - [recovery-planning] AWS Well-Architected Framework (2024-06-27), REL13-BP01: recovery objectives and dependencies. https://docs.aws.amazon.com/wellarchitected/2024-06-27/framework/rel_planning_for_recovery_objective_defined_recovery.html (accessed 2026-10-19) - [recovery-derived] AWS Well-Architected REL13-BP01: source-dependent reconstruction, implementation guidance question 4. https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/rel_planning_for_recovery_objective_defined_recovery.html (accessed 2026-11-01) ### Recovery target URL: https://hesela.dev/terms/recovery-target/ Related analysis: https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ Also known as: PITR stopping point Status: shipping Record updated: 2026-11-02 A recovery target is the configured condition at which database log replay should stop. Note: PostgreSQL 18 accepts one target type: time, transaction ID, LSN, named restore point or the earliest consistent state. The inclusive setting governs time, transaction-ID and LSN boundaries; timeline selection identifies the history branch. [pg-target] Action: for a configured target, recovery_target_action chooses whether to finish recovery (promote), stop the server (shutdown), or pause for inspection (pause, the default). With hot_standby off, pause acts as shutdown; during ongoing promotion it acts as promote. At a target pause, pg_wal_replay_resume() ends recovery. A later target requires stopping the server, changing the target and restarting. The shutdown action retains recovery.signal, so an unchanged restart stops again. The action has no effect without a configured target. [pg-target] Inspection: pg_is_wal_replay_paused() reports a request, not necessarily a completed pause. pg_get_wal_replay_pause_state() distinguishes not paused, pause requested and paused; the last means replay is actually paused. [pg-control] Advantages: - An explicit target makes the intended replay endpoint inspectable. (sources: [pg-target]) Limitations: - PostgreSQL raises a fatal error if archive recovery ends before a configured target is reached. (sources: [pg-target]) - A target is a recovery setting, not the recovery point objective that specifies acceptable data loss. (sources: [pg-target], [nist-recovery]) Related terms: - [point-in-time-recovery](https://hesela.dev/terms/point-in-time-recovery/) - [wal-archiving](https://hesela.dev/terms/wal-archiving/) - [restore-test](https://hesela.dev/terms/restore-test/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [postgresql-timeline](https://hesela.dev/terms/postgresql-timeline/) - [full-backup](https://hesela.dev/terms/full-backup/) Citations: - [pg-target] PostgreSQL 18: Recovery Target. https://www.postgresql.org/docs/18/runtime-config-wal.html#RUNTIME-CONFIG-WAL-RECOVERY-TARGET (accessed 2026-11-02) - [nist-recovery] NIST SP 800-34 Rev. 1: Recovery objectives. https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-34r1.pdf (accessed 2026-10-14) - [hesela-backup-evidence] Hesela: Backup verification is not a restore test. https://hesela.com/analyses/backup-verification-is-not-a-restore-test/ (accessed 2026-10-14) - [pg-control] PostgreSQL 18: Recovery Control Functions, requested and actual pause states. https://www.postgresql.org/docs/18/functions-admin.html#FUNCTIONS-RECOVERY-CONTROL (accessed 2026-11-02) ### Recovery time objective URL: https://hesela.dev/terms/recovery-time-objective/ Related analysis: https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ Also known as: RTO Status: shipping Record updated: 2026-11-18 The recovery time objective sets the tolerable duration of resource unavailability before its effect on supported processes becomes unacceptable. Note: Scope: RTO is a target for a named resource or service, not a measured restore duration. Resource recovery normally needs to finish before the supported process reaches its maximum tolerable downtime, leaving time for any subsequent data reprocessing. [nist-recovery] Dependencies: A workload objective must be achievable with the recovery capabilities of services it needs, and support the objectives of its dependants. Record what counts as restored service before comparing a test with the target. [recovery-planning] Reconstruction: If rebuilding derived data is required before the defined service can resume, that work belongs in the interruption-to-service recovery interval. This is Hesela's application of the service-level RTO definition, not a rule to add overlapping task durations. [recovery-planning] Limitations: - A data-copy duration alone does not establish that a service has recovered. (sources: [nist-recovery]) Sources and caveats: - NIST defines resource-level RTO and process-level MTD; the cloud architecture guidance frames RTO at service/workload level. Record the chosen scope. [nist-recovery] [recovery-planning] Related terms: - [backup](https://hesela.dev/terms/backup/) - [recovery-point-objective](https://hesela.dev/terms/recovery-point-objective/) - [snapshot](https://hesela.dev/terms/snapshot/) - [restore-test](https://hesela.dev/terms/restore-test/) - [maximum-tolerable-downtime](https://hesela.dev/terms/maximum-tolerable-downtime/) - [business-impact-analysis](https://hesela.dev/terms/business-impact-analysis/) - [materialized-view](https://hesela.dev/terms/materialized-view/) - [failover](https://hesela.dev/terms/failover/) - [failback](https://hesela.dev/terms/failback/) Citations: - [nist-recovery] NIST SP 800-34 Rev. 1 (2010), sections 3.2 and 3.5: impact, recovery objectives and testing. https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-34r1.pdf (accessed 2026-10-19) - [hesela-recovery] Hesela: Snapshots and backups: which failures can you recover from? https://hesela.com/analyses/snapshot-backup-recovery-boundaries/ (accessed 2026-10-19) - [recovery-planning] AWS Well-Architected Framework (2024-06-27), REL13-BP01: recovery objectives and dependencies. https://docs.aws.amazon.com/wellarchitected/2024-06-27/framework/rel_planning_for_recovery_objective_defined_recovery.html (accessed 2026-11-01) ### Reed–Solomon codes (storage) URL: https://hesela.dev/terms/reed-solomon-code/ Related analysis: https://hesela.com/analyses/reed-solomon-matrix-recovery-guarantees/ Status: shipping Record updated: 2026-10-19 Reed-Solomon codes are maximum-distance-separable codes over finite-field symbols, used to recover missing data and, with suitable decoders, correct errors. Note: An RS(n, k) code has n - k check symbols and minimum distance n - k + 1. Any k distinct, intact symbols from the same codeword determine the payload. With a suitable errors-and-erasures decoder, E unknown symbol errors and S known erasures are correctable when 2E + S <= n - k. An erasure-only storage API does not locate silent corruption automatically. [rfc5510] [forney] Systematic layout and full generator rank alone do not prove any-k recovery. The corrected Vandermonde construction transforms the complete matrix using column operations. Its GF(16) example is reproduced with all 81,920 payload/survivor round trips; a separate row-mixing control loses recovery for two of 20 survivor sets. [plank-report] [hesela-correction] Storage profiles also specify a plugin, technique, field parameters and placement. RAID 6 describes double-parity protection, not one unique codec. Defaults are release-specific: Reef profile documentation lists jerasure, while the development ISA documentation lists isa. Inspect the deployed profile before assuming either. [c2] [c3] [c4] Advantages: - Maximum distance separable: n − k redundancy symbols tolerate n − k known erasures, the best possible for that redundancy - Symbol-oriented correction handles burst errors and whole-device losses well - Configurable k and m let designers trade raw-space overhead against the number of tolerated failures Limitations: - Encoding and decoding use finite-field arithmetic, so the codes cost more compute than simple XOR parity - Recovering a lost symbol requires the surviving symbols of the same codeword, so repair involves reading from many devices - Repair must validate helper integrity and fragment identity; solving an invertible system is not a corruption detector. - The actual matrix construction and supported parameter range must justify any-k recovery. Sources and caveats: - The complete 24 April 2003 technical report was reviewed and its example reconstructed. The 2005 journal record supplies publication metadata, not the numerical reproduction. [plank-report] [plank-ding] - GF(16) arithmetic uses XOR and the polynomial x^4 + x + 1; it is not integer arithmetic modulo 16. The row-mixing control is an explanatory calculation, not a production failure rate. [hesela-correction] Related terms: - [erasure-coding](https://hesela.dev/terms/erasure-coding/) - [raid-6](https://hesela.dev/terms/raid-6/) - [parity-raid](https://hesela.dev/terms/parity-raid/) - [raid-5](https://hesela.dev/terms/raid-5/) - [ldpc](https://hesela.dev/terms/ldpc/) - [bit-error-rate](https://hesela.dev/terms/bit-error-rate/) - [object-storage](https://hesela.dev/terms/object-storage/) - [optical-archival](https://hesela.dev/terms/optical-archival/) - [blu-ray-archive](https://hesela.dev/terms/blu-ray-archive/) - [locally-repairable-code](https://hesela.dev/terms/locally-repairable-code/) - [maximum-distance-separable-code](https://hesela.dev/terms/maximum-distance-separable-code/) - [systematic-code](https://hesela.dev/terms/systematic-code/) - [symbol-erasure](https://hesela.dev/terms/symbol-erasure/) - [error-and-erasure-decoding](https://hesela.dev/terms/error-and-erasure-decoding/) Citations: - [c2] Erasure code profiles (Ceph documentation, Reef). https://docs.ceph.com/en/reef/rados/operations/erasure-code-profile/ (accessed 2026-10-19) - [c3] ISA erasure code plugin (Ceph documentation). https://docs.ceph.com/en/latest/rados/operations/erasure-code-isa/ (accessed 2026-10-19) - [c4] Jerasure erasure code plugin (Ceph documentation). https://docs.ceph.com/en/latest/rados/operations/erasure-code-jerasure/ (accessed 2026-10-19) - [plank-ding] Plank and Ding, SPE 35(2), 189-194 (2005), DOI 10.1002/spe.631. Journal metadata. https://web.eecs.utk.edu/~jplank/plank/papers/SPE-04.html (accessed 2026-10-13) - [isal] Intel ISA-L erasure_code.h, gf_gen_rs_matrix contract; commit 8fa1e72fee7338fcfbf829b00f2f407631bd2dba. https://github.com/intel/isa-l/blob/8fa1e72fee7338fcfbf829b00f2f407631bd2dba/include/erasure_code.h (accessed 2026-10-13) - [rfc5510] RFC 5510 (2009), sections 3.1 and 8.1-8.4: finite fields, systematic encoding and the erasure-channel contract. https://www.rfc-editor.org/rfc/rfc5510.html (accessed 2026-10-13) - [forney] Forney, MIT 6.451 (2005), section 6.5.3: bounded-distance errors-and-erasures correction. https://ocw.mit.edu/courses/6-451-principles-of-digital-communication-ii-spring-2005/bb895c1dee9ce0b39d6846e0aa984981_MIT6_451S05_FullLecNotes.pdf (accessed 2026-10-15) - [hesela-errors] Hesela: exact GF(7) errors-and-erasures examples and false-identification negative control. https://hesela.com/analyses/reed-solomon-matrix-recovery-guarantees/#errors-erasures (accessed 2026-10-15) - [plank-report] Plank and Ding. UT-CS-03-504 (24 April 2003), section 3, Table 1 and worked GF(16) example, pages 2-4. Full six-page report reviewed. https://library.eecs.utk.edu/files/ut-cs-03-504.pdf (accessed 2026-10-19) - [hesela-correction] Hesela: GF(16) reconstruction and row-mixing negative control, with executable tests. https://hesela.com/analyses/reed-solomon-matrix-recovery-guarantees/#row-column-boundary (accessed 2026-10-19) ### Reflink URL: https://hesela.dev/terms/reflink/ Related analysis: https://hesela.com/analyses/file-clones-deferred-copy-cost/ Status: shipping Record updated: 2026-11-21 A reflink shares physical extents between files on one filesystem until one copy is modified, instead of duplicating the data. Note: Linux FICLONE isolates later writes and requires the same filesystem; its concurrent-write atomicity applies to the clone operation, not an entire recursive directory copy. [ficlone] GNU cp may use reflinks by default, and errors in shared blocks can affect both files. [gnu-cp] FICLONERANGE takes a struct file_clone_range of four 64-bit fields, 32 bytes in total. A src_length of 0 clones to the end of the source file. Disk filesystems generally require block-aligned offsets and lengths, and XFS and Btrfs reject overlapping ranges in the same file. [ficlone] Btrfs defragmentation may break sharing even without an application-level content change, so clone allocation is not a permanent space-saving guarantee. [btrfs-defrag] FIDEDUPERANGE instead compares existing ranges and shares them only when equal; it does not replace different destination content. [fidedupe] Durability: a clone's concurrency guarantee is not a crash-recovery protocol. Synchronize the destination file and required directory entries before claiming durable publication. File fsync alone need not persist its name. [fsync] Snapshot example: famus_snap orders snapshot-data fsync, a permission-based completion marker, then snapshot fsync again. Recovery selects a completed snapshot. Its erratum corrects a comment that named the backing file instead of the snapshot. [kelly19] [kelly-errata] Advantages: - The clone operation captures a file consistently against concurrent writes; a multi-file application checkpoint still needs its own coordination. (sources: [ficlone]) - In GNU coreutils 9.12, cp --reflink=always reports a failure when sharing is unsupported, while --reflink=auto falls back to an ordinary copy. (sources: [gnu-cp]) Limitations: - Shared allocation neither reserves capacity for future copy-on-write nor establishes an independent backup. (sources: [ficlone], [gnu-cp]) - fallocate may unshare shared blocks so that later writes cannot fail for lack of space, which removes the saving. (sources: [ficlone]) - Cloning fails with EXDEV across mounted filesystems and with ETXTBSY for swap files. (sources: [ficlone]) Sources and caveats: - ficlone is the Linux man-pages 6.19 FICLONE(2const) page, re-read for the 32-byte range structure, alignment and overlap errors, atomicity and the Linux 4.5 history. The layout was checked in include/uapi/linux/fs.h at v7.3. - gnu-cp is the GNU coreutils 9.12 cp invocation manual, re-read for the always, auto and never reflink modes and the shared-block caveat. - The qcow2 entry links here because it also shares stored data between copies until a write diverges them. - The concurrency, capacity and persistence contracts are compared from primary documentation and the complete 2019 article with its erratum; this is not a power-cut experiment. Related terms: - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [snapshot](https://hesela.dev/terms/snapshot/) - [file-extent](https://hesela.dev/terms/file-extent/) - [file-preallocation](https://hesela.dev/terms/file-preallocation/) - [copy-file-range](https://hesela.dev/terms/copy-file-range/) - [copy-on-abundant-write](https://hesela.dev/terms/copy-on-abundant-write/) - [filesystem-defragmentation](https://hesela.dev/terms/filesystem-defragmentation/) - [transparent-compression](https://hesela.dev/terms/transparent-compression/) - [btrfs-filesystem-du](https://hesela.dev/terms/btrfs-filesystem-du/) - [fideduperange](https://hesela.dev/terms/fideduperange/) - [xfs-deferred-operation](https://hesela.dev/terms/xfs-deferred-operation/) - [nvme-copy](https://hesela.dev/terms/nvme-copy/) - [falloc-fl-unshare-range](https://hesela.dev/terms/falloc-fl-unshare-range/) - [failure-atomic-msync](https://hesela.dev/terms/failure-atomic-msync/) - [fsync](https://hesela.dev/terms/fsync/) Citations: - [ficlone] Linux man-pages: FICLONE and FICLONERANGE sharing semantics. https://man7.org/linux/man-pages/man2/FICLONE.2const.html (accessed 2026-10-23) - [hesela-allocation] Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ (accessed 2026-10-13) - [gnu-cp] GNU coreutils: cp invocation, reflink modes and shared-block caveat. https://www.gnu.org/software/coreutils/manual/html_node/cp-invocation.html (accessed 2026-10-23) - [hesela-clones] Hesela: Fast file clones and deferred copying costs. https://hesela.com/analyses/file-clones-deferred-copy-cost/ (accessed 2026-10-15) - [btrfs-defrag] Btrfs-progs v6.16: Defragmentation, extent sharing and compression. https://raw.githubusercontent.com/kdave/btrfs-progs/v6.16/Documentation/Defragmentation.rst (accessed 2026-10-16) - [fidedupe] Linux man-pages: FIDEDUPERANGE, compare-and-share and per-destination results. https://man7.org/linux/man-pages/man2/FIDEDUPERANGE.2const.html (accessed 2026-10-20) - [fsync] Linux man-pages: fsync(2), file and directory persistence. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-21) - [kelly19] Terence Kelly. Good Old-Fashioned Persistent Memory. USENIX ;login:, Winter 2019, pp. 29-34. https://files.usenix.org/s3fs-public/cdn/login_winter19_08_kelly.pdf (accessed 2026-11-21) - [kelly-errata] Good Old-Fashioned Persistent Memory: erratum, 19 February 2020. https://files.usenix.org/s3fs-public/cdn/kelly_errata.txt (accessed 2026-11-21) ### ReFS integrity streams URL: https://hesela.dev/terms/refs-integrity-streams/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: ReFS file-data checksums Status: shipping Record updated: 2026-10-21 ReFS integrity streams maintain checksums for selected file data, enabling validation during reads and background integrity scans. Note: Settings are inherited from parent directories. The integrity scrubber can validate file contents only where integrity streams are enabled. Checksum processing and allocate-on-write can add workload-dependent costs. [refs-streams] Get-FileIntegrity reports Enabled and Enforced separately. Enforced concerns blocking access after corruption is detected, not whether checksums exist; the documented output includes Enabled=False with Enforced=True. The Set-FileIntegrity Enforce parameter controls blocking, and setting it true also enables integrity. [refs-get] [refs-set] Do not assume a universal default: the integrity overview describes file-data checksums as disabled by default, while format /I documents enabling integrity by default on storage supporting redundancy. Inspect the relevant file's settings. [refs-streams] [refs-format] The Win32 integrity-query result separates ChecksumAlgorithm from enforcement Flags and reports ChecksumChunkSizeInBytes and ClusterSizeInBytes independently. Configuration fields are not a record of a completed payload scan. [refs-get-buffer] Sources and caveats: - Documentation review, not a measured ReFS failure rate or a Windows command execution. The settings query does not constitute a payload scan. Related terms: - [refs](https://hesela.dev/terms/refs/) - [checksum](https://hesela.dev/terms/checksum/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [btrfs-nodatasum](https://hesela.dev/terms/btrfs-nodatasum/) - [copy-on-write](https://hesela.dev/terms/copy-on-write/) - [reflink](https://hesela.dev/terms/reflink/) Citations: - [refs-streams] Microsoft Learn: ReFS integrity streams, inheritance and scrub coverage. https://learn.microsoft.com/en-us/windows-server/storage/refs/integrity-streams (accessed 2026-10-21) - [refs-get] Microsoft Learn: Get-FileIntegrity (Windows Server 2025 Storage module). https://learn.microsoft.com/en-us/powershell/module/storage/get-fileintegrity?view=windowsserver2025-ps (accessed 2026-10-21) - [refs-set] Microsoft Learn: Set-FileIntegrity, Enable and Enforce parameters. https://learn.microsoft.com/en-us/powershell/module/storage/set-fileintegrity?view=windowsserver2025-ps (accessed 2026-10-21) - [refs-format] Microsoft Learn: format, ReFS /I default on redundant storage. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/format (accessed 2026-10-21) - [refs-get-buffer] Microsoft Learn: FSCTL_GET_INTEGRITY_INFORMATION_BUFFER fields. https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-fsctl_get_integrity_information_buffer (accessed 2026-10-21) ### ReFS URL: https://hesela.dev/terms/refs/ Related analysis: https://hesela.com/analyses/filesystem-checksum-error-detection/ Also known as: Resilient File System Status: shipping Record updated: 2026-10-23 ReFS is a Windows file system with checksummed metadata, optional file-data integrity streams and repair integration with resilient storage. Note: Repair through Storage Spaces requires a usable alternate copy supplied by a mirror or parity space. Detection alone cannot recreate missing bytes. Keeping a volume available while isolating uncorrectable corruption does not mean every file remains accessible. [refs-overview] NTFS and ReFS are distinct file systems, not interchangeable integrity settings. File-data coverage in ReFS must be assessed through integrity streams rather than inferred from the volume's name. [refs-overview] Block cloning requires matching integrity-stream settings and the same ReFS volume. Shared regions avoid a physical copy until modifying writes allocate new storage. A clone therefore does not establish an independent recovery copy. [refs-clone] Sources and caveats: - Microsoft's cited ReFS overview applies to Windows Server 2016, 2019, 2022 and 2025; feature support must be checked for the intended release and deployment. Related terms: - [ntfs](https://hesela.dev/terms/ntfs/) - [refs-integrity-streams](https://hesela.dev/terms/refs-integrity-streams/) - [checksum](https://hesela.dev/terms/checksum/) - [data-scrubbing](https://hesela.dev/terms/data-scrubbing/) - [mirroring](https://hesela.dev/terms/mirroring/) - [file-storage](https://hesela.dev/terms/file-storage/) - [reflink](https://hesela.dev/terms/reflink/) - [storage-spaces](https://hesela.dev/terms/storage-spaces/) - [storage-spaces-direct](https://hesela.dev/terms/storage-spaces-direct/) - [mirror-accelerated-parity](https://hesela.dev/terms/mirror-accelerated-parity/) - [storage-bus-cache](https://hesela.dev/terms/storage-bus-cache/) Citations: - [refs-overview] Microsoft Learn: ReFS overview, resiliency and Storage Spaces integration. https://learn.microsoft.com/en-us/windows-server/storage/refs/refs-overview (accessed 2026-10-21) - [refs-clone] Microsoft Learn: ReFS block-cloning integrity compatibility and shared allocation. https://learn.microsoft.com/en-us/windows-server/storage/refs/block-cloning (accessed 2026-10-21) ### Region ID in Value (RIV) URL: https://hesela.dev/terms/region-id-in-value/ Related analysis: https://hesela.com/analyses/pmem-persistence-domains-dax/ Also known as: RIV pointer Status: research Record updated: 2026-12-05 Region ID in Value encodes a persistent pointer's target region identifier and within-region offset in one word. Note: Resolution: The runtime translates a stable region ID to its current base address and adds the stored offset. RIV supports independently mapped regions; its 2017 design also uses a reverse mapping for address-to-ID conversion. [micro17] Example: Region 7 at base 0x5000 with offset 0x80 names address 0x5080. Remapping that region to 0x9000 changes the decoded address to 0x9080 without changing the encoded ID or offset. The holder can move separately. [model] Identity: Moving the target inside its region still requires an updated offset. Reusing a region ID for different contents can resolve an old reference to the wrong object even when arithmetic and bounds checks succeed. The example's ID is not a generation counter or authorization token. [model] Evaluation: The paper used PMEP emulation, four 10000-element data structures and ten measurements per timing result. Those averages are not present-day persistent-memory hardware benchmarks. [micro17] Locality: The paper's ten-region experiment distributes elements round-robin. A last-region cache then rarely reuses the preceding region; its single-region experiment benefits from that cache. These access patterns matter when interpreting comparisons of region-ID lookup costs. [micro17] Sources and caveats: - The complete 13-page MICRO 2017 paper was reviewed. Its compiler extensions and reserved virtual-address layout are research designs, not portable standard-C++ features. - The executable example uses a declared 32/32-bit ID/offset split and ordinary lookup map, not the paper's specialized address tables or an implementation of its compiler. Related terms: - [self-relative-pointer](https://hesela.dev/terms/self-relative-pointer/) - [ralloc](https://hesela.dev/terms/ralloc/) - [persistent-memory](https://hesela.dev/terms/persistent-memory/) - [nv-heaps](https://hesela.dev/terms/nv-heaps/) Citations: - [micro17] Chen et al. Efficient Support of Position Independence on Non-Volatile Memory. MICRO 2017, sections 4-6. DOI: 10.1145/3123939.3124543. https://cdn.jsdelivr.net/gh/PictureResearch/picture_papers@ad3afb3e7eb852c00a2be1ba5b6021724ff4678f/papers/micro17b.pdf (accessed 2026-12-05) - [model] Hesela. Relative-pointer relocation: executable integer model and worked cases. https://hesela.dev/research/relative-pointers/README.md (accessed 2026-12-05) ### Regular file URL: https://hesela.dev/terms/regular-file/ Related analysis: https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/ Also known as: ordinary file Status: shipping Record updated: 2026-11-15 A regular file is a file type that presents data as a byte sequence, distinct from directories, symbolic links and device or communication files. Note: On Linux, S_ISREG(st_mode) tests the type reported by a successful status call. stat() follows a final symbolic link, lstat() reports the link itself, and fstat() reports the object referenced by an open descriptor. A filename extension is not this file-type classification. Fields returned by one status call can reflect different moments during concurrent metadata changes. Checking a pathname and opening it later does not establish that both operations selected the same object. [inode-api] [stat-api] [open-api] For ordinary stored files, st_size is the logical length in bytes, while Linux st_blocks reports allocated space in 512-byte units. Sparse holes can make allocation smaller than logical length; st_blksize is a preferred I/O size, not the multiplier for st_blocks. These fields do not directly measure physical consumption in a lower storage pool. [inode-api] [capacity-analysis] Regular-file type does not establish persistent backing. Tmpfs keeps files in virtual memory, may swap pages, and loses its contents when unmounted. On a persistent filesystem, successful write() completion alone does not establish durability. Synchronization and its errors must be handled separately; fsync() on a file does not necessarily persist its containing directory entry. [tmpfs-doc] [write-api] [fsync-api] The file object, its names and its open descriptions are separate concepts. Replacing a pathname does not redirect an already open descriptor to the replacement file. Separate opens create separate open descriptions; duplicated descriptors share an offset and file-status flags. Neither arrangement alone makes file contents an immutable snapshot. [open-api] Sources and caveats: - Primary-source terminology synthesis, not a new filesystem experiment or a claim about every synthetic filesystem's readable length or seek behavior. Related terms: - [file-size](https://hesela.dev/terms/file-size/) - [end-of-file](https://hesela.dev/terms/end-of-file/) - [inode](https://hesela.dev/terms/inode/) - [file-offset](https://hesela.dev/terms/file-offset/) - [sparse-file](https://hesela.dev/terms/sparse-file/) - [tmpfs](https://hesela.dev/terms/tmpfs/) - [named-pipe](https://hesela.dev/terms/named-pipe/) Citations: - [inode-api] Linux man-pages: inode(7), file types, logical size and allocated blocks. https://man7.org/linux/man-pages/man7/inode.7.html (accessed 2026-11-15) - [stat-api] Linux man-pages: stat(2), pathname, link and descriptor observations. https://man7.org/linux/man-pages/man2/stat.2.html (accessed 2026-11-15) - [open-api] Linux man-pages: open(2), descriptors and open file descriptions. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-11-15) - [tmpfs-doc] Linux kernel documentation: Tmpfs, virtual memory and unmount lifetime. https://docs.kernel.org/filesystems/tmpfs.html (accessed 2026-11-15) - [write-api] Linux man-pages: write(2), successful writes and delayed errors. https://man7.org/linux/man-pages/man2/write.2.html (accessed 2026-11-15) - [fsync-api] Linux man-pages: fsync(2), file and directory synchronization. https://man7.org/linux/man-pages/man2/fsync.2.html (accessed 2026-11-15) - [capacity-analysis] Hesela: Sparse files, preallocation and thin-pool capacity. https://hesela.com/analyses/sparse-files-preallocation-thin-capacity/#measure (accessed 2026-11-15) ### Regular register URL: https://hesela.dev/terms/regular-register/ Related analysis: https://hesela.com/analyses/storage-consistency-ordering/ Also known as: Single-writer regular register Status: unknown Record updated: 2026-11-28 A single-writer regular register returns the value of the latest write completed before a read starts or a value written by an overlapping write. Note: One read can span several writes and return the preceding value or a value from any overlapping write. If no write overlaps, it must return the latest completed write's value. [lamport-registers] For a write changing 0 to 1, two nonoverlapping reads within that write can return 1 and then 0, even when different readers perform them. Each read is individually permitted, but no common real-time-respecting order explains both. An atomic register excludes this inversion; new and old refer to write order, not numeric magnitude. [lamport-registers] Sources and caveats: - Scope: finite-valued, single-writer registers with one or more readers; no product lifecycle or priority date is inferred. [lamport-registers] Related terms: - [safe-register](https://hesela.dev/terms/safe-register/) - [linearizability](https://hesela.dev/terms/linearizability/) - [atomic-register](https://hesela.dev/terms/atomic-register/) Citations: - [lamport-registers] Lamport. On Interprocess Communication, Part II, sections 4-5. SRC report, 1985; journal publication, 1986. https://lamport.azurewebsites.net/pubs/interprocess.pdf (accessed 2026-11-11) - [hesela-registers] Hesela: constructed read histories for safe, regular and atomic registers. https://hesela.com/analyses/storage-consistency-ordering/#register-contracts (accessed 2026-11-11) ### Relative access-time updates URL: https://hesela.dev/terms/relatime/ Related analysis: https://hesela.com/analyses/rsync-delta-shifted-blocks/ Also known as: relatime, Relative atime, MS_RELATIME Status: shipping Record updated: 2026-11-09 Relatime is a Linux policy that selects access-time updates using the existing access, modification and inode-change times and a daily age condition. Note: In Linux v6.12, an otherwise eligible access passes the relatime test when mtime or ctime is at least as recent as atime, or when the difference between the current time and the stored atime, using their integer-second fields, reaches 86,400. Equality qualifies. This is checked during access, not by a daily timer updating idle files. Other update suppression and failure conditions still apply. [linux-inode-v612] Relatime selects updates; lazytime controls their persistence. noatime suppresses access-triggered updates, while strictatime requests traditional access-time behavior. These policies do not make atime a complete access log or a file-content identity. [linux-mount-flags] Advantages: - Can reduce access-driven timestamp updates compared with strict access-time policy. Limitations: - An unchanged atime does not establish that no read occurred. - The age condition is not a timestamp-persistence deadline. Sources and caveats: - Source synthesis of Linux API documentation and the pinned v6.12 implementation; no access-policy or power-loss experiment performed. Related terms: - [file-access-time](https://hesela.dev/terms/file-access-time/) - [file-modification-time](https://hesela.dev/terms/file-modification-time/) - [inode-change-time](https://hesela.dev/terms/inode-change-time/) - [lazytime](https://hesela.dev/terms/lazytime/) Citations: - [linux-inode-v612] Linux v6.12 fs/inode.c: relatime_need_update and generic_update_time. https://github.com/torvalds/linux/blob/v6.12/fs/inode.c#L1823 (accessed 2026-11-09) - [linux-mount-flags] Linux mount(2): MS_LAZYTIME and timestamp policy. https://man7.org/linux/man-pages/man2/mount.2.html (accessed 2026-11-09) - [hesela-timestamp-policies] Hesela: timestamp selection is separate from persistence. https://hesela.com/analyses/rsync-delta-shifted-blocks/#timestamp-policies (accessed 2026-11-09) ### REMIX URL: https://hesela.dev/terms/remix/ Also known as: Range-query-Efficient Multi-table IndeX Status: research Record updated: 2026-11-10 REMIX is an index that records the merged key order of multiple immutable sorted runs without physically merging their records. Note: Mechanism: anchor keys, cursor offsets and run selectors support seeking and comparison-free advancement through the indexed view. Rebuilding still costs work. [remix-paper] Implementation: the pinned RemixDB prototype adds optional hash tags, but a tag match still requires full-key verification. This implementation includes changes made after the paper. [remix-project] [remix-code] Sources and caveats: - Full-paper and pinned-code source review; no RemixDB execution or performance reproduction. Related terms: - [lsm-tree](https://hesela.dev/terms/lsm-tree/) - [sorted-run](https://hesela.dev/terms/sorted-run/) - [tiered-compaction](https://hesela.dev/terms/tiered-compaction/) - [read-amplification](https://hesela.dev/terms/read-amplification/) - [succinct-range-filter](https://hesela.dev/terms/succinct-range-filter/) Citations: - [remix-paper] Zhong, Chen, Wu and Jiang. REMIX: Efficient Range Query for LSM-trees. FAST 2021, pp. 51-64; sections 3-5. Author-hosted full paper. https://wuxb45.github.io/papers/remix.pdf (accessed 2026-11-10) - [remix-project] RemixDB author implementation, pinned README: post-paper compressed keys and hash-tag optimizations. https://github.com/wuxb45/remixdb/blob/aed3d9b758c979a1abc140c503d0ed9df848e274/README.md (accessed 2026-11-10) - [remix-code] RemixDB pinned sst.c: tagged full-key matching, tombstone-aware iteration and rebuild-path selection. https://github.com/wuxb45/remixdb/blob/aed3d9b758c979a1abc140c503d0ed9df848e274/sst.c (accessed 2026-11-10) - [hesela] Hesela: range filtering versus cached merge order. https://hesela.com/analyses/bloom-filters-lsm-read-cost/#remix-order (accessed 2026-11-10) ### Remote procedure call (RPC) URL: https://hesela.dev/terms/remote-procedure-call/ Related analysis: https://hesela.com/analyses/replication-acknowledgements-durability-lag/ Also known as: RPC, Remote procedure call Status: shipping Record updated: 2026-11-20 A remote procedure call (RPC) invokes a procedure in another process by exchanging request and reply messages. Note: Interface: RPC can use synchronous or asynchronous APIs. ONC RPC identifies a procedure by program, program version and procedure number; these fields are specific to that protocol. Its XID matches replies to calls or detects retransmissions, but is not an execution-order sequence number. [rpc5531] Failure: A missing reply alone leaves execution uncertain. In gRPC, client and server can disagree about completion, and cancellation does not undo earlier changes. A call result therefore needs the application-specific persistence contract. [rpc5531] [grpc-lifecycle] Retry scope: eRPC suppresses repeated handler execution during protocol retransmission and reports errors for pending client calls after suspected node failure. This does not establish durable deduplication for a newly submitted application request. [erpc19] Concurrency: Idempotent effects alone do not ensure linearizable retries: repeating a fixed-value write after an intervening update can overwrite that update. [rifl15] Sources and caveats: - Primary-source synthesis of a general interface concept. ONC RPC, gRPC and eRPC are distinct protocols or implementations; their fields and failure semantics are not interchangeable. - No network, retry or crash-recovery experiment was performed for this entry. Related terms: - [erpc](https://hesela.dev/terms/erpc/) - [rifl](https://hesela.dev/terms/rifl/) - [io-timeout](https://hesela.dev/terms/io-timeout/) - [retry-deduplication](https://hesela.dev/terms/retry-deduplication/) - [omission-failure](https://hesela.dev/terms/omission-failure/) Citations: - [rpc5531] RFC 5531: ONC RPC Version 2, sections 4, 5, 8.1 and 9. https://www.rfc-editor.org/rfc/rfc5531.html (accessed 2026-11-16) - [grpc-lifecycle] gRPC: Core concepts, RPC termination and cancellation. https://grpc.io/docs/what-is-grpc/core-concepts/ (accessed 2026-11-16) - [erpc19] Kalia, Kaminsky and Andersen: Datacenter RPCs can be General and Fast, NSDI 2019, sections 3.1, 5.3 and Appendix B. https://www.usenix.org/system/files/nsdi19-kalia.pdf (accessed 2026-11-16) - [rifl15] Lee et al.: Implementing Linearizability at Large Scale and Low Latency, SOSP 2015, section 2 and Figure 2. https://web.stanford.edu/~ouster/cgi-bin/papers/rifl.pdf (accessed 2026-11-16) ### Retention Interference Aware Neighbor-Cell Assisted Correction URL: https://hesela.dev/terms/renac/ Related analysis: https://hesela.com/analyses/nand-read-retry-latency/ Also known as: ReNAC Status: research Record updated: 2026-11-22 ReNAC is a proposed NAND recovery technique that adjusts read thresholds using retention age and vertically adjacent cell states. Note: After failed correction, neighboring data inform a read-offset model indexed by retention age. This extends neighbor-aware program-interference recovery to retention interference. [luo] The NAC predecessor replaces selected bit positions in a buffered page according to the neighbor state used for each reread, then attempts ECC again. Neighbor-aware sensing is not a single read with a different voltage for every cell. [nac] Limitations: - Meaningful lifetime improvement was not demonstrated for the tested 3D MLC chips; TLC/QLC benefits remained future work. (sources: [luo]) - The predecessor study concerns planar MLC program interference; its outcomes do not establish ReNAC retention benefits. (sources: [nac]) - The Figure 16 comparison excludes ReNAC and uses lifetime estimated from measured error rates and an assumed ECC limit, not a direct SSD lifetime measurement. (sources: [luo]) Sources and caveats: - Author manuscript, sections 6.4-6.5 and Figure 16. Literature synthesis, not a Hesela experiment. - NAC mechanism checked against Cai et al. 2014, sections 6.1-6.3; kept separate from ReNAC's 2018 proposal and evaluation limits. Related terms: - [retention-interference](https://hesela.dev/terms/retention-interference/) - [read-retry](https://hesela.dev/terms/read-retry/) - [early-retention-loss](https://hesela.dev/terms/early-retention-loss/) - [program-interference](https://hesela.dev/terms/program-interference/) - [neighbor-cell-assisted-correction](https://hesela.dev/terms/neighbor-cell-assisted-correction/) Citations: - [luo] Luo et al. Improving 3D NAND Flash Memory Lifetime by Tolerating Early Retention Loss and Process Variation. POMACS 2018, sections 6.4-6.5. https://ghose.cs.illinois.edu/papers/18sigmetrics_3dflash.pdf (accessed 2026-10-28) - [nac] Cai, Yalcin, Mutlu, Haratsch, Unsal, Cristal and Mai. Neighbor-Cell Assisted Error Correction for MLC NAND Flash Memories. SIGMETRICS 2014, sections 6.1-6.3. https://istc-cc.cmu.edu/publications/papers/2014/neighbor-assisted-error-correction-in-flash_sigmetrics14.pdf (accessed 2026-10-28) ### RENAME_EXCHANGE URL: https://hesela.dev/terms/rename-exchange/ Related analysis: https://hesela.com/analyses/tmpfile-publication-rename-contracts/ Status: shipping Record updated: 2026-11-14 RENAME_EXCHANGE is a Linux renameat2 flag that atomically swaps two existing names, so each pathname then reaches the object the other one reached before. Note: The flag arrived with the renameat2 system call in Linux 3.15 and glibc 2.28. Both pathnames must exist, and they may be of different types, for example a non-empty directory and a symbolic link. A missing newpath fails with ENOENT, combining the flag with RENAME_NOREPLACE or RENAME_WHITEOUT fails with EINVAL, and names on different mounts fail with EXDEV. [rename] [linux612-namei] Because neither name is removed, the kernel checks deletion permission on each entry against that entry's own type, and a directory that moves to a different parent also needs write permission so that its .. entry can change. Across two parents, the parent that gains a subdirectory can hit its hard-link limit and fail the call with EMLINK. In Linux v6.12, a normal exchange emits move notifications in both directions. If both names refer to the same inode, vfs_rename returns success before changing the dentries or emitting those notifications. [linux612-namei] A sequential test of the flag observed swapped inode identities at the two names while descriptors opened earlier still read their original contents. That sequence does not show atomicity against concurrent lookups or durability across a crash. [observation] Separate opens across an exchange can capture the same original object twice while both names and copied-byte hashes remain correct. Exchanging back restores endpoint identities, not the read set. Intended hard links show why inode counts alone do not establish coverage. A retained-identity guard detects this fixture's mismatch but leaves capture incomplete; it is not a general snapshot protocol. This is not a backup failure-rate estimate or crash test. [readset] Advantages: - A prepared directory tree can replace a live one while the old tree stays reachable under the other name, so it can be inspected or swapped back. (sources: [rename]) Limitations: - Exchanging distinct inodes requires file-system support; an unsupported flag can produce EINVAL. A successful same-inode no-op does not test that support because Linux v6.12 returns before calling the file system's rename operation. (sources: [rename], [linux612-namei]) - For an exchange between different inodes, the Linux v6.12 VFS rejects swapfiles with EPERM and local mount points with EBUSY. (sources: [linux612-namei]) - An open descriptor retains its object, not frozen contents or atomic acquisition of a multi-object view. (sources: [open-description], [readset]) Sources and caveats: - rename is the Linux man-pages 6.19 rename(2) page, read in the renameat2 flag descriptions, ERRORS and HISTORY sections. - linux612-namei is the Linux v6.12 fs/namei.c source, read in do_renameat2 and vfs_rename. - observation is an earlier sequential experiment summarised from its published write-up and was not repeated for this revision. - Per-file-system support for the flag was not checked because the man page lists support versions only for RENAME_NOREPLACE and RENAME_WHITEOUT. - readset is a separate native ordered experiment with retained object identities, raw event traces, source hashes and offline replay at https://hesela.dev/research/exchange-readset/exchange-readset.zip; its 56 executions are not a population of devices or backup failures. - open-description was reviewed in DESCRIPTION; descriptor lifetime is not content immutability or atomic acquisition of multiple objects. Related terms: - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [rename-noreplace](https://hesela.dev/terms/rename-noreplace/) - [open-file-description](https://hesela.dev/terms/open-file-description/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) - [o-tmpfile](https://hesela.dev/terms/o-tmpfile/) Citations: - [rename] Linux man-pages 6.19: rename(2), renameat2 flags, errors and history. https://man7.org/linux/man-pages/man2/rename.2.html (accessed 2026-11-07) - [observation] Hesela: exchange observation and limitations. https://hesela.com/analyses/tmpfile-publication-rename-contracts/#observation (accessed 2026-10-17) - [linux612-namei] Linux v6.12, fs/namei.c: do_renameat2 flag checks and vfs_rename exchange handling. https://github.com/torvalds/linux/blob/v6.12/fs/namei.c (accessed 2026-11-07) - [readset] Hesela: atomic exchange, captured-object identity and hard-link controls. https://hesela.com/analyses/tmpfile-publication-rename-contracts/#readset (accessed 2026-11-14) - [open-description] Linux man-pages: open(2), open file description and pathname rebinding. https://man7.org/linux/man-pages/man2/open.2.html (accessed 2026-11-14) ### RENAME_NOREPLACE URL: https://hesela.dev/terms/rename-noreplace/ Related analysis: https://hesela.com/analyses/tmpfile-publication-rename-contracts/ Status: shipping Record updated: 2026-11-07 RENAME_NOREPLACE is a Linux renameat2 flag that makes a rename fail with EEXIST instead of replacing a destination name that already exists. Note: The flag came with the renameat2 system call in Linux 3.15, and the C library wrapper followed in glibc 2.28. A zero flags argument behaves like renameat, while RENAME_NOREPLACE turns the replace-if-present rule of rename into create-only. Combining it with RENAME_EXCHANGE fails with EINVAL. [rename] In the Linux 6.12 virtual file-system code, the destination is looked up after both parent directories are locked for the rename, and an existing destination entry makes the call return EEXIST before the file system is asked to move anything. Even a destination hard link to the source inode is rejected: this check precedes vfs_rename's same-inode no-op. A destination whose last component is . or .. also yields EEXIST under the flag. A separate existence check followed by a plain rename leaves a window in which another process can create the destination name. [linux612-namei] [rename] Support is per file system: ext4 gained it in Linux 3.15, btrfs, tmpfs and cifs in 3.17, XFS in 4.0, and ext2, vfat, jfs and several others in 4.9. If execution reaches a file system without flag support, it can fail with EINVAL. An EEXIST collision alone does not establish support for moving to an absent name, because the VFS can reject it first. Falling back to a plain rename gives up the no-replace guarantee. [rename] [linux612-namei] Advantages: - The existence check and the rename happen in one system call under the directory locks, so of several processes racing to publish the same name only one succeeds and the others get EEXIST. (sources: [linux612-namei]) Limitations: - An existing destination directory is refused as well, including an empty one that a plain rename of a directory would replace. (sources: [linux612-namei], [rename]) - The rename still works only within one mounted file system, and a source and destination on different mounts fail with EXDEV. (sources: [rename]) Sources and caveats: - rename is the Linux man-pages rename(2) page, re-read in the renameat2, ERRORS and HISTORY sections. - linux612-namei is the Linux v6.12 fs/namei.c source, read in do_renameat2. - The per-file-system version list comes from the manual and was not checked against each file system's code. Related terms: - [atomic-rename](https://hesela.dev/terms/atomic-rename/) - [o-tmpfile](https://hesela.dev/terms/o-tmpfile/) - [rename-exchange](https://hesela.dev/terms/rename-exchange/) - [directory-fsync](https://hesela.dev/terms/directory-fsync/) Citations: - [rename] Linux man-pages: rename(2), renameat2 flags. https://man7.org/linux/man-pages/man2/rename.2.html (accessed 2026-11-07) - [observation] Hesela: rename flag observations. https://hesela.com/analyses/tmpfile-publication-rename-contracts/#observation (accessed 2026-10-17) - [linux612-namei] Linux v6.12, fs/namei.c: do_renameat2 flag checks and destination lookup. https://github.com/torvalds/linux/blob/v6.12/fs/namei.c (accessed 2026-11-07) ### Repair-by-transfer URL: https://hesela.dev/terms/repair-by-transfer/ Also known as: Uncoded repair, Help-by-transfer Status: limited Record updated: 2026-11-22 Repair-by-transfer restores a failed storage node using stored symbols sent by helpers without helper-side coding operations. Note: A complete-graph construction assigns one encoded symbol to each edge and stores it at both endpoints. With d=n-1, every surviving node sends the symbol shared with the failed node. This particular MBR construction also needs no decoding arithmetic at the replacement node. Encoding and whole-object reconstruction remain separate operations. [shah2012] The helper requirement matters: for 2<=k<=d