Re: ULE patch, call for testers

看板FB_current作者時間12年前 (2013/04/27 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/6 (看更多)
On 2 November 2012 14:26, Jeff Roberson <jroberson@jroberson.net> wrote: > I have a small patch to the ULE scheduler that makes a fairly large change > to the way timeshare threads are handled. > > http://people.freebsd.org/~jeff/schedslice.diff > > Previously ULE used a fixed slice size for all timeshare threads. Now it > scales the slice size down based on load. This should reduce latency for > timeshare threads as load increases. It is important to note that this does > not impact interactive threads. But when a thread transitions to > interactive from timeshare it should see some improvement. This happens > when something like Xorg chews up a lot of CPU. > > If anyone has perf tests they'd like to run please report back. I have done > a handful of validation. does it make sense to make these sysctls? +#define SCHED_SLICE_DEFAULT_DIVISOR 10 /* 100 ms. */ +#define SCHED_SLICE_MIN_DIVISOR 4 /* DEFAULT/MIN = 25 ms. */ -- Eitan Adler _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HUrJt3z (FB_current)
文章代碼(AID): #1HUrJt3z (FB_current)