wForget commented on code in PR #2899:
URL: https://github.com/apache/datafusion-comet/pull/2899#discussion_r2617649932
##########
common/src/main/scala/org/apache/comet/CometConf.scala:
##########
@@ -441,6 +441,17 @@ object CometConf extends ShimCometConf {
.intConf
.createWithDefault(8192)
+ val COMET_SHUFFLE_WRITE_BUFFER_SIZE: ConfigEntry[Int] =
+ conf(s"$COMET_EXEC_CONFIG_PREFIX.shuffle.writeBufferSize")
+ .category(CATEGORY_SHUFFLE)
+ .doc("Size of the write buffer in bytes used by the native shuffle
writer when writing " +
+ "shuffle data to disk. Larger values may improve write performance by
reducing " +
+ "the number of system calls, but will use more memory. " +
+ "The default is 1MB which provides a good balance between performance
and memory usage.")
+ .intConf
Review Comment:
Why not use `bytesConf`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]