linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
To: Brice Goglin <brice.goglin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Dan Williams
	<dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Ross Zwisler
	<ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	Dave Hansen <dave.hansen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Michal Hocko <mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"Anaczkowski,
	Lukasz"
	<lukasz.anaczkowski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Box,
	David E" <david.e.box-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Kogut,
	Jaroslaw"
	<Jaroslaw.Kogut-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Koss,
	Marcin" <marcin.koss-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Koziej,
	Artur" <artur.koziej-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Lahtinen,
	Joonas" <joonas.lahtinen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Moore,
	Robert" <robert.moore-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Nachimuthu,
	Murugasamy"
	<murugasamy.nachimuthu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Odzioba,
	Lukasz" <lukasz.odzioba-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Rafael J. Wysocki"
	<rafael.j.wysocki-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"Rafael J. Wysocki" <rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org>,
	"Schmauss, Erik" <erik.schmauss@intel.c>
Subject: Re: [PATCH v3 0/3] create sysfs representation of ACPI HMAT
Date: Fri, 29 Dec 2017 22:58:45 -0800	[thread overview]
Message-ID: <20171230065845.GD27959@bombadil.infradead.org> (raw)
In-Reply-To: <71317994-af66-a1b2-4c7a-86a03253cf62-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Wed, Dec 27, 2017 at 10:10:34AM +0100, Brice Goglin wrote:
> > Perhaps we can enlist /proc/iomem or a similar enumeration interface
> > to tell userspace the NUMA node and whether the kernel thinks it has
> > better or worse performance characteristics relative to base
> > system-RAM, i.e. new IORES_DESC_* values. I'm worried that if we start
> > publishing absolute numbers in sysfs userspace will default to looking
> > for specific magic numbers in sysfs vs asking the kernel for memory
> > that has performance characteristics relative to base "System RAM". In
> > other words the absolute performance information that the HMAT
> > publishes is useful to the kernel, but it's not clear that userspace
> > needs that vs a relative indicator for making NUMA node preference
> > decisions.
> 
> Some HPC users will benchmark the machine to discovery actual
> performance numbers anyway.
> However, most users won't do this. They will want to know relative
> performance of different nodes. If you normalize HMAT values by dividing
> them with system-RAM values, that's likely OK. If you just say "that
> node is faster than system RAM", it's not precise enough.

So "this memory has 800% bandwidth of normal" and "this memory has 70%
bandwidth of normal"?

  parent reply	other threads:[~2017-12-30  6:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20171214021019.13579-1-ross.zwisler@linux.intel.com>
2017-12-14 13:00 ` [PATCH v3 0/3] create sysfs representation of ACPI HMAT Michal Hocko
     [not found]   ` <20171214130032.GK16951-2MMpYkNvuYDjFM9bn6wA6Q@public.gmane.org>
2017-12-18 20:35     ` Ross Zwisler
2017-12-20 16:41       ` Ross Zwisler
     [not found]         ` <20171220164107.GA29103-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-12-21 13:18           ` Michal Hocko
     [not found]       ` <20171218203547.GA2366-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-12-20 18:19         ` Matthew Wilcox
2017-12-20 20:22           ` Dave Hansen
2017-12-20 21:16             ` Matthew Wilcox
2017-12-20 21:24               ` Ross Zwisler
2017-12-20 22:29                 ` Dan Williams
     [not found]                   ` <CAPcyv4gTknp=0yQnVrrB5Ui+mJE_x-wdkV86UD4hsYnx3CAjfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-20 22:41                     ` Ross Zwisler
2017-12-21 20:31                       ` Brice Goglin
2017-12-22 22:53                         ` Dan Williams
2017-12-22 23:22                           ` Ross Zwisler
2017-12-22 23:57                             ` Dan Williams
     [not found]                               ` <CAPcyv4j95rWmFM5NDvoRJakwVE5YUgcipQW2Ju+40+FD6vYs+Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-23  1:14                                 ` Rafael J. Wysocki
     [not found]                           ` <CAPcyv4j9shdJFrvADa=qW4L-jPJJ4S_TJc_c=aRoW3EmSCCChQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-27  9:10                             ` Brice Goglin
     [not found]                               ` <71317994-af66-a1b2-4c7a-86a03253cf62-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-30  6:58                                 ` Matthew Wilcox [this message]
     [not found]                                   ` <20171230065845.GD27959-PfSpb0PWhxZc2C7mugBRk2EX/6BAtgUQ@public.gmane.org>
2017-12-30  9:19                                     ` Brice Goglin
2017-12-20 21:13           ` Ross Zwisler
2017-12-21  1:41             ` Elliott, Robert (Persistent Memory)
2017-12-22 21:46               ` Ross Zwisler
2017-12-21 12:50           ` Michael Ellerman

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=20171230065845.GD27959@bombadil.infradead.org \
    --to=willy-wegcikhe2lqwvfeawa7xhq@public.gmane.org \
    --cc=Jaroslaw.Kogut-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=artur.koziej-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=brice.goglin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=dave.hansen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=david.e.box-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=erik.schmauss@intel.c \
    --cc=joonas.lahtinen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lukasz.anaczkowski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=lukasz.odzioba-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=marcin.koss-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=murugasamy.nachimuthu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=rafael.j.wysocki-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=rjw-LthD3rsA81gm4RdzfppkhA@public.gmane.org \
    --cc=robert.moore-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=ross.zwisler-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).