diff options
author | Henning Baldersheim <balder@oath.com> | 2018-11-22 10:45:21 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-11-22 10:45:21 +0100 |
commit | e1c04a239f3d7f30fff32986f0f9ac5ad764e497 (patch) | |
tree | 3b3067f2074247edd5ed569cc7c9f02596b68def /searchcore | |
parent | 01e4e2def6bb57b0b691f6b94760f38a65927e33 (diff) |
10ms is a more desirable and likely latency than 1s
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp b/searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp index b48f1abfb51..4e1bc62b790 100644 --- a/searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp +++ b/searchcore/src/vespa/searchcore/fdispatch/search/plain_dataset.cpp @@ -126,8 +126,7 @@ FastS_PartitionMap::LinkIn(FastS_EngineBase *engine) _childmaxnodesSinceReload = std::max(_childmaxnodesSinceReload, _childmaxnodesNow); _childnodes += engine->_reported._actNodes; if (part._maxpartsNow <= engine->_reported._maxParts) { - _childmaxpartsNow += engine->_reported._maxParts - - part._maxpartsNow; + _childmaxpartsNow += engine->_reported._maxParts - part._maxpartsNow; _childmaxpartsSinceReload += std::max(_childmaxpartsSinceReload, _childmaxpartsNow); part._maxpartsNow = engine->_reported._maxParts; } @@ -196,7 +195,7 @@ FastS_PlainDataSet::FastS_PlainDataSet(FastS_AppContext *appCtx, FastS_DataSetDesc *desc) : FastS_DataSetBase(appCtx, desc), _partMap(desc), - _stateOfRows(_partMap.getNumRows(), 1.0, desc->GetQueryDistributionMode().getLatencyDecayRate()), + _stateOfRows(_partMap.getNumRows(), 0.010, desc->GetQueryDistributionMode().getLatencyDecayRate()), _MHPN_log(), _slowQueryLimitFactor(desc->GetSlowQueryLimitFactor()), _slowQueryLimitBias(desc->GetSlowQueryLimitBias()), |