Answer the question
In order to leave comments, you need to log in
How to find out how many physical and logical cores the Server has?
Good afternoon colleagues.
I recently had a question about the number of cores and threads. I have this picture. Let's take a closer look: 1) CPU (s) = 12 2) Thread(s) per core = 1 3) Core(s) per socket = 1 4) Socket(s) = 12 5) NUMA node(s) = 1
Question :
1) How many physical and logical cores are there (if there is a formula or command, then show me)?
2) How to determine how many physical and logical processors (if there is a formula or command, then show it)?
3) How many threads are there?
Answer the question
In order to leave comments, you need to log in
1) you are given 12 cores, physical or logical is not up to you to decide. for you, one thread per core - Threads per Core. other information and control is not given.
2) ask the provider.
3) 12 computation threads simultaneously, according to the number of cores provided.
according to the specification, the Intel Xeon Gold 5218 has TWO logical threads of execution per physical core.
Inside the virtual machine, you can show as many cores as you like - this does not guarantee that you will be allowed to fully load the physical processor / s. If the server is not yours, the easiest way is to check with the host. If your - the question becomes trivial.
%us shows the usage of a single CPU (by user processes like apache, mysql, etc.) up to a maximum value of 100%. Thus, if on a quad-core processor, 1 process is using 100% of the CPU, this will give a %us value of 25%. A value of 12.5% for an 8-core processor means that one core is occupied.
Outdated article)
I also received such an answer from the telegram user @ky3bmu4
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question