3

I want to create script gathering CPU info from the server. At the certain server output of file named in question title has 12 model and model name fields which are equally to each other. These case shown at the screenshot below. Are the 12 instances no more than 12 cores of single physical CPU or there're 12 separate CPUs?

Result of grepping model word from /proc/cpuinfo

model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
model           : 158
model name      : Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz
palmasd1
  • 115
  • 1
  • 9
  • @muru I use screenshot to not share with search systems text info about specific CPUs cause it's not the server I own. I'm sorry for the incovenience. – palmasd1 Jan 09 '24 at 08:51
  • @muru Hm. It is, I've didn't think about such info inside Marcus answer. So you're right. I'll edit the question. – palmasd1 Jan 09 '24 at 09:20
  • 1
    Thanks for that! – muru Jan 09 '24 at 09:21
  • "Are the 12 instances no more than 12 cores of single physical CPU or there're 12 separate CPUs?" – How do you define "separate CPU" and "physical CPU"? What difference does it make to you? In other words: what do you need this information for? What are you going to do with this information? What decisions are you going to make based on this information? – Jörg W Mittag Jan 09 '24 at 13:56
  • @JörgWMittag This information is going to the table of clients infrastracture we support. It's not more than docs for our admins and wiki they use. – palmasd1 Jan 10 '24 at 04:34

1 Answers1

5

Neither. These are 12 Hyperthreads of 6 Cores of 1 Xeon E-2236.

I know that from reading intel's product data sheet.

You could get more detailed information by asking lscpu, which lists the number of CPUs, cores and threads.

Yours is a very small, very uniform Xeon (as far as Xeons go). Would you have a more complex system with multiple sockets, containing potentially different CPUs or CPUs with different core configurations, different PCIe buses, and memory topologies, i.e., NUMA, the lstopo program would be more what you need to learn how your computer's structured (package containing that is usually called hwloc or hwloc-gui).

  • Thank you for your answer! I'll search such info in the official docs next time :) – palmasd1 Jan 09 '24 at 09:48
  • 1
    @palmasd1 the official docs wouldn't tell you what your memory topology looks like; in systems with mutliple CPU sockets, it's not inherently so that every CPU core can access all memory at the same speed. So, things like lscpu and lstopo make a lot of sense – Marcus Müller Jan 09 '24 at 15:20