LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-30-2021, 01:44 AM   #106
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187

@aus9
Thanks for the info!
I'll look into it when I get home, see what can be done
 
Old 11-30-2021, 02:05 AM   #107
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
drgibbon, thanks, that seems to be correct now. No need for apologies, that was actually a very useful thing to be aware of for me re the line endings, and I might have introduced those myself, I don't know, or pastebin. Just good to see how it all corrupts with those, but not generally an issue with sys data internally, just good to know it could happen.
 
Old 11-30-2021, 06:42 AM   #108
Eeel
Member
 
Registered: Feb 2012
Location: EU
Distribution: Slackware 15 and current
Posts: 94

Rep: Reputation: Disabled
Quote:
Originally Posted by h2-1 View Post

-----------------------------------------

Eeel, great stuff, thanks. All 3 are reporting correctly.

-----------------------------------------
All three computers also have 5.4.XX Kernel installed, let me know if you want i can do the same test with this Kernel.
 
Old 11-30-2021, 07:47 AM   #109
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 906

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
Wasn't sure this would help much, but recently the conversation turned to multiple dies, which I have. I have 2 Intel Xeon Gold 6238 CPUs. Comparing to https://www.cpu-world.com/CPUs/Xeon/...on%206238.html the cache description from pinxi looks to be correct.

Code:
$ ./pinxi -U
Starting pinxi self updater.
Using tiny as downloader.
Currently running pinxi version number: 3.3.09
Current version patch number: 16
Current version release date: 2021-11-27
Updating pinxi in . using inxi-perl branch as download source...
Validating downloaded data...
Successfully updated to inxi-perl branch version: 3.3.09
New inxi-perl branch version patch number: 20
New inxi-perl branch version release date: 2021-11-28
To run the new version, just start pinxi again.
----------------------------------------

Skipping man download because branch version is being used.
Code:
$ pinxi -MCazy1
Machine:
  Type: Desktop
  Mobo: System76
    model: Thelio Massive
    v: thelio-massive-b1
    serial: <superuser required>
  UEFI: American Megatrends
    v: 5503
    date: 04/11/2019

CPU:
  Info: 2x 22-Core
    model: Intel Xeon Gold 6238
    bits: 64
    type: MT MCP SMP
    arch: Cascade Lake
    family: 6
    model-id: 55 (85)
    stepping: 7
    microcode: 5003102
    cache:
      L1: 2x 1.4 MiB (2.8 MiB)
        desc: d-22x32 KiB; i-22x32 KiB
      L2: 2x 22 MiB (44 MiB)
        desc: 22x1024 KiB
      L3: 2x 30.2 MiB (60.5 MiB)
        desc: 1x30.2 MiB
    flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
    bogomips: 4200
  Speed (MHz):
    avg: 1260
    high: 3210
    min/max: 1000/3700
    cores:
      1: 1468
      2: 1000
      3: 1000
      4: 1001
      5: 1000
      6: 1000
      7: 2243
      8: 1260
      9: 1000
      10: 1000
      11: 1000
      12: 1000
      13: 1000
      14: 1000
      15: 1000
      16: 1000
      17: 1001
      18: 1001
      19: 1000
      20: 1000
      21: 1000
      22: 1507
      23: 1358
      24: 1466
      25: 1267
      26: 1766
      27: 1280
      28: 1344
      29: 1762
      30: 1328
      31: 1312
      32: 1285
      33: 1284
      34: 1349
      35: 1287
      36: 1323
      37: 1350
      38: 1290
      39: 1270
      40: 1297
      41: 1257
      42: 1120
      43: 1316
      44: 1343
      45: 1009
      46: 1000
      47: 1001
      48: 2549
      49: 1000
      50: 1000
      51: 1000
      52: 1000
      53: 1758
      54: 1000
      55: 1000
      56: 1000
      57: 1001
      58: 1000
      59: 1001
      60: 1074
      61: 1000
      62: 1987
      63: 1565
      64: 1562
      65: 1000
      66: 1000
      67: 1295
      68: 1371
      69: 3210
      70: 1828
      71: 1383
      72: 1297
      73: 1286
      74: 1295
      75: 1334
      76: 1270
      77: 1001
      78: 1303
      79: 1331
      80: 1317
      81: 1340
      82: 1320
      83: 1000
      84: 1280
      85: 1258
      86: 1006
      87: 1276
      88: 1321
  Vulnerabilities:
    Type: itlb_multihit
      status: KVM: VMX disabled
    Type: l1tf
      status: Not affected
    Type: mds
      status: Not affected
    Type: meltdown
      status: Not affected
    Type: spec_store_bypass
      mitigation: Speculative Store Bypass disabled via prctl and seccomp
    Type: spectre_v1
      mitigation: usercopy/swapgs barriers and __user pointer sanitization
    Type: spectre_v2
      mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
    Type: srbds
      status: Not affected
    Type: tsx_async_abort
      mitigation: TSX disabled
 
Old 11-30-2021, 10:45 AM   #110
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
An old Pentium III laptop if it helps. With an up to date slackware-current and 5.15.4 kernel. Haven't powered this thing up in years, surprised it works. I should be able to dig up an old Pentium 1 laptop too if that would help.

Code:
pinxi -U
Starting pinxi self updater.
Using tiny as downloader.
Currently running pinxi version number: 3.3.09
Current version patch number: 20
Current version release date: 2021-11-28
Updating pinxi in /usr/local/bin using inxi-perl branch as download source...
Validating downloaded data...
Successfully updated to inxi-perl branch version: 3.3.09
New inxi-perl branch version patch number: 20
New inxi-perl branch version release date: 2021-11-28
To run the new version, just start pinxi again.

inxi -MCazy
Machine:
  Type: Laptop System: Acer product: TravelMate 520 v: -1 serial: <filter>
  Mobo: Acer model: ALi Alladin Pro v: -1 serial: <filter> BIOS: ACER
  v: 3.3 R01-A3p-EN date: 01/15/2001
CPU:
  Info: Single Core model: Pentium III (Coppermine)
  socket: Daughter Board (U11) note: check bits: 32 type: MCP
  arch: P6 III Coppermine family: 6 model-id: 8 stepping: 6 microcode: B
  cache: L1: 32 KiB L2: 256 KiB
  flags: pae sse bogomips: 1392
  Speed: 696 MHz min/max: N/A base/boost: 700/700 volts: 1.6 V
  ext-clock: 100 MHz Core speed (MHz): 1: 696
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

pinxi -MCazy1
Machine:
  Type: Laptop
  System: Acer
    product: TravelMate 520
    v: -1
    serial: <filter>
  Mobo: Acer
    model: ALi Alladin Pro
    v: -1
    serial: <filter>
  BIOS: ACER
    v: 3.3 R01-A3p-EN
    date: 01/15/2001

CPU:
  Info: Single Core
    model: Pentium III (Coppermine)
    socket: Daughter Board (U11)
      note: check
    bits: 32
    type: MCP
    arch: P6 III Coppermine
    family: 6
    model-id: 8
    stepping: 6
    microcode: B
    cache:
      L1: 32 KiB
      L2: 256 KiB
    flags: pae sse
    bogomips: 1392
  Speed (MHz): 696
    min/max: N/A
    base/boost: 700/700
    volts: 1.6 V
    ext-clock: 100 MHz
    core:
      1: 696
  Vulnerabilities:
    Type: itlb_multihit
      status: KVM: VMX unsupported
    Type: l1tf
      mitigation: PTE Inversion
    Type: mds
      status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
    Type: meltdown
      mitigation: PTI
    Type: spec_store_bypass
      status: Vulnerable
    Type: spectre_v1
      mitigation: usercopy/swapgs barriers and __user pointer sanitization
    Type: spectre_v2
      mitigation: Full generic retpoline, STIBP: disabled, RSB filling
    Type: srbds
      status: Not affected
    Type: tsx_async_abort
      status: Not affected

Last edited by avian; 11-30-2021 at 10:51 AM.
 
Old 11-30-2021, 11:41 AM   #111
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 325

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by h2-1 View Post
All the early ones, those are interesting, in theory inxi should run on all those, though the ram may be an issue, but should, just very slowly on 486. Depends more on kernel, 2.2 kernel didn't have a lot of data, pinxi/inxi will run on it, but will be missing a lot of data since methods changed significantly from 2.2 to 2.4. After 2.4 most of its recognizable to inxi internally if I remember right.

I just have to test some key failures above to find out what is missing, it's basically down to one central issue I think, some systems do not appear to have the /sys cpu cache data at all, which surprised me, I wasn't expecting that, my tests showed even early systems had that data, but it may be because in vm, the cpu data is from the host, so cpuid seems to not care what generation it is, just what the actual cpu returns as data, that's my current guess anyway.
Here's the info from the 486 and the XP1800+, the latter is just missing reporting the flags. I'll see about swapping back to the Duron cpu on that mobo after I work on the other early ones.

Code:
#Slackware 11.0.0 2.4.37 i486

# inxi --version | grep ^inxi && pinxi --version | grep ^pinxi
inxi 3.3.09-00 (2021-11-22)
pinxi 3.3.09-20 (2021-11-28)

# inxi -MCazy
Machine:
  Message: No machine data: try newer kernel. Is dmidecode installed? Try -M
  --dmidecode.
Can't use an undefined value as a HASH reference at /usr/local/bin/inxi line 9595.


# pinxi -MCazy1
Machine:
  Message: No machine data: try newer kernel. Is dmidecode installed? Try -M --dmidecode.

Argument "unknown" isn't numeric in sprintf at /usr/local/bin/pinxi line 8744.
CPU:
  Info: Single Core
    model: 486
    bits: N/A
    type: UP
    arch: N/A
    family: 4
    model-id: 0
    stepping: 0
    microcode: N/A
    cache:
      L2: N/A
    flags: N/A
    bogomips: N/A
  Speed: N/A
    min/max: N/A
    core: No per core speed data found.
  Vulnerabilities: No CPU vulnerability/bugs data available.

# cat /proc/cpuinfo 
processor       : 0
vendor_id       : unknown
cpu family      : 4
model           : 0
model name      : 486
stepping        : unknown
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : no
cpuid level     : -1
wp              : yes
flags           :
bogomips        : 33.17
Code:
#Slackware 14.2 4.4.240 i686

# ./inxi --version | grep ^inxi && ./pinxi --version | grep ^pinxi
inxi 3.3.09-00 (2021-11-22)
pinxi 3.3.09-20 (2021-11-28)

# ./inxi -MCazy 
Machine:
  Type: Desktop Mobo: ASUSTeK model: <A7V133> v: REV 1.xx serial: <filter>
  BIOS: Award v: ASUS A7V-133 Revision 1009 date: 04/23/2002
CPU:
  Info: Single Core model: AMD Athlon XP 1800+ socket: A bits: 32 type: UP
  arch: K7 Palomino+ family: 6 model-id: 6 stepping: 2 microcode: N/A cache:
  L1: 128 KiB L2: 256 KiB
  flags: pae sse bogomips: 3088
  Speed: 1544 MHz min/max: N/A base/boost: 1533/1800 volts: 1.7 V
  ext-clock: 133 MHz Core speed (MHz): 1: 1544
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected


# ./pinxi -MCazy1
Machine:
  Type: Desktop
  Mobo: ASUSTeK
    model: <A7V133>
    v: REV 1.xx
    serial: <filter>
  BIOS: Award
    v: ASUS A7V-133 Revision 1009
    date: 04/23/2002

CPU:
  Info: Single Core
    model: AMD Athlon XP 1800+
    socket: A
    bits: 32
    type: UP
    arch: K7 Palomino+
    family: 6
    model-id: 6
    stepping: 2
    microcode: N/A
    cache:
      L1: 128 KiB
        desc: d-1x64 KiB; i-1x64 KiB
      L2: 256 KiB
        desc: 1x256 KiB
    flags: pae sse
    bogomips: 3088
  Speed (MHz): 1544
    min/max: N/A
    base/boost: 1533/1800
    volts: 1.7 V
    ext-clock: 133 MHz
    core:
      1: 1544
  Vulnerabilities:
    Type: itlb_multihit
      status: Not affected
    Type: l1tf
      status: Not affected
    Type: mds
      status: Not affected
    Type: meltdown
      status: Not affected
    Type: spec_store_bypass
      status: Vulnerable
    Type: spectre_v1
      mitigation: usercopy/swapgs barriers and __user pointer sanitization
    Type: spectre_v2
      mitigation: Full generic retpoline, STIBP: disabled, RSB filling
    Type: srbds
      status: Not affected
    Type: tsx_async_abort
      status: Not affected

# cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 6
model name      : AMD Athlon(TM) XP 1800+
stepping        : 2
cpu MHz         : 1544.406
cache size      : 256 KB
fdiv_bug        : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow 3dnowprefetch vmmcall
bugs            : fxsave_leak sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass
bogomips        : 3088.81
clflush size    : 32
cache_alignment : 32
address sizes   : 34 bits physical, 32 bits virtual
power management: ts
 
Old 11-30-2021, 12:07 PM   #112
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
These old ones are really good, exposing some issues that need to be checked in terms of undefined data, thanks, will see if I can get those handled.

Also going to do a test to see if I can get more accurate core speeds, I accidentally bypassed the internal 'sleep' that is designed to let everything settle down in the cores before getting their speeds so I'm going to do a test to see if I can restore that functionality, will make some logic that does the absolute minimum as it collects the speeds, then goes on with the heavy lifting parts.
 
Old 11-30-2021, 12:41 PM   #113
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by aus9 View Post
.... Or he can start a new thread.
In case you might miss it, I made a new thread here
 
Old 11-30-2021, 02:28 PM   #114
avian
Member
 
Registered: Aug 2014
Posts: 184

Rep: Reputation: Disabled
Core2 Duo T8100 laptop -

Code:
inxi -MCazy
Machine:
  Type: Kvm System: Acer product: Aspire 5315 v: V1.45 serial: <filter>
  Mobo: Acer model: Acadia v: V1.45 serial: N/A BIOS: Acer v: 1.45
  date: 11/10/2008
CPU:
  Info: Dual Core model: Intel Core2 Duo T8100 socket: 478 (uPGA-478)
  note: check bits: 64 type: MCP arch: Penryn family: 6 model-id: 17 (23)
  stepping: 6 microcode: 60C cache: L1: 128 KiB L2: 6 MiB
  flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 8379
  Speed: 1285 MHz min/max: 2000/2001 MHz base/boost: 2000/2000 boost: enabled
  volts: 1.6 V ext-clock: 200 MHz Core speeds (MHz): 1: 1612 2: 1848
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

pinxi -MCazy1
Machine:
  Type: Kvm
  System: Acer
    product: Aspire 5315
    v: V1.45
    serial: <filter>
  Mobo: Acer
    model: Acadia
    v: V1.45
    serial: N/A
  BIOS: Acer
    v: 1.45
    date: 11/10/2008

CPU:
  Info: Dual Core
    model: Intel Core2 Duo T8100
    socket: 478 (uPGA-478)
      note: check
    bits: 64
    type: MCP
    arch: Core Penryn
    family: 6
    model-id: 17 (23)
    stepping: 6
    microcode: 60C
    cache:
      L1: 128 KiB
        desc: d-2x32 KiB; i-2x32 KiB
      L2: 3 MiB
        desc: 1x3 MiB
    flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx
    bogomips: 4189
  Speed (MHz):
    avg: 1583
    high: 1961
    min/max: 2000/2001
    base/boost: 2000/2000
    boost: enabled
    volts: 1.6 V
    ext-clock: 200 MHz
    cores:
      1: 1205
      2: 1961
  Vulnerabilities:
    Type: itlb_multihit
      status: KVM: VMX disabled
    Type: l1tf
      mitigation: PTE Inversion; VMX: EPT disabled
    Type: mds
      status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
    Type: meltdown
      mitigation: PTI
    Type: spec_store_bypass
      status: Vulnerable
    Type: spectre_v1
      mitigation: usercopy/swapgs barriers and __user pointer sanitization
    Type: spectre_v2
      mitigation: Full generic retpoline, STIBP: disabled, RSB filling
    Type: srbds
      status: Not affected
    Type: tsx_async_abort
      status: Not affected

Last edited by avian; 11-30-2021 at 02:35 PM.
 
Old 11-30-2021, 02:52 PM   #115
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 325

Rep: Reputation: 216Reputation: 216Reputation: 216
Here's a Dell P4 2.8GHz that looks to report correctly.

Code:
#Slackware 14.2 4.4.276 i686

# ./inxi --version | grep ^inxi && ./pinxi --version | grep ^pinxi
inxi 3.3.09-00 (2021-11-22)
pinxi 3.3.09-20 (2021-11-28)

# ./inxi -MCazy
Machine:
  Type: Desktop System: Dell product: Dimension 3000 v: N/A serial: <filter>
  Chassis: type: 6 serial: <filter>
  Mobo: Dell model: 0K8980 serial: <filter> BIOS: Dell v: A03 date: 01/05/2006
CPU:
  Info: Single Core model: Intel Pentium 4 socket: Microprocessor bits: 32
  type: MCP arch: Netburst Smithfield family: F (15) model-id: 4 stepping: 1
  microcode: 9 cache: L1: 16 KiB L2: 1024 KiB
  flags: ht pae sse sse2 sse3 bogomips: 5585
  Speed: 2793 MHz min/max: N/A base/boost: 2800/3600 volts: 1.1 V
  ext-clock: 533 MHz Core speed (MHz): 1: 2793
  Vulnerabilities: Type: itlb_multihit status: Processor vulnerable
  Type: l1tf mitigation: PTE Inversion
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown status: Vulnerable
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

# ./pinxi -MCazy1
Machine:
  Type: Desktop
  System: Dell
    product: Dimension 3000
    v: N/A
    serial: <filter>
  Chassis:
    type: 6
    serial: <filter>
  Mobo: Dell
    model: 0K8980
    serial: <filter>
  BIOS: Dell
    v: A03
    date: 01/05/2006

CPU:
  Info: Single Core
    model: Intel Pentium 4
    socket: Microprocessor
    bits: 32
    type: MCP
    arch: Netburst Smithfield
    family: F (15)
    model-id: 4
    stepping: 1
    microcode: 9
    cache:
      L1: 16 KiB
        desc: d-1x16 KiB
      L2: 1024 KiB
        desc: 1x1024 KiB
    flags: ht pae sse sse2 sse3
    bogomips: 5585
  Speed (MHz): 2793
    min/max: N/A
    base/boost: 2800/3600
    volts: 1.1 V
    ext-clock: 533 MHz
    core:
      1: 2793
  Vulnerabilities:
    Type: itlb_multihit
      status: Processor vulnerable
    Type: l1tf
      mitigation: PTE Inversion
    Type: mds
      status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
    Type: meltdown
      status: Vulnerable
    Type: spec_store_bypass
      status: Vulnerable
    Type: spectre_v1
      mitigation: usercopy/swapgs barriers and __user pointer sanitization
    Type: spectre_v2
      mitigation: Full generic retpoline, STIBP: disabled, RSB filling
    Type: srbds
      status: Not affected
    Type: tsx_async_abort
      status: Not affected


# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping        : 1
microcode       : 0x9
cpu MHz         : 2792.974
cache size      : 1024 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pebs bts pni dtes64 monitor ds_cpl cid xtpr
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips        : 5585.94
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 32 bits virtual
power management:
 
Old 11-30-2021, 05:01 PM   #116
fourtysixandtwo
Member
 
Registered: Jun 2021
Location: Alberta
Distribution: Slackware...mostly
Posts: 325

Rep: Reputation: 216Reputation: 216Reputation: 216
NEC Versa laptop with P3 Celeron 550Mhz.

Code:
#Slackware 14.2 4.4.276 i686

# ./inxi --version | grep ^inxi && ./pinxi --version | grep ^pinxi
inxi 3.3.09-00 (2021-11-22)
pinxi 3.3.09-20 (2021-11-28)

# ./inxi -MCazy
Machine:
  Type: Laptop System: NEC s product: VV257AA-000-00T v: Production
  serial: <filter>
  Mobo: NEC s model: VV257AA-000-00T v: Production serial: <filter> BIOS: NEC
  v: Revision /154A0800 date: 04/17/2000
CPU:
  Info: Single Core model: Celeron (Coppermine) bits: 32 type: MCP
  arch: P6 III Coppermine family: 6 model-id: 8 stepping: 3 microcode: 7
  cache: L1: 32 KiB L2: 128 KiB
  flags: pae sse bogomips: 1096
  Speed: 548 MHz min/max: N/A base/boost: 550/550 volts: 1.6 V
  ext-clock: 100 MHz Core speed (MHz): 1: 548
  Vulnerabilities: Type: itlb_multihit status: Processor vulnerable
  Type: l1tf mitigation: PTE Inversion
  Type: mds
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown status: Vulnerable
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected

# ./pinxi -MCazy1
Machine:
  Type: Laptop
  System: NEC s
    product: VV257AA-000-00T
    v: Production
    serial: <filter>
  Mobo: NEC s
    model: VV257AA-000-00T
    v: Production
    serial: <filter>
  BIOS: NEC
    v: Revision /154A0800
    date: 04/17/2000

CPU:
  Info: Single Core
    model: Celeron (Coppermine)
    bits: 32
    type: MCP
    arch: P6 III Coppermine
    family: 6
    model-id: 8
    stepping: 3
    microcode: 7
    cache:
      L1: 32 KiB
      L2: 128 KiB
    flags: pae sse
    bogomips: 1096
  Speed (MHz): 548
    min/max: N/A
    base/boost: 550/550
    volts: 1.6 V
    ext-clock: 100 MHz
    core:
      1: 548
  Vulnerabilities:
    Type: itlb_multihit
      status: Processor vulnerable
    Type: l1tf
      mitigation: PTE Inversion
    Type: mds
      status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
    Type: meltdown
      status: Vulnerable
    Type: spec_store_bypass
      status: Vulnerable
    Type: spectre_v1
      mitigation: usercopy/swapgs barriers and __user pointer sanitization
    Type: spectre_v2
      mitigation: Full generic retpoline, STIBP: disabled, RSB filling
    Type: srbds
      status: Not affected
    Type: tsx_async_abort
      status: Not affected


# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Celeron (Coppermine)
stepping        : 3
microcode       : 0x7
cpu MHz         : 548.135
cache size      : 128 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips        : 1096.27
clflush size    : 32
cache_alignment : 32
address sizes   : 36 bits physical, 32 bits virtual
power management:
 
Old 11-30-2021, 05:59 PM   #117
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Significant improvement in speed accuracy by moving the raw speed collector to right after the 0.3 second (tunable via setting or switch) sleep that is designed to let the CPU 'spin down' so the inxi speed report is much closer to the actual state of the cpu cores without running inxi. This is VERY noticeable on some types of cpus, particularly on cpus with 4 or less threads. But I see a significant general drop in average speeds as well.

For example, on a 2 cpu 32 core epyc, 1 thread using the new method spikes noticeably from base level, but 3-4 did using the previous pinxi method. On things like Intel Core cpus, it's dramatically improved. Ryzen maybe less so, but still noticeable.

These changes are in pinxi 3.3.09-21

It looks like raising the flag of surrender on trying to deduce with no way to know if cache is L1, L2, or L3 in fallback cpuinfo mode is correcting the legacy system cache output/handling bugs. Sometimes it's best to know when to give up on something that is clearly not working anyway, and is causing the bugs as often as fixing them.

One thing I'm not sure if /sys has for L1 is this one:
Level 1 cache size ? 12K micro-operations 8-way set associative execution trace cache
It has Data, Instruction, but haven't seen a trace cache in /sys data so far.

Really great stuff, thanks so much for the help and data and feedback so far!

There's a few other features that you will only see on something like Alder Lake, a report on how many single threads, and how many multi, the cpu has.

And dies, which almost nothing has apparently, that looks like this:
Code:
pinxi -Cay
CPU:
  Info: 2x 16-Core (4-Die) model: AMD EPYC 7281 bits: 64 type: MT MCP MCM SMP
  arch: Zen family: 17 (23) model-id: 1 stepping: 2 microcode: 8001250 cache:
  L1: 2x 1.5 MiB (3 MiB) desc: d-16x32 KiB; i-16x64 KiB L2: 2x 8 MiB (16 MiB)
  desc: 16x512 KiB L3: 2x 32 MiB (64 MiB) desc: 8x4 MiB
...
-----------------------------------------

Eeel, that's an interesting point, I wonder how much of this depends on the kernel. Based on what I see on cpu-world.com, it looks like the data pinxi is getting for caches from sys is using the same exact data source as the cpu-world.com data collector (they also rely, like me, lol, on user data for their cpuid stuff), which makes me think this comes from cpuid itself, mapped to /sys data structures.

I actually wish /sys would have the rest of the cpu data, the flags, model, family, stepping, etc, then I could totally skip cpuinfo for data.

Would be interesting to see if you see any differences with different kernel, that's a good idea.

-----------------------------------------

drumz, that's an interesting system, slightly annoying that inxi defaults to 1 decimal for MiB output, but this cpu has 3.25 MiB cache, which you can see in the (60.5 MiB), but I'll live with that slight inaccuracy since that size cache is very rare. But another good example to show what variations can happen in this data, up until this one I'd only seen L3 be even MiB numbers.

-----------------------------------------

avian, pentium 1 would be impressive, on that one I wouldn't mind seeing a full:
Code:
pinxi -yzv8
output just to see what happens. Quite a few oversight/'wrong assumption re data always being there' bugs have been caught so far from the various machines that have been posted, thi is making a real difference to the overall quality and robustness of inxi, not just the cpu stuff.

Intel Core2 Duo T8100 is a good example of the failure of the first try for this fix on inxi 3.3.09, the assumption of 1 L2 per core resulted in wrong results, even with the newer logic. That's why I dumped it all by the way, that also wasn't fixable. Though 3.3.09 was signnificantly better than 3.3.08, it just didn't have a real fix in it for these various issues. 3.3.09 was actually released mainly because there were a bunch of other bugs and issues handled in pinxi that had been waiting for a while to get to master branch inxi so I figured I'd do a quick 3.3.09 then do this real final one since I didn't know how long this would take to get done.

-----------------------------------------

fourtysixandtwo, thanks so much for firing up these old systems, that type of data is very useful to trap and locate areas where inxi is assuming data will always be one way (like stepping: being an integer, always). That's the first time I've seen 'unknown' in those fields, I'll have to add some filters there I think, I will go in and modify the global filtering tools since I've found a few variations already in this thread's samples that the tools did not handle.

Also reminds me to finalize the output for cache: when nothing is found at all, that should have said:
cache: N/A, not cache: L2: N/A
That's corrected in 3.3.09-21. Stepping: 0 should have been stepping: N/A, or just not showing, that's also fixed, I think.

AMD Athlon XP 1800+ looks good, arch: right, etc.

Intel Pentium 4, the fix for the Data L1 only cache working fine, that's good. Microarchitecture lookup table matches seem to be fairly solid now. Tweaked the arch: to show stepping 1, Netburst Prescott, I'd never found stepping data for the Netburst model Ids.

https://www.cpu-world.com/CPUs/Penti...6PE2800E).html

Celeron (Coppermine) looks like the cache data came from dmidecode, and the speed data probably came from cpuinfo, which means it's all working now in terms of the fallbacks clicking in to fill in missing data.

-----------------------------------------

Last edited by h2-1; 11-30-2021 at 06:22 PM.
 
1 members found this post helpful.
Old 11-30-2021, 06:50 PM   #118
carriunix
Member
 
Registered: Feb 2020
Location: Brazil
Distribution: Slackware
Posts: 45
Blog Entries: 6

Rep: Reputation: Disabled
Code:
bash-5.0$ ./inxi -MCazy
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X512FJ_X512FJ
  v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X512FJ v: 1.0 serial: <superuser required>
  UEFI: American Megatrends v: X512FJ.303 date: 08/26/2019
CPU:
  Info: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP
  arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: C (12)
  microcode: B8 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  bogomips: 31999
  Speed: 1280 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 1280 2: 1071
  3: 1174 4: 1577 5: 2130 6: 2313 7: 2467 8: 2218
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds mitigation: TSX disabled
  Type: tsx_async_abort status: Not affected
Code:
bash-5.0$ ./pinxi -MCazy
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X512FJ_X512FJ
  v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X512FJ v: 1.0 serial: <superuser required>
  UEFI: American Megatrends v: X512FJ.303 date: 08/26/2019
CPU:
  Info: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP
  arch: Comet/Whiskey Lake note: check family: 6 model-id: 8E (142)
  stepping: C (12) microcode: B8 cache: L1: 256 KiB
  desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 8 MiB
  desc: 1x8 MiB
  flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  bogomips: 3999
  Speed (MHz): avg: 1826 high: 3500 min/max: 400/4600 cores: 1: 1309 2: 1974
  3: 1697 4: 1025 5: 2393 6: 1064 7: 1646 8: 3500
  Vulnerabilities:
  Type: itlb_multihit status: KVM: Split huge pages
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds mitigation: TSX disabled
  Type: tsx_async_abort status: Not affected
EDIT: Two more machines to go: a Dell laptop with old generation Intel i5-430M and a IBM System X32?? with a Intel Xeon ??? (I must check the details). Maybe I can post it tomorrow.

Last edited by carriunix; 11-30-2021 at 06:56 PM.
 
Old 11-30-2021, 09:20 PM   #119
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
as the rest of my data is ok...I will just show the diff from my first output to 3.3.09 patch 21

Code:
diff pinxi-patch16 pinxi-patch21
17c17,18
<     arch: Zen
---
>     arch: Zen/Zen+
trivia
as I built this mobo myself my cpu retail packaging says "Zen+ architecture AMD socket AM4"

trivia 2
your pinxi output shows only
Quote:
model: AMD Ryzen 3 3200G with Radeon Vega Graphics
while my packaging shows ...with Radeon Vega 8 Graphics
 
Old 11-30-2021, 11:32 PM   #120
h2-1
Member
 
Registered: Mar 2018
Distribution: Debian Testing
Posts: 562

Original Poster
Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
aus9, actually thanks for confirming that you physically saw it named zen+, from my reading that transition between zen and zen+ was part marketing, so you can't actually tell them apart for that stepping as far as I know. Hard to get specifics though.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pinxi/inxi huge BSD updates, testers? h2-1 *BSD 0 03-08-2021 11:54 PM
Testersfeedback for new pinxi/inxi feature -E/--bluetooth h2-1 Slackware 2 01-29-2021 06:53 PM
Huge inxi/pinxi upgrade, new features, Logical volumes, raid rewrite, beta testers? h2-1 Slackware 12 12-17-2020 05:04 PM
Beta testers for Perl inxi requested h2-1 Slackware 147 12-14-2020 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration