From owner-freebsd-net Tue Feb 19 7:36:56 2002 Delivered-To: freebsd-net@freebsd.org Received: from rod.inty.net (rod.inty.net [195.224.93.241]) by hub.freebsd.org (Postfix) with ESMTP id 98D4937B400 for ; Tue, 19 Feb 2002 07:36:33 -0800 (PST) Received: from inty.hq.inty.net (inty.hq.inty.net [213.38.150.150]) by rod.inty.net (8.11.3/8.11.3) with ESMTP id g1JFaKD82607 for ; Tue, 19 Feb 2002 15:36:23 GMT Received: from tariq ([10.0.1.156]) by inty.hq.inty.net (8.12.1/8.12.1) with SMTP id g1JFaDYl031325 for ; Tue, 19 Feb 2002 15:36:13 GMT From: "Tariq Rashid" To: Subject: RE: network buffer problem -/- natd Date: Tue, 19 Feb 2002 15:40:06 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <5.1.0.14.2.20020219154939.00bb52d8@outshine> X-Sender-IP: 10.0.1.156 X-INT-DeliveryDone: g1JFaDYl031325 X-suppress-rcpt-virus-notify: yes X-Skip-Virus-Check: yes X-Virus-Checked: 54031 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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