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

[jira] [Updated] (SPARK-3493) Unrolling behavior is too aggressive in dropping blocks

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

Andrew Or updated SPARK-3493:
-----------------------------
    Issue Type: Bug  (was: Improvement)

> Unrolling behavior is too aggressive in dropping blocks
> -------------------------------------------------------
>
>                 Key: SPARK-3493
>                 URL: https://issues.apache.org/jira/browse/SPARK-3493
>             Project: Spark
>          Issue Type: Bug
>          Components: Block Manager
>    Affects Versions: 1.1.0
>            Reporter: Andrew Or
>            Assignee: Andrew Or
>
> When unrolling a new block, we (almost) always call `ensureFreeSpace` with a fixed fraction (spark.storage.unrollFraction) of the block manager's total memory minus a small delta. This means we're essentially reserving this chunk of memory in advance because we allocate all of this space even if the new block is very small.
> We need to call `ensureFreeSpace` incrementally and more cautiously to avoid unnecessarily dropping blocks where possible.
> Thanks to [~tdas] for originally reporting this.



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