Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp645629imm; Wed, 8 Aug 2018 03:19:41 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzSwmDYzsj+i64P5T7VNd9LAHycrpWpTjpENCac4qUm2R3I2YuzazcBIVx9+uAKZ9Z9zrxP X-Received: by 2002:a17:902:b60e:: with SMTP id b14-v6mr1979759pls.111.1533723581183; Wed, 08 Aug 2018 03:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533723581; cv=none; d=google.com; s=arc-20160816; b=rLaw/V9Oz1Z3cNNxxkMqYX8LUM7nrY56N4JBusIp5YjQooJx4hLlQBMLy5FRwmvArX ZJx+ikl3hrL20JlzBPd+roWzNr0Wz/dgsVMscBc9Z9tmHgOnagmly5kNCIi0z7Jb92yE qfUg4uvsbQd4AUSVw6MQ4XkGDPJrifi4l7WTUz4cU8UUNDzRJ8wqS1k4NB5ULH6q4fjo 6IMimyyS6YYxAUE3RxLzdu5qJ3jgHHz3MGwppU6m+kd5QczVOW3PhmZ0pDCqkw/99yoG rgheCRIoXWs7awwKhKUzprt7KpyKp+oOAorSz+KT/p6OdOrHRa7xSf6XJ37fqwxzB9hp BvXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=tWWNPOmEZgY9BHcI/FlIyc/8s1eVDo5X+HNTD5kUa00=; b=ahIQifSJuiI5I760b7jYFnXXQdIFPAQhxEAMeJoYr7HfunOI4u4YZVaMwkWEZBYyXn OijsjfmGlMUl+INU0NrsEFKnOvEgQiS/XtLSLNJPZTAlzvlH3BGi41CjAproT+RjRVhk 62TyBOAIRu7DmVk6jR6RgSgj6aNi7JLpWyUzzBT/+zl2ryRaDyrMYArXpys/C52n2JDB O5kfOcJMjr5CdzUKkjRFkocA9s2JO4e9/cwSwuREQdZfzdgdyTNGYJLWpF2bew6+rbra aERJMxVnRNo9t1KCHQCAUeeGUJDfKQxJPW5RPVBwkTFPmZx44E5F/7w28/Uz8wm7bO1A HqcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=aq1so40j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n125-v6si3972860pga.376.2018.08.08.03.19.26; Wed, 08 Aug 2018 03:19:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=aq1so40j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727124AbeHHMhj (ORCPT + 99 others); Wed, 8 Aug 2018 08:37:39 -0400 Received: from mail-eopbgr70125.outbound.protection.outlook.com ([40.107.7.125]:45675 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726921AbeHHMhj (ORCPT ); Wed, 8 Aug 2018 08:37:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tWWNPOmEZgY9BHcI/FlIyc/8s1eVDo5X+HNTD5kUa00=; b=aq1so40jtunCqEGBl9+BIC9pD54gIWVYdeIQnHoUZBR9E3iZAyv0IfcLV4XAXYJs0T7V7L//713sCtR5/uHbFIk1Apj/OfpNM0LfYM2ESBFdHBhUDdsDu63WeelOOrS1OF7zEQbUaScUeaaVlPwW1cse6P1G1TyGWkyP84iAC3c= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ktkhai@virtuozzo.com; Received: from [172.16.25.169] (185.231.240.5) by HE1PR0801MB2027.eurprd08.prod.outlook.com (2603:10a6:3:50::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Wed, 8 Aug 2018 10:18:27 +0000 Subject: Re: [PATCH RFC 00/10] Introduce lockless shrink_slab() To: Shakeel Butt , Stephen Rothwell Cc: Andrew Morton , gregkh@linuxfoundation.org, rafael@kernel.org, Alexander Viro , "Darrick J. Wong" , Paul McKenney , josh@joshtriplett.org, Steven Rostedt , mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, Hugh Dickins , shuah@kernel.org, robh@kernel.org, ulf.hansson@linaro.org, aspriel@gmail.com, vivek.gautam@codeaurora.org, robin.murphy@arm.com, joe@perches.com, heikki.krogerus@linux.intel.com, Vladimir Davydov , Michal Hocko , Chris Wilson , Tetsuo Handa , Andrey Ryabinin , Matthew Wilcox , Huang Ying , jbacik@fb.com, Ingo Molnar , mhiramat@kernel.org, LKML , linux-fsdevel , Linux MM References: <153365347929.19074.12509495712735843805.stgit@localhost.localdomain> <20180808111224.52a451d9@canb.auug.org.au> From: Kirill Tkhai Message-ID: <493967b5-cb56-4a88-c2fb-44238e2823ed@virtuozzo.com> Date: Wed, 8 Aug 2018 13:18:24 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [185.231.240.5] X-ClientProxiedBy: AM5PR0102CA0011.eurprd01.prod.exchangelabs.com (2603:10a6:206::24) To HE1PR0801MB2027.eurprd08.prod.outlook.com (2603:10a6:3:50::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: df11cc9f-8082-4136-e141-08d5fd1849c3 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:HE1PR0801MB2027; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB2027;3:GU897xaxolWAoR8CpqYFlmBUe2SR0EuRtTJbbfb8buv1ggO5CS7iG6+zuRJpy2g0pc2qLNF0Fz1P1dBa0ri5iJS0M92ILy3F3q6ouoKv3jnhCsgyWVw8zbXLoqQ7QCbx1xr7rODZp2JVM4SK4biIkP802gdnCRt1+QGLVbRuW1eAObqIQxQUecSIh5H9lJu9KVbAmvr9NjsCR5qS8dmDi0xtkHOfLvgy/kE/kzbIxxTp2i9Y+4zfc0h3KTsC8AKY;25:zQ+D30/yR3rZayvabSBseEPKj4GK5xUxf87ATXJSX8j7cIZkhNCxnLzRD7O84T3ARRuSV0VZlPdq0WXd4bOteyd6Hhpr0cENQU6k4i6+CbRjN9UMIpFsh/cuR2GHwjVSkF3y3CeLnU+mJLkk364fBE/w0LcvOn1iWZMwJ/Skl3M+9FGY8tG8iGXn3B3rUWNjAk4f9CTfDcoxWrku/9lK1Tc8jZ8ZWJSuVdrrfSzZFlA34LqRTiwFn+HkYBQJBfIw9zf4bIi+eewZeoVq9XHaOrJ70x7v9/abvTGTR+D8jxQFpzVJSjOwettjYe0AEbs4F0eAgG3xp/3EkwZCPMVXGw==;31:Esg8PV/Elt3rRz44EyuUI7Y2y8Qez9kENU2zXAwhVnlpYiGba3EWKGE4SriQCb8QeLGuvMLPO4xxFWXAZJvmlLAPvu3KQy+RGNdsWYGw29OFyEqWSufBmbJDLMGWMPhdFNqMaixGnETA3RvY86vjHiRLKFASKzJNNz7ks7ElgM++uTZHZURt6F4aJrBlr9qUQOeJ6B4+ywPd7AQ6OufzxAbpivbdyguIOfanNZX8lEQ= X-MS-TrafficTypeDiagnostic: HE1PR0801MB2027: X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB2027;20:ZTzN2gA8aF5jvrdAn5gE7APtk5NhmJWy4EaMtUM6c6bDjdR1c9LVkKeP0uv9ie5w3Atnb0Dj07sb2U2tq5qvsoXhqSs8PznStEOdgN0CTEWGjmgjHJHszqHrsFTeI3XBU8WHXyDNQXDHlPkacZr0RDZ1gSvevvIXlKYJAIXHguwofXSPcAITUFD6tx4s6qMSH2JmzLXtrZjie9s7t4OGEtWXDxz5aAKw2nmepNCkwP9ipaa5cqX1W79se1zLmkHZoc6as9+H/CzvdWKEzQiIYF0j6CWuGtRZHflguHs+UPQgzQvdPZrhRShaZxGFxrU+AiuMCo/Ma3hf/7CXW0JeDx26EU9mfNvrVfaapKPyiNgOtjgaQILj22g/jOBL7BC86bzuKBDQ+ZWyKGoyGXtaoAE4LjX+kj1M04rPd3kHMUeEC5z7c4iKRiRIwdEs20c/oHOEpK1ERHacSqCtJAPZe8WuayTimk+DSSpiXXrVVe3l+o5cRytHVyf/Tpex9fn4;4:GeThIpOqiFkXWlAb4DXWN9915Ax8flTM3u22JF5OLhGzKFbsSxTrLovgqQgOn0ghXmr9v+S/80EYrjaxqy/FNsNkjMk4QYT/9cNpdzzb39EI1q2W/EGBCRtc4btsATeInwF9JVFHuh9oVYjwV1cvYnDs8kNVaZexZgI2rwpUAwRj7frSMXnjyqQoLvxgfa/WiuE8gahF8VvYGBbf2oZBHSYT+02XnNdO5O8kyUVD3b7MEdyIwVVKVEl4cBoSLiFUv06ZijrJZsm8VnPzWMaDCw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:HE1PR0801MB2027;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0801MB2027; X-Forefront-PRVS: 07584EDBCD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(136003)(366004)(376002)(39850400004)(396003)(346002)(189003)(199004)(68736007)(217873002)(81166006)(81156014)(8676002)(230700001)(446003)(8936002)(6116002)(14444005)(3846002)(11346002)(316002)(50466002)(478600001)(7736002)(2906002)(305945005)(6486002)(65956001)(47776003)(65806001)(86362001)(25786009)(486006)(5660300001)(956004)(53936002)(4326008)(65826007)(6666003)(66066001)(53546011)(31696002)(476003)(386003)(7406005)(64126003)(6246003)(31686004)(52116002)(23676004)(106356001)(7416002)(105586002)(16526019)(97736004)(2486003)(186003)(77096007)(58126008)(2616005)(52146003)(36756003)(54906003)(76176011)(229853002)(26005)(110136005)(39060400002)(16576012);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0801MB2027;H:[172.16.25.169];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtIRTFQUjA4MDFNQjIwMjc7MjM6YTZKOGxncGRUaXZaN082ZXl0Sk51KzRq?= =?utf-8?B?N3did2dtT2V3U2xZRENCWVlCamtGWVlvZlArS2NlYmxIUEZ0SGZ4cCtmZnhO?= =?utf-8?B?cUx3UDBwUG5icm1uZ0g3VURxVlpaQjFUMjZMRUlFT3NyQlBCMzFwTUdpbVlz?= =?utf-8?B?MU14Sjd5Q3ZkL3VJUHo5YWFPd1pjRG8wYjY3c0NPY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jhfji7KCRSDrppyhmEdmeu0D47n0xTtj7Bz5UMiWoaL6VyuzVvCG2HSKIIJtSKSU70=;7:feKxdictewuxVOk8rkRK3CfMvb4lKzIFkPI7qQhDTuuGNDVq6qxx17EKxmPNipvOXx27T/qQiqKXKNIsCgRcONyGq8mxne/CrbpHMwWJ/rNo9/FPWTotorZR53v22XCPXOWhT2YTFZW8lW/oNYXDR4RwnJzAZ909AZQU64g4hmogQJFKv/8QNKIWL2jzCk3XgazDKgSIzUb+UKhmlbCsbLioVQWNrbh4LravU9nuAf/9O/GCkbvA+RXvR89XInGd SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0801MB2027;20:0CWeka4hrLaj4UiZxLHx7qQJ8KkLWc3CxoE9VB6nva38g/dv9et6FczXC7ATjigbPcby/KK5dLSPnOrLZnE3NpsGQJqFPb995s0koKCniKow75bY6zrF/pwGyP2GN2QRTNI9tHHNzjagNkNWxun4KnK1bZpaEOP3t+vGjSTvVJA= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2018 10:18:27.4140 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: df11cc9f-8082-4136-e141-08d5fd1849c3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB2027 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08.08.2018 08:39, Shakeel Butt wrote: > On Tue, Aug 7, 2018 at 6:12 PM Stephen Rothwell wrote: >> >> Hi Kirill, >> >> On Tue, 07 Aug 2018 18:37:19 +0300 Kirill Tkhai wrote: >>> >>> After bitmaps of not-empty memcg shrinkers were implemented >>> (see "[PATCH v9 00/17] Improve shrink_slab() scalability..." >>> series, which is already in mm tree), all the evil in perf >>> trace has moved from shrink_slab() to down_read_trylock(). >>> As reported by Shakeel Butt: >>> >>> > I created 255 memcgs, 255 ext4 mounts and made each memcg create a >>> > file containing few KiBs on corresponding mount. Then in a separate >>> > memcg of 200 MiB limit ran a fork-bomb. >>> > >>> > I ran the "perf record -ag -- sleep 60" and below are the results: >>> > + 47.49% fb.sh [kernel.kallsyms] [k] down_read_trylock >>> > + 30.72% fb.sh [kernel.kallsyms] [k] up_read >>> > + 9.51% fb.sh [kernel.kallsyms] [k] mem_cgroup_iter >>> > + 1.69% fb.sh [kernel.kallsyms] [k] shrink_node_memcg >>> > + 1.35% fb.sh [kernel.kallsyms] [k] mem_cgroup_protected >>> > + 1.05% fb.sh [kernel.kallsyms] [k] queued_spin_lock_slowpath >>> > + 0.85% fb.sh [kernel.kallsyms] [k] _raw_spin_lock >>> > + 0.78% fb.sh [kernel.kallsyms] [k] lruvec_lru_size >>> > + 0.57% fb.sh [kernel.kallsyms] [k] shrink_node >>> > + 0.54% fb.sh [kernel.kallsyms] [k] queue_work_on >>> > + 0.46% fb.sh [kernel.kallsyms] [k] shrink_slab_memcg >>> >>> The patchset continues to improve shrink_slab() scalability and makes >>> it lockless completely. Here are several steps for that: >> >> So do you have any numbers for after theses changes? >> > > I will do the same experiment as before with these patches sometime > this or next week. Thanks, Shakeel! > BTW Kirill, thanks for pushing this. > > regards, > Shakeel >