All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Dobson <colpatch@us.ibm.com>
To: Erich Focht <efocht@hpce.nec.com>
Cc: Mark Goodwin <markgw@sgi.com>, Jack Steiner <steiner@sgi.com>,
	Takayoshi Kochi <t-kochi@bq.jp.nec.com>,
	linux-ia64@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Externalize SLIT table
Date: Wed, 10 Nov 2004 22:09:20 +0000	[thread overview]
Message-ID: <1100124559.6811.4.camel@arrakis> (raw)
In-Reply-To: <200411101945.34003.efocht@hpce.nec.com>

On Wed, 2004-11-10 at 10:45, Erich Focht wrote:
> On Wednesday 10 November 2004 06:05, Mark Goodwin wrote:
> > On a system that has nodes with multiple sockets (each supporting
> > multiple cores or HT "CPUs" sharing some level of cache), when the
> > scheduler needs to migrate a task it would first choose a CPU
> > sharing the same cache, then a CPU on the same node, then an
> > off-node CPU (i.e. falling back to node distance).
> 
> This should be done by correctly setting up the sched domains. It's
> not a question of exporting useless or redundant information to user
> space.
> 
> The need for some (any) cpu-to-cpu metrics initially brought up by
> Jack seemed mainly motivated by existing user space tools for
> constructing cpusets (maybe in PBS). I think it is a tolerable effort
> to introduce in user space an inlined function or macro doing
> something like
>    cpu_metric(i,j) := node_metric(cpu_node(i),cpu_node(j))
> 
> It keeps the kernel free of misleading information which might just
> slightly make cpusets construction more comfortable. In user space you
> have the full freedom to enhance your metrics when getting more
> details about the next generation cpus.

Good point, Erich.  I don't think there is any desperate need for
CPU-to-CPU distances to be exported to userspace right now.  If that is
incorrect and someone really needs a particular distance metric to be
exported by the kernel, we can look into that and export the required
info.  For now I think the Node-to-Node distance information is enough. 
-Matt


WARNING: multiple messages have this Message-ID (diff)
From: Matthew Dobson <colpatch@us.ibm.com>
To: Erich Focht <efocht@hpce.nec.com>
Cc: Mark Goodwin <markgw@sgi.com>, Jack Steiner <steiner@sgi.com>,
	Takayoshi Kochi <t-kochi@bq.jp.nec.com>,
	linux-ia64@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Externalize SLIT table
Date: Wed, 10 Nov 2004 14:09:20 -0800	[thread overview]
Message-ID: <1100124559.6811.4.camel@arrakis> (raw)
In-Reply-To: <200411101945.34003.efocht@hpce.nec.com>

On Wed, 2004-11-10 at 10:45, Erich Focht wrote:
> On Wednesday 10 November 2004 06:05, Mark Goodwin wrote:
> > On a system that has nodes with multiple sockets (each supporting
> > multiple cores or HT "CPUs" sharing some level of cache), when the
> > scheduler needs to migrate a task it would first choose a CPU
> > sharing the same cache, then a CPU on the same node, then an
> > off-node CPU (i.e. falling back to node distance).
> 
> This should be done by correctly setting up the sched domains. It's
> not a question of exporting useless or redundant information to user
> space.
> 
> The need for some (any) cpu-to-cpu metrics initially brought up by
> Jack seemed mainly motivated by existing user space tools for
> constructing cpusets (maybe in PBS). I think it is a tolerable effort
> to introduce in user space an inlined function or macro doing
> something like
>    cpu_metric(i,j) := node_metric(cpu_node(i),cpu_node(j))
> 
> It keeps the kernel free of misleading information which might just
> slightly make cpusets construction more comfortable. In user space you
> have the full freedom to enhance your metrics when getting more
> details about the next generation cpus.

Good point, Erich.  I don't think there is any desperate need for
CPU-to-CPU distances to be exported to userspace right now.  If that is
incorrect and someone really needs a particular distance metric to be
exported by the kernel, we can look into that and export the required
info.  For now I think the Node-to-Node distance information is enough. 
-Matt


  reply	other threads:[~2004-11-10 22:09 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03 20:56 Externalize SLIT table Jack Steiner
2004-11-04  1:59 ` Takayoshi Kochi
2004-11-04  1:59   ` Takayoshi Kochi
2004-11-04  4:07   ` Andi Kleen
2004-11-04  4:07     ` Andi Kleen
2004-11-04  4:57     ` Takayoshi Kochi
2004-11-04  4:57       ` Takayoshi Kochi
2004-11-04  6:37       ` Andi Kleen
2004-11-04  6:37         ` Andi Kleen
2004-11-05 16:08       ` Jack Steiner
2004-11-05 16:08         ` Jack Steiner
2004-11-05 16:26         ` Andreas Schwab
2004-11-05 16:26           ` Andreas Schwab
2004-11-05 16:44           ` Jack Steiner
2004-11-05 16:44             ` Jack Steiner
2004-11-06 11:50             ` Christoph Hellwig
2004-11-06 11:50               ` Christoph Hellwig
2004-11-06 12:48               ` Andi Kleen
2004-11-06 12:48                 ` Andi Kleen
2004-11-06 13:07                 ` Christoph Hellwig
2004-11-06 13:07                   ` Christoph Hellwig
2004-11-05 17:13         ` Erich Focht
2004-11-05 17:13           ` Erich Focht
2004-11-05 19:13           ` Jack Steiner
2004-11-05 19:13             ` Jack Steiner
2004-11-09 19:23     ` Matthew Dobson
2004-11-09 19:23       ` Matthew Dobson
2004-11-04 14:13   ` Jack Steiner
2004-11-04 14:13     ` Jack Steiner
2004-11-04 14:29     ` Andi Kleen
2004-11-04 14:29       ` Andi Kleen
2004-11-04 15:31     ` Erich Focht
2004-11-04 15:31       ` Erich Focht
2004-11-04 17:04       ` Andi Kleen
2004-11-04 17:04         ` Andi Kleen
2004-11-04 19:36         ` Jack Steiner
2004-11-04 19:36           ` Jack Steiner
2004-11-09 19:45         ` Matthew Dobson
2004-11-09 19:45           ` Matthew Dobson
2004-11-09 19:43       ` Matthew Dobson
2004-11-09 19:43         ` Matthew Dobson
2004-11-09 20:34         ` Mark Goodwin
2004-11-09 20:34           ` Mark Goodwin
2004-11-09 22:00           ` Jesse Barnes
2004-11-09 22:00             ` Jesse Barnes
2004-11-09 23:58           ` Matthew Dobson
2004-11-09 23:58             ` Matthew Dobson
2004-11-10  5:05             ` Mark Goodwin
2004-11-10  5:05               ` Mark Goodwin
2004-11-10 18:45               ` Erich Focht
2004-11-10 18:45                 ` Erich Focht
2004-11-10 22:09                 ` Matthew Dobson [this message]
2004-11-10 22:09                   ` Matthew Dobson
2004-11-18 16:39 ` Jack Steiner
2004-11-18 16:39   ` Jack Steiner
     [not found] <20041103205655.GA5084@sgi.com.suse.lists.linux.kernel>
     [not found] ` <20041104.105908.18574694.t-kochi@bq.jp.nec.com.suse.lists.linux.kernel>
     [not found]   ` <20041104040713.GC21211@wotan.suse.de.suse.lists.linux.kernel>
     [not found]     ` <20041104.135721.08317994.t-kochi@bq.jp.nec.com.suse.lists.linux.kernel>
     [not found]       ` <20041105160808.GA26719@sgi.com.suse.lists.linux.kernel>
2004-11-06  6:30         ` Andi Kleen
2004-11-23 17:32           ` Jack Steiner
2004-11-23 19:06             ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1100124559.6811.4.camel@arrakis \
    --to=colpatch@us.ibm.com \
    --cc=efocht@hpce.nec.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markgw@sgi.com \
    --cc=steiner@sgi.com \
    --cc=t-kochi@bq.jp.nec.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.