diff options
author | alexeylaptev <alexeylaptev@yandex-team.com> | 2023-03-31 12:46:35 +0300 |
---|---|---|
committer | alexeylaptev <alexeylaptev@yandex-team.com> | 2023-03-31 12:46:35 +0300 |
commit | 6aa067ea2563799eba8dc882b2a3b988c78a11ea (patch) | |
tree | 511af9c0af6ddd7557ebbaed2507ed59bd4b6e51 /library/cpp/coroutine/engine/stack/stack_common.h | |
parent | b8b0c96f551f903191a64c9ce66286bedeaa37ed (diff) | |
download | ydb-6aa067ea2563799eba8dc882b2a3b988c78a11ea.tar.gz |
coro allocator by default
Diffstat (limited to 'library/cpp/coroutine/engine/stack/stack_common.h')
-rw-r--r-- | library/cpp/coroutine/engine/stack/stack_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/coroutine/engine/stack/stack_common.h b/library/cpp/coroutine/engine/stack/stack_common.h index 0e81db56a8..d2d473a426 100644 --- a/library/cpp/coroutine/engine/stack/stack_common.h +++ b/library/cpp/coroutine/engine/stack/stack_common.h @@ -19,9 +19,9 @@ namespace NCoro::NStack { struct TPoolAllocatorSettings { size_t RssPagesToKeep = 1; size_t SmallStackRssPagesToKeep = 1; // for stack less than SmallStackMaxSizeInPages - size_t ReleaseRate = 2; + size_t ReleaseRate = 8; #if !defined(_san_enabled_) && defined(NDEBUG) - size_t StacksPerChunk = 256; + size_t StacksPerChunk = 1024; #else size_t StacksPerChunk = 2; #endif |