Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 15:40:06 -0000
From:      "Tariq Rashid" <tariq@inty.net>
To:        <freebsd-net@freebsd.org>
Subject:   RE: network buffer problem -/- natd
Message-ID:  <MPENKFCCIIDAJKJJOLBHGEKJCIAA.tariq@inty.net>
In-Reply-To: <5.1.0.14.2.20020219154939.00bb52d8@outshine>

next in thread | previous in thread | raw e-mail | index | archive | help

 i too am currently looking into natd - it seems to eat more cpu as the
number of connections it handles goes uip - not just the throughput.

 - i'm not an expert but truss, strace and grof show that most of the time
is spent in sendto() ...

   ...  i find this odd becuase recvfrom seems not to be so intensive.

 ps - can anyone tell me if the following assumption is correct:

	* if gprof, strace, etc show most of the time spent in sendto()
		then it immediately follows that this is what is using CPU time?


	* i know its a bit off topic but i could make a syscall which simpy sleeps,
		so shows up as taking time but isn;t doing much really?

am i right?


intY has automatically scanned this email with Sophos Anti-Virus (www.inty.com)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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