Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755563AbdLTP6e (ORCPT ); Wed, 20 Dec 2017 10:58:34 -0500 Received: from resqmta-ch2-12v.sys.comcast.net ([69.252.207.44]:50430 "EHLO resqmta-ch2-12v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755262AbdLTP6c (ORCPT ); Wed, 20 Dec 2017 10:58:32 -0500 Date: Wed, 20 Dec 2017 09:58:30 -0600 (CST) From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: kemi cc: Michal Hocko , Greg Kroah-Hartman , Andrew Morton , Vlastimil Babka , Mel Gorman , Johannes Weiner , YASUAKI ISHIMATSU , Andrey Ryabinin , Nikolay Borisov , Pavel Tatashin , David Rientjes , Sebastian Andrzej Siewior , Dave , Andi Kleen , Tim Chen , Jesper Dangaard Brouer , Ying Huang , Aaron Lu , Aubrey Li , Linux MM , Linux Kernel Subject: Re: [PATCH v2 4/5] mm: use node_page_state_snapshot to avoid deviation In-Reply-To: <1f3a6d05-2756-93fd-a380-df808c94ece8@intel.com> Message-ID: References: <1513665566-4465-1-git-send-email-kemi.wang@intel.com> <1513665566-4465-5-git-send-email-kemi.wang@intel.com> <20171219124317.GP2787@dhcp22.suse.cz> <94187fd5-ad70-eba7-2724-0fe5bed750d6@intel.com> <20171220100650.GI4831@dhcp22.suse.cz> <1f3a6d05-2756-93fd-a380-df808c94ece8@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CMAE-Envelope: MS4wfAHgN7UaQi1F5uYwECnNqBlWnG/40npTz2jOOvs3KsM9KVwWkd5gT2IEhfQ4wXYHkzfvGvT1U+5USf6gTGaCBtePMyQMUPNvO25gcPD4piY0J5UH9svr KeDz74PBA1fs9NZKQHgY5Mfb/1mGOegYC/HyP/ng1vocO+EVYDCWIHr+0d5SLiGbcEcM6OQAkXiYdEh0LdZ+PJMEeetYsqRHV6Ybnt74ZWQNEXnHgv+cR9EL g4XuNptEDOFGhEobHqxomBr9GUNdMe48uFN46+3rdtN9ofldIA5KkLgRjTiWPC/69sij4YGLne6vZEEl1pGco1/ADjNHPjp4OHyvPdwUCMrk7vfq2DtkEsi9 hgEk/NXPVL+uJ6NOb7aUwltdn42GRpY0j+uJ9QOQ5SQs1INH6qCp9le2AEzQhIjG2awvrEnqIQp7li2iaPRogW9TNgowadd2LyUL0dvBBcG/C5QDWVY+eopH dEEgLhQpYS4J7DQOVjNAOOddoiyGFWZQY/IAFDfZ6RxC01n5rTPsAa/5X3eIUdA5oqofe9cI+Q5rG044MKsz/T0N+YXPIB6xi6Gwd/zxWhfKhCzkq3+MHee3 BN4n8V7kics5bNIQ7L3weBjUWchj3DLVmdhWK+tnnFvduOBU3A7vpHu4CvpkeAUSyeiFVaMrQSpeZikOhL+breo0HTCF+crgk37KJRzpHAALsnN9UbECQcxW s2kkUJJXE1g7+mo53TqPug2vyJ1Exj956O5fINudhztKuIOFLDd4mZ7v2kQxve6AADiYMT7OthYvoHl3hwmMGLDoF8mV5lZtpbLUqq4ILlasfU2Ge8VgMbbm uLt2H6UT8+efxfFh/nkJ/XobACwevuMWhlaXGd9P Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 698 Lines: 16 On Wed, 20 Dec 2017, kemi wrote: > > You are making numastats special and I yet haven't heard any sounds > > arguments for that. But that should be discussed in the respective > > patch. > > > > That is because we have much larger threshold size for NUMA counters, that means larger > deviation. So, the number in local cpus may not be simply ignored. Some numbers showing the effect of these changes would be helpful. You can probably create some in kernel synthetic tests to start with which would allow you to see any significant effects of those changes. Then run the larger testsuites (f.e. those that Mel has published) and benchmarks to figure out how behavior of real apps *may* change?