Loading include/config.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ namespace rpc { constexpr auto chunksize = 524288; // 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 constexpr auto async_opendir = true; /* * Indicates the number of concurrent progress to drive I/O operations of chunk Loading src/client/rpc/forward_metadata_proxy.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -203,10 +203,10 @@ forward_get_dirents_single_proxy(const string& path, int server) { * buffer. Moreover we don't need a zeroed buffer here. */ auto large_buffer = std::unique_ptr<char[]>( new char[gkfs::config::rpc::dirents_buff_size]); new char[gkfs::config::rpc::dirents_buff_size_proxy]); // We use the full size per server... const std::size_t per_host_buff_size = gkfs::config::rpc::dirents_buff_size; const std::size_t per_host_buff_size = gkfs::config::rpc::dirents_buff_size_proxy; auto output_ptr = make_unique< vector<tuple<const std::string, bool, size_t, time_t>>>(); Loading Loading
include/config.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ namespace rpc { constexpr auto chunksize = 524288; // 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 constexpr auto async_opendir = true; /* * Indicates the number of concurrent progress to drive I/O operations of chunk Loading
src/client/rpc/forward_metadata_proxy.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -203,10 +203,10 @@ forward_get_dirents_single_proxy(const string& path, int server) { * buffer. Moreover we don't need a zeroed buffer here. */ auto large_buffer = std::unique_ptr<char[]>( new char[gkfs::config::rpc::dirents_buff_size]); new char[gkfs::config::rpc::dirents_buff_size_proxy]); // We use the full size per server... const std::size_t per_host_buff_size = gkfs::config::rpc::dirents_buff_size; const std::size_t per_host_buff_size = gkfs::config::rpc::dirents_buff_size_proxy; auto output_ptr = make_unique< vector<tuple<const std::string, bool, size_t, time_t>>>(); Loading