Re: can't get linerate TCP iperf between two Intel PRO/1000 82544GC cards

From: Petri Helenius (pete_at_he.iki.fi)
Date: 04/03/05

  • Next message: FreeBSD bugmaster: "Current problem reports assigned to you"
    Date: Sun, 03 Apr 2005 10:28:17 +0300
    To: Chris Tracy <chris@maxgigapop.net>
    
    

    Does somebody have the programming specs for the em chips? Despite of
    multiple contacts and promises Intel has been unable to produce them.

    Pete

    Chris Tracy wrote:

    > Hi,
    >
    > I have been attempting to get iperf to generate a line-rate TCP flow
    > (~989Mbps) across a GigE link but can only get a maximum of around
    > 912Mbps.
    >
    > The bottleneck appears to be on the sending side, as top shows the CPU
    > for the iperf process at 50% (machine is a dual Xeon 2.4GHz with SMP
    > and HTT enabled) and the WCPU column goes to 99%.
    >
    > Presumably the CPU is busy computing checksums, so I took a look at
    > if_em.c to find out more about what kind of hardware checksum
    > offloading features might be available, and I found this:
    >
    > if (adapter->hw.mac_type >= em_82543) {
    > if (ifp->if_capenable & IFCAP_TXCSUM)
    > ifp->if_hwassist = EM_CHECKSUM_FEATURES;
    >
    > I wasn't sure which chipset I had, so I checked the output of pciconf:
    >
    > # pciconf -v -l |grep 8254
    > device = '82544GC Gigabit Ethernet Controller (LOM)'
    >
    > I then tried an ifconfig em0, and it indeed shows the rxcsum and
    > txcsum options listed in the output. However, executing something
    > like 'ifconfig em0 txcsum' doesn't seem to help with the CPU issue.
    >
    > I took a look at /usr/src/sys/dev/em/README and didn't see the GC
    > flavor of this card mentioned anywhere, nor any details or known
    > limitations with regard to checksum offloading. I'm assuming GC means
    > Gigabit Copper since these are the 1000bT versions.
    >
    > I also have some 82544EI/GC cards which I haven't gotten around to
    > testing yet because of a jumbo frame issue on one of the layer3
    > devices in between the hosts with those cards.
    >
    > At this point, all that I can think of doing is to try and add some
    > debug statements to the driver so that I might be able to get a better
    > idea of what's going on with the hardware checksum...maybe it is
    > already offloading correctly and the CPU bottleneck is being caused by
    > something else?
    >
    > I can provide additional details if needed, but please include my
    > email in the reply as I'm not subscribed to the list. Any help would
    > be most appreciated. I've had no problems doing 989Mbps in Linux, but
    > I'd really prefer to run FreeBSD.
    >
    > Thanks,
    > -Chris
    > _______________________________________________
    > freebsd-net@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-net
    > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: FreeBSD bugmaster: "Current problem reports assigned to you"

    Relevant Pages

    • cant get linerate TCP iperf between two Intel PRO/1000 82544GC cards
      ... I have been attempting to get iperf to generate a line-rate TCP flow ... The bottleneck appears to be on the sending side, as top shows the CPU ... limitations with regard to checksum offloading. ... I also have some 82544EI/GC cards which I haven't gotten around to ...
      (freebsd-net)
    • Re: [Patch 2.6.22.2 ] : drivers/net/via-rhine.c: Offload checksum handling to VT6105M
      ... Secondly offload checksum to VT6105M, ... This patch was developed and tested on Imedia ... Data Sheet, Revision 1.63 June21,2006'. ... slightly arranged it in order to save 13 bytes of code and a few CPU ...
      (Linux-Kernel)
    • Re: OT (which MoBo would you use with AMD 64 FX processor)
      ... then have four 9cm fans plus the PSU fan as intakes. ... The system tends to warm up fast with the Vid card, CPU, 3 HDDs, etc. ... AMD and PCI vid cards since the advent of the AGP cards. ... > without overclocking you really don't need to take such drastic steps. ...
      (microsoft.public.windowsxp.general)
    • Re: Ping Mike re: RAM
      ... i'll make it easy to to read, i put two cards in this one, both are double ... CPU Alias Northwood-128 ... Memory Bus 132.9 MHz ... Motherboard Properties ...
      (alt.gathering.rainbow)
    • Re: Spontaneous unclean reboots
      ... Don't go for those mATX cards, they are slightly cheaper, but you do want a better one. ... Usually the built in NIC will use less CPU power than those PCI cards, so try to use that in first place. ... One IDE connector can have two devices hooked, so no problem to connect your IDE hard drive and DVD player at the same time. ... A motherboard with built in graphics can be an option, if it has PCIe-16 slots where you can later on add a better graphics card, a motherboard with Crossfire will support multiple ATi cards from AMD while SLI will support multiple nVidia cards, but if you don't use heavy graphics, then SLI/Crossfire is quite useless for you and you can save 10 bucks to select a motherboard without such support. ...
      (alt.os.linux)