lkml.org 
[lkml]   [2004]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] preset loops_per_jiffy for faster booting
Date
Dmitry Torokhov wrote:
> On Saturday 10 July 2004 01:28 pm, Adam Kropelin wrote:
>> + Note that on SMP systems the preset will be applied to all CPUs
>> + which will cause problems if for some reason your CPUs need
>> + significantly divergent settings.
>> +
>> + If unsure, set this to 0. An incorrect value will cause delays in
>> + the kernel to be wrong, leading to unpredictable I/O errors and
>> + other breakage. Although unlikely, in the extreme case this might
>> + damage your hardware.
>
> Note that it may also not work correctly on laptops that switch
> frequency when working on battery/AC. Also one needs to be careful
> when changing timesource (pit, tsc, pm, hpet). And always look out
> for timer code changes in next version of kernel.

Certainly many demons lurk around the corner, but embedded guys are used to
that.

> Does 250 ms worth all this pain?

On a desktop box, almost certainly not. On a massive SMP machine, maybe. On
an embedded system that is required to boot in a ridiculously short time,
absolutely.

--Adam

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.072 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site