[haiku-bugs] Re: [Haiku] #14979: CPU scheduler has scalability issues on SMP systems with 10+ CPUs

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 24 Mar 2019 04:32:00 -0000

#14979: CPU scheduler has scalability issues on SMP systems with 10+ CPUs
-------------------------+----------------------------
   Reporter:  ambroff    |      Owner:  nobody
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  Unscheduled
  Component:  - General  |    Version:  R1/Development
 Resolution:             |   Keywords:
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  x86-64
-------------------------+----------------------------

Comment (by ambroff):

 At this point I need to do some research to understand how APIC and IPI
 are supposed to work. I see one of two possibilities here:

 1. The interrupt is being done in such a way that is unnecessarily costly.
 2. OR the scheduler needs to behave differently with a large number of
 CPUs.

 If it turns out that this is already implemented correctly, then I think
 it's worth exploring whether it makes sense to change the scheduler to
 group CPU cores together into smaller groups, and try to avoid migrating
 threads between those groups.

 I'm curious to see if you guys can find any bugs in my analysis so far.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14979#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: