[haiku-bugs] Re: [Haiku] #15509: Haiku thread switching speed is about 4 times slower than Windows 7

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 04 Dec 2019 16:01:47 -0000

#15509: Haiku thread switching speed is about 4 times slower than Windows 7
-----------------------------+----------------------------
   Reporter:  X512           |      Owner:  nobody
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------
Comment (by waddlesplash):

 Except, the "Benaphore" trick is only an optimization if the
 lock/semaphore will be often acquired and released by the same thread. In
 this case of two (or more) threads, the Benaphore is just a slight extra
 overhead and will not be an optimization at all...
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15509#comment:10>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: