Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1661630

Re: [RFC PATCH] sched: select_idle_core should select least utilized core

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] sched: select_idle_core should select least utilized core
Date 2017-06-08 22:00 +0200
Message-ID <tQbL4-4U-5@gated-at.bofh.it> (permalink)
References <tQbi2-8li-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 08, 2017 at 03:26:32PM -0400, Subhra Mazumdar wrote:
> Current select_idle_core tries to find a fully idle core and if it fails
> select_idle_cpu next returns any idle cpu in the llc domain. This is not optimal
> for architectures with many (more than 2) hyperthreads in a core. This patch
> changes select_idle_core to find the core with least number of busy
> hyperthreads and return an idle cpu in that core.

Yeah, I think not. That makes select_idle_siblings _vastly_ more
expensive.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH] sched: select_idle_core should select least utilized core Subhra Mazumdar <subhra.mazumdar@oracle.com> - 2017-06-08 21:30 +0200
  Re: [RFC PATCH] sched: select_idle_core should select least utilized  core Peter Zijlstra <peterz@infradead.org> - 2017-06-08 22:00 +0200
    Re: [RFC PATCH] sched: select_idle_core should select least utilized  core subhra mazumdar <subhra.mazumdar@oracle.com> - 2017-06-09 00:10 +0200
      Re: [RFC PATCH] sched: select_idle_core should select least utilized  core Peter Zijlstra <peterz@infradead.org> - 2017-06-09 10:00 +0200

csiph-web