Solved

Code to measure throughput of Gigabit Ethernet (UDP)

Posted on 2011-09-15
6
587 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

770 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