Verified Commit 1579454e authored by Marc Vef's avatar Marc Vef
Browse files

io500 settings

parent afe6e43d
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ constexpr bool clear_dentry_cache_on_close = true;
// Instead, the size is updated every `max_write_size_cache` writes per file.
// fsync/close flushes the size to the server immediately.
constexpr bool use_write_size_cache = true;
constexpr auto max_write_size_cache = 100;
constexpr auto max_write_size_cache = 1000;
} // namespace cache

namespace client_metrics {
@@ -104,7 +104,7 @@ constexpr auto dir = "metadata";
// which metadata should be considered apart from size and mode
// Blocks are used to store the rename status (-1 is a renamed file)
constexpr auto use_atime = false;
constexpr auto use_ctime = false;
constexpr auto use_ctime = true;
constexpr auto use_mtime = false;
constexpr auto use_link_cnt = false;
#ifdef HAS_RENAME
@@ -132,14 +132,14 @@ constexpr auto chunk_dir = "chunks";

namespace proxy {
constexpr auto pid_path = "/tmp/gkfs_proxy.pid";
constexpr auto fwd_create = true;
constexpr auto fwd_stat = true;
constexpr auto fwd_remove = true;
constexpr auto fwd_get_size = true;
constexpr auto fwd_update_size = true;
constexpr auto fwd_io = true;
constexpr auto fwd_truncate = true;
constexpr auto fwd_chunk_stat = true;
constexpr auto fwd_create = false;
constexpr auto fwd_stat = false;
constexpr auto fwd_remove = false;
constexpr auto fwd_get_size = false;
constexpr auto fwd_update_size = false;
constexpr auto fwd_io = false;
constexpr auto fwd_truncate = false;
constexpr auto fwd_chunk_stat = false;
constexpr auto fwd_get_dirents_single = true;
// Only use proxy for io if write/read size is higher than set value
constexpr auto fwd_io_count_threshold = 0;
@@ -147,7 +147,7 @@ constexpr auto fwd_io_count_threshold = 0;
} // namespace proxy

namespace rpc {
constexpr auto chunksize = 524288; // in bytes (e.g., 524288 == 512KB)
constexpr auto chunksize = 1048576; // in bytes (e.g., 524288 == 512KB)
// size of preallocated buffer to hold directory entries in rpc call
constexpr auto dirents_buff_size = (8 * 1024 * 1024); // 8 mega
constexpr auto dirents_buff_size_proxy = (128 * 1024 * 1024); // 8 mega
@@ -157,11 +157,11 @@ constexpr auto async_opendir = true;
 * files to and from local file systems The value is directly mapped to created
 * Argobots xstreams, controlled in a single pool with ABT_snoozer scheduler
 */
constexpr auto daemon_io_xstreams = 8;
constexpr auto daemon_io_xstreams = 32;
// Number of threads used for RPC handlers at the daemon
constexpr auto daemon_handler_xstreams = 4;
// Number of threads used for RPC handlers at the proxy
constexpr auto proxy_handler_xstreams = 3;
constexpr auto proxy_handler_xstreams = 4;
} // namespace rpc

namespace rocksdb {