Main Menu

Search

LINUX - RDS-STRESS COMMAND TESTS TO TEST RDS CONNECTIONS BETWEEN TWO HOSTS OVER A SPECIFIC PORT 

Following are steps for running RDS stress test between Linux hosts

On the host which you want to act as server run below command. 
 
# rds-stress -v -p 5050 
 
With above command on host acting as server we are starting rds-stress with verbose option and on port 5050. You will see below line where it says it is waiting for connections. 
 
        waiting for incoming connection on 0.0.0.0:5050 
 
On the client from which you want to connect to the client run rds-stress command as follows to connect to server over port 5050. 
 
rds-stress -r 172.XX.0.49 -s 172.XX.0.1 -p 5050 
 
In this case the IP for -r will be the local IP on the client from which you want to do rds-stress test. IP for -s will be the server ip which is listening for rds-stress test connections. 
 
With rds-stress test running you will be seeing outputs as follows: 
 
On client you will see below traces
 
rds-stress -r 172.XX.0.49 -s 172.XX.0.1 -p 5050 
connecting to 172.XX.0.1:5050 
negotiated options, tasks will start in 2 seconds 
Starting up.... 
tsks   tx/s   rx/s  tx+rx K/s    mbi K/s    mbo K/s tx us/c   rtt us cpu % 
   1  13843  13851   29394.33       0.00       0.00    3.40    62.54 -1.00 
   1  14074  14081   29884.17       0.00       0.00    3.40    61.40 -1.00 
   1  13910  13918   29536.50       0.00       0.00    3.39    62.18 -1.00 
   1  14022  14029   29773.49       0.00       0.00    3.41    61.62 -1.00 
   1  14204  14208   30156.57       0.00       0.00    3.34    60.87 -1.00 
 
On server you will be below traces when the test is running.
 
# rds-stress -v -p 5050 

waiting for incoming connection on 0.0.0.0:5050 
accepted connection from 172.XX.0.49:41806 on 172.XX.0.1:5050 
negotiated options, tasks will start in 2 seconds 
Starting up.... 
tsks   tx/s   rx/s  tx+rx K/s    mbi K/s    mbo K/s tx us/c   rtt us cpu % 
   1  13862  13855   29390.80       0.00       0.00    3.79    59.80 -1.00 
   1  14093  14086   29880.22       0.00       0.00    3.71    58.82 -1.00 
   1  13932  13923   29536.01       0.00       0.00    3.87    59.51 -1.00 
   1  14042  14035   29776.73       0.00       0.00    3.71    59.01 -1.00 
   1  14223  14219   30158.89       0.00       0.00    3.63    58.29 -1.00 
--------------------------------------------- 
   1  14015  14008   29748.53       0.00       0.00    3.75    59.14 -1.00  (average) 
 
 

Products to which Article Applies

All Linux OS’s using Infiniband Networks

Search Keywords: rds rds-stress IB

Article Author: Tarun Boyella

No comments:

Post a Comment