1 / 12

Partner TS-Webinar: “ Windchill Performance Tuning ”

Partner TS-Webinar: “ Windchill Performance Tuning ”. Stephen Vaillancourt. PTC Technical Support Fellow. Dec 20, 2013. Agenda. Takeaways. Common Themes of Windchill Performance Problems Where can things go wrong? How to Prevent Problems Tools

Download Presentation

Partner TS-Webinar: “ Windchill Performance Tuning ”

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Partner TS-Webinar: “Windchill Performance Tuning” Stephen Vaillancourt PTC Technical Support Fellow Dec 20, 2013

  2. Agenda Takeaways • Common Themes of Windchill Performance Problems • Where can things go wrong? • How to Prevent Problems • Tools • What to capture when your customer has a performance problem

  3. Performance is measured by one user but is determined by the load on the system in the environment in which the system is running What makes up performance? Network Latency End User Tasks # Active Users System Configurations Bugs /#$! Client Hardware Customizations Server Hardware Software Versions Background Operations Network Bandwidth

  4. What Really Matters? Probable Causes of Performance problems • Database related • Most common cause of Performance problems • System misconfigurations • More common in newer systems & ones setup without guidance i.e. don’t use the out of the box settings • Core code and Customization problems • How often they occur depends on a number of things, staying on the latest maintenance release is the most effective strategy to minimize production problems from bugs • Client Side configuration • If using Wildfire or Creo there are a number of configuration changes which MUST be made • Infrequent – Problems occurring in dependent sub-system • Problems in the OS, disk I/O, corporate LDAP, Solreven the network would fit into this category

  5. Configuring for Database Performance • Memory Allocation – Critical for acceptable Oracle performance • Use the 11g parameters memory_max_targetand memory_target parameters • Set sga_max_size and sga_target equal to 0 • Small to Medium sized systems SGA’s: 10 to 15G, Medium: 15G-30, Large up to 120G • Set optimizer_index_cost_adj=10 – important but not as critical as in earlier releases of Oracle • Indexes (Oracle and SQLServer) • (R10.x)There is a list of recommended (50+) indexes which should be applied see article CS98135 • Problem identification (Oracle) • Check to see if the system is configured with enough SGA post • Check to see if there are long running SQL statements impacting performance, link • Introduction on how to interpret the output from the Gather Info Script • How to approach tuning a SQL statement (link)

  6. Server and Client Configurations for Performance • Server • Use the Windchill Configuration Assistant see chapter 1 of the Administrator Configuration Guide • Set the db.propertywt.pom.queryLimits (it’s not set by the WCA) • The query limit is one of a couple of settings which can improve system stability. The others on the list can be found here. • Work Group Manager Performance • Two recently re-worked article have everything needed: • Article CS24192 - Pro/ENGINEER Wildfire or Creo Interaction with PDMLink - Recommended Initial Performance Server Settings • Article CS23960 - Pro/ENGINEER Wildfire and Creo Interaction with PDMLink - Recommended Initial Performance Client Settings • New Functional Patch for 10.1 M40 - resolves issues with communication between the Windchill Workgroup Manager client and Windchill server [Patch Available Dec 2013]

  7. Windchill property Considerations What causes Partners problems? • Don’t allocate more memory to Method Servers than the machine has RAM • (wt.method.maxHeap x (wt.manager.monitor.start.MethodServer + 1 for the BGMS) ) + wt.manager.maxHeap + 1G (for JVM perm space not part of the heap) + Extra* < Total Memory of the server Extra*= memory needed for other running applications (Apache , Windchill DS, database …) and the OS • JVM settings • Keep it simple, use the defaults. They are enough. Don’t let anyone short of a JAVA expert touch your JVM settings, no “best practices” no exotic settings; KISS (Keep It Simple Stupid) • wt.method.maxHeap – 3g or more • Set the query Limits (I’m repeating myself; the limits are that important!) • (db.properties) wt.pom.queryLimit=250000 • (db.properties) wt.pom.paging.snapshotQueryLimit=10000 • (wt.properties) com.ptc.windchill.search.queryLimit=10000

  8. Windchill Property Considerations Con’t • wt.properties • Load Balancing: Maximum number of concurrent Operations in a Single Method Server before operation is balanced to a different Method Server (5-15 is a normal range) • wt.method.loadbalance.activeContext • Load Balancing: Number of times an operation can be moved to a different Method Server (# of MS -1 is the usual setting) • wt.method.loadbalance.maxRedirects • The two MOST important caches in Windchill for Performance • wt.cache.size.WTPrincipalCache & wt.cache.size.StandardUfidSrvService$RemoteObjectIdCache • See articles CS71489 & CS97931 for sizing instructions • Db.properties • wt.pom.maxDbConnections (typical range: 10-25, maybe higher for BGMS with many queues) • wt.pom.minDbConnections (Typical range:10-25) • Use the defaults: wt.pom.statementCacheSize (50) & wt.pom.rowPrefetchCount (20)

  9. Tools New tools • Administrator JSP page available in R10 M20 and later • Product System Monitor (PSM) • Free to Customers on Maintenance • Constant Monitoring • Thread dumps • Alerts • Charting • More www.ptc.com/go/psm

  10. Related Materials • Stress / Load Test Validation. i.e. Single User Benchmarks • (CRITICAL) It is important to perform load tests for extreme data and use cases . For ex: • CheckIn/Out of very large assemblies, Very large searches & Very large reports • Available Benchmarks • Manual Method • Windchill Creo Data Management Performance Benchmark Test - Instructions • Windchill Creo Data Management Performance Benchmark Test - Data Sheet • Windchill Creo Data Management Performance Benchmark Test – Preliminary Dataset (82 KB) • Windchill Creo Data Management Performance Benchmark Test – World Car Dataset (295 MB) • Automated Method • Windchill Single User Performance Tester for Creo Data Management Operations (SPT) - Instructions • Windchill Single User Performance Tester for Creo Data Management Operations (SPT) - Media Other documents • Windchill Deployment Planning Checklist • Windchill Vaulting and Replication Planning - Technical Brief • Windchill Server Hardware Sizing Guidelines (Reference Documents)

  11. What to do when there is a problem? Open a Case with Technical Support • General Case: Data to upload • wt and db properties • Oracle • Oracle Diagnostic report (latest version available here) • AWR reports • SQLServer • SQLServer Reports • SQLServer Diagnostic report • MethodServer logs • Reproducible Case: Data to Capture • PSM Export (Page 20) or • Windchill Profile Alternative to manual Data Collection: Using the ‘SCC’ • #Site tab #Utilities #System Configuration Collector

  12. Summary • It’s Possible to have Acceptable Performance • Database, MethodServer Side and Client configurations are necessary • Not setting Query Limits will cause the MethodServer to crash • Most Performance problems related to Database interaction • Either poorly performing queries & under tuned databases • Code problem • There are experts at PTC who only work on performance problems, capturing the right data and engaging them is the quickest way to resolution • PSM is new(ish) tool and is a value add for customers

More Related