fsck in -current
Dan Nelson
dnelson at allantgroup.com
Sun May 16 10:04:43 PDT 2004
In the last episode (May 16), Scott Long said:
> Actually, bgfsck unconditionally inserts a delay into every 8th i/o
> operation to try to keep from saturating the disks. Unfortunately
> this isn't terribly sophisticated and it results in bgfsck taking an
> eternity whether the system is idle, loaded, or reniced.
See http://dan.allantgroup.com/FreeBSD/fsck_ffs.diff for a patch that
removes the delay if it's at the minimum value, and more fairly
calculates disk wait time. This cuts bgfsck time from ~4 hours to 20
minutes on my 36gb /usr.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-current
mailing list