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 Sat, Jul 10, 2004 at 04:41:04PM +0200, Geert Uytterhoeven wrote:
    > 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.

    True enough. I'll fix that along with the things Todd noticed.

    --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.020 / U:32.680 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site