Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1591137 > unrolled thread

Re: DIfferent BogoMIPS value after bbaa06702719 ("clocksource/drivers/arm_global_timer: Register delay timer")

Started byRussell King - ARM Linux <linux@armlinux.org.uk>
First post2017-03-02 15:30 +0100
Last post2017-03-02 21:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: DIfferent BogoMIPS value after bbaa06702719  ("clocksource/drivers/arm_global_timer: Register delay timer") Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-03-02 15:30 +0100
    Re: DIfferent BogoMIPS value after bbaa06702719  ("clocksource/drivers/arm_global_timer: Register delay timer") Rafał Miłecki <rafal@milecki.pl> - 2017-03-02 21:40 +0100

#1591137 — Re: DIfferent BogoMIPS value after bbaa06702719 ("clocksource/drivers/arm_global_timer: Register delay timer")

FromRussell King - ARM Linux <linux@armlinux.org.uk>
Date2017-03-02 15:30 +0100
SubjectRe: DIfferent BogoMIPS value after bbaa06702719 ("clocksource/drivers/arm_global_timer: Register delay timer")
Message-ID<tgzTZ-3s2-37@gated-at.bofh.it>
On Thu, Mar 02, 2017 at 02:36:23PM +0100, Rafał Miłecki wrote:
> Hi,
> 
> I just updated kernel on my SmartRG SR400ac (bcm4708-smartrg-sr400ac.dts) from
> 4.4 to 4.9 and noticed that this part of the log:
> [    0.020820] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
> (...)
> [    0.190806] Brought up 2 CPUs
> [    0.200022] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
> 
> became:
> [    0.027082] Calibrating delay loop (skipped), value calculated using timer frequency.. 800.00 BogoMIPS (lpj=4000000)
> (...)
> [    0.078858] Brought up 2 CPUs
> [    0.088254] SMP: Total of 2 processors activated (1600.00 BogoMIPS).
> 
> This is caused by commit bbaa06702719 ("clocksource/drivers/arm_global_timer:
> Register delay timer").
> 
> Is this something expected?

Yes.

> Or should I be worried about this? I'm aware it's just BogoMIPS, but I
> still prefer to ask :)

It's *bogus*.  Bogomips is the calibration value that the kernel uses
to achieve delays.  It has nothing to do with the speed of the CPU on
modern systems that use a timer instead.  (In that case, it's a
calibration value for the timer, rather than a calibration value for
the number of software loops required to achieve a delay.)

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

[toc] | [next] | [standalone]


#1591450

FromRafał Miłecki <rafal@milecki.pl>
Date2017-03-02 21:40 +0100
Message-ID<tgFG2-7vm-11@gated-at.bofh.it>
In reply to#1591137
On 03/02/2017 03:13 PM, Russell King - ARM Linux wrote:
> On Thu, Mar 02, 2017 at 02:36:23PM +0100, Rafał Miłecki wrote:
>> Hi,
>>
>> I just updated kernel on my SmartRG SR400ac (bcm4708-smartrg-sr400ac.dts) from
>> 4.4 to 4.9 and noticed that this part of the log:
>> [    0.020820] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
>> (...)
>> [    0.190806] Brought up 2 CPUs
>> [    0.200022] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
>>
>> became:
>> [    0.027082] Calibrating delay loop (skipped), value calculated using timer frequency.. 800.00 BogoMIPS (lpj=4000000)
>> (...)
>> [    0.078858] Brought up 2 CPUs
>> [    0.088254] SMP: Total of 2 processors activated (1600.00 BogoMIPS).
>>
>> This is caused by commit bbaa06702719 ("clocksource/drivers/arm_global_timer:
>> Register delay timer").
>>
>> Is this something expected?
>
> Yes.
>
>> Or should I be worried about this? I'm aware it's just BogoMIPS, but I
>> still prefer to ask :)
>
> It's *bogus*.  Bogomips is the calibration value that the kernel uses
> to achieve delays.  It has nothing to do with the speed of the CPU on
> modern systems that use a timer instead.  (In that case, it's a
> calibration value for the timer, rather than a calibration value for
> the number of software loops required to achieve a delay.)

Now I can sleep calm ;) thanks!

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web