ts-7000
[Top] [All Lists]

[ts-7000] TS-7260 boot duration [was TS-7260 shutdown duration]

To:
Subject: [ts-7000] TS-7260 boot duration [was TS-7260 shutdown duration]
From:
Date: Tue, 17 May 2011 14:58:46 -0500
The total boot time (until login prompt) takes 1 minute 20 seconds.
Looking at the boot sequence, the part that starts with:

>> TS-SDBOOT - built Aug 10 2009
>> Copyright (c) 2007, Technologic Systems
.
.
.

and ends with:

>> Booting Linux...
INIT: version 2.86 booting

takes about 30 seconds.  I'm not sure where the things that happen here
get set.  The segment that loads usb drivers seems to take the most time
(about 20 seconds), so if I could find where this is done, I might be able
to save some time.

The next segment of the boot sequence seems to be the running of the
/etc/rcS.d scripts:

S01glibc.sh
S02hostname.sh
S02mountkernfs.sh
S03udev
S04mountdevsubfs.sh
S05bootlogd
S10checkroot.sh
S11hwclock.sh
S12mtab.sh
S20module-init-tools
S25libdevmapper1.02
S30checkfs.sh
S30procps.sh
S35mountall.sh
S36mountall-bootclean.sh
S36udev-mtab
S39ifupdown
S40networking
S43portmap *
S45mountnfs.sh *
S46mountnfs-bootclean.sh *
S55bootmisc.sh
S55urandom *
S70x11-common *
S75sudo *
S99stop-bootlogd-single

This segment takes about 40 seconds.  The scripts S01-S11 alone take about
20 seconds.  Most of these seem like they would need to be run for my
application or for safety's sake, except for possibly the ones marked by
asterisks.  I turned those off, but there was no appreciable change in
boot time.

The last segment of the boot sequence runs the scripts in /etc/rc2.d:

startx *
apache2 *
nsf-common *
portmap *
sysklogd
klogd
openbsd-inetd
ssh
cron
rclocal
rmnologin
stop-bootlogd

I turned off the scripts marked with asterisks, but saw no appreciable
decrease in the boot time.  This segment only takes about 10 seconds
anyway.

Can someone tell me how to set what gets loaded/run in the first boot
segment, and possibly what other scripts/daemons could probably be shut
off without any negative consequences?  I'll probably turn off syslogd and
klogd once we are through with development.

Don

>
> Check the /etc/inittab file, it will tell you what script gets executed
> after init ( process 1 sharted by the kernel ) has done the other stuff in
> inittab. I think it is /etc/init.d/rcS , which just runs the scripts
> linked
> in directory /etc/rcS.d
>
> But something like
>
>   echo "Running rcS.d ....."
>
> in the beginning of /etc/init.d/rcS . That will give you an idea of how
> long it takes for the kernel to load and initialise and ditto for init .
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU