Changes between Initial Version and Version 1 of JobSched


Ignore:
Timestamp:
Apr 30, 2010, 4:09:32 PM (15 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JobSched

    v1 v1  
     1= Job-level scheduler customization =
     2
     3sched/sched_customize.cpp contains the following function:
     4{{{
     5bool wu_is_infeasible_custom(WORKUNIT& wu, APP& app, BEST_APP_VERSION& bav);
     6}}}
     7
     8This is called for every job that the scheduler
     9considers dispatching.
     10If it return true, the scheduler won't send the job to this host.
     11This allows you to make project-specific scheduling decisions on a per-job basis.
     12
     13The default implementation simply returns false.
     14However, you can customize it.
     15The source code contains (commented out) the following possible policies:
     16
     17* Don't use GPU versions for particular jobs.
     18* Require a certain number of GPU processors, as specified by WU.batch.
     19* Reduce the FLOPS estimate for particular jobs.