NetBatch-Plus Reference Manual
Setting Up the Processing Environment
NetBatch-Plus Reference Manual—522461-002
4-7
3. Plan Classes and Executors
performance. In these circumstances, you might decide to assign only one executor to
the CPU or perhaps none.
Planning which classes to assign to an executor is important in setting up an effective
processing environment. As a rule, assign classes whose jobs have similar
characteristics to executors catering for jobs with those characteristics. For example,
assign classes containing CPU-bound jobs to each executor dedicated to processing
CPU-bound jobs. Similarly, assign classes for I/O-bound jobs to executors processing
I/O-bound jobs, and so on. Assigning a class to more than one executor helps to avoid
a job backlog building in that class.
The order in which you assign classes to executors is also important. Jobs in the first
class you assign to an executor take priority over jobs in the second class, jobs in the
second class have priority over those in the third class, and so on. Varying the order in
which you assign classes to executors ensures jobs in those classes have equal
processing opportunities.
Example
The table in Figure 4-3 shows the classes and executors planned for a scheduler. For
the example, the node where the scheduler runs has 4 CPUs.
Figure 4-3. Example of a Classes and Executors Table
0CPUs
Executors
Classes
123
C1
C2
C3
C5
C6
C6
C7
C8
C2
C3
C4
C9
C10
C7
C8
C5
C8
C5
C6
C3
C4
C1
C10
C11
C12
C13
C14
C15
C4
C1
C2
C4 C5 C1 C6 C7 C2 C3
C11
C9
C13
C12
E1 E2 E3 E4 E5 E6 E7 E8 E9 E10 E11 E12 E13 E14 E15
C15
C14
(All jobs except
CPU-bound jobs)
(All jobs) (All jobs) (All jobs)
C7
C8
C11 C9 C10
For I/O-bound jobs
For CPU-bound jobs
For department A's jobs
For department B's jobs
For end-of-period jobs
For general ledger jobs
For classes containing I/O-bound
jobs
For classes containing CPU-bound jobs
For classes containing jobs grouped
by
function or purpose
Key to Executors
E1–4
E6–8
E12
Key to Classes
C1–4
C5–8
E5
E9
E13
E10–11
E14–15
C9–11
C12
C13
C14
C15
VST019.vsd