Regarding fairshare factor

I submitted as testuser1 4 jobs and a set the job sort formula as below .But not sure why the Fairsharfactor is evaluted 0 .

#/opt/pbs/unsupported/pbs_stat --eval-formula
Formula: eligible_time + 10000 * fairshare_factor
3136.ip-10-77-162-79: 57213 + 10000 * 0 = 57213
3137.ip-10-77-162-79: 57206 + 10000 * 0 = 57206
3138.ip-10-77-162-79: 56703 + 10000 * 0 = 56703
3139.ip-10-77-162-79: 56680 + 10000 * 0 = 56680

[root@a59cff77b30cb96 ~]# pbsfs -g testuser1
fairshare entity: testuser1
Resgroup : 10000
cresgroup : 10001
Shares : 30
Percentage : 18.000000%
fairshare_tree_usage : 0.411023
usage : 1507 (cput)
usage/perc : 8374
Path from root:
TREEROOT : 0 4614 / 1.000 = 4614
admin : 10000 2804 / 0.600 = 4674
testuser1 : 10001 1507 / 0.180 = 8374

I understand the fairshare_factor = 2^-(fairshare_tree_usage / entity’s fairshare_perc) . But how it correlates with “pbsfs -g testuser1” output ?

The command is used to view the fairshare data of an entity (testuser1)
The information from which fairshare_tree_usage : 0.411023 and fairshare_tree_usage : 0.411023 is used to calculate fairshare_factor.

Documenation: An entity’s relative usage allows direct comparison between entities. Relative usage is fairshare_factor, and is a value between 0 and 1
Refrence: 4.9.19.6.iii Computing Relative Usage (fairshare_factor), PBS Professional 2024.1 Administrator’s Guide AG-145

Could you please try by setting the scheduler_iteration to 30 seconds and then
submit 100 of 30 seconds job from couple of different users (30 , 50 , 20 ) and check the job sort formula values.

Ok, Thanks for the update