Project

General

Profile

Actions

Bug #14355

open

loader: Only trigger read-ahead if two adjacent blocks have been requested.

Added by Toomas Soome 6 months ago. Updated 6 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Picked from FreeBSD:

Author: Maxim Sobolev <>

    The change makes block caching algorithm to work better for remote
    media on low-BW/high-delay links.

    This cuts boot time over IP KVMs noticeably, since the initialization
    stage reads bunch of small 4th (and now lua) files that are not in
    the same cache stripe (usually), thus wasting lot of bandwidth and
    increasing latency even further.

    The original regression came in 2017 with revision 87ed2b7f5. We've
    seen increase of time it takes for the loader to get to the kernel
    loading from under a minute to 10-15 minutes in many cases.
 

Differential Revision: https://reviews.freebsd.org/D31623

Actions #1

Updated by Electric Monk 6 months ago

  • Gerrit CR set to 1910
Actions

Also available in: Atom PDF