Skip to content

Commit

Permalink
[VL] Enable split preloading by default (#5456)
Browse files Browse the repository at this point in the history
Enable split preloading by default. use 1 I/O thread for each task thread
  • Loading branch information
zhli1142015 authored May 7, 2024
1 parent fe04e77 commit 254d62e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1230,9 +1230,14 @@ object GlutenConfig {
val COLUMNAR_VELOX_CONNECTOR_IO_THREADS =
buildStaticConf("spark.gluten.sql.columnar.backend.velox.IOThreads")
.internal()
.doc("The IO threads for connector split preloading")
.doc("The Size of the IO thread pool in the Connector. This thread pool is used for split" +
" preloading and DirectBufferedInput.")
.intConf
.createWithDefault(0)
.createWithDefaultFunction(
() =>
SQLConf.get.getConfString("spark.executor.cores", "1").toInt / SQLConf.get
.getConfString("spark.task.cpus", "1")
.toInt)

val COLUMNAR_VELOX_ASYNC_TIMEOUT =
buildStaticConf("spark.gluten.sql.columnar.backend.velox.asyncTimeoutOnTaskStopping")
Expand Down

0 comments on commit 254d62e

Please sign in to comment.