LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-27-2012, 01:55 AM   #1
anunays
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
Network Performance Analysis


I want to benchmark my DUT network performance.
At the system level with linux kernel, I am using iperf and nuttcp utilities(DUT connected to Linux Machine) to analyse the througput.
Getting very less througput. Apart from the TCP/Ip stack and other things in linux kernel, I doubt on my network card on the linux macine that it is not providing full wirespeed(1Gbps) data to my DUT.
Anyone knows any network analyzer that can be used to measure the network throughput at system level.
regards,
Anunay
 
Old 07-29-2012, 03:39 PM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
iperf will run at gig wirespeed, I use it at work. You need a 1G processor or greater and you need PCI-64 or PCI-E network card as a standard PCI card won't cut it as PCI won't keep up.

Drivers can be an issue, as can other things using system processes. I normally run iperf as the highest priority process using nice.

You also need to be aware of the fact that TCP throughput is limited by the transmission window. A default windows of say 8K, will definitely not fill 1G even with low latencies, so you need to make sure you are using larger window settings and assign big enough buffers, iperf lets you play with these things and they will have an effect.
 
Old 07-29-2012, 11:45 PM   #3
anunays
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the responce Pete!!

Yes, I later reailised the mistake of using standard 32bit PCI.
I updgraded tp PCI-E, on my windows machine and used iperf via cygwin. This also didnt improve.
I will try same with Linux machine and your suggestions of TCP window size and task priority.

Right now two big questions:
i) How to know if it is my PC which is the bottle neck, because of which I am not able to pump data at required rate on to my DUT to test its performance?
ii) Is there any network analyzer that can replace PC in such tests? e.g. I have been using IXIA N2X for performance measurements at L2 level. But here I think I need an analyzer that can work at application level.

--
Anunay
 
Old 07-30-2012, 03:37 PM   #4
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
you can get iperf natively on both windows and linux, you shouldn't need to use emulation. That might well cause a problem.

You can try running each PC to itself by pointing the client at localhost (127.0.0.1), which might highlite one machine as behaving oddly.Or if you have a third machine its likely that the problem is only with one of them so you can trade the three off against each other until you identify the odd one out.

There are hardware specific test devices available to buy but unless your going to be using it all the time its gonna be expensive.
 
1 members found this post helpful.
Old 07-30-2012, 11:46 PM   #5
anunays
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Trying iperf with local host.. I have an apprehension about this..
May be in this case the underlying network driver will not pass the packets from iperf through all layers and it might have an internal loopback may be at IP level.
I will give it a try...

Regarding the test devices, my company is ready to buy one.
Is there some test equipment that can act as an NIC and Iperf can route the data through it?
For test equipments I think we can be sure about their performance compared to linux/windows PC.

------
Anunay
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Performance analysis on embedded systems SiDeep Linux - Embedded & Single-board computer 2 07-15-2011 04:51 PM
performance analysis of tora protocol! sneha123 Linux - Newbie 5 06-17-2011 08:12 AM
LXer: UNIX network performance analysis LXer Syndicated Linux News 0 09-10-2009 04:41 AM
performance analysis in redhat server 5 dnyanesh.3 Linux - Newbie 1 02-17-2009 03:31 AM
Performance Analysis of VPN Protocols Smooth Linux - Security 1 10-11-2003 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration