uCosminexus Application Server, System Design Guide

[Contents][Glossary][Index][Back][Next]

6.1.1 Resources used for deploying batch server

This subsection describes the estimation of the resources used for deploying batch servers for each OS. When deploying the batch servers, estimate the resources used by the machine on which the batch servers is deployed.

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.

Furthermore, for details about the estimation of the resources used for each process, see 6.2 Resources used for each process.

For details about the required virtual memory, see 6.3 Estimating virtual memory usage. For details about the disk occupancy, see the release notes of Application Server.

Organization of this subsection
(1) In AIX
(2) In HP-UX
(3) In Linux
(4) In Solaris

(1) In AIX

The following table describes the estimation of resources used by the Application Server machine in AIX:

Table 6-2 Estimation of the resources used by the Application Server machine (In AIX)

System resource Parameter Requirement Example of option settings
Service unit#1 Shared memory -- PrfTraceBufferSize#2 [Figure] 1,024 + 18,496 --
Number of processes -- 4 --
Number of threads -- number-of-batch- server-threads#3+34 --
Number of file descriptors nofiles number-of-batch-server-file-descriptors#3 + 43 /etc/security/limits
Management Server Number of processes -- 5 --
Number of threads -- 56 --
Number of file descriptors nofiles 43 + number-of-batch-servers /etc/security/limits

Legend:
--: Not applicable.

#1
Service unit indicates the following:
Batch-server + Performance-tracer

#2
Specify the buffer memory size of performance tracer in the range of 512 kilobytes to 102,400 kilobytes. For details about PrfTraceBufferSize, see 4.15 Parameters that can be specified in the logical performance tracer in the uCosminexus Application Server Definition Reference Guide.

#3
For calculating the number of threads and file descriptors of the batch server, see 6.2.1 Estimating the resources used by batch server.

(2) In HP-UX

The following table describes the estimation of resources used by the Application Server machine in HP-UX:

Table 6-3 Estimation of the resources used by the Application Server machine (In HP-UX)

System resource Parameter Requirement Example of option settings
Service unit#1 Shared memory shmmax PrfTraceBufferSize#2 [Figure] 1,024 + 18,496 kctune shmmax= 1073741824
Number of processes nproc 4 kctune nproc=4200
Number of threads nkthread number-of-batch-server- threads#3 + 34 kctune nkthread= 8416
Number of file descriptors nfile number-of-batch-server-file-descriptors#3 + 43 kctune nfile= 65536
Management Server Number of processes nproc 5 kctune nproc=4200
Number of threads nkthread 56 kctune nkthread= 8416
Number of file descriptors nfile 43 + number-of-batch-servers kctune nfile= 65536

#1
Service unit indicates the following:
Batch-server + Performance-tracer

#2
Specify the buffer memory size of performance tracer in the range of 512 kilobytes to 102,400 kilobytes. For details about PrfTraceBufferSize, see 4.15 Parameters that can be specified in the logical performance tracer in the uCosminexus Application Server Definition Reference Guide.

#3
For calculating the number of threads and file descriptors of the batch server, see 6.2.1 Estimating the resources used by batch server.

(3) In Linux

The following table describes the estimation of resources used by the Application Server machine in Linux:

Table 6-4 Estimation of the resources used by the Application Server machine (In Linux)

System resource Parameter Requirement Example of option settings
Service unit#1 Shared memory SHMMAX PrfTraceBufferSize#2 [Figure] 1,024 + 18,496 /proc/sys/kernel/shmmax
Number of processes threads-max#3 4 /proc/sys/kernel/threads-max
Number of threads threads-max#3 number-of- batch-server-threads#4 + 34 --
Number of file descriptors fs.file-max number-of-batch-server-file-descriptors#4 + 43 /proc/sys/fs/file-max
Management Server Number of processes threads-max#3 5 /proc/sys/kernel/threads-max
Number of threads threads-max#3 56 --
Number of file descriptors fs.files-max 43 + number-of-batch-servers /proc/sys/fs/file-max

Legend:
- : Not applicable.

#1
Service unit specifies the following:
Batch-server + Performance-tracer

#2
Specify the buffer memory size of performance tracer in the range of 512 kilobytes to 102,400 kilobytes. For details about PrfTraceBufferSize, 4.15 Parameters that can be specified in the logical performance tracer in the uCosminexus Application Server Definition Reference Guide.

#3
Specify the total of number of processes and threads in the threads-max parameter.

#4
For calculating the number of threads and file descriptors of the batch server, see 6.2.1 Estimating the resources used by batch server.

(4) In Solaris

The following table describes the estimation of resources used by the Application Server machine in Solaris:

Table 6-5 Estimation of the resources used by the Application Server machine (In Solaris)

System resource Parameter Requirement Example of option settings
Service unit#1 Shared memory shminfo_shmmax PrfTraceBufferSize#2 [Figure] 1,024 + 18,496 /etc/system
Number of processes max_nprocs 4 /etc/system
Number of threads -- number-of-batch-server-threads#3 + 34 --
Number of file descriptors rlim_fd_max number-of-batch-server-file-descriptors#3 + 43 /etc/system
Management Server Number of processes maxuprc 5 /etc/system
Number of threads -- 56 --
Number of file descriptors rlim_fd_max 43 + number-of-batch-servers /etc/system

Legend:
- : Not applicable.

#1
Service unit specifies the following:
Batch-server + Performance-tracer

#2
Specify the buffer memory size of performance tracer in the range of 512 kilobytes to 102,400 kilobytes. For details about PrfTraceBufferSize, 4.15 Parameters that can be specified in the logical performance tracer in the uCosminexus Application Server Definition Reference Guide.

#3
For calculating the number of threads and file descriptors of the batch server, see 6.2.1 Estimating the resources used by batch server.