Solved

Code to measure throughput of Gigabit Ethernet (UDP)

Posted on 2011-09-15
6
571 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 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
Comment Utility
I am "on the door". I'll test it after the weekend.

zmau
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Author Comment

by:zmau
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
Comment Utility
Unfortunatley I could not test the answer yet.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now