cancel
Showing results for 
Search instead for 
Did you mean: 

Memory parameters settings as per RAM and swap size

Former Member
0 Kudos

Hello Experts,

We have installed the newly SAP systems (Solman 7.1, ECC6 EHP 5, and CRM EHP1), below is the platform-

OS - Linux x86_64

RAM - 20 GB (ECD ABAP and solman (ABAP+JAVA)) and 24 GB (CRM ABAP).

swap size is twice of RAM.

Kernel - 720 64bit

Current memory parameters values are (by default) -

ztta/roll_area                6500000
ztta/roll_first               1
ztta/short_area               3200000
rdisp/ROLL_SHM                32768
rdisp/PG_SHM                  32768
rdisp/PG_LOCAL                150
em/initial_size_MB            4096
em/blocksize_KB               4096
em/address_space_MB           4096
ztta/roll_extension           2000000000
abap/heap_area_dia            2000000000
abap/heap_area_nondia         2000000000
abap/heap_area_total          2000000000
abap/heaplimit                40000000
abap/use_paging               0

Could anyone suggest the calculation for above parameters so I can tune it according to my platform to avoid any memory bottleneck.

Regards

Saurabh Mishra

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Please refer Note 88416 - Zero administration memory management for the ABAP server. This will be the best practice for memory management.

Regards

D.Mukunthan

Akshay_G
Contributor
0 Kudos

Hi Mukunthan,

Can Note 88416 - Zero administration memory management for the ABAP server, be used for SAP AS ABAP running on other Operating Systems? As this note talks specifically about the Windows platform.

Or can we at least use recommendations/calculations mentioned in the note as a Baseline to configure SAP Memory for other operating systems?

Regards.

Akshay.

Former Member

Note 88416 is specially for Windows only where it's advised to set PHYS_MEMSIZE according to your RAM and other parameters will adopt accordingly

Former Member
0 Kudos

HI

For 20 Gb Instance For 24 GB

ztta/roll_area 6500000 em/initial_size_MB 16000 MB

ztta/roll_first 1

ztta/short_area 3200000

rdisp/ROLL_SHM 32768

rdisp/PG_SHM 32768

rdisp/PG_LOCAL 150

em/initial_size_MB 12000

em/blocksize_KB 4096

em/address_space_MB 4096

ztta/roll_extension 2000000000

abap/heap_area_dia 2000000000

abap/heap_area_nondia 10000000000

abap/heap_area_total 12000000000

abap/heaplimit 40000000

abap/use_paging 0

and Configure ABAP Buffer abap /buffer size of 800 MB(Initially)

CUA and Screen Buffer of 20 Mb each.

The lowered values because DB Should be considered while changing SAP Memory,even though memory is allocated on need basis.

Regards

Arun.H

Former Member
0 Kudos

HI

For 20 Gb Instance For 24 GB

ztta/roll_area 6500000 em/initial_size_MB 16000 MB

ztta/roll_first 1

ztta/short_area 3200000

rdisp/ROLL_SHM 32768

rdisp/PG_SHM 32768

rdisp/PG_LOCAL 150

em/initial_size_MB 12000

em/blocksize_KB 4096

em/address_space_MB 4096

ztta/roll_extension 2000000000

abap/heap_area_dia 2000000000

abap/heap_area_nondia 10000000000

abap/heap_area_total 12000000000

abap/heaplimit 40000000

abap/use_paging 0

and Configure ABAP Buffer abap /buffer size of 800 MB(Initially)

CUA and Screen Buffer of 20 Mb each.

The lowered values because DB Should be considered while changing SAP Memory,even though memory is allocated on need basis.

Regards

Arun.H

Former Member
0 Kudos

Thanks Database,

It's really complicate to set the memory tuning I hope SAP should create a excel in which just we have to specify the RAM and swap space and it will automatically populate all the parameters with work process numbers .

Right now I am busy with other servers so will tune the parameters after some days by reading the document but I believe the below parameters will be OK for my RAM size -

Parameter           From                  To
rdisp/ROLL_SHM          32768                65536
rdisp/PG_SHM              32768                65536
em/initial_size_MB         4096                 16384
abap/heap_area_total   2000000000       4000000000

Kindly suggest.

Regards

Saurabh Mishra

Former Member
0 Kudos

Hello Saurabh,

These are OK to proceed with.

Thanks

Former Member
0 Kudos

Hello,

Start with PHYS_MEMSIZE and em/initial_size_MB, have to read a lot.

Note 146289 - Parameter Recommendations for 64-Bit SAP Kernel

Note 941735 - SAP memory management for 64-bit Linux systems

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTMM/BCCSTMM.pdf

Thanks