aix memory breakdown


 
Thread Tools Search this Thread
Operating Systems AIX aix memory breakdown
# 1  
Old 01-03-2008
aix memory breakdown

Hi,
Stats:
AIX 5.3, P590 series. 8 CPUs, 27GB RAM. DB SGA 4GB
MAXCLIENT=MAXPERM% = 20% (MIN IS 10%)
lru_file_repage =1
strict value for maxperm and for maxclient both set to 1.
File system=jfs2.
paging = 1% all the time (means no paging)

Consider the following at point in time:
From vmstat -v, it is clear the file cache is at 19.8% meaning almost all of 20% of 27gb = 5.4gb is in used by cache.

From svmon and vmstat , free memory is 6gb.
From nmon also it says total mem=27gb, free=6gb and used=21gb and file cache used is 5.4 gb.

I would like to know where i am doing wrong below:
Objective:
Try to add the elements/processes and sum it upto 27gb.

Tot_memory = File_cache + unixprocess + shared segment memory +freemem
27gb = 5.4 gb + 9gb + 4gb +6g (as you see i am missing 2.4gb uncounted for)

Running the above at different times more or less am short of 2-2.4 gb always. Where is this 2.4 gb used by???

Filecache, freemem and shared segment calcualtion is pretty much straight forward, and i think you all know how it is to be calcualted. (I even checked ipcs -b and i do not have a memory segment orphan etc).

How I comeup with 9gb is simple.
Running ps vg command and adding (rss-trs)/1024 (mb) to sum for those process ids where PID is also available in (select pid from v$process).
To this i add sum of rss for rest of the remaining process(oracle lile listener, dbconsole) and root processes and all ther processs).

Oracle processs adds upto major like 8gb, rest 1gb is for all remaining processes.

So am sure am doing wrong in calcualting memory from ps vg output. Or is there any other type of mem i misses?

What about jave heap, is this a seperate memory that wont come in ps vg and also in ipcs -b?? Am at a loss.

My only obj for now is to find ways to add all process memory + shared segments + free + file cache and this should sum to 27gb or atleast the difference should not be so high as 2.4 gb missing.
I checked i dont have a leaking unless u tell me how to check??

Cheers

Last edited by shahidsa; 01-03-2008 at 01:00 PM.. Reason: email notify added
# 2  
Old 01-04-2008
I think this could answer your question, I was curious about this in a similar situation and this was the answer i found. Please read Naggers answer, or i could have misunderstood your scenario all together.

developerWorks : AIX and UNIX : Performance Tools - technical forum : nmon reports almost all memory used ...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 6.1 error out of memory

i am facing issue in AIX 6.1 when i was running below command i face issued as show attached screenshot cat /audit/bin1 /audit/bin2 /audit/trail | auditpr -t 0 -v -h l,r,R,t,c,p,P |\ awk '/\s*audit object write event detected/ {print ll $6} { ll = $0}' Please use code tags next time... (1 Reply)
Discussion started by: aforabad
1 Replies

2. AIX

AIX memory issue

Currently server have load while there is no heavy things running, just oracle database/ application server oracle. I don't understand why server have heavy load, 22GB is under buffer, how to clean buffer/memory in AIX load averages: 9.42, 9.43, 9.68; 05:25:08 141 processes: 125 idle, 16... (12 Replies)
Discussion started by: learnbash
12 Replies

3. Solaris

How do I breakdown the Target (tx) part of a cXtXdX Iscsi device?

Hello, I am trying to breakdown the cXtXdX (specifically tX) part of an iscsi device. I know in the fibre SAN world, this tX will usually be a combination of the path to device/device WWN. From what I understand in iscsi world it is similar, breaking down into... (0 Replies)
Discussion started by: Bashful
0 Replies

4. UNIX for Advanced & Expert Users

HP vs AIX Memory

I have 2 boxes one running AIX 5.3 and the other running HP 11.31. Both systems have the same application running but HP seems to be using more memory than AIX by almost double. I have to use 2 different methods because both machines have different backend software to look at memory. What is the... (2 Replies)
Discussion started by: kfdalton
2 Replies

5. AIX

Free Memory in aix

Hi, I want to know how to find out free physical memory in aix, (11 Replies)
Discussion started by: manoj.solaris
11 Replies

6. Shell Programming and Scripting

for i in `find *` breakdown since the directory name has space

hey, somebody can help me on this broken script? for i in `find . -name index.html`;do echo "$i" awk '{print $0}' $i done the path to index.html has space in it. For example, ./10 October/index.html then echo "$i" will gives two lines instead of one: ./10 October/index.html how do... (3 Replies)
Discussion started by: patiobarbecue
3 Replies

7. AIX

Memory Usage in AIX

Hi All, I have a question, can you guys please help me by giving your valuable suggestons: I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (3 Replies)
Discussion started by: kollam68
3 Replies

8. UNIX for Advanced & Expert Users

Memory Usage in AIX

Hi All, I have a question, can you guys please help me by giving your valuable suggestons: I am using AIX 5L, running oracle 7 version. I need to increase the oracle memory to 40 MB more. Currently Oracle occupies 260M. I wanted to know whether I can increase the memory without any problem.... (1 Reply)
Discussion started by: kollam68
1 Replies

9. UNIX for Dummies Questions & Answers

checking memory in AIX

I am using AIX 5.5 I have researched your site and found a few commands to try to check how much physical memory I have but the ones I found are not working. I was wondering does my system have a different command? I also checked the MAN pages could not find it there. Could somebody help? I... (2 Replies)
Discussion started by: rocker40
2 Replies

10. Shell Programming and Scripting

sed command breakdown

sed -n '/\{10\}E/p' $filename | sort >> $filename.sorted Could somebody please give me a breakdown of what exactly each part of this sed statement does, I have inherited a production script, and know that basically it sorts a file that looks like this (20 spaces here) ... (1 Reply)
Discussion started by: hcclnoodles
1 Replies
Login or Register to Ask a Question