From 7b8ea285614c45b418124ac249748c25d3ea4031 Mon Sep 17 00:00:00 2001 From: Vytenis Darulis Date: Tue, 27 Oct 2020 18:12:15 -0400 Subject: [PATCH] [dbnode] Bump default filesystem persist rate limit (#2806) --- src/cmd/services/m3dbnode/config/fs.go | 2 +- src/dbnode/config/m3dbnode-all-config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/services/m3dbnode/config/fs.go b/src/cmd/services/m3dbnode/config/fs.go index 7e0e985f5e..c8ea8a88d3 100644 --- a/src/cmd/services/m3dbnode/config/fs.go +++ b/src/cmd/services/m3dbnode/config/fs.go @@ -36,7 +36,7 @@ const ( defaultDataReadBufferSize = 65536 defaultInfoReadBufferSize = 128 defaultSeekReadBufferSize = 4096 - defaultThroughputLimitMbps = 100.0 + defaultThroughputLimitMbps = 1000.0 defaultThroughputCheckEvery = 128 defaultForceIndexSummariesMmapMemory = false defaultForceBloomFilterMmapMemory = false diff --git a/src/dbnode/config/m3dbnode-all-config.yml b/src/dbnode/config/m3dbnode-all-config.yml index 4b62a4d565..75d3e55255 100644 --- a/src/dbnode/config/m3dbnode-all-config.yml +++ b/src/dbnode/config/m3dbnode-all-config.yml @@ -147,7 +147,7 @@ db: # and snapshotting to prevent them from interfering with the commitlog. Increasing # this value can make node adds significantly faster if the underlyign disk can # support the throughput. - throughputLimitMbps: 100.0 + throughputLimitMbps: 1000.0 throughputCheckEvery: 128 # This feature is currently not working, do not enable.