|
Guy,
Thank you very very much, this is a great
explanation, and is much appreciated.
To answer some of your questions (and add a
few!):
Yes, our client is experiencing performance
problems.
vmstat and swap -s seem to show some
swapping:
csuaor46> vmstat 2
10
procs memory page disk faults cpu r b w swap free re mf pi po fr de sr s6 s1 s1 s5 in sy cs us sy id 2 0 0 14536 14776 67 1514 15 228 957 62760 262 0 2 2 0 640 115 931 25 25 50 2 0 0 6179304 62416 36 1893 0 744 5500 56488 1126 0 4 4 0 988 6159 917 23 55 22 1 0 0 6177696 62600 20 908 0 1032 11808 56488 2488 0 6 6 0 917 3781 667 24 51 25 0 0 0 6181688 62960 89 1528 4 288 444 56488 37 0 6 6 0 1076 19029 862 23 54 23 1 0 0 6181336 64432 15 1269 0 140 576 56488 110 0 1 1 0 456 8550 493 14 46 40 0 0 0 6182376 63776 18 2976 4 368 1008 62760 328 0 8 8 0 594 6163 831 14 54 32 2 0 0 6180800 63072 9 1746 0 300 1296 62760 202 0 1 1 0 661 4441 693 12 65 23 0 0 0 6178120 62728 47 1311 4 612 2272 56488 464 0 3 2 0 829 5535 801 34 38 28 2 0 0 6179944 64616 36 1322 0 364 764 62760 70 0 0 0 0 996 4786 739 13 69 18 0 0 0 6183112 62560 40 856 4 340 1444 62760 339 0 1 2 0 822 4107 707 10 40 50 csuaor46> swap -s total: 2602216k bytes allocated + 19960k reserved = 2622176k used, 6177752k available I would assume swapping operations would be
included under "kernel"? The app also uses java, is there any way to determine
if Java is performing any wacky system calls?
There are 3 databases on this box, which
has 4 Gb. of memory:
csuaor46> ps -ef |grep ora_ |grep
smon
oracle 867 1 0 Aug 16 ? 0:13 ora_smon_tstrn oracle 981 1 0 Aug 16 ? 0:14 ora_smon_tsdmo oracle 19561 1 0 Aug 23 ? 0:35 ora_smon_tsprd The main db (tsprd) has an SGA of 1.7 Gb.,
the other 2 are ~180 Mb. each. - so that's ~2.1 Gb. There are only 49
connections to the 3 databases:
csuaor46> ps -ef |grep LOCAL
|wc
49 447 3418 We are not using MTS. Is there any way to
determine the amount of real memory that these dedicated connections are using?
I can't see how the whole 4 Gb. would be used, causing the system to swap...
?
The primary database:
- has an SGA of 1.7GB
shared pool
550Mb.
buffer cache
640Mb.
java
pool 470Mb.! (>460Mb. of which is free)
- logical I/O rate ~3,000
blocks/sec.
- physical I/O rate 500-1,000 I/O/sec (disk
is EMC, RAID 1+0 I think)
Everything internal to the db doesn't look
that bad, although I'm guessing they don't need so much java pool and the shared
pool could be downsized...
Still stumped....
Thanks again.
csuaor46> iostat -xtc 15
20
extended device statistics tty cpu device r/s w/s kr/s kw/s wait actv svc_t %w %b tin tout us sy wt id sd6 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 18 25 25 2 48 sd11 1.0 1.4 11.3 24.7 0.0 0.1 32.0 0 2 sd12 1.0 1.4 11.3 24.7 0.0 0.1 45.3 0 2 sd58 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 sd75 0.2 0.4 11.4 3.7 0.0 0.0 1.6 0 0 sd76 8.9 0.4 335.9 3.2 0.0 0.0 6.3 0 3 sd77 0.2 0.0 7.0 0.1 0.0 0.0 4.2 0 0 sd78 0.5 0.1 23.2 1.3 0.0 0.0 6.3 0 0 sd79 0.0 0.0 1.5 0.2 0.0 0.0 5.3 0 0 sd135 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 sd152 0.2 0.4 11.4 4.2 0.0 0.0 1.6 0 0 sd153 9.0 0.4 337.5 3.2 0.0 0.0 5.8 0 3 sd154 0.2 0.0 6.9 0.1 0.0 0.0 3.8 0 0 sd155 0.5 0.1 23.2 1.3 0.0 0.0 6.1 0 0 sd156 0.0 0.0 1.5 0.2 0.0 0.0 5.0 0 0 sd881 0.2 2.1 5.6 4.3 0.0 0.0 10.8 0 1 sd882 0.0 0.1 3.5 6.6 0.0 0.0 4.6 0 0 sd883 0.4 0.0 13.1 0.3 0.0 0.0 8.2 0 0 sd884 0.2 0.0 10.6 0.1 0.0 0.0 2.5 0 0 sd885 0.3 0.0 21.9 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3.2 0.0 0.0 6.8 0 3 sd1121 2.8 0.3 102.3 2.4 0.0 0.0 7.7 0 2 nfs1 0.0 0.0 0.0 0.0 0.0 0.0 18.0 0 0
|
- Re: OT : kernel using 75% of CPU George Schlossnagle
- Re: OT : kernel using 75% of CPU Jerry C
- Re: OT : kernel using 75% of CPU Jerry C
- Re: OT : kernel using 75% of CPU George Schlossnagle
- RE: OT : kernel using 75% of CPU Rao, Maheswara
- RE: OT : kernel using 75% of CPU Koivu, Lisa
- RE: OT : kernel using 75% of CPU Henry Poras
- RE: OT : kernel using 75% of CPU Christopher Spence
- RE: OT : kernel using 75% of CPU Christopher Spence
- RE: OT : kernel using 75% of CPU John Kanagaraj
- RE: OT : kernel using 75% of CPU Jerry C
- RE: OT : kernel using 75% of CPU Kevin Lange
- RE: OT : kernel using 75% of CPU Riyaj_Shamsudeen
- RE: OT : kernel using 75% of CPU John Kanagaraj
- Re: OT : kernel using 75% of CPU Jerry C
- RE: OT : kernel using 75% of CPU Connor McDonald
- RE: OT : kernel using 75% of CPU Guy Hammond
- RE: OT : kernel using 75% of CPU yong huang
- RE: OT : kernel using 75% of CPU Rao, Maheswara
- RE: OT : kernel using 75% of CPU Mohan, Ross
