11-11-2008, 08:26 AM | #1 |
Developer
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
The iLiad boot process
Hey, folks. I recently read about the five-second boot presented at the Linux Plumbers Conference. It got me thinking about doing something similar for the iLiad. As a first step, I got a copy of Bootchart and set it up to run on my iLiad during boot. I clocked my iLiad at about 52 seconds, from flipping the power switch to seeing the ContentLister.
I see a few places where time is apparently wasted, but I think the LPC guys have a good point: the goal isn't to reduce boot speed, it's to set a budget (5 seconds) for boot and then redesign the boot to make it hit the goal. Anyway, redesigning boot occurs fairly late in our list of milestones, so I don't plan on doing extensive work on this any time soon. I was just curious, and thought you might find it interesting. BTW, thanks to Adam for providing updated Busybox that helped me get this running. Bootchart also requires a little hacking to get it to run correctly. Thankfully, it's just a shell script, so it's pretty easy to hack. Anyway, here's the result. Bear in mind that I had to put Bootchart into the init.d scripts to get it to run, so it starts a little bit later than it normally would. |
11-11-2008, 08:30 AM | #2 |
Re-Iliadist
Posts: 23
Karma: 10
Join Date: Oct 2008
Device: none
|
Good work !
|
Advert | |
|
11-11-2008, 08:49 AM | #3 | |
JSR FFD2
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Quote:
The cpu is running at 100% almost all the time, so the only possible improvement is skipping things... What about: Code:
const char *kHz="2000"; fp = fopen("/proc/sys/cpu/0/speed", "w"); if (fp) { fputs(kHz, fp); fclose(fp); } Last edited by hansel; 11-11-2008 at 09:06 AM. Reason: briliant idea |
|
11-11-2008, 09:02 AM | #4 |
Developer
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
|
11-11-2008, 01:46 PM | #5 |
Wizard
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
Even if it could get into the twenty second range that would be a great improvement and put it in the range of the cybook.
|
Advert | |
|
11-11-2008, 02:21 PM | #6 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
I agree :-).
Quote:
And we can easily gain a significant number of additional seconds making the init simpler (just one script, no awk, etc.). So the future is bright PD: this is consistent with scotty's experiment of launching a java app directly instead of contentlister; he reported that the boot time almost halved Last edited by Antartica; 11-11-2008 at 02:24 PM. |
|
11-11-2008, 03:12 PM | #7 |
Wizard
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
You guys could give the iLiad a whole second life with this type of progress!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iLiad My Iliad doesn't boot | miguel.ossa | iRex | 1 | 08-14-2010 12:21 PM |
iLiad Iliad bootloader: how to break automatic boot process? | alegeott | iRex Developer's Corner | 2 | 12-03-2009 01:16 PM |
iLiad hangs at the boot stage | haihaowu | iRex | 5 | 09-22-2009 01:26 PM |
iLiad hangs on boot - Reflash / Format doesn't help | oakinger | iRex | 12 | 09-05-2008 04:12 AM |
Is there a way to change iliad boot screen | punk | iRex | 2 | 05-30-2008 11:49 AM |