Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Single-ended everse nuttcp test fails

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Single-ended everse nuttcp test fails


Chronological Thread 
  • From: "Uhl, George D. (GSFC-423.0)[Arctic Slope Technical Services, Inc.]" <>
  • To: "" <>
  • Subject: [perfsonar-user] Single-ended everse nuttcp test fails
  • Date: Thu, 22 Apr 2021 19:36:29 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nasa.gov; dmarc=pass action=none header.from=nasa.gov; dkim=pass header.d=nasa.gov; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wRZKcESqpDEXerjs8lPOuEVDiA+pkFOMLTBz0veE7Zk=; b=ACIFTGaiPADTNyQaZCzVPQxeyS2DvaaL8936PVxPBG6IQitI/MPY2IfFmkfzdJBOhNb5pon1AJKL74moBvto6l+U4/GtjTo8CLniV9MGc9u0rhnPSTCCtWnAqI1rnv6HPc61tM57KEpYhdXsMX4Q37jngWVTMXf2Z0IBKMjMywRwnAlbSzhKoOjf6U8b8/JoyeGQ0hBF46jMvW4PftyYDCkTY4kvLsWCDCO9iLM6l5P5bdzcnzpzkIoVYrzTFHUR5wC1WIZg++QmklW6TDmroQUE9+eFyWEjRkGqyBCL/r+hIWk8dUNjn73H1t0nDlzStgfZVmQrW0c8NX2rmiTnNw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QTNoxtv+DVS4OKRVRPfABkgjdQ6p/V4xeXtcipNpsnn0u1Up5NlQiJM5kJq6Romm+5xEP1XYiKYc+7Ic35k68VndkJErbBanMPiNtdbxDz4dYxm75DsSVDi2t0pUsAOf0KcxEj4kIUtpvPvPCk5yckpBmVkL5lg6nfZzgmrn3nq5szVMBD8EZFhYxgaVjuXJz59y2ZWRnqw3qG32kg3xKtjnRJwdMJWHJST0nrt27UMtP6aRPYp6M6tFrITsAHtSlsSbn1XfI17s99RIWZOgT+QyBEYaHrpZH9tXq6iuuVnPfXsxDqPiTy4RSdpGuAstIB7gk8MGsgHV15WMpYGSYg==
  • Dkim-filter: OpenDKIM Filter v2.11.0 ndjsvnpf101.ndc.nasa.gov AA24F40053E6

Hi,

 

I realize this is one of those rare use cases but I have a situation where I need to run a single-ended nuttcp test and reverse the direction of the test flow.  It works fine when I run nuttcp standalone but when I tried it with pscheduler it fails because pscheduler doesn’t set the “-r” nuttcp receiver flag on the client host receiving the reverse test flow. In order to get nuttcp reverse test flows to work both the “-r” and “-F” CLI options are required.  FWIW, it works fine when transmitting tests.

 

NOTE: The default pscheduler access control (server) port is set to 5001 in /etc/pscheduler/tool/nuttcp.conf. This doesn’t work for standalone nuttcp servers who are listening on TCP/5000 (the default nuttcp access control port).  The solution is to specify 5000 on the “--single-ended-port” option in the pscheduler command.

 

Thanks,

George Uhl

NASA GSFC

 

----- Standalone nuttcp test with reverse test flow

# nuttcp -r -i1 -T 5 -F xxx.xxx.xxx.xxx

    5.0000 MB /   1.00 sec =   41.9394 Mbps     0 retrans

    5.1250 MB /   1.00 sec =   42.9944 Mbps     0 retrans

    5.0625 MB /   1.00 sec =   42.4674 Mbps     0 retrans

    5.1250 MB /   1.00 sec =   42.9916 Mbps     0 retrans

    5.0625 MB /   1.00 sec =   42.4667 Mbps     0 retrans

 

   25.8847 MB /   5.11 sec =   42.4596 Mbps 0 %TX 5 %RX 0 retrans 9.59 msRTT

 

 

----- pscheduler nuttcp with reverse test flow fails:

# pscheduler task --tool nuttcp throughput --dest 198.118.243.23 --single-ended  --single-ended-port=5000 --reverse

 

The nuttcp command that pscheduler generates (from pscheduler.log) leaves out the “-r” receiver option which causes the failure

/usr/bin/nuttcp -p 5101 -P 5000 -T 10 -F xxx.xxx.xxx.xxx

 

 

----- running the same pscheduler nuttcp command as above via the CLI but with the receiver flag  (-r) set is successful:

# /usr/bin/nuttcp -p 5101 -P 5000 -T 10 -r -F xxx.xxx.xxx.xxx

   51.3111 MB /  10.16 sec =   42.3535 Mbps 0 %TX 3 %RX 0 retrans 9.81 msRTT

 

 

----- pscheduler single-ended tests work when run as a nuttcp transmitter:

# pscheduler task --tool nuttcp throughput --dest xxx.xxx.xxx.xxx --single-ended  --single-ended-port=5000

Submitting task...

Task URL:

https://localhost/pscheduler/tasks/08b20c40-8c94-4e18-a0cb-9ca6ccca6e7b

Running with tool 'nuttcp'

Fetching first run...

 

Next scheduled run:

https://localhost/pscheduler/tasks/08b20c40-8c94-4e18-a0cb-9ca6ccca6e7b/runs/a83a8cd3-bf91-4baa-b23d-ef61b9aa2829

Starts 2021-04-22T19:19:06Z (~1 seconds)

Ends   2021-04-22T19:19:22Z (~15 seconds)

Waiting for result...

 

Summary

Interval       Throughput     Retransmits    

0.0 - 10.0     43.29 Mbps     19

 

No further runs scheduled.

 

----- The transmit test nuttcp command generated by pscheduler (without the “-t” transmit option set because that is the default)

/usr/bin/nuttcp -p 5101 -P 5000 -T 10 198.118.243.23

 

 




Archive powered by MHonArc 2.6.24.

Top of Page