lkml.org 
[lkml]   [2004]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Celinux-dev] Re: [PATCH] preset loops_per_jiffy for faster booting
On Fri, 9 Jul 2004, Adam Kropelin wrote:
> On Fri, Jul 09, 2004 at 05:20:07PM -0700, Tim Bird wrote:
> > Adam Kropelin wrote:
> + printk("Set 'Preset loops_per_jiffy'=%lu for preset lpj.\n",
> + loops_per_jiffy);

> +config PRESET_LPJ
> + int "Preset loops_per_jiffy" if FASTBOOT
> + default 0
> + help
> + This is the number of loops used by delay() to achieve a single
> + jiffy of delay inside the kernel. It is normally calculated at
> + boot time, but that calculation can take up to 250 ms per CPU.
> + Specifying a constant value here will eliminate that delay.
> +
> + loops_per_jiffy is roughly BogoMips * 5000. To determine the correct
> + value for your kernel, first turn off the fast booting option,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> + compile and boot the kernel on your target hardware, then see what
> + value is printed during the kernel boot. Use that value here.

This is no longer true, it will always print the value if lpj=0.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
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.097 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site