OpenTP1 Version 7 System Definition
System service common information definition
Some system configurations require the system service common information definition. The system service common information definition defines the information common to MCF communication services. The OpenTP1 product provides a file that contains the items of this definition set to defaults. Use a text editor to modify the defined values as required.
Format
set max_socket_descriptors=maximum-number-of-file-descriptors-for- socket set max_open_fds=maximum-number-of-files-accessed-by-MCF- communication-process set thdlock_sleep_time=thread's-waiting-time-if-a-lock-conflict-occurs- among-threads [set mcf_prf_trace_level=acquisition-level-for-MCF-performance verification-trace-information] |
Function
The system service common information definition defines the information common to MCF communication services. The OpenTP1 product provides a file that contains the values of this definition set to defaults. For the following operands, use a text editor to modify the values as required. For other operands, do not modify the values.
Explanation
Operands
max_socket_descriptors=maximum-number-of-file-descriptors-for-socket ~<unsigned integer>((64-2047))
Specify the maximum number of file descriptors that each MCF communication process uses for the socket. The processes controlled by OpenTP1 exchange information to each other via the TCP/IP communication using the socket between the system server and the user server. Therefore, you need to change the maximum number of file descriptors for the socket, according to the number of the UAP processes that run concurrently.
The following shows the formula to calculate the maximum number of file descriptors for the socket that an MCF communication process uses. Calculate the maximum number of file descriptors for each MCF communication process. If the largest result is larger than 64, specify the largest result. If the largest result is 64 or smaller, specify 64.
Maximum number of file descriptors for the socket = (A + B + C) / 0.8
max_open_fds=maximum-number-of-files-accessed-by-MCF-communication-process~<unsigned integer> ((100-2016))<<500>>
Specify the maximum number of files that each MCF communication process accesses.
MCF communication processes also use file descriptors to send or receive messages. If file descriptors are insufficient, the connection may not be established. Therefore, you need to specify the number of enough file descriptors.
The following shows the formula for calculating the maximum number of file descriptors that an MCF communication process uses. Calculate the number of file descriptors for each MCF communication process. If the largest result is larger than 500, specify the largest result. If the largest result is 500 or smaller, specify 500.
If the number of files to be accessed exceeds the value specified in this operand, the excess files are treated as files for which the file descriptors for sockets are used. Note that, in this case, the actual maximum number of file descriptors for sockets is the value of the max_socket_descriptors operand minus the excess value for the max_open_fds operand.
Maximum number of file descriptors = (Number of file descriptors used for the protocol controller#1) + 30#2
Protocol controller | Number of file descriptors used |
---|---|
TP1/NET/HDLC | Number of connections |
TP1/NET/HNA-NIF | Number of subconnections |
TP1/NET/HNA-560/20 | Number of PLUs in the local system |
Other protocol controllers | Number of connections x 2 |
Note that one process can use up to 2048 file descriptors. Therefore, you must set this operand to a value that satisfies the following condition:
(Value of this operand + Value of the max_socket_descriptors operand in the same definition) 2048
If you specify a value that does not satisfy this condition, this operand is forcibly set to the following value:
2048 - Value of the max_socket_descriptors operand in the same definition
thdlock_sleep_time=thread's-waiting-time-if-a-lock-conflict-occurs-among-threads ~<unsigned integer> ((1-32767)) <<15>> (units: milliseconds)
Specify the thread's waiting time in milliseconds when the lock control function that the process under OpenTP1 internally uses cannot acquire a lock because a lock conflict occurs among threads.
If you specify a value smaller than the default (15), the select system call is issued more frequently, causing CPU utilization to increase.
OS name | Version | thdlock_sleep_time operand value | Wait time |
---|---|---|---|
AIX | 5L V5.3 | Specified value | Specified value |
Linux | 5 (x86) 5 (IPF64) |
Specified value | Specified value + about one millisecond |
HP-UX | 11i V2 (IPF) 11i V3 (PA-RISC) |
1-9 | About 10 milliseconds |
10-19 | About 20 milliseconds | ||
Solaris | 8 | 1-9 | About 10 milliseconds |
10-19 | About 20 milliseconds | ||
Windows | Windows Server 2003 | 1-15 | About 16 milliseconds |
16-31 | About 31 milliseconds |
If this definition value is omitted, the value in the system common definition is assumed.
mcf_prf_trace_level=acquisition-level-for-MCF-performance-verification-trace-information
~((00000000-00000001)) <<00000000>>
Specify the acquisition level for the MCF performance verification trace information. To acquire the MCF performance verification trace, specify Y in the prf_trace operand of the system common definition or omit the specification.
If the operand specification is invalid, OpenTP1 abnormally terminates during startup.
Use this operand only when TP1/Extension 1 is installed. If TP1/Extension 1 is not installed, the operation is not guaranteed.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.