NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60607 CVS commit: src
The following reply was made to PR bin/60607; it has been noted by GNATS.
From: "Jason R Thorpe" <thorpej%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/60607 CVS commit: src
Date: Thu, 20 Aug 2026 14:43:32 +0000
Module Name: src
Committed By: thorpej
Date: Thu Aug 20 14:43:32 UTC 2026
Modified Files:
src/distrib/sets/lists/etc: mi
src/etc: rc rc.subr
src/etc/defaults: rc.conf
src/etc/rc.d: Makefile
Added Files:
src/etc/rc.d: rcorder_cache
Log Message:
Add an optional mechanism, enabled by setting rcorder_cache=YES in
/etc/rc.conf, to precompute and cache the list of rc.d scripts that
will actually result in useful boot-time work. This cached list is
then consulted on subsequent boots to reduce the number of scripts
run during boot. This can have a huge impact on boot time on machines
with slow CPUs and/or highly constrained I/O. On the machine that
inspired this change, it reduced the number of scripts visited during
boot from 130 to 45 and reduced the boot time from 13 minutes to 7.
PR bin/60607
To generate a diff of this commit:
cvs rdiff -u -r1.278 -r1.279 src/distrib/sets/lists/etc/mi
cvs rdiff -u -r1.175 -r1.176 src/etc/rc
cvs rdiff -u -r1.111 -r1.112 src/etc/rc.subr
cvs rdiff -u -r1.169 -r1.170 src/etc/defaults/rc.conf
cvs rdiff -u -r1.119 -r1.120 src/etc/rc.d/Makefile
cvs rdiff -u -r0 -r1.1 src/etc/rc.d/rcorder_cache
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index