Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] [non-nasa source] [EXTERNAL] FW: Defining single-ended throughput tests inside a psconfig template

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] [non-nasa source] [EXTERNAL] FW: Defining single-ended throughput tests inside a psconfig template


Chronological Thread 
  • From: Mark Feit <>
  • To: "Uhl, George D. (GSFC-423.0)[SGT INC]" <>, "" <>
  • Subject: Re: [perfsonar-user] [non-nasa source] [EXTERNAL] FW: Defining single-ended throughput tests inside a psconfig template
  • Date: Wed, 14 Aug 2019 19:58:36 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=internet2.edu; dmarc=pass action=none header.from=internet2.edu; dkim=pass header.d=internet2.edu; 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=TRAzj0rPRAUhJXGBcmr2XtGi3Q+BVDXFDBTz7p2Y6Fc=; b=i4yoaLbTbRTSuQxDsoGyT/CbIH6twe0l3x23EWrl0JTjoanvJLM4NmG5M4+FRyxrqkqqixGyDzqXS7eMks1dHIWvn5SlNfLLqE1/QRFsDrplEAlkCjNDRf77eeKzYbhk8cGjfBjECW0TLt6UF/Xvd7tC8lgUuYcoGdSApyvPvarJ8+rIrY4q/jT6Rxn1mUbTQzLRYOjipCxgwGui5lKtsvGqTrPsGZDXSH+rUBuWTSnkocAB912mlloJxy31f4TGrrblUFiBZOGGWE/A1LdGJly8otT59z7vq6WJmqLT7jIuIqs3YQRR1MJLsRWk9lwNZG+tyBuv5AocyVCMJjLsoA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bAhUFTQ8vGNQSKskVqTBpq/061adSHDNyPaoscoE66O4K7AlnJ3JZ1yVdo83XH6TGRn52BM+4c2wq4vDo3IYK0KbpZHMgU7pYQkD9cXx24lrN9rECKuuPpyGkrGGD1X88bMQyGnT+02fpmdSflEOnU51C4kM6/IzyeUAWyGI8CkKeULUZweeUURh1PnNFQdXojlbBC54GM/K8AHQyiwcAiBq5aRi9F4vw1wpR01151dXNzx2F1t5x5To2MbLrgQGYpalHQzmecvCCuV6FS6Ya3n3Q+JmvxFB1bhPKVkg16b73cctZauG3NQ6WIGwoYwAzpB2/VQ/dz1PQUW8sszQkA==

"Uhl, George D. (GSFC-423.0)[SGT INC]" writes:

 

I’m remembering what Mark Feit said a few months ago:

 

The JSON that goes into a pSConfig test template is the same JSON that the test spec that “pscheduler task --export throughput …” would produce.  Any parameter available for that test (or any other) is available for pSConfig, too.  The throughput test has a “reverse” option (see “pscheduler task throughput --help”) that can be put into a template:

 

{

    "dest": "{% address[1] %}",

    "reverse": true

}

 

This answers the question about defining single-ended tests in a psconfig template.  However will the results of a single-ended test be extractable from Esmond via a maddash dashboard or would I need to use a different Nagios check than the “check_throughput.pl”?

 

The result format for each test is standardized, so single- and dual-ended will be indistinguishable.

 

As I recall, the reverse option in a psconfig defined throughput test did not produce reverse direction throughput results from “check_throughput.pl” because the source and destination test nodes as defined in the test remain unchanged in the reverse test.

 

That’s correct.  The result format doesn’t repeat the test parameters and the Esmond archiver maps the source and destination as-is.

 

There are a couple of ways around it.  One is to give the Esmond archiver a switch that makes it swap the source and destination when the parameters say it was a reverse test.  (Making this a default behavior would violate the principle of least astonishment.)  The other would be to put a jq transform into your archive spec for throughput tests that does the equivalent.  The latter would be a good test bed for this since it can be done with a config change rather than us having to release code before we’re sure it’s a good thing.

 

--Mark




Archive powered by MHonArc 2.6.19.

Top of Page