on 03-27-2016 9:54 AM
Hello All,
Please guide me how to calculate the memory/buffer requirements of SAP.
Could you please explain the below details.
What is Shared memory pools and its uses and also we found
ipc/shm_psize_01 -10
ipc/shm_psize_02 -40
ipc/shm_psize_03 -10
ipc/shm_psize_04 -10
ipc/shm_psize_06 -40
ipc/shm_psize_07 -10
ipc/shm_psize_08 -10
ipc/shm_psize_09 -10
ipc/shm_psize_10 740000000
ipc/shm_psize_19 -40
ipc/shm_psize_30 -10
ipc/shm_psize_31 -10
ipc/shm_psize_33 -10
ipc/shm_psize_34 -10
ipc/shm_psize_40 1554000000
ipc/shm_psize_51 -10
ipc/shm_psize_52 -10
ipc/shm_psize_54 -10
ipc/shm_psize_55 -10
ipc/shm_psize_57 -10
ipc/shm_psize_58 -10
ipc/shm_psize_62 -10
why some of the shared pool value is negative
what is OS shared memory segments and how they are calculating memory
Nr of operating system shared memory segments: 10
Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....: 10
System-imposed number of shared memories.: 1000
Shared memory segment size required min..: 1554000000 (1482.0 MB)
Currently available maximum segment size.: 34359738368 (32768.0 MB)
As per the below details,process means - SM50 work process and how they are calulating minimum ,worst case requirement etc...
Swap space requirements estimated
================================================
Shared memory....................: 2414.3 MB
..in pool 10 702.6 MB, 99% used
..in pool 40 1478.3 MB, 99% used
..not in pool: 226.5 MB
Processes........................: 649.7 MB
Extended Memory .................: 5120.0 MB
------------------------------------------------
Total, minimum requirement.......: 8184.0 MB
Process local heaps, worst case..: 9536.7 MB
Total, worst case requirement....: 28600.7 MB
```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````
================================================================================
== Checking profile: /sapmnt/SID/profile/SID_DVEBMGS00_server9
================================================================================
Maximum shared memory size > 20G
Shared memory disposition overview
================================================================
Shared memory pools
Key: 10 Pool
Size configured.....: 740000000 ( 705.7 MB)
Size min. estimated.: 736762358 ( 702.6 MB)
Advised Size........: 740000000 ( 705.7 MB)
Key: 40 Pool for database buffers
Size configured.....: 1554000000 (1482.0 MB)
Size min. estimated.: 1550132276 (1478.3 MB)
Advised Size........: 1554000000 (1482.0 MB)
Shared memories inside of pool 10
Key: 1 Size: 2500 ( 0.0 MB) System administration
Key: 3 Size: 101680000 ( 97.0 MB) Disp. communication areas
Key: 4 Size: 531448 ( 0.5 MB) statistic area
Key: 7 Size: 14838 ( 0.0 MB) Update task administration
Key: 8 Size: 67108964 ( 64.0 MB) Paging buffer
Key: 9 Size: 134217828 ( 128.0 MB) Roll buffer
Key: 11 Size: 500000 ( 0.5 MB) Factory calender buffer
Key: 12 Size: 6000000 ( 5.7 MB) TemSe Char-Code convert Buf.
Key: 13 Size: 60500000 ( 57.7 MB) Alert Area
Key: 14 Size: 20000768 ( 19.1 MB) Presentation buffer
Key: 16 Size: 22400 ( 0.0 MB) Semaphore activity monitoring
Key: 17 Size: 2760892 ( 2.6 MB) Roll administration
Key: 30 Size: 51200 ( 0.0 MB) Taskhandler runtime admin.
Key: 31 Size: 8412000 ( 8.0 MB) Dispatcher request queue
Key: 33 Size: 92160000 ( 87.9 MB) Table buffer, part.buffering
Key: 34 Size: 25600000 ( 24.4 MB) Enqueue table
Key: 51 Size: 18000000 ( 17.2 MB) Extended memory admin.
Key: 52 Size: 180000 ( 0.2 MB) Message Server buffer
Key: 54 Size: 61448192 ( 58.6 MB) Export/Import buffer
Key: 55 Size: 8192 ( 0.0 MB) Spool local printer+joblist
Key: 57 Size: 1572864 ( 1.5 MB) Profilparameter in shared mem
Key: 58 Size: 4096 ( 0.0 MB) Enqueue ID for reset
Key: 62 Size: 85983232 ( 82.0 MB) Memory pipes
Shared memories inside of pool 40
Key: 2 Size: 58556852 ( 55.8 MB) Disp. administration tables
Key: 6 Size: 851968000 ( 812.5 MB) ABAP program buffer
Key: 19 Size: 140000000 ( 133.5 MB) Table-buffer
Key: 42 Size: 70592992 ( 67.3 MB) DB TTAB buffer
Key: 43 Size: 273654392 ( 261.0 MB) DB FTAB buffer
Key: 44 Size: 48374392 ( 46.1 MB) DB IREC buffer
Key: 45 Size: 33014392 ( 31.5 MB) DB short nametab buffer
Key: 46 Size: 20480 ( 0.0 MB) DB sync table
Key: 47 Size: 20481024 ( 19.5 MB) DB CUA buffer
Key: 48 Size: 500000 ( 0.5 MB) Number range buffer
Key: 49 Size: 2968344 ( 2.8 MB) Spool admin (SpoolWP+DiaWP)
Shared memories outside of pools
Key: 18 Size: 2688100 ( 2.6 MB) Paging adminitration
Key: 41 Size: 25010000 ( 23.9 MB) DB statistics buffer
Key: 63 Size: 409600 ( 0.4 MB) ICMAN shared memory
Key: 64 Size: 4202496 ( 4.0 MB) Online Text Repository Buf.
Key: 65 Size: 204808192 ( 195.3 MB) Export/Import Shared Memory
Key: 81 Size: 21760 ( 0.0 MB) Security Audit Log
Key: 1002 Size: 400000 ( 0.4 MB) Performance monitoring V01.0
Key: 58900100 Size: 4096 ( 0.0 MB) SCSA area
Nr of operating system shared memory segments: 10
Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....: 10
System-imposed number of shared memories.: 1000
Shared memory segment size required min..: 1554000000 (1482.0 MB)
Currently available maximum segment size.: 34359738368 (32768.0 MB)
Swap space requirements estimated
================================================
Shared memory....................: 2414.3 MB
..in pool 10 702.6 MB, 99% used
..in pool 40 1478.3 MB, 99% used
..not in pool: 226.5 MB
Processes........................: 649.7 MB
Extended Memory .................: 5120.0 MB
------------------------------------------------
Total, minimum requirement.......: 8184.0 MB
Process local heaps, worst case..: 9536.7 MB
Total, worst case requirement....: 28600.7 MB
Errors detected..................: 0
server9:sidadm 13>
Parameters at SAP level
em/initial_size_MB - 5120
EM/TOTAL_SIZE_MB - 16000
ztta/roll_extension - 3500000000
abap/heap_area_dia - 6000000000
abap/heap_area_nondia - 4000000000
abap/heap_area_total - 10000000000
em/address_space_MB 4096
abap/heaplimit 40894464
abap/buffersize- 800000
Regards
Subb
Hi Subbu,
You can have a look at Note '1137734 - Assignment of memory areas, shared memories, and pools', which describes the assignment of the numbers of the SAP Shared Memories
and their naming.
As explained on the Note size of pools can be set with parameter <ipc/shm_psize_nn = value>,
where:
- value 0 means that the shared memory with the key nn is not in a pool.
- negative value means that the shared memory with the key nn is moved to the pool with the key -value (important: only pools 10 and 40 are allowed).
- positive value is allowed ONLY for pools and indicates their size in bytes.
Therefore, Shared memories inside of pool 10 are those ones where ipc/shm_psize_nn = -10; and similar with Shared memories inside of pool 40.
Regards,
Raquel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
They are not negative values instead it means that the ones with the value -10 are created in pool 10 and the ones with the value -40 are created in pool 40. When you change the buffer parameters you should consider changing the pool 10 and 40 parameter values based on the sappfpar output as they are part of one of them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.