33 for (uint16_t i = 0; i < node_count; ++i) {
47 : numa_node_(numa_node) {
memory::AlignedMemory work_memory_
Working memory to be used in gleaner's construct_root().
numa_alloc_onnode() and numa_free().
void release_block()
Releases the memory block.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
memory::AlignedMemory write_buffer_
used for writing out pages that have no children
std::vector< PerNodeResource > per_node_resources_
void allocate(uint16_t node_count)
memory::AlignedMemory read_buffer_
used for reading intermediate results frome each reducer.
void alloc(uint64_t size, uint64_t alignment, AllocType alloc_type, int numa_node) noexcept
Allocate a memory, releasing the current memory if exists.
memory::AlignedMemory writer_pool_memory_
memory::AlignedMemory writer_intermediate_memory_
PerNodeResource(uint16_t numa_node)
memory::AlignedMemory tmp_root_page_memory_
memory::AlignedMemory write_intermediate_buffer_
used for writing out pages that have children
void alloc_onnode(uint64_t size, uint64_t alignment, int numa_node) noexcept
Short for alloc(kNumaAllocOnnode)