Hi Linaro'ers
I need to boot Linaro in very short time as my project has a constraint on energy. The normal linaro boot up time is 2 minutes and 15 seconds on my overo fire. I did a little startup tweaks and achieved 2:00 minutes. Is there a way to boot up Linaro in under 40 sec. ?? This could include increasing CPU speeds or more OS tweaks....
Has anybody worked on this(Linaro boot up times) so far..??
Thanks & Regards. --------------------------------- Sudhangathan BS Ph:(+91) 9731-905-205 ---------------------------------
Hi,
On 12 September 2011 09:29, Sudhangathan B S sudhangathan@gmail.com wrote:
I need to boot Linaro in very short time as my project has a constraint on energy. The normal linaro boot up time is 2 minutes and 15 seconds on my overo fire. I did a little startup tweaks and achieved 2:00 minutes. Is there a way to boot up Linaro in under 40 sec. ?? This could include increasing CPU speeds or more OS tweaks.... Has anybody worked on this(Linaro boot up times) so far..??
Could you give us more context on your results? Which image are you using? How do you measure the boot-up time (start/stop markers)?
Developer Platform Team planned to investigate and improve the boot speed of our Oneiric based images: https://blueprints.launchpad.net/linaro-ubuntu/+spec/bootspeed-investigation...
Cheers,
Fathi
CELF did a bunch of work around boot times, this might be useful - http://elinux.org/images/f/f7/RightApproachMinimalBootTimes.pdf
Dave
David Rusling, CTO
Linaro Lockton House Clarendon Rd Cambridge CB2 8FH
Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
On 12 Sep 2011, at 07:43, Fathi Boudra wrote:
Hi,
On 12 September 2011 09:29, Sudhangathan B S sudhangathan@gmail.com wrote:
I need to boot Linaro in very short time as my project has a constraint on energy. The normal linaro boot up time is 2 minutes and 15 seconds on my overo fire. I did a little startup tweaks and achieved 2:00 minutes. Is there a way to boot up Linaro in under 40 sec. ?? This could include increasing CPU speeds or more OS tweaks.... Has anybody worked on this(Linaro boot up times) so far..??
Could you give us more context on your results? Which image are you using? How do you measure the boot-up time (start/stop markers)?
Developer Platform Team planned to investigate and improve the boot speed of our Oneiric based images: https://blueprints.launchpad.net/linaro-ubuntu/+spec/bootspeed-investigation...
Cheers,
Fathi
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Thankyou for the super quick reponse,
I'l keep track of proposed "Investigate and improve the boot speed of Oneiric based images".. at the said link.
My boot time measurement markers are: Timer start is at the plug-in (i.e. at the instant when overo-fire is powered) Timer end is when all the icons on the desktop have appeared, and loading process is stopped. This is when the processor comes to a nearly idle state. This comes to about 2 minutes approximately after a few tweaks. From the startup applications I removed 1) login sound 2) Personal file sharing 3) Print queue applet 4) Pulse Audio related items 5) User folder update 6) Visual Assistance Prior to which the boot time was approx 2m:15s...
Also wondering whether i can remove the Zeigeist datahub, for I don't know what it is doing.
Thanks & Regards, --------------------------------- Sudhangathan BS Ph:(+91) 9731-905-205 ---------------------------------
On Mon, Sep 12, 2011 at 12:19 PM, David Rusling david.rusling@linaro.orgwrote:
CELF did a bunch of work around boot times, this might be useful - http://elinux.org/images/f/f7/RightApproachMinimalBootTimes.pdf
Dave
David Rusling, CTO
Linaro Lockton House Clarendon Rd Cambridge CB2 8FH
Linaro.org http://www.linaro.org/* **│ *Open source software for ARM SoCs**** Follow *Linaro: *Facebook http://www.facebook.com/pages/Linaro | Twitterhttp://twitter.com/#!/linaroorg | Blog http://www.linaro.org/linaro-blog/****
On 12 Sep 2011, at 07:43, Fathi Boudra wrote:
Hi,
On 12 September 2011 09:29, Sudhangathan B S sudhangathan@gmail.com wrote:
I need to boot Linaro in very short time as my project has a constraint on
energy.
The normal linaro boot up time is 2 minutes and 15 seconds on my overo fire.
I did a little startup tweaks and achieved 2:00 minutes.
Is there a way to boot up Linaro in under 40 sec. ?? This could include
increasing CPU speeds or more OS tweaks....
Has anybody worked on this(Linaro boot up times) so far..??
Could you give us more context on your results? Which image are you using? How do you measure the boot-up time (start/stop markers)?
Developer Platform Team planned to investigate and improve the boot speed of our Oneiric based images:
https://blueprints.launchpad.net/linaro-ubuntu/+spec/bootspeed-investigation...
Cheers,
Fathi
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
On Tue, Sep 13, 2011 at 11:52:40AM +0530, Sudhangathan B S wrote:
My boot time measurement markers are: Timer start is at the plug-in (i.e. at the instant when overo-fire is powered) Timer end is when all the icons on the desktop have appeared, and loading process is stopped. This is when the processor comes to a nearly idle state. This comes to about 2 minutes approximately after a few tweaks. From the startup applications I removed
- login sound
- Personal file sharing
- Print queue applet
- Pulse Audio related items
- User folder update
- Visual Assistance
Prior to which the boot time was approx 2m:15s...
This is still way too much. How long do you take from boot until X paints its first screen?
Also wondering whether i can remove the Zeigeist datahub, for I don't know what it is doing.
I guess it depends on whether you are using Unity; I think it drives the search which the dash uses.
On Wed, 14 Sep 2011 08:52:53 -0300, Christian Robottom Reis kiko@linaro.org wrote:
On Tue, Sep 13, 2011 at 11:52:40AM +0530, Sudhangathan B S wrote:
My boot time measurement markers are: Timer start is at the plug-in (i.e. at the instant when overo-fire is powered) Timer end is when all the icons on the desktop have appeared, and loading process is stopped. This is when the processor comes to a nearly idle state. This comes to about 2 minutes approximately after a few tweaks. From the startup applications I removed
- login sound
- Personal file sharing
- Print queue applet
- Pulse Audio related items
- User folder update
- Visual Assistance
Prior to which the boot time was approx 2m:15s...
This is still way too much. How long do you take from boot until X paints its first screen?
Getting a bootchart can show very quickly where the problem areas are.
I believe that you just need to install the bootchart package and reboot, and the data appear under /var/log/bootchart. If you install the pybootchartgui package as well then you will get charts produced which are easier to deal with.
Thanks,
James
On 14 September 2011 13:03, James Westby james.westby@linaro.org wrote:
Getting a bootchart can show very quickly where the problem areas are.
I believe that you just need to install the bootchart package and reboot, and the data appear under /var/log/bootchart. If you install the pybootchartgui package as well then you will get charts produced which are easier to deal with.
Be a bit careful; given that the boot speed might be limited by SD card performance, writing a lot more to /var/log might not help.
Dave
On Mon, Sep 12, 2011, Sudhangathan B S wrote:
Is there a way to boot up Linaro in under 40 sec. ?? This could include increasing CPU speeds or more OS tweaks....
There are plenty of ways to improve boot, the most effective way being to remove things you don't need (e.g. not starting services you wont use, not building features in your kernel that you don't need etc.). So it's extremely specific to one's own view of what can be removed and what should be kept.
On Mon, Sep 12, 2011 at 11:59:01AM +0530, Sudhangathan B S wrote:
I need to boot Linaro in very short time as my project has a constraint on energy. The normal linaro boot up time is 2 minutes and 15 seconds on my overo fire. I did a little startup tweaks and achieved 2:00 minutes. Is there a way to boot up Linaro in under 40 sec. ?? This could include increasing CPU speeds or more OS tweaks....
Has anybody worked on this(Linaro boot up times) so far..??
What kind of application scenario do you have? My experience is that most "embedded" scenarios do not need most of what a normal "desktop" needs.
With ptxdist, we manage to run a headless MX35 (ARM11 @ 532 MHz) into Linux userspace in 436 milliseconds (measured from power-good to posix userspace), but that requires an optimized bootloader and kernel and running with an initrd. But for a lot of scenarios it is fine to stay with a standard root fs and less aggressive optimizations, which still gives us 6 seconds from power-good up to a fully running Qt application (with a splash during that time).
Most of that should also be achievable with the standard Linaro/Ubuntu scenario, but it has to be hand-optimized. However, it all depends on what you need in your application. If you need a full blown desktop with x.org and everything, you'll probably need a lot more time. However, 2 minutes still sounds very long to me.
However, all you need for optimization is in the boottime sections of the elinux.org wiki.
rsc