Giter Club home page Giter Club logo

Comments (11)

ryanlyy avatar ryanlyy commented on July 4, 2024

sig/k8s-infra

from kubernetes.

Aaina26 avatar Aaina26 commented on July 4, 2024

/sig node

from kubernetes.

ffromani avatar ffromani commented on July 4, 2024

would the cpumanager policy option distribute-cpus-across-numa help here? https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#static-policy-options

from kubernetes.

ryanlyy avatar ryanlyy commented on July 4, 2024

@ffromani thanks a lot. my understanding is distribute-cpus-accors-numa is used to affinity cpu to different numa for one pod/container. for example: if one pod/container needs 16 cpus, w/o distribute-cpus-accross-numa, 16cpus will firstly be affinity in numa0 and numa1, then it maybe 14cpus in numa0 if there is enough cpus in numa0 and 2 cpus in numa1. w/ distribute-cpus-accorss-numa, 8 cpus are affinity in numa0 although there is enough cpus availabe in numa0 but another 8 cpus are affinity into numa1. then cpus in pod/conainer are distributed in numa0 and numa1.

but this issue described in this ticket is; if there are 8 pods. those 8 pods will be affinity into numa0 firstly if there is enough cpu available in nuam1. then then numa1, that will result in different cpu load in different numa nodes and then different cpu frequency when turboboost enabled.

from kubernetes.

ffromani avatar ffromani commented on July 4, 2024

but this issue described in this ticket is; if there are 8 pods. those 8 pods will be affinity into numa0 firstly if there is enough cpu available in nuam1. then then numa1, that will result in different cpu load in different numa nodes and then different cpu frequency when turboboost enabled.

right, so the ask is about distributing the pods (containers) across NUMA nodes more evenly it seems. This is indeed not yet covered by options or combinations thereof.

from kubernetes.

ffromani avatar ffromani commented on July 4, 2024

/triage accepted

from kubernetes.

ryanlyy avatar ryanlyy commented on July 4, 2024

right, so the ask is about distributing the pods (containers) across NUMA nodes more evenly it seems. This is indeed not yet covered by options or combinations thereof.

yes @ffromani . frankly cpuManagePolicyOption/distribute-cpus-accors-numa is conflict with topoloygManagerPolicy/single-numa-node. but single-numa-node can provide more high performance.

w/o evenly distribute pod/container into different numa, cpu frequency will be different when turboboost enabled and then result in different cpu usage although incoming traffic is same.
I think evenly distribute pod/container into different numa can overall increase performance.

So will you create a feature to support it?

Thanks a lot

from kubernetes.

ffromani avatar ffromani commented on July 4, 2024

So will you create a feature to support it?

Unfortunately I don't have capacity atm. But I agree this is a gap (triage accepted)
Addressing this gap will require an enancement proposal, design etc. etc. It's 1.32 material in the best case IMO.

from kubernetes.

ryanlyy avatar ryanlyy commented on July 4, 2024

So will you create a feature to support it?

Unfortunately I don't have capacity atm. But I agree this is a gap (triage accepted) Addressing this gap will require an enancement proposal, design etc. etc. It's 1.32 material in the best case IMO.

Thanks a lot @ffromani. we agreed it is gap and triage accepted then there will be followup by someone since you have no capacity atm. correct?

from kubernetes.

ffromani avatar ffromani commented on July 4, 2024

Thanks a lot @ffromani. we agreed it is gap and triage accepted then there will be followup by someone since you have no capacity atm. correct?

Not automatically. Someone has to volunteer pick this work up. If you wish to push forward, by all means do it!

from kubernetes.

DrAuYueng avatar DrAuYueng commented on July 4, 2024

/cc

from kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.