Skip to contentSkip to conversation

teuthology job priorities

DISCUSSION Loic Dachary 3 participants 3 messages May 28, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

This morning I'll schedule a job with priority 50, assuming nobody will get mad at me for using such a low priority because the associated bug fix blocks the release of v0.94.2 (http://tracker.ceph.com/issues/11546) and also assuming noone uses a priority lower than 100 just to get in front of the nightlies[1]. In my imagination

priority [0,100] is for emergencies
priority [100,1000] is to schedule a job with higher priority than the nightlies
priority 1000 (the default) is for all automated tests and no human being wait on them (the nightlies for instance).

Does someone have a different mapping in mind ?

Cheers

[1] the nightlies http://tracker.ceph.com/projects/ceph-releases/wiki/HOWTO_monitor_the_automated_tests_AKA_nightlies

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#1 lore raw

I usually use:
priority [90,100]

for point releases validations.

This is a good thread to bring up for open approval/disapproval.

Does that sound reasonable ??

Thx
YuriW

----- Original Message -----
From: "Loic Dachary" <[email protected]>
To: "Ceph Development" <[email protected]>
Sent: Thursday, May 28, 2015 2:32:29 AM
Subject: teuthology job priorities

Hi,

This morning I'll schedule a job with priority 50, assuming nobody will get mad at me for using such a low priority because the associated bug fix blocks the release of v0.94.2 (http://tracker.ceph.com/issues/11546) and also assuming noone uses a priority lower than 100 just to get in front of the nightlies[1]. In my imagination

priority [0,100] is for emergencies
priority [100,1000] is to schedule a job with higher priority than the nightlies
priority 1000 (the default) is for all automated tests and no human being wait on them (the nightlies for instance).

Does someone have a different mapping in mind ?

Cheers

[1] the nightlies http://tracker.ceph.com/projects/ceph-releases/wiki/HOWTO_monitor_the_automated_tests_AKA_nightlies

Signature · 5 lines
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to Loic Dachary
Quoted 9 lines · Loic Dachary

Hi,

This morning I'll schedule a job with priority 50, assuming nobody will get mad at me for using such a low priority because the associated bug fix blocks the release of v0.94.2 (http://tracker.ceph.com/issues/11546) and also assuming noone uses a priority lower than 100 just to get in front of the nightlies[1]. In my imagination

priority [0,100] is for emergencies
priority [100,1000] is to schedule a job with higher priority than the nightlies
priority 1000 (the default) is for all automated tests and no human being wait on them (the nightlies for instance).

Does someone have a different mapping in mind ?

Those are pretty sensible. In practice I think the important points to be aware of are:
1000: nightly priority
101: Sam's priority for anything he schedules.

That 101 can be a bit tricky since going over it can mean you don't run for a few days if he's busy running stuff repeatedly. It's kind of an unfortunate race to the bottom when there are several people who think their stuff is important. (A few weeks ago Sage was running RGW bugfix tests for several days, at least some of which were priority 1. I was also trying to push some stuff through at the time and that was quite an experience.) :/
-Greg