Announcement

Collapse
No announcement yet.

Alibaba Eyes Linux CPU Scheduler Changes To Better Handle QEMU With SMT/HT Threads

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alibaba Eyes Linux CPU Scheduler Changes To Better Handle QEMU With SMT/HT Threads

    Phoronix: Alibaba Eyes Linux CPU Scheduler Changes To Better Handle QEMU With SMT/HT Threads

    There is a phenomenon where running a multi-threaded workload inside a virtual machine (VM) with Simultaneously Multi-Threading (SMT / Intel Hyper Threading) that a sibling thread could find itself busy while the CPU core is idle. A new Linux CFS patch series aims to make the scheduler better adapt to the QEMU topology...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    CFS is the past

    Comment


    • #3
      Originally posted by guglovich View Post
      CFS is the past
      Present and future.

      Nothing of value has come along to dethrone it yet. CFS is still the king!

      Comment


      • #4
        this is a really interesting issue, ill be keeping an eye on it

        Comment


        • #5
          Originally posted by Rallos Zek View Post

          Present and future.

          Nothing of value has come along to dethrone it yet. CFS is still the king!
          It's popular, maybe even 99% popular. But many simply improve efficiency in other ways. However, there are more efficient planners out there. And an official replacement is being prepared.

          Comment


          • #6
            Originally posted by guglovich View Post
            And an official replacement is being prepared.
            can you elaborate?

            Comment


            • #7
              Originally posted by Quackdoc View Post

              can you elaborate?
              Eevfs scheduler or something along those lines. There is an article on Phoronix about it.

              Comment


              • #8
                Peter is being a dick.

                I have seen behavior similar to what Alibaba is reporting way back in 2016, except that in my case Qemu favors odd thread IDs for use.

                If this is a Qemu bug, nobody has seemingly bothered to notice and report it.
                Last edited by Sonadow; 20 July 2023, 09:27 PM.

                Comment


                • #9
                  Originally posted by Quackdoc View Post

                  can you elaborate?
                  A comrade from downstairs replied. And in general, for a home PC or workstation, there are several others.

                  Comment


                  • #10
                    Originally posted by guglovich View Post

                    A comrade from downstairs replied. And in general, for a home PC or workstation, there are several others.

                    https://wiki.archlinux.org/title/Imp...CPU_schedulers
                    I knew of the plethora of alternatives, never knew one was being taken as a serious replacement though

                    Comment

                    Working...
                    X