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. Step 1. Activate logging To gather statistics on the usage of objects, start the Logging Parameters (ttaad4153m000) session. Optionally, click Cleanup 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. Step 2. View object usage statistics After the period of shared memory measurement has ended, start the Shared Memory Object Measurement (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 appropriate menu, click Cleanup to remove the shared memory measurement data. For details, refer to the session help. Step 3. Optional: Allocate shared memory for package
combinations Start the Shared Memory Data (ttaad4156m000) session and click Allocate. The Allocated Memory Shared Memory (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. Step 4. Specify shared memory data Start the Shared Memory Data (ttaad4156m000) session. In this session, you can specify shared memory data in the following ways.
Note
For details, refer to the session help. Step 5. Convert the shared memory data to Runtime On the appropriate menu in the Shared Memory Data (ttaad4156m000) session, click Convert to 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. Step 6. Restart the shared memory The procedure to restart the shared memory depends on the operating system of the LN server.
Note For more information on shared memory, refer to Infor10 ERP Enterprise Server (LN) Technical Manual (U8172 US).
| |||||||||||||||