Low network performance after upgrade from FreeBSD 4.8 to 6.0

Martin Hudec corwin at aeternal.net
Mon Mar 20 14:37:56 UTC 2006


Hello,

Bohuslav Plucinsky wrote:
> I use the FreeBSD box as the firewall with NAT (ipfw + natd). 
> When I've upgraded the box from 4.8-20030810-STABLE to 6.0-RELEASE
> I've noticed a performance degradation. 
> CPU states:  8.8% user,  0.0% nice, 59.6% system, 31.6% interrupt,  0.0% idle
>   PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
>   229 root        1 105    0  1428K   904K RUN      0:35 40.82% natd
> When I change the IP addresses on inside interface from private to public
> and disable NAT, the throughput is again 80Mbps.

Is it possible to switch to pf (available on 6.x) and to set HZ to 1000?
Also you could try to switch on polling on those 3coms?

Cheers,
Martin


More information about the freebsd-questions mailing list