Skip to content

Conversation

mye956
Copy link
Contributor

@mye956 mye956 commented Jul 9, 2025

Summary

Implementation details

Testing

Manual tests

[ec2-user@ip-172-31-21-63 ecstasks-87f1d0fb157c4a688fb93bfd7b6fb994.slice]$ ls
cgroup.controllers      cpu.idle               docker-0e0162d08adf00b28bb07abd5353b09bd08920d12552d08a636e976cf343efa4.scope  hugetlb.2MB.max           memory.high          memory.swap.high
cgroup.events           cpu.max                docker-21e48df2e8db91b37df4477ec523cf11da87db9b940f72a164de754da77243a2.scope  hugetlb.2MB.numa_stat     memory.low           memory.swap.max
cgroup.freeze           cpu.max.burst          hugetlb.1GB.current                                                            hugetlb.2MB.rsvd.current  memory.max           memory.zswap.current
cgroup.kill             cpu.pressure           hugetlb.1GB.events                                                             hugetlb.2MB.rsvd.max      memory.min           memory.zswap.max
cgroup.max.depth        cpu.stat               hugetlb.1GB.events.local                                                       io.bfq.weight             memory.numa_stat     misc.current
cgroup.max.descendants  cpu.weight             hugetlb.1GB.max                                                                io.max                    memory.oom.group     misc.events
cgroup.pressure         cpu.weight.nice        hugetlb.1GB.numa_stat                                                          io.pressure               memory.peak          misc.max
cgroup.procs            cpuset.cpus            hugetlb.1GB.rsvd.current                                                       io.stat                   memory.pressure      pids.current
cgroup.stat             cpuset.cpus.effective  hugetlb.1GB.rsvd.max                                                           io.weight                 memory.reclaim       pids.events
cgroup.subtree_control  cpuset.cpus.partition  hugetlb.2MB.current                                                            memory.current            memory.stat          pids.max
cgroup.threads          cpuset.mems            hugetlb.2MB.events                                                             memory.events             memory.swap.current  pids.peak
cgroup.type             cpuset.mems.effective  hugetlb.2MB.events.local                                                       memory.events.local       memory.swap.events
[ec2-user@ip-172-31-21-63 ecstasks-87f1d0fb157c4a688fb93bfd7b6fb994.slice]$ cat cpu.max
3750 15000
[ec2-user@ip-172-31-21-63 ecstasks-87f1d0fb157c4a688fb93bfd7b6fb994.slice]$ docker inspect ecs-agent | grep -i "ECS_CGROUP_CPU_PERIOD"
                "ECS_CGROUP_CPU_PERIOD=15ms",
[ec2-user@ip-172-31-21-63 ecstasks-87f1d0fb157c4a688fb93bfd7b6fb994.slice]$ 

New tests cover the changes:

Description for the changelog

Additional Information

Does this PR include breaking model changes? If so, Have you added transformation functions?

Does this PR include the addition of new environment variables in the README?

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mye956 mye956 requested a review from a team as a code owner July 9, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant