Menu

#5365 bMips display/calculation wrong?

1.940
open
nobody
None
5
2020-11-24
2020-03-21
No

Webmin 1.942.0313.1749 reports my Raspberry Pi4 with Processor information: ARMv7 Processor rev 3 (v7l) @ 108 bMips, 4 cores
My understanding is that each core has 108 bMips, see for example cat /proc/cpuinfo:
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

Hardware : BCM2835
Revision : c03111
Serial : 10000000f7c7a5e0
Model : Raspberry Pi 4 Model B Rev 1.1

Related

Bugs: #5365

Discussion

  • Jamie Cameron

    Jamie Cameron - 2020-03-21

    Can you attach a screenshot of where you're seeing this in Webmin?

     
  • Michael Byczkowski

    Sure, see the attached file, it's in the right column.

     
  • Jamie Cameron

    Jamie Cameron - 2020-03-21

    For bogomips and Mhz, webmin shows the per-core number ... it doesnt add them up.

     
  • Michael Byczkowski

    Sure, but shouldn't it read then
    ARMv7 Processor rev 3 (v7l), 4 cores @ 108 bMips each
    instead of
    ARMv7 Processor rev 3 (v7l) @ 108 bMips, 4 cores
    as it does currently?

     
  • Jamie Cameron

    Jamie Cameron - 2020-03-22

    I'd prefer it be consistent with the way CPUs with a Mhz number are shown, which is like Intel(R) Xeon(R) CPU E5-2430 v2 @ 2.50GHz, 12 cores

     
  • Michael Byczkowski

    Understood Jamie; the CPU frequency is available at cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
    Alternativley, why not simpyl multiply bMips with cores and disply the result; here, that'd be "ARMv7 Processor rev 3 (v7l) @ 432 bMips, 4 cores"

     
  • Jamie Cameron

    Jamie Cameron - 2020-03-22

    It wouldn't make sense to multiple the CPU Mhz like this, so I don't think it makes sense for bogomips anyway. It's a rough measure of single-threaded CPU speed, not total computing power.

     
  • Michael Byczkowski

    Just to add: MHz value is 0 on Raspberry Pi 4B:
    CPU type: Raspberry Pi 4 Model B Rev 1.1 (0 MHz) , 4 cores
    (on https://server:10000/proc/index_cpu.cgi?xnavigation=1)

     
  • Ilia

    Ilia - 2020-11-24

    Just to add: MHz value is 0 on Raspberry Pi 4B: CPU type: Raspberry Pi 4 Model B Rev 1.1 (0 MHz) , 4 cores

    Hmm, what is the output of on that system:

    cat /proc/cpuinfo
    
     
    • Michael Byczkowski

      processor : 0
      BogoMIPS : 108.00
      Features : fp asimd evtstrm crc32 cpuid
      CPU implementer : 0x41
      CPU architecture: 8
      CPU variant : 0x0
      CPU part : 0xd08
      CPU revision : 3

      processor : 1
      BogoMIPS : 108.00
      Features : fp asimd evtstrm crc32 cpuid
      CPU implementer : 0x41
      CPU architecture: 8
      CPU variant : 0x0
      CPU part : 0xd08
      CPU revision : 3

      processor : 2
      BogoMIPS : 108.00
      Features : fp asimd evtstrm crc32 cpuid
      CPU implementer : 0x41
      CPU architecture: 8
      CPU variant : 0x0
      CPU part : 0xd08
      CPU revision : 3

      processor : 3
      BogoMIPS : 108.00
      Features : fp asimd evtstrm crc32 cpuid
      CPU implementer : 0x41
      CPU architecture: 8
      CPU variant : 0x0
      CPU part : 0xd08
      CPU revision : 3

      Hardware : BCM2835
      Revision : c03111
      Serial : 10000000f7c7a5e0
      Model : Raspberry Pi 4 Model B Rev 1.1

      On 24. Nov 2020, at 13:49, Ilia Rostovtsev rostovtsev@users.sourceforge.net wrote:

      Just to add: MHz value is 0 on Raspberry Pi 4B: CPU type: Raspberry Pi 4 Model B Rev 1.1 (0 MHz) , 4 cores

      Hmm, what is the output of on that system:

      cat /proc/cpuinfo
      [bugs:#5365] https://sourceforge.net/p/webadmin/bugs/5365/ bMips display/calculation wrong?

      Status: open
      Group: 1.940
      Created: Sat Mar 21, 2020 11:14 AM UTC by Michael Byczkowski
      Last Updated: Tue Nov 24, 2020 12:34 PM UTC
      Owner: nobody

      Webmin 1.942.0313.1749 reports my Raspberry Pi4 with Processor information: ARMv7 Processor rev 3 (v7l) @ 108 bMips, 4 cores
      My understanding is that each core has 108 bMips, see for example cat /proc/cpuinfo:
      processor : 0
      model name : ARMv7 Processor rev 3 (v7l)
      BogoMIPS : 108.00
      Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant : 0x0
      CPU part : 0xd08
      CPU revision : 3

      processor : 1
      model name : ARMv7 Processor rev 3 (v7l)
      BogoMIPS : 108.00
      Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant : 0x0
      CPU part : 0xd08
      CPU revision : 3

      processor : 2
      model name : ARMv7 Processor rev 3 (v7l)
      BogoMIPS : 108.00
      Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant : 0x0
      CPU part : 0xd08
      CPU revision : 3

      processor : 3
      model name : ARMv7 Processor rev 3 (v7l)
      BogoMIPS : 108.00
      Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
      CPU implementer : 0x41
      CPU architecture: 7
      CPU variant : 0x0
      CPU part : 0xd08
      CPU revision : 3

      Hardware : BCM2835
      Revision : c03111
      Serial : 10000000f7c7a5e0
      Model : Raspberry Pi 4 Model B Rev 1.1

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/5365/ https://sourceforge.net/p/webadmin/bugs/5365/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #5365


Log in to post a comment.