Hello Petter,

 On Monday, September 11, 2006 at 22:41:24 +0200, Petter Reinholdtsen wrote:

> a lot of time is spent in hwclockfirst.sh and hwclock.sh.  Dropping
> these from the boot reduced the boot time from 44 to 28 seconds.

Are you sure? They are supposed to take between 1 and 2 seconds.


> the kernel seem to read the hardware clock on its own

Yes: AFAICS on all arches, since ages. Perhaps since day #1.


> and thus do not need hwclock to do it as part of the boot sequence.

Well, hwclock deals with timezones and summer time, calculates and
compensates the drift, and does a better job.


> Because of this, I suggest adding code in hwclock.sh to not do
> anything on i386 if the kernel is 2.6 or newer

This would gain bootup speed, but cost too much in precision. It would
not be a good idea IMHO.


Alain.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to