ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7260 shutdown duration

To:
Subject: Re: [ts-7000] TS-7260 shutdown duration
From: Jim Jackson <>
Date: Fri, 13 May 2011 08:46:32 +0100 (BST)


On Thu, 12 May 2011, Don Tucker wrote:

> Jim, you're right, it probably isn't needed.  I just thought that it might be
> helpful during the prototype phase where we will be testing the system running
> for long durations without direct observation.  I'll defer to your experience,
> though.  I would like to avoid unnecessary use of the SD card.
> 
> My motivation for dialing down the time is that a user may toggle a power
> switch on the system, and they will need to wait until everything cleanly
> shuts down before actual power is cycled.  I just realized that if they turn
> the toggle the switch in the middle of the system booting, they will need to
> wait for that boot time as well (typically 70-80 seconds)!  Does anyone know
> what to look into to shorten the boot time?  There's a lot more that goes on
> before the scripts in rc2.d start running.

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 .

A lot of the stuuf in rcS.d is generalised by Debian so the OS works on
lots of stuff, servers/laptops/desktops etc, so there is loads of stuff in 
there that will not be needed.

Is there a specific reason you are using the Debian Image? The TSimage is a 
lot leaner.


> 
> On 5/12/2011 1:08 PM, Jim Jackson wrote:
> > 
> > 
> > 
> > On Thu, 12 May 2011, Don Tucker wrote:
> > 
> > > Well, after timing each of the steps at shutdown, most steps take a
> > > second or less. Shutting down apache only takes 2-3 seconds, so I don't
> > > really buy much from turning that daemon off. The big time sinks are (1)
> > > stopping rsyslogd (~14 seconds),
> > 
> > Do you need it? Do you need the syslog messages? It may be luxery you can
> > do without. Unless I need it for debugging during development I think use
> > of syslogd with flash memory is something best avoided.
> > 
> 
> 


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

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