ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] TS-7260 shutdown duration
From: Razvan-Ionut Stoian <>
Date: Thu, 12 May 2011 14:13:26 -0700 (PDT)


It depends on the Linux version and rootfs you use - TS's Busybox, Angstrom, OpenEmbedded, Emdebian, pure  Debian?
 
On a Debian Squeeze rootfs that I have rolled using bootstrap, I performed the following:

1. moved everything that I didn't need to a backup folder.
2. got rid of udev.
3. compiled the kernel, so dev names were kernel-maintained.
4. included the lpj line in the boot command. There's no need for bogomips calculation during booting process.
5. do u need swap space? If not, include "noswap" in the kernel command.
6. if you don't need specific peripherals (e.g., USB stuff), don't compile them into kernel.

On my Atmel based SBC (At91SAM9 @ 400 MHz), I was able to get a maximum boot time of 6 seconds (including kernel decompression). Simply use a few GPIOs  to start the services as soon as your system enters level 2.

Hope this helps.

R.



--- On Thu, 5/12/11, Don Tucker <> wrote:

From: Don Tucker <>
Subject: Re: [ts-7000] TS-7260 shutdown duration
To:
Date: Thursday, May 12, 2011, 4:33 PM

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.

Don

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.
>



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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