Difference in Mem usage ?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Difference in Mem usage ?
# 1  
Old 02-24-2004
Difference in Mem usage ?

Hi All,

I have a pair of sun ultra 5_10 with SunOS 5.5.1.
Both are almost equally patched and set up with simillar applications.

host# uname -a
SunOS host 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-5_10

Even though both have
same amount of RAM ( 512 Mb ) ,
Swap,
and same set of processes running,

they show different values of free memory in "top". They difference is close to 50 Mb.

I had a look at few processes and compared the rss output in ps, they differ!.

Can anyone tell me why is this ?..

Eg:

host1# ps -ef -orss,vsz,comm | grep init
288 448 /etc/init
1136 1880 /usr/openwin/bin/xinit


host2# ps -ef -orss,vsz,comm | grep init
136 448 /etc/init
1120 1880 /usr/openwin/bin/xinit

The host2 is showing 50~60 Mb as free, where as host1 has only 10~15Mb free.


Thanks in advance..
# 2  
Old 02-24-2004
And Ford could probably sell you two "exactly the same" Mustangs and one would be faster than the other - some machines work better than another would be my first point.

Second point - you state "almost equally patched" - so they are different - one of those patches may have made the OS utilize more/less memory, may have been quicker at releasing memory - and you can't tell if they are both in the same 'stage' of processing - maybe the amount of memory being used will be different (the other way around) at another time.

One may have more users conncected to the application that you are not seeing (especially if it's a Oracle/Sybase style app).

Each system is different - boot both at the same time and one may come up faster for no apparent reason.

The question you ask would be impossible to explain a 'reason' with the information provided - you are attempting to find a needle in a haystack.

Does the server with 'the problem' process the work in the time allowed? (if yes - stop worrying)


Last edited by RTM; 02-24-2004 at 09:52 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help creating a timestamp script to record mem usage

Hi, I'm looking into doing a few performance tweaks by adjusting my max memory on a few lpars. I would to create a time stamp script so i could review it for a week and determine how much space i can lower my max memory to so i could reclaim and allocate that memory to where it is needed the... (2 Replies)
Discussion started by: vpundit
2 Replies

2. Solaris

Mem Details

<A href="mailto:root@sssdpmds01$"> root@sssdpmds01$ prstat -a PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 13831 ogw 2613M 2108M cpu12 0 0 277:43:27 3.9% java/1201 4312 ogw 2641M 2092M sleep 59 0 562:45:51 2.1% java/1235 4469 ogw ... (2 Replies)
Discussion started by: jojo123
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. UNIX for Advanced & Expert Users

Checking mem usage at specific times in a program

Hi all, I'm running a simulator and I'm noticing an slow increase in memory for long simulations such that the simulation has to end because of a lack of memory. A colleague of mine ran Valgrind memcheck and reported that nothing of interest was reported other than known mem leaks. My advisor... (2 Replies)
Discussion started by: pl4u
2 Replies

5. 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

6. AIX

Huge difference in reported Disk usage between ls,df and du

IBM RS6000 F50 AIX 4.3.2 i am having trouble in calculating the actual size of a set of directories and reconciling the results with the actual Hard Disk space used I have 33GB disk which is showing 7.8GB used, a byte count of the files in the directory/sub-dirs i`m interested in is 48GB,... (4 Replies)
Discussion started by: cooperuf
4 Replies

7. Solaris

Solaris Mem Consumption

We have Sun OS running on spark : SunOS ciniwnpr67 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V440 Having Physical RAM : Sol10box # prtconf | grep Mem Memory size: 8192 Megabytes My Top Output is : 130 processes: 129 sleeping, 1 on cpu CPU states: 98.8% idle, 0.2% user, 1.0%... (27 Replies)
Discussion started by: rajwinder
27 Replies

8. Gentoo

cpu%/mem% usage, scripting, dzen2: howto learn bash the hard way

I am trying to write a small (and rather simple) script to gather some info about the system and piping it to dzen2 first, i want to explain some things. I know i could have used conky, but my intention was to expand my knowledge of bash, pipes and redirections inside a script, and to have fun... (14 Replies)
Discussion started by: broli
14 Replies

9. Linux

Linux Mem Usage

What is amount of free RAM i have now? total used free shared buffers cached Mem: 1010 963 46 0 215 256 -/+ buffers/cache: 491 518 Swap: 1983 0 1983 Above is the output of... (1 Reply)
Discussion started by: new2ss
1 Replies
Login or Register to Ask a Question