I tried to run FastMap on a server with 256 cores, and FastMap crashed at alloc_page_lock. I read the code and found that FastMap only supports 32 and 80 freelists (or cores) according to mmap_buffer_hash_table.c shown below. How to make it variable? I am also confused about setting constants in shared_defines.h? Could you show a correct setting with 256 cores? Thank you.
|
#error "NUM_FREELISTS number is not supported!" |
|
const unsigned int cpu = __rand[cpuid][i]; |
I tried to run FastMap on a server with 256 cores, and FastMap crashed at
alloc_page_lock. I read the code and found that FastMap only supports 32 and 80 freelists (or cores) according tommap_buffer_hash_table.cshown below. How to make it variable? I am also confused about setting constants inshared_defines.h? Could you show a correct setting with 256 cores? Thank you.FastMap/driver/mmap_buffer_hash_table.c
Line 135 in 06a2c93
FastMap/driver/mmap_buffer_hash_table.c
Line 280 in 06a2c93