Skip to content

Commit 8137edc

Browse files
committed
update docs
1 parent b3ac8e4 commit 8137edc

File tree

1 file changed

+12
-31
lines changed

1 file changed

+12
-31
lines changed

pyslurm/core/slurmctld/stats.pxd

Lines changed: 12 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,16 @@ cdef class RPCPendingStatistics(dict):
252252
cdef class Statistics:
253253
"""Statistics for the `slurmctld`.
254254
255+
For more information, also check out the Slurm [sdiag documentation](https://slurm.schedmd.com/sdiag.html).
256+
255257
Attributes:
256258
request_time (int):
257259
Time when the data was requested. This is a unix timestamp.
258260
data_since (int):
259261
The date when `slurmctld` started gathering statistics. This is a
260262
unix timestamp.
261263
server_thread_count (int):
262-
The number of current active slurmctld threads.
264+
The number of current active `slurmctld` threads.
263265
rpc_queue_enabled (bool):
264266
Whether RPC queuing is enabled.
265267
agent_queue_size (int):
@@ -281,7 +283,7 @@ cdef class Statistics:
281283
jobs_canceled (int):
282284
Number of jobs canceled since last reset.
283285
jobs_failed (int):
284-
Number of jobs failed due to slurmd or other internal issues since
286+
Number of jobs failed due to `slurmd` or other internal issues since
285287
last reset.
286288
jobs_pending (int):
287289
Number of jobs pending.
@@ -315,8 +317,7 @@ cdef class Statistics:
315317
start.
316318
last_backfilled_jobs (int):
317319
Number of jobs started thanks to backfilling since last time stats
318-
where reset. By default these values are reset at midnight UTC
319-
time.
320+
where reset. (which is midnight UTC time in this case)
320321
backfilled_het_jobs (int):
321322
Number of heterogeneous job components started thanks to
322323
backfilling since last Slurm start.
@@ -326,16 +327,10 @@ cdef class Statistics:
326327
Time when last backfill scheduling cycle happened. This is a unix
327328
timestamp.
328329
backfill_cycle_last (int):
329-
Time in microseconds of last backfill scheduling cycle. It counts
330-
only execution time, removing sleep time inside a scheduling cycle
331-
when it executes for an extended period time. Note that locks are
332-
released during the sleep time so that other work can proceed.
330+
Time in microseconds of last backfill scheduling cycle.
333331
backfill_cycle_max (int):
334332
Time in microseconds of maximum backfill scheduling cycle execution
335-
since last reset. It counts only execution time, removing sleep
336-
time inside a scheduling cycle when it executes for an extended
337-
period time. Note that locks are released during the sleep time so
338-
that other work can proceed.
333+
since last reset.
339334
backfill_cycle_mean (int):
340335
Mean time in microseconds of backfilling scheduling cycles since
341336
last reset.
@@ -352,38 +347,26 @@ cdef class Statistics:
352347
backfill_last_depth_try (int):
353348
Number of processed jobs during last backfilling scheduling cycle.
354349
It counts only jobs with a chance to start using available
355-
resources. These jobs consume more scheduling time than jobs which
356-
are found can not be started due to dependencies or limits.
350+
resources.
357351
backfill_depth_try_sum (int):
358352
Subset of `backfill_depth_sum` that the backfill scheduler
359353
attempted to schedule.
360354
backfill_mean_depth (int):
361355
Mean count of jobs processed during all backfilling scheduling
362356
cycles since last reset. Jobs which are found to be ineligible to
363-
run when examined by the backfill scheduler are not counted (e.g.
364-
jobs submitted to multiple partitions and already started, jobs
365-
which have reached a QOS or account limit such as maximum running
366-
jobs for an account, etc).
357+
run when examined by the backfill scheduler are not counted.
367358
backfill_mean_depth_try (int):
368359
The subset of `backfill_mean_depth` that the backfill
369360
scheduler attempted to schedule.
370361
backfill_queue_length (int):
371362
Number of jobs pending to be processed by backfilling algorithm. A
372-
job is counted once for each partition it is queued to use. A
373-
pending job array will normally be counted as one job (tasks of a
374-
job array which have already been started/requeued or individually
375-
modified will already have individual job records and are each
376-
counted as a separate job).
363+
job is counted once for each partition it is queued to use.
377364
backfill_queue_length_sum (int):
378365
Total number of jobs pending to be processed by backfilling
379366
algorithm since last reset.
380367
backfill_queue_length_mean (int):
381368
Mean count of jobs pending to be processed by backfilling
382-
algorithm. A job is counted once for each partition it requested. A
383-
pending job array will normally be counted as one job (tasks of a
384-
job array which have already been started/requeued or individually
385-
modified will already have individual job records and are each
386-
counted as a separate job).
369+
algorithm.
387370
backfill_table_size (int):
388371
Count of different time slots tested by the backfill scheduler in
389372
its last iteration.
@@ -393,9 +376,7 @@ cdef class Statistics:
393376
backfill_table_size_mean (int):
394377
Mean count of different time slots tested by the backfill
395378
scheduler. Larger counts increase the time required for the
396-
backfill operation. The table size is influenced by many scheduling
397-
parameters, including: bf_min_age_reserve, bf_min_prio_reserve,
398-
bf_resolution, and bf_window.
379+
backfill operation.
399380
gettimeofday_latency (int):
400381
Latency of 1000 calls to the gettimeofday() syscall in
401382
microseconds, as measured at controller startup.

0 commit comments

Comments
 (0)