View Full Version : Speed up PC-BSD boot time
antik
02-28-2007, 12:40 PM
If autobooting, set autoboot=yes and enable a flag (rc_fast=yes), which prevents the rc.d/ scripts from performing the check for already running processes (thus speeding up the boot process). This rc_fast=yes speedup will not occur when rc is started up after exiting the single-user shell.
/etc/rc.conf
autoboot=yes
rc_fast=yes
# man 8 rc (http://www.freebsd.org/cgi/man.cgi?query=rc&sektion=8)
To be honest, I can`t see any major improvement.
Maybe it`s because I`m using quite `ol HW.
It took ca 50 seconds to launch X under my system,
and about 35 seconds to launch normal mode I guess,
counting bootloader time.
TerryP
03-01-2007, 11:22 PM
I'll give it a shot on my laptop but most of the start time on it goes to device probing and kde loading.
The best way I've ever seen to speed up start times was to compile a custom kernel for my i686 trim back the stuff starting on boot, and upgrade the HW.
erazorbg
03-25-2007, 08:56 AM
Also in /etc/rc.conf
changing this ...
NIC="de em ixgb txp vx bfe bge dc fxp lge nge pcn re rl sf sis sk ste ti tl tx vge vr wb xl cs ed ex ep fe ie lnc sn xe an awi wi nve"
for i in $NIC; do
eval ifconfig_${i}0="DHCP"
eval ifconfig_${i}1="DHCP"
done
...to only include your NICs can help too.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.