Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2053358rdb; Sun, 4 Feb 2024 12:47:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEp4Ku+x4TyG7muWa4SWVsOTZn+fb6q+BZghnJf1arbJGQwpfAsIGUfZRAdsfoF8rutzjtB X-Received: by 2002:a05:620a:2099:b0:783:8649:4174 with SMTP id e25-20020a05620a209900b0078386494174mr6996526qka.23.1707079651385; Sun, 04 Feb 2024 12:47:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707079651; cv=pass; d=google.com; s=arc-20160816; b=ysI77cQdubEsEjLrUZkhFqszgKhgirUF5WvMWoy7g4OnzWXSR/DwD1U25WpbUJRnYE 7jwQT5M/5tEd0RnwENbnPNUaZK0nn43LrI9RqIgdiMhUih3FxbYqrovRDYFcSu8WJY69 VsatLcSnRIsv4XOVcwPpxuX2K5a5+szQhqyEjdMt5FyPzCB6uGa60H+5ttHlCGJjLLpA Y0eySO6TvhcmsNWmc664wDi2MEBrBGY6krHDSrcg3iemzYUD3dbBkcJJuGkv9nxcRGn5 VuDw8xoXLrnKzNli707zQAOE1s6UiVP5rK7v4GwVJDqEMoPf31XLxJN1O4uXx3lMhHc7 sEkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=ttElY2b9UJB5c9iO9fHRyEL/LQfbLXjkAOv/PgvHk4o=; fh=KHVrmxIDpWdokM44+lXSUo4JuPK5CL7ycJeB35+joeg=; b=0ToQxLse0y+hycH8XX6cchzPyVW00IFW3Exljhu9Of9mQ6MEbg+2oh6a7Y63YUjZ5A otO4IfECG8fWOJWO+4NJIwaUgjfLgmLYUXsL2fBwOh1YMgAj9X/6a/2b7Zve7tpjLJAP NHai9v/o19Q3jplJ9645aa7FNtOi9ZU8GuklCco7EZz52V0WKAxfTry1c8mVg310mDwi 0B3yh0YwophlJPeZTBZTRumr+IfPwVJ7s/f0voJXw3IWjRvajIE81FmDuGfvwr9B5isa 07X+F0QlhviBp9yMD0G57YMCEJ8M0CBi4iui0QDzI8P6FDgu2b+wofH1X5VhjuDIo7gV m1/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=c--e.de); spf=pass (google.com: domain of linux-kernel+bounces-51890-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51890-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVrCn4a6pDmeVMzxO3JhaHJVc0Z+rUFCgJR1enSsyjZ6aLiVTV+WTM4TTOg+jonqCn0tjC5pw9J8Ul8ht6LxkiUUcct0iheRTZW6NhnWg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o20-20020a05622a139400b0042a53b932b4si6680417qtk.9.2024.02.04.12.47.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 12:47:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51890-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=c--e.de); spf=pass (google.com: domain of linux-kernel+bounces-51890-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51890-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 22AEB1C20FA6 for ; Sun, 4 Feb 2024 20:47:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B479B2869B; Sun, 4 Feb 2024 20:47:25 +0000 (UTC) Received: from cae.in-ulm.de (cae.in-ulm.de [217.10.14.231]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5155E25567 for ; Sun, 4 Feb 2024 20:47:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.10.14.231 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707079645; cv=none; b=mM7yK9qIWJvYl8Q055MXZawBpXZfUh181E5ZWvbCug5MMzA8i9LKIzZ5iMzX9gBTcCduGaNc6zmkgvlGzQRUC5xAm5vrPqNuSZbVlTKeF/daucN8AekRt/9cZAzOQp7ZGjmVwGS5ZJEQWn2nYWtQ9blqYafaGqhz7G7ATSOhdXk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707079645; c=relaxed/simple; bh=gnyUR+f0Jp/5Ju8DmJrohRl2Q2I57247GaxMyU+VSn0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FXk5I0iUjVriiJC7NFng0h75TtK6COtazabbnN7rykvPyAJcVOmeL+/F3jg8m80kuqEkS9Vk/l4HPRzfbr5H1JtkTKbuYmzoicj8ymYjuGNiANwolnNTK9tSab6LNYNG4zniHYRL+r6WbaEk6kfdYhevJSIhAZ0QENmpHj4MYZA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=c--e.de; spf=pass smtp.mailfrom=c--e.de; arc=none smtp.client-ip=217.10.14.231 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=c--e.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=c--e.de Received: by cae.in-ulm.de (Postfix, from userid 1000) id 9E88F140255; Sun, 4 Feb 2024 21:47:14 +0100 (CET) Date: Sun, 4 Feb 2024 21:47:14 +0100 From: "Christian A. Ehrhardt" To: Mikhail Gavrilov Cc: Linux List Kernel Mailing , linux-netdev@vger.kernel.org, Greg KH Subject: Re: This is the fourth time =?utf-8?Q?I?= =?utf-8?Q?=E2=80=99ve_tried_to_find_what_led_to_the_regression_of_outgoin?= =?utf-8?Q?g_network_speed_and_each_time_I_fin?= =?utf-8?Q?d?= the merge commit 8c94ccc7cd691472461448f98e2372c75849406c Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi, [ sorry, replying to myself ] On Sat, Feb 03, 2024 at 07:20:47PM +0100, Christian A. Ehrhardt wrote: > On Sat, Feb 03, 2024 at 06:02:15AM +0500, 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 > > So (simplified) the change history looks something like this: > [ ... ] Sorry, I was looking at the wrong merge commit and when using the commit pinpointed by your bisect your log shows that _both_ parents of the bad merge commit are marked as good which is somewhat strange. However, it should be possible to bisect further if you do a rebase like this: $ git cat-file -p 8c94ccc7cd691472461448f98e2372c75849406c | head -n 3 tree d3907cad2a1fbbbcf71847274fdbdcf5a2aeb9a2 parent bd736f38c014ba70ba7ec3bdc6af6fe5368d6612 parent 933bb7b878ddd0f8c094db45551a7daddf806e00 $ git branch m bd736f38c014ba70ba7ec3bdc6af6fe5368d6612 $ git branch d933bb7b878ddd0f8c094db45551a7daddf806e000 $ git checkout d Updating files: 100% (11666/11666), done. Switched to branch 'd' $ git rebase m Successfully rebased and updated refs/heads/d. Now, "m" must be good as per your bisect log and "d" must be bad because it is the same tree as the bad merge commit (8c94ccc7cd69). Due to the rebase there's a liner history between the two, thus starting a bisect like this might yield more information: $ git bisect good m $ git bisect bad d regards Christian