Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Separate or dual NIC card?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Separate or dual NIC card? (Read 5027 times)
dwasifar
Jr. Member
Posts: 72
Karma: 3
Separate or dual NIC card?
«
on:
October 12, 2018, 05:40:52 am »
When building an OPNsense box on standard PC hardware, is there a performance difference between having two separate NICs vs a single dual-port NIC?
Logged
monstermania
Hero Member
Posts: 524
Karma: 47
Re: Separate or dual NIC card?
«
Reply #1 on:
October 12, 2018, 09:29:16 am »
Hi,
it depends on many factors (i.e. the used hw, mainboard, chipsets, etc.) btw. the hw design. Principally all devices into a pc connected by serial pci-e lanes. An pci-e single line offers a speed of 4Gbit (gross). Normaly enough for 2 Gbit lan cards. But if the hw vendor connects some more devices to the same pci-e line all devices had to share the 4 Gbit...
Same thing for lan card nics. Good lan chipsets have their own data processors build in. So they don't use much host pc cpu power.
Cheap chipsets (i.e. Realtek) needs more host cpu power for handle the same network load.
So your simple question isn't easy to answer!
If you need specific lan speed the simplest solution is to buy an preconfigured appliance where the manufacturer quarantees you the speed.
best regards
Dirk
Logged
dwasifar
Jr. Member
Posts: 72
Karma: 3
Re: Separate or dual NIC card?
«
Reply #2 on:
October 12, 2018, 05:27:28 pm »
Thanks for the detailed reply.
I don't have a specific performance requirement number; I only want to get the best performance out of the hardware I have.
I didn't know that about processors on the NIC, but it makes sense.
The question is mainly curiosity. My actual firewall appliance is a Watchguard 5 series that's currently running pfSense. I'm switching it to OPNsense, so to avoid downtime I built a temporary firewall appliance running OPNsense on an old PC with two Intel NICs. I expected to see a performance hit from having two separate NICs, but that didn't turn out to be the case; throughput on the temporary appliance is the same as it was on the Watchguard.
But, as you say, there are a lot of variables here. There are no other PCI-E devices plugged in, but I don't know if on-motherboard devices share the line.
I suppose the right way to go about finding out would be to test a dual NIC against a pair of single NICs, each with the same chipset, in the same system, and do benchmarks.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Separate or dual NIC card?