Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] [EXTERNAL] Single-ended everse nuttcp test fails

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] [EXTERNAL] Single-ended everse nuttcp test fails


Chronological Thread 
  • From: "Uhl, George D. (GSFC-423.0)[Arctic Slope Technical Services, Inc.]" <>
  • To: "" <>
  • Subject: Re: [perfsonar-user] [EXTERNAL] Single-ended everse nuttcp test fails
  • Date: Thu, 29 Apr 2021 12:51:35 +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=fwVsfz8LD65KcmqFsv9810zKUkgkki2b8RXKX9rqOL8=; b=hFl4d6GvoVpVnVXCfhIRqMnJNf8TdW5Qin18hLZAaWbpx/qYxieqK8S2ufnZC5hhjTdKsvh29arhV/RwvfL86gO+ICBSYPZhhoB6fcAfoO5Cg+c992+Zr8YPhmG25GBcX1aXn9VVo0dFrLVbIQVjSHIkTAXHsWlQVVx6H+iD/90LhGPmEhLf9UcJS45Q1IUZmmh/AQPghd2VG+YzUvjpITgk33jZtsQ5jkdfk9L/vo+jNMC3Ejf6NnZWty0tMYZKLQdXG8dtzJr1MVNLrgQtH23m5Icz43kphClWyjgICecR7fRIi1rnkuHM83KjCGDo+lkr/4g2sd1v12KqmMJ2uA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ET0MyuRM096VxU4jzH7bhPY+wBIxMetDA6AhQ9OB/M16JjO20TbTswqIHBs7HyhAvRuQvoNgFAMyX0SjebLRiKomjK463of49S5MZcoq5q9YyKNbyW1voM1nuLcXpHfdVFbRf9zXnb2u5r1J5jKP4SYmKSZEDb/vBVAIjT3rv4/S4wNEmJkcAken6JEhrp1vqVMKI363bqyQt5JbeJubzvrvpWa8FEg/0suwH0bOsram0YAplI+VZPOOype9StC6X1p8bnRhvDZjozWxajNkl6ltZOHTlQYXmdLzJMzPt5K+vvGEm/IIC1xUaadzSklge5BBICx3Liyb1/365OUcWw==
  • Dkim-filter: OpenDKIM Filter v2.11.0 ndjsvnpf101.ndc.nasa.gov 08B6C401279B

Hi,

 

Reverse direction nuttcp throughput tests are failing in pscheduler because the nuttcp tool is only setting the “-F” flip option.  It also needs to set the “-r” receiver flag too.  Details below.

 

Thanks,

George Uhl

NASA GSFC

 

From: <> on behalf of <Uhl>, "Inc.]" <>
Reply-To: "George.D.Uhl" <>
Date: Thursday, April 22, 2021 at 3:36 PM
To: "" <>
Subject: [EXTERNAL] [perfsonar-user] Single-ended everse nuttcp test fails

 

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 xxx.xxx.xxx.xxx --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 xxx.xxx.xxx.xxx

 

 



  • [perfsonar-user] Single-ended everse nuttcp test fails, Uhl, George D. (GSFC-423.0)[Arctic Slope Technical Services, Inc.], 04/22/2021
    • Re: [perfsonar-user] [EXTERNAL] Single-ended everse nuttcp test fails, Uhl, George D. (GSFC-423.0)[Arctic Slope Technical Services, Inc.], 04/29/2021

Archive powered by MHonArc 2.6.24.

Top of Page