Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] Limit throughput tests to specific hours

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] Limit throughput tests to specific hours


Chronological Thread 
  • From: Brian Tehan <>
  • To: "Garnizov, Ivan" <>, "" <>
  • Subject: RE: [perfsonar-user] Limit throughput tests to specific hours
  • Date: Thu, 28 Oct 2021 14:36:20 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nebraska.edu; dmarc=pass action=none header.from=nebraska.edu; dkim=pass header.d=nebraska.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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ohxYcBsl8XY4WewDZlwZuBSn5+z3o9Sy53vyCxRvxn0=; b=EBpUrZm1d4CCL+LGC54loN0l+Sm0IQzPA4H7poVOVB5Kc7ey8AWiBHQro3D7XYKnunIoRKq1GWb9Xy3rIZUmifX1WQ3PU5R0XjHc6ccvRMcWaX840JO1fIEljfE+LXEEUUEMHQ0JN3ARouaQMJIlZ5OIiAzeryQv9Z0T01gvqvlfIycRzmolw4VFbIqFs0yMVBhQFCEnlm3m2qkql1C6nbmd7FdrDCr4R9CMOoqNciff0BxRJ6OSm/kpDkUmKY9fPUj2+ZFkeYbQs3ilfg0PaJ106kOx7y918gefW++lTINVhCEi1ydn2+1X+CHb1qCnDGDNvs5L7uEBRcH3XmXx/g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KdpBmwluH0hHUKOlwdjNEm1SJF+EvRg622VZ96u9KMlV0+rUjgG5yCGIp9/Yf6aEbEyfncMEt6Ug5K5lfOd3hSOhvJH/WthEXHo9lvEf3ZsR5PZ+dwh2xISB5OUoNSesE3RRO7dbg/5X+Oe7hOpO4KiKr0IE1xHrpZG0DFoFYSwRDXvdhmDDLUfgS6j7BZ5PhyW4/6hEPjAfHPsgQZY9RKlRn87KwmSupMF4LasTvfG83DWHiSGuoeq45BzlWEAHpWpORM+fEuJMBlpdx4oZrTN8brP1keamrHP+D1axffPdexTd7Aco/yAk07mipxLNQomonBN+08Aq+VFRUXRh1Q==

$ sudo pscheduler debug on

$ sudo pscheduler task throughput --bandwidth 1M --dest 162.127.1.1

Submitting task...

Task URL:

https://localhost/pscheduler/tasks/b72fb685-f2b8-4a9e-b8cb-d33c8a8b83d2

Running with tool 'iperf3'

Fetching first run...

 

Next scheduled run:

https://localhost/pscheduler/tasks/b72fb685-f2b8-4a9e-b8cb-d33c8a8b83d2/runs/336d7b93-f7fd-4275-a5d8-151e8380275f

Starts 2021-10-28T09:29:02-05 (~6 seconds)

Ends   2021-10-28T09:29:21-05 (~18 seconds)

Waiting for result...

 

* Stream ID 5

Interval       Throughput     Retransmits    Current Window

0.0 - 1.0      1.72 Mbps      0              127.42 KBytes 

1.0 - 2.0      1.05 Mbps      0              131.77 KBytes 

2.0 - 3.0      1.05 Mbps      0              134.66 KBytes 

3.0 - 4.0      1.05 Mbps      0              144.80 KBytes 

4.0 - 5.0      1.05 Mbps      0              144.80 KBytes 

5.0 - 6.0      1.05 Mbps      0              133.22 KBytes 

6.0 - 7.0      1.05 Mbps      0              139.01 KBytes 

7.0 - 8.0      0.00bps        0              139.01 KBytes 

8.0 - 9.0      1.05 Mbps      0              144.80 KBytes 

9.0 - 10.0     1.05 Mbps      0              133.22 KBytes 

 

Summary

Interval       Throughput     Retransmits    Receiver Throughput

0.0 - 10.0     1.01 Mbps      0              1.01 Mbps

 

No further runs scheduled.

$

 

 

 

 

Ivan,

 

I wasn’t able to get a -debug flag to work on the pscheduler task command, the only thing I could find was to do the above pscheduler debug on command.  Otherwise the throughput test went through fine with the default limits file.

 

Thanks.

 

Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 |

 

From: Garnizov, Ivan <>
Sent: Thursday, October 28, 2021 8:59 AM
To: Brian Tehan <>;
Subject: RE: Limit throughput tests to specific hours

 

Non-NU Email


Hello Brian,

That seems quite strange, but there are more steps to consider…

Now it is time to initiate a throughput test on the CLI with the –debug option.

 

Please provide the output of this command with the missing parameters added

 

pscheduler task –debug throughput –source … --dest

 

 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP7T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

 

 

From: Brian Tehan []
Sent: Thursday, October 28, 2021 3:29 PM
To: Garnizov, Ivan (RRZE) <>;
Subject: RE: Limit throughput tests to specific hours

 

Ivan,

 

Thanks for reminding me about the validate-limits command, I saw the same errors as you did.  I fixed those by changing the classifier like you suggested, in this case to default.  I had the attached limits file as the operational file last night, but bandwidth tests still took place outside of the specified time range.  I’ve changed my backup of the original file to the operational one and renamed mine to testing.  Any other ideas on how I can get throughput testing to be limited to a specific time frame?

 

Thanks!

 

Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 |

 

From: Garnizov, Ivan <>
Sent: Wednesday, October 27, 2021 10:30 AM
To: Brian Tehan <>;
Subject: RE: Limit throughput tests to specific hours

 

Non-NU Email


Hello Brian,

 

There are problems with your limits file.

You should always check the draft limits file before replacing the operational one.

 

So here is the result:

@r72 ~]$ pscheduler validate-limits limits-brian.conf

Unknown classifiers: allowed-tests, throughput-only-at-night

@r72 ~]$

 

 

It appears the syntax of your limits file is correct. But you haven’t declared 2 groups of clients, which are stated in your Applications statements.

In my example I have generalized on use of Classifiers… in your example I see:

 

    "classifiers": [

                {

                    "name": "default",

                    "description": "Everybody",

                    "identifiers": [ "everybody" ]

                },

                {

                    "name": "friendlies",

                    "description": "Identifiers we find friendly",

                    "identifiers": [ "local-interfaces" ]

                },

                {

                    "name": "hostiles",

                    "description": "Identifiers we find unfriendly",

                    "identifiers": [ "hackers", "bogons" ]

                }

    ],

 

 

Meaning you should either use one of those or add specific declarations for the “allowed-tests”, “throughput-only-at-night”

 

 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP7T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

 

 

From: Brian Tehan []
Sent: Wednesday, October 27, 2021 4:48 PM
To: Garnizov, Ivan (RRZE) <>
Subject: RE: Limit throughput tests to specific hours

 

Hey Ivan,

 

I feel like I’m on the cusp of understanding the limits file, thank you for your help!  I’ve attached my limits.conf file where I’ve added 3 items to the bottom of the LIMITS section, and 2 items to the bottom of the APPLICATIONS section.  Would you mind taking a look and letting me know if you see any problems?

 

Thanks.

 

Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 |

 

From: Garnizov, Ivan <>
Sent: Wednesday, October 27, 2021 2:03 AM
To: Brian Tehan <>
Subject: RE: Limit throughput tests to specific hours

 

Non-NU Email


Hello Brian,

 

As discussed earlier the pScheduler Limit for the “run-schedule” will control or restrict in which times tests can be scheduled.

Now if you would like to specify the type of the test, I would suggest doing that through the directive: test-type http://docs.perfsonar.net/config_pscheduler_limits.html#test-type-check-test-type

Then you combine both Limit directives in an Application in order to achieve the combination of both restrictions.

Say for example if the names of your Limit directives are (please note the name field are identifiers):

  • “throughput-allowed-slot”
  • “throughput-test-type”

Then your pScheduler Limit application should state:

 

{
            "description": "Allow Throughput tests in a certain period of time.... etc",
            "classifier": "allowed-parties-for-throughput",
            "apply": [
                {
                    "require": "all",
                    "limits": [ "throughput-allowed-slot", “throughput-test-type” ]
                }
            ]
        },

 

 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP7T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

 

 

From: Brian Tehan []
Sent: Tuesday, October 26, 2021 8:44 PM
To: Garnizov, Ivan (RRZE) <>
Subject: RE: Limit throughput tests to specific hours

 

Thanks for the breakdown, Ivan.  Is there any way to limit just throughput tests to specific hours though?

 

Thanks!

 

Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 |

 

From: Garnizov, Ivan <>
Sent: Tuesday, October 26, 2021 6:28 AM
To: Brian Tehan <>
Subject: RE: Limit throughput tests to specific hours

 

Non-NU Email


Hello Brian,

 

The pScheduler Limits directive you refer to is a limiter / blocker for a group of remote systems to prevent them, even deny, execution of the specified tests in the limit directive.

The group of systems would be identified by the Identifier and the Classifier you have assigned with this Limit in an Application.

 

This will lead to runs falling outside the specified criteria being rejected…in other words will turn as “Non-Starters”.

 

Please note that at first the “Non-Starters” will appear as the “conflict” appears. After 24h the Non-Starters will appear as they are being scheduled.

 

Regards,

Ivan Garnizov

 

GEANT WP6T3: pS development team

GEANT WP7T1: pS deployments GN Operations

GEANT WP9T2: Software governance in GEANT

 

 

 

From: [] On Behalf Of Brian Tehan
Sent: Monday, October 25, 2021 11:54 PM
To:
Subject: [perfsonar-user] Limit throughput tests to specific hours

 

https://docs.perfsonar.net/config_pscheduler_limits.html#run-schedule-check-attributes-of-the-run-time

 

Hello,

 

I’m using PWA to build latency and throughput tests and they’re showing up in MaDDash, however I’d like to limit the throughput tests to specific hours.  Would I be able to use run-schedule in the limits.conf file to accomplish this?  Or would there be a better way to go about this?

 

Thanks.

 

Brian Tehan

Network Engineer | University of Nebraska ITS

Eppley Administration Building

6001 Dodge St EAB009F, Omaha, NE 68182-0051

402.554.6428 |

 




Archive powered by MHonArc 2.6.24.

Top of Page