From owner-freebsd-net@FreeBSD.ORG Tue Nov 2 16:44:04 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7853816A4CE for ; Tue, 2 Nov 2004 16:44:04 +0000 (GMT) Received: from blake.polstra.com (blake.polstra.com [64.81.189.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11CD843D2D for ; Tue, 2 Nov 2004 16:44:04 +0000 (GMT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (dsl081-189-067.sea1.dsl.speakeasy.net [64.81.189.67]) by blake.polstra.com (8.12.11/8.12.11) with ESMTP id iA2Gi2MC082770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Nov 2004 08:44:02 -0800 (PST) (envelope-from jdp@strings.polstra.com) Received: (from jdp@localhost) by strings.polstra.com (8.12.11/8.12.11/Submit) id iA2Gi1Kd022868; Tue, 2 Nov 2004 08:44:01 -0800 (PST) (envelope-from jdp) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <05DE5D1C-2B30-11D9-8420-000A95C705DC@chittenden.org> Date: Tue, 02 Nov 2004 08:44:01 -0700 (PST) From: John Polstra To: Sean Chittenden X-Bogosity: No, tests=bogofilter, spamicity=0.502249, version=0.14.5 cc: freebsd-net@freebsd.org Subject: Re: Irritation regarding precision of ping(8)... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 16:44:04 -0000 On 31-Oct-2004 Sean Chittenden wrote: >>> This has long bugged me and tonight I finally snapped and had to do >>> something about it. Example output: >>> >>> 64 bytes from a.b.c.d: icmp_seq=935 ttl=126 time=33.824 ms >>> 64 bytes from a.b.c.d: icmp_seq=936 ttl=126 time=29.138 ms >>> 64 bytes from a.b.c.d: icmp_seq=937 ttl=126 time=28.262 ms >>> 64 bytes from a.b.c.d: icmp_seq=938 ttl=126 time=29.67 ms >>> 64 bytes from a.b.c.d: icmp_seq=939 ttl=126 time=30.963 ms >>> 64 bytes from a.b.c.d: icmp_seq=940 ttl=126 time=30.283 ms >>> 64 bytes from a.b.c.d: icmp_seq=941 ttl=126 time=29.455 ms >>> >>> The source of irritation being line seq 930. The time should be >>> 29.670 >>> since we are accurately measuring the precision to the thousands >>> place. >> >> I think you mean line seq 938. > > Yeah... my eyes are getting blurry... the 8 and 0 look similar at the > moment... probably a good sign I should stop and crash for the night. You really just meant 9.4e2, right? :-) John