You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "j7nhai (via GitHub)" <gi...@apache.org> on 2024/10/23 09:10:28 UTC
[I] ShuffleExternalSorter occupy too many memory and cause OOM [incubator-gluten]
j7nhai opened a new issue, #7658:
URL: https://github.com/apache/incubator-gluten/issues/7658
### Backend
VL (Velox)
### Bug description
```
Current config settings:
spark.gluten.memory.offHeap.size.in.bytes=15.0 GiB
spark.gluten.memory.task.offHeap.size.in.bytes=3.8 GiB
spark.gluten.memory.conservative.task.offHeap.size.in.bytes=1920.0 MiB
spark.memory.offHeap.enabled=true
spark.gluten.memory.dynamic.offHeap.sizing.enabled=false
Memory consumer stats:
Task.30233: Current used bytes: 3.7 GiB, peak bytes: N/A
+- org.apache.spark.shuffle.sort.ShuffleExternalSorter@73e80a06: Current used bytes: 3.7 GiB, peak bytes: N/A
\- Gluten.Tree.202: Current used bytes: 25.0 MiB, peak bytes: 112.0 MiB
\- root.202: Current used bytes: 25.0 MiB, peak bytes: 112.0 MiB
+- ColumnarToRow.201: Current used bytes: 16.0 MiB, peak bytes: 16.0 MiB
\- single: Current used bytes: 16.0 MiB, peak bytes: 16.0 MiB
+- root: Current used bytes: 16.0 MiB, peak bytes: 16.0 MiB
| \- default_leaf: Current used bytes: 16.0 MiB, peak bytes: 16.0 MiB
\- gluten::MemoryAllocator: Current used bytes: 0.0 B, peak bytes: 0.0 B
+- WholeStageIterator.201: Current used bytes: 9.0 MiB, peak bytes: 66.0 MiB
\- single: Current used bytes: 9.0 MiB, peak bytes: 64.0 MiB
```
Why use so many memory for ShuffleExternalSorter?
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
_No response_
--
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] ShuffleExternalSorter occupy too many memory and cause OOM [incubator-gluten]
Posted by "FelixYBW (via GitHub)" <gi...@apache.org>.
FelixYBW commented on issue #7658:
URL: https://github.com/apache/incubator-gluten/issues/7658#issuecomment-2437071121
Does the shuffle fallbacked?
--
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] ShuffleExternalSorter occupy too many memory and cause OOM [incubator-gluten]
Posted by "j7nhai (via GitHub)" <gi...@apache.org>.
j7nhai commented on issue #7658:
URL: https://github.com/apache/incubator-gluten/issues/7658#issuecomment-2440504206
> Does the shuffle fallback?
yes
```
== Fallback Summary ==
(8) Exchange: Gluten does not touch it or does not support it
== Physical Plan ==
Exchange (8)
+- VeloxColumnarToRow (7)
+- ^ ProjectExecTransformer (5)
+- ^ GenerateExecTransformer (4)
+- ^ ProjectExecTransformer (3)
+- ^ FilterExecTransformer (2)
+- ^ IcebergIcebergScanTransformer (1)
```
--
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] ShuffleExternalSorter occupy too many memory and cause OOM [incubator-gluten]
Posted by "j7nhai (via GitHub)" <gi...@apache.org>.
j7nhai closed issue #7658: ShuffleExternalSorter occupy too many memory and cause OOM
URL: https://github.com/apache/incubator-gluten/issues/7658
--
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] ShuffleExternalSorter occupy too many memory and cause OOM [incubator-gluten]
Posted by "FelixYBW (via GitHub)" <gi...@apache.org>.
FelixYBW commented on issue #7658:
URL: https://github.com/apache/incubator-gluten/issues/7658#issuecomment-2442681754
I see, fallbacked exchange operator does use much onheap memory. The only thing you can do is to increase the onheap memory config.
--
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