Questions tagged [numa]
25 questions
24
votes
5 answers
Enabling NUMA for Intel Core i7
In Linux kernel, the documentation for CONFIG_NUMA says:
Enable NUMA (Non Uniform Memory Access) support.
he kernel will try to allocate memory used by a CPU on the
local memory controller of the CPU and add some more
NUMA awareness to the…
user1968963
- 3,973
- 13
- 37
- 56
13
votes
1 answer
How to migrate all the memory pages of a process from one NUMA node to another NUMA node?
In Linux, I want to migrate the memory pages of a KVM virtual machine from one NUMA node to another NUMA node on runtime. But I cannot find any interfaces to do that in the KVM hypervisor or using the libvirt API. Then I tried to use the…
Jenson
- 161
- 5
9
votes
2 answers
How to disable one CPU
I'm trying to disable some CPUs of my server.
I've found this link: https://www.cyberciti.biz/faq/debian-rhel-centos-redhat-suse-hotplug-cpu/linux-turn-on-off-cpu-core-commands/, which offers me a method as below:
Here is what numactl --hardware…
Yves
- 3,161
- 7
- 26
- 54
8
votes
3 answers
How to disable memory for a NUMA node on a Linux system
Is there a way to disable access to memory associated with a given NUMA node/socket on a NUMA machine?
We have a bit of controversy with the database vendor about our HP DL560 machines. The DB sales type’s technical support person was animated that…
user1683793
- 301
- 2
- 8
6
votes
1 answer
Globally setting CPU affinity
Is there a way to make all processes, except the ones I intentionally set otherwise with taskset or numactl use only certain cores/memory (without looping through every thread of every process and setting it myself)?
A few more details: I have 2…
thaimin
- 173
- 1
- 6
4
votes
1 answer
How do I run a service with numactl
I need to do something like this to run MongoDB
$numactl --interleave=all /usr/bin/mongod --config /etc/mongod.conf &
What should I change to be able to run the mongo daemon with the options above?
Bob
- 221
- 2
- 6
- 15
4
votes
0 answers
Using shared memory through tmpfs and NUMA on x86_64/Linux
Here's what I'd like to do: put a file on tmpfs but ensure that all of it (all pages of it) ends up on the same NUMA node. First, I thought this would be trivial: I'd just mmap() a tmpfs file with MAP_SHARED and then use mbind() to tie it to the…
Lajos Nagy
- 263
- 1
- 2
- 4
2
votes
1 answer
Processes ignore global CPUAffinity settings
I am setting global CPUAffinity via /etc/systemd/system.conf. See snippet below:
root@PC1-03:~# cat /etc/systemd/system.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms…
Trevor K Smith
- 71
- 2
2
votes
1 answer
Why does a 2-socket server show PCIe locations but the 4-socket server does not (how can I find the PCIe locations on the 4-socket server)?
I have two servers:
2 socket Supermicro X9DBL-3F
4 socket Supermicro X10QBI
When I run hwloc-ls for the 2-socket server I see the PCIe topology with the HostBridges on each NUMANode, but the 4-socket server shows Packages instead of NUMANodes and…
KJ7LNW
- 273
- 1
- 8
2
votes
1 answer
Does Linux's NUMA architecture shares main memory as well?
I am reading about NUMA (Non-uniform memory access) architecture. It looks like this is the hardware architecture that on the multiprocessor system, each core accesses their internal local memory is faster than the remote memory.
The thing I don't…
hqt
- 567
- 1
- 7
- 16
2
votes
0 answers
Allocate pools of hugepages separately on each NUMA doamin
On my dual-socket machine, I'm trying to allocated two pools of hugepages (one for each socket), so that the application A, which is pinned on the first socket, uses the first pool, and the application B on the second socket uses it's own local…
Vahid Noormofidi
- 162
- 7
2
votes
1 answer
Where does the default numa setting come from?
when we run:
numactl --hardware
we can see the current status of numa setting.
However, it seems not set by Linux ( at least, I didn't add a parameter to set it ).
Did it set by BIOS?
Mark
- 677
- 9
- 28
2
votes
1 answer
Sub-process returned an error code when apt-get install package
sudo apt-get install numactl
E: Problem executing scripts APT::Update::Post-Invoke-Success '/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus…
showkey
- 79
- 23
- 67
- 128
2
votes
1 answer
Find out where the allocated memory for a process resides
I would like to investigate where the memory for a specific process is allocated.
To be more specific: I am running an OpenMP parallel Fortran binary on a ccNUMA machine with two physical CPUs. My concern is that this program violates the first…
MechEng
- 213
- 2
- 7
1
vote
1 answer
NUMA aware caching on linux
This is a follow-up question to dentry/inode caching on multi-cpu machines / memory allocator configuration, but here I try to put the question differently.
My problem is that I have a dual socket machine, and memory for the kernel caches…
LaszloLadanyi
- 143
- 5