LinuxMCE Forums

General => Users => Topic started by: etheesdad on September 30, 2008, 04:10:57 am

Title: Linux MCE - what is your fastest boot time?
Post by: etheesdad on September 30, 2008, 04:10:57 am
Want to trim down the time MCE takes to load. Anyone achieved good boot speeds? How did you go about it?
Title: Re: Linux MCE - what is your fastest boot time?
Post by: maybeoneday on September 30, 2008, 10:28:00 am
Hi  etheesdad,
 -do you mean boot time for core/hybrid ?  ...if so you're sort of missing the point, ie LMCE is a HUGE piece of software which is designed to be on 24/7 and control the whole home ,it's not  solely  a media centre (even if  as I suspect , a lot of us use it that way) ..So actual boot time is irrelevant    ' )
If you mean  start up time of a media director, I think  that's largely down to limitations of PXE /hardware/AND , once more , the size (and capability) of the system......so it's a little like asking the 0-60
mph time  of  a  mobile crane  !
Having said that  I believe there have been discussions about  MD start up times/resuming from standby etc,
as there is a (valid ?) train of thought that an MD "should" behave like an appliance, and start in  as short a time as possible..-personally ,I  believe that although that's desirable,it's not all that important,as it gives me time for a bathroom  visit before i get into bed  !!
Title: Re: Linux MCE - what is your fastest boot time?
Post by: indulis on October 01, 2008, 02:35:23 pm
Nothing wrong with trying to make it boot faster IMHO.

Here is an article which may help.  If it works, put the info into the Wiki.  We can all use the time saved :-)

http://aldeby.org/blog/index.php/speed-up-your-ubuntu-linux-boot.html
http://www.planetmy.com/blog/improve-linux-boot-up-speed/
http://www.linux.com/article.pl?sid=06/05/03/2126222

Runit is a replacement for the boot process.  Maybe not a great idea with LinuxMCE 710 but LMCE TNG???
Title: Re: Linux MCE - what is your fastest boot time?
Post by: tschak909 on October 02, 2008, 03:43:28 pm
We need some people who are willing to dig into the pluto scripts, so that we could optimize the startup sequence (there are roughly 250 shell and perl and awk scripts that provide the internal plumbing at startup and otherwise.).. Experiments in parallelization and reduction can then be done.

-Thom
Title: Re: Linux MCE - what is your fastest boot time?
Post by: indulis on October 02, 2008, 03:53:14 pm
Thom,

I am willing to do some scripting work, as I have the skills to do this.  Have already started looking at scripts.  This may take a while though!

I have left room on my system for test partitions to create a trashable version of LinuxMCE.  Also backed up a post-install, pre-customise image of the system which I can use to reinstall. 

Would first like to get the system bedded down for a little while and get familiar with how it *should* work normally.
Title: Re: Linux MCE - what is your fastest boot time?
Post by: hari on October 02, 2008, 05:14:05 pm
zaerc already put work into using sysv style scripts to bring up the core.. there is some forum thread about that iirc
Title: Re: Linux MCE - what is your fastest boot time?
Post by: Zaerc on October 02, 2008, 07:04:34 pm
Have a look at this: http://wiki.linuxmce.org/index.php/Clean_Core that might give some pointers.
Title: Re: Linux MCE - what is your fastest boot time?
Post by: brake16 on April 14, 2009, 10:36:54 pm
I don't know enough about the MD startup scripts, but if PXE is part of the problem for the long boot time, would something like this help?  http://etherboot.org/wiki/about (http://etherboot.org/wiki/about).  It looks like gPXE will be coming out "soon".  Would this be something worth trying, or does someone with more linuxMCE knowledge know why this is a non-starter?

This is a branch of coreboot (formerly LinuxBIOS) that aims to drastically cut down boot times.  Variations of coreboot are used in many 'appliance' applications.  See http://www.coreboot.org/Welcome_to_coreboot (http://www.coreboot.org/Welcome_to_coreboot) for more.

brake16
Title: Re: Linux MCE - what is your fastest boot time?
Post by: Techstyle on April 15, 2009, 04:51:49 am
I have tried to put gPXE on a USB stick to get around an MD without a PXE Boot ROM but was unsuccessful.  I will be continueing this effort once I get time.  I would like to see a guide to doing this as a file is downloadable from the gPXE website with the correct NIC driver already setup.

Title: Re: Linux MCE - what is your fastest boot time?
Post by: brake16 on April 15, 2009, 03:56:35 pm
I would like to see a guide to doing this as a file is downloadable from the gPXE website with the correct NIC driver already setup.

Well, it's not a guide but from http://rom-o-matic.net/ (http://rom-o-matic.net/):

Quote
For help and information about getting your OS loaded with gPXE or Etherboot,
Visit the Etherboot Home Page at http://www.etherboot.org/ (http://www.etherboot.org/)
and join the Etherboot-Discuss mailing list.
Sign up at: http://lists.sourceforge.net/lists/listinfo/etherboot-discuss (http://lists.sourceforge.net/lists/listinfo/etherboot-discuss)


Real-time help is often available on IRC on the #etherboot channel of irc.freenode.net.

brake16
Title: Re: Linux MCE - what is your fastest boot time?
Post by: Techstyle on April 15, 2009, 09:20:13 pm
I followed the instructions on http://rom-o-matic.net/ and downloaded a boot ROM for my NIC

I then (sort of) followed the instructions for a USB Key from http://etherboot.org/wiki/removable (http://etherboot.org/wiki/removable) 

such that I already had the rom so did not need to use the 'make' command

I used the 'dd' command to transfer the image to the USB Key but got an error message when trying to boot from it.

I was hoping to find an easier way than the Wiki page explaining how to do this with grub for those of us that are not so Linux familiar.  I need to do some more work and maybe I should take this to a separate thread
Title: Re: Linux MCE - what is your fastest boot time?
Post by: Techstyle on April 15, 2009, 10:33:37 pm
I split off the thread to http://forum.linuxmce.org/index.php?topic=7930.0 (http://forum.linuxmce.org/index.php?topic=7930.0) if you want to talk about gPXE