https://bugzilla.wikimedia.org/show_bug.cgi?id=52976
Web browser: ---
Bug ID: 52976
Summary: Provide user_slot resource in grid
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Hasteur asked on IRC for a way to limit some jobs to five in parallel, while
keeping "room for random pitch jobs" which wouldn't be available if he just let
the grid handle the scheduling because that would use all 16 (?) slots.
Toolserver has a user_slot resource (cf.
https://wiki.toolserver.org/view/Job_scheduling#Optional_resources):
| * user_slot=1
| This resource is limit to 10 slots for each user. It has no specific
meaning and can be used for limiting the number of job that are executed in
parallel by a single user.
| E.g. if you have different scripts that all edit wiki pages and you would
like to have them run sequential, so that only one job runs at the same time,
you can request -l user_slot=10 for each job. If one job is running it consumes
all available ten user_slots and all other job requesting this resources are
queued until the first job has finished.
That would be useful in Tools as well. For better granularity however, I
propose we choose 100 or 1000 instead.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l