- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
05-08-2024 02:55 AM - edited 05-10-2024 12:54 AM
Hi Community!
I am sharing a valid observation from an interesting customer on how to read the CPU Count and CPU Core Count information from ServiceNow compared to the information shown on the Windows Server.
ServiceNow Windows Server Class attributes <CPU_Count> and <CPU_Core_Count> are not precisely the same as Windows Server <Sockets> and <vProcessors>.
- CPU_Count = Nº CPUs = Nº Physical CPU = Nº Sockets
- CPU_Core_Count = Nº of Cores in one Physical CPU = Nº of Cores in one SOCKET
The comparison of these two attribute values with the values collected by the server Task Manager does not reflect the same.
In ServiceNow, the collection of data is:
- CPU Count/Nº CPU/Socket: 4
- CPU Core Count/Nº Cores per CPU: 1
In VMWare Windows Server, the data shown is:
- Sockets: 4
- Virtual Processor: 4
By analyzing KB0855396 ([Discovery - CPU Count/Cores] Understanding how the CPU count and CPU cores for virtual boxes. (Linux/Windows) – Link: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0855396 ), these are the findings:
On the XML of each Windows Server CI, there are three values involved:
- <cpu_count>4</cpu_count>
- <cpu_core_count>1</cpu_core_count>
- <cpu_core_thread>1</cpu_core_thread>
In resume, these are the conclusions:
- CPU_Count = Nº CPUs = Nº Physical CPU = Nº Sockets
- CPU_Core_Count = Nº of Cores in one Physical CPU = Nº of Cores in one SOCKET
- CPU_Core_Thread = It is only shown in the XML or the pattern execution, step “Insert System, OS, and CPU data to cmdb_ci_win_server.”
- If cpu_core_thread = 1 then -> NO HYPER-THREAD
- If cpu_core_thread = 2 then -> YES HYPER-THREAD
The Windows Server Task Manager shows the Nº Total Logical CPUs (Virtual CPUs).
- Nº Total Logical CPUs = Physical CPUs * Nº Cores Per CPU (Virtual CPUs)
In this case, the values of the Task Manager are the following:
- (Win)Sockets: 4 = (SNow)Nº CPUs = Physical CPUs = 4
- (Win)vProcessors: 4 => Physical CPUs * Nº Cores Per CPU
- (Win)vProcessors: 4 => 4 * 1 = 4
So, the calculation seems tricky, but the values are correct.
The CPU Count and the sockets must always be the same; the differences involve the vProcesors and the CPU Core Count.
Conclusion: In the case of audit/analysis purposes, these differences must be observed to explain how the translation works. Feel free to share any comments!
- 1,083 Views