Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Code to measure throughput of Gigabit Ethernet (UDP)

Posted on 2011-09-15
6
Medium Priority
?
622 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 84

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 84

Accepted Solution

by:
Dave Baldwin earned 1500 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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 84

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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 connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

609 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