Bug 160403 - [rc] [patch] concurrently running rc-scripts during boot
Summary: [rc] [patch] concurrently running rc-scripts during boot
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 1.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 19:50 UTC by Kilian Klimek
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:


Attachments
file.diff (17.22 KB, patch)
2011-09-02 19:50 UTC, Kilian Klimek
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kilian Klimek 2011-09-02 19:50:07 UTC
Attached in a patch against current that modifies rcorder to allow it
to run rc-scripts concurrently during boot. The purpose is, of course,
to speedup the boot process. The speedup can be quite substantial. I
measured a speedup of up to 30% (some numbers to support this can be
found at https://github.com/kil/rcorder in the README).

A few notes about the patch:

- The modifications in /etc/rc.d/ are required to make sure cleartmp
  doesn't run at the same time as the scripts modified (they create
  temporary files in /tmp).

- To ensure compatibility, the modifications to rcorder don't affect
  the default invocation of it in /etc/rc. The ordering of the rc-scripts
  that is generated is identical to the ordering that is generated now.

Fix: Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-09-02 20:58:20 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-rc

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:54 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped