From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 13:44:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 049AC37B401 for ; Thu, 10 Apr 2003 13:44:56 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4453243F93 for ; Thu, 10 Apr 2003 13:44:55 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h3AKiqgR035823; Thu, 10 Apr 2003 15:44:52 -0500 (CDT) (envelope-from dan) Date: Thu, 10 Apr 2003 15:44:52 -0500 From: Dan Nelson To: Kan Cai Message-ID: <20030410204452.GP30909@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: questions about fast ping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 20:44:56 -0000 In the last episode (Apr 10), Kan Cai said: > The fast ping I am testing can only send 200 packets per second or > so. It is too less for a 11Mbps orinoco golden card. Could someone > tell me what's the reason? > > from netstat info, 2*20,000*8 = 320,000 bit/sec. If you are pinging a remote FreeBSD system, make sure you have raised the icmp limit: sysctl -w net.inet.icmp.icmplim=1000 (the default is 200). Also, you will only get over 200 packets/sec if your ping time is under 5ms (since ping -f waits for a response before sending another packet, and 1000ms / 5ms = 200). -- Dan Nelson dnelson@allantgroup.com