HP Elite 8300 USDT + mpcie adapter

Questions & Discussion about the right Hardware to run IPFire on
Post Reply
petergunn
Posts: 15
Joined: October 5th, 2015, 10:18 pm

HP Elite 8300 USDT + mpcie adapter

Post by petergunn » May 5th, 2019, 7:02 pm

FYI - I just upgraded my hardware as follows:
  • HP Elite 8300 USDT (i5-3470S 2.9Ghz 65watts, 8Gb RAM, 1x Intel 82579LM ethernet, mpcie x1 v2.0 slot)
  • HP NC365T quad port ethernet card (pci-e v2.0 x4, Intel i340-t4, ~4.3 watts)
  • mini-pcie x1 to pcie x16 adapter (uses sata to 6-pin power adapter)
  • pcie x16 right angle adapter
  • 6-pin power extension
It actually worked really well. After removing the bracket the ethernet card is a super tight fit in the slim DVD slot. Its actually secure enough for my purposes without any case mods or gluing. I'm using 2 of the quad port NICs for red0 and green0 and I'm getting full gigabit speeds.

Just throwing a regular low profile NIC in a SFF system is obviously more sensible, but I thought I'd post my IPFire success using these cheap m-pcie adapters designed for crypto mining.

-PG

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8381
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: HP Elite 8300 USDT + mpcie adapter

Post by Arne.F » May 6th, 2019, 5:40 am

Have you tested the speed in both directions at the same time?

I have tried such adapters a while ago and they can handle 2.5mBit so this is not enough for 2 gBit nics if both directions. (Iperf2 dual way test trough the IPFire red<->green)
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

petergunn
Posts: 15
Joined: October 5th, 2015, 10:18 pm

Re: HP Elite 8300 USDT + mpcie adapter

Post by petergunn » May 6th, 2019, 10:38 pm

Its x1 pci-e v2.0 so it should be 500Mb/sec bidrectional (theoretical). I think the 250Mb/sec limit is when using pci-e v1.0 devices. I dont see any non-power related electronics on the adapter itself so I think it will allow whatever speed the chipset and card negotiate and thats 500MB/sec (5GT/s) in this case:

Code: Select all

[root@ipfire ~]# lspci -vv | egrep 'Ethernet|Lnk(Cap|Sta):' | less
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
                LnkCap: Port #1, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
                LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt+
01:00.0 Ethernet controller: Intel Corporation 82580 Gigabit Network Connection (rev 01)
        Subsystem: Hewlett-Packard Company NC365T 4-port Ethernet Server Adapter
                LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <4us, L1 <8us
                LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
01:00.1 Ethernet controller: Intel Corporation 82580 Gigabit Network Connection (rev 01)
        Subsystem: Hewlett-Packard Company NC365T 4-port Ethernet Server Adapter
                LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <4us, L1 <8us
                LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
01:00.2 Ethernet controller: Intel Corporation 82580 Gigabit Network Connection (rev 01)
        Subsystem: Hewlett-Packard Company NC365T 4-port Ethernet Server Adapter
                LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <4us, L1 <8us
                LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
01:00.3 Ethernet controller: Intel Corporation 82580 Gigabit Network Connection (rev 01)
        Subsystem: Hewlett-Packard Company NC365T 4-port Ethernet Server Adapter
                LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <4us, L1 <8us
                LnkSta: Speed 5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Unfortunately I cant easily run iperf through red0 without turning internet access off for a while (the horror!). Running bidirectional iperf on IPFire and my desktop (through multiple switches) shows full speed on green0 at least. If I do find a bottleneck I'll just switch red0 to the onboard 82579LM NIC.

Perhaps I'll setup orange0 on another NC365T interface and run 2 iperfs simultaneously. Need to wait until the weekend though.

-PG

petergunn
Posts: 15
Joined: October 5th, 2015, 10:18 pm

Re: HP Elite 8300 USDT + mpcie adapter

Post by petergunn » May 11th, 2019, 3:15 pm

I added a Firewall rule to allow bidirectional green<=>orange iperf with the cables connected as follows:

HP-NC265T connected via m-pcie adapter:
NIC-port#1: red0 - connected to gigabit internet
NIC-port#2: green0: => switch => switch => TS140 running Linux iperf client bi-directional test
NIC-port#3: orange0: => Linux netbook running iperf server

iperf reports 880mbps both ways at the same time which is close enough to full speed for me. I think Im getting 880mbps rather than 930+mbps due to the netbook hardware. To verify it wasn't the mpci-e adapter I ran a unidirectional speedtest (speedtest.py) from IPFire terminal at the same time which also worked at normal speed so I was getting 880+880+800=2560mbps (=320MB/s) in each direction through the mpci-e.

Unrelated: I switched the CPU governor to powersave as ondemand wasn't available (maybe Im missing a BIOS option). It was previously defaulting to performance and intel_pstate driver was randomly cycling the clock speed up and down. With powersave it idles @ 1.6Ghz and ramps up quite quickly enough so I'm good with that.

petergunn
Posts: 15
Joined: October 5th, 2015, 10:18 pm

Re: HP Elite 8300 USDT + mpcie adapter

Post by petergunn » May 17th, 2019, 1:55 am

FYI - after some research it looks like only I340 and I350 based Intel NICs allow 2+ ports at full gigabit speed (5GT/s) through a x1 PCI-Express v2.0 slot. Some other Intel based NICs support PCI-Express v2.0 but they operate at 2.5GT/s which only has half the bandwidth so they need an x4 slot.

petergunn
Posts: 15
Joined: October 5th, 2015, 10:18 pm

Re: HP Elite 8300 USDT + mpcie adapter

Post by petergunn » May 18th, 2019, 12:57 am

FYI - I also tried a bidirectional iperf test from green<=>orange with green on the HP-NC365T and orange using a cheap Realtek 8153 USB3 gigabit adapter and bi-directional speeds are quite good ~880/850mbps, however it starts at 930/270 and takes ~20seconds to balance out. Not sure what thats about, or if USB would be reliable but the sustained speeds were better than I expected

Post Reply