Hey all,

Anyone familiar with the state of Raptor Lake performance + efficiency cores in Linux? I’m specifically curious about how the kernel balances things when running multiple containers (without pinned CPUs)

Thanks!

      • maniel@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        4 days ago

        A quick look at docker docs says it’s the only way. Same with any other way of running a program/service, you have to manually set an affinity of an executable

  • Onno (VK6FLAB)@lemmy.radio
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

    A Docker container is a security framework. The process running “inside” the container is just a Linux process like any other.

    So, as I understand it, the performance will be identical to a process that is running “outside” a container, subject to the overhead associated with any security restrictions.

    • fmstrat@lemmy.nowsci.comOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      Yes, this is the case, I’m more wondering about kernel support for CPU assignment as it relates to those processes.

      • Onno (VK6FLAB)@lemmy.radio
        link
        fedilink
        arrow-up
        0
        ·
        4 days ago

        I think that what you’re looking for is “CPU affinity”, but that is not something I know anything about.

        In the 40+ years I’ve been playing with computers, I’ve always let the OS worry about where and when to run a process and only rarely do I renice a process that needs to run, but not at the expense of everything else.

    • jokro@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      4 days ago

      If you want to protect the system from untrusted software with containers be careful. Containers and images are mostly an abstraction tool to run and control the applications. Not saying it’s not possible, it’s just easy to make it insecure.