From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE8FAC61DF4 for ; Fri, 24 Nov 2023 05:08:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 21E406B06FE; Fri, 24 Nov 2023 00:08:38 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1A79F6B06FF; Fri, 24 Nov 2023 00:08:38 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 047E36B0700; Fri, 24 Nov 2023 00:08:37 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id E218A6B06FE for ; Fri, 24 Nov 2023 00:08:37 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id B13F11617AA for ; Fri, 24 Nov 2023 05:08:37 +0000 (UTC) X-FDA: 81491667474.18.9FFB804 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by imf28.hostedemail.com (Postfix) with ESMTP id D31FBC000F for ; Fri, 24 Nov 2023 05:08:34 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf28.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1700802515; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tOZVozLXfB9glElOCIU10vJsZZrNbtjU2UEaoiiak1o=; b=TUeXtDSzvPWW2X5FMQ4creQFX1lOoOz4CwJa5YrTslQ7koF9m7kuQAQoTkp2cEch8bOTrJ vl9Ou9Bzyczsn6V3d1RBXhiminv6wpZ5I/gxAEoV2GWFW2wAEQ9erVTrpf1QEpDcUtqBq9 OZltIanZOYVP6sSckqYrNtvVNSveKgU= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf28.hostedemail.com: domain of regressions@leemhuis.info designates 80.237.130.52 as permitted sender) smtp.mailfrom=regressions@leemhuis.info ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1700802515; a=rsa-sha256; cv=none; b=Vvufip9IUk9rgyDyQiGneEIF3ZuagV6kwt+EqSdR3z1lZoxs+hbc27fYREL969Es9JKn/j vgVPmPqErGy66D5w1WD8sNZJ1Ygn3Oj1pU/Y5SU/oyoJwZsUW+IsbyTnAKNonQsL9yggoM tAuuqajwd0qLvp7PR8vYT9aF/fOX93c= Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1r6OQT-0000LE-2r; Fri, 24 Nov 2023 06:08:25 +0100 Message-ID: <2541055a-48c9-4680-ad9b-5a3c41995a1d@leemhuis.info> Date: Fri, 24 Nov 2023 06:08:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [REGRESSION]: mmap performance regression starting with k-6.1 Content-Language: en-US, de-DE To: "Liam R. Howlett" , Bagas Sanjaya , Chun Ng , Linux Kernel Mailing List , Linux Regressions , Andrew Morton , Linux Memory Management List , Ankita Garg , Suren Baghdasaryan , "Matthew Wilcox (Oracle)" References: <20231123143452.erzar3sqhg37hjxz@revolver> From: "Linux regression tracking #update (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <20231123143452.erzar3sqhg37hjxz@revolver> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1700802515;d348e461; X-HE-SMSGID: 1r6OQT-0000LE-2r X-Rspam-User: X-Stat-Signature: iqpug5duaytmn9wgx74bi8rdn684ro71 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: D31FBC000F X-HE-Tag: 1700802514-208406 X-HE-Meta: U2FsdGVkX1+/TSjSk2VQ52pisUD4+2OWC15eum1V4ES3YSc2zuOM2ftcSUOIJ4aqxwIvZ4l0VriAmsupohac0A9vw+N5CeDSNsqAoD+8DCPRqWZAPvQCyE/bp2OVBUQqgGFB2dZENMzjgD+rFUVV0qGtjULmEzm9UCFUrpUkN4N5qei4/O84fImdAbWxjOb/j5uEJkhokxfksyOh1lJMfmfTKHSN7ciDswWwF79VpmPwwyYaEBTgpKRB4OI+nBeKNAzPlIxB9qrLRR0ywCp7OVjGJ/MX7eBnutjOhzCfuPYTEeEXG7dT6olII39r4W679FgHR/EFHUthQFjQeGutcjEMeDTCM8gvV4GtZmbKqRna+TmS3//HfL7wQafbayFdzB22sLeYJC8Kt/rlBvEs2R2AK3NbjH6xX38M7sDc4oc5Ct2WxhjyP8oeP5a8EBVSrg6oUJTeaQ7gDAA6Ut7ndzJyXylH1VMrYi0UZPp3hDc57gpET/5h8sHvVlon7ARwgaS23b9vpSJgMC39+xz58wyU9/0uMCcnVG1BM90fZMH6hQbVaCtYaVa4BErick052h2dqRJDn+krOceGQ+G2v8m4zqyl6fQ2eyv/Qv9xMRGusPXF8XzpHRjAJHFJbhzceKS+AywvPbTvlg9I+ash1F8cbjonkodj9O6NoaX0iJiWrFH7ibZFIQUl21uYuFbLIs8K9hCR9ApJY4pIelhV3EzNrQlCJry7+qEHuvrWYLLiTdH2L623v/iOY99ZvPhfLSe878IbUU4voEghPm5J8u9y6cJTM+ptn5SniBjzn00iL1Rqc77Fc1zMXAO+UPJBe8xn3vscKdGZxHjwu9IHlw1fP3dsLbCj/8PPK9NaT+X0ebSMcURJBBr6qjoSsN2XZF5o9/ieukH5EkE93W89NuPqlbkDlQps+nsnI2ECsVtaGa4CbB3zLrT1sZMlbnSLHQpx3JHxbVaC8V7tmt/ UVwn21o8 aUOxpbv1hFw5ZExXd+S6pHlDfu4dN2pF2JaS+ii+dfBO23lXSUjBsDFTUGtAzrHV0Oo5rtsVpwYOS3MVB/5bFl+8R85qxK7YcFZ2lIsR8WZU0T5Ca1L+cDM9AkXz5kZRbT/FR/MlrcQNvhMtwpPvnNJfFFBlnqqxBPUp/B5s3gjqDAlwEVk+o8I7JYSJ1dP2WHeSXAyl/tdm0kl4vSROB3J8mxHUw06D2YSdN/IIVL+QsMv/4QqSZz/r54UT6Qo19VDfZS42TSs/EAx29dcy8SguQ96VB9NNwHVpI1icxPo+hb87zhqXACliIwPgaQl4EL+WFLJadpXdsrMTH1PbPWq/YD3Q5kcH7IM7IXkC+od6lssYTAitqSjtBP2YxpY3dultx2KzIgDtmpVz/Zi5tm1BSqwUEArDiFyhs X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: [TLDR: This mail in primarily relevant for Linux kernel regression tracking. See link in footer if these mails annoy you.] On 23.11.23 15:34, Liam R. Howlett wrote: > * Bagas Sanjaya [231123 00:07]: >> On Wed, Nov 22, 2023 at 08:03:19PM +0000, Chun Ng wrote: >>> >>> Recently I observed there is performance regression on system call mmap(..). I tried both vanilla kernels and Raspberry Pi kernels on a Raspberry Pi 4 box and the results are pretty consistent among them. >>> >>> Bisection showed that the regression starts from k-6.1, and the latest vanilla k-6.7 is still showing the same regression. > > This is almost certainly the maple tree. The tree is slower on writes > than the rbtree and so if the benchmark mmaps/munmaps in a tight loop > you will see this slow down. [...] > >> Anyway, I'm adding this regression to regzbot: >> #regzbot ^introduced: v6.0..v6.1 Liam, many thx for your reply. I known that you are still working on optimizing things in this area again, so I don't think this is worth tracking this as a regression: that doesn't buy us much afaics. And it might not be a regression at all anyway (not totally sure, didn't look into the details due to the former aspect; sounded a bit like the problem only can be seen in a microbenchmark; whatever). #regzbot resolve: not worth tracking Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.