This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to enable Gigabit on a dual-nic?

Because of the physical placement of the Astaro gateway and my WHS, I installed a Intel 1000MT Pro Dual-port Gigabit NIC to use in bridge mode so that the Astaro box and WHS will reside beside each other, and the rest of the computers and switch elsewhere.

The problem I'm having now though is that the Bridge I created with the dual-nic is apparently not connected at Gigabit speeds, as the connection is maxing out around 44Mbps. When the WHS was connected directly to the switch, I could easily get 600Mbps+ on the gigabit enabled computers.

So the obvious question is, how do I enable to the dual-nic/Bridge on the Astaro box run at gigabit speeds?


This thread was automatically locked due to age.
  • This sounds like a hardware problem.  Maybe a bad cable, maybe a bad NIC, maybe a bad port on the switch.

    Before trying those, try lowering the MTU on the bridge.  If that doesn't work, you might try going to the 'Hardware' tab in "Network >> Interfaces' and setting the NIC speeds manually instead of 'Auto negotiation'.  Try several different settings for each interface to see if any works.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • You can check the NIC settings by running 
    ethtool eth0
    ethtool eth1
    ...

    on the command line.

    However,
    This may be a CPU usage problem; the IPS and/or IM/P2P features will use a lot of CPU.

    Run 'top' while doing a large transfer and see if the CPU is getting maxed out.
    If it is, tuning the IPS would help, or you could create IPS exceptions.

    Barry
  • Some more info:

    The dual port nic (eth1 & eth2) is a PCI-X card installed in a standard PCI slot. It of course works, but I do not know if being in a PCI slot and not a PCI-X would affect the speed at which it can connect or communicate internally with the computer/software.

    I currently have a crossover cable between eth2 and the WHS NIC.

    Could either of those cause a problem?

    Also, I tried running it in 1000Mbps, Full Duplex mode for both ports of the dual port nic. The switch that Astaro (eth1) is connected to indicates its connected as a Gigabit link, but speed is still limited to no more then 44Mbps.

    I haven't tried the other suggestions yet; lowering the MTU (which is currently at stock 1500), a different cable, or using the command line (will be abit problematic with the physical locations). The CPU usage also does not go up that much, with the highest recorded usage being around 28%.

    I'm also not 100% sure I have the bridge setup properly, as far Network security is concerned.
  • use ssh to login to the console.

    Ian
  • Used SSH. Both eth1 and eth2 ports are configured in gigabit mode. Used top to see CPU usage during transfer. Again, only about 25% max reached.

    I may just return the WHS to its previous location as I'm not liking the quality of the HD feed from the cable service over what I would get over the air. And at least this way it would be connected directly to the gigabit switch. I'm thinking it may be the dual-port nic itself being a PCI-X card requiring a PCI-X slot in order to operate at full gigabit speeds that is the problem. [:(]
  • Is there a way to test the transfer speed between the Astaro box and a computer on the network? I'd like to see if the Astaro box is even capable of using gigabit speeds (>100Mbps), and not just connecting the NIC at that speed.
  • iperf is a good test.

    How many CPU cores do you have (including HyperThreading)? It's possible that you have 4 and that 1 process is maxing out one of them, resulting in 25% utilization and a bottleneck.

    Barry
  • I think this is as expected. A PCI slot can barely manage the bandwidth for a single port at full GB speed. With overhead and also the fact that I bet the card doesn't let either port flood the bus individually, 44MBs would be a reasonable speed for running a PCI-X card in a PCI slot.

    There is a reason they went to the extra expense of making your card PCI-X, I'm sure if they could have gotten away with it being plain PCI then it would have been designed that way. [:)]
  • I can't find any info on getting iperf onto Astaro (I know almost nothing in regards to Linux), but I would definitely like to get it on the system so I can test things out, even if I do change the network layout.

    And yes, its a Atom 510 board, 2 physical cores, 2 Virtual. You could be right that it may be maxing out one core. Is there a way to check that?

    And splark, would the transfer rate going down by half when uploading and downloading between the computers at the same time be an effect of that? Just transferring a 300MB file to the WHS nets only 44Mbps transfer rate. But if I try to also transfer something from the WHS to the same PC uploading the 300MB file, transfer rate drops to 22Mbps for both the upload and download.
  • You don't need to install iperf on Astaro. Install it on 2 other machines and test through the firewall.

    You can check CPU usage per core by running 'top' and hitting '1'; then you'll get a list of all the cores.
    Please post a screenshot of top if you can.

    fwiw, I don't think this is (only) a PCI issue.

    Barry