Reply
Thread Tools
Posts: 174 | Thanked: 71 times | Joined on Aug 2007
#31
Originally Posted by gammer View Post
Whether it's needed or not (should not!) - fast boot (and in particular a 5s boot) would be really impressive, and it would be a sign of intellectual power
There's no question it would be impressive...but the point is that it would be completely useless. Considering the waste of development resources to implement...it wouldn't even be useless; rather it would be completely counter-productive and set the platform behind.

You want the impression of fast boot? Uncomment the sections in /etc/systemui/systemui.xml and choose the "Soft poweroff" option. Thanks to G.Antilles for the tip, even if he is a sanctimonious prick.
 

The Following User Says Thank You to dick-richardson For This Useful Post:
Texrat's Avatar
Posts: 11,700 | Thanked: 10,045 times | Joined on Jun 2006 @ North Texas, USA
#32
Originally Posted by igor View Post
Sleep is overrated :-D

And anyway I still have some work to do, but if you are in Ruoholahti this week, feel free to drop by, A504.
Thanks! I'm hopefully meeting TK for supper tonight.
__________________
Nokia Developer Champion
Different <> Wrong | Listen - Judgment = Progress | People + Trust = Success
My personal site: http://texrat.net
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#33
Removing modules and going for a single kernel binary?
The LWN article is a little sparse on details, but on this subject it says "The kernel has to be built without initrd, which takes half a second with nothing in it. So all modules required for boot must be built into the kernel" (emphasis mine).

It looks like we're already there on the "required for boot" front, and we now know that initfs is going away in Fremantle (probably for other more important reasons, but if it happens to improve boot speed at the same time no one's going to complain - same goes for upstart).

More importantly, the current kernel on current hardware takes less than 2" to boot (before initfs kicks in) so there seems to be little point in spending any effort specifically to optimise it further.

If energies have to be put into making the device more efficient, they should be focused on stability, so that the user doesn't have to actually powercycle.
Agree 100%.

If anyone cares enough to try it may still be useful to see bootchart output to identify any obvious userland bottlenecks though.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#34
I think I saw some bootcharts recently in these fora, actually... I don't recall what the point was, nor what thread.

Ah, maybe this was it: http://www.internettablettalk.com/fo...087#post223087

Regarding deblet, not Maemo, so not necessarily enlightening.

Last edited by Benson; 2008-10-06 at 06:54.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#35
Originally Posted by igor View Post
If energies have to be put into making the device more efficient, they should be focused on stability, so that the user doesn't have to actually powercycle.
Hm, on second thought, will HSPA-capable devices require a power cycle to change the SIM? (I don't necessarily expect an answer, but it's something to consider.)

Hopefully not, but AFAIK all current Nokia devices with a SIM slot do. If so, boot time and power consumption during boot/user session startup suddenly become much more important.

This is one of a very few areas where Nokia should take hints from Apple IMHO.
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#36
Originally Posted by lma View Post
Hm, on second thought, will HSPA-capable devices require a power cycle to change the SIM? (I don't necessarily expect an answer, but it's something to consider.)
Um, you're planing on swapping your SIM card more than once a day? :\
__________________
Ryan Abel
 
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#37
Originally Posted by Benson View Post
I think I saw some bootcharts recently in these fora, actually... I don't recall what the point was, nor what thread.

Ah, maybe this was it: http://www.internettablettalk.com/fo...087#post223087

Regarding deblet, not Maemo, so not necessarily enlightening.

http://www.cs.helsinki.fi/u/jvtmuukk/chinook/bootchart/ has ones for chinook.
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 

The Following User Says Thank You to Stskeeps For This Useful Post:
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#38
Originally Posted by maacruz View Post
What kind of answer is that?
There is a goal, boot in 5 seconds, and the summary simply reflects that. I don't know any better how to describe it.
If you don't like the current summary, please suggest one and that will be.
If you think that goal is worth or not, that is a completely different matter, that you can argue at will.
It IS generic. See https://bugs.maemo.org/page.cgi?id=bug-writing.html , especially "Be specific. The quicker the engineers can isolate the bug to a specific area, the more likely they'll fix it."
Feel free to propose explicit technical changes.
__________________
maemo.org Bugmaster
 

The Following User Says Thank You to Andre Klapper For This Useful Post:
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#39
Originally Posted by lma View Post
Hm, on second thought, will HSPA-capable devices require a power cycle to change the SIM? (I don't necessarily expect an answer, but it's something to consider.)

Hopefully not, but AFAIK all current Nokia devices with a SIM slot do. If so, boot time and power consumption during boot/user session startup suddenly become much more important.

This is one of a very few areas where Nokia should take hints from Apple IMHO.
..and Apple has to add removable battery. Besides that, Apple has SIM lock, and sell it like that as well.

We need to keep in mind the reasons one would want to (or must) reboot.

1) User adds/removes physical hardware not supporting hotswap
2) User wishes to reboot to new kernel
3) User puts the device off because it won't be used for quite a while
4) User starts it up because it has crashed
5) User starts it up because it was previously out of power
6) User used suspend or hibernate and this went broken

Case 1 happens far more often on a desktop or cheap server than in quality servers, laptops, embedded devices (including NIT), and such.

Case 2 happens far less on an embedded device as the NIT than on a laptop or nettop. It only happens when a security or reliabability patch has been added. For NIT, it basically only happens during SSU, and then its expected (right? at least from my point of view it is).

Case 3 happens during travelling; planned usage.

Case 4 shouldn't occur, it destroys user's trust/reliability for/on device...

Case 5 occurs quite often. More often than on a desktop or server, but perhaps more on par with a laptop or nettop?

Case 6 isn't supported well on the NIT while it is good supported on laptops and nettops.

If you add it all up, + and -, there is a slight less importance for fast booting on a NIT than on other devices, except in rare cases.

But let me say this. 33 seconds is acceptable to me. 33 seconds is acceptable waiting for my DVR to boot. 15 seconds is acceptable for my TV. 10 seconds is OK for my radio. For my NIT, 1 minute isn't acceptable. That is the point. I don't like to wait for my laptop to boot a minute either. That too is Intel market, but not Nokia market. And, 10 minutes for GPS (or more, or days...)? No that isn't acceptable at all.

So while 33 sec is acceptable, 25 seconds is even better, and 15 too. It isn't a deal-breaker for most people, but its very nice if it boots quicker. That is why on 3rd page Texrat message makes most sense: try to make the device faster, but don't make it some kind of goal to make it 5 seconds. That is undoable. And, learn from others who are aiming at this.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!

Last edited by allnameswereout; 2008-10-06 at 16:34.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#40
Originally Posted by GeneralAntilles View Post
Um, you're planing on swapping your SIM card more than once a day? :\
Not on most days, but I do tend to travel a lot and EU roaming charges are still not low enough.

Maybe I'm a bit spoiled, but right now I can take the tablet to the airport, browse/check email/etc while waiting to board, play 2-3 hours' worth of music and/or video to alleviate flight boredom and still have enough juice left after I land to check email and fire up the GPS to find my hotel/meeting/whatever (and a power socket).

Rebooting eats around 10% of my battery charge once metacrawler etc have settled, so I'd rather not have to do it :-/
 
Reply

Tags
boot


 
Forum Jump


All times are GMT. The time now is 16:35.