Hitachi

uCosminexus Application Server System Design Guide


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

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 × 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.12 Parameters applicable to logical performance tracers 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 Linux

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

Table 6‒3: 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 × 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.12 Parameters applicable to logical performance tracers 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.