peoplesoft ping
DESCRIPTION
PeopleSoft Ping. David Kurtz Go-Faster Consultancy Ltd. [email protected] www.go-faster.co.uk. Resources. If you can’t hear me say so now. Please feel free to ask questions as we go along. The presentation will be available from Customer Connection –> Events -> UK Tech PUG - PowerPoint PPT PresentationTRANSCRIPT
www.go-faster.co.uk 2
Resources
• If you can’t hear me say so now.
• Please feel free to ask questions as we go along.
• The presentation will be available from• Customer Connection –> Events -> UK Tech PUG
• www.go-faster.co.uk
www.go-faster.co.uk 3
Who am I?
• Independent consultant
• System Performance Tuning– Oracle/Unix/Tuxedo– PeopleSoft Apps
• www.ukoug.org• Book
– www.apress.com
www.go-faster.co.uk 4
What is PeopleSoft Ping?
• It is a component which runs a ‘standard’ transaction and measures the duration of that transaction at each component in the PIA.
www.go-faster.co.uk 5
Java Servlet
(presentation logic)
Java Servlet
(presentation logic)
ServletThread
Application Server
(application logic)
Application Server
(application logic)
APPQ PSAPPSRV
Browser
(presentation & JavaScript)
Browser
(presentation & JavaScript)
DBMS
(application data & meta-
data
DBMS
(application data & meta-
data
SQLTuxedo
Messagehttp / https
Web Server Access Log
Tuxedo ServiceTrace
Oracle SQL*Trace
ScreenPaint
JavaScript
Browser/Network
Time
WebServerTime
ApplicationServer Time
DatabaseTime
PeopleToolsTrace
What does PS Ping Measure?
www.go-faster.co.uk 6
Where is PeopleSoft Ping?
• DERIVED_PTP.HTMLCTLEVENT.FieldChange• Each ping saves the results from the previous ping
to the database– PS_PTP_TST_CASES
• Can get basic Ping graphs from PeopleSoft– Can’t control scale
– I prefer to use Excel
www.go-faster.co.uk 7
Ping Chart
www.go-faster.co.uk 8
Example of Contention
PS Ping
0
1
2
3
4
5
6
7
23.5.04 16:20 23.5.04 16:30 23.5.04 16:40
Time
Cu
mu
lati
ve R
esp
on
se T
ime
(sec
on
ds)
PTP_TIME_D PTP_AS_TIME PTP_WS_TIME PTP_TOTAL_TIME
www.go-faster.co.uk 9
The Database Test
• Repeatedly queries same rows from– PTP_TABLE1_VW – PTP_TABLE1
• Poor test of database performance– Data blocks will become cached– %PerfTime = Application Server clock
www.go-faster.co.uk 10
The Application Server Test
• Creates and copies row sets– Application server time
= CPU time + DB time + Cache access time + Wait Time
– Row set operations CPU intensive• Indication of CPU performance
www.go-faster.co.uk 11
Case1:Browser Time
PS Ping
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
19.5.04 13:10 19.5.04 13:20 19.5.04 13:30 19.5.04 13:40 19.5.04 13:50 19.5.04 14:00 19.5.04 14:10 19.5.04 14:20 19.5.04 14:30
Time
Du
rati
on
(se
con
ds)
PTP_BRW_ONLY_TIME 5 per. Mov. Avg. (PTP_BRW_ONLY_TIME)
www.go-faster.co.uk 12
Case 1: Desktop Specification
• 384Mhz PC, 64Mb physical memory– Windows Commit Charge 125Mb
• It’s paging memory to/from disk
• With PS Ping running on PC, shut down everything else (virus checking etc).– Commit Charge reduced to 89Mb– Response time fell from 0.8s to 0.4s
www.go-faster.co.uk 13
Case 1: Conclusion
• Paging memory from disk is slow
• General Windows performance affected– Including the browser
• Make sure that you have enough physical memory in your desktops– The web browser is a critical business platform– It’s not just for surfing
www.go-faster.co.uk 14
Case 2: Application Server CPU Benchmark?
PS Ping
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
26.5.04 17:30 26.5.04 17:40 26.5.04 17:50
Date
Du
rati
on
(se
con
ds)
PTP_AS_ONLY_TIME
www.go-faster.co.uk 15
Case 2: Two Application Servers
• HP-UX 11• 750Mhz• Ping Time: 1.43s
• [PT8.43.15]
• Windows 2000• 3.2Ghz• Ping Time: 0.33s
www.go-faster.co.uk 16
Case 2: Conclusion
• Application server is CPU intensive– If active and not waiting for the database, it is
using CPU to execute PeopleCode etc.
• Fewer faster –v- More slower CPUs?– CPU speed is critical– When executing in user mode, a clock cycle is a
clock cycle is a clock cycle?
www.go-faster.co.uk 17
Conclusion
• Ping is not a fundamental indicator of system performance.
• It does indicate:– contention in a particular tier.– CPU performance of Application Server– Performance of Browser
www.go-faster.co.uk 18
Questions