Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

Even more! -Cxx now shows L1 and L3 cache

Post Reply
Message
Author
User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Even more! -Cxx now shows L1 and L3 cache

#1 Post by h2-1 »

While fixing a RAM report bug with some obscure old hardware (pentium M laptop), I noticed that I could add L1 and L3 cache, using dmidecode data, so I tweaked some stuff, and now, if you run sudo or root inxi -Cxxx, you'll get something like this:

Code: Select all

CPU:       Topology: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ rev: 2 L1 cache: 576 KiB 
           L2 cache: 3072 KiB L3 cache: 16.0 MiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 81588 
           Speed: 1442 MHz min/max: 1550/3400 MHz boost: enabled Core speeds (MHz): 1: 1466 2: 1476 3: 1553 
           4: 1551 5: 1411 6: 1416 7: 1560 8: 1561 9: 1385 10: 1382 11: 1549 12: 1549
It shows no L1 or L3 if not run as root, or if dmidecode is not installed, or if it failed to find a match. I found quite a few syntax variants to make the match, but I think I've handled most of them. L1 and L3 are -Cxx data.

I also updated the list of matches for architecture, adding zen+, zen 2, coffee lake, tremont, and a bunch of other newer intel architectures.

This is live in inxi/pinxi 3.0.24
Last edited by h2-1 on Tue Sep 11, 2018 3:00 am, edited 1 time in total.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
oops
Posts: 1594
Joined: Tue Apr 10, 2018 5:07 pm

Re: Even more! -Cxx now shows L1 and L3 cache

#2 Post by oops »

h2-1 wrote: Tue Sep 11, 2018 12:27 am...This is live in inxi/pinxi 3.0.24
Thank you h2-1.

Code: Select all

pinxi -Cxxx
CPU:       Topology: Quad Core model: Intel Core i5-2320 bits: 64 type: MCP arch: Sandy Bridge rev: 7 
           L1 cache: 256 KiB L2 cache: 6144 KiB L3 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23944 
           Speed: 1597 MHz min/max: 1600/3300 MHz Core speeds (MHz): 1: 1596 2: 1596 3: 1596 4: 1596

(right, show only L2 if non root)
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19_x64 & antiX19_x32

User avatar
h2-1
Posts: 208
Joined: Sat Nov 15, 2008 3:16 pm

Re: Even more! -Cxx now shows L1 and L3 cache

#3 Post by h2-1 »

L2 I can get without root, it actually is created differently. All looks good. Perl inxi is exposing a lot of possibilities that the horrible complexity of the frankencode of gawk/bash of legacy inxi really kept hidden, far more than I realized.
smxi/sgfxi site (manuals, how-to's, faqs) :: script forums :: Check out inxi sys info script!

User avatar
ChrisUK
Qualified MX Guide
Posts: 299
Joined: Tue Dec 12, 2017 1:04 pm

Re: Even more! -Cxx now shows L1 and L3 cache

#4 Post by ChrisUK »

Works fine without root here too:

Code: Select all

./pinxi -Cxxx
CPU:       Topology: Dual Core model: Intel Core i3 M 380 bits: 64 type: MT MCP arch: Nehalem 
           rev: 5 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20218 
           Speed: 933 MHz min/max: 933/2533 MHz Core speeds (MHz): 1: 933 2: 933 3: 933 4: 933 
(For info... 4.9 series Kernel)

If I get time later, I'll post the result from one of my AMD Laptops

EDIT: Here's output from AMD CPU:

Code: Select all

./pinxi -Cxxx
CPU:       Topology: Dual Core model: AMD Turion II P520 bits: 64 type: MCP arch: K10 rev: 3 
           L2 cache: 2048 KiB 
           flags: lm nx pae sse sse2 sse3 sse4a svm bogomips: 9177 
           Speed: 800 MHz min/max: 800/2300 MHz Core speeds (MHz): 1: 800 2: 800 
Chris

MX 18 MX 19 - Manjaro

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: Even more! -Cxx now shows L1 and L3 cache

#5 Post by Richard »

Version 3.0.23:

Code: Select all

root@mx171:/home/richard# inxi -Cxxx
CPU:       Topology: Dual Core model: Intel Core i5-3320M bits: 64 type: MT MCP arch: Ivy Bridge rev: 9 
           L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20753 
           Speed: 1197 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 1197 2: 1197 3: 1197 4: 1198 
root@mx171:/home/richard#
Version 3.0.24:

Code: Select all

root@mx171:/home/richard# pinxi -Cxxx
CPU:       Topology: Dual Core model: Intel Core i5-3320M bits: 64 type: MT MCP arch: Ivy Bridge rev: 9 
           L1 cache: 64 KiB L2 cache: 3072 KiB L3 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20753 
           Speed: 2774 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 3005 2: 1723 3: 1833 4: 2110 
root@mx171:/home/richard# 
Now I do! and yes it does.
Last edited by Richard on Tue Sep 11, 2018 10:28 am, edited 2 times in total.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
ChrisUK
Qualified MX Guide
Posts: 299
Joined: Tue Dec 12, 2017 1:04 pm

Re: Even more! -Cxx now shows L1 and L3 cache

#6 Post by ChrisUK »

Richard wrote: Tue Sep 11, 2018 10:17 am Sorry, I don't have the new version
Just do

Code: Select all

wget -Nc smxi.org/pinxi
in the Terminal, Richard - then run it from that directory so it doesn't affect your installed version
Chris

MX 18 MX 19 - Manjaro

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: Even more! -Cxx now shows L1 and L3 cache

#7 Post by Richard »

Thanks.
I just ran the

Code: Select all

# pinxi -U 
and updated.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

Post Reply

Return to “antiX”