@@ -252,44 +252,44 @@ them. For other columns, check ``man sacct``.
252
252
stripped out and give invalid data. File an issue and this will
253
253
be added.
254
254
255
- * ``ReqMem ``: The raw slurm value in a format like "5Gn". Instead of
256
- parsing this, you probably want to use one of the other values below.
255
+ * **Memory related **
257
256
258
- * ``ReqMemNode ``, ``ReqMemCPU ``: Requested memory per node or CPU,
259
- either taken from ReqMem (if it matches) or computed (you might want
260
- to check our logic if you rely on this). In Slurm, you
261
- can request memory either per-node or per-core, and this calculates
262
- the other one for you.
257
+ * ``AllocMem ``: The ``mem= `` value from ``AllocTRES `` field. You
258
+ probably want to use this.
263
259
264
- * ``ReqMemType ``: ``c `` if the user requested mem-per-core originally,
265
- ``n `` if mem-per-node. Extracted from ``ReqMem ``. Modern Slurm has
266
- nothing here, and the column value is null.
260
+ * ``TotalMem ``: The ``mem= `` value from ``TRESUsageInTot `` field.
261
+ You probably want to use this.
267
262
268
- * ``ReqMemRaw ``: The numeric value of the ``ReqMem ``, whether it is
269
- ``c `` or ``n ``.
263
+ * ``ReqMem ``: The raw slurm value from the ReqMem column.
270
264
271
- * ``ReqGPU ``: Number of GPUs requested. Extracted from ``ReqTRES ``.
265
+ * ``ReqMemNode ``, ``ReqMemCPU ``: Requested memory per node or CPU,
266
+ ``ReqMem `` / ``NNodes ``.
272
267
273
- * GPU information. These use values from the ``TRESUsageInAve ``
268
+ * ``MemEff ``: Computed ``TotalMem / AllocMem ``.
269
+
270
+ * **GPU information. ** These use values from the ``TRESUsageInAve ``
274
271
fields in modern Slurm
275
272
276
- * ``GpuMem ``: ``gres/gpumem ``
273
+ * ``ReqGPU ``: Number of GPUs requested. Extracted from ``ReqTRES ``.
274
+
275
+ * ``GpuMem ``: ``gres/gpumem `` from ``TRESUsageInAve ``
277
276
278
277
* ``GpuUtil ``: ``gres/gpuutil `` (fraction 0.0-1.0).
279
278
280
- * ``NGpus ``: Number of GPUs. Should be the same as `` ReqGPU ``, but
281
- who knows.
279
+ * ``NGpus ``: Number of GPUs from `` gres/gpu `` in `` AllocTRES ``.
280
+ Should be the same as `` ReqGPU ``, but who knows.
282
281
283
282
* ``GpuUtilTot ``, ``GpuMemTot ``: like above but using the
284
283
``TRESUsageInTot `` sacct field.
285
284
286
- * ``MemEff ``: This is null in the Slurm table now, since Slurm gives
287
- ReqMem in allocations and memory used in steps. The ``eff `` table
288
- calculates this now.
285
+ * ``GpuEff ``: ``gres/gpuutil `` (from ``TRESUsageInTot ``) / (100 *
286
+ ``gres/gpu `` (from ``AllocTRES ``).
289
287
290
288
* ``CPUEff ``: CPU efficiency (0.0-1.0). All the same caveats as above
291
289
apply: test before trusting.
292
290
291
+ * And more, see the code for now.
292
+
293
293
Quick reference of the other most important columns from the
294
294
accounting database that are hardest to remember:
295
295
@@ -302,12 +302,11 @@ accounting database that are hardest to remember:
302
302
303
303
The ``eff `` table adds the following:
304
304
305
- * ``CPUEff ``: like CPUEff but for the whole job
305
+ * ``CPUEff ``: Highest CPUEff for any job step
306
306
307
- * ``MemEff ``: Memory efficiency for the whole job (max(MaxRSS) /
308
- ReqMem)
307
+ * ``MemEff ``: Highest MemEff for any job step
309
308
310
- * And more, see the code for now.
309
+ * `` GpuEff ``: Highest GpuEff for any job step
311
310
312
311
313
312
0 commit comments