Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp952155pxa; Thu, 27 Aug 2020 22:26:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUqjKWoPVb3JQH1x7eUO5/MITnxnSYLDxjW7AMRCman8qJFd6TXxubnZxd3tcG1IiYhl5Q X-Received: by 2002:a05:6402:1e5:: with SMTP id i5mr172850edy.194.1598592387659; Thu, 27 Aug 2020 22:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598592387; cv=none; d=google.com; s=arc-20160816; b=XvURMBYT9ig6lgP8ogcxhs12ZdKKIGxWf35k+ZwZzkYPxYZo2VNjDAGtX4pUZu4HPj rdXb12cVZHL1lx3pWA+TPfjhVWddSMbG6pcgtLoAJefsaBcmqXmcvUX3KYeRiSBFyxYn Kc0dBvp+GvKiQrAXJCIp3wXKL5GTZwti206K2p5eSkJYrfnB2n+c+PGWZPaBnco6Xs4n wciBEK1xqp94/cbBanCxa1sEHqWM9BRKjawpDx5FR45VbQpVkkq2IEqgusObNsQq/ahS z5/A7I+NJU8F78/VffYlOrhtCeK19gjZ6/1wLCVEFc38QK5QqRRKlgRgM2RK6PatQPE/ m95w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=eDINwbtZQ7SLIzCG1TIYsvAUwMI+LrQLCn0HZ5kJtrg=; b=g/lwuudsEjW6VUo3Qs+t4qlNNhRJkaduACF7EXy3g5DAtHlujHqPAGVbEasNJEg5yn LLW6zms/slGC1Uq1vAzaON1VG3EUP3Vaqn/g7MeRM36ZYK9DnVPj+B2+JIR8fqucknCN U7tPndQ2yuw9otRh1cDR8Fp7c0STz2B5goGDb2sN/uNXtmRXmXqlyGKGfYgOQoD1pWHj 1LP8Bcn8CYo4KKaebdF9XYC+Lve9gJwQKVhz94t/Jpa8UiuGC7GqWM6Jm/v2rLnSvRho EYfeWAKhs2qhohaMlyUkfqQTqMtlYGiNDOHbFKH7FDZkM+3Oflg3WdNLhg5qOHYI8aRd Ulag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t25si2855856edq.602.2020.08.27.22.26.03; Thu, 27 Aug 2020 22:26:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726867AbgH1FYV (ORCPT + 99 others); Fri, 28 Aug 2020 01:24:21 -0400 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:53915 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725849AbgH1FYV (ORCPT ); Fri, 28 Aug 2020 01:24:21 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e07488;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=21;SR=0;TI=SMTPD_---0U7448ER_1598592253; Received: from IT-FVFX43SYHV2H.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U7448ER_1598592253) by smtp.aliyun-inc.com(127.0.0.1); Fri, 28 Aug 2020 13:24:14 +0800 Subject: Re: [PATCH v18 00/32] per memcg lru_lock To: Daniel Jordan Cc: Hugh Dickins , Andrew Morton , mgorman@techsingularity.net, tj@kernel.org, khlebnikov@yandex-team.ru, willy@infradead.org, hannes@cmpxchg.org, lkp@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, shakeelb@google.com, iamjoonsoo.kim@lge.com, richard.weiyang@gmail.com, kirill@shutemov.name, alexander.duyck@gmail.com, rong.a.chen@intel.com, mhocko@suse.com, vdavydov.dev@gmail.com, shy828301@gmail.com References: <1598273705-69124-1-git-send-email-alex.shi@linux.alibaba.com> <20200824114204.cc796ca182db95809dd70a47@linux-foundation.org> <20200825015627.3c3pnwauqznnp3gc@ca-dmjordan1.us.oracle.com> <20200826011946.spknwjt44d2szrdo@ca-dmjordan1.us.oracle.com> <01ed6e45-3853-dcba-61cb-b429a49a7572@linux.alibaba.com> <20200828014022.y5xju6weysqpzxd2@ca-dmjordan1.us.oracle.com> From: Alex Shi Message-ID: <327a1bb4-b64d-65b8-e18f-db33e03ca9ed@linux.alibaba.com> Date: Fri, 28 Aug 2020 13:22:28 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200828014022.y5xju6weysqpzxd2@ca-dmjordan1.us.oracle.com> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ?? 2020/8/28 ????9:40, Daniel Jordan ะด??: > I went back to your v1 post to see what motivated you originally, and you had > some results from aim9 but nothing about where this reared its head in the > first place. How did you discover the bottleneck? I'm just curious about how > lru_lock hurts in practice. We have gotten very high 'sys' in some buiness/machines. And found much of time spent on the lru_lock and/or zone lock. Seems per memcg lru_lock could help this, but still no idea on zone lock. Thanks Alex