What determines a NUMA node? Is it a system-level configuration?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: NUMA node是由什么决定的?是系统层的配置吗?

| username: jaybing926

What determines the number of NUMA nodes? Is it a system-level configuration? Why do I have 2 nodes on some systems and 4 nodes on others with the same hardware configuration? I want to change from 4 nodes to 2 nodes, how can I do that? Can someone explain this, please? Thanks ~~~

| username: h5n1 | Original post link

It’s determined by the hardware and can’t be changed.

| username: jaybing926 | Original post link

If I hadn’t recovered, I would have really believed it~~~

| username: jaybing926 | Original post link

Answer: It was a BIOS setting issue. For the 4-node setup, I restored the BIOS to its default settings and it became 2 nodes. I don’t understand the specific principle behind it.

| username: h5n1 | Original post link

What’s the name of the item that was changed?

| username: ffeenn | Original post link

@h5n1 is right, how did you change it? Even with overclocking, it shouldn’t be possible.

| username: h5n1 | Original post link

Changed hyper-threading?

| username: ffeenn | Original post link

The consequence of making random changes is that it may cause some strange performance issues.

| username: jaybing926 | Original post link

I don’t know what was changed. This machine had issues before, and a lot of things were debugged. It was adjusted by the data center personnel, so I don’t know the specifics either.

The conclusion is: Restoring the BIOS to default settings fixed it. At least, that’s how it appears~~ Haha

| username: 数据小黑 | Original post link

The hardware architecture is determined at the factory, right? I’m curious, after restoring the default configuration, did you check if the total amount of CPU and memory corresponding to each node is correct?

| username: jaybing926 | Original post link

Previously, I also understood it this way. I originally thought that 2 physical CPUs would result in 2 nodes. But this time, I think I was wrong~~

| username: caiyfc | Original post link

Take a look here, it’s explained in great detail.

| username: jaybing926 | Original post link

I’ll post the screenshots before and after.
f6b91fe635b374ff44c786119840cf5

| username: 数据小黑 | Original post link

It looks like it’s combined. I have sought examples in this area before, and finally, I see someone doing it this way. Which vendor’s machine are you using? What motherboard? Is it an ARM architecture?

| username: tidb狂热爱好者 | Original post link

This is AMD.
Other ARM architectures and Intel architectures need specific analysis.

| username: jaybing926 | Original post link

DELL R450 model 4310CPU *2

I always understood that the number of nodes was determined by the number of physical CPUs. This has completely overturned my understanding. Now I totally don’t get it. Can someone explain it to me? :kiss: :kiss: :kiss:

| username: Meditator | Original post link

Amazing, it’s the first time I’ve seen it done this way. Isn’t this thing determined at the factory?

| username: h5n1 | Original post link

Search and see if there is a hyper-threading setting in your BIOS. Try adjusting it, or post a screenshot of the CPU settings in your BIOS.

| username: xingzhenxiang | Original post link

Take a look at lscpu.

| username: jaybing926 | Original post link

The image you provided is not visible. Please provide the text you need translated.