fbpx
1-888-310-4540 (main) / 1-888-707-6150 (support) info@spkaa.com
Select Page

Troubleshooting PTC Creo Elements Pro/Engineer Performance Using Procmon.exe

Published in...Data Engineering, PTC RV&S

Published by SPK Blog Post
on September 16, 2013

Everyone knows that troubleshooting “slow performance” is one of the most challenging tasks we have as IT services providers, but is also one of the best ways to improve productivity (and morale!). Although replacing hardware and buying more expensive computers can help resolve the issue, there are ways to troubleshoot deeper that you may not have considered.

One of the best tools to have available is the Microsoft Sysinternals Process Monitor – procmon.exe. It’s a free tool written by a Microsoft-owned studio. It’s a little bit old, but it still works great, even in Windows 8. It displays all system calls made by every application running in Windows allowing you to see which files are being opened, what network calls are made, and what registry entries are being read.

After you download the file, you’ll be able to run it without any installation. The first thing you’ll be prompted for is the “Process Monitor Filter”. (Older versions of Procmon require you to use the Filter->Filter menu, or the Filter button on the toolbar.)

procmon1

The filter allows you to reduce the data to find what is relevant. When troubleshooting an application, add a new “Include” entry for the process name – in this case, if “Process Name” contains “xtop.exe” then “Include” it in the display.

procmon2

The Process Monitor window will scroll through all of the actions that xtop performs, with details on file names and registry locations. Additionally, I add two columns: Duration and Event Class.

From here, you may be able to deduce a lot of information, e.g. a program that fails to load might have “NAME NOT FOUND” or “PATH NOT FOUND” results when opening a file. This is extremely helpful for identifying where a Serial Number is being stored in the Registry or where User Settings are being read from disk. When we’re troubleshooting performance, however, we need to simplify the output for our consumption.

There’s an option in the File menu to output the currently-filtered list to a CSV file.

procmon3

I was able to open the CSV file with Excel. Using very general “spreadsheet tools”, I was able to sort the list by filename and use the Duration column to identify where my pain-points are.

procmon4

In this case, I’ve identified that 50% of my processing time is spent loading the Windchill Cache files from my User Directory and 20% of my time is spent waiting for the Creo application. Only 6% of my time is spent waiting for the Windchill Server, so I’m more confident that the problem is local to my computer.

Next time, we’ll talk about analyzing network traffic to find where your Oracle Agile and Dassault ENOVIA applications are being hindered!

Next Steps:

Edwin Chung
Client Program Manager, SPK & Associates

Latest White Papers

How CloudBees Uses Feature Management to Gain Competitive Advantage

How CloudBees Uses Feature Management to Gain Competitive Advantage

In this whitepaper, you’ll discover how CloudBees Feature Management Flags can help you gain a competitive advantage in the market.  Discover CloudBees Feature Management In this CloudBees Feature flag whitepaper, you’ll learn: How to increase your developer...

Related Resources

Navya & PTC Codebeamer Case Study

Navya & PTC Codebeamer Case Study

This case study outlines the rollout of Codebeamer ALM in Navya. About Navya Navya specialize in the development of autonomous driving systems. Founded in 2014 and headquartered in Lyon, France, it employs over 280 employees (140 of which are engineers and technology...

DATATRAK and PTC Codebeamer

DATATRAK and PTC Codebeamer

DATATRAK International, Inc., is a company offering software solutions and consulting services to simplify clinical research. This case study explores how  it was able to improve internal processes by implementing PTC Codebeamer. Additionally, it also explores the...

SRAM PTC Windchill PLM ROI Case Study

SRAM PTC Windchill PLM ROI Case Study

SRAM deployed PTC Windchill PLM to integrate and unify the engineering processes for all its brands. The company’s rapid growth through acquisition resulted in engineering and development groups that were not able to communicate and share information across...