using multiple iperf instances for performance testing

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support using multiple iperf instances for performance testing
# 1  
Old 08-27-2010
using multiple iperf instances for performance testing

Hello all!

I have the need to performance-test a MPLS switch, I was thinking of using iperf to accomplish the task.

I had in mind using a linux box with a Gigabit interface connected to a L2 switch on a 802.1Q trunk. In the interface I would create 20 VLANs with 20 different IP subnets.

With that set, I was thinking of running 20 different iperf client instances to send 20 different, constant IP packet streams. The L2 switch would open the VLAN tags and send each different VLANs upstream to the MPLS switch through different ports.

Each VLAN would arrive in different VRF-connected interfaces, accomplishing what I am required to do so. The MPLS switch would then deliver it to a second switch, where I would have another linux box running another 20-iperf instances

I need help mainly with setting the 20 different iperf instances (both client-side and server-side).

Regards,

Persio
# 2  
Old 08-30-2010
Since no one has answered this in 2 days, I'm going to go ahead and give more general advice. I know nothing about iperf, 802.1Q, MPLS, VRF etc...

What are you actually having trouble with? What is happening that you don't expect to happen? Are you asking for help solving a particular problem or are you asking for strategic advice for the best way to performance test a MPLS switch (whatever that is...)?

Good luck
-Pileofrogs

P.S. Okay, I looked up iperf & MPLS and I think you're asking "how do I make 20 instances of iperf work at the same time?" Since you're attaching to these 20 different virtual interfaces, you'd just need to tell the server end which ip to bind to. EG iptraf -s -B 192.168.0.1 & iptraf -s -B 192.168.1.1, etc....

Last edited by pileofrogs; 08-30-2010 at 05:07 PM..
# 3  
Old 12-28-2010
using multiple iperf instances

Hi ppucci,

Multiple iperf instances would work for what you want. I'm assuming that you're using VLAN sub-interfaces (e.g. eth0.1234) since you mentioned 802.1q trunking to your interface.

On the recieve (server) side you can run a single iperf instances that will bind to all interfaces (this is the normal 'iperf -s' behavior), or exec multiple iperf servers, each using -B to bind to a specific interface (for finer-grained logging and control) as pileofrogs mentioned.

To state the obvious: your 20 iperf streams will each be ~50Mbit; This may be fine for switch testing, but mentioning in case your trying to e.g. saturate a multiple port Gigabit switch fabric.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Performance testing - training content

Hi Everyone, My company is involved in performing performance testing and now they want to perform couple of training related with executing those tests on the servers based on Unix sytems. And I have to provide them draft of the content for those trainings. I think this kind of training... (2 Replies)
Discussion started by: Bartuss
2 Replies

2. Programming

Control multiple program instances - open multiple files problem

Hello. This shouldn't be an unusual problem, but I cannot find anything about it at google or at other search machine. So, I've made an application using C++ and QtCreator. I 've made a new mime type for application's project files. My system (ubuntu 10.10), when I right click a file and I... (3 Replies)
Discussion started by: hakermania
3 Replies

3. IP Networking

using multiple iperf instances for performance testing

Hello all! I have the need to performance-test a MPLS switch, I was thinking of using iperf to accomplish the task. I had in mind using a linux box with a Gigabit interface connected to a L2 switch on a 802.1Q trunk. In the interface I would create 20 VLANs with 20 different IP subnets. ... (0 Replies)
Discussion started by: ppucci
0 Replies

4. Linux

Doubt about programs for testing Linux performance

Hello friends, I'm working on a Thesis and right now I'm in a phase of comparing a Linux vs Windows performance in similar situations on the same machine. I'm asking here because I would like help on this, since I've always worked in Linux as an Administrator and a user, never as a... (6 Replies)
Discussion started by: lzcool
6 Replies

5. Web Development

Suggested tool / approach for performance testing

What is a good approach for a performance testing tool suite for web applications? I am specifically interested in tools that execute a certain set of tasks well as opposed to tuning high traffic sites. In other words, a profiler would be a good idea to have, although I understand these tools are... (4 Replies)
Discussion started by: figaro
4 Replies

6. AIX

Performance testing on AIX

I'm doing performance testing for one application which works on AIX. But I don't know which performance parameters of memory need to be collected. Now, I just know very few: 1. page in 2. page out 3. fre They are all collected by "vmstat" command. I want to know, except for above... (2 Replies)
Discussion started by: adasong
2 Replies

7. UNIX for Advanced & Expert Users

multiple instances of syslogd - is it possible?

I would like to start up multiple instances of syslog daemon. I am having a little difficulty. Is this at all possible? I have separate syslog.conf1.... syslog.conf5 files. I have linked the daemon to separate files syslogd1 ... syslogd5 I have arranged the rcd.2 start/stop scripts for... (9 Replies)
Discussion started by: Gary Dunn
9 Replies
Login or Register to Ask a Question