Elektromechanische Geräte haben üblicherweise ein Leistungsschild so wie dieses:

Am PC wäre das nicht hilfreich, zu verschieden sind die Ausrüstungsvarianten und Veränderungmöglichkeiten. Aber nützlich können solche Angaben schon sein, zum Beispiel beim Verkauf: “Verkaufe PC mit Intel i7-CPU, 3.6 GHz und 4 Kernen; garagengepflegt”

Wie viele Kerne hat Deine CPU?

Der Anlass für die Frage war die Demonstration eines virtuellen PC durch Roman Korecky beim letzten Clubabend. Ich wollte seine Demonstration nachvollziehen und es ist mir auch im Prinzip gelungen, doch sein virtualisierter Windows-10-PC war deutlich flüssiger zu bedienen als meiner. (Der Grund war, dass bei mir zu wenig Hauptspeicher verfügbar war, und das ist mittlerweile behoben.)

Roman hat bei seiner Demonstration auch die Anzahl der Kerne seiner CPU erwähnt und das war der Anlass zu prüfen, über wie viele Kerne meine eigene CPU verfügt. Beim Kauf werde ich das wohl gewusst haben.

Erstinformation

Die Erstinformation über das eigene System erhält man mit Start -> Eigenschaften -> System -> Info, aber dort steht nichts über CPU-Details. Gut, nächsten Gang einlegen und auf derselben Seite Sysinfo anklicken.

Alle diese Erstinformationen sind zu wenig detailliert!

Verwaltung -> Systeminformationen

Da gab es doch irgendwo in der Systemsteuerung sehr detaillierte Angaben zur Hardware. Hier sind sie: Start -> “sys” -> Systemsteuerung -> Verwaltung -> Systeminformationen. Und da steht es gleich auf der ersten Seite: 4 Kerne!

Da bin ich aber beruhigt – oder auch nicht, denn von wo die schlechte Performance herkommt, weiß ich jetzt auch nicht.

Die Systeminformationen erlauben den Export oder den Druck dieser Angaben und diese Daten können als Dokumentation in einem Fehlerfall sehr nützlich sein.

Taskmanager

Auch im Task-Manager findet man neben dem aktuellen Auslastungsgrad ebenfalls Details zur CPU (Strg-Alt-Entf -> Leistung). Hier sieht man, dass wohl weniger die CPU als vielmehr die ziemliche Auslastung des Hauptspeichers (Bild unter der CPU) der Grund für die langsame Reaktion des virtualisierten Betriebssystems war.

Speccy

Eine sehr übersichtliche Darstellung von Systemeigenschaften fand ich durch das Programm Speccy. Sauber gruppiert und – wo es möglich ist – auch einblendbare zeitliche Verläufe von Systemgrößen. Klickt man auf die grünen quadratischen Symbole, öffnet darunter eine zeitliche Darstellung dieser Größe.

Auch Speccy erlaubt den Datenexport zur Dokumentation eines bestimmten Zustands, doch gibt es das nur in der Bezahlvariante.

coreinfo

Das Non-Plus-Ultra an Informationen über die CPU erfährt man über das Programm coreinfo.exe aus der Sammlung der “Sysinternals”
https://docs.microsoft.com/de-de/sysinternals/downloads/coreinfo. Die Angaben erinnern an jene in den BIOS-Einstellungen.

S:_bin\SysinternalsSuite\Coreinfo.exe
Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
Microcode signature: 0000008E
HTT       	*	Hyperthreading enabled
HYPERVISOR	*	Hypervisor is present
VMX       	-	Supports Intel hardware-assisted virtualization
SVM       	-	Supports AMD hardware-assisted virtualization
X64       	*	Supports 64-bit mode

SMX       	-	Supports Intel trusted execution
SKINIT    	-	Supports AMD SKINIT

NX        	*	Supports no-execute page protection
SMEP      	*	Supports Supervisor Mode Execution Prevention
SMAP      	*	Supports Supervisor Mode Access Prevention
PAGE1GB   	*	Supports 1 GB large pages
PAE       	*	Supports > 32-bit physical addresses
PAT       	*	Supports Page Attribute Table
PSE       	*	Supports 4 MB pages
PSE36     	*	Supports > 32-bit address 4 MB pages
PGE       	*	Supports global bit in page tables
SS        	*	Supports bus snooping for cache operations
VME       	*	Supports Virtual-8086 mode
RDWRFSGSBASE	*	Supports direct GS/FS base access

FPU       	*	Implements i387 floating point instructions
MMX       	*	Supports MMX instruction set
MMXEXT    	-	Implements AMD MMX extensions
3DNOW     	-	Supports 3DNow! instructions
3DNOWEXT  	-	Supports 3DNow! extension instructions
SSE       	*	Supports Streaming SIMD Extensions
SSE2      	*	Supports Streaming SIMD Extensions 2
SSE3      	*	Supports Streaming SIMD Extensions 3
SSSE3     	*	Supports Supplemental SIMD Extensions 3
SSE4a     	-	Supports Streaming SIMDR Extensions 4a
SSE4.1    	*	Supports Streaming SIMD Extensions 4.1
SSE4.2    	*	Supports Streaming SIMD Extensions 4.2

AES       	*	Supports AES extensions
AVX       	*	Supports AVX intruction extensions
FMA       	*	Supports FMA extensions using YMM state
MSR       	*	Implements RDMSR/WRMSR instructions
MTRR      	*	Supports Memory Type Range Registers
XSAVE     	*	Supports XSAVE/XRSTOR instructions
OSXSAVE   	*	Supports XSETBV/XGETBV instructions
RDRAND    	*	Supports RDRAND instruction
RDSEED    	*	Supports RDSEED instruction

CMOV      	*	Supports CMOVcc instruction
CLFSH     	*	Supports CLFLUSH instruction
CX8       	*	Supports compare and exchange 8-byte instructions
CX16      	*	Supports CMPXCHG16B instruction
BMI1      	*	Supports bit manipulation extensions 1
BMI2      	*	Supports bit manipulation extensions 2
ADX       	*	Supports ADCX/ADOX instructions
DCA       	-	Supports prefetch from memory-mapped device
F16C      	*	Supports half-precision instruction
FXSR      	*	Supports FXSAVE/FXSTOR instructions
FFXSR     	-	Supports optimized FXSAVE/FSRSTOR instruction
MONITOR   	-	Supports MONITOR and MWAIT instructions
MOVBE     	*	Supports MOVBE instruction
ERMSB     	*	Supports Enhanced REP MOVSB/STOSB
PCLMULDQ  	*	Supports PCLMULDQ instruction
POPCNT    	*	Supports POPCNT instruction
LZCNT     	*	Supports LZCNT instruction
SEP       	*	Supports fast system call instructions
LAHF-SAHF 	*	Supports LAHF/SAHF instructions in 64-bit mode
HLE       	*	Supports Hardware Lock Elision instructions
RTM       	*	Supports Restricted Transactional Memory instructions

DE        	*	Supports I/O breakpoints including CR4.DE
DTES64    	*	Can write history of 64-bit branch addresses
DS        	*	Implements memory-resident debug buffer
DS-CPL    	-	Supports Debug Store feature with CPL
PCID      	*	Supports PCIDs and settable CR4.PCIDE
INVPCID   	*	Supports INVPCID instruction
PDCM      	*	Supports Performance Capabilities MSR
RDTSCP    	*	Supports RDTSCP instruction
TSC       	*	Supports RDTSC instruction
TSC-DEADLINE	-	Local APIC supports one-shot deadline timer
TSC-INVARIANT	*	TSC runs at constant rate
xTPR      	*	Supports disabling task priority messages

EIST      	*	Supports Enhanced Intel Speedstep
ACPI      	*	Implements MSR for power management
TM        	*	Implements thermal monitor circuitry
TM2       	*	Implements Thermal Monitor 2 control
APIC      	*	Implements software-accessible local APIC
x2APIC    	-	Supports x2APIC

CNXT-ID   	-	L1 data cache mode adaptive or BIOS

MCE       	*	Supports Machine Check, INT18 and CR4.MCE
MCA       	*	Implements Machine Check Architecture
PBE       	*	Supports use of FERR#/PBE# pin

PSN       	-	Implements 96-bit processor serial number

PREFETCHW 	*	Supports PREFETCHW instruction

Maximum implemented CPUID leaves: 00000016 (Basic), 80000008 (Extended).

Logical to Physical Processor Map:
**------  Physical Processor 0 (Hyperthreaded)
--**----  Physical Processor 1 (Hyperthreaded)
----**--  Physical Processor 2 (Hyperthreaded)
------**  Physical Processor 3 (Hyperthreaded)

Logical Processor to Socket Map:
********  Socket 0

Logical Processor to NUMA Node Map:
********  NUMA Node 0

No NUMA nodes.

Logical Processor to Cache Map:
**------  Data Cache          0, Level 1,   32 KB, Assoc   8, LineSize  64
**------  Instruction Cache   0, Level 1,   32 KB, Assoc   8, LineSize  64
**------  Unified Cache       0, Level 2,  256 KB, Assoc   4, LineSize  64
********  Unified Cache       1, Level 3,    8 MB, Assoc  16, LineSize  64
--**----  Data Cache          1, Level 1,   32 KB, Assoc   8, LineSize  64
--**----  Instruction Cache   1, Level 1,   32 KB, Assoc   8, LineSize  64
--**----  Unified Cache       2, Level 2,  256 KB, Assoc   4, LineSize  64
----**--  Data Cache          2, Level 1,   32 KB, Assoc   8, LineSize  64
----**--  Instruction Cache   2, Level 1,   32 KB, Assoc   8, LineSize  64
----**--  Unified Cache       3, Level 2,  256 KB, Assoc   4, LineSize  64
------**  Data Cache          3, Level 1,   32 KB, Assoc   8, LineSize  64
------**  Instruction Cache   3, Level 1,   32 KB, Assoc   8, LineSize  64
------**  Unified Cache       4, Level 2,  256 KB, Assoc   4, LineSize  64

Logical Processor to Group Map:
********  Group 0

Get-ComputerInfo

Der Alleskönner am PC ist PowerShell und damit kann man auch ein PC-Datenblatt erstellen. Man orientiert sich mit

PS: s:\desktop>Get-Help Get-ComputerInfo
PS: s:\desktop> Get-Help Get-ComputerInfo -examples

Ein Computer-Datenblatt erhält man mit:

PS: s:\desktop> Get-ComputerInfo 
WindowsBuildLabEx                                       : 18362.10000.amd64fre.19h1_release_svc_
                                                          19h2_rel.190621-1123
WindowsCurrentVersion                                   : 6.3
WindowsEditionId                                        : Professional
WindowsInstallationType                                 : Client
WindowsInstallDateFromRegistry                          : 23.03.2019 01:04:52
WindowsProductId                                        : 00330-80000-00000-AA859
WindowsProductName                                      : Windows 10 Pro
WindowsRegisteredOrganization                           : 
WindowsRegisteredOwner                                  : Windows User
WindowsSystemRoot                                       : C:\WINDOWS
WindowsVersion                                          : 1903
BiosCharacteristics                                     : {7, 10, 11, 12…}
BiosBIOSVersion                                         : {ALASKA - 1072009, BIOS Date: 
                                                          03/22/17 18:11:21 Ver: 05.0000C}
BiosBuildNumber                                         : 
BiosCaption                                             : BIOS Date: 03/22/17 18:11:21 Ver: 
                                                          05.0000C
BiosCodeSet                                             : 
BiosCurrentLanguage                                     : 
BiosDescription                                         : BIOS Date: 03/22/17 18:11:21 Ver: 
                                                          05.0000C
BiosEmbeddedControllerMajorVersion                      : 255
BiosEmbeddedControllerMinorVersion                      : 255
BiosFirmwareType                                        : Bios
BiosIdentificationCode                                  : 
BiosInstallableLanguages                                : 8
BiosInstallDate                                         : 
BiosLanguageEdition                                     : 
BiosListOfLanguages                                     : {en|US|iso8859-1, fr|FR|iso8859-1, 
                                                          zh|CN|unicode, …}
BiosManufacturer                                        : American Megatrends Inc.
BiosName                                                : BIOS Date: 03/22/17 18:11:21 Ver: 
                                                          05.0000C
BiosOtherTargetOS                                       : 
BiosPrimaryBIOS                                         : True
BiosReleaseDate                                         : 22.03.2017 01:00:00
BiosSeralNumber                                         : System Serial Number
BiosSMBIOSBIOSVersion                                   : 0906
BiosSMBIOSMajorVersion                                  : 3
BiosSMBIOSMinorVersion                                  : 0
BiosSMBIOSPresent                                       : True
BiosSoftwareElementState                                : Running
BiosStatus                                              : OK
BiosSystemBiosMajorVersion                              : 5
BiosSystemBiosMinorVersion                              : 12
BiosTargetOperatingSystem                               : 0
BiosVersion                                             : ALASKA - 1072009
CsAdminPasswordStatus                                   : Unknown
CsAutomaticManagedPagefile                              : False
CsAutomaticResetBootOption                              : True
CsAutomaticResetCapability                              : True
CsBootOptionOnLimit                                     : 
CsBootOptionOnWatchDog                                  : 
CsBootROMSupported                                      : True
CsBootStatus                                            : {0, 0, 0, 0…}
CsBootupState                                           : Normal boot
CsCaption                                               : FRANZ-DIMOTION
CsChassisBootupState                                    : Safe
CsChassisSKUNumber                                      : Default string
CsCurrentTimeZone                                       : 120
CsDaylightInEffect                                      : True
CsDescription                                           : AT/AT COMPATIBLE
CsDNSHostName                                           : FRANZ-DIMOTION
CsDomain                                                : WORKGROUP
CsDomainRole                                            : StandaloneWorkstation
CsEnableDaylightSavingsTime                             : True
CsFrontPanelResetStatus                                 : Unknown
CsHypervisorPresent                                     : True
CsInfraredSupported                                     : False
CsInitialLoadInfo                                       : 
CsInstallDate                                           : 
CsKeyboardPasswordStatus                                : Unknown
CsLastLoadInfo                                          : 
CsManufacturer                                          : System manufacturer
CsModel                                                 : System Product Name
CsName                                                  : FRANZ-DIMOTION
CsNetworkAdapters                                       : {Ethernet 2, vEthernet (Ethernet), 
                                                          vEthernet (Default Switch), vEthernet 
                                                          (Default Switch) 2…}
CsNetworkServerModeEnabled                              : True
CsNumberOfLogicalProcessors                             : 8
CsNumberOfProcessors                                    : 1
CsProcessors                                            : {Intel(R) Core(TM) i7-7700 CPU @ 
                                                          3.60GHz}
CsOEMStringArray                                        : {Default string, Default string, 
                                                          MARIO, Default string}
CsPartOfDomain                                          : False
CsPauseAfterReset                                       : -1
CsPCSystemType                                          : Desktop
CsPCSystemTypeEx                                        : Desktop
CsPowerManagementCapabilities                           : 
CsPowerManagementSupported                              : 
CsPowerOnPasswordStatus                                 : Unknown
CsPowerState                                            : Unknown
CsPowerSupplyState                                      : Safe
CsPrimaryOwnerContact                                   : 
CsPrimaryOwnerName                                      : Windows User
CsResetCapability                                       : Other
CsResetCount                                            : -1
CsResetLimit                                            : -1
CsRoles                                                 : {LM_Workstation, LM_Server, Print, NT}
CsStatus                                                : OK
CsSupportContactDescription                             : 
CsSystemFamily                                          : To be filled by O.E.M.
CsSystemSKUNumber                                       : SKU
CsSystemType                                            : x64-based PC
CsThermalState                                          : Safe
CsTotalPhysicalMemory                                   : 17115840512
CsPhyicallyInstalledMemory                              : 16777216
CsUserName                                              : FRANZ-DIMOTION\ffiala
CsWakeUpType                                            : PowerSwitch
CsWorkgroup                                             : WORKGROUP
OsName                                                  : Microsoft Windows 10 Pro
OsType                                                  : WINNT
OsOperatingSystemSKU                                    : 48
OsVersion                                               : 10.0.18362
OsCSDVersion                                            : 
OsBuildNumber                                           : 18362
OsHotFixes                                              : {KB4506991, KB4493478, KB4497727, 
                                                          KB4497932…}
OsBootDevice                                            : \Device\HarddiskVolume1
OsSystemDevice                                          : \Device\HarddiskVolume1
OsSystemDirectory                                       : C:\WINDOWS\system32
OsSystemDrive                                           : C:
OsWindowsDirectory                                      : C:\WINDOWS
OsCountryCode                                           : 49
OsCurrentTimeZone                                       : 120
OsLocaleID                                              : 0407
OsLocale                                                : de-DE
OsLocalDateTime                                         : 08.09.2019 09:40:46
OsLastBootUpTime                                        : 07.09.2019 22:24:22
OsUptime                                                : 11:16:23.8707976
OsBuildType                                             : Multiprocessor Free
OsCodeSet                                               : 1252
OsDataExecutionPreventionAvailable                      : True
OsDataExecutionPrevention32BitApplications              : True
OsDataExecutionPreventionDrivers                        : True
OsDataExecutionPreventionSupportPolicy                  : OptIn
OsDebug                                                 : False
OsDistributed                                           : False
OsEncryptionLevel                                       : 256
OsForegroundApplicationBoost                            : Maximum
OsTotalVisibleMemorySize                                : 16714688
OsFreePhysicalMemory                                    : 4901188
OsTotalVirtualMemorySize                                : 33491904
OsFreeVirtualMemory                                     : 14673776
OsInUseVirtualMemory                                    : 18818128
OsTotalSwapSpaceSize                                    : 
OsSizeStoredInPagingFiles                               : 16777216
OsFreeSpaceInPagingFiles                                : 16318372
OsPagingFiles                                           : {C:\pagefile.sys}
OsHardwareAbstractionLayer                              : 10.0.18362.10013
OsInstallDate                                           : 23.03.2019 02:04:52
OsManufacturer                                          : Microsoft Corporation
OsMaxNumberOfProcesses                                  : 4294967295
OsMaxProcessMemorySize                                  : 137438953344
OsMuiLanguages                                          : {de-DE, en-US}
OsNumberOfLicensedUsers                                 : 
OsNumberOfProcesses                                     : 311
OsNumberOfUsers                                         : 2
OsOrganization                                          : 
OsArchitecture                                          : 64-Bit
OsLanguage                                              : de-DE
OsProductSuites                                         : {TerminalServicesSingleSession}
OsOtherTypeDescription                                  : 
OsPAEEnabled                                            : 
OsPortableOperatingSystem                               : False
OsPrimary                                               : True
OsProductType                                           : WorkStation
OsRegisteredUser                                        : Windows User
OsSerialNumber                                          : 00330-80000-00000-AA859
OsServicePackMajorVersion                               : 0
OsServicePackMinorVersion                               : 0
OsStatus                                                : OK
OsSuites                                                : {TerminalServices, 
                                                          TerminalServicesSingleSession}
OsServerLevel                                           : 
KeyboardLayout                                          : de-DE
TimeZone                                                : (UTC+01:00) Amsterdam, Berlin, Bern, 
                                                          Rom, Stockholm, Wien
LogonServer                                             : \FRANZ-DIMOTION
PowerPlatformRole                                       : Desktop
HyperVisorPresent                                       : True
HyperVRequirementDataExecutionPreventionAvailable       : 
HyperVRequirementSecondLevelAddressTranslation          : 
HyperVRequirementVirtualizationFirmwareEnabled          : 
HyperVRequirementVMMonitorModeExtensions                : 
DeviceGuardSmartStatus                                  : Off
DeviceGuardRequiredSecurityProperties                   : 
DeviceGuardAvailableSecurityProperties                  : 
DeviceGuardSecurityServicesConfigured                   : 
DeviceGuardSecurityServicesRunning                      : 
DeviceGuardCodeIntegrityPolicyEnforcementStatus         : 
DeviceGuardUserModeCodeIntegrityPolicyEnforcementStatus : 

Um die Daten horizontal zu verschieben, bitte zuerst vertikal ganz nach unten scrollen, dort findet man die horizontale Scrollleiste.

Welche Eigenschaften und Methoden es gibt, erfährt man mit

PS: s:\desktop> Get-ComputerInfo | Get-Member

Eine bestimmte Eigenschaft allein erfährt man mit (hier alles mit "bios")

PS: s:\desktop> Get-ComputerInfo -property bios*

Leider findet man hier keine Antwort auf die ursprüngliche Frage nach der Anzahle der Kerne der CPU. Aber dafür gibt es spezielle Objekte, die das wissen.

WMI (Windows Management Instrumentation)

Um programmatisch in die Tiefen des Betriebssystems abzutauchen, benutzt man WMI-Objekte. Um zum Beispiel etwas über den Prozessor zu erfahren, schreibt man:

PS: s:\desktop> Get-WmiObject Win32_Processor
Caption           : Intel64 Family 6 Model 158 Stepping 9
DeviceID          : CPU0
Manufacturer      : GenuineIntel
MaxClockSpeed     : 3600
Name              : Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
SocketDesignation : LGA1151

Das ist nun keineswegs alles. Wie das im Detail funktioniert, schaut man in der Dokumentation nach. Hier nur die programmatische Beantwortung der Frage nach der Anzahl der kerne:

PS: s:\desktop> Get-WmiObject Win32_Processor -Property numberofcores
__GENUS          : 2
__CLASS          : Win32_Processor
__SUPERCLASS     : 
__DYNASTY        : 
__RELPATH        : 
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         : 
__NAMESPACE      : 
__PATH           : 
NumberOfCores    : 4
PSComputerName   : 

Die Frage nach der Anzahl der Kerne ist nun mit "vier" erschöpfend beantwortet, gleichzeitig wurden hier verschiedene Möglichkeiten zur Herstellung eines "PS-Typenschilds" vorgestellt.

Franz Fiala

Ehemaliger Präsident Clubcomputer / Herausgeber PCNEWS bei ClubComputer.at
Franz war pensionierter HTL Lehrer (TGM), Präsident von ClubComputer, Herausgeber der Clubzeitung PCNEWS und betreute unser Clubtelefon und Internet Support. Er war leidenschaftlicher Rapid Wien Fan. Er ist leider Anfang Jänner 2024 nach langer schwerer Krankheit verstorben.

Letzte Artikel von Franz Fiala (Alle anzeigen)

Zur Werkzeugleiste springen