-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to config or modify the code and shell if test NovaLSM on local machine? #5
Comments
(1) You need to enable tmpfs and set db directory onto it to simulate the speed of the disaggregated memory. (2) Besides, you need to use my forked repo "https://github.com/ruihong123/NovaLSM", or use "db_bench" branch on the original repo. I made some changes to make the code physically disaggregated. (3) On the memory server, you need to run "nova_server_main" to enable the disaggregated server. |
Thank you so much! I will try it now following your instructions. In addition, should I use "nova_lsm_tutorial_exp.sh" or "nova_lsm_tutorial_backup.sh"? They look very similar. |
I used your forked repo "https://github.com/ruihong123/NovaLSM", and coredumped when running the memory serve "nova_server_main". The startup parameters are configured as follows: “/home/caoq/novaDB” is a tmpfs dir. home_dir="/home/caoq/NovaTest/NovaLSM-master" recordcount="100000" ltc_migration_policy="immediate" major_compaction_type="sc" enable_flush_multiple_memtables="false" db_path="/home/caoq/novaDB/db/nova-db-$recordcount-$value_size" num_storage_workers="8" cc_stoc_files_path="/home/caoq/novaDB/db/stoc_files" max_stoc_file_size_mb="4" port=$((10000+RANDOM%1000)) server_id=0 mem_pool_size_gb="30" ltc_config_path="" cc_nconn_workers="1" rdma_max_msg_size=$((256*1024)) ltc_num_stocs_scatter_data_blocks="1" cmd="stdbuf --output=0 --error=0 ./nova_server_main --ltc_migration_policy=$ltc_migration_policy --enable_range_index=$enable_range_index --num_migration_threads=$num_migration_threads --num_sstable_replicas=$num_sstable_replicas --level=$level --l0_start_compaction_mb=$l0_start_compaction_mb --subrange_no_flush_num_keys=$subrange_no_flush_num_keys --enable_detailed_db_stats=$enable_detailed_db_stats --major_compaction_type=$major_compaction_type --major_compaction_max_parallism=$major_compaction_max_parallism --major_compaction_max_tables_in_a_set=$major_compaction_max_tables_in_a_set --enable_flush_multiple_memtables=$enable_flush_multiple_memtables --recover_dbs=$recover_dbs --num_recovery_threads=$num_recovery_threads --sampling_ratio=1 --zipfian_dist_ref_counts=$zipfian_dist_file_path --client_access_pattern=$dist --memtable_type=static_partition --enable_subrange=$enable_subrange --num_log_replicas=$num_log_replicas --log_record_mode=$log_record_mode --scatter_policy=$scatter_policy --number_of_ltcs=$number_of_ltcs --enable_lookup_index=$enable_lookup_index --l0_stop_write_mb=$l0_stop_write_mb --num_memtable_partitions=$num_memtable_partitions --num_memtables=$num_memtables --num_rdma_bg_workers=$num_rdma_bg_workers --db_path=$db_path --num_storage_workers=$num_storage_workers --stoc_files_path=$cc_stoc_files_path --max_stoc_file_size_mb=$max_stoc_file_size_mb --sstable_size_mb=$sstable_size_mb --ltc_num_stocs_scatter_data_blocks=$ltc_num_stocs_scatter_data_blocks --all_servers=$nova_servers --server_id=$server_id --mem_pool_size_gb=$mem_pool_size_gb --use_fixed_value_size=$value_size --ltc_config_path=$ltc_config_path --ltc_num_client_workers=$cc_nconn_workers --num_rdma_fg_workers=$num_rdma_fg_workers --num_compaction_workers=$num_compaction_workers --block_cache_mb=$block_cache_mb --row_cache_mb=$row_cache_mb --memtable_size_mb=$memtable_size_mb --cc_log_buf_size=$cc_log_buf_size --rdma_port=$rdma_port --rdma_max_msg_size=$rdma_max_msg_size --rdma_max_num_sends=$rdma_max_num_sends --rdma_doorbell_batch_size=$rdma_doorbell_batch_size --enable_rdma=$enable_rdma --enable_load_data=$enable_load_data --use_local_disk=$use_local_disk" |
hello,I noticed that experiment "We conduct the experiments mostly on a platform consisting of two servers ..." in the paper.
What I want to ask is how to to config or modify the code and script if test NovaLSM with two local machine ? thank you very much.
The text was updated successfully, but these errors were encountered: