Re: FreeBSD as a gigabit router



2007/10/3, Cristian KLEIN <cristi@xxxxxxxxxxxxx>:
Hi list,

A few days ago I tested whether a FreeBSD 7 box is able to handle Gigabit
traffic. So I used a Cisco 7600 and added static routes from the router to the
box and from the box to the router, so that some packets would loop between the
two. Then I externally injected 30Mbps of "ping -f -t 255 -s <size>", which
should have generated a "maximum" of 3,6Gbps. I then used nload on the box to
graph the bandwidth.

The box is a Intel Core 2 Duo, with a PCIe re NIC. I used FreeBSD i386 with
polling and fastforwarding. No WITNESS, INVARIANTS or firewalls.

I was amased to see that injecting 1000 bytes packets gave a maximum throughput
of 650Mbps, while 1400 bytes gave 750Mbps. During both tests one core was 98%
idle, while the other one was more than 80% idle.

Can anybody point me what the bottleneck of this configuration is? CPU was
mostly idle and PCIe 1x should carry way more. Or is the experiment perhaps
fundamentally flawed?

Thanks.

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



Using icmp and especially "ping -f" does not sound like a good idea
for testing network thoroughput. Maybe you should consider something
like iperf or netperf (/usr/ports/benchmarks/iperf and
/usr/ports/benchmarks/netperf)

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



Relevant Pages

  • FreeBSD as a gigabit router
    ... A few days ago I tested whether a FreeBSD 7 box is able to handle Gigabit ... The box is a Intel Core 2 Duo, with a PCIe re NIC. ... I was amased to see that injecting 1000 bytes packets gave a maximum throughput ... idle, while the other one was more than 80% idle. ...
    (freebsd-net)
  • Re: FreeBSD as a gigabit router
    ... A few days ago I tested whether a FreeBSD 7 box is able to handle Gigabit ... The box is a Intel Core 2 Duo, with a PCIe re NIC. ... idle, while the other one was more than 80% idle. ...
    (freebsd-net)
  • Re: CPU Utilization on IBM x3755
    ... lists. ... I am testing my hardware against FreeBSD, and I just want to reach those people under the said areas with the hope to get speedy response. ... idle: cpu0 ...
    (freebsd-performance)
  • Re: T7200 CPU not detected by est
    ... wrote about Re: T7200 CPU not detected by est: ... JC> And I can tell the system is significantly "slower" when idle, ... and FreeBSD 7.0-Beta4, and it crashed and rebooted when starting powerd. ...
    (freebsd-stable)