Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2011 12:27:58 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        "Mikhail T." <mi@aldan.algebra.com>
Cc:        eivind@dimaga.com, cm@linktel.net, archie@whistle.com, brian@awfulhak.org, net@freebsd.org, suutari@iki.fi
Subject:   Re: natd slow, eats up an entire CPU...
Message-ID:  <20111128052758.GA23803@rdtc.ru>
In-Reply-To: <201111272043.pARKh9rZ047643@narawntapu.narawntapu>
References:  <201111272043.pARKh9rZ047643@narawntapu.narawntapu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 27, 2011 at 03:43:09PM -0500, Mikhail T. wrote:

> If I flush the ipfw-rules, the natd disappears from top's list and
> the transfer speeds up to about 260Kb/s (still nowhere near the
> initial 2Mb/s, but much higher than the 10-15Kb/s).

> Please, advise. Thanks! Yours,

Do not use natd, use ipfw nat instead - it uses the same libalias
but completely in kernel and avoids gigantic natd overhead.

Eugene Grosbein



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