Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp820917rdh; Thu, 23 Nov 2023 21:08:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4ZiDYEDySCBHcFAV3oJRFdQe71Vf9Opmiis4ee1hKyAbMzhTP+63ElK8gE20hLNTpdrqw X-Received: by 2002:a9d:5d0b:0:b0:6d3:282b:deee with SMTP id b11-20020a9d5d0b000000b006d3282bdeeemr1732440oti.12.1700802524486; Thu, 23 Nov 2023 21:08:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700802524; cv=none; d=google.com; s=arc-20160816; b=t/gU9qosU21lelxYw6DvBcm+kG2vu2Io/hDf7fEB3ssjheDDVRP/p+D0Tg1JoCPXdY slB2yq1umgutXk9R3gtVALFWBL757KescDbQhIeScFmGnhOLhfH9B+72AKJVbqeVRA0Q Ti44prtjeBHswFqjFZBEbbry6IusHy0dcx+pM3pmvlNbnxhPpHMIxSG+R7brmeeip0yf 7Z5nxWAjhviNdk+S+N+eAIZ+O3B9b/E6OOi4j86JJD79Q/nbQSpX0UEdwcH3r7K8dPOl kotog0hBwRVuSm8VHk50bhI0KS1VNE4DvquzFUkNtokia8086LjvvKM5aVLKNDWmBwVB Qb4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:to:content-language:subject:user-agent:mime-version :date:message-id; bh=tOZVozLXfB9glElOCIU10vJsZZrNbtjU2UEaoiiak1o=; fh=aUcqXtSSVusMgsDGYfUdTSRYeJDLZ0hQMwk0LuuahvM=; b=pEd249h+9s99UTPaow+WlB9B3hzq47d1mKJYShV/9bBqRVKAKLkOyvl15d5W+mAF4e grdglSQS1ZSyYgon6ndP+XbQh7TfjZEZqpZl/cyj87KMAZCHwn/yoBai6sXtwyH+Bkae 9qQjEd/65j/YRX53LpamYKTiN3uN5zFYpqzXIHg2be9OxYTxAFLtELwvtobSVd8k+YEm JxZJfe35lLD/XdWCd5zUt8Ge+6fRi1xpp17pPsGiQMh2tWiT8gP1iQeY4I8KetltVoEL 6M8SL7ZVKFrNSpSV194uXEBGc11JL0kcc9PimRlKl35bezcg2pbYqMLOspf3xUJs5TUU 0tWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id i9-20020a63e909000000b005b42f4443b7si2781532pgh.653.2023.11.23.21.08.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 21:08:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id AE53E809C418; Thu, 23 Nov 2023 21:08:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbjKXFI2 (ORCPT + 99 others); Fri, 24 Nov 2023 00:08:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjKXFI1 (ORCPT ); Fri, 24 Nov 2023 00:08:27 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F31201BD for ; Thu, 23 Nov 2023 21:08:32 -0800 (PST) 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;1700802513;61e39fe6; X-HE-SMSGID: 1r6OQT-0000LE-2r X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 23 Nov 2023 21:08:41 -0800 (PST) [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.