Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • allgo allgo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 80
    • Issues 80
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • allgoallgo
  • allgoallgo
  • Issues
  • #121
Closed
Open
Issue created Apr 18, 2017 by BAIRE Anthony@abaireOwner

short jobs vs. long jobs

We have an issue with long jobs. If all workers are busy with long jobs, then no new job are launched.

  • short jobs should have the priority over long jobs
  • at least two worker slots should be reserved exclusively for short jobs

 

how to tell apart short and long jobs ?

  • (smart solution) using the job inputs (files + parameters) do some machine learning to make an estimation of duration of the job and feed the data to a scheduler that understands priorities
  • (quick solution) ask the user which queue to use (in the job submission form), and implement a job timeout according to the priority. Eg:
    • interactive -> highest priority, max duration: 1mn
    • standard -> normal priority, max duration: 10mn
    • batch -> low priority, max duration: ?? hours
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking