In order to decouple the scheduling process, GridWay uses a Scheduler module to schedule jobs.
The format to send a scheduling request to the Scheduler, through its standard input, is:
SCHEDULE - - -
On the other side, the format to receive a response from the Scheduler, through its standard output, is:
OPERATION JID RESULT INFO
Where:
GridWay 5 includes a scheduler template (gw_scheduler_skel.c
) to develop custom schedulers. As an example a Round-Robin/Flooding scheduler can be found in the GridWay distribution (gw_flood_scheduler.c
, in $GW_LOCATION/src/sched/
). This is a very simple scheduling algorithm, which maximizes the number of jobs submitted to the Grid.