Re: SCHED_ULE should not be the default

看板FB_current作者時間14年前 (2011/12/20 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串65/65 (看更多)
On Mon, 19 Dec 2011 23:22:40 +0200 Andriy Gapon <avg@FreeBSD.org> wrote: > on 19/12/2011 17:50 Nathan Whitehorn said the following: > > The thing I've seen is that ULE is substantially more enthusiastic about > > migrating processes between cores than 4BSD. > > Hmm, this seems to be contrary to my theoretical expectations. I thought that > with 4BSD all threads that were not in one of the following categories: > - temporary pinned > - bound to cpu in kernel via sched_bind > - belong to a cpu set which a strict subset of a total set > were placed onto a common queue that was shared by all cpus. And as such I > expected them to get picked up by the cpus semi-randomly. > > In other words, I thought that it was ULE that took into account cpu/cache > affinities while 4BSD was deliberately entirely ignorant of those details. > I have a 6-core AMD CPU running FreeeBSD 10.0 and SCHED_4BSD. I've noticed with large ports builds which are not MAKE_JOBS_SAFE that the compile load migrates between the cores pretty quickly, but I haven't compared it to ULE. -- Gary Jennejohn _______________________________________________ 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): #1Ey5OI5s (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Ey5OI5s (FB_current)