You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "wqyzstql (via GitHub)" <gi...@apache.org> on 2025/06/12 06:30:39 UTC
[I] [VL] gluten reads slower than native Spark [incubator-gluten]
wqyzstql opened a new issue, #9956:
URL: https://github.com/apache/incubator-gluten/issues/9956
### Backend
VL (Velox)
### Bug description
In the same SQL query job, native Spark only generated 9,000 tasks, but Gluten generated 26,475 tasks. Native Spark only took 43 minutes, but Gluten took 3 hours.


And you can see that Gluten's time of scan and filter total takes up most of the time

while Spark use much less time than gluten

### Gluten version
Gluten-1.3
### Spark version
Spark-3.2.x
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
```bash
```
--
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: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [VL] gluten reads slower than native Spark [incubator-gluten]
Posted by "Yohahaha (via GitHub)" <gi...@apache.org>.
Yohahaha commented on issue #9956:
URL: https://github.com/apache/incubator-gluten/issues/9956#issuecomment-2974887324
> > what storage are you read from?
>
> I read data from Baidu Cloud's BOS file system, and the adapter is my own implementation modeled after S3. I read a table in ORC format. Do I need to add efficiency optimization code in anything other than storage_adapters?
you could benchmark the reader impl from Velox side and check whether the network bps is expected.
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [VL] gluten reads slower than native Spark [incubator-gluten]
Posted by "wqyzstql (via GitHub)" <gi...@apache.org>.
wqyzstql commented on issue #9956:
URL: https://github.com/apache/incubator-gluten/issues/9956#issuecomment-2978821884
> Gluten shouldn't impact the partition number, it's all passed from Spark. Did you changed any config like `spark.sql.files.maxPartitionBytes`, `spark.default.parallelism`?
i didnt change those config,but does the memory configuration affect the generation of these configurations by Spark?
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [VL] gluten reads slower than native Spark [incubator-gluten]
Posted by "wqyzstql (via GitHub)" <gi...@apache.org>.
wqyzstql commented on issue #9956:
URL: https://github.com/apache/incubator-gluten/issues/9956#issuecomment-2972147860
> what storage are you read from?
I read data from Baidu Cloud's BOS file system, and the adapter is my own implementation modeled after S3. I read a table in ORC format. Do I need to add efficiency optimization code in anything other than storage_adapters?
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [VL] gluten reads slower than native Spark [incubator-gluten]
Posted by "FelixYBW (via GitHub)" <gi...@apache.org>.
FelixYBW commented on issue #9956:
URL: https://github.com/apache/incubator-gluten/issues/9956#issuecomment-2978139055
Gluten shouldn't impact the partition number, it's all passed from Spark. Did you changed any config like `spark.sql.files.maxPartitionBytes`, `spark.default.parallelism`?
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [VL] gluten reads slower than native Spark [incubator-gluten]
Posted by "Yohahaha (via GitHub)" <gi...@apache.org>.
Yohahaha commented on issue #9956:
URL: https://github.com/apache/incubator-gluten/issues/9956#issuecomment-2969302729
what storage are you read from?
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org