CPU Cache Topologie mit likwid anzeigen

Aus Wiki Thomas-Krenn.AG
Wechseln zu: Navigation, Suche

likwid ist ein Linux Toolsammlung zur Unterstützung von Entwicklern von HPC und Multi-threaded Software. Mit dem Kommando likwid-topology lässt sich dabei die Cache Topologie anzeigen.

Beispiel

Beispiel eines single-socket Dual-Core Mobil Prozessors (Intel Core i7 CPU M 620, 2.67GHz)

user@ubuntu-10-10:~$ /usr/local/bin/likwid-topology -g
-------------------------------------------------------------
CPU type:	Intel Core Westmere processor 
*************************************************************
Hardware Thread Topology
*************************************************************
Sockets:	1 
Cores per socket:	2 
Threads per core:	2 
-------------------------------------------------------------
HWThread	Thread		Core		Socket
0		0		0		0
1		1		0		0
2		0		2		0
3		1		2		0
-------------------------------------------------------------
Socket 0: ( 0 1 2 3 )
-------------------------------------------------------------

*************************************************************
Cache Topology
*************************************************************
Level:	1
Size:	32 kB
Cache groups:	( 0 1 ) ( 2 3 )
-------------------------------------------------------------
Level:	2
Size:	256 kB
Cache groups:	( 0 1 ) ( 2 3 )
-------------------------------------------------------------
Level:	3
Size:	4 MB
Cache groups:	( 0 1 2 3 )
-------------------------------------------------------------

*************************************************************
NUMA Topology
*************************************************************
NUMA domains: 1 
-------------------------------------------------------------
Domain 0:
Processors:  0 1 2 3
Memory: 2045.05 MB free of total 3955.61 MB
-------------------------------------------------------------

*************************************************************
Graphical:
*************************************************************
Socket 0:
+---------------------+
| +-------+ +-------+ |
| |  0  1 | |  2  3 | |
| +-------+ +-------+ |
| +-------+ +-------+ |
| |  32kB | |  32kB | |
| +-------+ +-------+ |
| +-------+ +-------+ |
| | 256kB | | 256kB | |
| +-------+ +-------+ |
| +-----------------+ |
| |       4MB       | |
| +-----------------+ |
+---------------------+

Weitere Informationen


Share/Save/Bookmark  Feedback zu diesem Artikel geben
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Kategorien
Drucken/exportieren
Werkzeuge