Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3175137rdb; Thu, 16 Nov 2023 02:14:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGAKeV7l7QIcEolbss5/2b0kvzclGhlPzlhOoFNFTeiqF3Di/rVRk55d2xKsgzI/QCCys6b X-Received: by 2002:a05:6871:448e:b0:1ef:15f5:1733 with SMTP id ne14-20020a056871448e00b001ef15f51733mr16673786oab.25.1700129689405; Thu, 16 Nov 2023 02:14:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700129689; cv=none; d=google.com; s=arc-20160816; b=spWq0y+36zPfmzHcRy+3+2GeI+AFG488zhDtqYGvvZ4iHbMbTwohRLN0gODtx7FRJd HV4dgjF4FZB7dTOcIkPsBQtmAzS/YIRWDi5jQkVq6x3Cv1lfsc2Dz/CzjsWaT1ebA3cb jlrzss2sR3jGxhQPm57cEA8VkKc1s6AzUI/8pq+7FmaTAVLmor62gg3FH5DP0lsPBPEP HljMABeb3LUKLPJgurqmsIG6P03yhkFrrSM/Z92SZaYeErylyVYO6J5iG+97RhdN8hOI geBeIrZs5bUJ/dYRLLPI73gC27zbzs7IMf3jVYzAtho5riGjEU61ayJ/xSUfY8PGWygR QRhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=/qSf17nLKwBzvhXGOsVf7cFolqlSlgq1S8Xm68Mw6Xg=; fh=kPPKHqVQo5FmMk8EolheMQSyuBUw+6o7FS/yJKSmJ5Y=; b=yPMNIvBNKdMmCRiyHznWz8P6hYzcX8MS0nZH/6Mh8KaYzEGSxa5ses0O0HnUPRRylI fECPC1NSitfYk+m6Qqq4YXOQmGen/1b5BJA4FXlikT3i/hIFCApwdtDy66nze1Jsa5KR kFpnRIZjWa5nVLHUP1vm95b7qI5H1jc+/zAPxORLanV3RImHh6RIlzs/ez0Ixm7D/asA yvRJFQOOaR8EI91lBpjs2xcvsiu3y95VHUD+W5mdU4bx1DiSgoO5WPyvJPqZdhGFLA52 wOm9ncL2+VLsIUMuPLt+P4ru7JdFgFbu+tUbITGOvXT+Zm4hjP0VJswGFf56XlVWotI2 NCyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Wy1BUoBC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l187-20020a6325c4000000b005bdf596397bsi12317912pgl.732.2023.11.16.02.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 02:14:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Wy1BUoBC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A5A7780EAD4C; Thu, 16 Nov 2023 02:14:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345012AbjKPKOY (ORCPT + 99 others); Thu, 16 Nov 2023 05:14:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235675AbjKPKOV (ORCPT ); Thu, 16 Nov 2023 05:14:21 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B046D5C for ; Thu, 16 Nov 2023 02:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700129655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/qSf17nLKwBzvhXGOsVf7cFolqlSlgq1S8Xm68Mw6Xg=; b=Wy1BUoBCI/lLr0wG67a9lJBUt0VbZxlzH5ums4U8JErYzGFaQAuZVl5Cr1OeB0uWV6tbiJ jmhgfYaxEEP/cPjXHPQe6necmycLOGQQtFlbfPcfc04fuE8/tU1TUc7BccHAv/eApz05cu I64LtjljL1vl5DoL5QjW8kjKldEzc2Y= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-403-dMjoYVQONpiGjZaMrqRBHA-1; Thu, 16 Nov 2023 05:14:08 -0500 X-MC-Unique: dMjoYVQONpiGjZaMrqRBHA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 07D0C101A529; Thu, 16 Nov 2023 10:14:08 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id 99618492BFD; Thu, 16 Nov 2023 10:14:04 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <4c0c3ee6cfa84d21a807055bc1aa27b8@AcuMS.aculab.com> References: <4c0c3ee6cfa84d21a807055bc1aa27b8@AcuMS.aculab.com> <202311061616.cd495695-oliver.sang@intel.com> <3865842.1700061614@warthog.procyon.org.uk> <20231115190938.GGZVUXcuUjI3i1JRAB@fat_crate.local> To: David Laight Cc: dhowells@redhat.com, 'Linus Torvalds' , Borislav Petkov , 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 , "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 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <97467.1700129643.1@warthog.procyon.org.uk> Date: Thu, 16 Nov 2023 10:14:03 +0000 Message-ID: <97468.1700129643@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 16 Nov 2023 02:14:46 -0800 (PST) David Laight wrote: > On haswell (which is now quite old) both 'rep movsb' and > 'rep movsq' copy 16 bytes/clock unless the destination > is 32 byte aligned when they copy 32 bytes/clock. > Source alignment make no different, neither does byte > alignment. I think the i3-4170 cpu I'm using is Haswell. Does that mean for my particular cpu, just using inline "rep movsb" is the best choice? David