How To Disable/Enable Energy Efficient Ethernet (EEE)?
-
@stephenw10 said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:
Hmm, and the ppp sessions remain up on both WANs?
Importantly that? ^ The uptime on both WANs shows they never disconnected?
If that's the case this looks like something completely different. Like maybe it lost routing. Or something hung whilst reloading the filter maybe. I would expect to see something logged in either case though.
-
-
@stephenw10 thank you so much for your help! I'm nearing the end of my rope with these disconnects (as are my Zoom colleagues), and I think I'll just try a new box. Thanks so much!!
-
Hi sorry for asking for this to be simplified but apparently virgin media has broken there 2.5gig port with the latest firmware for the hub5 the thread on the forums say it is due to eee and would like to test this but so far can’t find out how to get info if it is enabled or not, am using an intel x710 card
Currently on pfsense 23.09-1
Can someone list the commands needed to get info about that state of eee my card is listed as ixl0 and ixl1, 0 is the wan port
Thread for virgin media https://community.virginmedia.com/t5/Tech-Chatter/Hub-5-Firmware-Upgrade/td-p/5480079/page/2
-
On ixl it is set by:
[24.03-BETA][admin@7100.stevew.lan]/root: sysctl -d dev.ixl.0.eee.enable dev.ixl.0.eee.enable: Enable Energy Efficient Ethernet (EEE) [24.03-BETA][admin@7100.stevew.lan]/root: sysctl dev.ixl.0.eee.enable dev.ixl.0.eee.enable: 0
You can also check to see if it's sending or receiving LPI symbols:
[24.03-BETA][admin@7100.stevew.lan]/root: sysctl dev.ixl.0.eee dev.ixl.0.eee.rx_lpi_count: 0 dev.ixl.0.eee.tx_lpi_count: 0 dev.ixl.0.eee.rx_lpi_status: 0 dev.ixl.0.eee.tx_lpi_status: 0 dev.ixl.0.eee.enable: 0
Steve
-
thanks for that
would i be correct in saying that eee is enabled?
sysctl dev.ixl.0.eee
dev.ixl.0.eee.rx_lpi_count: 1205843
dev.ixl.0.eee.tx_lpi_count: 1448892
dev.ixl.0.eee.rx_lpi_status: 1
dev.ixl.0.eee.tx_lpi_status: 1
dev.ixl.0.eee.enable: 1 -
Yes that's enabled and it's both seeing and ending LPI.
-
This post is deleted! -
okay so managed to disable it but doesn't seem to be persistant through a reboot, but turning it off does solve the virgin media problem, just need to make it permament now
to disable it i had to use sysctl dev.ixl.0.eee.enable:0
and adding dev.ixl.0.eee.enable as a system tunable and a value of 0 survives a reboot :)
-
@Maff and @stephenw10
I think if you look at my 1st post in this thread I mention adding an option to the system tunables section in the pfSense UI so that the EEE option can configured/persisted. I think that's still a thing?
However, I thought @stephenw10 mentioned there was a bug (not sure it's fixed) that the EEE config below actually uses 1 to disable it, not 0. Although, this is for igc adapters, I'm not sure about your ixl adapter. Maybe @stephenw10 can chime in on how to use the system tunable for your adapter?
@stephenw10 said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:
EEE is disabled by default in igc in FreeBSD. The description text for 'hw.igc.eee_setting' is incorrect. That should be 1 to disable it as mentioned.
To check your current EEE configuration:
[23.05.1-RELEASE][user@router.lan]/: sysctl hw.igc | grep eee hw.igc.eee_setting: 1 [23.05.1-RELEASE][user@router.lan]/: sysctl dev.igc.0 | grep eee dev.igc.0.eee_control: 1
-
I see you found the system tunable! I guess I'm wondering if using a 0 actually disables it. Again, there was mention of a bug in this thread that system tunable uses a 1 to set EEE to disable (at least for my igc adapter).
@Maff said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:
and adding dev.ixl.0.eee.enable as a system tunable and a value of 0 survives a reboot :)
-
@uplink said in How To Disable/Enable Energy Efficient Ethernet (EEE)?:
However, I thought @stephenw10 mentioned there was a bug (not sure it's fixed) that the EEE config below actually uses 1 to disable it, not 0.
That's true but that only applies to igc.
-
How I’ve configured it works for my case and card and is easily tested as with it enabled I have 90% packet loss and with it disabled it works and zero loss
Thanks for all the help and to @stephenw10