diff options
author | Geir Storli <geirst@oath.com> | 2017-10-24 15:30:27 +0200 |
---|---|---|
committer | Geir Storli <geirst@oath.com> | 2017-10-24 15:30:27 +0200 |
commit | b666cdcc654ac88663ba88cd9b259fafff9ea686 (patch) | |
tree | 10bfdda251f7a40f5797e88ea8792c3db237977f /searchcore | |
parent | c668472b01ea333135a5c09300f8816d9d774cc2 (diff) |
Activate disk usage sampling for docker nodes that have shared disk.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/proton.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/proton.cpp b/searchcore/src/vespa/searchcore/proton/server/proton.cpp index 60461fe649e..eefef25911f 100644 --- a/searchcore/src/vespa/searchcore/proton/server/proton.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/proton.cpp @@ -237,8 +237,7 @@ Proton::init(const BootstrapConfig::SP & configSnapshot) const auto &hwDiskCfg = protonConfig.hwinfo.disk; const auto &hwMemoryCfg = protonConfig.hwinfo.memory; const auto &hwCpuCfg = protonConfig.hwinfo.cpu; - // TODO: Forward disk size when performance impact of disk usage sampling is verified - HwInfoSampler::Config samplerCfg(0, + HwInfoSampler::Config samplerCfg(hwDiskCfg.size, hwDiskCfg.writespeed, hwDiskCfg.slowwritespeedlimit, hwDiskCfg.samplewritesize, |