Re: [rfc] bind per-cpu timeout threads to each CPU

看板FB_current作者時間12年前 (2014/02/20 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/23 (看更多)
On 19.02.2014 21:51, Adrian Chadd wrote: > On 19 February 2014 11:40, Alexander Motin <mav@freebsd.org> wrote: >> Clock interrupt threads, same as other ones are only softly bound to >> specific CPUs by scheduler preferring to run them on CPUs where they are >> scheduled. So far that was enough to balance load, but allowed threads to >> migrate, if needed. Is it too flexible for some use case? > > I saw it migrate under enough CPU load / pressure, right smack bang in > the middle of doing TCP processing. > > So if we're moving towards supporting (among others) a pcbgroup / RSS > hash style work load distribution across CPUs to minimise > per-connection lock contention, we really don't want the scheduler to > decide it can schedule things on other CPUs under enough pressure. > That'll just make things worse. True, though it is also not obvious that putting second thread on CPU run queue is better then executing it right now on another core. -- Alexander Motin _______________________________________________ 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): #1J1Gr_BR (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1J1Gr_BR (FB_current)