?
Solved

How to use TTCP from router to router to test 100Mbps link?

Posted on 2009-04-07
2
Medium Priority
?
5,821 Views
Last Modified: 2012-05-06
Hello
I'm trying to find information on how to use TTCP and enter the right
information in order to calculate the speed of a 100 Mbps link. The test
will be  taken from router to router but am not sure on which settings (or
should i use default settings ex: nbuffers 2048 , buflen 8192 etc..)should
be used for a link at that speed (100Mbps)and how to calculate the readings
properly in order to get an accurate reading. I have found these documents
but am still a little confused on how to do this and get accurate results
and how to enter the right configurations and which numbers to use in the
calculation again for a 100Mbps link.
Here are the documents that i have checked:
 Using Test TCP (TTCP) to Test Throughput
 http://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a008009
 4694.shtml
 and
 Network Performance Testing with TTCP
 http://www.netcordia.com/tnm/tnm31/ttcp.htm
 Like i mentionned before the tests will done from router to router and not
 from router to pc.
 Thanks for any help with this issue.
0
Comment
Question by:ibanez7
[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
  • 2
2 Comments
 

Accepted Solution

by:
ibanez7 earned 0 total points
ID: 24098629
Hello again.
Since i am not getting a reply i figured i would add a little info in order to clarify a bit what i am trying to do.
We took readings using TTCP on cisco 2851 (routers at both sites, from router to router) to test the link and here are the results.
Note: i did change the addresses and used only the default configs while performing the tests.
I was the transmitter at first then on second test i was the receiver(again we used the default settings).
In the example below of the first test,  i used the results of my transmitted document with the results of the received document from the other end in order to perform the calculations.(is this correct?)

MontrealISR#ttcp
transmit or receive [receive]: trans
Target IP address: 11.3.255.90
perform tcp half close [n]:
send buflen [8192]: *****USE THIS NUMBER MULTIPLIED BY THE BUFFER NUMBER*** -----------|2048 BUFFERS X 8192 BYTES
send nbuf [2048]:   *****USE THIS NUMBER FOR BUFFER NUMBER CALCULATION***CORRECT?------|= 16,777,216 BYTES
bufalign [16384]:                                                                    
bufoffset [0]:
port [5001]:
sinkmode [y]:
buffering on writes [y]:
show tcp information at end [n]:

ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001  tcp  -> 11.3.255.90
ttcp-t: connect (mss 1460, sndwnd 4128, rcvwnd 4128)
ttcp-t: 16777216 bytes in 21460 ms (21.460 real seconds) (~762 kB/s) +++
ttcp-t: 2048 I/O calls
ttcp-t: 0 sleeps (0 ms total) (0 ms average)

TorontoISR#ttcp
transmit or receive [receive]:
*Apr  5 11:26:44.287: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
perform tcp half close [n]:
receive buflen [8192]:
bufalign [16384]:
bufoffset [0]:
port [5001]:
sinkmode [y]:
rcvwndsize [4128]:
delayed ACK [y]:
show tcp information at end [n]:

ttcp-r: buflen=8192, align=16384/0, port=5001
rcvwndsize=4128, delayedack=yes  tcp
ttcp-r: accept from 10.3.255.89 (mss 1460, sndwnd 4128, rcvwnd 4128)
ttcp-r: 16777216 bytes in 21460 ms (21.460 real seconds) (~762 kB/s) +++  ***USE THE REAL SECONDS FOR THE CALCULATIONS
ttcp-r: 8548 I/O calls    ****USE THIS NUMBER FOR THE IP PACKETS IN THE CALCULATIONS
ttcp-r: 0 sleeps (0 ms total) (0 ms average)                                          

2048 buffers * 8192 bytes = 16,777,216 bytes
8548 IP packets * 40 bytes of header = 341,920 bytes
Total data transmitted = 17,114,816 bytes     *****NOW ADD BOTH FOR A TOTAL*****  16,777,216 BYTES + 341,920 bytes  = 17,119,136 BYTES  
17,119,136 BYTES  * 8 bits/byte = 136,953,088 bits  
136,953,088 bits  / 21.460 seconds =   6,381,784.157 bits/second

6,381,784.157 bits/second / 1024 = Kbps
6,232.21 Kbps
6,232.21 Kbps / 1024 = Mbps
6.09 Mbps  ****THIS SHOULD BE A 100Mbps link but the speed on the interface is set at:       duplex full, speed 10
So i`m wondering is this what i am actually getting? or are my calculations way off track?or should i use different settings
instead of default settings when configuring the test?

Again thanks you for any help with this.
0
 

Author Comment

by:ibanez7
ID: 24149757
still no answer or help so i wil close the question
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…
Suggested Courses

801 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