You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/07/12 14:20:10 UTC
[doris] branch master updated: [improvement]Increase min_ht_mem of StreamingHtMinReductionEntry (#10787)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 89e2678f4e [improvement]Increase min_ht_mem of StreamingHtMinReductionEntry (#10787)
89e2678f4e is described below
commit 89e2678f4e32a6e212e49019cab1ff0eb54e93b7
Author: Jerry Hu <mr...@gmail.com>
AuthorDate: Tue Jul 12 22:20:02 2022 +0800
[improvement]Increase min_ht_mem of StreamingHtMinReductionEntry (#10787)
---
be/src/vec/exec/vaggregation_node.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/be/src/vec/exec/vaggregation_node.cpp b/be/src/vec/exec/vaggregation_node.cpp
index c1de52de25..62e3e415b3 100644
--- a/be/src/vec/exec/vaggregation_node.cpp
+++ b/be/src/vec/exec/vaggregation_node.cpp
@@ -65,9 +65,11 @@ static constexpr StreamingHtMinReductionEntry STREAMING_HT_MIN_REDUCTION[] = {
// Expand up to L2 cache always.
{0, 0.0},
// Expand into L3 cache if we look like we're getting some reduction.
- {256 * 1024, 1.1},
+ // At present, The L2 cache is generally 1024k or more
+ {1024 * 1024, 1.1},
// Expand into main memory if we're getting a significant reduction.
- {2 * 1024 * 1024, 2.0},
+ // The L3 cache is generally 16MB or more
+ {16 * 1024 * 1024, 2.0},
};
static constexpr int STREAMING_HT_MIN_REDUCTION_SIZE =
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org