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


Groups > linux.kernel > #1718033

Re: [PATCH 0/2] Separate NUMA statistics from zone statistics

From Dave Hansen <dave.hansen@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] Separate NUMA statistics from zone statistics
Date 2017-08-23 07:00 +0200
Message-ID <uhvVL-4pb-1@gated-at.bofh.it> (permalink)
References <ueFHY-7rw-7@gated-at.bofh.it> <uhoUi-82K-19@gated-at.bofh.it> <uhsuR-2bs-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/22/2017 06:14 PM, kemi wrote:
> when performance is not important and when you want all tooling to work, you set:
> 
> 	sysctl vm.strict_stats=1
> 
> but if you can tolerate some possible tool breakage and some decreased
> counter precision, you can do:
> 
> 	sysctl vm.strict_stats=0

My other thought was to try to set vm.strict_stats=0 and move to
vm.strict_stats=1 (and issue a printk) when somebody reads
/proc/zoneinfo (or the other files where the expensive stats are displayed).

We'd need three modes for the expensive stats:

	1. Off by default
	2. On.  (#1 transforms to this by default when stats are read)
	3. Off permanently.  An *actual* tunable that someone could set
	   on systems that want to be able to read the stat files, don't
	   care about precision, and want the best performance.

That way, virtually everybody (who falls into mode #1 or #2) gets what
they want.  The only folks who have to mess with a tunable are the
really weird, picky ones who use option #3.

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


Thread

[PATCH 0/2] Separate NUMA statistics from zone statistics Kemi Wang <kemi.wang@intel.com> - 2017-08-15 10:50 +0200
  [PATCH 1/2] mm: Change the call sites of numa statistics items Kemi Wang <kemi.wang@intel.com> - 2017-08-15 10:50 +0200
    Re: [PATCH 1/2] mm: Change the call sites of numa statistics items Mel Gorman <mgorman@techsingularity.net> - 2017-08-15 11:50 +0200
      Re: [PATCH 1/2] mm: Change the call sites of numa statistics items kemi <kemi.wang@intel.com> - 2017-08-16 04:20 +0200
  [PATCH 2/2] mm: Update NUMA counter threshold size Kemi Wang <kemi.wang@intel.com> - 2017-08-15 10:50 +0200
    Re: [PATCH 2/2] mm: Update NUMA counter threshold size Mel Gorman <mgorman@techsingularity.net> - 2017-08-15 12:00 +0200
      Re: [PATCH 2/2] mm: Update NUMA counter threshold size Tim Chen <tim.c.chen@linux.intel.com> - 2017-08-15 19:00 +0200
        Re: [PATCH 2/2] mm: Update NUMA counter threshold size Mel Gorman <mgorman@techsingularity.net> - 2017-08-15 19:40 +0200
          Re: [PATCH 2/2] mm: Update NUMA counter threshold size Tim Chen <tim.c.chen@linux.intel.com> - 2017-08-15 20:00 +0200
            Re: [PATCH 2/2] mm: Update NUMA counter threshold size Mel Gorman <mgorman@techsingularity.net> - 2017-08-15 21:10 +0200
        Re: [PATCH 2/2] mm: Update NUMA counter threshold size kemi <kemi.wang@intel.com> - 2017-08-16 05:10 +0200
      Re: [PATCH 2/2] mm: Update NUMA counter threshold size kemi <kemi.wang@intel.com> - 2017-08-16 04:40 +0200
      Re: [PATCH 2/2] mm: Update NUMA counter threshold size kemi <kemi.wang@intel.com> - 2017-08-22 05:30 +0200
        Re: [PATCH 2/2] mm: Update NUMA counter threshold size Mel Gorman <mgorman@techsingularity.net> - 2017-08-22 10:40 +0200
  Re: [PATCH 0/2] Separate NUMA statistics from zone statistics Jesper Dangaard Brouer <brouer@redhat.com> - 2017-08-15 12:40 +0200
    Re: [PATCH 0/2] Separate NUMA statistics from zone statistics kemi <kemi.wang@intel.com> - 2017-08-16 05:30 +0200
  Re: [PATCH 0/2] Separate NUMA statistics from zone statistics Christopher Lameter <cl@linux.com> - 2017-08-22 23:30 +0200
    Re: [PATCH 0/2] Separate NUMA statistics from zone statistics Andi Kleen <andi@firstfloor.org> - 2017-08-23 01:20 +0200
    Re: [PATCH 0/2] Separate NUMA statistics from zone statistics kemi <kemi.wang@intel.com> - 2017-08-23 03:20 +0200
      Re: [PATCH 0/2] Separate NUMA statistics from zone statistics Dave Hansen <dave.hansen@linux.intel.com> - 2017-08-23 07:00 +0200

csiph-web