2020-05-29 06:20:11 UTC - Jiang PengCheng: the memory limit is set when create
an action, and OpenWhisk has Max/Min/Std value for it, which means this value
can only (> Min && < Max), and the Std value will be used if this
value is not passed when creating actions
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1590733211363800?thread_ts=1590698929.363300&cid=C3TPCAQG1
----
2020-05-29 06:21:11 UTC - Jiang PengCheng: and cpu share limit is calculated
using the memory limit:
``` private val totalShare = 1024.0 // This is a pre-defined value coming from
docker and not our hard-coded value.
// Grant more CPU to a container if it allocates more memory.
def cpuShare(reservedMemory: ByteSize) =
max((totalShare / (userMemory.toBytes / reservedMemory.toBytes)).toInt, 2)
// The minimum allowed cpu-shares is 2```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1590733271364000?thread_ts=1590698929.363300&cid=C3TPCAQG1
----
2020-05-29 06:22:56 UTC - Jiang PengCheng: you can change the Max/Min/Std
memory limit by passing below arguments to ansible:
```limit_action_memory_min:
limit_action_memory_max:
limit_action_memory_std:```
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1590733376364200?thread_ts=1590698929.363300&cid=C3TPCAQG1
----
2020-05-29 13:06:14 UTC - Nima Mahmoudi: @Jiang PengCheng Thanks a lot!
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1590757574364400?thread_ts=1590698929.363300&cid=C3TPCAQG1
----