Professional Documents
Culture Documents
Jvms Etc
Jvms Etc
Garbage Collection
David Kurtz
Go-Faster Consultancy Ltd.
david.kurtz@go-faster.co.uk
www.go-faster.co.uk
Who am I?
• DBA • Book
– Independent consultant
– www.psftdba.com
• System Performance
tuning
– PeopleSoft ERP
– Oracle RDBMS
• Training Course
• UK Oracle User Group
– Unix SIG
• Oak Table
– www.oaktable.net
PSFT Tech PUG 5.9.05 www.go-faster.co.uk 2
Resources
Load Balancing
Windows Network
50.0.0.7:443
PIA2
– IIS Proxy 50.0.0.7:17001
50.0.0.50:443
WEB2
PIA1
• PSFT Recommendations: IIS 50.0.0.8:7001
• Strange Pauses
– Mostly to do with garbage collection
• IIS Proxy wouldn’t load balance
– All of load on one PIA or the other
• Pauses cause IIS Proxy failover
• On Failover users loose their sessions
• iisproxy.ini
WebLogicCluster=50.0.0.8:7001,50.0.0.8:17001
DynamicServerList=OFF
…
300
250
200
Session in Web-App
150
100
50
0
Wed 29.06.05 12:00 Wed 29.06.05 13:00 Wed 29.06.05 14:00 Wed 29.06.05 15:00
Time
-XX:+PrintGCTimeStamps
• -XX:+UseConcMarkSweepGC
• -XX:+UseParNewGC
• -XX:+CMSParallelRemarkEnabled
• Caveat: These options are not presented as being any kind of panacea, but
something to consider. You need to do your own testing.
• BTW: I got the idea for this from a UKOUG Oracle Application Server SIG!
• Individual GC duration
GC Duration
DURATION
10
1
ÿ 5— È—³ \—G ð—Û k—… 120000
Du ration (s)
0.1
0.01
0.001
Offset Seconds
• Individual GC duration
GC Duration
DURATION
10
1
0 í ³… L ä ¶ h d 120000
Duration (s)
0.1
0.01
0.001
Offset Seconds
DURATION
10
GC Duration seconds/minute
1
0 øÑÊ —Ñi 7Ñ ÖѨ aÑ] 120000
0.1
0.01
Offset Seconds
DURATION
10
1
0 í ³… L ä ¶ h d 120000
GC Duration seconds/minute
0.1
0.01
0.001
Offset Seconds
david.kurtz@go-faster.co.uk
www.go-faster.co.uk