not full speed nic

Frosty_343

Cadet
Joined
Aug 17, 2022
Messages
8
i have a nic in my system that is supposed to utilize 2.5g of bandwidth but even manually setting my mtu to 9000 and make a tunable loader with if_re_load like some people say makes it work it seems to not work, im not sure if its somthing with my machine or the software but im loosing alot of bandwidth id like to have, please help.
 

Frosty_343

Cadet
Joined
Aug 17, 2022
Messages
8
Well, 2.5 GbE is a garbage technology, and Realtek make garbage NICs, so it isn't surprising that it'd be a poor combination.
i know that but there has to be some way to make it work its all i have rn so i gotta make it work yk?
 
Joined
Jun 15, 2022
Messages
674
  1. On gaming hardware,
  2. Use cat6a cables, 30' or less.
  3. No hub, first get it working on a direct-connection.
  4. Run it under Windows.
  5. Transfer big files (not small ones) from a system with a solid-state drive to a system with a solid-state drive
  6. and of course tune the tunables, that big MTU you mention for instance is necessary.
I wouldn't personally count on it being reliable for important things, but games and such should work fine. Also, not all 2.5GbE is equal, some is knockoff of hardware that itself barely hangs on while pushing unreasonable speeds, so realize as go you down the food chain this is going to get bad quickly. If you can, think about using Intel cards.

 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
i know that but there has to be some way to make it work its all i have rn so i gotta make it work yk?
The /boot/modules/if_re.ko kernel driver module predates Realtek's 2.5 GbE chipsets, so can only run 1 GbE. Somehow, you'll need to get a more recent build of if_re.ko.

The following is at your own risk.
  1. Create a 13.1-RELEASE jail, named test.
  2. Start the test jail.
  3. Enter the test jail's shell.
  4. Initialize the pkg software manager via pkg bootstrap.
  5. Update the software manager's software lists via pkg update.
  6. Install the latest if_re driver via pkg install realtek-re-kmod. Note, this only installs the driver inside the jail, and not on the host system. From the host's perspective, the driver is at /mnt/<your pool name>/iocage/jails/test/root/boot/modules/if_re.ko.
  7. Exit the test jail's shell.
  8. Enter the TrueNAS web Shell.
  9. Go to the hosts's /boot/modules directory via cd /boot/modules.
  10. Unload the running driver via kldunload if_re.
  11. Save the original if_re.ko via mv if_re.ko if_re.ko.bak.
  12. Copy the updated if_re.ko from the jail via cp /mnt/<your pool name>/iocage/jails/test/root/boot/modules/if_re.ko /boot/modules.
  13. Load the new if_re driver via kldload if_re.
  14. Exit the web Shell.
  15. Test the driver by trying some network traffic. If your system doesn't crash, consider yourself lucky.
 
Last edited:

Frosty_343

Cadet
Joined
Aug 17, 2022
Messages
8
  1. On gaming hardware,
  2. Use cat6a cables, 30' or less.
  3. No hub, first get it working on a direct-connection.
  4. Run it under Windows.
  5. Transfer big files (not small ones) from a system with a solid-state drive to a system with a solid-state drive
  6. and of course tune the tunables, that big MTU you mention for instance is necessary.
I wouldn't personally count on it being reliable for important things, but games and such should work fine. Also, not all 2.5GbE is equal, some is knockoff of hardware that itself barely hangs on while pushing unreasonable speeds, so realize as go you down the food chain this is going to get bad quickly. If you can, think about using Intel cards.

im running direct but both my windows client im using shows it at 1gbe and truenas is 1gbe the motherboard specifically stated it has 2.5gbe its from msi pretty high end board so i doubt it was a knockoff
 
Top