Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2867210pxb; Tue, 24 Aug 2021 09:24:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJfUQSlt19+GIbt69XCtmtuwrRvlg7DbBODzumrmav6sRmCeCIJ0t3ut887q1pNZs1iQyO X-Received: by 2002:a5e:dd42:: with SMTP id u2mr20770518iop.157.1629822281904; Tue, 24 Aug 2021 09:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629822281; cv=none; d=google.com; s=arc-20160816; b=Z/kkCfHerw7e2i4mUOSt29i3QMatowwCzzXEmdAd+GhdSwydlXAAWgdlNUFMT1FSuW HCC/Kd6QTKY2Ta8QVKRSE3p2SGW9eSn+dGNHPGkUF401U4JTehHn35vjyjOqFzpceTZG XQTFFCAxg3/77JFyTGib/lO964aeHlFC7HWL3WWpGbi0FSNoWnGzFVF7UpBUoxx+g10C 9HpDMc+2YGKaPHU9cL9O3rWa6V2e6qLxcbGX2xwHCME8tIK0iIZf3vGH3VpodHDb3qHz wEBB8pIlaLaFQf99T9IKd77Xn9vFVLEyOv94XJ7TkEvp6DRDHcoOzSbsczU3kj+pLx0N /r7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1p0o+1bDBZZcnsbLlc+PmnEMPXHkkQy0tdXGmQ6Xogw=; b=qhbR7pjUv7SEUMJtDdWt7VN0w1Sd9fOCNZWIkm2aQMgPq/ostEIWrdO9apV7K74JUl eTRGoWG1+YLEOr/t6KkWGmf9Wna96TZ3jroKbB7ZYB3eDwvNKUYFIFHc92YBeq/aq/Dg 6mp0f5kZL5TUbGM+3nSPs12Sqi0J9lP/pKUZS5ikn5jxe38PtEzwpij4nFo5VuE0kHfR LcfA6csolBjMGNwBOM9ZcPFGkVfK+NdQn1hO0imJvLekMg2R8U/rWsuXCUk2S83163aj rW6oXgD/nBaVAB9hioKroTXY5YAvlVL3JDRDpmDBwTEcF0TFvZCZv64tH2CYztGfc0Rs 9eKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TcgS1rL1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k1si18521880ilo.14.2021.08.24.09.24.18; Tue, 24 Aug 2021 09:24:41 -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=@linux-foundation.org header.s=google header.b=TcgS1rL1; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230214AbhHXQXa (ORCPT + 99 others); Tue, 24 Aug 2021 12:23:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbhHXQX3 (ORCPT ); Tue, 24 Aug 2021 12:23:29 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15156C061757 for ; Tue, 24 Aug 2021 09:22:45 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id j12so24208340ljg.10 for ; Tue, 24 Aug 2021 09:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1p0o+1bDBZZcnsbLlc+PmnEMPXHkkQy0tdXGmQ6Xogw=; b=TcgS1rL1D8BQMVtkdScnlO21S3L66Y9bLv0UsZgVlbeY8aWmtB8Bc3KZihbGnZssfP fuyPam7MRSa8eyXR/2iWv+bt/frKdz5+YfNixZAdFT1iXCYI5PqqmfptmUY+GzG5/GR1 BRkT3/V9mj9I+AsCCITn8bJ2cwS2EH4imPghs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1p0o+1bDBZZcnsbLlc+PmnEMPXHkkQy0tdXGmQ6Xogw=; b=ByAP0aHmKsw1fKTzVtSIazlLTNL9H/CmhrgKTZiStrLBuNFw9tVrAdR2qprT62k8Kd f7SoANwzRforthIGHdtm1qvp5cnmXNiE77ZeemKyeok8BJVcvWs1qsGrgnZ92xJbXlyi ZYYPWvChIP6lLHe3ytTE2YfDOZ16o8nXsLrqKM1qt4ZdaFt0kcwq+qjsyATGyC4l+WoZ AWPtxuvvCIt+dNjKBVmdfbTFmag7/wDeodT68+FeQmYPnVYXPXmi7h9lsefZs9Z9F1aq sh6dcHeOgIOOVJVLN5j8scqRVRP5113lfJWPggvZYf2GaDnCZ1EC9lzy6XDsC9ySwQbT 7ilw== X-Gm-Message-State: AOAM5302TPOSu+9nbE99iXhMyq8X6y3SgFwFG52v0122JOYNiMtHGKYf 8Yp1HvVJ2sNmS1tfErMPhfoSwrLsFI7MrNyB X-Received: by 2002:a2e:8001:: with SMTP id j1mr11322051ljg.9.1629822163094; Tue, 24 Aug 2021 09:22:43 -0700 (PDT) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com. [209.85.167.44]) by smtp.gmail.com with ESMTPSA id r11sm1840381ljk.71.2021.08.24.09.22.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Aug 2021 09:22:41 -0700 (PDT) Received: by mail-lf1-f44.google.com with SMTP id i9so46679587lfg.10 for ; Tue, 24 Aug 2021 09:22:41 -0700 (PDT) X-Received: by 2002:a19:500e:: with SMTP id e14mr28511435lfb.487.1629822161302; Tue, 24 Aug 2021 09:22:41 -0700 (PDT) MIME-Version: 1.0 References: <20210824151337.GC27667@xsang-OptiPlex-9020> In-Reply-To: <20210824151337.GC27667@xsang-OptiPlex-9020> From: Linus Torvalds Date: Tue, 24 Aug 2021 09:22:25 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [pipe] 3b844826b6: stress-ng.sigio.ops_per_sec -99.3% regression To: kernel test robot Cc: Sandeep Patil , Mel Gorman , LKML , lkp@lists.01.org, kernel test robot , "Huang, Ying" , Feng Tang , Zhengjun Xing Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 24, 2021 at 7:56 AM kernel test robot wrote: > > FYI, we noticed a -99.3% regression of stress-ng.sigio.ops_per_sec due to commit: Well, that's bad. > commit: 3b844826b6c6 ("pipe: avoid unnecessary EPOLLET wakeups under normal loads") You fix one benchmark, you break another.. What's a bit odd is that this commit basically reverts commit 3a34b13a88ca ("pipe: make pipe writes always wake up readers") which did *not* result in any kernel test robot report. It's not a pure revert, because it adds that 'poll_usage' case (for EPOLLET), but the stress-ng.sigio test doesn't even use select or poll (ok, there's a select() call with an empty file descriptor set, which seems to be just an odd way to spell "usleep()"). So it _looks_ to me like it's a 100% revert in practice for that test. I strace'd the "stress-ng --sigio" case just to make sure I didn't miss anything. But I'm clearly missing something. Can anybody see what I'm missing, and hit me over the head with the clue-bat? Linus