Commit 9450fdc6 authored by sevenuz's avatar sevenuz Committed by sevenuz
Browse files

dbar: paper (MN5) config.hpp settings

Reproduces the uncommitted include/config.hpp changes of the MN5 install
used for the paper runs (71e33592 + local diff, installed 2026-05-11):
dentry cache, write-size cache and spin_lock_read on, inline data off,
daemon xstreams 16 io / 8 handler, proxy 6 handler, check_inode off.
parent 0977f04f
Loading
Loading
Loading
Loading
+8 −8
Changes for include/config.hpp: 8 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -58,14 +58,14 @@ constexpr auto forwarding_file_path = "";

namespace cache {
// Optimization for readdir which avoids consecutive stat calls
constexpr bool use_dentry_cache = false;
constexpr bool use_dentry_cache = true;
// When enabled, the dentry cache is cleared when a directory is closed.
// Disabling this may cause semantic issues.
constexpr bool clear_dentry_cache_on_close = true;
// When enabled, write operations no longer update the file size on each write.
// Instead, the size is updated every `write_size_flush_threshold` writes per
// file. fsync/close flushes the size to the server immediately.
constexpr bool use_write_size_cache = false;
constexpr bool use_write_size_cache = true;
constexpr auto write_size_flush_threshold = 1000;
} // namespace cache

@@ -94,7 +94,7 @@ constexpr auto zero_buffer_before_read = false;
 * regardless of their order minimizing the gap between bulk transfers.
 * Due to spinning in a loop this increases CPU utilization
 */
constexpr auto spin_lock_read = false;
constexpr auto spin_lock_read = true;
} // namespace io

namespace log {
@@ -139,7 +139,7 @@ inline bool rename_support = true;

// Use inline data for small files
// Use inline data for small files
inline bool use_inline_data = true;
inline bool use_inline_data = false;
constexpr auto inline_data_size = 4096; // in bytes
// Next options may break consistency, and definitely break tests. Use with
// care. Optimize write operations for small files (files are not created until
@@ -181,11 +181,11 @@ constexpr auto dirents_buff_size_proxy = (8 * 1024 * 1024); // 8 mega
 * 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 = 16;
// Number of threads used for RPC handlers at the daemon
constexpr auto daemon_handler_xstreams = 4;
constexpr auto daemon_handler_xstreams = 8;
// Number of threads used for RPC handlers at the proxy
constexpr auto proxy_handler_xstreams = 3;
constexpr auto proxy_handler_xstreams = 6;
// Enable compression for directory entries transfer
inline bool use_dirents_compression = false;
} // namespace rpc
@@ -207,7 +207,7 @@ namespace fuse {
constexpr auto pointertrick = false;
// on read and write, check existence of the inode for better errors
// not needed
constexpr auto check_inode = true;
constexpr auto check_inode = false;
} // namespace fuse

} // namespace gkfs::config