Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1310375pxf; Fri, 2 Apr 2021 07:08:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx35Np2ffB6V94lxp1aj8/4xco/SAyH1G+7M1P4ZEsQvawVVUrVLNnMMtzoU81ykQklewNU X-Received: by 2002:a05:6e02:dea:: with SMTP id m10mr10505140ilj.51.1617372516957; Fri, 02 Apr 2021 07:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617372516; cv=none; d=google.com; s=arc-20160816; b=XjH2BgvlrMeV5RvMouOpM31qIzXUXpIjFowhqLD/1j+b0F3yYeZAUQW3MwE9qdWwbk 4HOoiE3yd8vKdumMXBwkmaToD9y15953bYDKRtSZK+dKN1PW8PlNMLc15QmLU3LTCSPZ iqVe1UsSG0u9TwWCrQBih/GobBPYzFSyJlq+IjU++B/HdmMx1om9hBqKDRN5etSn0AyS /6eqU6Rh86lICtnhF/RvaogS5p2/FhO0xYC3m61qasSG6FZw6YvDmFsNq0oNP0Vww/sm Toh9iny1cV8BxInkcNg3h26bwmrf+PCqOJXO2rbmCc5e1JBemtmisIwTFwpe7EejDJNB DrAg== 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=fawn1BZhXE7Mko9X0iWw+cF95ko4CyRJ+vlQBlaxIJw=; b=NNP159j9eeWxNrtMMaps7iscg4lDV6jG7T1pgxdhWDXeuFopVdQ5PYqoDJK7YTxA5C Ph/A+xfwyIl85H6n1sQNK7/YamfoNzdJohZzIZQjyX2Y0nUJhqODWfUp02ICanFv+JDd j7shxnBJb4SnKOMk/Xl6uySxSQ56MZ7NFXkn78uj9iJzo6jDYbe2BKYhTzmg6MdHSMFO 3K0dtN9ceTPJkgs2gccoVaUU5098k5CtwLV9wjkwn3blztiETeJK8yxdulinEcqLyO8C nvG1YqjhUMg3waF3KNXpbihhqEmnjg2i7ro1cBUgBSVZZAanIV2yL9zIRxhgd7GEzQ5j MtNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=BSEVff7u; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l14si7491152ilc.105.2021.04.02.07.08.21; Fri, 02 Apr 2021 07:08:36 -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=@alien8.de header.s=dkim header.b=BSEVff7u; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235693AbhDBOF5 (ORCPT + 99 others); Fri, 2 Apr 2021 10:05:57 -0400 Received: from mail.skyhub.de ([5.9.137.197]:39516 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235675AbhDBOF4 (ORCPT ); Fri, 2 Apr 2021 10:05:56 -0400 Received: from zn.tnic (p200300ec2f0a200019ff857a83051552.dip0.t-ipconnect.de [IPv6:2003:ec:2f0a:2000:19ff:857a:8305:1552]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 935A91EC0301; Fri, 2 Apr 2021 16:05:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1617372354; 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: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=fawn1BZhXE7Mko9X0iWw+cF95ko4CyRJ+vlQBlaxIJw=; b=BSEVff7uMXQkjtvCXSTN2lYFMSss+DdQpwycZJVLXucbyut+i73u/Iz6fnPFpjjI9S+cdR g0J/dIxvOBJNnYJD1C4uBU7xXbR1+4qVhgtobBvEm8bhoKKdcTpqxrGer5t0VYkBmsACZe vRUV/K5kURJWXfPSyzPU8fl2aMMwBlk= Date: Fri, 2 Apr 2021 16:05:54 +0200 From: Borislav Petkov To: Paul Menzel Cc: Thomas Gleixner , Ingo Molnar , x86@kernel.org, LKML , Song Liu , linux-raid@vger.kernel.org, it+linux-x86@molgen.mpg.de Subject: Re: [regression 5.4.97 =?utf-8?B?4oaSIDUu?= =?utf-8?B?MTAuMjRd?= =?utf-8?Q?=3A?= raid6 avx2x4 speed drops from 18429 MB/s to 6155 MB/s Message-ID: <20210402140554.GG28499@zn.tnic> References: <6a1b0110-07f1-8c2e-fc7f-379758dbd8ca@molgen.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6a1b0110-07f1-8c2e-fc7f-379758dbd8ca@molgen.mpg.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 speed > 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: 49200d17d27d x86/fpu/64: Don't FNINIT in kernel_fpu_begin() e45122893a98 x86/fpu: Add kernel_fpu_begin_mask() to selectively initialize state -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette