Solved

Code to measure throughput of Gigabit Ethernet (UDP)

Posted on 2011-09-15
6
597 Views
Last Modified: 2013-11-13
Hi!

I am not sure what is the best zone for this question.

I want to measure throughput of Gigabit Ethernet (UDP).  I do not want to use an external tool.

1) If I connect 2 Windows PCs directly, and try to transmit "tons of data in one direction", what is maximal expected throuput (Using Fullduplex gigabit Ethernet) ?
2) If I connect 2 Windows PCs through a "good gigabit Ethernet switch", and try to transmit "tons of data in one directions", what is maximal expected throuput (Using Fullduplex gigabit Ethernet) ?
3) If I connect 2 Windows PCs directly, and try to transmit "tons of data in both directions", what is maximal expected throuput (Using Fullduplex gigabit Ethernet) ?
4) If I connect 2 Windows PCs through a "good gigabit Ethernet switch", and try to transmit "tons of data in both directions", what is maximal expected throuput (Using Fullduplex gigabit Ethernet) ?

Is there some where a C/C++ code which gives the answer for the above questions ?
Later I would like to run the same code on 100 Mbit Fullduplex Ethernet, and 10 Gbit Fullduplex Ethernet.
Later I want to compare the results to Infiniband.

I am not interested in precise result, just Tipical throuput.


This question is continuing a previous question. See Prev_Question  for more details..


Thanks
zmau
0
Comment
Question by:zmau
  • 3
  • 3
6 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36544852
You might want to take a look at http://www.totusoft.com/lanspeed1.html before you write your own.  I had seen this before and forgot about it.  I just downloaded it and I'm going to try it myself.  I'll let you know if there are problems.
0
 
LVL 1

Author Comment

by:zmau
ID: 36544861
I am "on the door". I'll test it after the weekend.

zmau
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 36544994
http://www.totusoft.com/lanspeed1.html is a very interesting program.  It doesn't require installation, just runs from the EXE.  It writes a file to a destination and then reads it back while measuring the throughput both directions.  That's probably what you want because that will include the file system and anti-virus and any other system overhead in the process.  I noticed that sometimes it would slow way down.  Also that it makes a difference which computer initiates the test.  On one computer I got 5MBytes p/s upload and 10MBytes p/s download.  If I measured from the other computer (reversed the path), I got 9MBytes p/s upload and 10MBytes p/s download.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 1

Author Comment

by:zmau
ID: 36556430
Hi,

I had not tested the program yet (I am soon going to do it).
I wonder if there is a code which I can read/change ?


Maurice
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36556968
I don't think they offer code because they have a commercial version also.  I'd try the program first since it takes less than 5 minutes to download it and use it.  Could save you a lot of time.
0
 
LVL 1

Author Comment

by:zmau
ID: 36939022
Unfortunatley I could not test the answer yet.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question