-
Notifications
You must be signed in to change notification settings - Fork 439
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
[GLUTEN-8025][VL] set default kSpillWriteBufferSize to the same as velox #8026
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/apache/incubator-gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
Shall we update the code for consistency? Thanks! |
Please update the PR to respect |
Run Gluten Clickhouse CI on x86 |
Run Gluten Clickhouse CI on x86 |
close. merge to #8045 |
The kSpillWriteBufferSize is set to 4M by typo. correct it to 1M. The value control the buffer size when spill write data to disk.
Add config kSpillReadBufferSize. it controls the read buffer size when spill data is fetch back. The memory will be allocated as offheap memory. So if there are to many spill files, the memory will exceed offheap size and trigger the OOM issue by operator::getOutput.
The spill files number is impacted by MaxSpillFileSize and MaxSpillRunRows, both are the smaller the more spill files.