Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ef6d9ba26b17c53bfb2250c8cdc49d93f078794c
https://github.com/WebKit/WebKit/commit/ef6d9ba26b17c53bfb2250c8cdc49d93f078794c
Author: Justin Michaud <[email protected]>
Date: 2026-08-06 (Thu, 06 Aug 2026)
Changed paths:
M Source/JavaScriptCore/jit/JITWorklistThread.cpp
M Source/WTF/wtf/AutomaticThread.cpp
M Source/WTF/wtf/AutomaticThread.h
M Source/WTF/wtf/PlatformGTK.cmake
M Source/WTF/wtf/PlatformJSCOnly.cmake
M Source/WTF/wtf/PlatformWPE.cmake
M Source/WTF/wtf/Threading.cpp
M Source/WTF/wtf/Threading.h
M Source/WTF/wtf/ThreadingEnums.h
A Source/WTF/wtf/linux/HighPriorityThreads.cpp
A Source/WTF/wtf/linux/HighPriorityThreads.h
R Source/WTF/wtf/linux/RealTimeThreads.cpp
R Source/WTF/wtf/linux/RealTimeThreads.h
M Source/WTF/wtf/posix/ThreadingPOSIX.cpp
M Source/WTF/wtf/win/ThreadingWin.cpp
M Source/WebCore/platform/audio/RealtimeAudioThread.cpp
M Source/WebKit/WebProcess/WebProcess.cpp
M Source/WebKit/WebProcess/glib/WebProcessGLib.cpp
M Tools/TestWebKitAPI/Tests/WTF/Threading.cpp
Log Message:
-----------
[Linux] Remove RT threads
https://bugs.webkit.org/show_bug.cgi?id=319535
Reviewed by Carlos Garcia Campos.
Patch 1 of 2, the second removes sched_yield.
RT threads showed a 10% win on MotionMark clamped to two cores. This
goes away if you turn off DVFS, so I believe the biggest mechanism
behind this is the increased effective clock speed.
We can recover that by setting the min clamp for DVFS directly. Most WPE
workloads probably won't be using DVFS (that is, they will be set to
performance), but this seems like the right call to me for desktop anyway.
Finally, in this 2-core case, we use nice to lower the priority of the
jit workers, and this gives us a small but noticable bump on SP3.
We use RTKit still to raise the priority of the former RT threads, which
gives a further small boost.
Canonical link: https://commits.webkit.org/318709@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications