[Bug 268490] [igb] [lagg] [vlan]: Intel i210 performance severely degraded

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Feb 2023 12:23:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268490

--- Comment #5 from Kevin Bowling <kbowling@freebsd.org> ---
(In reply to Daniel Duerr from comment #4)

1) Clone FreeBSD src, check out 12.4:
pkg install git-lite
git clone https://git.freebsd.org/src.git /usr/src
cd /usr/src
git checkout releng/12.4

2) Start the bisecting using the 12.4 release branch as a known bad point, 12.2
as known good and limit the search to the e1000 driver commits:
cd /usr/src
git bisect start releng/12.4 releng/12.2 -- sys/dev/e1000

3) Build and install the kernel:
cd /usr/src
make -j `sysctl -n hw.ncpu` buildkernel KERNCONF=GENERIC-NODEBUG
make installkernel KERNCONF=GENERIC-NODEBUG

4) Reboot the system.  You will be in the new kernel (confirm with uname -a, it
will show you the build date and git hash).

5) Perform some test like your iperf.

6) If the performance is good:
cd /usr/src
git bisect good
Repeat step 3 & 4

7) If the performance is bad:
cd /usr/src
git bisect bad
Repeat step 3 & 4

8) Keep repeating steps 3 through 7.  After a handful of repetitions, you will
run out of commits to test and it will spit out the first bad hash.  Post that
here.

9) To restore your system to a desired kernel, say 12.4 with security patches:
git checkout releng/12.2
Repeat step 3 & 4

-- 
You are receiving this mail because:
You are the assignee for the bug.