Discussion:
network performance over 1GBps links degraded
(too old to reply)
Gary Jennejohn
2018-03-18 08:47:31 UTC
Permalink
I have two computers, both with 1Gbps interfaces plugged into a
1Gb switch. One computer is running FreeBSD HEAD and the other
some version of Linux. Under FreeBSD I have re0 and under Linux
I don't know what the hardware is.

Both interfaces are using a MTU of 4088 because that's the
maximum my re0 supports.

I tend to copy files from one to the other using ftp fairly
frequently.

I noticed that the transfer speed has dropped to only about
12MBps. I'm used to seeing about 27MBps during the ftp
transfers.

I also observed the drop in transfer speed between FreeBSD and
a Windows 10 computer. Formerly, I was seeing about 30MBps.
Windows 10 also has MTU 4088 set.

I tested with a FreeBSD kernel from March 7 and one from March
17, but both show the miserable performance. Unfortunately, I
don't have any older kernels backed up.

I can't say exactly when the performance degraded, but possibly
there was some change to the kernel on or before March 7 which
caused it.

Has anyone else seen this?

There were several changes to the networking stack lately.

I wonder whether anyone has an idea what could be the cause of the
performance degredation, and what sysctls I could set to get the
old performance back.
--
Gary Jennejohn
Alex Dupre
2018-03-18 10:48:32 UTC
Permalink
Post by Gary Jennejohn
I have two computers, both with 1Gbps interfaces plugged into a
1Gb switch. One computer is running FreeBSD HEAD and the other
some version of Linux. Under FreeBSD I have re0 and under Linux
I don't know what the hardware is.
I noticed that the transfer speed has dropped to only about
12MBps. I'm used to seeing about 27MBps during the ftp
transfers.
Do you see "re0: watchdog timeout" errors?

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166724
--
Alex Dupre
Gary Jennejohn
2018-03-18 11:21:54 UTC
Permalink
On Sun, 18 Mar 2018 11:48:32 +0100
Post by Alex Dupre
Post by Gary Jennejohn
I have two computers, both with 1Gbps interfaces plugged into a
1Gb switch. One computer is running FreeBSD HEAD and the other
some version of Linux. Under FreeBSD I have re0 and under Linux
I don't know what the hardware is.
I noticed that the transfer speed has dropped to only about
12MBps. I'm used to seeing about 27MBps during the ftp
transfers.
Do you see "re0: watchdog timeout" errors?
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166724
Thanks, but I just copied some 30GB between the FreeBSD and Windows
10 computer and didn't see a single error message.

I tried r330300, but the behavior didn't change. Maybe I should go even
further back in time.

One possibilty is the new BIOS I installed on my Ryzen (FreeBSD) box.
I checked that the settings are all optimized, but who knows what Asus
changed?
--
Gary Jennejohn
Gary Jennejohn
2018-03-18 16:13:45 UTC
Permalink
On Sun, 18 Mar 2018 12:21:54 +0100
Post by Gary Jennejohn
On Sun, 18 Mar 2018 11:48:32 +0100
Post by Alex Dupre
Post by Gary Jennejohn
I have two computers, both with 1Gbps interfaces plugged into a
1Gb switch. One computer is running FreeBSD HEAD and the other
some version of Linux. Under FreeBSD I have re0 and under Linux
I don't know what the hardware is.
I noticed that the transfer speed has dropped to only about
12MBps. I'm used to seeing about 27MBps during the ftp
transfers.
Do you see "re0: watchdog timeout" errors?
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166724
Thanks, but I just copied some 30GB between the FreeBSD and Windows
10 computer and didn't see a single error message.
I tried r330300, but the behavior didn't change. Maybe I should go even
further back in time.
One possibilty is the new BIOS I installed on my Ryzen (FreeBSD) box.
I checked that the settings are all optimized, but who knows what Asus
changed?
So, Stefan Esser (se@) hit me with a clue bat and asked what
ifconfig shows for the speed.

Well, it's 100baseTX. Not too surprising that it maxes out at
12MBps.

Up until recently the speed was always automatically set to
1000baseTX. AFAIK nothing has changed in regards to the hardware
(contollers, switches, etc.).

Anyway, I'll try setting mediaopts in rc.conf and see what happens.
--
Gary Jennejohn
Continue reading on narkive:
Loading...