From owner-freebsd-questions@FreeBSD.ORG Wed Apr 26 11:04:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4A58416A410 for ; Wed, 26 Apr 2006 11:04:09 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97DE743D55 for ; Wed, 26 Apr 2006 11:04:01 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by nz-out-0102.google.com with SMTP id x3so1809658nzd for ; Wed, 26 Apr 2006 04:04:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VyFMar98Fy6yckxSxpvu4xQoAnmDgk15yM+wmo/K4f7LCSB63zRs+jCeqYGoF+arnobG45kux+05kue/onN8KjFUC6wvt3LaL7wBFLNSbSV0o+iBorVhl6Rdn+bsZO14BDpnWQK6eZ00zcilPtJEOOI0ZUhw/firauRc/rvmCOU= Received: by 10.36.247.12 with SMTP id u12mr976505nzh; Wed, 26 Apr 2006 04:04:01 -0700 (PDT) Received: by 10.37.22.74 with HTTP; Wed, 26 Apr 2006 04:04:01 -0700 (PDT) Message-ID: Date: Wed, 26 Apr 2006 15:04:01 +0400 From: "Andrew Pantyukhin" To: Rob In-Reply-To: <20060426031606.33136.qmail@web33302.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060426031606.33136.qmail@web33302.mail.mud.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: How to verify speed of a 1Gb/s network? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 11:04:09 -0000 On 4/26/06, Rob wrote: > Hi, > > How can I verify that a 1Gb/s network is indeed > operating at its optimal speed? I tried this: > > [master]$ ping -s 65507 node > 65515 bytes from node: icmp_seq=3D0 ttl=3D64 time=3D1.97 ms > 65515 bytes from node: icmp_seq=3D1 ttl=3D64 time=3D1.95 ms > 65515 bytes from node: icmp_seq=3D2 ttl=3D64 time=3D1.94 ms > 65515 bytes from node: icmp_seq=3D3 ttl=3D64 time=3D1.97 ms > > (I tried many times, over a long period of time > to get these typical values). > >From this I conclude that it takes about 1.95 ms > for 65515 x 8 bits to go forth and back between > master and node. > > Ideally, on a 1Gbit/s network, the time should be: > 65515 x 8 x 2 / (10243) =3D 0.98 ms > (x 2 for the roundtrip signal forth and back > and 10243 is the 1G of the network) Nopes. There's a number of 10Gig+ lines where you can't get less than 100ms, damn the light speed :-) ICMP echo service is pretty much always the lowest priority of any host. I get 2000ms+ rtt from cheap d-link devices on a gigabit network. I get 500ms+ from $10k cisco switches on any networks. Use iperf or other such tools for real testing.