Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2011 11:01:10 -0400
From:      Adam Stylinski <kungfujesus06@gmail.com>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: em0 performance subpar
Message-ID:  <20110428150110.GG2800@ossumpossum.geop.uc.edu>
In-Reply-To: <4DB97A07.2020606@sentex.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, Apr 28, 2011 at 10:30:31AM -0400, Mike Tancsa wrote:
> On 4/28/2011 10:15 AM, Adam Stylinski wrote:
> 
> > 
> > em0: <Intel(R) PRO/1000 Legacy Network Connection 1.0.3> port 0xe800-0xe83f mem 0xfe9e0000-0xfe9fffff,0xfe9c0000-0xfe9dffff irq 20 at device 5.0 on pci7
> > em0: [FILTER]
> 
> 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
> 
> 	---Mike
> 
> 
> -- 
> -------------------
> 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/

./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 seconds.  

So to do the math: 
(32768*2210)/(1024*1024)
69.06250000000000000000MB/sec?  This is still only saturating about half the link speed.


-- 
Adam Stylinski
PGP Key: http://pohl.ececs.uc.edu/~adam/publickey.pub
Blog: http://technicallyliving.blogspot.com

[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110428150110.GG2800>