Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Leader
Leader

testing throughput on GAiA

Hello checkmates,

is there some tool available in GAiA to test the throughput / bandwith beetween two gateways.

Something like "iPerf" or similar on the command line?

Thanks

Wolfgang 

0 Kudos
7 Replies
Highlighted
Advisor

0 Kudos
Highlighted
Leader
Leader

Thanks Mike,

 

funny thing, same question...

But I'm looking for the connection between two GAiA gateways, not from a gateway to the internet.

SCP is possible but if you have a bigger line between the gateway SCP is the limitation of the throughput.

I found "netcat" is available in GAiA an with this you can copy data from one gateway to another. This will work but it's not nice to use.

receiving gateway:

nc -v -v -l -n -p 2222 >/dev/null

 

sending gateway :

time yes|nc -v -v -n x.x.x.x 2222 >/dev/null
x.x.x.x 2222 (rockwell-csp2) open
Exiting.
Total received bytes: 0
Total sent bytes: 2277M (2277199872)  (you must convert this to bits and divide by the time running the test, result is around 300Mbit/s in this case for 1minute)

 

Any other ideas?

Wolfgang

Highlighted

Hi @Wolfgang,

The question is, what exactly do you want to test? 

In principle, there are several performance metrics:

  • Throughput (Bandwidth)
  • Connection rate
  • Packet rate
  • Concurrent connections
  • Latency

What exactly do you want to test? 

There are standardized test procedures according to RFC for this:

 

Throughput

Connection rate

Packet rate

Concurrent connections

Latency

RFC

RFC3511 5.1.4.1

RFC3511

5.3.1

RFC3511 5.1.4.1

RFC3511 5.2.4.2

RFC2544

26.2

Units

bit/s

Connections/s

Packets/s

Absolute number

(m)s

Testing conditions

Large UDP

Small TCP

Small UDP

Small TCP

Small UDP

Bottleneck

Bus, Interfaces

CPU

CPU

Memory

Bus, Interfaces, CPU

Tags (1)
Highlighted

Highlighted
Leader
Leader

Thanks HeikoAnkenbrand  for your reply.

My problem is not the performance of the gateway. I‘ve to check the WAN link. We are observing some issues over a MPLS link and we having problems getting the needed throughput. Last device in my hands are the gateways, all others between are from the provider. If I can get the needed throughput between my gateways the MPLS link will be ok.

As I wrote, I got my results with netcat, but a better solution would be nice to have.

best regards

Wolfgang

Highlighted

I use iPerf for throughput testing.

Link: 

iperf.fr 

Tags (1)
Highlighted
Leader
Leader

Heiko,

I use this too, but with devices behind the gateway.

Does iperf run on GAiA ?

Wolfgang

0 Kudos