Skip to content

Commit

Permalink
add section for cAdvisor changes to support NUMA to hugepages KEP
Browse files Browse the repository at this point in the history
Signed-off-by: Byonggon Chun <bg.chun@samsung.com>
  • Loading branch information
Byonggon Chun committed Sep 18, 2019
1 parent 6582b74 commit 92d6127
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions keps/sig-node/20190129-hugepages.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ superseded-by:
- [Limits and Quota](#limits-and-quota)
- [Scheduler changes](#scheduler-changes)
- [cAdvisor changes](#cadvisor-changes)
- [cAdvisor changes to support NUMA](#cadvisor-changes-to-support-numa)
- [Risks and Mitigations](#risks-and-mitigations)
- [Huge pages as shared memory](#huge-pages-as-shared-memory)
- [NUMA](#numa)
Expand Down Expand Up @@ -336,6 +337,13 @@ cAdvisor will need to be modified to return the number of pre-allocated huge
pages per page size on the node. It will be used to determine capacity and
calculate allocatable values on the node.

#### cAdvisor changes to support NUMA
The `Node` structure of cAdvisor will need to be updated to describe the
number of pre-allocated huge pages per NUMA node to support NUMA in the future.
The `Node` structure already discover Memory, Cores, and Caches per NUMA node.
Pre-allocated huge pages can be found from
`/sys/devices/system/node/node<id>/hugepages/hugepages-<hugepagesize>/nr_hugepages`.

### Risks and Mitigations

#### Huge pages as shared memory
Expand Down

0 comments on commit 92d6127

Please sign in to comment.