Sponsored Content
Full Discussion: AIX memory issue
Operating Systems AIX AIX memory issue Post 302635679 by bakunin on Saturday 5th of May 2012 07:26:10 PM
Old 05-05-2012
First off, i'd like to apologize for leaving some (unnoticed) typos in my first answer: vmo -o should have read vmo -a of course, analogous with schedo and ioo. I wanted to know the state of all your kernel tuning parameters and hence you to print out these values.

Still, you could have anticipated that by having a single look in the man page of one of these tools when the syntax error showed up. The fact that i am trying to help you does not exempt you from showing initiative of your own. When i give you a command with some explanation you might as well have a look in the documentation to understand what the command does so to be able to use it yourself the next time a similar problem shows up. You may even ask (here or in a separate thread) if something puzzles you and you are not able to figure it out yourself. But DO something, by all means! Not understanding something is OK, doing nothing is NOT.

OK, back to your problem. I suppose you have taken the data when the system was under load, not when the (main) application was switched or doing nothing. If it was not under load: all i wrote below is under the presumption of the system being under load and hence nonsense. Start over again and this time with real data, not watching the system doing nothing.

The output of iostat shows that there is next to no activity at all on the disks. The "grep" part of the command i gave you filters out all disks with 0.0 activity and in your case that left practically none. The minimal activity at the end is mainly the system disks, probably (re-)loading some program or library to memory. I'd say your disks are idle.

The vmstat output shows a similar picture: the first column ("r" - "run queue") shows a lot of programs running, but the system has all the means to run them: the second column ("b" - blocked processes) is constantly 0, so all the processes which could run are able to do so. The last 4 columns emphasize this. They are labeled "us", "sy", "id", "wa" and are percentages of the CPU usage. Together they add up to 100. "us" is for "user", the percentage of the time the CPU(s) spend(s) processing code of your programs. "sy" is for "system" and is the time the CPU spends executing system code, "id" is for "idle" - the CPU having nothing to do - and the last "wa" is for "wait": the time the CPU would be avle to run a process but has to wait because the process waits for I/O (usually swapping).

As you see the value for "wa" is 0 (this is how it should be), the value of "us" and "sy" are both very low and "id" is near 100. All in all your system looks like being overpowered a lot. Probably you could do with half or a quarter of the real CPUs assigned to this LPAR in the HMC profile.

The colums labeled "pi" and "po" count pages swapped in ("pi") and out ("po"). They are constantly 0, which is how it should be. At the same time this tells me that the system has now memory problem at all. This is further emphasized by the fact that "in" ("pages inspected - for possible swapping, that is) is low too - the system doesn't even bother to look for possibilities to make memory available, which means it has this resource in relative abundance.

The same story is told by the output of svmon which gives an aggregated, long-term account of memory consumption. Numbers there are memory pages (4k in AIX). Note the second number in the first line, "inuse", which is the memory available for programs: 7.8 million x 4k ~ 30G minus some system overhead (the difference between "inuse" and "size"). Now compare this with "virtual", the next to last value in the first line. This is the memory the system has really needed over time. 2.2 mio x 4k ~ 9G. This is what the system really needs to have, everything else is more "nice to have" than of real value. I would consider shrinking the system down to 12 GB (the necessary 9 plus some in contingency) if this is the typical status of the system.

Conclusion: if your system is slower than expected than this definitely has nothing to do with memory or CPU. It might be the network (we haven't investigated that yet), but frankly, i doubt that, because some residues of that would show up in the "vmstat -v" output.

Another possible reason to investigate would be sloppy application programming. As i don't know anything about the application you run this is pure speculation.

There could be some arbitrary shortage of assigned memory for the application: check with some DBA the size and the layout of the SGA and some related DB tuning options. DB_BLOCK_BUFFERS for instance, might put an arbitrary constraint in I/O operations. Similar, if some Java processes run on top of the database they might have not enough memory assigned. This is a common problem in Websphere application servers. The number of "pinned pages" in the output of "vmstat -v" suggests that the SGA is using only a small part of the available memory.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Memory Issue

Hi There, I have upgraded the DELL poweredge 2600 server memory from 2GB to 4GB. However, the memory only showed at 2GB of utilization. How to make sure that the server is full utilize of 4GB of memory. Is there the Virtual memory need to be reconfigure as this server is run on windows 2000 and... (2 Replies)
Discussion started by: vestro
2 Replies

2. Linux

Memory issue while diff !!!

Hi All Any idea? why am I having this memory issue? perforce@ixca-pforce-bak:/home/p4-demo-root$ diff checkpoint_offline ../p4-demo-root2/checkpoint.1150 diff: memory exhausted Thanks a lot C Saha (0 Replies)
Discussion started by: csaha
0 Replies

3. AIX

Shared memory issue

Hi friends.. Help to solve this issue... Is there any parameter setting to control or limit the size of the shared memory a process can attach for the below specified environment? The man pages says it can attach upto segments of size 2GB. But when our process (which also connects to... (0 Replies)
Discussion started by: sdspawankumar
0 Replies

4. Solaris

Locked memory issue

One of our project has exceeded its assigned max-memory-locked by 3 times .. The said project is using around 9 gigs as described by rss parameter in prstat -J .. and the max-project-memory parameter has been defined as 3gigs .. is it normal or we are monitoring the project memory usage in wrong... (2 Replies)
Discussion started by: fugitive
2 Replies

5. AIX

Memory consumption issue in AIX box

Hi, monitor memory usage on AIX machine on any day of the week from 3:00 PM ET to 5:00 PM ET - Povide min and max memory consumption. Determine if all of the available memory is visible to the operating system. If it is not, determine the amount of memory which may be allocated to the... (3 Replies)
Discussion started by: Rookie_newbie
3 Replies

6. SuSE

Memory utilization issue

I have parallels container running on Suse. From top command, I am not able to see, what is eating up so big amount of memory. top - 07:44:24 up 172 days, 18:52, 1 user, load average: 0.01, 0.02, 0.00 Tasks: 44 total, 1 running, 43 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, ... (1 Reply)
Discussion started by: solaris_1977
1 Replies

7. AIX

Memory issue

I have a server with 300Gb allocated to it. Some times I observed in topas Comp% 73 and Non comp 35% and client is also 35% and my paging is showing 92%. If my physical memory utilized only 70% then why paging is so high. And what is relation between Comp, noncomp and client? If the memory... (1 Reply)
Discussion started by: powerAIX
1 Replies

8. Red Hat

Memory Issue

I could not find what is consuming the memory, generated DSET reports and NO hardware wise memory issue. 64 GB RAM on a server yet all I could see is a very limited memory available. I am not sure if I am reading this correct or not. I have used free -t -m and cat /proc/meminfo (results below)... (3 Replies)
Discussion started by: rsheikh01
3 Replies

9. Linux

Swap memory issue

Hi, In our production box i can see the Swap space using the below command free total used free shared buffers cached Mem: 65963232 41041084 24922148 0 877160 35936292 -/+ buffers/cache: 4227632 61735600 Swap: 4192880 ... (6 Replies)
Discussion started by: ratheeshjulk
6 Replies

10. Shell Programming and Scripting

Out of memory issue in perl

I am getting a out of memory issue while executing the perl program. Per version : /opt/acc_perl/lib/site_perl/5.14.2 Read in 54973 total records Read in 54973 table records from table. Out of memory! so the job get failed due to out of memory. need to get rid of the out of memory... (3 Replies)
Discussion started by: ramkumar15
3 Replies
All times are GMT -4. The time now is 12:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy