Skip to content

Commit

Permalink
Merge pull request #18451 from Lazin/fix/throughput-test
Browse files Browse the repository at this point in the history
cloud_storage: Increase disk tput limit a bit
  • Loading branch information
Lazin authored May 15, 2024
2 parents 209f78d + 0ae2ad2 commit f3ea797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v/cloud_storage/materialized_resources.cc
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ get_throughput_limit(std::optional<size_t> device_throughput) {
}

auto tp = std::min(hard_limit, device_throughput.value());
constexpr auto tput_overshoot_frac = 16;
return {
.disk_node_throughput_limit = tp,
.disk_node_throughput_limit = tp + (tp / tput_overshoot_frac),
.download_shard_throughput_limit = tp / ss::smp::count,
};
}
Expand Down

0 comments on commit f3ea797

Please sign in to comment.