Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3604425rdg; Tue, 17 Oct 2023 23:32:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExzmLljUvjJvM9qAMEzNTVBEKTQcqFUr+AdHYRSrh51qBq5eFgBYy0TBxNhKs4WaRpjaV6 X-Received: by 2002:a05:6a00:13a3:b0:6be:25c5:4f74 with SMTP id t35-20020a056a0013a300b006be25c54f74mr5080518pfg.13.1697610737678; Tue, 17 Oct 2023 23:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697610737; cv=none; d=google.com; s=arc-20160816; b=mS+7hmHt5/fjoqNHrcvP/0/+d3aZzxgjUM/DNlAfRC0cxKxndjn7Ehh3I7VYOHhpmE P+SisMv11efrHzZEe74im2PwqhYUgnjDW/hRYD7Og1Zs3d8jhuZAV4toxJ5eCmiTBpY6 D1oG5FW7DJJJMa9VAsRm4B20wq0axTh/RiRIHq+bPlzwGajVfxvZ0zg3l/EA4TniN9yL 2GwiHySsnkDj5UE5dg83gDF46uTaJuP/vO10nXJ7ZFznyniIMPjoGGLFwQKNO3zNbmwN u3iXXFA33MuKpEUpv47mGoRyPJjmHpmi81vkarUNwSCKvbluF0qex+jdE2gE/ydIqgWW Zb3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=9tjC/IFqkvBBhR48NAuD9T/1qJBmUPzNnAkBCizquaQ=; fh=4vy4sFSsJIN5s7iSZw+VCm1eqd+6IMnk14+JFDxU2D0=; b=SEQ4Tvam2aCpWJh7Qa3VdJwPnIyXtLfZB4fST19jvc1FX09rb6fTeFAbx/CveVLE6A JdFMF3lYuhG1+zklnSNPtlBIDEM6Adxw5ITklZsxITNULUtVyF/z3HLsjUKO+Jwa+K4+ ZZoA0bY5pOitLmLg2AXXEnH+EDE6ICTzkfmf/PVt3GOpfkewyJhwF2zm/Ks/W5J4X33s s9aGY7SQZbPuri3+zCsoD4SAYkmqpkuCyR25l6JW8CEgpJYzKqAgwO3++y9RvmFaCRIg 7QKK6P/nVHu0G5F+MXoSZdxB0EffXRC/Ld7CcSZ4opWatLjWYtx/xHXmZwvlA8Rj1G56 da/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=HWkOzOZ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ef24-20020a056a002c9800b006be3ce60e4csi3178676pfb.369.2023.10.17.23.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 23:32:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=HWkOzOZ0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id BFEDA80403B3; Tue, 17 Oct 2023 23:32:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229728AbjJRGcH (ORCPT + 99 others); Wed, 18 Oct 2023 02:32:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjJRGcG (ORCPT ); Wed, 18 Oct 2023 02:32:06 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A9DC93 for ; Tue, 17 Oct 2023 23:32:04 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2c5071165d5so2061921fa.0 for ; Tue, 17 Oct 2023 23:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1697610722; x=1698215522; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9tjC/IFqkvBBhR48NAuD9T/1qJBmUPzNnAkBCizquaQ=; b=HWkOzOZ04I28w+pkVcaw3CLNZuoZashd3rQ7eL/gZFERiOwbKYOmwZ5qpBoSJpZ3w2 Ur3LyWZhp45hBJakbBI/hwZUclX5kdh/McBBtne6+yIWUU0rmUpsZO51yZOqs+LHOiC0 wRzYvMpIaqy4IvDNLi6LbXPnY3H2eOSvz8MG9Msoj4OWyovX1lNgPyAt1eJFsGHJlWnS PhUSjP5dKzvQEIQmSsJ2AB/vGPMWRDUlxERs6l0CQK+7moI0TNvTf834Y9PRg866Rcc2 0TLbKTGcSR17a6FAPOr5iMw5+H39qaHYe6ZBJnS+yRCoYhiC5/QS0C59DTzFeY0rUTfL RsoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697610722; x=1698215522; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9tjC/IFqkvBBhR48NAuD9T/1qJBmUPzNnAkBCizquaQ=; b=eYyBe2ubjJ6JVEOEsoO5fz//9WEybiDTz7x2DPeNwTx3AR9XotjPnUtBHTilFHI5Fx NXYpg4a7tc1iTtlcPlvAypEGHhFf1w5vUIg3tCwzXe/Dqvc43JJ/Sw3ysoZxy7eX6v7Z dqqq7r3nUm9JGGFbEdRck8KcuM8s3XU2Z0GzBic9RhZ6KlhQ/CN/NjhLuRhldtu2DM6+ p9ZiEnIyUfQ84apHG8/ag9C87sHQGKA6htgpS2TmHFYxW54kp+MSqflsPAy11axOB/ls rZs9FufcNsAoG6IodLX1iQLzO89qoewYh7Jr3n8y2LaWU0Bc5NOwqTd140bHa2Vd0MUD VZLg== X-Gm-Message-State: AOJu0YzJ6VZt/1fCAgNh4wJzcZOgMg9nAUOpzxdeW5LYjDhLAghj+UiU 8B9XFqph6EQSt6zhzSfVtlIyIZcFhpTPw2/bpkvj9Q== X-Received: by 2002:a2e:9b07:0:b0:2c5:12ae:adb3 with SMTP id u7-20020a2e9b07000000b002c512aeadb3mr2829172lji.44.1697610722467; Tue, 17 Oct 2023 23:32:02 -0700 (PDT) MIME-Version: 1.0 References: <202310172247.b9959bd4-oliver.sang@intel.com> <2023101759-front-ember-6354@gregkh> In-Reply-To: <2023101759-front-ember-6354@gregkh> From: Max Kellermann Date: Wed, 18 Oct 2023 08:31:51 +0200 Message-ID: Subject: Re: [linux-next:master] [drivers/char/mem] 1b057bd800: stress-ng.splice.ops_per_sec -99.8% regression To: Greg Kroah-Hartman Cc: kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, Linux Memory Management List , linux-kernel@vger.kernel.org, ying.huang@intel.com, feng.tang@intel.com, fengwei.yin@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 17 Oct 2023 23:32:15 -0700 (PDT) On Tue, Oct 17, 2023 at 6:57=E2=80=AFPM Greg Kroah-Hartman wrote: > So everything now goes faster, right? -99.8% regression means 99.8% > faster? That's what I thought, too, and sounds reasonable considering this test is described as "stress copying of /dev/zero to /dev/null", but... it's not what that test actually does. Contrary to the description, it doesn't use /dev/zero at all, neither does it use /dev/full. So it shouldn't be affected by my patch at all. strace of that test's setup: pipe2([4, 5], 0) =3D 0 openat(AT_FDCWD, "/dev/null", O_WRONLY) =3D 6 Then it loops: vmsplice(5, [{iov_base=3D"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0= \0\0\0\0\0\0\0\0"..., iov_len=3D65536}], 1, 0) =3D 65536 splice(4, NULL, 6, NULL, 65536, SPLICE_F_MOVE) =3D 65536 write(5, "\334\360U\300~\361\20jV\367\263,\221\3724\332>7\31H2|\20\254\314= \212y\275\334I\304\207"..., 4096) =3D 4096 vmsplice(4, [{iov_base=3D"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0= \0\0\0\0\0\0\0\0"..., iov_len=3D4096}], 1, 0) =3D 4096 I don't get it.