wiki:GpuWorkFetch

Version 2 (modified by davea, 16 years ago) (diff)

--

Work fetch and GPUs

Current policy

  • Do weighted round-robin simulation, get per-project and overall CPU shortfalls
  • If overall shortfall, get work from project with highest LTD
  • Scheduler request includes just "work_req_seconds".

Problems:

There may be no CPU shortfall, but GPU is idle

If GPU is idle, we should get work from a project that potentially has jobs for it.

If the project has both CPU and GPU jobs, we may need to tell to send only GPU jobs.

LTD isn't meaningful with GPUs

New policy

Notion of "processor type": CPU is 1 type, each coproc is another.

Keep track of which projects can use which processor type. Data structure, per (project, processor type):

  • LTD
  • last time project sent a job that used this type
  • shortfall

Scheduler request includes:

  • for each proc type, # idle, and # of seconds to fill