Shared MemoryTo load objects into the shared memory After the installation of LN, various objects are already loaded in the shared memory. This section describes the procedure to load additional objects into the shared memory. LN uses a lot of DLLs; therefore, it is difficult to decide which objects should be loaded into the shared memory. Before you fill the shared memory, you can use measurement tools to identify which objects are frequently used and suitable to load into the shared memory. A shared memory configured based on the measurement information improves the processing speed of your LN application. Passo 1. Activate logging To gather statistics on the usage of objects, start the Parâmetros de registro (ttaad4153m000) session. Optionally, click Limpar to remove the currently stored shared memory measurement data. Specify the time frame in which shared memory logging must take place. If you do not define a time frame, no logging will be done. After you specify the logging parameters, click Convert. You can only run the Convert command on a Master Application Server. The measurement will start for all bshells started after the conversion is run, taking the defined time frame into account. The logged information of a bshell is stored when the bshell is closed. For details, refer to the session help. Passo 2. View object usage statistics After the period of shared memory measurement has ended, start the Medição de objeto de memória compartilhada (ttaad4152m000) session. Use this session to view statistics on the object usage in the bshell. The session displays, among other things, the number of times an object was loaded during the measurement period. This information helps identify which objects are frequently used and should be loaded into the shared memory. Optionally, click Print to print a Shared Memory Object Measurement report. Optionally, on the Visualizações, Referências o Ações menu, click Limpar to remove the shared memory measurement data. For details, refer to the session help. Passo 3. Optional: Allocate shared memory for package
combinations Start the Dados de memória compartilhada (ttaad4156m000) session and click Alocar. The Memória compartilhada de memória alocada (ttaad4155m000) session starts. Specify, per package combination, the amount of memory (in MB) allocated for object usage in shared memory. For details, refer to the session help. Note: This step is optional. If you do not allocate memory for a package combination, or if you allocate 0 MB for a package combination, the amount of shared memory for the package combination will be unlimited. Passo 4. Specify shared memory data Start the Dados de memória compartilhada (ttaad4156m000) session. In this session, you can specify shared memory data in the following ways.
Nota
For details, refer to the session help. Passo 5. Convert the shared memory data to Runtime On the Visualizações, Referências o Ações menu in the Dados de memória compartilhada (ttaad4156m000) session, click Converter para runtime. You can only run this command on a host defined as Master Application Server (MAS). When the conversion is complete, click OK and close the session. Passo 6. Restart the shared memory The procedure to restart the shared memory depends on the operating system of the LN server.
Nota For more information on shared memory, refer to Infor10 ERP Enterprise Server (LN) Technical Manual (U8172 US).
| |||||||||||||||