Hi all,

say I want to have 2 QoS with different priorities (normal and low). And
also say that I want a job with low QoS to have the same priority as a
normal job that is submit exactly 3 days later. Or to rephrase: a low
job should get an equal priority after 3 days (259200 sec) than a normal
job directly after submit. How would I achieve that, given that no
fairshare, partition or jobsize should alter priority?


My solution would be:

AgeWeight * t(normal) + QosWeight * Qos(normal)

must equal

AgeWeight * t(low) + QosWeight * Qos(low)


With the assumption that t is measured in seconds this would result in:

Qos(normal = 10; Qos(low) = 1; t(normal) = 0; t(low) = 259200 (=3days)

AgeWeight    Qos(normal) - Qos(low)       9
--------- = ------------------------ = ------
QosWeight      t(low) - t(normal)      259200


Does this sound right? If not, what unit is the wait time measured in?


Regards,

        Uwe

Reply via email to