Changes between Version 17 and Version 18 of AppPlan
- Timestamp:
- Apr 30, 2010, 2:59:02 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AppPlan
v17 v18 2 2 3 3 '''Application planning''' is a mechanism that lets the scheduler decide, 4 using project-supplied logic, 5 whether an application is able to run on a particular host, 6 and if so what resources it will use and how fast it will run. 4 using project-supplied logic: 5 6 * whether an application should run on a particular host; 7 * what resources it will use; 8 * how fast it is expected to run. 9 7 10 It works as follows. 8 11 … … 15 18 bool app_plan(SCHEDULER_REQUEST &sreq, char* plan_class, HOST_USAGE&); 16 19 }}} 17 The '''sreq''' argument contains: 20 The '''sreq''' argument describes the host. 21 It contains: 18 22 * in '''sreq.host''' field, a description of the host's hardware, including: 19 23 * In p_vendor and p_model, the processor type … … 21 25 * In m_nbytes, the amount of RAM 22 26 * in '''sreq.coprocs''', a list of the hosts's coprocessors. 27 * in '''core_client_version''', the client's version number in MMmmRR form. 23 28 24 29 When called with a particular SCHEDULER_REQUEST and plan class,