[LIVE] Our ideas for optimizing XBMC Live (Linux OS) for shorter perceived boot-time?

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
webbanane Offline
Junior Member
Posts: 40
Joined: Jun 2007
Reputation: 0
Lightbulb  [LIVE] Our ideas for optimizing XBMC Live (Linux OS) for shorter perceived boot-time? Post: #1
Hi!

This is a call for brainstorming ideas!

I believe one of the most important WAF (women acceptance factor) is the boot-time (and my own acceptance factor in living room). This definitely was the MAIN reason why I prefered to take a proprietary MICROSOFT Xbox with XBMC over a notebook! I believe I can not overstress this fact!

My women would never accept a device in living room that takes more than 10 seconds to boot to show a short video for the kids. Otherwise only VCR and DVD-Player would be acceptable and comparable! (The latter is the right/real competition for measuring boot time!)

I never saw a PC with an "operating system" AND "application" boot so extremely fast like XBMC Cool!

As Gamester17 says:
Gamester17 Wrote:Remember that fast load and boot times only needs to be for end-user perception (other things can still run/start in the background without the user knowledge, ...like for Windows, only becuase you can move the mouse and browse the start-menu does not mean that Windows has finished booting).

BUT: XBMC REALLY was READY to OPERATE after 10 seconds! I can start selecting menu entries, browse my LAN-drive, start a video after about 20 seconds at all!

How can we preserve this with XBMC on linux? Does anybody know? Did anybody try things like that? Can we reach "our" old XBMC boot time of 10 seconds with ubuntu (embedded)? What is about Apple TV?

Here a guy is talking of a 3 seconds boot time for linux single user mode with a special linux BIOS (linux kernel within BIOS):
http://www.epiacenter.de/modules.php?nam...er=&thold=

The rules of brainstorming usually interdict criticism! (But of course this is still a discussion board!) But many ideas shall encourage/inspire new and really good ones!

yuvalt says:
yuvalt Wrote:What about standby (S3)? Should resume in 3 seconds or less..

Gamester17 Wrote:Major To-Do tasks with low priority
* [MAJOR - LOW PRIORITY] Hibernation - Suspend to Disk (STD) (code should be completly different from STR)
** Hibernation (Suspend to Disk), only if could somehow be used to speed up the initial boot-time.
* [MAJOR - LOW PRIORITY] Suspend and Resume support - Suspend to RAM (STR) (not to share code with STD)

This maybe an easy solution! But my impression is: XBMC needs to reboot very often, e.g. when network connections tilt, coruppted media file occur, cancel button pressed, python scripts make trouble and so on.

But perhaps its still a good idea, because only XBMC needs reboot on top of the still and stable running linux (with any kind of special reset button?).

Another additional solution maybe: make XBMC more fault tolerant ...

More ideas? Anybody?

Has anybody tried to deactivate hwprobe and all unneeded HW and measured boot time?

Are there any other standard linux mechanisms that allow for fast operating mode and deferred boot remainder?

PS: If we get a special good solution for this, it might be a solution for many other operating systems at least linux distros as well.
find quote
szsori Offline
TheTVDB.com Admin
Posts: 663
Joined: Aug 2006
Reputation: 1
Location: Milwaukee, WI
Post: #2
I've never heard of WAF having to do with boot time, unless the boot time is ridiculously long. When I had a normal HTPC instead of XBMC, we'd just turn it on when we walked into the room and by the time we got settled in it was ready to go.

That said, lowering the boot time is a good idea and I think one of the XBMC team's goals once they're done porting (I've seen this mentioned at least a couple of times). 10 seconds is a bit on the low side for what people can expect with linux. Yes, it's possible to get really low boot times, but not without tweaking many settings and highly restricting the hardware support.

I think a more realistic goal would be a perceived load time of 30 seconds and then 45 seconds to complete loading everything. Keep in mind that a PC's POST screen will often take 3-5 seconds by itself before even getting to the kernel.
find quote
markr Offline
Junior Member
Posts: 2
Joined: Jul 2007
Reputation: 0
Post: #3
webbanane Wrote:This maybe an easy solution! But my impression is: XBMC needs to reboot very often, e.g. when network connections tilt, coruppted media file occur, cancel button pressed, python scripts make trouble and so on.
Under linux you can just restart XBMC though, rather than reboot the whole computer. Takes about a second. Make a button on your remote control that uses lirc and irexec to kill XBMC and restart it, even faster than restarting an Xbox.

Which isn't to say that fast booting wouldn't be nice to have.
find quote
KodeK Offline
Junior Member
Posts: 5
Joined: Apr 2007
Reputation: 0
Post: #4
Just dropping off to say that my DirecTV TiVo takes about 5 minutes to start up, and that's a regular appliance.

I still hate it, but since the thing never has to be turned off, I don't mind having to wait 5 mins every now and then.
find quote
BenO169 Offline
Member
Posts: 99
Joined: Oct 2006
Reputation: 0
Post: #5
http://lightningcrash.blogspot.com/2007/...conds.html

Wink
find quote
Iceman-UK Offline
Junior Member
Posts: 28
Joined: Jun 2007
Reputation: 0
Location: UK
Post: #6
I am definitely of the opinion that fast-boot up be a Medium priority goal at the very least. It's another corner stone to the "living room experience" and "usability" that is part of the XBMC manifesto (http://xboxmediacenter.com/wiki/index.ph..._manifesto)

Off topic a little bit but...

Call me a party-pooper but is really neccesary to add the "W" in "WAF"? How about just dropping the "W" and just have "AF" or "UAF" for "User Acceptance Factor"?

Why bring this up? Well there are more and more female open-source folks about and stuff like this sounds frankly patronizing. It may put them off contributing to XBMC.org.
find quote
dizzey Offline
Member
Posts: 73
Joined: Jul 2007
Reputation: 0
Post: #7
There could be alot of things done to speed up boot.
if we are good we migth be abel to pu everything in a ramdisk to get faster booting.
be happy with only one vt then we can start X alot soner in the boot process.
let xbmc handel dhcp and networking no need to wait for that.
the list could be made loong.
but still these are things that are in a distance future first we need a stable xbmc
find quote
webbanane Offline
Junior Member
Posts: 40
Joined: Jun 2007
Reputation: 0
Post: #8
Hi Party-Pooper ;-)

No, the "W" is NOT really neccessary! You are totally, right. I opened this thread because it's an (M)AF for me, too, of course! It was never meant "patronizing", REALLY! But it is also my subjective! perception, that "most/usual" females are no technic freaks and therefore not only grumble about 3 minutes boot time (like me), but do NOT ACCEPT such a boot time. This is probably only one example why someone unknown (to me) "invented" WAF. And I have heard of many friends of the "WAF effect" e.g. with hard disk sat receiver and Logitech harmony universal remote. And I would like my wife to accept the next generation of XBMC :-)

Cheers
webbanane
find quote
webbanane Offline
Junior Member
Posts: 40
Joined: Jun 2007
Reputation: 0
Post: #9
Down to 9 seconds! That really sounds great! Well, then let's wait and ...
find quote
Ebbo Offline
Junior Member
Posts: 25
Joined: Feb 2008
Reputation: 0
Location: Stuttgart, Germany
Post: #10
Maybe you should have a look at
http://www.coreboot.org/

and espacially this Youtube clip...

http://www.youtube.com/watch?v=nuzRsXKm_NQ

Full Linux with running XServer in ~5 Seconds... not bad for the beginning.
find quote
Post Reply