Code Monkey home page Code Monkey logo

Comments (10)

okartau avatar okartau commented on May 27, 2024

Obviously this would make NFD job easier, but there likely was reason why this was not the method from very start. It's a fundamental question should NFD consider features which are either
a) "supported in HW and detected by kernel"
or b) "supported in HW"
and b) was selected, leaving kernel out of path.
One reason coming to mind is, by relying on kernel-detected flag, NFD may miss some newer
features which are not listed by older kernel. I recall someone said that lot of k8s servers run
CentOS-7 which runs kernel 3.10. And is it possible some application can use CPU feature (like instruction set extension?) even if kernel is older and has not detected it? That's one scenario that might be behind thinking why b) was selected.
Has such a design selection been documented somewhere? I looked into design doc pointed from README but did not find it.

from node-feature-discovery.

mythi avatar mythi commented on May 27, 2024

from node-feature-discovery.

marquiz avatar marquiz commented on May 27, 2024

If this is desired, the existing cpuid
source plugin could stay
and this issue can be renamed to 'add cpuflags source plugin'.

Yep, I wouldn't remove the existing functionality, i.e. CPUID plugin. Write a new plugin, if needed.

But, I'm not necessarily very enthusiastic about this. My concern is the flat structure of labels, which would be cluttered with mostly uninteresting flags (that's prolly true with the existing CPUID flags, already). There are easily over 100 cpu kernel flags. I don't know if this really is a problem, though.

from node-feature-discovery.

mythi avatar mythi commented on May 27, 2024

I filed the issue to open the discussion. The problem I see is cpuid plugin can give false result for what is really supported (see #130).

from node-feature-discovery.

okartau avatar okartau commented on May 27, 2024

I would not say "cpuid plugin gives false result".
It gives us correct facts in CPU capability domain, just that in SGX case we additionally need other facts from other domains to get full SGX capability. The name of flag fortunately is cpuid-SGX which reflects the scope quite well.

from node-feature-discovery.

mythi avatar mythi commented on May 27, 2024

@okartau true, s/false/incomplete/

from node-feature-discovery.

fejta-bot avatar fejta-bot commented on May 27, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

from node-feature-discovery.

fejta-bot avatar fejta-bot commented on May 27, 2024

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

from node-feature-discovery.

fejta-bot avatar fejta-bot commented on May 27, 2024

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

from node-feature-discovery.

k8s-ci-robot avatar k8s-ci-robot commented on May 27, 2024

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from node-feature-discovery.

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.