[improvement]Increase min_ht_mem of StreamingHtMinReductionEntry (#10787)

This commit is contained in:
Jerry Hu
2022-07-12 22:20:02 +08:00
committed by GitHub
parent 89bec9b56a
commit 89e2678f4e

View File

@ -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 =