public class SimpleNumaAllocationStrategy extends Object implements NumaAllocationStrategy, Serializable
Use SimpleNumaAllocationStrategy(int) to allocate memory on specific NUMA node
with number equals to node. Memory will be allocated using void *numa_alloc_onnode(size_t, int)
of libnuma.
Use SimpleNumaAllocationStrategy() to allocate memory using default NUMA
memory policy of current thread. Memory will be allocated using void *numa_alloc(size_t) of lubnuma.
Memory policy could be set by running application with numactl
| Constructor and Description |
|---|
SimpleNumaAllocationStrategy() |
SimpleNumaAllocationStrategy(int node) |
public SimpleNumaAllocationStrategy()
public SimpleNumaAllocationStrategy(int node)
node - Numa node to allocate on.public long allocateMemory(long size)
allocateMemory in interface NumaAllocationStrategysize - Size of allocated memory.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.29 Release Date : January 8 2026