OpenMPDK / KVSSD

KV SSD host software including APIs and drivers
Other
230 stars 55 forks source link

[kvbench] Questions about factors in bench_config.ini #31

Closed terrafin closed 5 years ago

terrafin commented 5 years ago
  1. What does 'cache_size_MB' in [db_config] means? Does it mean main memory used as cache, or something else(e.g. buffer cache inside KVSSD)?

  2. [blobfs] includes two factors, spdk_conf_file and spdk_cache_size. Are they only for UDD mode, or do they also affects KDD/Emulator?

jackcost6 commented 5 years ago
1. What does 'cache_size_MB' in [db_config] means? Does it mean main memory used as cache, or something else(e.g. buffer cache inside KVSSD)?

2. [blobfs] includes two factors, spdk_conf_file and spdk_cache_size. Are they only for UDD mode, or do they also affects KDD/Emulator?

Hi terrafin, About Question 1: cache_size_MB is used for the cache in database. and it belongs to internal mechanism in database. For example, this config item can set the size of LRU cache in rocksdb. This config item is no relationship with KVSSD.

About Question 2: blobfs is based on SPDK. spdk_conf_file and spdk_cache_size will only affect the test of blobfs, and they don't affect the test of KVSSD functions.

Hope that this information will help you.

terrafin commented 5 years ago

Thank you!