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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A724BC433DF for ; Thu, 6 Aug 2020 15:35:11 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C36AE2310D for ; Thu, 6 Aug 2020 15:35:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PaV9DzcX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C36AE2310D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2E47D11E35C59; Thu, 6 Aug 2020 08:35:11 -0700 (PDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::644; helo=mail-ej1-x644.google.com; envelope-from=mingo.kernel.org@gmail.com; receiver= Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6165211E35C3D; Thu, 6 Aug 2020 08:35:08 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id kq25so37835336ejb.3; Thu, 06 Aug 2020 08:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=jAnZHwKItrjXdvdR58QzqOoGM6YiK6Tg67ZIO3IEXZQ=; b=PaV9DzcXBRT4XdiWVj2xuDnpNzGzZvTVchEJ29eJg3AwKErvnq9AkPTWImWIdPrvSk Cm1fi9ZxhQcs1r7k5zNMztQZEJqDMdu4nka/5tt8Hhb9cFcUnBoSa31kj9ZW0F5Bwztk NHaIsLTKVw7u8qV/lSP5g3fWoeyPzO6NUKldsdvdpw3jIGhMz1cqJ+9ArczJ7cx3GIwk PX8WirWmF4DG/A/CFrnhy+HE2KQsK+ZRlZFYc32HeYG6Tbh2C++BzOTYyxkUXmkEOi0k xTt2rad3nwG1/HXaM/GIW7ndJd+xF1vxwoL77XDNGhT/4l0+wVpZ2QhQn6ruUQVtS02g ux2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=jAnZHwKItrjXdvdR58QzqOoGM6YiK6Tg67ZIO3IEXZQ=; b=i/hm4mrsBtkduWYQ3mWc1gMCGsmdYlAeE9OE+2RTQLEhLYFsWmxLs5wSVYwNMXELhH xpNXsJcP966E2vg0UKy80+S+iPz/Ck+WZRSMwJiVwbvUGfaBAg8zYQSkGRtNIX7JMYaV 0q+9SH5fwiMfA0NKnFaEE8LzK3fnifOCHBR3NtOEmTxoltR3x+gT0+8OeMVQqCTdVWnl ejTAsZ/+bOrFagN9v8AoEha1nJUFg5hj3YaAU94JACWAXiMkSdoqlsxjPxDV4OKk8NJO Z6zy9EtGlmZatr6gjonLbGL/ym47Z05i+flU5Mgp1aS9e5HNEIpI9mgNtJJ/X/0FL0xb EGUg== X-Gm-Message-State: AOAM530LbeI9gzs0BOIzO3/Q0vh/uxL/Fin8RN0pDUelo+0yf9uJ8VuZ p4ThvrFhJu0N+dEanIZh2ZxLgAs4 X-Google-Smtp-Source: ABdhPJzGSWcXsTvrFChy/oKLxWzAYTmdg9pUBz7YXxu/sHbxaHPFNUziq5MLvb9Mv5LaLwHDPyG+XA== X-Received: by 2002:a17:907:4064:: with SMTP id nl4mr4903112ejb.342.1596728106880; Thu, 06 Aug 2020 08:35:06 -0700 (PDT) Received: from gmail.com (54033286.catv.pool.telekom.hu. [84.3.50.134]) by smtp.gmail.com with ESMTPSA id h9sm4027593ejt.50.2020.08.06.08.35.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 08:35:06 -0700 (PDT) Sender: Ingo Molnar Date: Thu, 6 Aug 2020 17:35:00 +0200 From: Ingo Molnar To: Dan Williams Subject: Re: [x86/copy_mc] a0ac629ebe: fio.read_iops -43.3% regression Message-ID: <20200806153500.GC2131635@gmail.com> References: <159630256804.3143511.8894023468833792004.stgit@dwillia2-desk3.amr.corp.intel.com> <20200803094257.GA23458@shao2-debian> <20200806133452.GA2077191@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Message-ID-Hash: IIWCRP7YDT7OQDTUWR2VXFUBAHLHFJWM X-Message-ID-Hash: IIWCRP7YDT7OQDTUWR2VXFUBAHLHFJWM X-MailFrom: mingo.kernel.org@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation CC: kernel test robot , Thomas Gleixner , Ingo Molnar , X86 ML , stable , Borislav Petkov , "H. Peter Anvin" , Andy Lutomirski , Peter Zijlstra , Linus Torvalds , Tony Luck , Erwin Tsaur , linux-nvdimm , Linux Kernel Mailing List , 0day robot , lkp@lists.01.org X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit * Dan Williams wrote: > On Thu, Aug 6, 2020 at 6:35 AM Ingo Molnar wrote: > > > > > > * kernel test robot wrote: > > > > > Greeting, > > > > > > FYI, we noticed a -43.3% regression of fio.read_iops due to commit: > > > > > > > > > commit: a0ac629ebe7b3d248cb93807782a00d9142fdb98 ("x86/copy_mc: Introduce copy_mc_generic()") > > > url: https://github.com/0day-ci/linux/commits/Dan-Williams/Renovate-memcpy_mcsafe-with-copy_mc_to_-user-kernel/20200802-014046 > > > > > > > > > in testcase: fio-basic > > > on test machine: 96 threads Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz with 256G memory > > > with following parameters: > > > > So this performance regression, if it isn't a spurious result, looks > > concerning. Is this expected? > > This is not expected and I think delays these patches until I'm back > from leave in a few weeks. I know that we might lose some inlining > effect due to replacing native memcpy, but I did not expect it would > have an impact like this. In my testing I was seeing a performance > improvement from replacing the careful / open-coded copy with rep; > mov;, which increases the surprise of this result. It would be nice to double check this on the kernel-test-robot side as well, to make sure it's not a false positive. Thanks, Ingo _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org