Author Topic: Steps to collect performance data during slowdown  (Read 14194 times)

Offline Umesh

  • Comodo Alumni
  • Comodo's Hero
  • *****
  • Posts: 3421
  • Comodo Alumni
    • COMODO
Steps to collect performance data during slowdown
« on: March 06, 2017, 12:17:14 PM »
Hi All,
If any user experiences any slowdown due to any of comodo security products, following steps are suggested to collect etl file, that can help developer troubleshoot the problem better:

Step - 1: Make sure you have Windows Performance Toolkit installed, which can be downloaded from following page:
https://msdn.microsoft.com/en-us/windows/hardware/commercialize/test/wpt/index

in above page, you can see "Windows Assessment and Deployment Kit" link i.e. http://go.microsoft.com/fwlink/p/?LinkId=526740 as shown in snap below:
http://prntscr.com/egrig1

which downloads a thin installer ~1.6MB setup file adksetup.exe showing various modules upon execution, from shown options, make sure you select only "Windows Performance Toolkit" option as shown in snap below to keep total downloaded size to minimum:
http://prntscr.com/egqzpu

Step - 2: After installation is complete, go to windows command prompt "WindowsKey + R and then enter cmd and press Enter" and then change directory to "Windows Performance Toolkit" folder in system e.g.
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\
make sure you are logged in as Admin.

Step - 3: Paste following in command line and press Enter
Code: [Select]
xperf -on PROC_THREAD+LOADER+CSWITCH+FILENAME+DISK_IO+DISK_IO_INIT+FILE_IO+FILE_IO_INIT+DRIVERS+PROFILE+HARD_FAULTS -f kernel.etl -stackwalk CSwitch+DiskReadInit+DiskWriteInit+DiskFlushInit+FileCreate+FileCleanup+FileClose+FileRead+FileQueryInformation+FileSetinformation+FileWrite+MapFile+UnMapFile+Profile -BufferSize 4096 -MaxBuffers 4096 -MaxFile 4096 -FileMode Circular

Step - 4: After performance data gathering started using previous command, you can start the operation during which you observed slowness.

Step - 5: After operation is complete or you have witnessed slowness, press any key on command line and it will stop performance data recording and you will see command prompt again.

Step - 6: Type following command:
Code: [Select]
xperf -d performancedata.etl

file name can be anything of your choice.

Step - 7: Wait for command to complete.

Step - 8: After command is completed you will see performancedata.etl file generated on disk in same folder, you can always choose any other file path.

Please compress file using 7-zip and upload to some shared space e.g. google drive and share link of compressed data via personal message.

Thanks
-umesh
« Last Edit: March 06, 2017, 02:28:30 PM by umesh »
We can't stop malware entering user's PC but we render them use-less when they enter PC: Welcome to Comodo's Default Deny innovation

Offline gisot

  • Comodo Family Member
  • ***
  • Posts: 50
Re: Steps to collect performance data during slowdown
« Reply #1 on: May 13, 2017, 09:03:25 PM »
umesh,
I'm experiencing considerable slowdown on my win 8.1 64 bit OS when Secure Shopping is installed. When that feature is uninstalled, boot up is really fast. I don't think these performance collecting instructions would apply in my case, since the slowdown is happening during the boot up of the system. Any ideas?
Win 10 64bit

Offline Umesh

  • Comodo Alumni
  • Comodo's Hero
  • *****
  • Posts: 3421
  • Comodo Alumni
    • COMODO
Re: Steps to collect performance data during slowdown
« Reply #2 on: May 15, 2017, 09:58:11 AM »
Hi gisot,
Please try following to collect performance data on system boot:

1. Install WPT as mentioned in main post.
2. Run following as administrator on command prompt:

Code: [Select]
xbootmgr -trace rebootCycle -noPrepReboot -resultPath C:\windows\temp
3. Share the newly generated files (*.etl) you can find in "C:\windows\temp" folder

Thanks
-umesh

umesh,
I'm experiencing considerable slowdown on my win 8.1 64 bit OS when Secure Shopping is installed. When that feature is uninstalled, boot up is really fast. I don't think these performance collecting instructions would apply in my case, since the slowdown is happening during the boot up of the system. Any ideas?
We can't stop malware entering user's PC but we render them use-less when they enter PC: Welcome to Comodo's Default Deny innovation

Offline gisot

  • Comodo Family Member
  • ***
  • Posts: 50
Re: Steps to collect performance data during slowdown
« Reply #3 on: May 15, 2017, 08:17:41 PM »
I messaged you the link to the performance file umesh, thanks for your help!
Win 10 64bit

Offline Umesh

  • Comodo Alumni
  • Comodo's Hero
  • *****
  • Posts: 3421
  • Comodo Alumni
    • COMODO
Re: Steps to collect performance data during slowdown
« Reply #4 on: May 16, 2017, 12:41:51 AM »
Thank you.

We will check.
I messaged you the link to the performance file umesh, thanks for your help!
We can't stop malware entering user's PC but we render them use-less when they enter PC: Welcome to Comodo's Default Deny innovation

Offline danyb

  • Comodo Loves me
  • ****
  • Posts: 195
Re: Steps to collect performance data during slowdown
« Reply #5 on: June 11, 2017, 11:44:40 AM »
I have many issues with new Comodo CIS10.
Reading this thread I wanted to download the Windows Performance Toolkit.
But it is only for Windows 8 and higher.
My problems are on Vista and Windows 7 computers

Offline gisot

  • Comodo Family Member
  • ***
  • Posts: 50
Re: Steps to collect performance data during slowdown
« Reply #6 on: June 11, 2017, 02:34:57 PM »
I have many issues with new Comodo CIS10.
Reading this thread I wanted to download the Windows Performance Toolkit.
But it is only for Windows 8 and higher.
My problems are on Vista and Windows 7 computers

Issues with slow boot on Win7 when Secure Shopping is installed?
Win 10 64bit

Offline danyb

  • Comodo Loves me
  • ****
  • Posts: 195
Re: Steps to collect performance data during slowdown
« Reply #7 on: June 12, 2017, 04:35:58 AM »
I had different problems.

On my Windows 7 :
On this pc I have changed something so that I can see what Windows does at startup - to check if startup is slow.
I described my problems here: https://forums.comodo.com/firewall-help-cis/comodo-1001-installation-issues-with-group-policy-and-server-connection-t119713.0.html;msg860386#msg860386
After returning to CIS 8 the message about group policy client is gone in a second.

The problem with Outlook where Outlook completely hangs when opening some mails might indeed be linked to Secure Shopping as the mails that caused it were from shopping sites. The problem there was that "contacting server for information" ran endlessly

Note : I also now and then had message "cannot connect to windows notification server". I never linked this to Comodo but the issue did not return with CIS8

On Vista:
This is a laptop I only use abroad so I did not do much on it yet.
I had 2 issues there described here:
https://forums.comodo.com/install-setup-configuration-help-cis/cis-is-not-up-to-date-but-does-not-signal-this-t119728.0.html;msg860549#msg860549
The update of the virusdatabase was extremely slow when on wifi.
Also after being downloaded installation was also very slow

 

Free Endpoint Protection
Seo4Smf 2.0 © SmfMod.Com Smf Destek