The following subsection describes the estimation of resources used for CTM (Scheduling functionality for batch applications), for each OS.
Note that the Example of option settings in each table of estimation of resources used differs according to the OS and the kernel versions in use. Reference the manual of the OS being used and set up the estimates based on the estimation formula in the table. The settings are not required when the corresponding kernel parameter is not applicable in the OS being used.
The following table describes the estimation of resources used for CTM.
Table 6-7 Estimation of the resources used for CTM (In AIX)
System resource | Parameter | Requirement | Example of option settings |
---|---|---|---|
Share memory | -- | PrfTraceBufferSize#1![]() | -- |
Number of processes | -- | 7 + Number-of- batch -servers#3 | -- |
Number of threads | -- | 72 + (number-of-batch-server-threads#4 + 7) x number-of-batch-servers#3 + number- of-threads-required-for-CTM-daemon#5 | -- |
Number of file descriptors | nofiles | 88 + (number-of-batch-server-file-descriptors#4 + 6) x number-of-batch-servers#3 + number-of file-descriptors-required-for-CTM-daemon#5 | /etc/security/limits |
You must calculate the shared memory of the CTM domain manager and CTM daemon to calculate file size of shared memory. The respective formula for calculations is as follows:
Use the following value for variable values in the calculations formula. For details about the parameters starting with ctm., see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.
The formula for calculating the file size for shared memory of the CTM domain manager is as follows:
For CTM daemon, you must secure files for shared memory of fixed length and files for shared memory of variable length in each CTM daemon. The formula for the respective calculations is as follows:
For calculating the number of threads and file descriptors, you must calculate the number of threads and file descriptors required in the CTM demon. The formula for the respective calculations is as follows:
The following table describes the estimation of resources used for CTM:
Table 6-8 Estimation of the resources used for CTM (In HP-UX)
System resource | Parameter | Requirement | Example of option settings |
---|---|---|---|
Shared memory | Shmmax | PrfTraceBufferSize#1![]() | kctune shmmax= 1073741824 |
Number of processes | Nproc | 7 + number-of-batch-servers#3 | kctune nproc=4200 |
Number of threads | Nkthread | 72 + (number-of-batch-server-threads#4 + 7) x number-of-batch-servers#3 + number-of-thread-required-in-CTM-daemon#5 | kctune nkthread= 8416 |
Number of file descriptors | nfile | 88 + (number-of-batch-server-file-descriptors#4 + 6) x number-of-batch-servers#3 + number-of-file-descriptors-required-in-CTM-daemon#5 | kctune nfile= 65536 |
The following table describes the estimation of the resources used for CTM:
Table 6-9 Estimation of the resources used for CTM (In Linux)
System resource | Parameter | Requirement | Example of option settings |
---|---|---|---|
Shared memory | SHMMAX | PrfTraceBufferSize#1![]() | /proc/sys/kernel/shmmax |
Number of processes | threads-max | 7 + number-of-batch-servers#3 | /proc/sys/kernel/threads-max |
Number of threads | threads-max | 72 + (number-of-batch-server-threads#4 + 7) x number-of-batch-servers#3 + number-of-threads-required-in-CTM-daemon#5 | -- |
Number of file descriptors | fs.file-max | 88 + (number-of-batch-server-file-descriptors#4 + 6) x number-of-batch-servers#3 + number-of-file-descriptors-required-in-CTM-daemon#5 | /proc/sys/fs/file-max |
The following table describes the estimation of the resources used for CTM:
Table 6-10 Estimation of resources used for CTM (In Solaris)
System resource | Parameter | Requirement | Example of option settings |
---|---|---|---|
Shared memory | shminfo_shmmax | PrfTraceBufferSize#1![]() | /etc/system |
Number of processes | max_nprocs | 7 + number-of-batch-servers #3 | /etc/system |
Number of threads | -- | 72 + (number-of-batch- server-threads#4 + 7) x number-of-batch-servers#3 + number-of-threads-required-in-CTM-daemon#5 | -- |
Number of file descriptors | rlim_fd_max | 88 + (number-of-batch-server-file-descriptors #4 + 6) x number-of-batch-servers#3 + number- of-file-descriptors-required-in-CTM-daemon#5 | /etc/system |