Skip to content

Conversation

@gridnevvvit
Copy link
Member

Changelog entry

support memory pools configurations & improve spilling settings

Changelog category

  • Improvement

Additional information

...

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 16:18:29 UTC Pre-commit check for a577cfb has started.
2024-08-06 16:21:46 UTC Check linux-x86_64-release-clang14 is running...
🔴 2024-08-06 16:56:52 UTC Build failed. see the logs.

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 16:19:59 UTC Pre-commit check for a577cfb has started.
2024-08-06 16:23:09 UTC Check linux-x86_64-relwithdebinfo is running...
🔴 2024-08-06 16:47:12 UTC Build failed. see the logs.

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 16:20:00 UTC Pre-commit check for a577cfb has started.
2024-08-06 16:23:10 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-06 16:42:18 UTC Build failed. see the logs.

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 18:45:52 UTC Pre-commit check for c65af18 has started.
2024-08-06 18:49:11 UTC Check linux-x86_64-release-clang14 is running...
2024-08-06 18:50:58 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 18:46:06 UTC Pre-commit check for c65af18 has started.
2024-08-06 18:49:26 UTC Check linux-x86_64-release-asan is running...
2024-08-06 18:50:59 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 18:46:07 UTC Pre-commit check for c65af18 has started.
2024-08-06 18:49:19 UTC Check linux-x86_64-relwithdebinfo is running...
2024-08-06 18:50:57 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 18:52:24 UTC Pre-commit check for c27c11f has started.
2024-08-06 18:55:30 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-06 19:33:09 UTC Build successful.

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 18:54:43 UTC Pre-commit check for c27c11f has started.
2024-08-06 18:57:56 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-06 21:29:15 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11058 11002 0 6 34 16

🟢 2024-08-06 21:30:40 UTC Build successful.
🟡 2024-08-06 21:31:13 UTC ydbd size 5.4 GiB changed* by +194.2 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 38a0fb6 merge: c27c11f diff diff %
ydbd size 5 831 264 472 Bytes 5 831 463 312 Bytes +194.2 KiB +0.003%
ydbd stripped size 1 464 774 128 Bytes 1 464 795 632 Bytes +21.0 KiB +0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 18:55:01 UTC Pre-commit check for c27c11f has started.
2024-08-06 18:58:28 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-06 21:24:32 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
39829 34484 0 14 5313 18

2024-08-06 21:28:56 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-06 21:37:48 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
37 (only retried tests) 26 0 1 0 10

2024-08-06 21:41:21 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-08-06 21:48:16 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
12 (only retried tests) 3 0 1 0 8

🟢 2024-08-06 21:52:08 UTC Build successful.
🟡 2024-08-06 21:52:49 UTC ydbd size 8.1 GiB changed* by +362.4 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 38a0fb6 merge: c27c11f diff diff %
ydbd size 8 672 465 152 Bytes 8 672 836 200 Bytes +362.4 KiB +0.004%
ydbd stripped size 471 954 152 Bytes 471 972 008 Bytes +17.4 KiB +0.004%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 22:33:54 UTC Pre-commit check for 524e331 has started.
2024-08-06 22:37:06 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-06 22:52:45 UTC Build successful.

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 22:34:07 UTC Pre-commit check for 524e331 has started.
2024-08-06 22:37:17 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-07 00:47:09 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11057 11014 0 5 22 16

🟢 2024-08-07 00:48:33 UTC Build successful.
🟡 2024-08-07 00:49:03 UTC ydbd size 5.4 GiB changed* by +198.1 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 2f2468c merge: 524e331 diff diff %
ydbd size 5 831 273 896 Bytes 5 831 476 768 Bytes +198.1 KiB +0.003%
ydbd stripped size 1 464 776 816 Bytes 1 464 802 352 Bytes +24.9 KiB +0.002%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions
Copy link

github-actions bot commented Aug 6, 2024

2024-08-06 22:34:28 UTC Pre-commit check for 524e331 has started.
2024-08-06 22:37:37 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-07 00:37:53 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
39824 34503 0 2 5308 11

2024-08-07 00:42:17 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-07 00:49:12 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15 (only retried tests) 7 0 0 0 8

🟢 2024-08-07 00:52:32 UTC Build successful.
🟡 2024-08-07 00:53:24 UTC ydbd size 8.1 GiB changed* by +362.3 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 2f2468c merge: 524e331 diff diff %
ydbd size 8 672 467 488 Bytes 8 672 838 480 Bytes +362.3 KiB +0.004%
ydbd stripped size 471 954 088 Bytes 471 971 880 Bytes +17.4 KiB +0.004%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@gridnevvvit gridnevvvit merged commit a77c0ad into ydb-platform:main Aug 7, 2024
}

request.SetSchedulerGroup(UserRequestContext->PoolId);
request.SetMemoryPoolPercent(UserRequestContext->PoolConfig->QueryMemoryLimitPercentPerNode);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В этом месте может быть UserRequestContext->PoolConfig = std::nullopt, лучше добавить на это проверку

TxInfo = MakeIntrusive<NRm::TTxState>(
TxId, TInstant::Now(), ResourceManager_->GetCounters());
TxId, TInstant::Now(), ResourceManager_->GetCounters(),
UserRequestContext->PoolId, UserRequestContext->PoolConfig->QueryMemoryLimitPercentPerNode);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут тоже стоит проверить UserRequestContext->PoolConfig = std::nullopt

}

void SetNewLimit(ui64 baseLimit, double memoryPoolPercent, double overPercent) {
if (abs(memoryPoolPercent - MemoryPoolPercent) < MYEPS && baseLimit != BaseLimit)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут точно должно быть baseLimit != BaseLimit? Судя по коду конфиг может поменяться и тогда делается SetNewLimit для TotalMemoryResource (тут), в этом случае лимит не поменяется

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants