1833759 Members
2134 Online
110063 Solutions
New Discussion

CPU LOAD

 
SOLVED
Go to solution
shridhar_1
Frequent Advisor

CPU LOAD

how to reduce the cpu load ?

CPU is always in % USER
attched a detailed report

OS:HP UNIX B.11.11,
HW: 9000/800/rp3410
RAM: 4094 MB
CPU: 2 x 800.004 MHz, PA-RISC2.0, v.

# sar -Mu 5 5

16:05:01 cpu %usr %sys %wio %idle
16:05:06 0 90 9 1 0
1 93 6 1 0
system 91 7 1 0
16:05:11 0 98 2 0 0
1 91 8 1 0
system 95 5 0 0
16:05:16 0 90 10 1 0
1 85 15 0 0
system 87 12 0 0
16:05:21 0 93 6 1 0
1 88 10 2 0
system 91 8 1 0
16:05:26 0 97 3 0 0
1 93 6 1 0
system 95 4 0 0

Average 0 94 6 0 0
Average 1 90 9 1 0
Average system 92 7 1 0

thanx

shri
4 REPLIES 4
Geoff Wild
Honored Contributor
Solution

Re: CPU LOAD

Well - looks like your system is very busy - running SAP and Oracle on a 2 cpu server with only 4 GB of ram...

vhand in your top processes may indicate deactivations (swapping)...

Adding more ram may aleviate the cpu pressure...

Do a vmstat -S 5 20

Have a look at si, so,
po, de.....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Patrick Wallek
Honored Contributor

Re: CPU LOAD

You can reduce the CPU load by running fewer processes.

The output given above really does not give us much information, other than that your system is busy.

What applications are running? How utilized is the RAM? Are you paging (swapinfo -tam & vmstat)? Do you have glance installed? Have you checked it to see what the top processes are for CPU utilization?
shridhar_1
Frequent Advisor

Re: CPU LOAD

thanx for the reply

i m using only 19% of my memory
i donot have glance

is this a issue related to sap basis

give me some more suggestions to
solve this issue



# sar -v 2 5


16:12:15 text-sz ov proc-sz ov inod-sz ov file-sz ov
16:12:17 N/A N/A 245/2560 0 1408/8192 0 2208/32778 0
16:12:19 N/A N/A 245/2560 0 1408/8192 0 2206/32778 0
16:12:21 N/A N/A 245/2560 0 1408/8192 0 2206/32778 0
16:12:23 N/A N/A 245/2560 0 1408/8192 0 2206/32778 0
16:12:25 N/A N/A 245/2560 0 1408/8192 0 2206/32778 0



# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 20512 2433 18079 12% 0 - 1 /dev/vg00/lvol2
reserve - 6639 -6639
memory 3081 578 2503 19%
total 23593 9650 13943 41% - 0 -



# vmstat -S 1 10
procs memory page faults cpu
r b w avm free si so pi po fr de sr in sy cs us sy id
6 8 0 1673857 3299 979945 980010 43 34 10 0 940 951 8672 821 20 3 78
6 8 0 1673857 3093 4 5 460 196 258 0 10494 1844 13615 2745 92 8 0
6 8 0 1673857 3055 0 0 434 196 235 0 10458 1777 13396 2717 92 8 0
6 8 0 1673857 3428 0 0 418 186 273 0 9208 1702 14975 2958 92 8 0
5 9 0 1761158 3054 0 0 376 150 219 0 7975 1546 13852 2719 98 2 0
5 9 0 1761158 3038 0 0 359 139 238 0 6818 1555 14656 2748 95 5 0
5 9 0 1761158 3508 5 5 309 121 259 0 5800 1427 14070 2518 94 6 0










hardware specifications


Component rp3410
Micro-processors 1 or 2 PA RISC
800 MHz/1.5 MB cache
Memory Supports up to 12 double data rate
(DDR) registered ECC memory, in
PC2100 DIMMs. Supported DDR
DIMM sizes: 256 MB and 512 MB
Disk drives 3-36 GB, 15K RPM Ultra320 SCSI
HotPlug disk or
3- 73 GB, 15K RPM Ultra320 SCSI
HotPlug disk or
3-146 GB, 10K RPM Ultra320
SCSI HotPlug disk
Video A6150 PCI card (optional)
SCSI Integrated Ultra-3 SCSI dual
channel controller; 80 MB/s
transfer rate with one internal
68-pin connector and one external
68-pin connector
LAN PCI Gigabyte, fast ethernet
controller
PCI slots Two 64-bit PCI-X slots, 133 MHz,
3.3V slots
Core I/O One serial port, 4 USB 2.0 ports,
integrated RJ-45 LAN on
management processor card
Joseph Loo
Honored Contributor

Re: CPU LOAD

hi,

looking at the vmstat output, the free column shows abt 14MB (~3500kb x 4096) free memory which is not exactly a lot.

regards.
what you do not see does not mean you should not believe