#622 NORM V1.1: Window system and UI startup could be much earlier in the boot sequence.

Zarro Boogs per Child bugtracker at laptop.org
Thu Sep 27 18:17:21 EDT 2007


#622: Window system and UI startup could be much earlier in the boot sequence.
---------------------+------------------------------------------------------
  Reporter:  jg      |       Owner:  bernie
      Type:  defect  |      Status:  new   
  Priority:  normal  |   Milestone:  V1.1  
 Component:  distro  |     Version:        
Resolution:          |    Keywords:        
  Verified:  0       |  
---------------------+------------------------------------------------------
Changes (by bernie):

 * cc: cscott (added)


Comment:

 For a quick experiment, I added the following lines on top of rc.sysinit:

 {{{
 mount -n /proc
 mount -n -o rw,
 mount -n /sys
 mount -n -t usbsfs none /proc/usb
 mknod /dev/mem c 1 1
 cat /proc/uptime >/time1
 /usr/bin/startx
 }}}

 Then, in /.xinitrc:

 {{{
 cat /proc/uptime >/time2
 }}}

 From this, I gathered the following information:

  19.80 - rc.sysinit started
  23.91 - X server started

 X takes roughly 4 seconds to load.  It takes less than 1 sec when the
 pages are already loaded in the buffercache.

 Running xinit directly instead of through startx is likely to improve
 things a little more.

 We could reduce this time even further with X 1.4 because the footprint of
 my custom server is somewhat smaller.

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



More information about the Bugs mailing list