Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2011 11:27:40 -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:  <20110428152740.GB19362@ossumpossum.geop.uc.edu>
In-Reply-To: <4DB985FC.4000704@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> <20110428150110.GG2800@ossumpossum.geop.uc.edu> <4DB985FC.4000704@sentex.net>

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

--tjCHc7DPkfUGtrlw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 28, 2011 at 11:21:32AM -0400, Mike Tancsa wrote:
> On 4/28/2011 11:01 AM, Adam Stylinski wrote:
> >=20
> > ./netblast 192.168.0.121 5001 32768 30
> >=20
> > start:             1304002549.184689025
> > finish:            1304002579.187555311
> > send calls:        2163162
> > send errors:       2095950
> > approx send rate:  2240
> > approx error rate: 0
> >=20
> > ? 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. =20
> >=20
> > So to do the math:=20
> > (32768*2210)/(1024*1024)
> > 69.06250000000000000000MB/sec?  This is still only saturating about hal=
f the link speed.
>=20
> Just to be clear, you have something listening on the other side on port
> 5001 right ?  ie on 192.168.0.121, you did a ./netreceive 5001... And
> the payload is.... 32768 ?!? Try something that does not need
> fragmentation and is within your max MTU.  e.g. 500 byte frames should
> saturate a gigabit link.
>=20
> Watch it in real time with something like ifstat
>=20
> ./netblast 192.168.0.121 5001 500 5
>=20
> 	---Mike
>=20
>=20
>=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/

Listening with iperf on the other end.  The receiving end is a Linux machin=
e, but the code looks to be mainly portable socket code so let me compile n=
etreceive on the linux box and give you the results.
--=20
Adam Stylinski
PGP Key: http://pohl.ececs.uc.edu/~adam/publickey.pub
Blog: http://technicallyliving.blogspot.com

--tjCHc7DPkfUGtrlw
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iQIcBAEBAgAGBQJNuYdsAAoJED6sRHE6TvmnbAgQAM3Cp2FgAc2EQW1ZKBSNOOiK
a6srQTqT8E+ajW9vYbL3ZVMSJ0NHGlVHH4VBJaAIB2yvLmbmELqIMp7Ko4Huww6U
bppjOH81gnn4nlPFR31e4OpxeLP+Er0aZMZ6BdB54TvpG6SrdatZJN9MXoynjkCd
QtjA8BwVDwR7okA2XGQQfCGAKVZTOTCoEo/1BezizLe2cdKo3SR3gOojJCPUQBDF
wKP05KL8l5SsQN+gARnEPM9MbpsXR8Ye2qeKCT8lwlns27LJNSnq/A3YzTJQjT/R
Ez+2DAL2bcvzQshesVIgr8qpaB0Min5hYcQvnm4RmDl78SUhvMtWliE2ms0AIoVm
/4jhcojCqvKiTmLPRooTgjjUerLz6c3beKb/KDI4SnfuP6iqOaXJ+TLJa8H0ZAZV
wfpXvP1eCa2cygMW2HpuirkPL7a+oZwmCJ6gj8y57LTbJ1fmvdYn1dhm2AuGibrx
d1mD/LHfGPAswIHPreH93NhFdyeV/6IfhlslDn2nhgfkFqMbAFpTx4x5VEiU+lil
vCoLAsZMQ13HSZTtaG/ehNyHvsn5nMPZ17OilDu7dqTHLY2Iv2GcnJ1Yva/xyo9M
q6kzJc/GewkWKTsMzJHuQZzWXY2YmjCwaaOH6FLp3H1sHJFunsFRCrDL12RvqVf2
5XzZlP7DbD222aSdDpLr
=5jgC
-----END PGP SIGNATURE-----

--tjCHc7DPkfUGtrlw--



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