Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] limits.conf for nightly throughput tests

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] limits.conf for nightly throughput tests


Chronological Thread 
  • From: Paul MEBALE-ASSAKO <>
  • To: Mark Feit <>
  • Cc: perfsonar-user <>
  • Subject: Re: [perfsonar-user] limits.conf for nightly throughput tests
  • Date: Mon, 24 Mar 2025 17:15:45 +0100 (CET)
  • Dkim-filter: OpenDKIM Filter v2.10.3 zmtaout04.partage.renater.fr E121B14047D

Many Thanks Mark.

Best regards
Paul Mebale

De: "Mark Feit" <>
À: "Paul MEBALE-ASSAKO" <>, "perfsonar-user" <>
Envoyé: Vendredi 21 Mars 2025 20:03:54
Objet: Re: limits.conf for nightly throughput tests

Paul MEBALE-ASSAKO writes:

 

Has anybody succedded configuring limits.conf to kind of constraint throughput tests to be run nightly only or at specific period of time? 

 

There’s a limit available for that called run-schedule that will allow or deny runs based on the time being proposed for them to be put on the schedule.  The docs are here:

 

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

 

I’ve attached a tarball with a sample configuration and test to run against it which you can unpack and use the limit-diags command to see how the limit processor will react to it.  For example, this tests a throughput test to be run at 00:00:00, which is rejected because it’s outside the hours allowed by the configuration:

 

$ pscheduler limit-diags --config ./limits-time \

--start '2025-03-21T00:00:00' --duration 'PT5S' ./test-throughput

For task starting at 2025-03-21T00:00:00 lasting PT5S:

Application: What's allowed

  Group 1: Limit 'test-is-throughput' passed

  Group 1: Limit 'throughput-allowed-hours' failed: Mismatch on hour

  Group 1: Want all, 1/2 passed, 1/2 failed: FAIL

  Application FAILS

Proposal does not meet limits

 

This does the same thing, but at 05:00:00, which is acceptable:

 

$ pscheduler limit-diags --config ./limits-time \

--start '2025-03-21T05:00:00' --duration 'PT5S' ./test-throughput

For task starting at 2025-03-21T05:00:00 lasting PT5S:

Application: What's allowed

  Group 1: Limit 'test-is-throughput' passed

  Group 1: Limit 'throughput-allowed-hours' passed

  Group 1: Want all, 2/2 passed, 0/2 failed: PASS

  Application PASSES

Passed one application.  Stopping.

Proposal meets limits

 

There’s a more-comprehensive example in the documentation.

 

Hope that helps.

 

--Mark

 





Archive powered by MHonArc 2.6.24.

Top of Page