MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
time
Search

[$] Extending time slices for user-space locks

Wednesday February 19, 2025. 09:17 PM , from LWN.net
Steven Rostedt recently posted

a patch set that could help improve the performance of certain user-space
applications by giving the scheduler more context about when they are safe to
interrupt. The patch set lets programs request a small grace window
before they can be interrupted so that they can relinquish any locks, decreasing the
amount of time that other threads have to spend waiting. Rostedt shared
performance numbers suggesting that the patch might cut the amount of time spent
acquiring locks in half for some programs — although, since his test was
specifically tuned for this case, real-world projects should expect a somewhat
less dramatic improvement. The change received some pushback from scheduler
maintainer Peter Zijlstra, who objected to the patch set's approach.
https://lwn.net/Articles/1009509/

Related News

News copyright owned by their original publishers | Copyright © 2004 - 2025 Zicos / 440Network
Current Date
Feb, Fri 21 - 19:49 CET