Announcement

Collapse
No announcement yet.

Reference Router Performance problem

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reference Router Performance problem

    Hi All,

    I have downloaded the reference_router.bit into NetFPGA
    Ran the rkd daemon. ./rkd
    Connected two machines (both have GIG-E card) to each other through a LAN cable
    pc1 IP : 192.168.1.2 ,
    pc2 IP: 192.168.2.2 ,
    NETFPGA nf2c0 --- nf2c3 ip: 192.168.0.1 ----192.168.3.1

    Connection:
    pc1-----------------NetFPGA -----------------------pc2

    pc1 and Pc2 Ping each other OK.

    The problem :
    When I do the throughput test using Netperf,(pc1 run netserver, pc2 run netperf, Netfpga works as a routerin the middle ). I can only get around 260 Mbit/s with 64 byte packets. This number is similar to Linux kernel router running on the same machine. (netperf -H pc1 -t UDP_STREAM -- -m 64 ) .

    More tests results.
    same setting, and different packet size.

    packet size / throughput
    64 bytes / 254.44 mbits/s
    224 bytes / 711.78 mbits/s
    512 bytes / 864.35 mbits/s
    1500 bytes / 917.52 mbits/s


    It seems something wrong. For a hardware router, I suppose to get a higher throughput, even for the small packet size, for example, more than 700Mbits/s.

    Is this a expected result or I need to do some specific configuration. Does anyone did the similar test and get the similar results?
    Thanks

    By the way, For packet size 1500 bytes, I can get 960 Mbits/s, (netperf -H pc1 -t UDP_STREAM -- -m 1500)

    some information netfpga router pc.
    [email protected] Desktop]# route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.3.0 * 255.255.255.0 U 0 0 0 nf2c3
    192.168.2.0 * 255.255.255.0 U 0 0 0 nf2c2
    192.168.1.0 * 255.255.255.0 U 0 0 0 nf2c1
    192.168.0.0 * 255.255.255.0 U 0 0 0 nf2c0
    Last edited by pengfeizhang; 01-21-2011, 10:20 PM.

  • #2
    Can you try iperf between the two computers when they are directly connected. (Obviously they'll need to be on the same subnet.) What speed do you achieve with 64 byte packets when they are directly connected?
    Glen Gibb
    NetFPGA developer & PhD candidate
    Stanford University

    Comment


    • #3
      You are right. When two PCs are directly connected, I cannot get high data rate either.
      In my experimental settings, the NIC is the bottleneck, not the NetFPGA.

      Comment


      • #4
        I also have the same problem , in my office many systems are connected together that's why i could not get the high speed and high data rate , please suggest something to check this problem, i have tried many things told by many people but nothing works out for me, hope you could help me, thanks in advance

        Helpful Site
        Last edited by Conleyer; 08-11-2012, 07:45 AM.
        click for info

        Comment

        Working...
        X