Powered By

Free XML Skins for Blogger

Powered by Blogger

Friday, January 9, 2009

Implementation on Windows NT in Memory Management

The basis for the Zero Administration Memory Management under Windows NT is the dynamic Extended Memory. This technique provides you with a nearly unlimited memory resource. Initially, the extended memory is set to the size of the profile parameter phys_memsize ([PM]). If the user requires more memory, Extended Memory extends itself in steps from "[PM] / 2" up to the set limits in the profile parameter em/max_size_MB , or until the address space in the NT page file is used up. By setting the default value for em/max_size_MB to 2000 MB, the size of the NT page file represents the actual limit for extending the Extended Memory. The profile parameter phys_memsize determines how much of the total main memory is used by R/3. The parameter is entered according to the input at installation. The default value for phys_memsize is the size of the main memory [MM].

The memory allocation strategy for a non-dialog work process was changed as of Release 4.0B. Through the previous allocation sequence, the extended memory was protected to the benefit of the heap memory. This is no longer necessary when using the dynamic Extended Memory, and the allocation sequence of the batch work processes is identical to the sequence of the dialog work processes (see Allocating Memory for User Contexts). Another beneficial side effect is that you can avoid the PRIV mode (see Private Memory) for background work processes and thereby the expensive restarting of work processes.

Sequence of allocating memory for non-dialog work processes:

  1. Roll memory until the limit
  2. ztta/roll_first
  3. Extended memory until the limit
  4. min {em/address_space_MB, ztta/roll_extension}
  5. Roll memory until the limit
  6. ztta/roll_area
  7. Heap memory until the limit
  8. abap/heap_area_nondia

The basis for zero administration memory management is a sufficiently large NT page file. The previous recommendation

NT page file = 3 to 4 times the main memory size

still remains.

All relevant memory management parameters are set with an optimal default value so that all manual configurations are unnecessary.

See also: Memory Management under Windows NT

No comments:

Archives