Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
/proc/cpuinfo is different from lscpu / lshw
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

/proc/cpuinfo is different from lscpu / lshw

o_be_oneo_be_one Member

Hello LET community,

i'm not really used to this kind of behavior, providers i normally use always show real CPU info. Here, i get "QEMU Virtual CPU" and i see difference between different commands to give informations about CPU.

Here the /proc/cpuinfo:

[email protected]:~# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : QEMU Virtual CPU version 2.5+
stepping : 3
microcode : 0x1000065
cpu MHz : 3792.874
cache size : 512 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl cpuid pni cx16 x2apic hypervisor lahf_lm svm 3dnowprefetch vmmcall
bugs : fxsave_leak sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
bogomips : 7585.74
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

Here the lshw -C processor:

[email protected]:~# lshw -C processor
*-cpu:0
description: CPU
product: QEMU Virtual CPU version 2.5+
vendor: Advanced Micro Devices [AMD]
physical id: 400
bus info: [email protected]
version: pc-i440fx-2.11
slot: CPU 0
size: 2GHz
capacity: 2GHz
width: 64 bits
capabilities: fpu fpu_exception wp de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx x86-64 nopl cpuid pni cx16 x2apic hypervisor lahf_lm svm 3dnowprefetch vmmcall
configuration: cores=1 enabledcores=1 threads=1

Here the lscpu:

[email protected]:~# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 2
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 6
Model: 6
Model name: QEMU Virtual CPU version 2.5+
Stepping: 3
CPU MHz: 3792.874
BogoMIPS: 7585.74
Virtualization: AMD-V
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 64K
L1i cache: 64K
L2 cache: 512K
L3 cache: 16384K
NUMA node0 CPU(s): 0,1
Flags: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl cpuid pni cx16 x2apic hypervisor lahf_lm svm 3dnowprefetch vmmcall

And here the dmidecode:

Handle 0x0400, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU 0
Type: Central Processor
Family: Other
Manufacturer: QEMU
ID: 63 06 00 00 FD FB 8B 07
Version: pc-i440fx-2.11
Voltage: Unknown
External Clock: Unknown
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 1
Core Enabled: 1
Thread Count: 1
Characteristics: None

Is it normal to show 3.7GHz and 2GHz at the same time? I've tried to search on google but probably i don't use good keywords for that...

Is there a way to better check this?

One last question: when we see frequency, i've seen that we often see the "base" frequency but never the "boost" frequency. Does providers limits access to the "boost"? I mean if a cpu is 3.7GHz to 4.4GHz, i see 3.7GHz but can i go to 4.4GHz? How can i check it?

Thanks a lot, i feel confused with this...

DevOps and Site Reliability Engineer. Looks cool when i know what i do.
Doing useless stuffs on amazing providers services because... Why not?

Comments

  • umiumi Member
    edited June 15

    Check it with unixbench what it's really capable of. Words are often misleading.

  • o_be_oneo_be_one Member

    @umi said: Check it with unixbench what it's really capable of. Words are often misleading.

    Good idea, i did a test already with GeekBench 5:
    https://browser.geekbench.com/v5/cpu/2541406

    DevOps and Site Reliability Engineer. Looks cool when i know what i do.
    Doing useless stuffs on amazing providers services because... Why not?
  • sgheghelesgheghele Member
    edited June 15

    @o_be_one, if it is of any help, I have the same differing MHz outputs with my BuyVM Ryzen VPS. They do not hide CPU infos, so I guess that the behavior you are observing is normal.
    Either badly reported values, or these CPUs have low idling frequencies.

    cat /proc/cpuinfo

    processor       : 0
    vendor_id       : AuthenticAMD
    cpu family      : 23
    model           : 113
    model name      : AMD Ryzen 9 3900X 12-Core Processor
    stepping        : 0
    microcode       : 0x1000065
    cpu MHz         : 3792.872
    cache size      : 512 KB
    physical id     : 0
    siblings        : 1
    core id         : 0
    cpu cores       : 1
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 13
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw perfctr_core ssbd ibpb vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip
    bugs            : fxsave_leak sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
    bogomips        : 7585.74
    TLB size        : 1024 4K pages
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    

    (cutting next outputs to the relevant infos only)

    lshw -C processor

    >     *-cpu:0                   
    >        description: CPU
    >        product: AMD Ryzen 9 3900X 12-Core Processor
    >        vendor: Advanced Micro Devices [AMD]
    >        size: 2GHz
    >        capacity: 2GHz
    

    dmidecode

    Handle 0x0400, DMI type 4, 42 bytes
    Processor Information
            Socket Designation: CPU 0
            Max Speed: 2000 MHz
            Current Speed: 2000 MHz
    

    lscpu

    Model name:                      AMD Ryzen 9 3900X 12-Core Processor
    Stepping:                        0
    CPU MHz:                         3792.872
    
    Thanked by 1o_be_one
  • umiumi Member

    959 single core is a goody ;)

    Thanked by 2o_be_one RedSox
  • o_be_oneo_be_one Member
    edited June 15

    @sgheghele said: @o_be_one, if it is of any help, I have the same differing MHz outputs with my BuyVM Ryzen VPS.

    Thanks you, it's a perfect comparison i think. @Francisco maybe you can add an expert point of view? Could be interesting to know more ^^. Thanks!

    I also know @seriesn with knowledge in Ryzen, could be also really interesting to have your input ^^.

    DevOps and Site Reliability Engineer. Looks cool when i know what i do.
    Doing useless stuffs on amazing providers services because... Why not?
  • umiumi Member
    edited June 15

    My BuyVM's benches with bench.sh and unixbench shows that they all 3 are very capable CPU's and probably is overkill for a DNS server, but it's nice to have a CPU power to handle possible spikes of traffic. As for stability - just started 2 days ago outer pings monitoring and so far not any single icmp4 packet has not been lost. Great vpses and network, Francisco! Not even mention of anycast yet! More on that later.

    Luxembourg
    
    ----------------------------------------------------------------------
    CPU model            : Intel(R) Xeon(R) CPU E3-1241 v3 @ 3.50GHz
    Number of cores      : 1
    CPU frequency        : 3499.990 MHz
    Total size of Disk   : 9.3 GB (1.5 GB Used)
    Total amount of Mem  : 483 MB (46 MB Used)
    Total amount of Swap : 511 MB (0 MB Used)
    System uptime        : 0 days, 0 hour 2 min
    Load average         : 0.06, 0.02, 0.00
    OS                   : Debian GNU/Linux 10
    Arch                 : x86_64 (64 Bit)
    Kernel               : 4.19.0-9-amd64
    ----------------------------------------------------------------------
    I/O speed(1st run)   : 493 MB/s
    I/O speed(2nd run)   : 363 MB/s
    I/O speed(3rd run)   : 536 MB/s
    Average I/O speed    : 464.0 MB/s
    ----------------------------------------------------------------------
    Node Name                       IPv4 address            Download Speed
    CacheFly                        205.234.175.175         75.5MB/s      
    Linode, Tokyo2, JP              139.162.65.37           3.61MB/s      
    Linode, Singapore, SG           139.162.23.4            4.25MB/s      
    Linode, London, UK              176.58.107.39           14.1MB/s      
    Linode, Frankfurt, DE           139.162.130.8           59.9MB/s      
    Linode, Fremont, CA             50.116.14.9             5.31MB/s      
    Softlayer, Dallas, TX           173.192.68.18           4.68MB/s      
    Softlayer, Seattle, WA          67.228.112.250          3.35MB/s      
    Softlayer, Frankfurt, DE        159.122.69.4            58.6MB/s      
    Softlayer, Singapore, SG        119.81.28.170           2.32MB/s      
    Softlayer, HongKong, CN         119.81.130.170          4.24MB/s      
    ----------------------------------------------------------------------
       BYTE UNIX Benchmarks (Version 5.1.3)
    
       System: localhost: GNU/Linux
       OS: GNU/Linux -- 4.19.0-9-amd64 -- #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07)
       Machine: x86_64 (unknown)b
       Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
       CPU 0: Intel(R) Xeon(R) CPU E3-1241 v3 @ 3.50GHz (7000.0 bogomips)
              x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
       16:51:34 up 34 min,  2 users,  load average: 0.20, 0.10, 0.04; runlevel 2020-06-10
    
    ------------------------------------------------------------------------
    Benchmark Run: Wed Jun 10 2020 16:51:34 - 17:19:27
    1 CPU in system; running 1 parallel copy of tests
    
    Dhrystone 2 using register variables       36622093.5 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                     6914.9 MWIPS (9.0 s, 7 samples)
    Execl Throughput                               3755.5 lps   (30.0 s, 2 samples)
    File Copy 1024 bufsize 2000 maxblocks        723953.0 KBps  (30.0 s, 2 samples)
    File Copy 256 bufsize 500 maxblocks          198558.3 KBps  (30.0 s, 2 samples)
    File Copy 4096 bufsize 8000 maxblocks       1975611.2 KBps  (30.0 s, 2 samples)
    Pipe Throughput                             1127104.6 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                 245676.4 lps   (10.0 s, 7 samples)
    Process Creation                               8517.4 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                   6855.4 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                    895.5 lpm   (60.0 s, 2 samples)
    System Call Overhead                         863671.3 lps   (10.0 s, 7 samples)
    
    System Benchmarks Index Values               BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         116700.0   36622093.5   3138.1
    Double-Precision Whetstone                       55.0       6914.9   1257.3
    Execl Throughput                                 43.0       3755.5    873.4
    File Copy 1024 bufsize 2000 maxblocks          3960.0     723953.0   1828.2
    File Copy 256 bufsize 500 maxblocks            1655.0     198558.3   1199.7
    File Copy 4096 bufsize 8000 maxblocks          5800.0    1975611.2   3406.2
    Pipe Throughput                               12440.0    1127104.6    906.0
    Pipe-based Context Switching                   4000.0     245676.4    614.2
    Process Creation                                126.0       8517.4    676.0
    Shell Scripts (1 concurrent)                     42.4       6855.4   1616.8
    Shell Scripts (8 concurrent)                      6.0        895.5   1492.4
    System Call Overhead                          15000.0     863671.3    575.8
                                                                       ========
    System Benchmarks Index Score                                        1241.9
    
    
    New York
    
    ----------------------------------------------------------------------
    CPU model            : Intel(R) Xeon(R) CPU E3-1241 v3 @ 3.50GHz
    Number of cores      : 1
    CPU frequency        : 3499.998 MHz My BuyVM's benches with bench.sh and unixbench shows that they all 3 are very capable  CPU's and probably is overkill for a DNS server, but it's nice to have a CPU power to hOverhead
    Total size of Disk   : 9.3 GB (1.5 GB Used)
    Total amount of Mem  : 483 MB (47 MB Used)
    Total amount of Swap : 511 MB (0 MB Used)
    System uptime        : 0 days, 0 hour 2 min
    Load average         : 0.04, 0.01, 0.00
    OS                   : Debian GNU/Linux 10
    Arch                 : x86_64 (64 Bit)
    Kernel               : 4.19.0-9-amd64
    ----------------------------------------------------------------------
    I/O speed(1st run)   : 464 MB/s
    I/O speed(2nd run)   : 538 MB/s
    I/O speed(3rd run)   : 551 MB/s My BuyVM's benches with bench.sh and unixbench shows that they all 3 are very capable  CPU's and probably is overkill for a DNS server, but it's nice to have a CPU power to hOverhead
    Average I/O speed    : 517.7 MB/s
    ----------------------------------------------------------------------
    Node Name                       IPv4 address            Download Speed
    CacheFly                        205.234.175.175         87.2MB/s      
    Linode, Tokyo2, JP              139.162.65.37           9.58MB/s      
    Linode, Singapore, SG           139.162.23.4            6.58MB/s      
    Linode, London, UK              176.58.107.39           17.6MB/s      
    Linode, Frankfurt, DE           139.162.130.8           18.6MB/s      
    Linode, Fremont, CA             50.116.14.9             21.9MB/s      
    Softlayer, Dallas, TX           173.192.68.18           25.4MB/s      
    Softlayer, Seattle, WA          67.228.112.250          17.1MB/s      
    Softlayer, Frankfurt, DE        159.122.69.4            14.3MB/s      
    Softlayer, Singapore, SG        119.81.28.170           4.67MB/s      
    Softlayer, HongKong, CN         119.81.130.170          5.44MB/s      
    ----------------------------------------------------------------------
       BYTE UNIX Benchmarks (Version 5.1.3)
    
       System: localhost: GNU/Linux
       OS: GNU/Linux -- 4.19.0-9-amd64 -- #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07)
       Machine: x86_64 (unknown)
       Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
       CPU 0: Intel(R) Xeon(R) CPU E3-1241 v3 @ 3.50GHz (7000.0 bogomips)
              x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
       17:37:15 up  1:10,  2 users,  load average: 0.37, 0.11, 0.04; runlevel 2020-06-10
    
    ------------------------------------------------------------------------
    Benchmark Run: Wed Jun 10 2020 17:37:15 - 18:05:08
    1 CPU in system; running 1 parallel copy of tests
    
    Dhrystone 2 using register variables       41370205.9 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                     6955.1 MWIPS (9.1 s, 7 samples)
    Execl Throughput                               4502.0 lps   (30.0 s, 2 samples)
    File Copy 1024 bufsize 2000 maxblocks        806878.3 KBps  (30.0 s, 2 samples)
    File Copy 256 bufsize 500 maxblocks          222286.1 KBps  (30.0 s, 2 samples)
    File Copy 4096 bufsize 8000 maxblocks       2220845.4 KBps  (30.0 s, 2 samples)
    Pipe Throughput                             1240772.2 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                 278283.5 lps   (10.0 s, 7 samples)
    Process Creation                              10252.0 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                   8350.3 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                   1113.2 lpm   (60.0 s, 2 samples)
    System Call Overhead                         897393.5 lps   (10.0 s, 7 samples)
    
    System Benchmarks Index Values               BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         116700.0   41370205.9   3545.0
    Double-Precision Whetstone                       55.0       6955.1   1264.6
    Execl Throughput                                 43.0       4502.0   1047.0
    File Copy 1024 bufsize 2000 maxblocks          3960.0     806878.3   2037.6
    File Copy 256 bufsize 500 maxblocks            1655.0     222286.1   1343.1
    File Copy 4096 bufsize 8000 maxblocks          5800.0    2220845.4   3829.0
    Pipe Throughput                               12440.0    1240772.2    997.4
    Pipe-based Context Switching                   4000.0     278283.5    695.7
    Process Creation                                126.0      10252.0    813.7
    Shell Scripts (1 concurrent)                     42.4       8350.3   1969.4
    Shell Scripts (8 concurrent)                      6.0       1113.2   1855.4
    System Call Overhead                          15000.0     897393.5    598.3
                                                                       ========
    System Benchmarks Index Score                                        1408.0
    
    
    Las Vegas
    
    ----------------------------------------------------------------------
    CPU model            : AMD Ryzen 9 3900X 12-Core Processor
    Number of cores      : 1
    CPU frequency        : 3792.874 MHz
    Total size of Disk   : 9.3 GB (1.5 GB Used)
    Total amount of Mem  : 483 MB (48 MB Used)
    Total amount of Swap : 511 MB (0 MB Used)
    System uptime        : 0 days, 0 hour 4 min
    Load average         : 0.34, 0.21, 0.08
    OS                   : Debian GNU/Linux 10
    Arch                 : x86_64 (64 Bit)
    Kernel               : 4.19.0-9-amd64
    ----------------------------------------------------------------------
    I/O speed(1st run)   : 700 MB/s
    I/O speed(2nd run)   : 678 MB/s
    I/O speed(3rd run)   : 820 MB/s
    Average I/O speed    : 732.7 MB/s
    ----------------------------------------------------------------------
    Node Name                       IPv4 address            Download Speed
    CacheFly                        205.234.175.175         71.7MB/s      
    Linode, Tokyo2, JP              139.162.65.37           12.1MB/s      
    Linode, Singapore, SG           139.162.23.4            6.43MB/s      
    Linode, London, UK              176.58.107.39           9.01MB/s      
    Linode, Frankfurt, DE           139.162.130.8           9.57MB/s      
    Linode, Fremont, CA             50.116.14.9             55.8MB/s      NL
    
    Softlayer, Dallas, TX           173.192.68.18           33.6MB/s      
    Softlayer, Seattle, WA          67.228.112.250          40.5MB/s      
    Softlayer, Frankfurt, DE        159.122.69.4            8.22MB/s      
    Softlayer, Singapore, SG        119.81.28.170           7.16MB/s      
    Softlayer, HongKong, CN         119.81.130.170          8.21MB/s      
    ----------------------------------------------------------------------
       BYTE UNIX Benchmarks (Version 5.1.3)
    
       System: localhost: GNU/Linux
       OS: GNU/Linux -- 4.19.0-9-amd64 -- #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07)
       Machine: x86_64 (unknown)
       Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
       CPU 0: AMD Ryzen 9 3900X 12-Core Processor (7585.7 bogomips)
              x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
       16:51:40 up 14 min,  1 user,  load average: 0.24, 0.16, 0.10; runlevel 2020-06-10
    
    ------------------------------------------------------------------------
    Benchmark Run: Wed Jun 10 2020 16:51:40 - 17:19:36
    1 CPU in system; running 1 parallel copy of tests
    
    Dhrystone 2 using register variables       43499788.1 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                     8418.9 MWIPS (8.9 s, 7 samples)
    Execl Throughput                               5084.5 lps   (29.8 s, 2 samples)
    File Copy 1024 bufsize 2000 maxblocks       1251694.8 KBps  (30.0 s, 2 samples)
    File Copy 256 bufsize 500 maxblocks          362100.3 KBps  (30.0 s, 2 samples)
    File Copy 4096 bufsize 8000 maxblocks       2710669.8 KBps  (30.0 s, 2 samples)
    Pipe Throughput                             2290456.5 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                 333593.4 lps   (10.0 s, 7 samples)
    Process Creation                              13164.8 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                   9577.2 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                   1265.6 lpm   (60.0 s, 2 samples)
    System Call Overhead                        3290278.6 lps   (10.0 s, 7 samples)
    
    System Benchmarks Index Values               BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         116700.0   43499788.1   3727.5
    Double-Precision Whetstone                       55.0       8418.9   1530.7
    Execl Throughput                                 43.0       5084.5   1182.5
    File Copy 1024 bufsize 2000 maxblocks          3960.0    1251694.8   3160.8
    File Copy 256 bufsize 500 maxblocks            1655.0     362100.3   2187.9
    File Copy 4096 bufsize 8000 maxblocks          5800.0    2710669.8   4673.6
    Pipe Throughput                               12440.0    2290456.5   1841.2
    Pipe-based Context Switching                   4000.0     333593.4    834.0
    Process Creation                                126.0      13164.8   1044.8
    Shell Scripts (1 concurrent)                     42.4       9577.2   2258.8
    Shell Scripts (8 concurrent)                      6.0       1265.6   2109.3
    System Call                                   15000.0    3290278.6   2193.5
    ========
    System Benchmarks Index Score                                        1981.2
    
Sign In or Register to comment.