18 #ifndef FOEDUS_MEMORY_MEMORY_OPTIONS_HPP_
19 #define FOEDUS_MEMORY_MEMORY_OPTIONS_HPP_
137 #endif // FOEDUS_MEMORY_MEMORY_OPTIONS_HPP_
MemoryOptions()
Constructs option values with default values.
Represents an object that can be written to and read from files/bytes in XML format.
uint32_t private_page_pool_initial_grab_
How many pages each NumaCoreMemory initially grabs when it is initialized.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Constants
Constant values.
#define EXTERNALIZABLE(clazz)
Macro to declare/define essential methods for an externalizable class.
bool rigorous_memory_boundary_check_
Whether to use mprotect() for memory boundaries to detect bogus memory accesses.
#define CXX11_FINAL
Used in public headers in place of "final" of C++11.
Set of options for memory manager.
bool use_mmap_hugepages_
Whether to use non-transparent hugepages for big memories (1GB huge pages).
uint32_t page_pool_size_mb_per_node_
Size of the page pool in MB per each NUMA node.
bool interleave_numa_alloc_
Whether to use numa_alloc_interleaved() instead of numa_alloc_onnode().
Default value for page_pool_size_mb_per_node_.
bool suppress_memory_prescreening_
Whether to tolerate insufficient hugepages etc in the prescreen check.
bool rigorous_page_boundary_check_
Whether to use mprotect() for page boundaries to detect bogus memory accesses.
bool use_numa_alloc_
Whether to use numa_alloc_interleaved()/numa_alloc_onnode() to allocate memories in NumaCoreMemory an...