Skip to content

Commit 7682544

Browse files
committed
longest living cluster
1 parent 61ff38c commit 7682544

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ydb/library/yql/dq/runtime/dq_output_channel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TDqOutputChannel : public IDqOutputChannel {
3434
const NMiniKQL::THolderFactory& holderFactory, const TDqOutputChannelSettings& settings, const TLogFunc& logFunc,
3535
NDqProto::EDataTransportVersion transportVersion)
3636
: OutputType(outputType)
37-
, Packer(OutputType, settings.BufferPageAllocSize)
37+
, Packer(OutputType, 4_KB)
3838
, Width(OutputType->IsMulti() ? static_cast<NMiniKQL::TMultiType*>(OutputType)->GetElementsCount() : 1u)
3939
, Storage(settings.ChannelStorage)
4040
, HolderFactory(holderFactory)

yql/essentials/minikql/comp_nodes/mkql_wide_combine.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,10 +716,10 @@ class TSpillingSupportState : public TComputationValue<TSpillingSupportState> {
716716
auto& bucket = SpilledBuckets[bucketWithLargestSpiller];
717717
size_t spillerSize = bucket.GetTotalSpillerMemorySize();
718718
// If spiller buffer is reasonably large (> 1MB), try to spill it first
719-
if (spillerSize > 1_MB && ForceSpillSpillerBuffers(bucket)) {
719+
if (spillerSize > 10_KB && ForceSpillSpillerBuffers(bucket)) {
720720
UDF_LOG(Logger, LogComponent, NUdf::ELogLevel::Info,
721721
TStringBuilder() << "Force spilling spiller buffers during state split from bucket "
722-
<< bucketWithLargestSpiller << " size=" << (spillerSize/1_MB) << "MB");
722+
<< bucketWithLargestSpiller << " size=" << (spillerSize/10_KB) << "MB");
723723
return true;
724724
}
725725
}

yql/essentials/minikql/computation/mkql_spiller_adapter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class TWideUnboxedValuesSpillerAdapter {
1717
: Spiller(spiller)
1818
, ItemType(type)
1919
, SizeLimit(sizeLimit)
20-
, Packer(type, EValuePackerVersion::V1)
20+
, Packer(type, EValuePackerVersion::V1, 4_KB)
2121
, MemoryUsageReporter(memoryUsageReporter)
2222
{
2323
}

0 commit comments

Comments
 (0)