#4349 HIGH Future : Improve startup speed

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 23 06:26:54 EDT 2007


#4349: Improve startup speed
--------------------------------+-------------------------------------------
  Reporter:  wmb at firmworks.com  |       Owner:  cscott        
      Type:  enhancement        |      Status:  new           
  Priority:  high               |   Milestone:  Future Release
 Component:  distro             |     Version:                
Resolution:                     |    Keywords:                
  Verified:  0                  |  
--------------------------------+-------------------------------------------

Comment(by codyl):

 I (with Mitch B.'s help!) managed to remove some hopefully non-essential
 stuff in the /etc/rc.d/rc5.d/* scripts:

 boot-anim-start, boot-anim-stop :  Some Python scripts that modify the
 framebuffer
 K75netfs : Mounts SAMBA or NFS volumes
 K88wpa_supplicant : WPA support
 K13mcstrans : Starts the SE Linux daemon (mcstransd)

 I started with measuring the boot time three times on my B2 with no
 modifications to the init scripts. After going through every script in
 /etc/rc.d/rc5.d/ looking for stuff to rip out, I decided I should remove
 all five scripts above and measure the boot time three times again.
 The interval is from the end of the OFW "pong", and to the screen going
 grey for X11 to start.

 Time measured before modifications: 110, 110, and 109 seconds

 Then with:

 rm /etc/rc.d/rc5.d/S000-boot-anim-start
 rm /etc/rc.d/rc5.d/S99z-boot-anim-stop
 rm /etc/rc.d/rc5.d/K75netfs
 rm /etc/rc.d/rc5.d/K88wpa_supplicant
 rm /etc/rc.d/rc5.d/S13mcstrans

 Time measured after modifications: 105, 103, and 103 seconds

 Taking an average of those numbers, we see we can save six seconds with
 this! (109.6 - 103.6)
 Though this really needs to be tested on the newer hardware.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4349#comment:7>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list