1836426 Members
3545 Online
110100 Solutions
New Discussion

Re: Memory bottleneck

 
Pradeep_3
Frequent Advisor

Memory bottleneck

We have 1 GB of memory on our HP server running HP-UX 11.11. We have following output of top command

System: xyz
Wed Jul 16 17:32:17 2003
Load averages: 1.95, 1.54, 1.68
342 processes: 333 sleeping, 9 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 2.92 61.3% 2.0% 5.2% 31.5% 0.0% 0.0% 0.0% 0.0%
1 0.98 43.5% 1.4% 13.1% 42.1% 0.0% 0.0% 0.0% 0.0%
--- ---- - - - - - - - -----
avg 1.95 52.3% 1.8% 9.1% 36.8% 0.0% 0.0% 0.0% 0.0%

Memory: 544660K (288272K) real, 2155708K (1186736K) virtual, 4088K free Page# 1
/29

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 14901 ora8i 241 20 84728K 25264K run 2:32 86.22 86.0785.46 oracleea
1 ? 2 root 128 20 0K 32K sleep 3:08 7.68 7.67 vhand
1 ? 5619 mockcds 168 20 7332K 216K sleep 7:01 7.57 7.55 atr.exec
1 ? 5617 mockcds 168 20 7332K 212K sleep 6:57 78 7.56 7.54 atr.exec
0 ? 15282 ora8i 154 20 30456K 1256K sleep 0:16 6.04 6.03 oracleea
1 ? 1190 root 154 20 200K 152K sleep 6:05 4.07 4.06 pwgrd
1 ? 3744 root -16 14 7024K 6436K run 2:11 2.00 1.99 midaemon
1 ? 15309 ora8i 128 20 135M 22204K sleep 4:04 1.60 1.60 oracleea
1 ? 4508 ora8i 156 20 30360K 756K sleep 2:16 1.51 49 1.48 ora_snp4
1 ? 4725 ora8i 154 20 30328K 1092K sleep 0:01 1.47 1.461.31 oracleea
1 pts/tl 16515 mockcds 168 20 3128K 668K sleep 0:07 0.70 0.70 top

Can any one explain me that why the amount of free memory is just 4088K where as the total active real memory is 544660K (288272K).

Also in system properties of SAM shows
Phycal memory 1 GB, and total real memory 545796kb. WHY?

My dbc_max_pct is set to 30 and
dbc_min_pct is set to 10

Thanks in advance
Paresh
6 REPLIES 6
T G Manikandan
Honored Contributor

Re: Memory bottleneck

Steve Steel
Honored Contributor

Re: Memory bottleneck

Hi

top is really a bad tool for this

Ask your local HP to get you kmeminfo

Then you can check usage

If you read the url

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9c47b82b2d63d71190080090279cd0f9,00.html

You will see a set of memory monitoring tools

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Brian DelPizzo
Frequent Advisor

Re: Memory bottleneck

Try using Glance. It will give you a much better breakdown than top. Once glance is started hit "m" to see the memory specific screen. It will show buffer cache, real memory, free memory, etc.
Chris Vail
Honored Contributor

Re: Memory bottleneck

If you don't have Glance, you can get a lot of the same kind of info from vmstat. The command "vmstat 1" is all you need. Real HP geeks don't like vmstat, but its widely used on a lot of Unix variants, and its free.



Chris
Caesar_3
Esteemed Contributor

Re: Memory bottleneck

Hello!

Don't check with the top, it's not the info
you need.
Use glance ot swapinfo then you will see
the size and the useage of memory.

Caesar
RAC_1
Honored Contributor

Re: Memory bottleneck

Top is not a good tool in such situations.

Use vmstat,glance for memory reporting. Also check swapinfo.

You can use UNIX95= ps -ef -o "vsz,pid,args"|sort -nr

Check which process is taking most memory.
There is no substitute to HARDWORK