Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1204084rdb; Fri, 2 Feb 2024 18:32:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUJ185+zdg8CDxG/SEMkoc6pPK93F2hR1sIOapXbUyXuLx3XRU/+GDCLxMUnjIhjssUvc8 X-Received: by 2002:a92:d981:0:b0:363:7bc5:727b with SMTP id r1-20020a92d981000000b003637bc5727bmr10757153iln.26.1706927558382; Fri, 02 Feb 2024 18:32:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706927558; cv=pass; d=google.com; s=arc-20160816; b=L2+bYzetw3tamTHybSAYSSYSNU5baRKSZ+L99oQbMW1CuJS8qC7YzcT7YtOrQP/2vr PU5IMDgf1q8VJOhjJO95L8dwgMo0pgf4X2IKfmmTizI8LPa7dLeim9U92K/HwaIgUnah dKOvPIDfIvY7tp1sbXOh6hHZglhLezsTjwvwR8OS5XUChX7jydq4SL7PQzDTGgVRDGjz 1nOOxc/WmI2W5lpeKbhXoxUemu1fwvVT4xsOXDZjMIY084iDEY0O5Ym33CLGJ7ZroM/3 g4S1JlutJVi09Gru2Swc14BnwsIauc5vLEZoZ6sADsECdfpNQbNAUE0JI7/CjpXsmyl3 v4ug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=qyXe97uWehxWlU06p4SzFgk45X8VJ8tYlQZAOutFjWg=; fh=xmC/x+VELZLG/yRcKT/0k9SP/IUC3yw52wVwTsbdTBA=; b=B1HJ6/Em7/krVLtub4YOBS16b1ZNOzjE8hmJWc7LgukBgsSotf4xTw82NCPN6Jmsvt PWgk6cXu8JP0Vc4G9yqgmbaNFJAQVAMOgl3wF0z7tZk9fUb5SWgNa/tPi5XPRjZeKzK0 MykDZzsNzEIRysVIeNF0IKc1rFQKDHHnWnX3EvNYSyNa7rNioLy73CWQ7y6j8jY908gr wpxF+n6eZDTGFT7//CRDEzeoKz4ruvw197EarIX+r9wZ6E3EusXrU/nDQWNfxuybLX1D zij0CvhoLGI2iQagguIZevaNzNDUCquQ/M33amvMkj6kkPr1+Kq5KmsVuTCCi86Mn8OS EYmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=azwQ2XMI; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-50806-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50806-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVBbbRt8+4VWa1Jmi4uS3QhdhFBKzhMKg02Jg7uJJDl/+Svir2ocOTvCMTY68gfsaOn0aFcciBMr5bpZ0PqxYlheZGgads7QcCsi7tucw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w33-20020a634921000000b005dbee097470si2460486pga.721.2024.02.02.18.32.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 18:32:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50806-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=azwQ2XMI; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-50806-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50806-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 841A6B22C2E for ; Sat, 3 Feb 2024 01:16:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D71731FA2; Sat, 3 Feb 2024 01:16:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="azwQ2XMI" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4CC2E7468; Sat, 3 Feb 2024 01:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706923005; cv=none; b=sLQCi7EwcqiXw3nB/U3JonFHLRXEOC3Fz7Y9HXUaYInGHLmPAxCZut9w1f+YWeit+7dmuYaiiGYR7HlMLH9c/OiTsBTIs0DFYc9iCWfy0DZ37nDfBhGFBV0R/pxYXYqirSJQymaeGCx6RxLxFfzrTpxBzcApOukHK333H8h0MSM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706923005; c=relaxed/simple; bh=WBi5fjeQLzqu5VweIAi77aBO8Co5njeJwDmQl2Or8js=; h=Message-ID:Date:MIME-Version:Subject:From:To:References: In-Reply-To:Content-Type; b=bSuTj+/spsozGffM/5JWPNBLzIPfp1F2pUCWo3VVFYUy0Wb+WzidCUzvsAnFf1jVkeIZJk+yPP3b2wx7KeVXEB0jA7np18WsCWjnsqjQi65F+OvPIwBukaZZhGuxwFM7NZ0TWQH8lNvJv8/9055JTbECu4ikX0NTJngkq9dsEd4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=azwQ2XMI; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:References:To:From:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=qyXe97uWehxWlU06p4SzFgk45X8VJ8tYlQZAOutFjWg=; b=azwQ2XMIArUw1hOOO06YQT9IDk vqBiqUqdsCTte5D5uUiDH3aB4LOqfjAM9hwrqSCig5hJi2LQd6oN9IYhzzfWKpBLF4LInpI3AO9eo PCVSxSKxTMUMDaL6MdUvGRJtiM/PZcT5/G92JksaqMoY2JvMc9DChb9csp4zJgWu8bxuvTAWBeSYp aGzUIXRu31BX4Yjbu5iWquaXOOHvhw5y53FIC7RJt6U/CkQAFeA7u8xVTXb5Ll2OFYpodvmTpBo6I Mi9znn9XoOcyF4/l8CGiDluPPWkpueaQCERE+s/b44cRqWSpw7MG5DKvW8hSvoZ/RrW8ss3HfEkAH S6yr2g3Q==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rW4eA-0000000E6Jj-0UOb; Sat, 03 Feb 2024 01:16:42 +0000 Message-ID: <881d47bf-5f5d-49d6-9502-3b22899eb253@infradead.org> Date: Fri, 2 Feb 2024 17:16:41 -0800 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: =?UTF-8?Q?Re=3A_This_is_the_fourth_time_I=E2=80=99ve_tried_to_find_?= =?UTF-8?Q?what_led_to_the_regression_of_outgoing_network_speed_and_each_tim?= =?UTF-8?Q?e_I_find_the_merge_commit_8c94ccc7cd691472461448f98e2372c75849406?= =?UTF-8?Q?c?= Content-Language: en-US From: Randy Dunlap To: Mikhail Gavrilov , Linux List Kernel Mailing , Greg KH , Network Development References: <43a769dd-aa09-4da3-a226-ecef98f32e0f@infradead.org> In-Reply-To: <43a769dd-aa09-4da3-a226-ecef98f32e0f@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit [correct the netdev mailing list address] On 2/2/24 17:15, Randy Dunlap wrote: > Hi, > > On 2/2/24 17:02, Mikhail Gavrilov wrote: >> Hi, >> I'm trying to find the first bad commit that led to a decreased >> network outgoing speed. >> And every time I come to a huge merge [Merge tag 'usb-6.8-rc1' of >> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb] >> I have already triple-checked all my answers and speed measurements. >> I don't understand where I'm making a mistake. >> >> Let's try to figure it out together. >> >> Input data: >> Two computers connected 1Gbps link. >> Both have the same hardware. >> Network: RTL8125 2.5GbE Controller (rev 05) >> >> When I copy files from one computer to another and kernel snapshot >> builded from commit 296455ade1fd I have 97-110MB/sec which is almost >> max speed of 1Gbps link. >> When I move to commit 9d1694dc91ce I have only 66-70MB/sec which is >> significantly slower. >> >> I bisected the issue by measuring network speed on each step. >> I save all results to file [1] >> >> [1] file is attached as a zip archive. >> >> # first bad commit: [8c94ccc7cd691472461448f98e2372c75849406c] Merge >> tag 'usb-6.8-rc1' of >> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb > > a. Do you clean the object files between each test run? > or at least clean net/* and drivers/net/ethernet/* ? > > b. I am far from a git expert, but in the bisects that I have > done, after each test run, I just say > $ git bisect good > or > $ git bisect bad > > It looks like you are typing > $ git bisect [good | bad] hashID > > Is that correct? > > Anyway, I am interested in your outcome just to learn > how to handle this problem. > > Good luck. > -- #Randy