memory usage


 
Thread Tools Search this Thread
Operating Systems AIX memory usage
# 1  
Old 07-09-2009
memory usage

Hi,
I am having memory problem. Whenever i run the Tivoli backup command from CLI "dsmc" my memory use is very high.
Topas shows the following output
Memory
Real, MB 35584
%Comp 17
%Noncomp 80.1
%Client 80.1

and "svmon" shows

Paging space has not been used
size inuse free pin virtual
memory 9109504 8979484 199652 643070 2828204


even after the command is finished the memory is not flushed. If i restart the machine memory use comes to normal and after the using "dsmc" problem comes again

when the command is running
svmin -P <PID of dsmc>
shows huge amount of memory use
but when the process is finished no more process remains
ps -ef | grep dsmc doesnot show any process
but the memory is not flushed
# 2  
Old 07-10-2009
Use CODE-tags when posting code, data or logs for better readability and to keep formatting like indention etc., ty.

Having used up so much memory is totally normal on AIX since AIX uses the free RAM to cache files so it has not to read the files from "slow" physical disks again in case they will be needed.
Also you see that the ratio of your
Quote:
%Comp 17
## vs ##
%Noncomp 80.1
%Client 80.1
is quite good. Comp is Computational Memory which is processes, ie. running programs etc. using memory. Noncomp (&Client) or Noncomputational Memory is usually cached files which can be flushed ie. cleaned up by LRUD if not used.
Other terms for them are Working Segments and Persistent Segments. Working is the programs etc. in memory, persistent are files on/from disks etc.

To see if you really have a problem on your box I'd recommend that you might fire off a
Code:
vmstat 1 10

at your peak times when you assume there is lot's of traffic.

As a start and regarding memory you might want to check the columns for pi and po. Or just post it here so we can see it.
# 3  
Old 07-10-2009
thanks a lot
I will post vmstat output on monday

i want some good book for memory tuning in AIX is there any good redbooks or any other books for it?
# 4  
Old 07-10-2009
# 5  
Old 07-12-2009
i just missed one point in my previous post
before i run the tivoli backup command "dsmc"

%noncomp 0
%client 0

but even after the dsmc has started it goes to 80+ and even after the job is finished it remains 80+

as per my thinking i may be wrong but it should come back to 0 again.
# 6  
Old 07-12-2009
If you have restarted the system AIX doesn't even have something to cache which would make sense, why it isn't using the memory even as filecache. When running a backup job with ADSM you shove a lot of disk data through memory and now the kernel has at least *something* to put into filecache - therefore it remains there until changes in your file utilization come up (via usage of different files, etc.). This is the reason the non-comp memory never goes back to 0%.

I hope this helps.

bakunin
# 7  
Old 07-13-2009
Code:
#vmstat 1 10
System configuration: lcpu=8 mem=35584MB
 
kthr    memory              page              faults        cpu    
----- ----------- ------------------------ ------------ -----------
 r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
 0  0 2029202 11253   0   0   0   0    0   0   6 1930 315  0  0 99  0
 0  0 2029201 11254   0   0   0   0    0   0  11 1233 316  0  0 99  0
 0  0 2029201 11254   0   0   0   0    0   0  13 1254 342  0  0 99  0
 0  0 2029201 11254   0   0   0   0    0   0   6 1180 303  0  0 99  0
 0  0 2029201 11254   0   0   0   0    0   0  10 1189 312  0  0 99  0
 0  0 2029201 11254   0   0   0   0    0   0  10 1183 315  0  0 99  0
 0  0 2029201 11254   0   0   0   0    0   0  10 1270 344  0  0 99  0
 0  0 2029201 11254   0   0   0   0    0   0   4 1181 320  0  0 99  0
 1  0 2029201 11254   0   0   0   0    0   0  12 1229 334  0  0 99  0
 0  0 2029201 11252   0   0   0   0    0   0  10 1511 382  0  0 99  0

edit by bakunin: please use code-tags, not colour-tags

Last edited by bakunin; 07-14-2009 at 04:16 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Memory usage per user,percent usage,sytem time in ksh

Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies

2. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

3. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

4. Solaris

Memory usage in Solaris - memory not freed?

Hi, I'm running a multi-process software system on a Solaris 8 machine. When I monitor the memory usage, I see that the free memory is dropping rapidly, but I can't detect a process that uses this memory. I'm using "top" to get the free memory and the memory usage of processes. Thanks. (3 Replies)
Discussion started by: gewurtz
3 Replies

5. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

6. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

7. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

8. HP-UX

How can I get memory usage or anything that show memory used from sar file?

Refer from title: How can i get memory used or anything that can show memory from sar file example on solaris:- we can use sar with option to show memory used at time that sar crontab run. on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some... (1 Reply)
Discussion started by: panithat
1 Replies

9. Programming

CPU usage and memory usage

Please tell me solaris functions/api for getting following information 1- Function that tells how much memory used by current process 2- Function that tells how much memory used by all running processes 3- Function that tells how much CPU is used by current process 4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

10. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
Login or Register to Ask a Question