Administrator
|
If you use AMM (memory_target) is in use, SGA memory will be allocate from /dev/shm.
If you don't use AMM , then the SGA will be allocated from the shared memory segments, which can be seen from the ipcs output.) -- Shared memory segments will be allocated from hugepages if they are available.
If you don't have a hugepage configuration, then the shared memory segments will be allocated using from the normal pages and those normal pages will be reported as cached in the free command output.
In that case the size of the "cached value" will be same as the segment size reported by ipcs.
If the shared memory segment is allocated using hugepages, it is not reported as cached.
In addition, you can subtract the SGA size from the "cached" value that you see in the free command output and get the memory size which is used for OS file cache.
|