From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752873AbcEDVFn (ORCPT ); Wed, 4 May 2016 17:05:43 -0400 Received: from one.firstfloor.org ([193.170.194.197]:56478 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751139AbcEDVFm (ORCPT ); Wed, 4 May 2016 17:05:42 -0400 Date: Wed, 4 May 2016 14:05:39 -0700 From: Andi Kleen To: Michal Hocko Cc: Tim Chen , Andrew Morton , Vladimir Davydov , Johannes Weiner , Minchan Kim , Hugh Dickins , "Kirill A.Shutemov" , Andi Kleen , Aaron Lu , Huang Ying , linux-mm , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] mm: Improve swap path scalability with batched operations Message-ID: <20160504210539.GM13997@two.firstfloor.org> References: <1462309239.21143.6.camel@linux.intel.com> <20160504124535.GJ29978@dhcp22.suse.cz> <1462381986.30611.28.camel@linux.intel.com> <20160504194901.GG21490@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160504194901.GG21490@dhcp22.suse.cz> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > In order this to work other quite intrusive changes to the current > reclaim decisions would have to be made though. This is what I tried to > say. Look at get_scan_count() on how we are making many steps to ignore > swappiness or prefer the page cache. Even when we make swapout scale it > won't help much if we do not swap out that often. That's why I claim But if you made swapout to scale you would need some equivalent of Tim's patches for the swap path... So you need them in case. > that we really should think more long term and maybe reconsider these > decisions which were based on the rotating rust for the swap devices. Sure that makes sense, but why not start with low hanging fruit in basic performance, like Tim did? Usually that is how Linux changes work, steady evolution, not revolution. -Andi -- ak@linux.intel.com -- Speaking for myself only.