perfsonar-user - Re: [perfsonar-user] limits.conf for nightly throughput tests
Subject: perfSONAR User Q&A and Other Discussion
List archive
- 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
À: "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:
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
- [perfsonar-user] limits.conf for nightly throughput tests, Paul MEBALE-ASSAKO, 03/20/2025
- Re: [perfsonar-user] limits.conf for nightly throughput tests, Mark Feit, 03/21/2025
- Re: [perfsonar-user] limits.conf for nightly throughput tests, Paul MEBALE-ASSAKO, 03/24/2025
- Re: [perfsonar-user] limits.conf for nightly throughput tests, Mark Feit, 03/21/2025
Archive powered by MHonArc 2.6.24.