Hi all,
It seems that the Android boot animation really consumes a lot of CPU. At least when running on the ARM fast models, I see a typical steady- state load (bootanimation+surfaceflinger) of about 65% CPU.
I can kill the boot animation interactively, but does anyone know how to disable it properly? This would likely be a benefit to the test and validation work on the models.
After killing the boot animation, I can boot a fresh release to the desktop in under 8 minutes on the model, with full cache modelling disabled. A preinitialised image will boot to the unlock screen in around 2.5 minutes.
Cheers ---Dave
Hi Dave,
One way to hack it so it never starts is just to rename the bootanimation executable in /system/bin.
I just tried it and my Android boots in a reported 2m or so, about 5 minutes of real time. You get a line like this in the boot output but there are no apparent ill-effects.
[ 14.863680] init: cannot find '/system/bin/bootanimation', disabling 'bootanim'
Chris
-----Original Message----- From: linaro-big-little-bounces@lists.linaro.org [mailto:linaro-big- little-bounces@lists.linaro.org] On Behalf Of Dave Martin Sent: 29 March 2012 10:39 To: linaro-android@lists.linaro.org Cc: linaro-big-little@lists.linaro.org Subject: [Linaro-big-little] Disabling the Android boot animation... ?
Hi all,
It seems that the Android boot animation really consumes a lot of CPU. At least when running on the ARM fast models, I see a typical steady- state load (bootanimation+surfaceflinger) of about 65% CPU.
I can kill the boot animation interactively, but does anyone know how to disable it properly? This would likely be a benefit to the test and validation work on the models.
After killing the boot animation, I can boot a fresh release to the desktop in under 8 minutes on the model, with full cache modelling disabled. A preinitialised image will boot to the unlock screen in around 2.5 minutes.
Cheers ---Dave
linaro-big-little mailing list linaro-big-little@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-big-little
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hi Dave,
I will remove the animation from the build if it helps in reducing boot time.
Regards, Vishal
On 29 March 2012 15:49, Chris Redpath Chris.Redpath@arm.com wrote:
Hi Dave,
One way to hack it so it never starts is just to rename the bootanimation executable in /system/bin.
I just tried it and my Android boots in a reported 2m or so, about 5 minutes of real time. You get a line like this in the boot output but there are no apparent ill-effects.
[ 14.863680] init: cannot find '/system/bin/bootanimation', disabling 'bootanim'
Chris
-----Original Message----- From: linaro-big-little-bounces@lists.linaro.org [mailto:linaro-big- little-bounces@lists.linaro.org] On Behalf Of Dave Martin Sent: 29 March 2012 10:39 To: linaro-android@lists.linaro.org Cc: linaro-big-little@lists.linaro.org Subject: [Linaro-big-little] Disabling the Android boot animation... ?
Hi all,
It seems that the Android boot animation really consumes a lot of CPU. At least when running on the ARM fast models, I see a typical steady- state load (bootanimation+surfaceflinger) of about 65% CPU.
I can kill the boot animation interactively, but does anyone know how to disable it properly? This would likely be a benefit to the test and validation work on the models.
After killing the boot animation, I can boot a fresh release to the desktop in under 8 minutes on the model, with full cache modelling disabled. A preinitialised image will boot to the unlock screen in around 2.5 minutes.
Cheers ---Dave
linaro-big-little mailing list linaro-big-little@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-big-little
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
linaro-big-little mailing list linaro-big-little@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-big-little
On Thu, Mar 29, 2012 at 11:26 AM, Vishal Bhoj vishal.bhoj@linaro.org wrote:
Hi Dave,
I will remove the animation from the build if it helps in reducing boot time.
Regards, Vishal
OK
I'm working on the assumption that this doesn't reduce the validity of the testing, of course.
(But I don't think it does -- the real testing will happen post-boot in any case)
Cheers ---Dave
On Thu, Mar 29, 2012 at 11:19 AM, Chris Redpath Chris.Redpath@arm.com wrote:
Hi Dave,
One way to hack it so it never starts is just to rename the bootanimation executable in /system/bin.
I just tried it and my Android boots in a reported 2m or so, about 5 minutes of real time. You get a line like this in the boot output but there are no apparent ill-effects.
[ 14.863680] init: cannot find '/system/bin/bootanimation', disabling 'bootanim'
Hmmm, simple but effective...
Thanks for the suggestion.
---Dave
-----Original Message----- From: Dave Martin [mailto:dave.martin@linaro.org] Sent: 29 March 2012 11:31 To: Chris Redpath Cc: linaro-android@lists.linaro.org; linaro-big-little@lists.linaro.org Subject: Re: [Linaro-big-little] Disabling the Android boot animation... ?
On Thu, Mar 29, 2012 at 11:19 AM, Chris Redpath Chris.Redpath@arm.com wrote:
Hi Dave,
One way to hack it so it never starts is just to rename the
bootanimation executable in /system/bin.
I just tried it and my Android boots in a reported 2m or so, about 5
minutes of real time. You get a line like this in the boot output but there are no apparent ill-effects.
[ 14.863680] init: cannot find '/system/bin/bootanimation',
disabling 'bootanim'
Hmmm, simple but effective...
Thanks for the suggestion.
---Dave
Incidentally, if you just remove the service definition you get a notification from init each time something tries to start and stop the service - so you can kind of see when boot starts and stops from the output. I have no idea what is trying to start/stop bootanim though :)
Chris
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hello,
For FastModels the overhead comes mainly from changes to the framebuffer. If you don't want to remove the bootanimation service entirely you could make a boot animation with only one frame. In my experience this simple change made a drastic difference in boot time (reduced by half), without having to disable the service.
Regards.
On 29 March 2012 12:43, Chris Redpath Chris.Redpath@arm.com wrote:
-----Original Message----- From: Dave Martin [mailto:dave.martin@linaro.org] Sent: 29 March 2012 11:31 To: Chris Redpath Cc: linaro-android@lists.linaro.org; linaro-big-little@lists.linaro.org Subject: Re: [Linaro-big-little] Disabling the Android boot animation... ?
On Thu, Mar 29, 2012 at 11:19 AM, Chris Redpath Chris.Redpath@arm.com wrote:
Hi Dave,
One way to hack it so it never starts is just to rename the
bootanimation executable in /system/bin.
I just tried it and my Android boots in a reported 2m or so, about 5
minutes of real time. You get a line like this in the boot output but there are no apparent ill-effects.
[ 14.863680] init: cannot find '/system/bin/bootanimation',
disabling 'bootanim'
Hmmm, simple but effective...
Thanks for the suggestion.
---Dave
Incidentally, if you just remove the service definition you get a notification from init each time something tries to start and stop the service - so you can kind of see when boot starts and stops from the output. I have no idea what is trying to start/stop bootanim though :)
Chris
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
linaro-big-little mailing list linaro-big-little@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-big-little
A better way to stop bootanimation is to add "debug.sf.nobootanimation=1" into system/build.prop . This will take care of not starting/stopping the animation .I will push this into our builds and hopefully next daily builds should have the fix.
On 29 March 2012 16:13, Chris Redpath Chris.Redpath@arm.com wrote:
-----Original Message----- From: Dave Martin [mailto:dave.martin@linaro.org] Sent: 29 March 2012 11:31 To: Chris Redpath Cc: linaro-android@lists.linaro.org; linaro-big-little@lists.linaro.org Subject: Re: [Linaro-big-little] Disabling the Android boot animation... ?
On Thu, Mar 29, 2012 at 11:19 AM, Chris Redpath Chris.Redpath@arm.com wrote:
Hi Dave,
One way to hack it so it never starts is just to rename the
bootanimation executable in /system/bin.
I just tried it and my Android boots in a reported 2m or so, about 5
minutes of real time. You get a line like this in the boot output but there are no apparent ill-effects.
[ 14.863680] init: cannot find '/system/bin/bootanimation',
disabling 'bootanim'
Hmmm, simple but effective...
Thanks for the suggestion.
---Dave
Incidentally, if you just remove the service definition you get a notification from init each time something tries to start and stop the service - so you can kind of see when boot starts and stops from the output. I have no idea what is trying to start/stop bootanim though :)
Chris
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
linaro-big-little mailing list linaro-big-little@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-big-little
On Thu, Mar 29, 2012 at 04:23:27PM +0530, Vishal Bhoj wrote:
A better way to stop bootanimation is to add "debug.sf.nobootanimation=1" into system/build.prop . This will take care of not starting/stopping the animation .I will push this into our builds and hopefully next daily builds should have the fix.
Is there a way to pass such system props through a kernel cmdline magic in a debug build? In this way we can avoid hacking such tweaks into the build, but rather enable testers etc. to do that on their side...
On 29 March 2012 16:13, Chris Redpath Chris.Redpath@arm.com wrote:
-----Original Message----- From: Dave Martin [mailto:dave.martin@linaro.org] Sent: 29 March 2012 11:31 To: Chris Redpath Cc: linaro-android@lists.linaro.org; linaro-big-little@lists.linaro.org Subject: Re: [Linaro-big-little] Disabling the Android boot animation... ?
On Thu, Mar 29, 2012 at 11:19 AM, Chris Redpath Chris.Redpath@arm.com wrote:
Hi Dave,
One way to hack it so it never starts is just to rename the
bootanimation executable in /system/bin.
I just tried it and my Android boots in a reported 2m or so, about 5
minutes of real time. You get a line like this in the boot output but there are no apparent ill-effects.
[ 14.863680] init: cannot find '/system/bin/bootanimation',
disabling 'bootanim'
Hmmm, simple but effective...
Thanks for the suggestion.
---Dave
Incidentally, if you just remove the service definition you get a notification from init each time something tries to start and stop the service - so you can kind of see when boot starts and stops from the output. I have no idea what is trying to start/stop bootanim though :)
Chris
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
linaro-big-little mailing list linaro-big-little@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-big-little
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
On Thu, Mar 29, 2012, Alexander Sack wrote:
Is there a way to pass such system props through a kernel cmdline magic in a debug build? In this way we can avoid hacking such tweaks into the build, but rather enable testers etc. to do that on their side...
That would be good to know, but it seems to make more sense to me to do this by default in big.LITTLE Android builds rather than everyone specifying this each time they launch a model?
On 29 March 2012 16:58, Alexander Sack asac@linaro.org wrote:
On Thu, Mar 29, 2012 at 04:23:27PM +0530, Vishal Bhoj wrote:
A better way to stop bootanimation is to add "debug.sf.nobootanimation=1" into system/build.prop . This will take care of not starting/stopping
the
animation .I will push this into our builds and hopefully next daily
builds
should have the fix.
Is there a way to pass such system props through a kernel cmdline magic in a debug build? In this way we can avoid hacking such tweaks into the build, but rather enable testers etc. to do that on their side...
I am not aware of any way to pass this through kernel cmdline to the system,It can be done by adding support for this feature. One way is to extend l-a-m-c tool to support adding system properties.The only alternative I see is the user himself runs "setprop debug.sf.nobootanimation 1" as soon as he reaches the console needs to be done at first boot only.
On 29 March 2012 16:13, Chris Redpath Chris.Redpath@arm.com wrote:
-----Original Message----- From: Dave Martin [mailto:dave.martin@linaro.org] Sent: 29 March 2012 11:31 To: Chris Redpath Cc: linaro-android@lists.linaro.org;
linaro-big-little@lists.linaro.org
Subject: Re: [Linaro-big-little] Disabling the Android boot animation... ?
On Thu, Mar 29, 2012 at 11:19 AM, Chris Redpath <Chris.Redpath@arm.com
wrote:
Hi Dave,
One way to hack it so it never starts is just to rename the
bootanimation executable in /system/bin.
I just tried it and my Android boots in a reported 2m or so, about 5
minutes of real time. You get a line like this in the boot output but there are no apparent ill-effects.
[ 14.863680] init: cannot find '/system/bin/bootanimation',
disabling 'bootanim'
Hmmm, simple but effective...
Thanks for the suggestion.
---Dave
Incidentally, if you just remove the service definition you get a notification from init each time something tries to start and stop the service - so you can kind of see when boot starts and stops from the output. I have no idea what is trying to start/stop bootanim though :)
Chris
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy
the
information in any medium. Thank you.
linaro-big-little mailing list linaro-big-little@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-big-little
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
-- Alexander Sack asac@linaro.org Technical Director, Linaro Platform Teams http://www.linaro.org | Open source software for ARM SoCs http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
On Thu, 29 Mar 2012, Dave Martin wrote:
After killing the boot animation, I can boot a fresh release to the desktop in under 8 minutes on the model, with full cache modelling disabled. A preinitialised image will boot to the unlock screen in around 2.5 minutes.
I think we complain too much. things could be way worse! ;-)
http://dmitry.co/index.php?p=./04.Thoughts/07.%20Linux%20on%208bit
"uARM is certainly no speed demon. It takes about 2 hours to boot to bash prompt ("init=/bin/bash" kernel command line). Then 4 more hours to boot up the entire Ubuntu ("exec init" and then login). Starting X takes a lot longer."
Nicolas
linaro-android@lists.linaro.org