![]() You can check this also using: # nproc -allīased on CPU max MHz and CPU max MHz, the clock rate i.e. 2x8x2=32 so this server has a total of 32 logical cores. The number of logical cores, which equals “ Thread(s) per core” × “Core(s) per socket” × “Socket(s)” i.e. ![]() Here on my server I have 2 threads per core: Thread(s) per core: 2 A core with two hardware threads can execute instructions on behalf of two different software threads without incurring the overhead of context switches between them. Core(s) per socket: 8ĪLSO READ: How to PROPERLY test port connectivity in Linux Thread(s) per coreĪ Thread, or thread of execution, is a software term for the basic ordered sequence of instructions that can be passed through or processed by a single CPU core. Now a socket is the interface between CPU and the motherboard and since I have two sockets so basically I have 8 cores of CPU in each socket so there are total 16 physical cores available on this server. ![]() To get the list of physical cores you can use: # grep 'core id' /proc/cpuinfo | sort -u Let us understand each of these fields:Ĭore(s) is a hardware term that describes the number of independent central processing units in a single computing component (die or chip). Here my CPU Model is "Intel(R) Xeon(R) CPU E5-2640 v3 2.60GHz". This is from RHEL 8 server installed on a physical hardware (HPE ProLiant Blade). Model name: Intel(R) Xeon(R) CPU E5-2640 v3 2.60GHz I have already covered the basics of memory management in Linux, so I will only concentrate on the CPU related explanation here.ĪLSO READ: Install GNOME | How to enable GUI mode | RHEL CentOS 8įollowing is a sample output of lscpu: # lscpu So let me help you understand all these terminologies related to CPU so you can make a wise decision next time you have to work on these topics. When it comes to performance optimization then you should be familiar with these terms. All of these sound so related and yet they are completely different. If you are an IT Administrator then it is possible that you may have once or more scratched your head wondering what the hell is the difference between CPU, Processors, Core, Threads etc.
0 Comments
Leave a Reply. |