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

Andrey Zagrebin updated FLINK-14400:
------------------------------------
    Description: 
MemoryManager currently manages the memory bookkeeping for all slots/tasks 
inside one TaskExecutor. For better abstraction and isolation of slots, we can 
shrink its scope and make it per slot. The memory limits are fixed now per slot 
at the moment of slot creation. All operators, sharing the slot, will get their 
fixed fractional limits.

In future, we might make it possible for operators to over-allocate beyond 
their fraction limit if there is some available free memory in the slot but it 
should be possible to reclaim the over-allocated memory at any time if other 
operator decides to claim its fair share within its limit.

  was:MemoryManager currently manages the memory bookkeeping for all 
slots/tasks inside one TaskExecutor. For better abstraction and isolation of 
slots, we can shrink its scope and make it per slot. The memory limits are 
fixed now per slot at the moment of slot creation. All operators, sharing the 
slot, will get their fixed fractional limits. In future, we might make it 
possible for operators to over-allocate beyond their fraction limit if there is 
some available free memory in the slot but it should be possible to reclaim the 
over-allocated memory at any time if other operator decides to claim its fair 
share within its limit.


> Shrink the scope of MemoryManager from TaskExecutor to slot 
> ------------------------------------------------------------
>
>                 Key: FLINK-14400
>                 URL: https://issues.apache.org/jira/browse/FLINK-14400
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination, Runtime / Task
>            Reporter: Andrey Zagrebin
>            Assignee: Andrey Zagrebin
>            Priority: Major
>
> MemoryManager currently manages the memory bookkeeping for all slots/tasks 
> inside one TaskExecutor. For better abstraction and isolation of slots, we 
> can shrink its scope and make it per slot. The memory limits are fixed now 
> per slot at the moment of slot creation. All operators, sharing the slot, 
> will get their fixed fractional limits.
> In future, we might make it possible for operators to over-allocate beyond 
> their fraction limit if there is some available free memory in the slot but 
> it should be possible to reclaim the over-allocated memory at any time if 
> other operator decides to claim its fair share within its limit.



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

Reply via email to