Use 2 threads per stripe.
@@ -104,8 +104,8 @@ FileStorManager::configure(std::unique_ptr<vespa::config::content::StorFilestorC
if (!liveUpdate) {
_config = std::move(config);
_disks.resize(_component.getDiskCount());
- size_t numThreads = _config->numThreads;
- size_t numStripes = std::min(4ul, numThreads);
+ size_t numThreads = std::max(4, _config->numThreads);
+ size_t numStripes = numThreads / 2;
_metrics->initDiskMetrics(_disks.size(), _component.getLoadTypes()->getMetricLoadTypes(), numStripes, numThreads);
_filestorHandler = std::make_unique<FileStorHandler>(numThreads, numStripes, *this, *_metrics, _partitions, _compReg);
