Skip to content

add CpuUsageRatioThreshold field for NUMA CPU pressure eviction config#186

Open
yuyushui66 wants to merge 1 commit intokubewharf:mainfrom
yuyushui66:main
Open

add CpuUsageRatioThreshold field for NUMA CPU pressure eviction config#186
yuyushui66 wants to merge 1 commit intokubewharf:mainfrom
yuyushui66:main

Conversation

@yuyushui66
Copy link
Copy Markdown

What type of PR is this?

Enhancement

What this PR does / why we need it:

This PR adds new configuration fields and regenerates corresponding auto-generated code:

  1. Add CpuUsageRatioThreshold to NumaCPUPressureEvictionConfig : Introduces a CPU usage ratio threshold for NUMA-level CPU pressure eviction, allowing users to configure a direct CPU usage ratio threshold instead of relying solely on the expanded metric threshold.
  2. Add ReservedInactiveFile to transparent memory offloading configuration : Adds a reserved inactive file memory field to the memory offloading config, allowing users to specify a reserved value of inactive file memory for each resource pool.
  3. Regenerate deepcopy functions for TopologyAllocation and ZoneAllocation : The deepcopy functions for TopologyAllocation and ZoneAllocation types in pkg/apis/node/v1alpha1 were missing and have been regenerated.
    All CRD manifests and deepcopy functions have been regenerated accordingly.

The result of 2 and 3 was automatically generated by running "make generate-manifests && make generate-go". In the areas where multiple generations correspond, it may be that the previous merge did not complete “make generate-manifests && make generate-go".

Which issue(s) this PR fixes:

Add CpuUsageRatioThreshold to NumaCPUPressureEvictionConfig.

Special notes for your reviewer:

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants