Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752659AbdHVVI5 (ORCPT ); Tue, 22 Aug 2017 17:08:57 -0400 Received: from resqmta-po-07v.sys.comcast.net ([96.114.154.166]:45502 "EHLO resqmta-po-07v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145AbdHVVI4 (ORCPT ); Tue, 22 Aug 2017 17:08:56 -0400 Date: Tue, 22 Aug 2017 16:08:52 -0500 (CDT) From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Andi Kleen cc: Linus Torvalds , Peter Zijlstra , "Liang, Kan" , Mel Gorman , Mel Gorman , "Kirill A. Shutemov" , Tim Chen , Ingo Molnar , Andrew Morton , Johannes Weiner , Jan Kara , linux-mm , Linux Kernel Mailing List Subject: Re: [PATCH 1/2] sched/wait: Break up long wake list walk In-Reply-To: <20170822193714.GZ28715@tassilo.jf.intel.com> Message-ID: References: <37D7C6CF3E00A74B8858931C1DB2F07753787AE4@SHSMSX103.ccr.corp.intel.com> <20170818185455.qol3st2nynfa47yc@techsingularity.net> <20170821183234.kzennaaw2zt2rbwz@techsingularity.net> <37D7C6CF3E00A74B8858931C1DB2F07753788B58@SHSMSX103.ccr.corp.intel.com> <37D7C6CF3E00A74B8858931C1DB2F0775378A24A@SHSMSX103.ccr.corp.intel.com> <20170822190828.GO32112@worktop.programming.kicks-ass.net> <20170822193714.GZ28715@tassilo.jf.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: MS4wfE6xTmGo0Xj8etGPLxQcJso9nYR9ACYbWxQUDIVy/b1qHPbXZK4jeqGLYud1suY31gaLv+iJqYdLdbuavX/tjafb/HYPr32ac9IidkgtnLRyIhLabN3s LWf8vRekz3ntYkjyQP35GhNBCw3etIIBHX+jJ/WBdBL26JqRnvxiuhzmY7S6kzZeHle8BX9VzccUmHlnNzVROvtRolma1w3uh11p7ahMF+ddZf/OzHmihNTc 7/zs+9KNLifr/6EvbOGU2ZL0k6OLPFIoxAH0bkxqy4BEp47e8m0vp05lMTlUvZXO3fyfCVnh1GlyNi5Li3HCtiJALo7zJlkYAYQ+S50qr6xBT+K/E+fMjFtZ aglfxdzBduufOfiqpEqZBxbdMKo2afCxRSA9IZi/Yl0WJZzbAiyolGa6AU8IDJcL0S0oDXaaHMhhcsEWsKEbECxITJH96vIrGEsk9p4itvliwUSU6R3L6YgR WUlU18B82YxNZhPp4wDLGuBV62OsO9nE2ezPB/tawh2nCZEMjou9KAvzn/QkTN/CxwxnEkvCIPhG9/2TyWwVoXzRIquhpxEDyQBq1wKY0k2bn+8sof3b1KCF 9cE= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 767 Lines: 17 On Tue, 22 Aug 2017, Andi Kleen wrote: > We only see it on 4S+ today. But systems are always getting larger, > so what's a large system today, will be a normal medium scale system > tomorrow. > > BTW we also collected PT traces for the long hang cases, but it was > hard to find a consistent pattern in them. Hmmm... Maybe it would be wise to limit the pages autonuma can migrate? If a page has more than 50 refcounts or so then dont migrate it. I think high number of refcounts and a high frequewncy of calls are reached in particular for pages of the c library. Attempting to migrate those does not make much sense anyways because the load may shift and another function may become popular. We may end up shifting very difficult to migrate pages back and forth.