Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2013 08:45:14 +0000
From:      "Eggert, Lars" <lars@netapp.com>
To:        "mjl@luckie.org.nz" <mjl@luckie.org.nz>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: high cpu usage on natd / dhcpd
Message-ID:  <D4D47BCFFE5A004F95D707546AC0D7E91F6B79D2@SACEXCMBX01-PRD.hq.netapp.com>

next in thread | raw e-mail | index | archive | help
Hi,

> I have a small system running FreeBSD 8.2 that does NAT using ipfw and=20
> natd to systems attached to two interfaces: em0 and wlan0.  I have a=20
> dhcpd daemon issuing leases on those interfaces.  The system has an em1=20
> interface plugged into a cable modem where it obtains a DHCP lease from=20
> an ISP.
>=20
> For some reason, when traffic from the Internet terminates on the system=
=20
> itself (I scp a file from the computer) the natd and dhcpd processes=20
> consume significant CPU, and the throughput is less than I expect.=20
> Traffic that passes through to a computer behind the NAT flows without=20
> causing the natd or dhcpd processes to measurably consume CPU.

I see exactly the same issue on -STABLE. Have you been able to figure out t=
he cause?

Thanks,
Lars=



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