[Bug 36692] Many multi-threaded applications have poor performance due to heavy use of synchronization primitives

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 3 21:45:09 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=36692

Zebediah Figura <z.figura12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
            Summary|Bad performance when        |Many multi-threaded
                   |combineng SetEvent /        |applications have poor
                   |WaitForSingleObject for     |performance due to heavy
                   |synchronizing worker        |use of synchronization
                   |threads                     |primitives
                 CC|                            |z.figura12 at gmail.com
          Component|kernel32                    |wineserver
           Keywords|                            |performance
             Status|UNCONFIRMED                 |STAGED
    Staged patchset|                            |https://github.com/wine-sta
                   |                            |ging/wine-staging/tree/mast
                   |                            |er/patches/eventfd_synchron
                   |                            |ization

--- Comment #15 from Zebediah Figura <z.figura12 at gmail.com> ---
I have written a large set of patches that optimize synchronization primitives
by reimplementing them on top of Linux's eventfd primitives. This patch set has
shown a significant improvement in a fair number of applications, especially
heavily multi-threaded games.

Per the request of the head Wine-Staging maintainer, Alistair Leslie-Hughes,
I've added the patch set to Staging. It is not enabled by default, but can be
enabled by setting the WINEESYNC environment variable to a non-zero value.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list