Quote:
Originally Posted by jharker
[...] 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.
|
Nice chart! The 5 secs part will be difficult, since the real bootings only starts after 6 sec?
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);
}