Testing Bandwidth performance
What are some tools to test bandwidth perfomance? I've used iperf, but are there other tools or ways to generate traffic for testing purposes to see a links maximum capacity? Especially greater than a 100mb. Alan
AS> Date: Tue, 25 Jun 2002 20:02:56 -0700 AS> From: Alan Sato AS> What are some tools to test bandwidth perfomance? I've used AS> iperf, but are there other tools or ways to generate traffic AS> for testing purposes to see a links maximum capacity? AS> Especially greater than a 100mb. pchar Not terribly accurate on certain links, but I think that's the nature of the beast. Jitter makes bandwidth measurements a tedious and error-prone process. Eddy -- Brotsman & Dreger, Inc. - EverQuick Internet Division Bandwidth, consulting, e-commerce, hosting, and network building Phone: +1 (785) 865-5885 Lawrence and [inter]national Phone: +1 (316) 794-8922 Wichita ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Date: Mon, 21 May 2001 11:23:58 +0000 (GMT) From: A Trap <blacklist@brics.com> To: blacklist@brics.com Subject: Please ignore this portion of my mail signature. These last few lines are a trap for address-harvesting spambots. Do NOT send mail to <blacklist@brics.com>, or you are likely to be blocked.
I've found IPERF to work quite well. TTCP is also great. For a commercial solution, you may want to look for products from companies such as IXIA. ----- Original Message ----- From: "Alan Sato" <asato@altrio.net> To: <nanog@trapdoor.merit.edu> Sent: Tuesday, June 25, 2002 11:02 PM Subject: Testing Bandwidth performance What are some tools to test bandwidth perfomance? I've used iperf, but are there other tools or ways to generate traffic for testing purposes to see a links maximum capacity? Especially greater than a 100mb. Alan
At 11:30 PM 6/25/2002 -0400, Wojtek Zlobicki wrote:
I've found IPERF to work quite well. TTCP is also great. For a commercial solution, you may want to look for products from companies such as IXIA.
Whatever happened to using NTP between sites? Works well if you have clocks at each site. Sorta works on strat 1/2 no clock.
I think they are talking about generating an OC3s worth of traffic. while you could fill it all up w/ ntp packets as one method, I do not beleive it will create the desired result. but yes, if you are wanting to measure latency across your network or a circuit, ntp when properly synchronized can be quite a useful tool. - jared On Wed, Jun 26, 2002 at 01:02:29AM -0400, Martin Hannigan wrote:
At 11:30 PM 6/25/2002 -0400, Wojtek Zlobicki wrote:
I've found IPERF to work quite well. TTCP is also great. For a commercial solution, you may want to look for products from companies such as IXIA.
Whatever happened to using NTP between sites? Works well if you have clocks at each site. Sorta works on strat 1/2 no clock.
-- Jared Mauch | pgp key available via finger from jared@puck.nether.net clue++; | http://puck.nether.net/~jared/ My statements are only mine.
At 01:02 AM 6/26/2002 -0400, Jared Mauch wrote:
I think they are talking about generating an OC3s worth of traffic. while you could fill it all up w/ ntp packets as one method, I do not beleive it will create the desired result.
but yes, if you are wanting to measure latency across your network or a circuit, ntp when properly synchronized can be quite a useful tool.
I'm not sure what you are saying regarding filling up an OC3 with NTP, but i do know you can calculate simple latency I believe, measurements from normal NTP = but strategically analyzed from remote sources and correctly configured i.e. all s/1 or s/2 with drift. I wont' say I'm the expert at this, I'm the bb wiretap guy :), not the ntp latency guy.......but I've been around a bit. -M
Hi All - Just to prove to the list's management that I am a techie too I submit the following - ----- Original Message ----- From: "Martin Hannigan" <hannigan@fugawi.net> To: "Jared Mauch" <jared@puck.Nether.net> Cc: "Wojtek Zlobicki" <wojtekz@idirect.com>; "Alan Sato" <asato@altrio.net>; <nanog@trapdoor.merit.edu> Sent: Tuesday, June 25, 2002 10:17 PM Subject: Re: Testing Bandwidth performance
At 01:02 AM 6/26/2002 -0400, Jared Mauch wrote:
I think they are talking about generating an OC3s worth of traffic. while you could fill it all up w/ ntp packets as one method, I do not beleive it will create the desired result.
but yes, if you are wanting to measure latency across your network or a circuit, ntp when properly synchronized can be quite a useful tool.
I'm not sure what you are saying regarding filling up an OC3 with NTP,
Unicast or Multicast/Broadcast? Either way it will be difficult, and take any number of computers to do.
but i do know you can calculate simple latency I believe, measurements from normal NTP = but strategically analyzed from remote sources and correctly configured i.e. all s/1 or s/2 with drift.
This is not so true for you folks though, NTP assumes that the outbound trip is identical to the inbound trip and with routing agreements (hot potato and otherwise) and the Routing Arbiter, this simply is not true anymore. So the 1/2 time alg. doesn't quite work right these days.
I wont' say I'm the expert at this, I'm the bb wiretap guy :), not the ntp latency guy.......but I've been around a bit.
Well - I am one of the NTP latency guy's, and I personally operate three (3) of NIST's stratum-1 public access time servers... And I would not use NTP. As it happens most all NTP users really don't understand the NTP weighting or the physic's of impulse time propagation. Besides what you are looking for is not "exact information" as to the Time of Day, but the elapsed time between any two nodes of a network from the point of the commencement of your test. What you want is really a precision heartbeat and there is no better place to get one than from GPS unless you have your own local oscillator backed clocks and a regimen to keep them properly tuned and synched. My favorite way to achieve this is to get two GPS-backed clocks together and then count the bytes... Remember that packet sizes must vary too otherwise the routers get lazy. BTW - GPS offers lousy reliability as an absolute timebase because of how easy it is to spoof or shutdown in denial-of-service, and that it is physically impossible to prove anything from a GPS source for what should be obvious reasons (i.e. there are a number of passive beams of data that are correlated by the receiver and so never reproducible), but when it (GPS) is operating properly it provides the coolest 1PPS heartbeat. The heartbeat of the US Government so to speak. And as it happens, most all of the GPS Birds in orbit (24 of them) have at least Datum Cesium Beam Atomic Clocks or Datum Rubidium Clocks. So if you need critically accurate and provable time of day, what you do is to take what is called an "Initialization Event" from ACTS or other reliable timesetting instance, and that is jam-set into the clock's control register and you run from there. From that point on there are any number of methods of disciplining the clock base. Oh and use something like a SNIFFER to generate the traffic. Most of what we know of as commercial computer's cannot generate more than 70% to 80% capacity on whatever network they are on because of driver overhead and OS latency etc etc etc. It was funny, but I remember testing FDDI on a UnixWARE based platform and watching the driver suck 79% of the system into the floor. Yehaaaaaaaaah! Todd Glassey
-M
On Wed, Jun 26, 2002 at 06:18:00AM -0700, todd glassey mooed:
Oh and use something like a SNIFFER to generate the traffic. Most of what we know of as commercial computer's cannot generate more than 70% to 80% capacity on whatever network they are on because of driver overhead and OS latency etc etc etc. It was funny, but I remember testing FDDI on a UnixWARE based platform and watching the driver suck 79% of the system into the floor.
Btw, if you've got a bit of time on your hands, the Click router components have some extremely-low-overhead drivers (for specific ethernet cards under Linux). They can generate traffic at pretty impressive rates. They used them for testing DOS traffic for a while. http://pdos.lcs.mit.edu/click/ (Most of the driver overhead you see is interrupt latency; click uses an optimized polling style to really cram things through). Also, the new FreeBSD polling patches should make it so you can get more throughput from your drivers when doing tests. I understand there are similar things for Linux. -Dave -- work: dga@lcs.mit.edu me: dga@pobox.com MIT Laboratory for Computer Science http://www.angio.net/
----- Original Message ----- From: "David G. Andersen" <dga@lcs.mit.edu> To: "todd glassey" <todd.glassey@worldnet.att.net> Cc: "Jared Mauch" <jared@puck.Nether.net>; "Martin Hannigan" <hannigan@fugawi.net>; "Wojtek Zlobicki" <wojtekz@idirect.com>; "Alan Sato" <asato@altrio.net>; <nanog@trapdoor.merit.edu> Sent: Wednesday, June 26, 2002 6:30 AM Subject: Re: Testing Bandwidth performance
On Wed, Jun 26, 2002 at 06:18:00AM -0700, todd glassey mooed:
I have never been referred to as bovine before. I usually describe myself as a small polar bear... Hmmm.
Oh and use something like a SNIFFER to generate the traffic. Most of
what we
know of as commercial computer's cannot generate more than 70% to 80% capacity on whatever network they are on because of driver overhead and OS latency etc etc etc. It was funny, but I remember testing FDDI on a UnixWARE based platform and watching the driver suck 79% of the system into the floor.
Btw, if you've got a bit of time on your hands, the Click router components have some extremely-low-overhead drivers (for specific ethernet cards under Linux).
Good Point.
They can generate traffic at pretty impressive rates. They used them for testing DOS traffic for a while.
Still there are very few parametric engines that will generate more than 100Mb/S traffic - continuously.
(Most of the driver overhead you see is interrupt latency;
Depends on which OS you are running, and what encapsulation or other packaging/unpackaging is done in the Driver also accounts for a substantial amount of the compute model. If those services are done mostly in HW then the systems I have played with will give you up to about 80% capacity. And on ethernet that is not Collision-Free (i.e.run as full duplex), then you have to deal with the line characteristics so with both engines competing to flood the net you may actually get less than 80% total performance...
click uses an optimized polling style to really cram things through). Also, the new FreeBSD polling patches should make it so you can get more throughput from your drivers when doing tests. I understand there are similar things for Linux.
The Linux Router Project has similar features.
-Dave
-- work: dga@lcs.mit.edu me: dga@pobox.com MIT Laboratory for Computer Science http://www.angio.net/
On Wed, 26 Jun 2002 01:02:29 EDT, Martin Hannigan <hannigan@fugawi.net> said:
Whatever happened to using NTP between sites? Works well if you have clocks at each site. Sorta works on strat 1/2 no clock.
That will give you latency for a specific fixed packet size, which may not be at all correlated with actual bandwidth. You basically end up having to assume that any jitter in the RTT is based on queues in the routers along the way and from that extrapolate what the bandwidth was. And of course, the first time you hit a provider that does traffic engineering that moves NTP packets to the front of the queue so as to minimize the jitter, the measurement becomes useless for bandwidth management... -- Valdis Kletnieks Computer Systems Senior Engineer Virginia Tech
On Tue, Jun 25, 2002 at 08:02:56PM -0700, Alan Sato mooed:
What are some tools to test bandwidth perfomance? I've used iperf, but are there other tools or ways to generate traffic for testing purposes to see a links maximum capacity? Especially greater than a 100mb.
CAIDA lists them better than I can: http://www.caida.org/tools/taxonomy/performance.xml Though I'll editorialize: For more than 100Mbits, you're moderately out of luck. Not many of the tools work really well over 100Mbits (or haven't been evaluated over 100Mbits...). But play with 'em and run 'em on a fast workstation, it'd be interesting to hear what you find. -Dave -- work: dga@lcs.mit.edu me: dga@pobox.com MIT Laboratory for Computer Science http://www.angio.net/
On Tue, 25 Jun 2002, Alan Sato wrote:
What are some tools to test bandwidth perfomance? I've used iperf, but are there other tools or ways to generate traffic for testing purposes to see a links maximum capacity? Especially greater than a 100mb.
Realistically, you will need commercial hardware/software to do this properly. Smartbits, Shomiti, are two examples (Shomiti is less than user friendly, but the thing can do almost anything)
Alan
-- Yours, J.A. Terranson sysadmin@mfn.org If Governments really want us to behave like civilized human beings, they should give serious consideration towards setting a better example: Ruling by force, rather than consensus; the unrestrained application of unjust laws (which the victim-populations were never allowed input on in the first place); the State policy of justice only for the rich and elected; the intentional abuse and occassionally destruction of entire populations merely to distract an already apathetic and numb electorate... This type of demogoguery must surely wipe out the fascist United States as surely as it wiped out the fascist Union of Soviet Socialist Republics. The views expressed here are mine, and NOT those of my employers, associates, or others. Besides, if it *were* the opinion of all of those people, I doubt there would be a problem to bitch about in the first place... --------------------------------------------------------------------
participants (9)
-
Alan Sato
-
David G. Andersen
-
E.B. Dreger
-
Jared Mauch
-
Martin Hannigan
-
measl@mfn.org
-
todd glassey
-
Valdis.Kletnieks@vt.edu
-
Wojtek Zlobicki