Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1943887pxf; Sat, 3 Apr 2021 05:53:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytagiMg7zhNkLIedYnRYhLM037LLe+8TC0KuFRkSNdMtNc/r22ugj8LzHgMgkdm8WmfoVc X-Received: by 2002:a17:907:652:: with SMTP id wq18mr6356940ejb.14.1617454382200; Sat, 03 Apr 2021 05:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617454382; cv=none; d=google.com; s=arc-20160816; b=UqWrwrDrL87Up20kfBOhPWiR39981TZT/d+9lmDf3HYA0KSceK4KjZpva9R/t7s7Dm DEQZCpgDvrl73Df5+HcRRuKiLs4r9C8HcpKHhWstDQF2uVfDgPoNtKffNtKe2gzkQzGh wDGO2niAlp2O7HyEgJ57MX7I88KiC0JdCTpt56S/EkDx/DdmO4ge9HnLz/lDbRgFU5PF 2p3i45Eq34tNXmpBD1fHXMwYI8ZnG2dBzPYIKlaPSYN+Th6XjdGmboZ3h14bhpEMzUPH OzOzEJ7ML9c2MCSAfszxmloadGuqeoKWljqSa193dbRA1ALcfIiAixrowG145aBJwQC8 krww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=vC7F9V5oBVfcyC+4DWBvHlYWHWiza4PMNs3qzFeK+HM=; b=GdVxtYFzg7N/MrU9b/9EdIhifQmW6AMQisKcU9O0rXu/LlCRSoGTyWwjXKcQsYvj4i omO2AumMfBvfc26pTkrz94cMtdGPLKFTZCU3OHB0gVKCkX2/WVdDW0BIwrqEF026V26H s1ggu29u5t5xSk43Zuu3htMR1KB+KUQIyPSmcICQsHPOnStTWPZQtcyz7GE8ucCdtfNU b89Xh8G7D2O+qYiA+iKZh0z16EzFfoi6nBvydPTco8x9fBbIojFm4aH9gHGc+XOuVX9n mSq7zhiOEt+57VX1T+CIF8fxrh0dAEKqbNZ9RZ8B+fSkiqllCte7HPLg5rJVu8PNlAFi 50mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tmb.nu header.s=protonmail header.b=Z98SL6Q0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tmb.nu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dg2si8536500edb.136.2021.04.03.05.52.22; Sat, 03 Apr 2021 05:53:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@tmb.nu header.s=protonmail header.b=Z98SL6Q0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tmb.nu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236660AbhDCMtq (ORCPT + 99 others); Sat, 3 Apr 2021 08:49:46 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:12500 "EHLO mail2.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231816AbhDCMtp (ORCPT ); Sat, 3 Apr 2021 08:49:45 -0400 Date: Sat, 03 Apr 2021 12:49:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tmb.nu; s=protonmail; t=1617454181; bh=vC7F9V5oBVfcyC+4DWBvHlYWHWiza4PMNs3qzFeK+HM=; h=Date:To:From:Cc:Reply-To:Subject:From; b=Z98SL6Q01od3loeMGHMLfK/FZLzPPhbk0zXvWRCgprI7XjlmOnHoLUEhb/uiiyGKo kD2eZvvffHwsqQcUVxsbMbWndg4gCPzh79jJ/IcrIFYpLapWflUa7owSBUATDBLOch WhTXV1/Cbs2CcxkYw8a94bd9/R53ytjJQnJwrG2g= To: Borislav Petkov , Paul Menzel From: Thomas Backlund Cc: Thomas Gleixner , Ingo Molnar , x86@kernel.org, LKML , Song Liu , linux-raid@vger.kernel.org, it+linux-x86@molgen.mpg.de Reply-To: Thomas Backlund Subject: =?utf-8?Q?Re:_[regression_5.4.97_=E2=86=92_5.10.24]:_raid6_avx2x4_speed_drops_from_18429_MB/s_to_6155_MB/s?= Message-ID: <42011184-de0b-25d1-534f-a0d412d287a2@tmb.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Den 2021-04-02 kl. 17:05, skrev Borislav Petkov: > On Fri, Apr 02, 2021 at 10:33:51AM +0200, Paul Menzel wrote: >> Dear Linux folks, >> >> >> On an two socket AMD EPYC 7601, we noticed a decrease in raid6 avx2x4 sp= eed >> shown at the beginning of the boot. >> >> 5.4.95 5.10.24 >> ---------------------------------------------- >> raid6: avx2x4 gen() 18429 MB/s 6155 MB/s >> raid6: avx2x4 xor() 6644 MB/s 4274 MB/s >> raid6: avx2x2 gen() 17894 MB/s 18744 MB/s >> raid6: avx2x2 xor() 11642 MB/s 11950 MB/s >> raid6: avx2x1 gen() 13992 MB/s 17112 MB/s >> raid6: avx2x1 xor() 10855 MB/s 11143 MB/s > > Looks like those two might help: > That would mean only this is missing: > 49200d17d27d x86/fpu/64: Don't FNINIT in kernel_fpu_begin() as this one landed in 5.10.11: > e45122893a98 x86/fpu: Add kernel_fpu_begin_mask() to selectively initiali= ze state > -- Thomas