From owner-freebsd-net@FreeBSD.ORG Thu Apr 28 15:01:06 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09B041065672 for ; Thu, 28 Apr 2011 15:01:06 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id BC0A88FC0C for ; Thu, 28 Apr 2011 15:01:05 +0000 (UTC) Received: by iwn33 with SMTP id 33so3181380iwn.13 for ; Thu, 28 Apr 2011 08:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=kUEERUX0MX2B7614uAHjFYapSIDssDkEm9TYGj1WU90=; b=T7ik05Uo5IkGRmEEAtmD41ybn2Qrhd6Kx7b3Txe7XlZ+6S/30k8oTGD3heTKoni0Oc n2W530RDAf8LQd0uIHvOrU3tGMjY/ddgXvj8WlW18+GGd0X2ujE9GB658eM6tB1cfvDk O4roeq/WMN0F5cOT805gg1VRqPk/artDWL46E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=QfzE6VnfbiZyh+YpAfprumlLKlrJWqpyad2C7acAP1NGw9AznqTWboT1NV/JPFjgRr zCY4QaTnfhzo8CSUOrLK8tr2nI/2DiIK2M3A4pS0hmQuoAghpxOmbbqb7Ly1KpYoFWYR yEJw+WKm6veMuh91Dum4bnKz7M1y699vy2kEc= Received: by 10.42.82.81 with SMTP id c17mr1346359icl.34.1304002856548; Thu, 28 Apr 2011 08:00:56 -0700 (PDT) Received: from ossumpossum.geop.uc.edu ([129.137.163.68]) by mx.google.com with ESMTPS id vr5sm669293icb.12.2011.04.28.08.00.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Apr 2011 08:00:55 -0700 (PDT) Date: Thu, 28 Apr 2011 11:01:10 -0400 From: Adam Stylinski To: Mike Tancsa Message-ID: <20110428150110.GG2800@ossumpossum.geop.uc.edu> References: <20110428072946.GA11391@zephyr.adamsnet> <4DB965D8.7090906@sentex.net> <20110428132922.GC2800@ossumpossum.geop.uc.edu> <4DB96DDD.4070801@sentex.net> <20110428141500.GE2800@ossumpossum.geop.uc.edu> <4DB97A07.2020606@sentex.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/Zw+/jwnNHcBRYYu" Content-Disposition: inline In-Reply-To: <4DB97A07.2020606@sentex.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-net@freebsd.org Subject: Re: em0 performance subpar X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2011 15:01:06 -0000 --/Zw+/jwnNHcBRYYu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 28, 2011 at 10:30:31AM -0400, Mike Tancsa wrote: > On 4/28/2011 10:15 AM, Adam Stylinski wrote: >=20 > >=20 > > em0: port 0xe800-0x= e83f mem 0xfe9e0000-0xfe9fffff,0xfe9c0000-0xfe9dffff irq 20 at device 5.0 o= n pci7 > > em0: [FILTER] >=20 > I am not sure the newer driver will help performance wise. It might fix > that bug you saw at least. Jack from intel might be able to shed some > light on it. In the mean time, try generating traffic via netblast. > Another tool I find helpful in narrowing down tcp performance > differences is netperf >=20 > ---Mike >=20 >=20 > --=20 > ------------------- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, mike@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada http://www.tancsa.com/ =2E/netblast 192.168.0.121 5001 32768 30 start: 1304002549.184689025 finish: 1304002579.187555311 send calls: 2163162 send errors: 2095950 approx send rate: 2240 approx error rate: 0 ? This output is a bit cryptic but from what I think I understand from the = source code it's the number of successful sends of the payload size in 30 s= econds. =20 So to do the math:=20 (32768*2210)/(1024*1024) 69.06250000000000000000MB/sec? This is still only saturating about half th= e link speed. --=20 Adam Stylinski PGP Key: http://pohl.ececs.uc.edu/~adam/publickey.pub Blog: http://technicallyliving.blogspot.com --/Zw+/jwnNHcBRYYu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iQIcBAEBAgAGBQJNuYE2AAoJED6sRHE6TvmnndsP/1hPqPDI8TjXXEpndGX3ozIi 5rIerbED/+WpoIsj0cR45/aOl34X2F0UQLrOd/i15i5glCvQqo08ZzX0XNX3A1Db lKDIq/HLcndu5YH+UNkuhnwufj204c2zcTmvAnFd0PrZhTgpMN+I+hFDbnFbcy59 rqyGqdUUSaBEIPWJyiv8GT/jT7/gdGShyrqZPxQcg63xOUiFVcN2JzWXtA8mJWfS 8GvEchSHVc3iLeKUMhLkMpnE9C2dRRNdhFdJUV2c5uVlDxCKx1nj2fPAiVSkCLT6 HCJBjxL6oM8Whi830jabMCXgPVJCPavDI1f8JlzsH1GXl+ebz2fej+aPmwZ3PHDy S2p40x6egTfTzu2eEfX8+VovFJrEe8fxc8agEB/jvmvShiHgHgYjuSmcocFaUgR4 HGKxJj9Vq1T9QjNRt8tEJg9madxhoD3rf3apouDJaoMC6GrQBwhWiKF278HKSLR3 TX35KIrV5nAwbcKsdvwcsaUg7egP18xpl4QeHZaqDwkWRm7AMQA6sHKMoBHP8qwu KbpyZqjzYsPM7mV2Li3yCBbhVEVDmpMY5b/29ck/Chqi3ArAIFABbKzR1RT6vPyp s0FhEabm+oJkdX+YzyIKNBfRaKN14mUq28UjoGMVHjwA0rBN0IwYVE7Bg4nOgCQH ZofFmQ6Gmx6nPPUZZVKB =kgnd -----END PGP SIGNATURE----- --/Zw+/jwnNHcBRYYu--