OPNsense Forum

English Forums => Hardware and Performance => Topic started by: mattlach on October 15, 2024, 07:12:42 PM

Title: How is Realtek Reliability These Days?
Post by: mattlach on October 15, 2024, 07:12:42 PM
Hey everyone,

I've playing with x86 server hardware for a good two decades now.

IN most of that time, the rule of thumb has always been if you are doing something that requires reliability, always, always, always go with the Intel NIC, and no matter what, avoid anything Realtek.

But in recent years things seem to ahve changed a little bit.   Intel has had some issues with their multigig NIC chips, and many people are - GASP - even recommending Realtek chips as alternatives.

Apparently pigs are flying, cats are sleeping with dogs, and snowballs are surviving in hell.

So, I guess my question is this.   How reliable are Realtek chips in something like OPNSense these days?

I am planning on building an embedded system, and locating it remotely where it is inconvenient (but not impossible) to get at should it go unresponsive.

Meanwhile I am seeing some really attractive embedded industrial boards with dual Realtek 8111H ports on them.

Are the old paradigms still true?   Would it be a bad idea to use one of these?   Or is it fine these days?

I'd appreciate any input.
Title: Re: How is Realtek Reliability These Days?
Post by: meyergru on October 15, 2024, 07:53:38 PM
Realtek is still problematic under FreeBSD. Avoid it if you can.
Title: Re: How is Realtek Reliability These Days?
Post by: Gianry on October 15, 2024, 09:44:56 PM
Quote from: mattlach on October 15, 2024, 07:12:42 PM


So, I guess my question is this.   How reliable are Realtek chips in something like OPNSense these days?

I am planning on building an embedded system, and locating it remotely where it is inconvenient (but not impossible) to get at should it go unresponsive.

Meanwhile I am seeing some really attractive embedded industrial boards with dual Realtek 8111H ports on them.

  Or is it fine these days?

I'd appreciate any input.
รน

I've build a VM image with opnsense and I'm using a 4 port Realtek Nic card .For now I've not found any issue about it
Title: Re: How is Realtek Reliability These Days?
Post by: franco on October 16, 2024, 01:38:32 PM
The vendor driver is pretty good, but you should avoid older (ancient) chipsets. If you can spend a little extra money for Intel NICs. It's not worth any of the trouble dealing with runtime issues.


Cheers,
Franco
Title: Re: How is Realtek Reliability These Days?
Post by: Patrick M. Hausen on October 16, 2024, 01:47:59 PM
Does the vendor driver still not use iflib? If yes, it might stop working altogether at some point in time in the future depending on FreeBSD's ongoing development.
Title: Re: How is Realtek Reliability These Days?
Post by: franco on October 16, 2024, 02:07:23 PM
I don't expect anyone wanting to break out of tree drivers, but stranger things have happened.


Cheers,
Franco
Title: Re: How is Realtek Reliability These Days?
Post by: Patrick M. Hausen on October 16, 2024, 02:15:21 PM
Once all in tree drivers are finally iflib-ified, I fully expect legacy support to go away, eventually.
Title: Re: How is Realtek Reliability These Days?
Post by: franco on October 16, 2024, 02:20:52 PM
Looking at ancient unrelated cruft such as ALTQ and agp(4) I doubt that. Making iflib the in-tree entry bar is reasonable though. But that could already be the policy now.


Cheers,
Franco
Title: Re: How is Realtek Reliability These Days?
Post by: Patrick M. Hausen on October 16, 2024, 02:26:01 PM
Quote from: franco on October 16, 2024, 02:20:52 PM
agp(4)

I get your point  ::) ;D
Title: Re: How is Realtek Reliability These Days?
Post by: franco on October 16, 2024, 02:30:02 PM
Good Dublin memories  :)
Title: Re: How is Realtek Reliability These Days?
Post by: Greg_E on October 16, 2024, 03:33:58 PM
Is it the drivers making the hardware bad or is it the hardware making the drivers difficult?

That said, even Broadcom can have problems with some systems. Intel is the preferred fix for many things that just don't make sense and are hard to pin down. XCP-NG comes to mind as one of these Broadcom warnings where people have fixed odd things by using Intel cards.
Title: Re: How is Realtek Reliability These Days?
Post by: Monviech (Cedrik) on October 16, 2024, 03:38:05 PM
I mean you could do some heretical things like putting windows 11 on the realtek nic box and use hyper-v and opnsense as VM on that.  ;)
Title: Re: How is Realtek Reliability These Days?
Post by: Greg_E on October 16, 2024, 03:39:28 PM
Or Virtual Box should also work.
Title: Re: How is Realtek Reliability These Days?
Post by: Patrick M. Hausen on October 16, 2024, 03:52:51 PM
Quote from: Greg_E on October 16, 2024, 03:33:58 PM
Is it the drivers making the hardware bad or is it the hardware making the drivers difficult?

The hardware is notoriously crappy in the "the cheapest design one can get away with" sense. And you don't get documentation without signing an NDA. So it's difficult to produce a true open source driver.
Title: Re: How is Realtek Reliability These Days?
Post by: Greg_E on October 17, 2024, 04:22:13 PM
I noticed that VSphere8 doesn't support Realtek for the management lan, but I can try to pass a Realtek through to hosts. I say try because it caused some problems as soon as I checked the box to pass through. Might also be because I'm still learning that system.
Title: Re: How is Realtek Reliability These Days?
Post by: Patrick M. Hausen on October 17, 2024, 04:24:13 PM
There was a community driver for Realtek but that was supported up to 6.5 or 6.7 only.

Also that still does not make the hardware any better ;)
Title: Re: How is Realtek Reliability These Days?
Post by: astraios12 on October 21, 2024, 05:31:02 PM
I used to swear by Intel for everything, but I've noticed more people having success with Realtek lately. I set up a home server with a Realtek chip a while back, and it's been pretty solid for everyday use. That said, if you're planning something remote where access is tricky, I'd probably stick with Intel for peace of mind. If you do decide to go with the Realtek 8111H ports, just check the compatibility with OPNSense and maybe look at user reviews to see how others have fared.