You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/01/08 08:50:00 UTC

[jira] [Assigned] (FLINK-15172) Optimize the operator algorithm to lazily allocate memory

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

Jark Wu reassigned FLINK-15172:
-------------------------------

    Assignee: Jingsong Lee

> Optimize the operator algorithm to lazily allocate memory
> ---------------------------------------------------------
>
>                 Key: FLINK-15172
>                 URL: https://issues.apache.org/jira/browse/FLINK-15172
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Runtime
>            Reporter: Jingsong Lee
>            Assignee: Jingsong Lee
>            Priority: Major
>             Fix For: 1.11.0
>
>
> Now after FLINK-14063 , operators will get all manage memory of TaskManager,  The cost of over allocate memory is very high, lead to performance regression of small batch sql jobs:
>  * Allocate memory will have the cost of memory management algorithm.
>  * Allocate memory will have the cost of memory initialization, will set all memory to zero. And this initialization will require the operating system to actually allocate physical memory.
>  * Over allocate memory will squash the file cache too.
> We can optimize the operator algorithm, apply lazy allocation, and avoid meaningless memory allocation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)