-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove distinction between system and user memory #10574
Conversation
cc @erichwang |
❤️ |
ca02083
to
cda4433
Compare
cda4433
to
e67a592
Compare
b6f514c
to
40046c0
Compare
trino/core/trino-main/src/main/java/io/trino/memory/MemoryManagerConfig.java Lines 38 to 41 in cea5842
remainder? |
|
No. The from cluster memory manager perspective, total memory = user + revocable.
same |
@@ -156,15 +153,13 @@ public SqlTaskManager( | |||
|
|||
this.localMemoryManager = requireNonNull(localMemoryManager, "localMemoryManager is null"); | |||
DataSize maxQueryMemoryPerNode = nodeMemoryConfig.getMaxQueryMemoryPerNode(); | |||
DataSize maxQueryTotalMemoryPerNode = nodeMemoryConfig.getMaxQueryTotalMemoryPerNode(); | |||
queryMaxMemoryPerTask = nodeMemoryConfig.getMaxQueryTotalMemoryPerTask(); | |||
queryMaxMemoryPerTask = nodeMemoryConfig.getMaxQueryMemoryPerTask(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preexistent - can you still rename this to maxQueryMaxMemoryPerTask
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean to swap "query" and "max"? let's follow up
af8fe86
to
cf6370a
Compare
(squashed) |
CI #10631, was green before squash. |
1ab032c
to
aae7ab8
Compare
(rebased) |
e0a4a82
to
b3b9b8d
Compare
b3b9b8d
to
796544b
Compare
Old configurations are:
which value should |
No description provided.