netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* igb driver: i210 (8086:1533) very bad SNR performance
@ 2024-10-19 12:39 Stefan Dimitrov
  2024-10-23 13:38 ` Przemek Kitszel
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Dimitrov @ 2024-10-19 12:39 UTC (permalink / raw)
  To: netdev

Hello All,

I am reporting the problem only, because the exact same
environment/setup is working perfectly in Win7 with Intel driver
version 12.13.27.0 from 7/8/2019 (I guess that is the latest driver
version for Win7 as it is not supported for years, but it's the only
Windows version I had during my tests).

So, in very short: the same 20-25m of UTP cable, works perfectly in
Win7 and not at all in Linux with i210/igb driver and my best guess is
PHY initialization in the Linux driver compared to the one in Win7
drivers somehow reduces dramatically the Signal-to-Noise performance.

(the UTP cable is of unknown type, because it's a preexisting
installation in the walls of the building, I guesstimated it's 20-25m
of length based on the walls it passes and there are not any markings
on the cable, at least on the portions of it that I can see, i.e. that
are not inside the walls, but what I can at least tell is that it's
solid copper wires when look at its wires in the RJ45 plugs)

in other words, the problem is:

* in Win7: i210 with the above aforementioned driver version, the Link
connects as 1Gbps, I see no issues at all on 24/7 basis, it's running
with no connection drops, it just seems perfectly working

* in Linux: i210 with the in kernel 'igb' driver the Link cannot
connect even as 10Mbps. when I force it to 100Mbps, it connects for a
very short moment and then it disconnects and that repeats endlessly,
I observed no connection at all when set to 1Gbps.

Initially, I thought it's some issue between Linux i210/igb and the
other end device, but no - I can reproduce the problem with 3 other
1gbps switches (2 netgear and 1 cisco) that I own (and are not
property of the building) connected to the other end of the cable.

So, it turns out the only thing that makes difference for i210/igb in
Linux is the UTP cable itself - I bought 20m of branded and supposedly
high-quality UTP cat6a cable and use those 3 switches that I own to
simulate a test-environment.

that makes me believe Sound-to-Noise ration performance of i210/igb is
really very bad compared to Win7 driver (i.e. something in the PHY
initialization), considering the same UTP cable gives 1gbps in Win7
and cannot even connect to 10Mbps in Linux - that is like at least 100
times worse performance if we look at it as Link speed. Also, maybe
the length is at play, because I am guesstimating about 25m of the
building UTP cable, and I tested with only 20m - the length of the one
I bought. so, I don't exclude even with the branded cable I bought if
it has length of 25m or more the problem will not arise again.

Anyway, the main point I guess is that in Win7 same (bad) UTP cable
works perfectly. unfortunately, I doubt that is an easy problem for
someone familiar with i210/igb driver to investigate, because I guess
it's not that easy to reproduce (otherwise they will be similar
reports already or maybe it's very uncommon those ethernet adapters to
be used with such long UTP cables, maybe most desktop machines using
them are connected with very short cable to an active device like
switch, etc and that masks the problem) - again I guess some special
test equipment is necessary that can inject control amount of noise
over the UTP cable and that way compare the threshold between Win7 and
Linux to prove the problem when exact difference in SNR performance is
measured.

I still hope someone will have some idea, because it's such big
difference between Win7 driver and Linux igb driver...

P.S. it seems i217 (8086:153a and 8086:153b) is also affected, at
least based on my very short and not extensive tests I did today.

thanks,
stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: igb driver: i210 (8086:1533) very bad SNR performance
  2024-10-19 12:39 igb driver: i210 (8086:1533) very bad SNR performance Stefan Dimitrov
@ 2024-10-23 13:38 ` Przemek Kitszel
  2024-10-23 15:21   ` Stefan Dimitrov
  0 siblings, 1 reply; 3+ messages in thread
From: Przemek Kitszel @ 2024-10-23 13:38 UTC (permalink / raw)
  To: Stefan Dimitrov; +Cc: netdev, intel-wired-lan@lists.osuosl.org

On 10/19/24 14:39, Stefan Dimitrov wrote:
> Hello All,
> 
> I am reporting the problem only, because the exact same
> environment/setup is working perfectly in Win7 with Intel driver
> version 12.13.27.0 from 7/8/2019 (I guess that is the latest driver
> version for Win7 as it is not supported for years, but it's the only
> Windows version I had during my tests).
> 
> So, in very short: the same 20-25m of UTP cable, works perfectly in
> Win7 and not at all in Linux with i210/igb driver and my best guess is
> PHY initialization in the Linux driver compared to the one in Win7
> drivers somehow reduces dramatically the Signal-to-Noise performance.



> P.S. it seems i217 (8086:153a and 8086:153b) is also affected, at
> least based on my very short and not extensive tests I did today.
> 
> thanks,
> stefan
> 

Thank your for the report, I will dispatch it within Intel, we will
communicate the progress here.

It will be beneficial for us to know the firmware version used both
on Linux and Windows setups.

For future reports, consider also CCing the IWL mailing list to get
faster responses.

Best Regards,
Przemek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: igb driver: i210 (8086:1533) very bad SNR performance
  2024-10-23 13:38 ` Przemek Kitszel
@ 2024-10-23 15:21   ` Stefan Dimitrov
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Dimitrov @ 2024-10-23 15:21 UTC (permalink / raw)
  To: Przemek Kitszel; +Cc: netdev, intel-wired-lan@lists.osuosl.org

On Wed, Oct 23, 2024 at 4:38 PM Przemek Kitszel
<przemyslaw.kitszel@intel.com> wrote:
>
> On 10/19/24 14:39, Stefan Dimitrov wrote:
> > Hello All,
> >
> > I am reporting the problem only, because the exact same
> > environment/setup is working perfectly in Win7 with Intel driver
> > version 12.13.27.0 from 7/8/2019 (I guess that is the latest driver
> > version for Win7 as it is not supported for years, but it's the only
> > Windows version I had during my tests).
> >
> > So, in very short: the same 20-25m of UTP cable, works perfectly in
> > Win7 and not at all in Linux with i210/igb driver and my best guess is
> > PHY initialization in the Linux driver compared to the one in Win7
> > drivers somehow reduces dramatically the Signal-to-Noise performance.
>
>
>
> > P.S. it seems i217 (8086:153a and 8086:153b) is also affected, at
> > least based on my very short and not extensive tests I did today.
> >
> > thanks,
> > stefan
> >
>
> Thank your for the report, I will dispatch it within Intel, we will
> communicate the progress here.
>

thank you! I hope someone will be interested to look at the problem
and even fix it, because it seems significant to me due to such
obvious and huge difference between Linux and Win7, at least based on
what I see in my test environment.

> It will be beneficial for us to know the firmware version used both
> on Linux and Windows setups.
>

please, see the FW version reported in Linux below:

# ethtool -i enp4s0
driver: igb
version: 6.8.0-40-generic
firmware-version: 3.25, 0x800005d0
expansion-rom-version:
bus-info: 0000:04:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

I am not sure how to check the FW version in Win7 though. however, is
the FW part of the driver or is it burned to EEPROM/Flash chip on the
motherboard or maybe even part of the motherboard BIOS? in that second
case it will mean both in Linux and Win7 is the same FW.

> For future reports, consider also CCing the IWL mailing list to get
> faster responses.
>

thanks, I was not sure, which is the correct mailing list in the first
place. BTW, I borrowed from family and friends few PCIe Intel Ethernet
cards - different models and chipset - I hope to test them during the
upcoming weekend and get better idea how widespread is the problem.
Also, I found several reports about "i210 low performance in linux" in
different forums, for example:

https://forum.openmediavault.org/index.php?thread/36799-dual-on-board-intel-i210-low-performance/

and maybe it's the same problem - I mean if the SNR performance is
that bad and it's that picky about the UTP cable, maybe in cases when
it connects, it cannot transfer the supposed amount of data,
especially on longer UTP cables. I cannot tell more, because in my
case the Link refuses to connect even as 10Mbps in Linux, while as I
mentioned in Win7 it connects as 1Gbps and I see no performance issues
whatsoever in Win7.

> Best Regards,
> Przemek

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-23 15:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-19 12:39 igb driver: i210 (8086:1533) very bad SNR performance Stefan Dimitrov
2024-10-23 13:38 ` Przemek Kitszel
2024-10-23 15:21   ` Stefan Dimitrov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).