You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/11/04 09:41:34 UTC

[jira] [Resolved] (SPARK-3503) Disable thread local cache in PooledByteBufAllocator

     [ https://issues.apache.org/jira/browse/SPARK-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reynold Xin resolved SPARK-3503.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

> Disable thread local cache in PooledByteBufAllocator
> ----------------------------------------------------
>
>                 Key: SPARK-3503
>                 URL: https://issues.apache.org/jira/browse/SPARK-3503
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Shuffle
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>             Fix For: 1.2.0
>
>
> Feedback from Norman.
> Thread-local caches should be disabled because the ByteBufs are allocated by the event loop thread, but released by the executor thread rather than the event loop thread. Those thread-local caches actually delay the recycling of buffers, leading to larger memory usage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org