You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "zhztheplayer (via GitHub)" <gi...@apache.org> on 2024/08/21 08:24:25 UTC

[I] [VL] Limit Velox global memory manager's usage [incubator-gluten]

zhztheplayer opened a new issue, #6960:
URL: https://github.com/apache/incubator-gluten/issues/6960

   ### Description
   
   It's observed that Velox backend uses more memory than we configured. Which is perhaps related to the untracked Velox global memory manager.
   
   We should set a capacity according to Spark overhead size to [here](https://github.com/apache/incubator-gluten/blob/63144566d50a697daebdf2f3c569bddc44e398a5/cpp/velox/compute/VeloxBackend.cc#L130) to limit that memory manager's usage.


-- 
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] Limit Velox global memory manager's usage [incubator-gluten]

Posted by "FelixYBW (via GitHub)" <gi...@apache.org>.
FelixYBW commented on issue #6960:
URL: https://github.com/apache/incubator-gluten/issues/6960#issuecomment-2302695290

   @marin-ma Is the compression buffer retained in shuffle? if not we can use the global memory allocator to allocate it.


-- 
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] Limit Velox global memory manager's usage [incubator-gluten]

Posted by "FelixYBW (via GitHub)" <gi...@apache.org>.
FelixYBW commented on issue #6960:
URL: https://github.com/apache/incubator-gluten/issues/6960#issuecomment-2302683617

   The global memory allocation is used for spill's compression buffer. The memory is counted into executor.overhead memory in Spark. We can do the same for Gluten.
   
   In spark, the overhead memory includes reducer's netty memory, compression buffer memory, the memory native library allocated.
   
   In Gluten the overhead memory includes reducer's netty memory, memory using global allocator, all the std::container's memory.


-- 
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