| Configure Shared Memory |  |
| With the increase use of DLLs, it has become more difficult to decide which objects must be loaded in shared memory. Measurement tools are available to identify which objects are frequently used and suitable to load in shared memory. A configured shared memory based on the measurement information will also improve processing speed, To configure shared memory The following is a short enumeration of the measurement tools configuration. The process consists of two main steps: Specify the objects that must be stored in shared memory. Configure the Shared Memory service. To specify objects stored in shared memory This section explains how to define shared memory content. To specify the objects to be stored in shared memory, complete the following steps: Start session Shared Memory Data (ttaad4156m000). Besides manually adding objects in shared memory, objects can be imported. The following Specific menu items are present: Import objects from DD: Session to import for a package combination a range of program and/or report objects from the Data Dictionary (DD) into the shared memory data. Import objects from measurement : Session to import for a package combination a range of program and/or report objects from the object measurement into the shared memory. Because this is a new installation, no measurement has yet taken place. For now, select Import objects from DD. The Copy Program Objects (ttaad4254m000) session will appear. For Tools, you do not need to fill in a Package Combination in the Package Combination field. In the Program field, enter tt dll in the From field, and enter tt dllzzzzzzzzz in the To field. Click Import. In the dialog box that appears, click OK. The Shared Memory Data (ttaad4156m000) session reappears and now contains data. For the programs ttdsk to ttdskzzzzzzzzz and ttstp to ttstpzzzzzzzzz, repeat steps 3 through 7. Define a period to measure object usage For gathering statistics on shared memory, session Logging Parameters (ttaad4153m000) can be started for defining the timeframe (start and end time) in which the logging must take place. If no timeframe is defined, no logging will be done. To store the data in $BSE/lib/defaults folder file logging, click Convert. A convert can only be started on a host defined as Master Application Server (MAS). In case the host is not an MAS, all selection fields and the Convert option will be disabled. To completely remove the currently stored shared memory measurement data, use Cleanup. The measurement will start for all bshells started after the convert is run, taking the defined timeframe into account. After the period of shared memory measurement has ended, you can find the log information in the Shared Memory Measurement (ttaad4152m000) session. On behalf of this information, you can repeat specifying objects stored in shared memory. Convert the shared memory data to Runtime On the appropriate menu, click Convert to Runtime. When the conversion is complete, click OK and close the session. |