marin-ma commented on PR #11543:
URL:
https://github.com/apache/incubator-gluten/pull/11543#issuecomment-3843492356
Verified with tpcds q95 on a gpu node with below configurations:
```
cat tpcds_parquet.scala | ${SPARK_HOME}/bin/spark-shell \
--master spark://5da02429f127:7077 --deploy-mode client \
--executor-cores 4 \
--conf spark.plugins=org.apache.gluten.GlutenPlugin \
--conf spark.driver.extraClassPath=${GLUTEN_JAR} \
--conf spark.executor.extraClassPath=${GLUTEN_JAR} \
--conf spark.memory.offHeap.enabled=true \
--conf spark.memory.offHeap.size=2g \
--conf spark.gluten.sql.columnar.forceShuffledHashJoin=true \
--conf
spark.shuffle.manager=org.apache.spark.shuffle.sort.ColumnarShuffleManager \
--conf
spark.driver.extraJavaOptions="-Dio.netty.tryReflectionSetAccessible=true
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005" \
--conf
spark.executor.extraJavaOptions="-Dio.netty.tryReflectionSetAccessible=true" \
--conf spark.dynamicAllocation.enabled=true \
--conf spark.executor.resource.cpu.amount=1 \
--conf spark.executor.resource.cpu.discoveryScript=/opt/spark/conf/cpu.sh \
--conf spark.gluten.sql.columnar.backend.velox.cudf.enableValidation=true \
--conf spark.gluten.sql.columnar.cudf=true \
--conf spark.gluten.sql.debug=true \
--conf spark.gluten.sql.debug.cudf=true \
--conf
spark.gluten.sql.columnar.backend.velox.resizeBatches.shuffleOutput=true \
--conf
spark.gluten.sql.columnar.backend.velox.resizeBatches.shuffleInput=false \
--conf spark.gluten.auto.adjustStageExecutionMode=true \
--conf spark.log.level=INFO
```
Started 2 cpu workers and 1 gpu worker using the script above. During
runtime there's one executor started on each worker. Only the 40 tasks of stage
40 were scheduled to the executor on the gpu worker, all other tasks were
scheduled to the executor on the 2 cpu workers. Next will try it on a real
mixed cpu/gpu cluster.
<img width="1716" height="433" alt="image"
src="https://github.com/user-attachments/assets/93c0d9ed-a268-4fde-baee-8e9480998082"
/>
--
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]