Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 15:35:50 +0100
From:      Martin Hudec <corwin@aeternal.net>
To:        bohuslav.plucinsky@in.nextra.sk
Cc:        freebsd-net@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Low network performance after upgrade from FreeBSD 4.8 to 6.0
Message-ID:  <441EBDC6.9070905@aeternal.net>
In-Reply-To: <20060320131020.GI20138@in.nextra.sk>
References:  <20060320131020.GI20138@in.nextra.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?441EBDC6.9070905>