Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp741236rdb; Fri, 17 Nov 2023 11:13:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcBpJxAD/mIpW1bUpWggplkSPA8zzqQMZ1AGCiCiAd0tSZgUe/pzPKTuPcwDTTPbyTyqRR X-Received: by 2002:a17:902:ed04:b0:1cc:501b:1d13 with SMTP id b4-20020a170902ed0400b001cc501b1d13mr535933pld.40.1700248429760; Fri, 17 Nov 2023 11:13:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700248429; cv=none; d=google.com; s=arc-20160816; b=cPtxzoW8zYFrWg8kNEsUXAsaRVIdcwIvEV+twz3sjNT4TmZDNrh1S9xsWZ3wb40BPn RT2xLBNZbb4aMD9rDtCMB9gkis3l+EhNDcbYToMdWqqk6Pb8aiHLOx0N4yFKr7hrJsfZ dbDMZT8eLnXtx82H9OVWYiygdliZZHuGwfdy7jNS7OoUjZrZtfMznVPpboTTS8cOTJ/e 1Thv7EB1i8USFQ5CfBIYNG6bRPMt2wBaJ+ik7Wo3HoYsadKqxqHoWofAtVOr0zb5mDmR tqHLgGBcAhvOT9QMxqmWI/iXuVc79WK6W3gTXB4GuT75Pl9k+dmpuCv280pgndALNukW u8PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qd/m7qtc5JsyS+Bk5EH7vdXV4yKIrZrxAIziQWZ5NNo=; fh=4yJc638SGTPkGLwkNFQgIu8eHqmCdxukUJVwHLahvLU=; b=kBNsMTruX0EcGwWZ1hNWTYYRlMI5E+OmHsia1c9ddWdF4wcD9XZbkwYj49chbaVpIy Jqx/pfT5xWM38V4uB3OoBrjEf6jm0K4Fp2P/iQm5eb0r9WOFYlmZtsd6mNvR13hEVM5f oqGyPvEaykMc4JFOkLY5RipFV8qn6Wnlmoli/zDR+4CWkEY7gvyP7VdBAS4xLn+ndlmE pE20fc2aJEc0O2PQxGBLmu9od2fr/xagK2hx1UEEKN33AKYogL3XtdEbfTa0xkX7QESb nedODlHb7ZM7uPwyGSzqL74r0mDHtvGo0ensY71h7VYpQib6ItASq+RzMk+zRwq50JC9 xRYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="lUb/Bt4V"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id u1-20020a170902bf4100b001baff05d890si2231119pls.313.2023.11.17.11.13.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 11:13:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="lUb/Bt4V"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 94B538315498; Fri, 17 Nov 2023 11:13:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbjKQTNQ (ORCPT + 99 others); Fri, 17 Nov 2023 14:13:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjKQTNP (ORCPT ); Fri, 17 Nov 2023 14:13:15 -0500 Received: from mail.alien8.de (mail.alien8.de [IPv6:2a01:4f9:3051:3f93::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4CDAC5 for ; Fri, 17 Nov 2023 11:13:11 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 5AEF440E0199; Fri, 17 Nov 2023 19:13:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EG6AgXXuyaF7; Fri, 17 Nov 2023 19:13:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1700248387; bh=qd/m7qtc5JsyS+Bk5EH7vdXV4yKIrZrxAIziQWZ5NNo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lUb/Bt4VIM2/LiWOlBGvKSrveY6/QFk37LBygxEhVb3Yiu3Cwpgpf/+tFYv8L/bjW SmJAY9NAcp4H5OvrSTwb1oguosYcarSm9Ssz2H1nPYjHEZ+pHJekO+gKSKioESztgx /DuUmokzn3L9qH1ACdMmDY/GLTeHLlkJELUl5w2I3KF9JdZFzAeThDAFdLqIgQsaty jatzo/oFBxkvBfE70cnA+tlciGle3Mh2EqpPe4QLI1H1YnIBdfCissvW6JiJCRrPyo gqxLasitDhYxZwXhggBPX+J5oxwCYX5A255/QWq5bvj5XS1y5BXX6kvt5Cp4vvLk7q cq5mrIUq989d1cqkVLx/j88FtF9AVlUhQ0XVbqZ/7DX4UlMEucvQsfKBuvXzDywYG0 jwu8N12Rguk77IvJ3f/KJ7eTiJ/wazhcnhVKIsu5aqs91GWye/Gsf++Bal/vI2oVlf sNy8NyaVm9ipTNdmN2uilEiHO+FAKW74s6IBrmqIhDN4ve5zznxcISX8Kxxtumhv6Z jSQ1yg9cdpLgw7wfIrx26/48pK0k/4ZDaMtjKPW7MlWx2cTLFi/uKvdHcblKJjuutW AAt5DxJ1Pn0inRroMO/G830vDdKjlpl/2TDsH4vkY78z4v7E2AhCQcEaBHHldGCJem FH0f8mNpCO5ljqAa1UpkRSkk= Received: from zn.tnic (pd95304da.dip0.t-ipconnect.de [217.83.4.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id D9A7340E0032; Fri, 17 Nov 2023 19:12:50 +0000 (UTC) Date: Fri, 17 Nov 2023 20:12:43 +0100 From: Borislav Petkov To: Linus Torvalds Cc: David Howells , kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, Christian Brauner , Alexander Viro , Jens Axboe , Christoph Hellwig , Christian Brauner , Matthew Wilcox , David Laight , ying.huang@intel.com, feng.tang@intel.com, fengwei.yin@intel.com Subject: Re: [linus:master] [iov_iter] c9eec08bac: vm-scalability.throughput -16.9% regression Message-ID: <20231117191243.GHZVe7K4vN9n5M92gb@fat_crate.local> References: <20231115190938.GGZVUXcuUjI3i1JRAB@fat_crate.local> <232440.1700153046@warthog.procyon.org.uk> <864270.1700230337@warthog.procyon.org.uk> <20231117160940.GGZVeQRLgLjJZXBLE1@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 17 Nov 2023 11:13:46 -0800 (PST) On Fri, Nov 17, 2023 at 11:44:10AM -0500, Linus Torvalds wrote: > So the test robot load is kind of odd. So looking at that. IINM, its documentation says: https://git.kernel.org/pub/scm/linux/kernel/git/wfg/vm-scalability.git/tree/Documentation case-msync: Create N sparse files, each with a size of $MemTotal. For each sparse file, start a process to write 1/2N of the sparse file's size. After the write, do a msync to make sure the change in memory has reached the file. Is that something userspace usually does? Some distributed, shared thing logging to the same file? I obviously have no effing clue what userspace does... > Not that I think that David's KUnit test is necessarily much of a real > load either. so... Which begs the question: what are our priorities here? I wouldn't want to optimize some weird loads. Especially if you have weird loads which perform differently depending on what uarch "optimizations" they sport. I guess optimizing for the majority of machines - modern FSRM ones which can do "rep; movsb" just fine - is one way to put it. And the rest is best effort. Hmmm. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette