Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp411429rdb; Thu, 22 Feb 2024 07:32:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX/TuTVTh/6TZby0/cdvtrN/Q0v1bbl2WWPxma/QgnvmLE7Mm9PeEFz/Wis0vHGXbwStRLVGWnb2BKJz5s/C92RMrvx8GLUqjOHn1enlQ== X-Google-Smtp-Source: AGHT+IHDRCRcVk4FGi+FBYF0TA6A3xGnNgDg7p0xnRxEEWtXP2fZRgAn38FJmnpRvaY4iJ5PS4oj X-Received: by 2002:a92:cc49:0:b0:365:1749:cae0 with SMTP id t9-20020a92cc49000000b003651749cae0mr17757277ilq.7.1708615946022; Thu, 22 Feb 2024 07:32:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708615945; cv=pass; d=google.com; s=arc-20160816; b=wjHAQTlCFpDPQgDVelUPFp3gh1W+SZDq0WVP6b2vU+I7qlSMMlggbNQd53VJt2j66i 3KmSitxqDeWLdonqfgZAtBJ4kgdF4gYFVqEPK1AifTCE7ulzMZU2sUb0vZslmKwqtYt+ t8F2cFYf2EuqacLF0LU2JjcRJkWNPEu78uwnlnPxmwfPvQwHcEHrrccP9/ecHb2UrjEV mA/QPsMBxdD+xhnTaxn1LvCVkHnj9FoWJRt0EtMH0wWK9ikO8NfvYExIJdP3SHcMJPYL fRLYDsl/bfSEZQI0FLYqo8vyymi8J9dVnGffOUJXZqNnIOyt+dVEKvXefz74r6SMNrPG Fsdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=95WR8Ri187h2awSWNMl/bCRgRJxufBq5V8J9b3v2ayA=; fh=jZjQXf+oaVffRtZrV8bi4rGlbBSBfO3voY6wgivuJtI=; b=Q/1J9Psbu5Ob8HkkuSp+8KfGEBxqt9O4X9EwaM6yX/4FerG8s3RR94mIk0d1NTQveW NnZnfZxz7ZNmNeL5qz67h55rSPxeMLrXvLlHpBjni+FJ8SMIYBrVo7+P6NFHoBkNCBjP qNUOaZdQobBO5e4hL7irnFccgvSRwVrZSATRYBCc83Sls28DM5xBogxqXZerd26pj5pu 87hmPX4Bbt35v4yx1zLEeZuvbRMbjSYFAHi76e73vALREwpXOlTZPjsaqvWMwEJEzWYT gwTidWkF/Eo3ffHD6NYmfZd+kSvSnd6mgeDdvM6ByNsPLqgSWT0jSUPVV2RnY7rUsM85 irAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-kernel+bounces-76776-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76776-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s15-20020a65690f000000b005dcbbecab93si10351322pgq.401.2024.02.22.07.32.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 07:32:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76776-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-kernel+bounces-76776-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76776-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1D88F2867A8 for ; Thu, 22 Feb 2024 15:32:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6CB3514D444; Thu, 22 Feb 2024 15:32:13 +0000 (UTC) Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9688D14A0BD; Thu, 22 Feb 2024 15:32:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.14.17.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708615932; cv=none; b=CnvlOm9D+M5ZfOVEoWOmmINm8Wf0XXmEB0MTAQ+M1fL76e6rlE1+WcACiQCaxNFYMUu0h9ghXeAbgASqOn4XZIfSo6U7FI8DJrH6f7VZTnQijivaAe00LrNsX9VhPvO0gHaPxIYwomgLh5WSwKbe/4/08LzjJNfcHqn3/xNDCtU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708615932; c=relaxed/simple; bh=zp6ewqKzMeueLqcQxskeWDpot5mn9z6JuOK2H3+/S5o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gPrieSlPFhkva5JUs8N0UqCuJczV/bl0Ya3ddmVxfYooppmUCC8Vroy44B0dANnvHRpRc/gbuK15IYpl9Emj74FerGj6dY+qMqcY5PO83/xVXHQyaYqAnIaUzZInnalz8QD18wC2WJkaH9w3vpDUeyO+MrUacbIZK6wWzgU9bz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de; spf=pass smtp.mailfrom=molgen.mpg.de; arc=none smtp.client-ip=141.14.17.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=molgen.mpg.de Received: from [141.14.220.34] (g34.guest.molgen.mpg.de [141.14.220.34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 3C43B61E5FE01; Thu, 22 Feb 2024 16:30:56 +0100 (CET) Message-ID: <1f5f15cd-a0ed-47d0-ba5c-e1beb953b92b@molgen.mpg.de> Date: Thu, 22 Feb 2024 16:30:55 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH md-6.9 00/10] md/raid1: refactor read_balance() and some minor fix To: Paul E Luse , Kuai Yu Cc: Paul E Luse , song@kernel.org, neilb@suse.com, shli@fb.com, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, yi.zhang@huawei.com, yangerkun@huawei.com, Kuai Yu References: <20240222075806.1816400-1-yukuai1@huaweicloud.com> <34b04a5f-7ef8-4e00-b1c6-c4e692281499@molgen.mpg.de> <0f2a89e7-fa2c-fe83-bcb7-cfc449c5a721@huaweicloud.com> <6BE93F19-AF6B-4E05-ABFC-24FC7DF97524@intel.com> Content-Language: en-US From: Paul Menzel In-Reply-To: <6BE93F19-AF6B-4E05-ABFC-24FC7DF97524@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Dear Paul, dear Kuai Am 22.02.24 um 14:04 schrieb Luse, Paul E: >> On Feb 22, 2024, at 2:08 AM, Yu Kuai wrote: >> 在 2024/02/22 16:40, Paul Menzel 写道: >>> Is there a change in performance with the current patch set? Is >>> radi1 well enough covered by the test suite? >> >> Yes, there are no performance degradation, and mdadm tests passed. >> And Paul Luse also ran fio mixed workload w/data integrity and it >> passes. > > Kuai is correct, in my original perf improvement patch I included > lots of results. For this set where we just refactored I checked > performance to assure we didn't go downhill but didn't save the > results as deltas were in the noise. After this series lands we will > look at introducing performance improvements again and at that time > results from a full performance sweep will be included. > > For data integrity, 1 and 2 disk mirrors were ran overnight w/fio and > crcr32 check - no issues. > > To assure other code paths execute as they did before was a little > trickier without a unit test framework but for those cases I did > modify/un-modify the code several times to follow various code paths > and assure they're working as expected (ie bad blocks, etc) Thank you very much for the elaborate response. In our infrastructure, we often notice things improve, but we sometimes also have the “feeling” that things get worse. As IO is so complex, I find it always helpful to exactly note down the test setup and the run tests. So thank you for responding. Kind regards, Paul